Home
last modified time | relevance | path

Searched refs:NEVER (Results 1 – 15 of 15) 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/src/com/android/settings/dream/
DDreamSettings.java20 import static com.android.settingslib.dream.DreamBackend.NEVER;
60 return NEVER; in getSettingFromPrefKey()
72 case NEVER: in getKeyFromSetting()
86 case NEVER: in getDreamSettingDescriptionResId()
DStartNowPreferenceController.java51 mSwitchPreference.setEnabled(mBackend.getWhenToDreamSetting() != DreamBackend.NEVER); in updateState()
/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.java74 when(mBackend.getWhenToDreamSetting()).thenReturn(DreamBackend.NEVER); in updateState_neverDreaming_preferenceShouldDidabled()
/packages/apps/Settings/tests/robotests/src/com/android/settings/gestures/
DOneHandedSettingsUtilsTest.java92 OneHandedSettingsUtils.OneHandedTimeout.NEVER.getValue()); in setTimeout_setNever_shouldReturnNeverValue()
96 OneHandedSettingsUtils.OneHandedTimeout.NEVER.getValue(), mCurrentUserId)) in setTimeout_setNever_shouldReturnNeverValue()
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/toolbar/
DMenuItem.java366 if (mIsActivatable && mDisplayBehavior == DisplayBehavior.NEVER) { in build()
618 NEVER enumConstant
DMenuItemAdapterV1.java125 if (displayBehavior == MenuItem.DisplayBehavior.NEVER) { in getDisplayBehavior()
DMenuItemXmlParserUtil.java130 : MenuItem.DisplayBehavior.NEVER; in readMenuItem()
DToolbarControllerImpl.java590 if (item.getDisplayBehavior() == MenuItem.DisplayBehavior.NEVER) { in setMenuItemsInternal()
/packages/apps/Car/libs/car-ui-lib/paintbooth/src/main/java/com/android/car/ui/paintbooth/toolbar/
DToolbarActivity.java302 .setDisplayBehavior(MenuItem.DisplayBehavior.NEVER) in onCreate()
316 .setDisplayBehavior(MenuItem.DisplayBehavior.NEVER) in onCreate()
331 .setDisplayBehavior(MenuItem.DisplayBehavior.NEVER) in onCreate()
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/androidTest/java/com/android/car/ui/toolbar/
DToolbarMenuItemsTest.java230 .setDisplayBehavior(MenuItem.DisplayBehavior.NEVER) in menuItems_overflowText_shouldWork()
260 .setDisplayBehavior(MenuItem.DisplayBehavior.NEVER) in menuItems_overflowIconAndText_shouldWork()
/packages/apps/Settings/src/com/android/settings/gestures/
DOneHandedSettingsUtils.java52 NEVER(0), SHORT(4), MEDIUM(8), LONG(12); enumConstant
/packages/apps/Car/Launcher/src/com/android/car/carlauncher/
DAppGridActivity.java164 .setDisplayBehavior(MenuItem.DisplayBehavior.NEVER) in onCreate()