/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | DrawableTest.java | 60 MockDrawable mockDrawable = new MockDrawable(); in testClearColorFilter() 73 MockDrawable mockDrawable = new MockDrawable(); in testCopyBounds() 325 MockDrawable mockDrawable = new MockDrawable(); in testAccessBounds() 348 MockDrawable mockDrawable = new MockDrawable(); in testAccessChangingConfigurations() 362 MockDrawable mockDrawable = new MockDrawable(); in testGetConstantState() 367 MockDrawable mockDrawable = new MockDrawable(); in testGetCurrent() 372 MockDrawable mockDrawable = new MockDrawable(); in testGetIntrinsicHeight() 377 MockDrawable mockDrawable = new MockDrawable(); in testGetIntrinsicWidth() 382 MockDrawable mockDrawable = new MockDrawable(); in testAccessLevel() 399 MockDrawable mockDrawable = new MockDrawable(); in testGetMinimumHeight() [all …]
|
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() 167 MockDrawable dr0 = new MockDrawable(); in testConstantHeightsAndWidths() 179 MockDrawable dr1 = new MockDrawable(); in testConstantHeightsAndWidths() 191 MockDrawable dr2 = new MockDrawable(); in testConstantHeightsAndWidths() 208 MockDrawable dr0 = new MockDrawable(); in testGetOpacity() [all …]
|
D | DrawableContainerTest.java | 59 MockDrawable dr = new MockDrawable(); in testDraw() 81 MockDrawable dr0 = new MockDrawable(); in testGetChangingConfigurations() 84 MockDrawable dr1 = new MockDrawable(); in testGetChangingConfigurations() 108 MockDrawable dr0 = new MockDrawable(); in testGetPadding() 111 MockDrawable dr1 = new MockDrawable(); in testGetPadding() 151 MockDrawable dr = new MockDrawable(); in testSetAlpha() 173 MockDrawable dr = new MockDrawable(); in testSetDither() 194 MockDrawable dr = new MockDrawable(); in testSetHotspotBounds() 213 MockDrawable dr = new MockDrawable(); in testGetHotspotBounds() 233 MockDrawable dr = 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 | ScaleDrawableTest.java | 160 MockDrawable mockDrawable = new MockDrawable(); in testDraw() 181 MockDrawable mockDrawable = new MockDrawable(); in testGetChangingConfigurations() 195 MockDrawable mockDrawable = new MockDrawable(); in testGetPadding() 211 MockDrawable mockDrawable = new MockDrawable(); in testSetVisible() 231 MockDrawable mockDrawable = new MockDrawable(); in testSetAlpha() 248 MockDrawable mockDrawable = new MockDrawable(); in testSetColorFilter() 261 MockDrawable mockDrawable = new MockDrawable(); in testGetOpacity() 271 MockDrawable mockDrawable = new MockDrawable(); in testIsStateful() 280 Drawable d = new MockDrawable(); in testOnStateChange() 300 MockDrawable mockDrawable = new MockDrawable(); in testOnLevelChange() [all …]
|
D | LayerDrawableTest.java | 405 MockDrawable mockDrawable1 = new MockDrawable(); in testDraw() 406 MockDrawable mockDrawable2 = new MockDrawable(); in testDraw() 489 MockDrawable mockDrawable1 = new MockDrawable(); in testSetDither() 490 MockDrawable mockDrawable2 = new MockDrawable(); in testSetDither() 507 MockDrawable mockDrawable1 = new MockDrawable(); in testSetHotspotBounds() 508 MockDrawable mockDrawable2 = new MockDrawable(); in testSetHotspotBounds() 520 MockDrawable mockDrawable1 = new MockDrawable(); in testGetHotspotBounds() 521 MockDrawable mockDrawable2 = new MockDrawable(); in testGetHotspotBounds() 532 MockDrawable mockDrawable1 = new MockDrawable(); in testSetAlpha() 533 MockDrawable mockDrawable2 = new MockDrawable(); in testSetAlpha() [all …]
|
D | StateListDrawableTest.java | 73 mStateListDrawable.addState(StateSet.WILD_CARD, new MockDrawable()); in testAddState() 79 new MockDrawable()); in testAddState() 86 mStateListDrawable.addState(null, new MockDrawable()); in testAddState() 97 new MockDrawable()); in testOnStateChange() 98 mStateListDrawable.addState(StateSet.WILD_CARD, new MockDrawable()); in testOnStateChange() 99 mStateListDrawable.addState(StateSet.WILD_CARD, new MockDrawable()); in testOnStateChange() 131 mStateListDrawable.addState(StateSet.WILD_CARD, new MockDrawable()); in testOnStateChangeWithWildCardAtFirst() 133 new MockDrawable()); in testOnStateChangeWithWildCardAtFirst() 143 mStateListDrawable.addState(null, new MockDrawable()); in testOnStateChangeWithNullStateSet() 277 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
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | ImageViewTest.java | 345 MockDrawable drawable = new MockDrawable(); in testSetColorFilter1() 357 MockDrawable drawable = new MockDrawable(); in testClearColorFilter() 369 MockDrawable drawable = new MockDrawable(); in testSetColorFilter2() 382 MockDrawable drawable = new MockDrawable(); in testSetAlpha() 395 MockDrawable drawable = new MockDrawable(); in testDrawableStateChanged() 422 MockDrawable drawable = new MockDrawable(); in testOnDraw() 452 MockDrawable drawable = new MockDrawable(); in testVerifyDrawable() 454 MockDrawable bgdrawable = new MockDrawable(); in testVerifyDrawable() 457 assertFalse(mockImageView.verifyDrawable(new MockDrawable())); in testVerifyDrawable() 470 MockDrawable image = new MockDrawable(); in testImageTint() [all …]
|
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() 342 MockDrawable progress = new MockDrawable(); in testProgressTint() 377 MockDrawable indeterminate = new MockDrawable(); in testIndeterminateTint() 394 private class MockDrawable extends Drawable { class in ProgressBarTest
|
D | AbsSeekBarTest.java | 101 MockDrawable drawable = new MockDrawable(); in testDrawableStateChanged() 225 MockDrawable thumb = new MockDrawable(); in testThumbTint() 272 private static class MockDrawable extends Drawable { class in AbsSeekBarTest
|
D | FrameLayoutTest.java | 286 MockDrawable foreground = new MockDrawable(); in testForegroundTint() 320 private static class MockDrawable extends Drawable { class in FrameLayoutTest
|
D | CompoundButtonTest.java | 343 MockDrawable button = new MockDrawable(); in testButtonTint() 360 private static class MockDrawable extends Drawable { class in CompoundButtonTest
|
/cts/tests/tests/app/src/android/app/cts/ |
D | DialogTest.java | 692 new MockDrawable()); in testSetFeatureDrawable() 887 private static class MockDrawable extends Drawable { class in DialogTest
|
/cts/tests/tests/view/src/android/view/cts/ |
D | ViewTest.java | 3434 MockDrawable bg = new MockDrawable(); in testBackgroundTint() 3601 private static class MockDrawable extends Drawable { class in ViewTest
|