Home
last modified time | relevance | path

Searched refs:dr2 (Results 1 – 3 of 3) sorted by relevance

/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DDrawableContainerStateTest.java121 Drawable dr2 = spy(new ColorDrawable(Color.BLUE)); in testIsStateful() local
122 doReturn(true).when(dr2).isStateful(); in testIsStateful()
123 mDrawableContainerState.addChild(dr2); in testIsStateful()
226 Drawable dr2 = spy(new ColorDrawable(Color.GREEN)); in testConstantHeightsAndWidths() local
227 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 …]
/cts/tests/tests/content/src/android/content/res/cts/
DResourcesTest.java597 ColorDrawable dr2 = (ColorDrawable) mResources.getDrawable(R.color.varies_uimode); in testChangingConfiguration() local
598 assertEquals(ActivityInfo.CONFIG_UI_MODE, dr2.getChangingConfigurations()); in testChangingConfiguration()
/cts/tests/tests/widget/src/android/widget/cts/
DTextViewTest.java4431 ColorDrawable dr2 = new ColorDrawable(Color.GREEN); in testAccessCompoundDrawableTint() local
4434 mTextView.setCompoundDrawables(dr1, dr2, dr3, dr4); in testAccessCompoundDrawableTint()