/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | DrawableContainerStateTest.java | 56 MockDrawable dr0 = new MockDrawable(); in testAddChild() 68 MockDrawable dr1 = new MockDrawable(); in testAddChild() 95 MockDrawable dr0 = new MockDrawable(); in testIsStateFul() 101 MockDrawable dr1 = new MockDrawable(); in testIsStateFul() 107 MockDrawable dr2 = new MockDrawable(); in testIsStateFul() 113 MockDrawable dr3 = new MockDrawable(); in testIsStateFul() 183 MockDrawable dr0 = new MockDrawable(); in testConstantHeightsAndWidths() 195 MockDrawable dr1 = new MockDrawable(); in testConstantHeightsAndWidths() 207 MockDrawable dr2 = new MockDrawable(); in testConstantHeightsAndWidths() 224 MockDrawable dr0 = new MockDrawable(); in testGetOpacity() [all …]
|
D | DrawableContainerTest.java | 63 MockDrawable dr = new MockDrawable(); in testDraw() 112 MockDrawable dr0 = new MockDrawable(); in testGetChangingConfigurations() 115 MockDrawable dr1 = new MockDrawable(); in testGetChangingConfigurations() 142 MockDrawable dr0 = new MockDrawable(); in testGetPadding() 145 MockDrawable dr1 = new MockDrawable(); in testGetPadding() 188 MockDrawable mockDrawable = new MockDrawable(); in testSetAlpha() 210 MockDrawable dr = new MockDrawable(); in testSetDither() 231 MockDrawable dr = new MockDrawable(); in testSetHotspotBounds() 250 MockDrawable dr = new MockDrawable(); in testGetHotspotBounds() 273 MockDrawable mockDrawable = new MockDrawable(); in testSetColorFilter() [all …]
|
D | ClipDrawableTest.java | 53 MockDrawable mockDrawable = new MockDrawable(); in testDraw() 74 MockDrawable mockDrawable = new MockDrawable(); in testGetChangingConfigurations() 89 MockDrawable mockDrawable = new MockDrawable(); in testGetConstantState() 103 MockDrawable mockDrawable = new MockDrawable(); in testGetIntrinsicHeight() 117 MockDrawable mockDrawable = new MockDrawable(); in testGetIntrinsicWidth() 131 MockDrawable dr; in testGetOpacity() 134 dr = new MockDrawable(); in testGetOpacity() 147 dr = new MockDrawable(); in testGetOpacity() 156 MockDrawable mockDrawable = new MockDrawable(); in testGetPadding() 185 MockDrawable mockDrawable = new MockDrawable(); in testInvalidateDrawable() [all …]
|
D | DrawableWrapperTest.java | 172 MockDrawable mockDrawable = new MockDrawable(); in testDraw() 187 MockDrawable mockDrawable = new MockDrawable(); in testGetChangingConfigurations() 201 MockDrawable mockDrawable = new MockDrawable(); in testGetPadding() 217 MockDrawable mockDrawable = new MockDrawable(); in testSetVisible() 237 MockDrawable mockDrawable = new MockDrawable(); in testSetAlpha() 254 MockDrawable mockDrawable = new MockDrawable(); in testSetColorFilter() 267 MockDrawable mockDrawable = new MockDrawable(); in testGetOpacity() 277 MockDrawable mockDrawable = new MockDrawable(); in testIsStateful() 286 Drawable d = new MockDrawable(); in testOnStateChange() 306 MockDrawable mockDrawable = new MockDrawable(); in testOnLevelChange() [all …]
|
D | DrawableTest.java | 64 Drawable mockDrawable = new MockDrawable(); in testClearColorFilter() 77 Drawable mockDrawable = new MockDrawable(); in testCopyBounds() 358 Drawable mockDrawable = new MockDrawable(); in testAccessBounds() 381 Drawable mockDrawable = new MockDrawable(); in testAccessChangingConfigurations() 395 Drawable mockDrawable = new MockDrawable(); in testGetConstantState() 400 Drawable mockDrawable = new MockDrawable(); in testGetCurrent() 405 Drawable mockDrawable = new MockDrawable(); in testGetIntrinsicHeight() 410 Drawable mockDrawable = new MockDrawable(); in testGetIntrinsicWidth() 415 Drawable mockDrawable = new MockDrawable(); in testAccessLevel() 432 Drawable mockDrawable = new MockDrawable(); in testGetMinimumHeight() [all …]
|
D | ScaleDrawableTest.java | 161 MockDrawable mockDrawable = new MockDrawable(); in testDraw() 182 MockDrawable mockDrawable = new MockDrawable(); in testGetChangingConfigurations() 196 MockDrawable mockDrawable = new MockDrawable(); in testGetPadding() 212 MockDrawable mockDrawable = new MockDrawable(); in testSetVisible() 232 MockDrawable mockDrawable = new MockDrawable(); in testSetAlpha() 249 MockDrawable mockDrawable = new MockDrawable(); in testSetColorFilter() 262 MockDrawable mockDrawable = new MockDrawable(); in testGetOpacity() 272 MockDrawable mockDrawable = new MockDrawable(); in testIsStateful() 281 Drawable d = new MockDrawable(); in testOnStateChange() 324 MockDrawable mockDrawable = new MockDrawable(); in testOnLevelChange() [all …]
|
D | LayerDrawableTest.java | 263 MockDrawable firstLayer = new MockDrawable(); in testSetLayerInset() 265 MockDrawable secondLayer = new MockDrawable(); in testSetLayerInset() 409 MockDrawable mockDrawable1 = new MockDrawable(); in testDraw() 410 MockDrawable mockDrawable2 = new MockDrawable(); in testDraw() 514 MockDrawable mockDrawable1 = new MockDrawable(); in testSetDither() 515 MockDrawable mockDrawable2 = new MockDrawable(); in testSetDither() 532 MockDrawable mockDrawable1 = new MockDrawable(); in testSetHotspotBounds() 533 MockDrawable mockDrawable2 = new MockDrawable(); in testSetHotspotBounds() 545 MockDrawable mockDrawable1 = new MockDrawable(); in testGetHotspotBounds() 546 MockDrawable mockDrawable2 = new MockDrawable(); in testGetHotspotBounds() [all …]
|
D | StateListDrawableTest.java | 80 dr.addState(StateSet.WILD_CARD, new MockDrawable()); in testAddState() 85 dr.addState(new int[] { attr.state_focused, - attr.state_selected }, new MockDrawable()); in testAddState() 92 dr.addState(null, new MockDrawable()); in testAddState() 103 new MockDrawable()); in testOnStateChange() 104 mMockDrawable.addState(StateSet.WILD_CARD, new MockDrawable()); in testOnStateChange() 105 mMockDrawable.addState(StateSet.WILD_CARD, new MockDrawable()); in testOnStateChange() 137 mMockDrawable.addState(StateSet.WILD_CARD, new MockDrawable()); in testOnStateChangeWithWildCardAtFirst() 139 new MockDrawable()); in testOnStateChangeWithWildCardAtFirst() 149 mMockDrawable.addState(null, new MockDrawable()); in testOnStateChangeWithNullStateSet() 353 private class MockDrawable extends Drawable { class in StateListDrawableTest
|
D | LevelListDrawableTest.java | 70 mLevelListDrawable.addLevel(Integer.MAX_VALUE, Integer.MIN_VALUE, new MockDrawable()); in testAddLevel() 75 mLevelListDrawable.addLevel(Integer.MIN_VALUE, Integer.MAX_VALUE, new MockDrawable()); in testAddLevel() 81 mLevelListDrawable.addLevel(0, 0, new MockDrawable()); in testOnLevelChange() 82 mLevelListDrawable.addLevel(0, 0, new MockDrawable()); in testOnLevelChange() 83 mLevelListDrawable.addLevel(0, 10, new MockDrawable()); in testOnLevelChange() 216 private class MockDrawable extends Drawable { class in LevelListDrawableTest
|
D | AnimatedStateListDrawableTest.java | 235 public abstract class MockTransition extends MockDrawable implements Animatable, Animatable2 { 254 public class MockDrawable extends Drawable { class in AnimatedStateListDrawableTest
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | ProgressBarTest.java | 83 MockDrawable mockDrawable = new MockDrawable(); in testAccessIndeterminateDrawable() 101 MockDrawable mockDrawable = new MockDrawable(); in testAccessProgressDrawable() 259 MockDrawable mockDrawable1 = new MockDrawable(); in testInvalidateDrawable() 260 MockDrawable mockDrawable2 = new MockDrawable(); in testInvalidateDrawable() 332 MockDrawable progress = new MockDrawable(); in testProgressTint() 367 MockDrawable indeterminate = new MockDrawable(); in testIndeterminateTint() 384 private class MockDrawable extends Drawable { class in ProgressBarTest
|
D | AbsSeekBarTest.java | 118 MockDrawable drawable = new MockDrawable(); in testDrawableStateChanged() 238 MockDrawable thumb = new MockDrawable(); in testThumbTint() 266 MockDrawable tickMark = new MockDrawable(); in testTickMarkTint() 307 private static class MockDrawable extends Drawable { class in AbsSeekBarTest
|
D | CompoundButtonTest.java | 343 MockDrawable button = new MockDrawable(); in testButtonTint() 360 private static class MockDrawable extends Drawable { class in CompoundButtonTest
|
D | FrameLayoutTest.java | 288 MockDrawable foreground = new MockDrawable(); in testForegroundTint() 322 private static class MockDrawable extends Drawable { class in FrameLayoutTest
|
/cts/tests/app/src/android/app/cts/ |
D | DialogTest.java | 703 new MockDrawable()); in testSetFeatureDrawable() 898 private static class MockDrawable extends Drawable { class in DialogTest
|
/cts/tests/tests/view/src/android/view/cts/ |
D | ViewTest.java | 3804 MockDrawable bg = new MockDrawable(); in testBackgroundTint() 4101 private static class MockDrawable extends Drawable { class in ViewTest
|