/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | Drawable_ConstantStateTest.java | 49 assertEquals(null, cs.newDrawable()); in testNewDrawable() 50 verify(mock, times(1)).newDrawable(); in testNewDrawable() 53 assertEquals(null, cs.newDrawable(resources)); in testNewDrawable() 54 verify(mock, times(1)).newDrawable(); in testNewDrawable() 57 assertEquals(null, cs.newDrawable(resources, context.getTheme())); in testNewDrawable() 58 verify(mock, times(1)).newDrawable(); in testNewDrawable() 70 public Drawable newDrawable() { in newDrawable() method in Drawable_ConstantStateTest.MockConstantState
|
D | RippleDrawableTest.java | 122 (RippleDrawable) preloadedConstantState.newDrawable(res); in verifyPreloadDensityInner() 128 (RippleDrawable) preloadedConstantState.newDrawable(res); in verifyPreloadDensityInner() 134 (RippleDrawable) preloadedConstantState.newDrawable(res); in verifyPreloadDensityInner()
|
D | AnimatedStateListDrawableTest.java | 211 (StateListDrawable) cs.newDrawable(res); in runPreloadDensityTestForDrawableInner() 220 (StateListDrawable) cs.newDrawable(res); in runPreloadDensityTestForDrawableInner() 229 (StateListDrawable) cs.newDrawable(res); in runPreloadDensityTestForDrawableInner()
|
D | VectorDrawableTest.java | 461 (VectorDrawable) preloadedConstantState.newDrawable(res); in verifyPreloadDensityInner() 469 (VectorDrawable) preloadedConstantState.newDrawable(res); in verifyPreloadDensityInner() 475 (VectorDrawable) preloadedConstantState.newDrawable(); in verifyPreloadDensityInner()
|
D | StateListDrawableTest.java | 237 (StateListDrawable) preloadedConstantState.newDrawable(res); in verifyPreloadDensityTestForDrawableInner() 247 (StateListDrawable) preloadedConstantState.newDrawable(res); in verifyPreloadDensityTestForDrawableInner() 256 (StateListDrawable) preloadedConstantState.newDrawable(res); in verifyPreloadDensityTestForDrawableInner()
|
D | InsetDrawableTest.java | 482 (InsetDrawable) preloadedConstantState.newDrawable(res); in verifyPreloadDensityInner() 491 (InsetDrawable) preloadedConstantState.newDrawable(res); in verifyPreloadDensityInner() 498 (InsetDrawable) preloadedConstantState.newDrawable(); in verifyPreloadDensityInner()
|
D | LayerDrawableTest.java | 891 GradientDrawable newDrawable = new GradientDrawable(); in testAddLayer() local 892 int index = layerDrawable.addLayer(newDrawable); in testAddLayer() 896 assertEquals(newDrawable, layerDrawable.getDrawable(index)); in testAddLayer() 1737 (LayerDrawable) preloadedConstantState.newDrawable(res); in verifyPreloadDensityInner() 1768 (LayerDrawable) preloadedConstantState.newDrawable(res); in verifyPreloadDensityInner() 1787 (LayerDrawable) preloadedConstantState.newDrawable(res); in verifyPreloadDensityInner() 1890 LayerDrawable copy = (LayerDrawable) orig.getConstantState().newDrawable(); in testInvalidateDuringInit()
|
D | GradientDrawableTest.java | 892 (GradientDrawable) preloadedConstantState.newDrawable(res); in verifyPreloadDensityInner() 903 (GradientDrawable) preloadedConstantState.newDrawable(res); in verifyPreloadDensityInner() 912 (GradientDrawable) preloadedConstantState.newDrawable(); in verifyPreloadDensityInner()
|
D | NinePatchDrawableTest.java | 563 (NinePatchDrawable) preloadedConstantState.newDrawable(res); in verifyPreloadDensityInner() 637 (NinePatchDrawable) preloadedConstantState.newDrawable(res); in verifyOutlinePreloadDensityInner()
|
D | ShapeDrawableTest.java | 376 ShapeDrawable b = (ShapeDrawable) a.getConstantState().newDrawable(); in testMutateGetShape()
|
D | ClipDrawableTest.java | 401 public Drawable newDrawable() { in newDrawable() method in ClipDrawableTest.MockConstantState
|
D | ScaleDrawableTest.java | 316 ScaleDrawable clone = (ScaleDrawable) dr.getConstantState().newDrawable(res); in testInitialLevel()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | BitmapDrawableTest.java | 104 (BitmapDrawable) preloadedConstantState.newDrawable(res); in verifyPreloadDensityInner()
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | PackageManagerTest.java | 779 .getConstantState().newDrawable())); in testGetIcon()
|
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/ |
D | current.txt | 17553 method @NonNull public abstract android.graphics.drawable.Drawable newDrawable(); 17554 …method @NonNull public android.graphics.drawable.Drawable newDrawable(@Nullable android.content.re… 17555 …method @NonNull public android.graphics.drawable.Drawable newDrawable(@Nullable android.content.re…
|