Searched refs:DreamSettings (Results 1 – 8 of 8) sorted by relevance
59 DreamSettings.WHILE_CHARGING_ONLY,60 DreamSettings.WHILE_DOCKED_ONLY,61 DreamSettings.EITHER_CHARGING_OR_DOCKED,62 DreamSettings.NEVER_DREAM103 assertThat(DreamSettings.getSettingFromPrefKey(KEYS.get(i))).isEqualTo(SETTINGS[i]); in getSettingFromPrefKey()106 assertThat(DreamSettings.getSettingFromPrefKey("garbage value")) in getSettingFromPrefKey()113 assertThat(DreamSettings.getKeyFromSetting(SETTINGS[i])).isEqualTo(KEYS.get(i)); in getKeyFromSetting()116 assertThat(DreamSettings.getKeyFromSetting(-1)) in getKeyFromSetting()117 .isEqualTo(DreamSettings.NEVER_DREAM); in getKeyFromSetting()123 assertThat(DreamSettings.getDreamSettingDescriptionResId( in getDreamSettingDescriptionResId()[all …]
77 .isEqualTo(DreamSettings.getKeyFromSetting(DreamBackend.WHILE_CHARGING)); in getDefaultKeyReturnsCurrentWhenToDreamSetting()81 .isEqualTo(DreamSettings.getKeyFromSetting(DreamBackend.WHILE_DOCKED)); in getDefaultKeyReturnsCurrentWhenToDreamSetting()85 .isEqualTo(DreamSettings.getKeyFromSetting(DreamBackend.EITHER)); in getDefaultKeyReturnsCurrentWhenToDreamSetting()89 .isEqualTo(DreamSettings.getKeyFromSetting(DreamBackend.NEVER)); in getDefaultKeyReturnsCurrentWhenToDreamSetting()94 final String key = DreamSettings.getKeyFromSetting(DreamBackend.WHILE_CHARGING); in setDreamWhileCharging()101 final String key = DreamSettings.getKeyFromSetting(DreamBackend.WHILE_DOCKED); in setDreamWhileDocked()108 final String key = DreamSettings.getKeyFromSetting(DreamBackend.EITHER); in setDreamWhileChargingOrDocked()115 final String key = DreamSettings.getKeyFromSetting(DreamBackend.NEVER); in setDreamNever()
91 final int expectedResId = DreamSettings.getDreamSettingDescriptionResId(testSetting, true); in testUpdateSummary()
22 import com.android.settings.dream.DreamSettings;47 return DreamSettings.getSummaryTextWithDreamName(mContext); in getSummary()
90 return DreamSettings.getKeyFromSetting(mBackend.getWhenToDreamSetting()); in getDefaultKey()95 mBackend.setWhenToDream(DreamSettings.getSettingFromPrefKey(key)); in setDefaultKey()
64 final int resId = DreamSettings.getDreamSettingDescriptionResId( in updateState()
54 public class DreamSettings extends DashboardFragment implements OnCheckedChangeListener { class
114 import com.android.settings.dream.DreamSettings;291 DreamSettings.class.getName(),