HomeSort by relevance Sort by last modified time
    Searched defs:onLevelChange (Results 1 - 18 of 18) sorted by null

  /cts/tests/tests/graphics/src/android/graphics/drawable/cts/
LevelListDrawableTest.java 97 method = "onLevelChange",
116 assertTrue(mLevelListDrawable.onLevelChange(10));
119 assertFalse(mLevelListDrawable.onLevelChange(5));
122 assertTrue(mLevelListDrawable.onLevelChange(0));
125 assertTrue(mLevelListDrawable.onLevelChange(100));
128 assertFalse(mLevelListDrawable.onLevelChange(101));
249 protected boolean onLevelChange(int level) {
250 boolean result = super.onLevelChange(level);
ClipDrawableTest.java 301 notes = "Test onLevelChange(int)",
302 method = "onLevelChange",
313 mockClipDrawable.onLevelChange(1000);
317 mockClipDrawable.onLevelChange(0);
320 mockClipDrawable.onLevelChange(10000);
451 protected boolean onLevelChange(int level) {
452 return super.onLevelChange(level);
499 protected boolean onLevelChange(int level) {
500 return super.onLevelChange(level);
DrawableContainerTest.java 358 method = "onLevelChange",
365 assertFalse(mDrawableContainer.onLevelChange(Integer.MAX_VALUE));
366 assertFalse(mDrawableContainer.onLevelChange(Integer.MIN_VALUE));
376 mDrawableContainer.onLevelChange(Integer.MAX_VALUE);
382 mDrawableContainer.onLevelChange(Integer.MIN_VALUE);
388 assertFalse(mDrawableContainer.onLevelChange(Integer.MIN_VALUE));
    [all...]
LayerDrawableTest.java 717 method = "onLevelChange",
727 // but just when set a different level the child's onLevelChange will be called.
728 assertFalse(layerDrawable.onLevelChange(0));
736 assertTrue(layerDrawable.onLevelChange(Integer.MAX_VALUE));
744 assertTrue(layerDrawable.onLevelChange(Integer.MIN_VALUE));
    [all...]
ScaleDrawableTest.java 372 method = "onLevelChange",
380 assertTrue(mockScaleDrawable.onLevelChange(0));
386 assertTrue(mockScaleDrawable.onLevelChange(Integer.MIN_VALUE));
649 protected boolean onLevelChange(int level) {
651 return super.onLevelChange(level);
731 protected boolean onLevelChange(int level) {
732 return super.onLevelChange(level);
DrawableTest.java 571 method = "onLevelChange",
576 assertFalse(mockDrawable.onLevelChange(0));
724 protected boolean onLevelChange(int level) {
725 return super.onLevelChange(level);
  /frameworks/base/graphics/java/android/graphics/drawable/
LevelListDrawable.java 67 onLevelChange(getLevel());
74 protected boolean onLevelChange(int level) {
79 return super.onLevelChange(level);
140 onLevelChange(getLevel());
213 onLevelChange(getLevel());
ClipDrawable.java 173 protected boolean onLevelChange(int level) {
RotateDrawable.java 159 protected boolean onLevelChange(int level) {
ScaleDrawable.java 197 protected boolean onLevelChange(int level) {
Drawable.java 445 return onLevelChange(level);
574 protected boolean onLevelChange(int level) { return false; }
    [all...]
DrawableContainer.java 124 protected boolean onLevelChange(int level) {
LayerDrawable.java 422 protected boolean onLevelChange(int level) {
  /prebuilt/sdk/4/
android.jar 
  /prebuilt/sdk/6/
android.jar 
  /prebuilt/sdk/7/
android.jar 
  /prebuilt/sdk/8/
android.jar 
  /prebuilt/sdk/5/
android.jar 

Completed in 63 milliseconds