Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DNavigationBarContextTest.java92 assertNotEquals(mGroup.setButtonVisibility(BUTTON_1_ID, false /* visible */), View.VISIBLE); in testSetButtonVisibility()
100 mGroup.setButtonVisibility(id, true /* visible */); in testSetButtonVisibilityUnaddedButton()
123 assertNotEquals(mGroup.setButtonVisibility(BUTTON_2_ID, false /* visible */), View.VISIBLE); in testSetHigherPriorityButton()
128 assertNotEquals(mGroup.setButtonVisibility(BUTTON_1_ID, false /* visible */), View.VISIBLE); in testSetHigherPriorityButton()
133 assertNotEquals(mGroup.setButtonVisibility(BUTTON_0_ID, false /* visible */), View.VISIBLE); in testSetHigherPriorityButton()
147 assertNotEquals(mGroup.setButtonVisibility(BUTTON_1_ID, true /* visible */), View.VISIBLE); in testSetLowerPriorityButton()
155 assertNotEquals(mGroup.setButtonVisibility(BUTTON_1_ID, false /* visible */), View.VISIBLE); in testSetLowerPriorityButton()
201 assertEquals(View.VISIBLE, mGroup.setButtonVisibility(button.getId(), true /* visible */)); in showButton()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DContextualButton.java95 return mGroup.setButtonVisibility(getId(), true /* visible */) == View.VISIBLE; in show()
107 return mGroup.setButtonVisibility(getId(), false /* visible */) != View.VISIBLE; in hide()
DContextualButtonGroup.java74 public int setButtonVisibility(@IdRes int buttonResId, boolean visible) { in setButtonVisibility() method in ContextualButtonGroup
DNavigationBarView.java609 mContextualButtonGroup.setButtonVisibility(R.id.ime_switcher, in updateNavButtonIcons()
799 mContextualButtonGroup.setButtonVisibility(R.id.accessibility_button, visible); in setAccessibilityButtonState()