Home
last modified time | relevance | path

Searched refs:NEVER (Results 1 – 12 of 12) sorted by relevance

/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/
DStorageManagerUpsellDialog.java48 private static final long NEVER = -1; field in StorageManagerUpsellDialog
53 private static final long NO_THANKS_LONG_DELAY = NEVER;
97 long nextShowTime = noThanksDelay == NEVER ? NEVER : getCurrentTime() + noThanksDelay; in onClick()
130 if (nextTimeToShow == NEVER) { in shouldShow()
/packages/apps/Settings/tests/robotests/src/com/android/settings/dream/
DWhenToDreamPickerTest.java77 when(mBackend.getWhenToDreamSetting()).thenReturn(DreamBackend.NEVER); in getDefaultKeyReturnsCurrentWhenToDreamSetting()
79 .isEqualTo(DreamSettings.getKeyFromSetting(DreamBackend.NEVER)); in getDefaultKeyReturnsCurrentWhenToDreamSetting()
105 final String key = DreamSettings.getKeyFromSetting(DreamBackend.NEVER); in setDreamNever()
107 verify(mBackend).setWhenToDream(DreamBackend.NEVER); in setDreamNever()
DDreamSettingsTest.java51 DreamBackend.NEVER,
68 .isEqualTo(DreamBackend.NEVER); in getSettingFromPrefKey()
DStartNowPreferenceControllerTest.java82 when(mBackend.getWhenToDreamSetting()).thenReturn(DreamBackend.NEVER); in buttonIsDisabledWhenNeverDreaming()
/packages/apps/Settings/src/com/android/settings/dream/
DDreamSettings.java20 import static com.android.settingslib.dream.DreamBackend.NEVER;
62 return NEVER; in getSettingFromPrefKey()
74 case NEVER: in getKeyFromSetting()
88 case NEVER: in getDreamSettingDescriptionResId()
DStartNowPreferenceController.java68 startButton.setEnabled(mBackend.getWhenToDreamSetting() != DreamBackend.NEVER); in updateState()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/dream/
DDreamSettings.java20 import static com.android.settingslib.dream.DreamBackend.NEVER;
62 return NEVER; in getSettingFromPrefKey()
74 case NEVER: in getKeyFromSetting()
88 case NEVER: in getDreamSettingDescriptionResId()
DStartNowPreferenceController.java68 startButton.setEnabled(mBackend.getWhenToDreamSetting() != DreamBackend.NEVER); in updateState()
/packages/apps/Car/libs/car-ui-lib/src/com/android/car/ui/toolbar/
DMenuItem.java347 && (mDisplayBehavior == DisplayBehavior.NEVER in build()
596 NEVER enumConstant
DMenuItemRenderer.java261 : MenuItem.DisplayBehavior.NEVER; in readMenuItem()
DToolbarControllerImpl.java385 if (item.getDisplayBehavior() == MenuItem.DisplayBehavior.NEVER) { in setMenuItemsInternal()
/packages/apps/Car/libs/car-ui-lib/tests/paintbooth/src/com/android/car/ui/paintbooth/toolbar/
DToolbarActivity.java126 .setDisplayBehavior(MenuItem.DisplayBehavior.NEVER) in onCreate()