/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | CustomAnimationScaleListDrawableTest.java | 67 Drawable dr = mContext.getDrawable(DRAWABLE_ID); in testNonZeroDurationScale() local 77 Drawable dr = mContext.getDrawable(DRAWABLE_ID); in testZeroDurationScale() local
|
D | AnimationDrawableTest.java | 282 AnimationDrawable dr = new AnimationDrawable(); in testInflateCorrect() local 301 AnimationDrawable dr = new AnimationDrawable(); in testInflateMissingDrawable() local 313 AnimationDrawable dr = new AnimationDrawable(); in testInflateNullResources() local 321 AnimationDrawable dr = new AnimationDrawable(); in testInflateNullXmlPullParser() local 329 AnimationDrawable dr = new AnimationDrawable(); in testInflateNullAttributeSet() local
|
D | DrawableContainerTest.java | 106 Drawable dr = spy(new ColorDrawable(Color.WHITE)); in testDraw() local 251 Drawable dr = spy(new ColorDrawable(Color.BLUE)); in testSetDither() local 272 MockDrawable dr = new MockDrawable(); in testSetHotspotBounds() local 291 MockDrawable dr = new MockDrawable(); in testGetHotspotBounds() local 329 Drawable dr = spy(new ColorDrawable(Color.GREEN)); in testSetTint() local 341 Drawable dr = spy(new ColorDrawable(Color.GREEN)); in testSetBlendMode() local 353 MockDrawable dr = new MockDrawable(); in testOnBoundsChange() local 407 MockDrawable dr = new MockDrawable(); in testOnStateChange() local 435 MockDrawable dr = new MockDrawable(); in testOnLevelChange() local 700 MockDrawable dr = new MockDrawable(); in testSetVisible() local
|
D | DrawableContainerStateTest.java | 278 DrawableContainer dr = new LevelListDrawable(); in testCanConstantState() local 290 DrawableContainer dr = new LevelListDrawable(); in testGrowArray() local
|
D | CustomDrawableTest.java | 49 Drawable dr = InstrumentationRegistry.getTargetContext().getDrawable( in testInflation() local
|
D | RippleDrawableTest.java | 147 RippleDrawable dr = new RippleDrawable(ColorStateList.valueOf(Color.RED), null, null); in testSetColor() local
|
D | AdaptiveIconDrawableTest.java | 62 AdaptiveIconDrawable dr = new AdaptiveIconDrawable(null, null); in testInflate() local 74 AdaptiveIconDrawable dr = new AdaptiveIconDrawable(null, null); in testInflateNull() local 81 AdaptiveIconDrawable dr = new AdaptiveIconDrawable(null, null); in testDraw() local
|
D | NinePatchDrawableTest.java | 440 void setTargetDensity(NinePatchDrawable dr, int density); in setTargetDensity() 512 verifySetTargetDensityOuter((dr, density) -> { in testSetTargetDensity_Canvas() argument 523 verifySetTargetDensityOuter((dr, density) -> { in testSetTargetDensity_DisplayMetrics() argument 677 private void compareOrSave(Drawable dr, int densityDpi, int sourceResId, int goldenResId) { in compareOrSave()
|
D | DrawableWrapperTest.java | 64 public MyWrapper(Drawable dr) { in MyWrapper() 160 Drawable dr = new MockDrawable(); in testCallbackIsSet() local
|
D | ClipDrawableTest.java | 164 Drawable dr = spy(new ColorDrawable(Color.GREEN)); in testGetOpacity() local
|
D | LayerDrawableTest.java | 1493 LayerDrawable dr; in testChildIntrinsicSize() local 1519 LayerDrawable dr = new LayerDrawable(new Drawable[] {null}); in testIsProjectedWithNullLayer() local 1858 LayerDrawable dr = new LayerDrawable(new ColorDrawable[] { c1, c2 }); in testOpacityChange() local 1872 LayerDrawable dr = new LayerDrawable(new ColorDrawable[] { c1, c2 }); in testStatefulnessChange() local
|
D | ScaleDrawableTest.java | 303 ScaleDrawable dr = new ScaleDrawable(null, Gravity.CENTER, 1, 1); in testInitialLevel() local
|
D | AnimatedImageDrawableTest.java | 568 Drawable dr = ImageDecoder.decodeDrawable(source, (decoder, info, src) -> { in testPostProcess() local
|
/cts/hostsidetests/theme/src/android/theme/cts/ |
D | ComparisonTask.java | 101 final int dr = getAlphaScaledRed(p1) - getAlphaScaledRed(p2); in checkNeighbors() local 144 final int dr = getAlphaScaledRed(p1) - getAlphaScaledRed(p2); in compare() local
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | BitmapDrawableTest.java | 129 private void runTest(Drawable dr) { in runTest()
|
/cts/tests/tests/content/src/android/content/res/cts/ |
D | Resources_ThemeTest.java | 160 final ColorDrawable dr = (ColorDrawable) theme.getDrawable(R.drawable.colordrawable_themed); in testGetDrawable() local
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | ImageDecoderTest.java | 583 Drawable dr = Drawable.createFromResourceStream(res, value, is, null, null); in testNinepatchWithDensityNone() local 780 Drawable dr = ImageDecoder.decodeDrawable(src, (decoder, info, s) -> { in testSampleSize() local 804 Drawable dr = ImageDecoder.decodeDrawable(src, (decoder, info, s) -> { in testLargeSampleSize() local 819 Drawable dr = null; in testResizeTransparency() local 955 Drawable dr = null; in testExceptionInStream() local 2543 private Bitmap drawToBitmap(Drawable dr) { in drawToBitmap()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | ImageViewTest.java | 896 protected boolean verifyDrawable(Drawable dr) { in verifyDrawable()
|