Searched refs:NEVER (Results 1 – 12 of 12) sorted by relevance
48 private static final long NEVER = -1; field in StorageManagerUpsellDialog53 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()
77 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()
51 DreamBackend.NEVER,68 .isEqualTo(DreamBackend.NEVER); in getSettingFromPrefKey()
82 when(mBackend.getWhenToDreamSetting()).thenReturn(DreamBackend.NEVER); in buttonIsDisabledWhenNeverDreaming()
20 import static com.android.settingslib.dream.DreamBackend.NEVER;62 return NEVER; in getSettingFromPrefKey()74 case NEVER: in getKeyFromSetting()88 case NEVER: in getDreamSettingDescriptionResId()
68 startButton.setEnabled(mBackend.getWhenToDreamSetting() != DreamBackend.NEVER); in updateState()
347 && (mDisplayBehavior == DisplayBehavior.NEVER in build()596 NEVER enumConstant
261 : MenuItem.DisplayBehavior.NEVER; in readMenuItem()
385 if (item.getDisplayBehavior() == MenuItem.DisplayBehavior.NEVER) { in setMenuItemsInternal()
126 .setDisplayBehavior(MenuItem.DisplayBehavior.NEVER) in onCreate()