Home
last modified time | relevance | path

Searched refs:DreamSettings (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/dream/
DDreamSettingsTest.java59 DreamSettings.WHILE_CHARGING_ONLY,
60 DreamSettings.WHILE_DOCKED_ONLY,
61 DreamSettings.EITHER_CHARGING_OR_DOCKED,
62 DreamSettings.NEVER_DREAM
103 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 …]
DWhenToDreamPickerTest.java77 .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()
DWhenToDreamPreferenceControllerTest.java91 final int expectedResId = DreamSettings.getDreamSettingDescriptionResId(testSetting, true); in testUpdateSummary()
/packages/apps/Settings/src/com/android/settings/display/
DScreenSaverPreferenceController.java22 import com.android.settings.dream.DreamSettings;
47 return DreamSettings.getSummaryTextWithDreamName(mContext); in getSummary()
/packages/apps/Settings/src/com/android/settings/dream/
DWhenToDreamPicker.java90 return DreamSettings.getKeyFromSetting(mBackend.getWhenToDreamSetting()); in getDefaultKey()
95 mBackend.setWhenToDream(DreamSettings.getSettingFromPrefKey(key)); in setDefaultKey()
DWhenToDreamPreferenceController.java64 final int resId = DreamSettings.getDreamSettingDescriptionResId( in updateState()
DDreamSettings.java54 public class DreamSettings extends DashboardFragment implements OnCheckedChangeListener { class
/packages/apps/Settings/src/com/android/settings/core/gateway/
DSettingsGateway.java114 import com.android.settings.dream.DreamSettings;
291 DreamSettings.class.getName(),