Home
last modified time | relevance | path

Searched refs:deltaProgressForDragThreshold (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/haptics/slider/
DSliderHapticFeedbackConfig.kt37 @FloatRange(from = 0.0, to = 1.0) val deltaProgressForDragThreshold: Float = 0.015f, constant in com.android.systemui.haptics.slider.SliderHapticFeedbackConfig
DSliderHapticFeedbackProvider.kt110 if (deltaProgress < config.deltaProgressForDragThreshold) return in vibrateDragTexture()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/haptics/slider/
DSliderHapticFeedbackProviderTest.kt177 firstProgress + max(0f, config.deltaProgressForDragThreshold - 0.01f) in playHapticAtProgress_beforeNextDragThreshold_playsLowTicksOnce()
201 val secondProgress = firstProgress + config.deltaProgressForDragThreshold + 0.01f in playHapticAtProgress_afterNextDragThreshold_playsLowTicksTwice()