Home
last modified time | relevance | path

Searched refs:onLevelChange (Results 1 – 7 of 7) sorted by relevance

/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DLevelListDrawableTest.java112 assertTrue(mLevelListDrawable.onLevelChange(10)); in testOnLevelChange()
115 assertFalse(mLevelListDrawable.onLevelChange(5)); in testOnLevelChange()
118 assertTrue(mLevelListDrawable.onLevelChange(0)); in testOnLevelChange()
121 assertTrue(mLevelListDrawable.onLevelChange(100)); in testOnLevelChange()
124 assertFalse(mLevelListDrawable.onLevelChange(101)); in testOnLevelChange()
232 protected boolean onLevelChange(int level) { in onLevelChange() method in LevelListDrawableTest.MockLevelListDrawable
233 boolean result = super.onLevelChange(level); in onLevelChange()
DDrawableWrapperTest.java329 assertFalse(mockDrawableWrapper.onLevelChange(0)); in testOnLevelChange()
332 assertFalse(mockDrawableWrapper.onLevelChange(1000)); in testOnLevelChange()
337 assertFalse(mockDrawableWrapper.onLevelChange(Integer.MIN_VALUE)); in testOnLevelChange()
455 protected boolean onLevelChange(int level) { in onLevelChange() method in DrawableWrapperTest.MockDrawable
457 return super.onLevelChange(level); in onLevelChange()
484 protected boolean onLevelChange(int level) { in onLevelChange() method in DrawableWrapperTest.MockDrawableWrapper
485 return super.onLevelChange(level); in onLevelChange()
DDrawableContainerTest.java431 assertFalse(mMockDrawableContainer.onLevelChange(Integer.MAX_VALUE)); in testOnLevelChange()
432 assertFalse(mMockDrawableContainer.onLevelChange(Integer.MIN_VALUE)); in testOnLevelChange()
442 mMockDrawableContainer.onLevelChange(Integer.MAX_VALUE); in testOnLevelChange()
448 mMockDrawableContainer.onLevelChange(Integer.MIN_VALUE); in testOnLevelChange()
454 assertFalse(mMockDrawableContainer.onLevelChange(Integer.MIN_VALUE)); in testOnLevelChange()
869 protected boolean onLevelChange(int level) { in onLevelChange() method in DrawableContainerTest.MockDrawableContainer
870 return super.onLevelChange(level); in onLevelChange()
958 protected boolean onLevelChange(int level) { in onLevelChange() method in DrawableContainerTest.MockDrawable
959 boolean result = super.onLevelChange(level); in onLevelChange()
DClipDrawableTest.java275 mockClipDrawable.onLevelChange(1000); in testOnLevelChange()
279 mockClipDrawable.onLevelChange(0); in testOnLevelChange()
282 mockClipDrawable.onLevelChange(10000); in testOnLevelChange()
390 protected boolean onLevelChange(int level) { in onLevelChange() method in ClipDrawableTest.MockClipDrawable
391 return super.onLevelChange(level); in onLevelChange()
DScaleDrawableTest.java331 assertTrue(mockScaleDrawable.onLevelChange(0)); in testOnLevelChange()
337 assertTrue(mockScaleDrawable.onLevelChange(Integer.MIN_VALUE)); in testOnLevelChange()
531 protected boolean onLevelChange(int level) { in onLevelChange() method in ScaleDrawableTest.MockDrawable
533 return super.onLevelChange(level); in onLevelChange()
563 protected boolean onLevelChange(int level) { in onLevelChange() method in ScaleDrawableTest.MockScaleDrawable
564 return super.onLevelChange(level); in onLevelChange()
DDrawableTest.java661 assertFalse(mockDrawable.onLevelChange(0)); in testOnLevelChange()
914 protected boolean onLevelChange(int level) { in onLevelChange() method in DrawableTest.MockDrawable
915 return super.onLevelChange(level); in onLevelChange()
DLayerDrawableTest.java1588 protected boolean onLevelChange(int level) { in onLevelChange() method in LayerDrawableTest.MockDrawable