Home
last modified time | relevance | path

Searched refs:getSliderPosition (Results 1 – 22 of 22) sorted by relevance

/packages/apps/Settings/src/com/android/settings/core/
DSliderPreferenceController.java40 .setProgress(getSliderPosition()); in updateState()
43 .setValue(getSliderPosition()); in updateState()
50 public abstract int getSliderPosition(); in getSliderPosition() method in SliderPreferenceController
/packages/apps/Settings/tests/robotests/src/com/android/settings/inputmethod/
DTrackpadPointerSpeedPreferenceControllerTest.java92 int result = mController.getSliderPosition(); in getSliderPosition_defaultSpeed_return0()
104 assertThat(mController.getSliderPosition()).isEqualTo(inputSpeed); in setSliderPosition_speedValue1_shouldReturnTrue()
118 assertThat(mController.getSliderPosition()).isEqualTo(mDefaultSpeed); in setSliderPosition_speedValueOverMaxValue_shouldReturnFalse()
128 assertThat(mController.getSliderPosition()).isEqualTo(mDefaultSpeed); in setSliderPosition_speedValueOverMinValue_shouldReturnFalse()
/packages/apps/Settings/src/com/android/settings/inputmethod/
DTrackpadPointerSpeedPreferenceController.java46 mPreference.setProgress(getSliderPosition()); in displayPreference()
67 public int getSliderPosition() { in getSliderPosition() method in TrackpadPointerSpeedPreferenceController
/packages/apps/Settings/tests/robotests/src/com/android/settings/core/
DSliderPreferenceControllerTest.java52 assertThat(mSliderController.getSliderPosition()).isEqualTo(newValue); in onPreferenceChange_updatesPosition()
80 public int getSliderPosition() { in getSliderPosition() method in SliderPreferenceControllerTest.FakeSlider
/packages/apps/Settings/tests/unit/src/com/android/settings/core/
DSettingsSliderPreferenceControllerTest.java56 assertThat(mSliderController.getSliderPosition()).isEqualTo(newValue); in onPreferenceChange_updatesPosition()
84 public int getSliderPosition() { in getSliderPosition() method in SettingsSliderPreferenceControllerTest.FakeSliderPreferenceController
/packages/apps/LegacyCamera/src/com/android/camera/ui/
DZoomControlBar.java57 private int getSliderPosition(int x) { in getSliderPosition() method in ZoomControlBar
98 int pos = getSliderPosition((int) event.getX()); in dispatchTouchEvent()
/packages/apps/Settings/src/com/android/settings/gestures/
DLongPressPowerSensitivityPreferenceController.java84 pref.setProgress(getSliderPosition()); in updateState()
98 public int getSliderPosition() { in getSliderPosition() method in LongPressPowerSensitivityPreferenceController
/packages/apps/Settings/tests/robotests/src/com/android/settings/gestures/
DLongPressPowerSensitivityPreferenceControllerTest.java86 assertThat(mController.getSliderPosition()).isEqualTo(3); in getSliderPosition_returnsDefaultValue()
93 assertThat(mController.getSliderPosition()).isEqualTo(1); in getSliderPosition_returnsSetValue()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DVolumeSeekBarPreferenceControllerTest.java117 assertThat(mController.getSliderPosition()).isEqualTo(4); in sliderMethods_handleNullPreference()
152 assertThat(mController.getSliderPosition()).isEqualTo(7); in getSliderPosition_passesAlongValue()
DAdjustVolumeRestrictedPreferenceControllerTest.java114 public int getSliderPosition() { in getSliderPosition() method in AdjustVolumeRestrictedPreferenceControllerTest.AdjustVolumeRestrictedPreferenceControllerTestable
/packages/apps/Settings/tests/robotests/src/com/android/settings/slices/
DSliceBroadcastReceiverTest.java189 assertThat(fakeSliderController.getSliderPosition()).isEqualTo(oldPosition); in onReceive_sliderChanged()
194 assertThat(fakeSliderController.getSliderPosition()).isEqualTo(position); in onReceive_sliderChanged()
318 assertThat(fakeSliderController.getSliderPosition()).isEqualTo(oldPosition); in sliderUpdate_unavailableUriNotified()
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/
DFloatingMenuTransparencyPreferenceControllerTest.java169 assertThat(mController.getSliderPosition()).isEqualTo((int) (transparencyValue * 100)); in getSliderPosition_putNormalOpacityValue_expectedValue()
178 assertThat(mController.getSliderPosition()).isEqualTo(defaultValue); in getSliderPosition_putOutOfBoundOpacityValue_defaultValue()
DDaltonizerSaturationSeekbarPreferenceControllerTest.java112 assertThat(mController.getSliderPosition()).isEqualTo(7); in constructor_defaultValuesMatch()
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/
DFakeSliderController.java37 public int getSliderPosition() { in getSliderPosition() method in FakeSliderController
/packages/apps/Settings/tests/unit/src/com/android/settings/testutils/
DFakeSliderController.java36 public int getSliderPosition() { in getSliderPosition() method in FakeSliderController
/packages/apps/Settings/src/com/android/settings/accessibility/
DReduceBrightColorsIntensityPreferenceController.java69 public int getSliderPosition() { in getSliderPosition() method in ReduceBrightColorsIntensityPreferenceController
DDaltonizerSaturationSeekbarPreferenceController.java71 public int getSliderPosition() { in getSliderPosition() method in DaltonizerSaturationSeekbarPreferenceController
DVibrationIntensityPreferenceController.java102 public int getSliderPosition() { in getSliderPosition() method in VibrationIntensityPreferenceController
DFloatingMenuTransparencyPreferenceController.java106 public int getSliderPosition() { in getSliderPosition() method in FloatingMenuTransparencyPreferenceController
/packages/apps/Settings/src/com/android/settings/display/
DNightDisplayIntensityPreferenceController.java81 public int getSliderPosition() { in getSliderPosition() method in NightDisplayIntensityPreferenceController
/packages/apps/Settings/src/com/android/settings/notification/
DVolumeSeekBarPreferenceController.java91 public int getSliderPosition() { in getSliderPosition() method in VolumeSeekBarPreferenceController
/packages/apps/Settings/src/com/android/settings/slices/
DSliceBuilderUtils.java325 int cur = sliderController.getSliderPosition(); in buildSliderSlice()