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.java96 assertTrue(mLevelListDrawable.onLevelChange(10)); in testOnLevelChange()
99 assertFalse(mLevelListDrawable.onLevelChange(5)); in testOnLevelChange()
102 assertTrue(mLevelListDrawable.onLevelChange(0)); in testOnLevelChange()
105 assertTrue(mLevelListDrawable.onLevelChange(100)); in testOnLevelChange()
108 assertFalse(mLevelListDrawable.onLevelChange(101)); in testOnLevelChange()
209 protected boolean onLevelChange(int level) { in onLevelChange() method in LevelListDrawableTest.MockLevelListDrawable
210 boolean result = super.onLevelChange(level); in onLevelChange()
DDrawableWrapperTest.java310 assertFalse(mockDrawableWrapper.onLevelChange(0)); in testOnLevelChange()
313 assertFalse(mockDrawableWrapper.onLevelChange(1000)); in testOnLevelChange()
319 assertFalse(mockDrawableWrapper.onLevelChange(Integer.MIN_VALUE)); in testOnLevelChange()
450 protected boolean onLevelChange(int level) { in onLevelChange() method in DrawableWrapperTest.MockDrawable
452 return super.onLevelChange(level); in onLevelChange()
531 protected boolean onLevelChange(int level) { in onLevelChange() method in DrawableWrapperTest.MockDrawableWrapper
532 return super.onLevelChange(level); in onLevelChange()
DClipDrawableTest.java238 mockClipDrawable.onLevelChange(1000); in testOnLevelChange()
242 mockClipDrawable.onLevelChange(0); in testOnLevelChange()
245 mockClipDrawable.onLevelChange(10000); in testOnLevelChange()
348 protected boolean onLevelChange(int level) { in onLevelChange() method in ClipDrawableTest.MockClipDrawable
349 return super.onLevelChange(level); in onLevelChange()
401 protected boolean onLevelChange(int level) { in onLevelChange() method in ClipDrawableTest.MockDrawable
402 return super.onLevelChange(level); in onLevelChange()
DDrawableContainerTest.java357 assertFalse(mDrawableContainer.onLevelChange(Integer.MAX_VALUE)); in testOnLevelChange()
358 assertFalse(mDrawableContainer.onLevelChange(Integer.MIN_VALUE)); in testOnLevelChange()
368 mDrawableContainer.onLevelChange(Integer.MAX_VALUE); in testOnLevelChange()
374 mDrawableContainer.onLevelChange(Integer.MIN_VALUE); in testOnLevelChange()
380 assertFalse(mDrawableContainer.onLevelChange(Integer.MIN_VALUE)); in testOnLevelChange()
798 protected boolean onLevelChange(int level) { in onLevelChange() method in DrawableContainerTest.MockDrawableContainer
799 return super.onLevelChange(level); in onLevelChange()
993 protected boolean onLevelChange(int level) { in onLevelChange() method in DrawableContainerTest.MockDrawable
994 boolean result = super.onLevelChange(level); in onLevelChange()
DScaleDrawableTest.java304 assertTrue(mockScaleDrawable.onLevelChange(0)); in testOnLevelChange()
310 assertTrue(mockScaleDrawable.onLevelChange(Integer.MIN_VALUE)); in testOnLevelChange()
540 protected boolean onLevelChange(int level) { in onLevelChange() method in ScaleDrawableTest.MockDrawable
542 return super.onLevelChange(level); in onLevelChange()
622 protected boolean onLevelChange(int level) { in onLevelChange() method in ScaleDrawableTest.MockScaleDrawable
623 return super.onLevelChange(level); in onLevelChange()
DDrawableTest.java494 assertFalse(mockDrawable.onLevelChange(0)); in testOnLevelChange()
644 protected boolean onLevelChange(int level) { in onLevelChange() method in DrawableTest.MockDrawable
645 return super.onLevelChange(level); in onLevelChange()
DLayerDrawableTest.java1499 protected boolean onLevelChange(int level) { in onLevelChange() method in LayerDrawableTest.MockDrawable