Home
last modified time | relevance | path

Searched refs:KeyButtonDrawable (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DContextualButton.java25 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()
DRotationContextButton.java27 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()
DNavigationBarView.java75 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 …]
DRotationButton.java21 import com.android.systemui.statusbar.policy.KeyButtonDrawable;
33 KeyButtonDrawable getImageDrawable(); in getImageDrawable()
DFloatingRotationButton.java33 import com.android.systemui.statusbar.policy.KeyButtonDrawable;
46 private KeyButtonDrawable mKeyButtonDrawable;
152 public KeyButtonDrawable getImageDrawable() { in getImageDrawable()
164 return KeyButtonDrawable.create(lightContext, in getImageDrawable()
DButtonDispatcher.java26 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()
DRotationButtonController.java47 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/
DKeyButtonDrawable.java51 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 …]
DKeyButtonView.java310 KeyButtonDrawable keyButtonDrawable = (KeyButtonDrawable) drawable; in setImageDrawable()
380 ((KeyButtonDrawable) drawable).setDarkIntensity(darkIntensity); in setDarkIntensity()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DNavigationBarContextTest.java36 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()
DNavigationBarRotationContextTest.java34 import com.android.systemui.statusbar.policy.KeyButtonDrawable;
66 final KeyButtonDrawable kbd = mock(KeyButtonDrawable.class); in setup()