Home
last modified time | relevance | path

Searched refs:shouldBeVisible (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Settings/tests/unit/src/com/android/settings/applications/
DAppStateAlarmsAndRemindersBridgeTest.java57 .shouldBeVisible()).isTrue(); in shouldBeVisible_permissionRequestedIsTrue_isTrue()
61 .shouldBeVisible()).isTrue(); in shouldBeVisible_permissionRequestedIsTrue_isTrue()
65 .shouldBeVisible()).isFalse(); in shouldBeVisible_permissionRequestedIsTrue_isTrue()
69 .shouldBeVisible()).isFalse(); in shouldBeVisible_permissionRequestedIsTrue_isTrue()
106 assertThat(state1.shouldBeVisible()).isTrue(); in createPermissionState()
111 assertThat(state2.shouldBeVisible()).isFalse(); in createPermissionState()
/packages/apps/Car/Settings/src/com/android/car/settings/common/
DActionButtonInfo.java183 return shouldBeVisible(); in isVisible()
198 if (shouldBeVisible()) { in setUpButton()
230 private boolean shouldBeVisible() { in shouldBeVisible() method in ActionButtonInfo
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appinfo/
DAlarmsAndRemindersDetailsTest.java98 when(mPermissionState.shouldBeVisible()).thenReturn(false); in refreshUi_switchPreferenceEnabled()
103 when(mPermissionState.shouldBeVisible()).thenReturn(true); in refreshUi_switchPreferenceEnabled()
/packages/apps/Settings/src/com/android/settings/applications/
DAppStateAlarmsAndRemindersBridge.java109 return state.shouldBeVisible();
129 public boolean shouldBeVisible() { in shouldBeVisible() method in AppStateAlarmsAndRemindersBridge.AlarmsAndRemindersState
/packages/apps/Settings/src/com/android/settings/applications/appinfo/
DAlarmsAndRemindersDetailPreferenceController.java69 return appState.shouldBeVisible(); in isCandidate()
DAlarmsAndRemindersDetails.java148 mSwitchPref.setEnabled(mPermissionState.shouldBeVisible()); in refreshUi()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/suggestions/
DSuggestionStripView.java192 public void updateVisibility(final boolean shouldBeVisible, final boolean isFullscreenMode) { in updateVisibility() argument
193 final int visibility = shouldBeVisible ? VISIBLE : (isFullscreenMode ? GONE : INVISIBLE); in updateVisibility()