Home
last modified time | relevance | path

Searched refs:SCROLL_TICK (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/view/
DHapticScrollFeedbackProviderTest.java21 import static android.view.HapticFeedbackConstants.SCROLL_TICK;
104 assertFeedbackCount(mView, SCROLL_TICK, 1); in testRotaryEncoder_feedbackWhenDisregardingViewBasedScrollHaptics()
191 assertOnlyFeedback(mView, HapticFeedbackConstants.SCROLL_TICK, 1); in testScrollProgress_progressEqualsOrExceedsPositiveThreshold()
197 assertOnlyFeedback(mView, HapticFeedbackConstants.SCROLL_TICK, 2); in testScrollProgress_progressEqualsOrExceedsPositiveThreshold()
214 assertOnlyFeedback(mView, HapticFeedbackConstants.SCROLL_TICK, 1); in testScrollProgress_progressEqualsOrExceedsNegativeThreshold()
223 assertOnlyFeedback(mView, HapticFeedbackConstants.SCROLL_TICK, 2); in testScrollProgress_progressEqualsOrExceedsNegativeThreshold()
249 assertOnlyFeedback(mView, HapticFeedbackConstants.SCROLL_TICK, 1); in testScrollProgress_positiveAndNegativeProgresses()
261 assertOnlyFeedback(mView, HapticFeedbackConstants.SCROLL_TICK, 2); in testScrollProgress_positiveAndNegativeProgresses()
272 assertOnlyFeedback(mView, HapticFeedbackConstants.SCROLL_TICK, 1); in testScrollProgress_singleProgressExceedsThreshold()
433 for (int feedback : new int[] {SCROLL_ITEM_FOCUS, SCROLL_LIMIT, SCROLL_TICK}) { in assertNoFeedback()
[all …]
/frameworks/base/core/java/android/view/
DHapticFeedbackConstants.java132 public static final int SCROLL_TICK = 18; field in HapticFeedbackConstants
DHapticScrollFeedbackProvider.java104 mView.performHapticFeedback(HapticFeedbackConstants.SCROLL_TICK); in onScrollProgress()
/frameworks/base/services/core/java/com/android/server/vibrator/
DHapticFeedbackVibrationProvider.java107 case HapticFeedbackConstants.SCROLL_TICK: in getVibrationForHapticFeedback()
204 case HapticFeedbackConstants.SCROLL_TICK: in getVibrationAttributesForHapticFeedback()
400 case HapticFeedbackConstants.SCROLL_TICK: in shouldBypassInterruptionPolicy()
/frameworks/base/services/tests/vibrator/src/com/android/server/vibrator/
DHapticFeedbackVibrationProviderTest.java39 import static android.view.HapticFeedbackConstants.SCROLL_TICK;
82 new int[] {SCROLL_ITEM_FOCUS, SCROLL_LIMIT, SCROLL_TICK};
DVibratorManagerServiceTest.java1391 HapticFeedbackConstants.SCROLL_TICK, in performHapticFeedback_doesNotRequireVibrateOrBypassPermissions()
1400 service, HapticFeedbackConstants.SCROLL_TICK, /* always= */ true); in performHapticFeedback_doesNotRequireVibrateOrBypassPermissions()
1514 service, HapticFeedbackConstants.SCROLL_TICK, /* always= */ true); in performHapticFeedback_usesServiceAsToken()