Home
last modified time | relevance | path

Searched refs:performHapticFeedback (Results 1 – 25 of 76) sorted by relevance

1234

/frameworks/base/packages/CredentialManager/horologist/src/com/google/android/horologist/compose/rotaryinput/
DHaptics.kt159 public fun performHapticFeedback(type: RotaryHapticsType) in performHapticFeedback() method
245 rotaryHaptics.performHapticFeedback(hapticType) in rememberRotaryHapticHandler()
282 override fun performHapticFeedback( in performHapticFeedback() method in com.google.android.horologist.compose.rotaryinput.DefaultRotaryHapticFeedback
287 view.performHapticFeedback(HapticFeedbackConstants.LONG_PRESS) in performHapticFeedback()
291 view.performHapticFeedback(HapticFeedbackConstants.KEYBOARD_TAP) in performHapticFeedback()
295 view.performHapticFeedback(HapticFeedbackConstants.LONG_PRESS) in performHapticFeedback()
308 override fun performHapticFeedback( in performHapticFeedback() method in com.google.android.horologist.compose.rotaryinput.PixelWatchRotaryHapticFeedback
313 view.performHapticFeedback( in performHapticFeedback()
323 view.performHapticFeedback( in performHapticFeedback()
329 view.performHapticFeedback( in performHapticFeedback()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DVibratorHelper.java177 public void performHapticFeedback(@NonNull View view, int feedbackConstant, int flags) { in performHapticFeedback() method in VibratorHelper
178 view.performHapticFeedback(feedbackConstant, flags); in performHapticFeedback()
185 public void performHapticFeedback(@NonNull View view, int feedbackConstant) { in performHapticFeedback() method in VibratorHelper
186 view.performHapticFeedback(feedbackConstant); in performHapticFeedback()
/frameworks/base/core/java/android/view/
DHapticScrollFeedbackProvider.java104 mView.performHapticFeedback(HapticFeedbackConstants.SCROLL_TICK); in onScrollProgress()
120 mView.performHapticFeedback(HapticFeedbackConstants.SCROLL_LIMIT); in onScrollLimit()
132 mView.performHapticFeedback(HapticFeedbackConstants.SCROLL_ITEM_FOCUS); in onSnapToItem()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/bubbles/animation/
DExpandedViewAnimationControllerTest.java104 verify(mMockExpandedView, times(0)).performHapticFeedback(anyInt()); in testUpdateDrag_hapticFeedbackOnlyOnce()
107 verify(mMockExpandedView, times(1)).performHapticFeedback(anyInt()); in testUpdateDrag_hapticFeedbackOnlyOnce()
110 verify(mMockExpandedView, times(1)).performHapticFeedback(anyInt()); in testUpdateDrag_hapticFeedbackOnlyOnce()
114 verify(mMockExpandedView, times(1)).performHapticFeedback(anyInt()); in testUpdateDrag_hapticFeedbackOnlyOnce()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DVibratorHelperTest.kt92 vibratorHelper.performHapticFeedback(view, constant) in testPerformHapticFeedback()
93 verify(view).performHapticFeedback(eq(constant)) in testPerformHapticFeedback()
100 vibratorHelper.performHapticFeedback(view, constant, flag) in testPerformHapticFeedback_withFlags()
101 verify(view).performHapticFeedback(eq(constant), eq(flag)) in testPerformHapticFeedback_withFlags()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DNotificationMenuRowTest.java428 verify(mView, times(0)).performHapticFeedback(CLOCK_TICK); in testOnTouchMove()
434 verify(mView, times(1)).performHapticFeedback(CLOCK_TICK); in testOnTouchMove()
440 verify(mView, times(1)).performHapticFeedback(CLOCK_TICK); in testOnTouchMove()
446 verify(mView, times(2)).performHapticFeedback(CLOCK_TICK); in testOnTouchMove()
452 verify(mView, times(2)).performHapticFeedback(CLOCK_TICK); in testOnTouchMove()
458 verify(mView, times(3)).performHapticFeedback(CLOCK_TICK); in testOnTouchMove()
464 verify(mView, times(3)).performHapticFeedback(CLOCK_TICK); in testOnTouchMove()
470 verify(mView, times(4)).performHapticFeedback(CLOCK_TICK); in testOnTouchMove()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/
DControlActionCoordinatorImpl.kt94 cvh.layout.performHapticFeedback(HapticFeedbackConstants.CONTEXT_CLICK) in <lambda>()
110 cvh.layout.performHapticFeedback(HapticFeedbackConstants.CONTEXT_CLICK) in <lambda>()
129 vibrator.performHapticFeedback(cvh.layout, constant) in <lambda>()
153 cvh.layout.performHapticFeedback(HapticFeedbackConstants.LONG_PRESS) in <lambda>()
/frameworks/base/core/java/android/os/
DSystemVibratorManager.java150 public void performHapticFeedback(int constant, boolean always, String reason, in performHapticFeedback() method in SystemVibratorManager
157 mService.performHapticFeedback( in performHapticFeedback()
248 public void performHapticFeedback(int effectId, boolean always, String reason, in performHapticFeedback() method in SystemVibratorManager.SingleVibrator
250 SystemVibratorManager.this.performHapticFeedback(effectId, always, reason, fromIme); in performHapticFeedback()
DIVibratorManagerService.aidl43 oneway void performHapticFeedback(int uid, int deviceId, String opPkg, int constant, in performHapticFeedback() method
DVibratorManager.java152 public void performHapticFeedback(int constant, boolean always, String reason, in performHapticFeedback() method in VibratorManager
/frameworks/layoutlib/bridge/src/android/view/
DViewRootImpl_Delegate.java31 /*package*/ static boolean performHapticFeedback(ViewRootImpl thisViewRoot, int effectId, in performHapticFeedback() method in ViewRootImpl_Delegate
/frameworks/proto_logging/stats/express/catalog/
Dvibrator.cfg4 display_name: "Counter of performHapticFeedback(KEYBOARD_*) per uid"
6 "Counts calls to performHapticFeedback with one"
/frameworks/base/core/java/com/android/internal/policy/
DPhoneFallbackEventHandler.java121 mView.performHapticFeedback(HapticFeedbackConstants.LONG_PRESS); in onKeyDown()
147 mView.performHapticFeedback(HapticFeedbackConstants.LONG_PRESS); in onKeyDown()
177 mView.performHapticFeedback(HapticFeedbackConstants.LONG_PRESS); in onKeyDown()
/frameworks/base/core/java/android/inputmethodservice/navigationbar/
DKeyButtonView.java171 performHapticFeedback(HapticFeedbackConstants.VIRTUAL_KEY); in onTouchEvent()
201 performHapticFeedback(HapticFeedbackConstants.VIRTUAL_KEY); in onTouchEvent()
207 performHapticFeedback(HapticFeedbackConstants.VIRTUAL_KEY_RELEASE); in onTouchEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/
DShadeControllerSceneImpl.kt240 override fun performHapticFeedback(constant: Int) { in <lambda>() method
241 vibratorHelper.performHapticFeedback(notificationStackScrollLayout, constant) in <lambda>()
DShadeControllerEmptyImpl.kt66 override fun performHapticFeedback(constant: Int) {} in performHapticFeedback() method in com.android.systemui.shade.ShadeControllerEmptyImpl
DShadeController.java240 void performHapticFeedback(int constant); in performHapticFeedback() method
DShadeControllerImpl.java272 public void performHapticFeedback(int constant) { in performHapticFeedback() method in ShadeControllerImpl
273 getNpvc().performHapticFeedback(constant); in performHapticFeedback()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/binder/
DDeviceEntryIconViewBinder.kt78 vibratorHelper.performHapticFeedback( in <lambda>()
125 vibratorHelper.performHapticFeedback( in <lambda>()
/frameworks/base/core/java/android/os/vibrator/
Dflags.aconfig7 …description: "Enables performHapticFeedback to directly use the vibrator service instead of going …
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardAbsKeyInputView.java82 performHapticFeedback(HapticFeedbackConstants.VIRTUAL_KEY, in doHapticKeyClick()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/controller/
DControlActionCoordinatorImplTest.kt201 verify(vibratorHelper).performHapticFeedback( in drag_isEdge_performsSegmentTickHaptics()
211 verify(vibratorHelper).performHapticFeedback( in drag_isNotEdge_performsFrequentTickHaptics()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/navigationbar/gestural/
DBackPanelControllerTest.kt136 .performHapticFeedback(any(), eq(HapticFeedbackConstants.GESTURE_THRESHOLD_ACTIVATE)) in handlesBackCommitted()
181 .performHapticFeedback(any(), eq(HapticFeedbackConstants.GESTURE_THRESHOLD_DEACTIVATE)) in handlesBackCancelled()
/frameworks/base/apct-tests/perftests/core/src/android/view/
DViewPerfTest.java101 view.performHapticFeedback(HapticFeedbackConstants.KEYBOARD_PRESS, in testPerformHapticFeedback()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shade/
DNotificationPanelViewControllerWithCoroutinesTest.kt168 .performHapticFeedback(eq(mView), eq(HapticFeedbackConstants.REJECT)) in <lambda>()
194 .performHapticFeedback(eq(mView), eq(HapticFeedbackConstants.REJECT)) in <lambda>()

1234