Home
last modified time | relevance | path

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

/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/buttons/
H A DContextualButtonGroup.java54 public void removeButton(@IdRes int buttonResId) { in removeButton() argument
55 int index = getContextButtonIndex(buttonResId); in removeButton()
61 public ContextualButton getContextButton(@IdRes int buttonResId) { in getContextButton() argument
62 int index = getContextButtonIndex(buttonResId); in getContextButton()
87 public int setButtonVisibility(@IdRes int buttonResId, boolean visible) { in setButtonVisibility() argument
88 final int index = getContextButtonIndex(buttonResId); in setButtonVisibility()
90 throw new RuntimeException("Cannot find the button id of " + buttonResId in setButtonVisibility()
118 public boolean isButtonVisibleWithinGroup(@IdRes int buttonResId) { in isButtonVisibleWithinGroup() argument
119 final int index = getContextButtonIndex(buttonResId); in isButtonVisibleWithinGroup()
151 private int getContextButtonIndex(@IdRes int buttonResId) { in getContextButtonIndex() argument
[all …]
H A DRotationContextButton.java36 public RotationContextButton(@IdRes int buttonResId, Context lightContext, in RotationContextButton() argument
38 super(buttonResId, lightContext, iconResId); in RotationContextButton()
H A DContextualButton.java43 public ContextualButton(@IdRes int buttonResId, Context lightContext, in ContextualButton() argument
45 super(buttonResId); in ContextualButton()
/aosp12/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/widget/
H A DBannerMessagePreferenceTest.java489 private int getButtonColor(int buttonResId) { in getButtonColor() argument
490 Button mButton = mRootView.findViewById(buttonResId); in getButtonColor()