Searched refs:newDrawable (Results 1 – 13 of 13) sorted by relevance
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
104 (RippleDrawable) preloadedConstantState.newDrawable(res); in verifyPreloadDensityInner()110 (RippleDrawable) preloadedConstantState.newDrawable(res); in verifyPreloadDensityInner()116 (RippleDrawable) preloadedConstantState.newDrawable(res); in verifyPreloadDensityInner()
211 (StateListDrawable) cs.newDrawable(res); in runPreloadDensityTestForDrawableInner()220 (StateListDrawable) cs.newDrawable(res); in runPreloadDensityTestForDrawableInner()229 (StateListDrawable) cs.newDrawable(res); in runPreloadDensityTestForDrawableInner()
237 (StateListDrawable) preloadedConstantState.newDrawable(res); in verifyPreloadDensityTestForDrawableInner()247 (StateListDrawable) preloadedConstantState.newDrawable(res); in verifyPreloadDensityTestForDrawableInner()256 (StateListDrawable) preloadedConstantState.newDrawable(res); in verifyPreloadDensityTestForDrawableInner()
448 (VectorDrawable) preloadedConstantState.newDrawable(res); in verifyPreloadDensityInner()456 (VectorDrawable) preloadedConstantState.newDrawable(res); in verifyPreloadDensityInner()462 (VectorDrawable) preloadedConstantState.newDrawable(); in verifyPreloadDensityInner()
482 (InsetDrawable) preloadedConstantState.newDrawable(res); in verifyPreloadDensityInner()491 (InsetDrawable) preloadedConstantState.newDrawable(res); in verifyPreloadDensityInner()498 (InsetDrawable) preloadedConstantState.newDrawable(); in verifyPreloadDensityInner()
792 (GradientDrawable) preloadedConstantState.newDrawable(res); in verifyPreloadDensityInner()803 (GradientDrawable) preloadedConstantState.newDrawable(res); in verifyPreloadDensityInner()812 (GradientDrawable) preloadedConstantState.newDrawable(); in verifyPreloadDensityInner()
891 GradientDrawable newDrawable = new GradientDrawable(); in testAddLayer() local892 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()
563 (NinePatchDrawable) preloadedConstantState.newDrawable(res); in verifyPreloadDensityInner()637 (NinePatchDrawable) preloadedConstantState.newDrawable(res); in verifyOutlinePreloadDensityInner()
376 ShapeDrawable b = (ShapeDrawable) a.getConstantState().newDrawable(); in testMutateGetShape()
401 public Drawable newDrawable() { in newDrawable() method in ClipDrawableTest.MockConstantState
316 ScaleDrawable clone = (ScaleDrawable) dr.getConstantState().newDrawable(res); in testInitialLevel()
104 (BitmapDrawable) preloadedConstantState.newDrawable(res); in verifyPreloadDensityInner()