Searched refs:dr2 (Results 1 – 3 of 3) sorted by relevance
121 Drawable dr2 = spy(new ColorDrawable(Color.BLUE)); in testIsStateful() local122 doReturn(true).when(dr2).isStateful(); in testIsStateful()123 mDrawableContainerState.addChild(dr2); in testIsStateful()226 Drawable dr2 = spy(new ColorDrawable(Color.GREEN)); in testConstantHeightsAndWidths() local227 doReturn(5).when(dr2).getMinimumHeight(); in testConstantHeightsAndWidths()228 doReturn(5).when(dr2).getMinimumWidth(); in testConstantHeightsAndWidths()229 doReturn(5).when(dr2).getIntrinsicHeight(); in testConstantHeightsAndWidths()230 doReturn(5).when(dr2).getIntrinsicWidth(); in testConstantHeightsAndWidths()231 mDrawableContainerState.addChild(dr2); in testConstantHeightsAndWidths()256 Drawable dr2 = spy(new ColorDrawable(Color.GREEN)); in testGetOpacity() local[all …]
597 ColorDrawable dr2 = (ColorDrawable) mResources.getDrawable(R.color.varies_uimode); in testChangingConfiguration() local598 assertEquals(ActivityInfo.CONFIG_UI_MODE, dr2.getChangingConfigurations()); in testChangingConfiguration()
4431 ColorDrawable dr2 = new ColorDrawable(Color.GREEN); in testAccessCompoundDrawableTint() local4434 mTextView.setCompoundDrawables(dr1, dr2, dr3, dr4); in testAccessCompoundDrawableTint()