Home
last modified time | relevance | path

Searched refs:VibrationPreferenceConfig (Results 1 – 14 of 14) sorted by relevance

/packages/apps/Settings/src/com/android/settings/accessibility/
DVibrationIntensityPreferenceController.java39 protected final VibrationPreferenceConfig mPreferenceConfig;
40 private final VibrationPreferenceConfig.SettingObserver mSettingsContentObserver;
44 VibrationPreferenceConfig preferenceConfig) { in VibrationIntensityPreferenceController()
51 VibrationPreferenceConfig preferenceConfig, int supportedIntensityLevels) { in VibrationIntensityPreferenceController()
54 mSettingsContentObserver = new VibrationPreferenceConfig.SettingObserver( in VibrationIntensityPreferenceController()
DVibrationTogglePreferenceController.java35 protected final VibrationPreferenceConfig mPreferenceConfig;
36 private final VibrationPreferenceConfig.SettingObserver mSettingsContentObserver;
39 VibrationPreferenceConfig preferenceConfig) { in VibrationTogglePreferenceController()
42 mSettingsContentObserver = new VibrationPreferenceConfig.SettingObserver( in VibrationTogglePreferenceController()
DVibrationMainSwitchPreferenceController.java68 Settings.System.getUriFor(VibrationPreferenceConfig.MAIN_SWITCH_SETTING_KEY), in onStart()
80 return VibrationPreferenceConfig.isMainVibrationSwitchEnabled( in isChecked()
90 VibrationPreferenceConfig.MAIN_SWITCH_SETTING_KEY, in setChecked()
95 VibrationPreferenceConfig.playVibrationPreview( in setChecked()
DKeyboardVibrationTogglePreferenceController.java59 Settings.System.getUriFor(VibrationPreferenceConfig.MAIN_SWITCH_SETTING_KEY);
136 VibrationPreferenceConfig.createPreviewVibrationAttributes( in setChecked()
142 VibrationPreferenceConfig.playVibrationPreview(mVibrator, keyboardAttrs); in setChecked()
153 return VibrationPreferenceConfig.isMainVibrationSwitchEnabled( in isPreferenceEnabled()
DVibrationRampingRingerTogglePreferenceController.java60 private final VibrationPreferenceConfig mRingVibrationPreferenceConfig;
61 private final VibrationPreferenceConfig.SettingObserver mRingSettingObserver;
75 mRingSettingObserver = new VibrationPreferenceConfig.SettingObserver( in VibrationRampingRingerTogglePreferenceController()
DVibrationPreferenceConfig.java45 public abstract class VibrationPreferenceConfig { class
86 public VibrationPreferenceConfig(Context context, String settingKey, in VibrationPreferenceConfig() method in VibrationPreferenceConfig
178 public SettingObserver(VibrationPreferenceConfig preferenceConfig) { in SettingObserver()
DAlarmVibrationIntensityPreferenceController.java28 public static final class AlarmVibrationPreferenceConfig extends VibrationPreferenceConfig {
DNotificationVibrationIntensityPreferenceController.java29 extends VibrationPreferenceConfig {
DMediaVibrationIntensityPreferenceController.java30 public static final class MediaVibrationPreferenceConfig extends VibrationPreferenceConfig {
DRingVibrationPreferenceConfig.java29 public class RingVibrationPreferenceConfig extends VibrationPreferenceConfig {
DHapticFeedbackIntensityPreferenceController.java33 extends VibrationPreferenceConfig {
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/
DVibrationTogglePreferenceControllerTest.java55 new VibrationPreferenceConfig(context, SETTING_KEY, VIBRATION_USAGE) {}); in TestPreferenceController()
97 updateSetting(VibrationPreferenceConfig.MAIN_SWITCH_SETTING_KEY, ON); in updateState_mainSwitchUpdates_shouldPreserveSettingBetweenUpdates()
102 updateSetting(VibrationPreferenceConfig.MAIN_SWITCH_SETTING_KEY, OFF); in updateState_mainSwitchUpdates_shouldPreserveSettingBetweenUpdates()
107 updateSetting(VibrationPreferenceConfig.MAIN_SWITCH_SETTING_KEY, ON); in updateState_mainSwitchUpdates_shouldPreserveSettingBetweenUpdates()
142 updateSetting(VibrationPreferenceConfig.MAIN_SWITCH_SETTING_KEY, OFF); in setProgress_mainSwitchDisabled_ignoresUpdates()
DKeyboardVibrationTogglePreferenceControllerTest.java117 updateSystemSetting(VibrationPreferenceConfig.MAIN_SWITCH_SETTING_KEY, OFF); in updateState_mainVibrateDisabled_shouldReturnFalseForCheckedAndEnabled()
127 updateSystemSetting(VibrationPreferenceConfig.MAIN_SWITCH_SETTING_KEY, ON); in updateState_mainVibrateEnabled_shouldReturnTrueForEnabled()
136 updateSystemSetting(VibrationPreferenceConfig.MAIN_SWITCH_SETTING_KEY, ON); in isChecked_keyboardVibrateEnabled_shouldReturnTrue()
146 updateSystemSetting(VibrationPreferenceConfig.MAIN_SWITCH_SETTING_KEY, ON); in isChecked_keyboardVibrateDisabled_shouldReturnFalse()
DVibrationIntensityPreferenceControllerTest.java58 new VibrationPreferenceConfig(context, SETTING_KEY, VIBRATION_USAGE) {}, in TestPreferenceController()
97 updateSetting(VibrationPreferenceConfig.MAIN_SWITCH_SETTING_KEY, ON); in updateState_mainSwitchUpdates_shouldPreserveSettingBetweenUpdates()
102 updateSetting(VibrationPreferenceConfig.MAIN_SWITCH_SETTING_KEY, OFF); in updateState_mainSwitchUpdates_shouldPreserveSettingBetweenUpdates()
107 updateSetting(VibrationPreferenceConfig.MAIN_SWITCH_SETTING_KEY, ON); in updateState_mainSwitchUpdates_shouldPreserveSettingBetweenUpdates()
183 updateSetting(VibrationPreferenceConfig.MAIN_SWITCH_SETTING_KEY, OFF); in setProgress_mainSwitchDisabled_ignoresUpdates()