Searched refs:NEVER (Results 1 – 9 of 9) 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()
2350 public static final int NEVER = 2; field in UIProvider.SnapHeaderValue