Home
last modified time | relevance | path

Searched refs:MockDrawable (Results 1 – 8 of 8) sorted by relevance

/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DDrawableTest.java83 Drawable mockDrawable = new MockDrawable(); in testClearColorFilter()
97 Drawable mockDrawable = new MockDrawable(); in testCopyBounds()
404 Drawable mockDrawable = new MockDrawable(); in testAccessBounds()
428 Drawable mockDrawable = new MockDrawable(); in testAccessChangingConfigurations()
443 Drawable mockDrawable = new MockDrawable(); in testGetConstantState()
449 Drawable mockDrawable = new MockDrawable(); in testGetCurrent()
455 Drawable mockDrawable = new MockDrawable(); in testGetIntrinsicHeight()
461 Drawable mockDrawable = new MockDrawable(); in testGetIntrinsicWidth()
467 Drawable mockDrawable = new MockDrawable(); in testAccessLevel()
485 Drawable mockDrawable = new MockDrawable(); in testGetMinimumHeight()
[all …]
DDrawableContainerTest.java151 MockDrawable dr0 = new MockDrawable(); in testGetChangingConfigurations()
154 MockDrawable dr1 = new MockDrawable(); in testGetChangingConfigurations()
268 MockDrawable dr = new MockDrawable(); in testSetHotspotBounds()
287 MockDrawable dr = new MockDrawable(); in testGetHotspotBounds()
341 MockDrawable dr = new MockDrawable(); in testOnBoundsChange()
395 MockDrawable dr = new MockDrawable(); in testOnStateChange()
423 MockDrawable dr = new MockDrawable(); in testOnLevelChange()
597 MockDrawable mockDrawable = new MockDrawable(); in testInvalidateDrawable()
630 MockDrawable mockDrawable = new MockDrawable(); in testScheduleDrawable()
664 MockDrawable mockDrawable = new MockDrawable(); in testUnscheduleDrawable()
[all …]
DDrawableWrapperTest.java175 MockDrawable mockDrawable = new MockDrawable(); in testGetChangingConfigurations()
200 Drawable wrappedDrawable = new MockDrawable(); in testColorFilter()
292 Drawable d = new MockDrawable(); in testOnStateChange()
313 MockDrawable mockDrawable = new MockDrawable(); in testOnLevelChange()
331 MockDrawable mockDrawable = new MockDrawable(); in testOnBoundsChange()
354 MockDrawable mockDrawable = new MockDrawable(); in testOnBoundsChangeNull()
390 private static class MockDrawable extends Drawable { class in DrawableWrapperTest
DAnimatedStateListDrawableTest.java267 public abstract class MockTransition extends MockDrawable implements Animatable, Animatable2 {
286 public class MockDrawable extends Drawable { class in AnimatedStateListDrawableTest
DScaleDrawableTest.java281 Drawable d = new MockDrawable(); in testOnStateChange()
326 MockDrawable mockDrawable = new MockDrawable(); in testOnLevelChange()
509 private static class MockDrawable extends Drawable { class in ScaleDrawableTest
DLayerDrawableTest.java634 array = new Drawable[] { new GradientDrawable(), new MockDrawable(false) }; in testIsStateful()
645 MockDrawable mockDrawable1 = new MockDrawable(true); in testSetState()
646 MockDrawable mockDrawable2 = new MockDrawable(true); in testSetState()
699 MockDrawable mockDrawable1 = new MockDrawable(); in testSetLevel()
700 MockDrawable mockDrawable2 = new MockDrawable(); in testSetLevel()
1519 private static class MockDrawable extends Drawable { class in LayerDrawableTest
1528 public MockDrawable() { in MockDrawable() method in LayerDrawableTest.MockDrawable
1532 public MockDrawable(boolean isStateful) { in MockDrawable() method in LayerDrawableTest.MockDrawable
/cts/tests/app/src/android/app/cts/
DDialogTest.java818 new MockDrawable()); in testSetFeatureDrawable()
1051 private static class MockDrawable extends Drawable { class in DialogTest
/cts/tests/tests/view/src/android/view/cts/
DViewTest.java4141 MockDrawable bg = new MockDrawable(); in testBackgroundTint()
4641 private static class MockDrawable extends Drawable { class in ViewTest