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

  /frameworks/base/graphics/java/android/graphics/drawable/
LevelListDrawable.java 70 onLevelChange(getLevel());
77 protected boolean onLevelChange(int level) {
82 return super.onLevelChange(level);
143 onLevelChange(getLevel());
216 onLevelChange(getLevel());
Drawable.java 445 return onLevelChange(level);
574 protected boolean onLevelChange(int level) { return false; }
    [all...]
ClipDrawable.java 178 protected boolean onLevelChange(int level) {
ScaleDrawable.java 199 protected boolean onLevelChange(int level) {
RotateDrawable.java 161 protected boolean onLevelChange(int level) {
DrawableContainer.java 124 protected boolean onLevelChange(int level) {
GradientDrawable.java 464 protected boolean onLevelChange(int level) {
465 super.onLevelChange(level);
    [all...]
LayerDrawable.java 423 protected boolean onLevelChange(int level) {
  /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...]
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);
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...]
DrawableTest.java 571 method = "onLevelChange",
576 assertFalse(mockDrawable.onLevelChange(0));
724 protected boolean onLevelChange(int level) {
725 return super.onLevelChange(level);
  /prebuilt/sdk/4/
android.jar 
  /prebuilt/sdk/6/
android.jar 

Completed in 1318 milliseconds