Home
last modified time | relevance | path

Searched refs:setSliderPosition (Results 1 – 25 of 27) sorted by relevance

12

/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/
DVibrationIntensityPreferenceControllerTest.java188 assertThat(controller.setSliderPosition(Vibrator.VIBRATION_INTENSITY_HIGH)).isFalse(); in setProgress_mainSwitchDisabled_ignoresUpdates()
196 controller.setSliderPosition(Vibrator.VIBRATION_INTENSITY_OFF); in setProgress_allSupportedPositions_updatesIntensitySetting()
199 controller.setSliderPosition(Vibrator.VIBRATION_INTENSITY_LOW); in setProgress_allSupportedPositions_updatesIntensitySetting()
202 controller.setSliderPosition(Vibrator.VIBRATION_INTENSITY_MEDIUM); in setProgress_allSupportedPositions_updatesIntensitySetting()
205 controller.setSliderPosition(Vibrator.VIBRATION_INTENSITY_HIGH); in setProgress_allSupportedPositions_updatesIntensitySetting()
213 controller.setSliderPosition(Vibrator.VIBRATION_INTENSITY_OFF); in setProgress_twoSupportedPositions_updatesMediumPositionToHigh()
216 controller.setSliderPosition(Vibrator.VIBRATION_INTENSITY_LOW); in setProgress_twoSupportedPositions_updatesMediumPositionToHigh()
219 controller.setSliderPosition(Vibrator.VIBRATION_INTENSITY_MEDIUM); in setProgress_twoSupportedPositions_updatesMediumPositionToHigh()
222 controller.setSliderPosition(Vibrator.VIBRATION_INTENSITY_HIGH); in setProgress_twoSupportedPositions_updatesMediumPositionToHigh()
232 controller.setSliderPosition(Vibrator.VIBRATION_INTENSITY_OFF); in setProgress_oneSupportedPosition_updatesOnPositionsToDeviceDefault()
[all …]
DDaltonizerSaturationSeekbarPreferenceControllerTest.java145 var isSliderSet = mController.setSliderPosition(9); in setSliderPosition_inRange_secureSettingsUpdated()
156 var isSliderSet = mController.setSliderPosition(0); in setSliderPosition_min_secureSettingsUpdated()
167 var isSliderSet = mController.setSliderPosition(10); in setSliderPosition_max_secureSettingsUpdated()
178 var isSliderSet = mController.setSliderPosition(11); in setSliderPosition_tooLarge_secureSettingsNotUpdated()
189 var isSliderSet = mController.setSliderPosition(-1); in setSliderPosition_tooSmall_secureSettingsNotUpdated()
DHapticFeedbackIntensityPreferenceControllerTest.java162 mController.setSliderPosition(Vibrator.VIBRATION_INTENSITY_OFF); in setProgress_updatesIntensityAndDependentSettings()
167 mController.setSliderPosition(Vibrator.VIBRATION_INTENSITY_LOW); in setProgress_updatesIntensityAndDependentSettings()
172 mController.setSliderPosition(Vibrator.VIBRATION_INTENSITY_MEDIUM); in setProgress_updatesIntensityAndDependentSettings()
177 mController.setSliderPosition(Vibrator.VIBRATION_INTENSITY_HIGH); in setProgress_updatesIntensityAndDependentSettings()
182 mController.setSliderPosition(Vibrator.VIBRATION_INTENSITY_OFF); in setProgress_updatesIntensityAndDependentSettings()
DRingVibrationIntensityPreferenceControllerTest.java170 mController.setSliderPosition(Vibrator.VIBRATION_INTENSITY_OFF); in setProgress_updatesIntensityAndDependentSettings()
175 mController.setSliderPosition(Vibrator.VIBRATION_INTENSITY_LOW); in setProgress_updatesIntensityAndDependentSettings()
180 mController.setSliderPosition(Vibrator.VIBRATION_INTENSITY_MEDIUM); in setProgress_updatesIntensityAndDependentSettings()
185 mController.setSliderPosition(Vibrator.VIBRATION_INTENSITY_HIGH); in setProgress_updatesIntensityAndDependentSettings()
190 mController.setSliderPosition(Vibrator.VIBRATION_INTENSITY_OFF); in setProgress_updatesIntensityAndDependentSettings()
DNotificationVibrationIntensityPreferenceControllerTest.java150 mController.setSliderPosition(Vibrator.VIBRATION_INTENSITY_OFF); in setProgress_updatesIntensitySetting()
154 mController.setSliderPosition(Vibrator.VIBRATION_INTENSITY_LOW); in setProgress_updatesIntensitySetting()
158 mController.setSliderPosition(Vibrator.VIBRATION_INTENSITY_MEDIUM); in setProgress_updatesIntensitySetting()
162 mController.setSliderPosition(Vibrator.VIBRATION_INTENSITY_HIGH); in setProgress_updatesIntensitySetting()
DAlarmVibrationIntensityPreferenceControllerTest.java141 mController.setSliderPosition(Vibrator.VIBRATION_INTENSITY_OFF); in setProgress_updatesIntensitySetting()
145 mController.setSliderPosition(Vibrator.VIBRATION_INTENSITY_LOW); in setProgress_updatesIntensitySetting()
149 mController.setSliderPosition(Vibrator.VIBRATION_INTENSITY_MEDIUM); in setProgress_updatesIntensitySetting()
153 mController.setSliderPosition(Vibrator.VIBRATION_INTENSITY_HIGH); in setProgress_updatesIntensitySetting()
DMediaVibrationIntensityPreferenceControllerTest.java150 mController.setSliderPosition(Vibrator.VIBRATION_INTENSITY_OFF); in setProgress_updatesIntensitySetting()
154 mController.setSliderPosition(Vibrator.VIBRATION_INTENSITY_LOW); in setProgress_updatesIntensitySetting()
158 mController.setSliderPosition(Vibrator.VIBRATION_INTENSITY_MEDIUM); in setProgress_updatesIntensitySetting()
162 mController.setSliderPosition(Vibrator.VIBRATION_INTENSITY_HIGH); in setProgress_updatesIntensitySetting()
/packages/apps/Settings/tests/robotests/src/com/android/settings/inputmethod/
DTrackpadPointerSpeedPreferenceControllerTest.java101 boolean result = mController.setSliderPosition(inputSpeed); in setSliderPosition_speedValue1_shouldReturnTrue()
115 boolean result = mController.setSliderPosition(inputSpeed); in setSliderPosition_speedValueOverMaxValue_shouldReturnFalse()
125 boolean result = mController.setSliderPosition(inputSpeed); in setSliderPosition_speedValueOverMinValue_shouldReturnFalse()
/packages/apps/Settings/src/com/android/settings/core/
DSliderPreferenceController.java33 return setSliderPosition((int) newValue); in onPreferenceChange()
58 public abstract boolean setSliderPosition(int position); in setSliderPosition() method in SliderPreferenceController
/packages/apps/Settings/tests/robotests/src/com/android/settings/gestures/
DLongPressPowerSensitivityPreferenceControllerTest.java98 mController.setSliderPosition(4); in setSliderPosition_setsValue()
105 assertThat(mController.setSliderPosition(-1)).isFalse(); in setSliderPositionOutOfBounds_returnsFalse()
106 assertThat(mController.setSliderPosition(10)).isFalse(); in setSliderPositionOutOfBounds_returnsFalse()
/packages/apps/Settings/tests/robotests/src/com/android/settings/core/
DSliderPreferenceControllerTest.java58 mSliderController.setSliderPosition(newValue); in updateState_setsPreferenceToCurrentValue()
85 public boolean setSliderPosition(int position) { in setSliderPosition() method in SliderPreferenceControllerTest.FakeSlider
/packages/apps/Settings/src/com/android/settings/accessibility/
DDaltonizerSaturationSeekbarPreferenceController.java48 setSliderPosition(mSliderPosition); in DaltonizerSaturationSeekbarPreferenceController()
76 public boolean setSliderPosition(int position) { in setSliderPosition() method in DaltonizerSaturationSeekbarPreferenceController
DReduceBrightColorsIntensityPreferenceController.java74 public boolean setSliderPosition(int position) { in setSliderPosition() method in ReduceBrightColorsIntensityPreferenceController
DVibrationIntensityPreferenceController.java111 public boolean setSliderPosition(int position) { in setSliderPosition() method in VibrationIntensityPreferenceController
DFloatingMenuTransparencyPreferenceController.java111 public boolean setSliderPosition(int position) { in setSliderPosition() method in FloatingMenuTransparencyPreferenceController
/packages/apps/Settings/tests/unit/src/com/android/settings/core/
DSettingsSliderPreferenceControllerTest.java62 mSliderController.setSliderPosition(newValue); in updateState_setsPreferenceToCurrentValue()
89 public boolean setSliderPosition(int position) { in setSliderPosition() method in SettingsSliderPreferenceControllerTest.FakeSliderPreferenceController
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DVolumeSeekBarPreferenceControllerTest.java119 mController.setSliderPosition(9); in sliderMethods_handleNullPreference()
127 mController.setSliderPosition(2); in setSliderPosition_passesAlongValue()
DAdjustVolumeRestrictedPreferenceControllerTest.java119 public boolean setSliderPosition(int position) { in setSliderPosition() method in AdjustVolumeRestrictedPreferenceControllerTest.AdjustVolumeRestrictedPreferenceControllerTestable
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/
DFakeSliderController.java42 public boolean setSliderPosition(int position) { in setSliderPosition() method in FakeSliderController
/packages/apps/Settings/tests/unit/src/com/android/settings/testutils/
DFakeSliderController.java41 public boolean setSliderPosition(int position) { in setSliderPosition() method in FakeSliderController
/packages/apps/Settings/src/com/android/settings/inputmethod/
DTrackpadPointerSpeedPreferenceController.java56 public boolean setSliderPosition(int position) { in setSliderPosition() method in TrackpadPointerSpeedPreferenceController
/packages/apps/Settings/src/com/android/settings/display/
DNightDisplayIntensityPreferenceController.java86 public boolean setSliderPosition(int position) { in setSliderPosition() method in NightDisplayIntensityPreferenceController
/packages/apps/Settings/src/com/android/settings/notification/
DVolumeSeekBarPreferenceController.java99 public boolean setSliderPosition(int position) { in setSliderPosition() method in VolumeSeekBarPreferenceController
/packages/apps/Settings/tests/robotests/src/com/android/settings/slices/
DSliceBroadcastReceiverTest.java182 fakeSliderController.setSliderPosition(oldPosition); in onReceive_sliderChanged()
306 fakeSliderController.setSliderPosition(oldPosition); in sliderUpdate_unavailableUriNotified()
/packages/apps/Settings/src/com/android/settings/gestures/
DLongPressPowerSensitivityPreferenceController.java104 public boolean setSliderPosition(int position) { in setSliderPosition() method in LongPressPowerSensitivityPreferenceController

12