Searched refs:KeyButtonDrawable (Results 1 – 11 of 11) sorted by relevance
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | ContextualButton.java | 25 import com.android.systemui.statusbar.policy.KeyButtonDrawable; 57 final KeyButtonDrawable currentDrawable = getImageDrawable(); in updateIcon() 58 KeyButtonDrawable drawable = getNewDrawable(); in updateIcon() 70 final KeyButtonDrawable currentDrawable = getImageDrawable(); in setVisibility() 119 protected KeyButtonDrawable getNewDrawable() { in getNewDrawable() 120 return KeyButtonDrawable.create(getContext().getApplicationContext(), mIconResId, in getNewDrawable()
|
D | RotationContextButton.java | 27 import com.android.systemui.statusbar.policy.KeyButtonDrawable; 51 final KeyButtonDrawable currentDrawable = getImageDrawable(); in setVisibility() 59 protected KeyButtonDrawable getNewDrawable() { in getNewDrawable() 62 return KeyButtonDrawable.create(context, mIconResId, false /* shadow */, in getNewDrawable()
|
D | NavigationBarView.java | 75 import com.android.systemui.statusbar.policy.KeyButtonDrawable; 111 private KeyButtonDrawable mBackIcon; 112 private KeyButtonDrawable mHomeDefaultIcon; 113 private KeyButtonDrawable mRecentIcon; 114 private KeyButtonDrawable mDockedIcon; 466 public KeyButtonDrawable getBackDrawable() { in getBackDrawable() 467 KeyButtonDrawable drawable = getDrawable(getBackDrawableRes()); in getBackDrawable() 477 public KeyButtonDrawable getHomeDrawable() { in getHomeDrawable() 479 KeyButtonDrawable drawable = quickStepEnabled in getHomeDrawable() 486 private void orientBackButton(KeyButtonDrawable drawable) { in orientBackButton() [all …]
|
D | RotationButton.java | 21 import com.android.systemui.statusbar.policy.KeyButtonDrawable; 33 KeyButtonDrawable getImageDrawable(); in getImageDrawable()
|
D | FloatingRotationButton.java | 33 import com.android.systemui.statusbar.policy.KeyButtonDrawable; 46 private KeyButtonDrawable mKeyButtonDrawable; 152 public KeyButtonDrawable getImageDrawable() { in getImageDrawable() 164 return KeyButtonDrawable.create(lightContext, in getImageDrawable()
|
D | ButtonDispatcher.java | 26 import com.android.systemui.statusbar.policy.KeyButtonDrawable; 51 private KeyButtonDrawable mImageDrawable; 125 public KeyButtonDrawable getImageDrawable() { in getImageDrawable() 129 public void setImageDrawable(KeyButtonDrawable drawable) { in setImageDrawable()
|
D | RotationButtonController.java | 47 import com.android.systemui.statusbar.policy.KeyButtonDrawable; 189 final KeyButtonDrawable currentDrawable = mRotationButton.getImageDrawable(); in setRotateSuggestionButtonState()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | KeyButtonDrawable.java | 51 public class KeyButtonDrawable extends Drawable { class 53 public static final FloatProperty<KeyButtonDrawable> KEY_DRAWABLE_ROTATE = 54 new FloatProperty<KeyButtonDrawable>("KeyButtonRotation") { 56 public void setValue(KeyButtonDrawable drawable, float degree) { 61 public Float get(KeyButtonDrawable drawable) { 66 public static final FloatProperty<KeyButtonDrawable> KEY_DRAWABLE_TRANSLATE_Y = 67 new FloatProperty<KeyButtonDrawable>("KeyButtonTranslateY") { 69 public void setValue(KeyButtonDrawable drawable, float y) { 74 public Float get(KeyButtonDrawable drawable) { 84 public KeyButtonDrawable(Drawable d, @ColorInt int lightColor, @ColorInt int darkColor, in KeyButtonDrawable() method in KeyButtonDrawable [all …]
|
D | KeyButtonView.java | 310 KeyButtonDrawable keyButtonDrawable = (KeyButtonDrawable) drawable; in setImageDrawable() 380 ((KeyButtonDrawable) drawable).setDarkIntensity(darkIntensity); in setDarkIntensity()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | NavigationBarContextTest.java | 36 import com.android.systemui.statusbar.policy.KeyButtonDrawable; 182 final KeyButtonDrawable kbd1 = spy(new KeyButtonDrawable(d, unusedColor, unusedColor, in testUpdateIconsDarkIntensity() 184 final KeyButtonDrawable kbd2 = spy(new KeyButtonDrawable(d, unusedColor, unusedColor, in testUpdateIconsDarkIntensity()
|
D | NavigationBarRotationContextTest.java | 34 import com.android.systemui.statusbar.policy.KeyButtonDrawable; 66 final KeyButtonDrawable kbd = mock(KeyButtonDrawable.class); in setup()
|