Home
last modified time | relevance | path

Searched refs:buttonResId (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DContextualButtonGroup.java48 public ContextualButton getContextButton(@IdRes int buttonResId) { in getContextButton() argument
49 int index = getContextButtonIndex(buttonResId); in getContextButton()
74 public int setButtonVisibility(@IdRes int buttonResId, boolean visible) { in setButtonVisibility() argument
75 final int index = getContextButtonIndex(buttonResId); in setButtonVisibility()
77 throw new RuntimeException("Cannot find the button id of " + buttonResId in setButtonVisibility()
105 public boolean isButtonVisibleWithinGroup(@IdRes int buttonResId) { in isButtonVisibleWithinGroup() argument
106 final int index = getContextButtonIndex(buttonResId); in isButtonVisibleWithinGroup()
139 private int getContextButtonIndex(@IdRes int buttonResId) { in getContextButtonIndex() argument
141 if (mButtonData.get(i).button.getId() == buttonResId) { in getContextButtonIndex()
DRotationContextButton.java37 public RotationContextButton(@IdRes int buttonResId, @DrawableRes int iconResId) { in RotationContextButton() argument
38 super(buttonResId, iconResId); in RotationContextButton()
DContextualButton.java45 public ContextualButton(@IdRes int buttonResId, @DrawableRes int iconResId) { in ContextualButton() argument
46 super(buttonResId); in ContextualButton()