Home
last modified time | relevance | path

Searched defs:dr (Results 1 – 18 of 18) sorted by relevance

/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DCustomAnimationScaleListDrawableTest.java67 Drawable dr = mContext.getDrawable(DRAWABLE_ID); in testNonZeroDurationScale() local
77 Drawable dr = mContext.getDrawable(DRAWABLE_ID); in testZeroDurationScale() local
DAnimationDrawableTest.java282 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
DDrawableContainerTest.java106 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
DDrawableContainerStateTest.java278 DrawableContainer dr = new LevelListDrawable(); in testCanConstantState() local
290 DrawableContainer dr = new LevelListDrawable(); in testGrowArray() local
DCustomDrawableTest.java49 Drawable dr = InstrumentationRegistry.getTargetContext().getDrawable( in testInflation() local
DRippleDrawableTest.java147 RippleDrawable dr = new RippleDrawable(ColorStateList.valueOf(Color.RED), null, null); in testSetColor() local
DAdaptiveIconDrawableTest.java62 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
DNinePatchDrawableTest.java440 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()
DDrawableWrapperTest.java64 public MyWrapper(Drawable dr) { in MyWrapper()
160 Drawable dr = new MockDrawable(); in testCallbackIsSet() local
DClipDrawableTest.java164 Drawable dr = spy(new ColorDrawable(Color.GREEN)); in testGetOpacity() local
DLayerDrawableTest.java1493 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
DScaleDrawableTest.java303 ScaleDrawable dr = new ScaleDrawable(null, Gravity.CENTER, 1, 1); in testInitialLevel() local
DAnimatedImageDrawableTest.java568 Drawable dr = ImageDecoder.decodeDrawable(source, (decoder, info, src) -> { in testPostProcess() local
/cts/hostsidetests/theme/src/android/theme/cts/
DComparisonTask.java101 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/
DBitmapDrawableTest.java129 private void runTest(Drawable dr) { in runTest()
/cts/tests/tests/content/src/android/content/res/cts/
DResources_ThemeTest.java160 final ColorDrawable dr = (ColorDrawable) theme.getDrawable(R.drawable.colordrawable_themed); in testGetDrawable() local
/cts/tests/tests/graphics/src/android/graphics/cts/
DImageDecoderTest.java583 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/
DImageViewTest.java896 protected boolean verifyDrawable(Drawable dr) { in verifyDrawable()