/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
DrawableTest.java | 59 MockDrawable mockDrawable = new MockDrawable(); 60 mockDrawable.clearColorFilter(); 61 assertNull(mockDrawable.getColorFilter()); 64 mockDrawable.setColorFilter(cf); 65 assertEquals(cf, mockDrawable.getColorFilter()); 67 mockDrawable.clearColorFilter(); 68 assertNull(mockDrawable.getColorFilter()); 72 MockDrawable mockDrawable = new MockDrawable() [all...] |
DrawableContainerStateTest.java | 56 MockDrawable dr0 = new MockDrawable(); 68 MockDrawable dr1 = new MockDrawable(); 95 MockDrawable dr0 = new MockDrawable(); 101 MockDrawable dr1 = new MockDrawable(); 107 MockDrawable dr2 = new MockDrawable(); [all...] |
ClipDrawableTest.java | 52 MockDrawable mockDrawable = new MockDrawable(); 53 mockDrawable.setLevel(5000); 54 ClipDrawable clipDrawable = new ClipDrawable(mockDrawable, 58 assertFalse(mockDrawable.getCalledDraw()); 60 assertTrue(mockDrawable.getCalledDraw()); 70 MockDrawable mockDrawable = new MockDrawable(); [all...] |
DrawableContainerTest.java | 57 MockDrawable dr = new MockDrawable(); 79 MockDrawable dr0 = new MockDrawable(); 82 MockDrawable dr1 = new MockDrawable(); 106 MockDrawable dr0 = new MockDrawable(); 109 MockDrawable dr1 = new MockDrawable(); [all...] |
ScaleDrawableTest.java | 158 MockDrawable mockDrawable = new MockDrawable(); 159 ScaleDrawable scaleDrawable = new ScaleDrawable(mockDrawable, Gravity.CENTER, 100, 200); 162 assertFalse(mockDrawable.hasCalledDraw()); 166 mockDrawable.setLevel(1); 168 assertTrue(mockDrawable.hasCalledDraw()); 170 mockDrawable.reset(); 172 assertTrue(mockDrawable.hasCalledDraw()); 179 MockDrawable mockDrawable = new MockDrawable() [all...] |
LayerDrawableTest.java | 379 MockDrawable mockDrawable1 = new MockDrawable(); 380 MockDrawable mockDrawable2 = new MockDrawable(); 463 MockDrawable mockDrawable1 = new MockDrawable(); 464 MockDrawable mockDrawable2 = new MockDrawable(); 480 MockDrawable mockDrawable1 = new MockDrawable(); [all...] |
StateListDrawableTest.java | 73 mStateListDrawable.addState(StateSet.WILD_CARD, new MockDrawable()); 79 new MockDrawable()); 86 mStateListDrawable.addState(null, new MockDrawable()); 97 new MockDrawable()); 98 mStateListDrawable.addState(StateSet.WILD_CARD, new MockDrawable()); 99 mStateListDrawable.addState(StateSet.WILD_CARD, new MockDrawable()); 131 mStateListDrawable.addState(StateSet.WILD_CARD, new MockDrawable()); 133 new MockDrawable()); 143 mStateListDrawable.addState(null, new MockDrawable()); 277 private class MockDrawable extends Drawable [all...] |
LevelListDrawableTest.java | 70 mLevelListDrawable.addLevel(Integer.MAX_VALUE, Integer.MIN_VALUE, new MockDrawable()); 75 mLevelListDrawable.addLevel(Integer.MIN_VALUE, Integer.MAX_VALUE, new MockDrawable()); 81 mLevelListDrawable.addLevel(0, 0, new MockDrawable()); 82 mLevelListDrawable.addLevel(0, 0, new MockDrawable()); 83 mLevelListDrawable.addLevel(0, 10, new MockDrawable()); 216 private class MockDrawable extends Drawable {
|
/frameworks/base/graphics/tests/graphicstests/src/android/graphics/drawable/ |
StateListDrawableTest.java | 35 private MockDrawable mockFocusedDrawable; 36 private MockDrawable mockCheckedDrawable; 38 private MockDrawable mockDefaultDrawable; 72 mockFocusedDrawable = new MockDrawable(); 73 mockCheckedDrawable = new MockDrawable(); 74 mockDefaultDrawable = new MockDrawable(); 79 static class MockDrawable extends Drawable {
|
/cts/tests/tests/widget/src/android/widget/cts/ |
ImageViewTest.java | 323 MockDrawable drawable = new MockDrawable(); 335 MockDrawable drawable = new MockDrawable(); 347 MockDrawable drawable = new MockDrawable(); 360 MockDrawable drawable = new MockDrawable(); 373 MockDrawable drawable = new MockDrawable(); [all...] |
ProgressBarTest.java | 78 MockDrawable mockDrawable = new MockDrawable(); 79 progressBar.setIndeterminateDrawable(mockDrawable); 80 assertSame(mockDrawable, progressBar.getIndeterminateDrawable()); 81 assertFalse(mockDrawable.hasCalledDraw()); 83 assertTrue(mockDrawable.hasCalledDraw()); 96 MockDrawable mockDrawable = new MockDrawable(); [all...] |
AbsSeekBarTest.java | 97 MockDrawable drawable = new MockDrawable(); 240 private static class MockDrawable extends Drawable {
|
/cts/tests/tests/app/src/android/app/cts/ |
DialogTest.java | 673 mActivity.getDialog().setFeatureDrawable(0, new MockDrawable()); [all...] |