/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | VibratorWrapper.java | 144 vibrate(mDragEffect); in vibrateForDragTexture() 154 vibrate(mCommitEffect); in vibrateForDragCommit() 167 vibrate(mBumpEffect); in vibrateForDragBump() 182 public void vibrate(VibrationEffect vibrationEffect) { in vibrate() method in VibratorWrapper 184 UI_HELPER_EXECUTOR.execute(() -> mVibrator.vibrate(vibrationEffect, VIBRATION_ATTRS)); in vibrate() 193 public void vibrate(int primitiveId, float primitiveScale, VibrationEffect fallbackEffect) { in vibrate() method in VibratorWrapper 197 mVibrator.vibrate(VibrationEffect.startComposition() in vibrate() 201 mVibrator.vibrate(fallbackEffect, VIBRATION_ATTRS); in vibrate() 215 vibrate(primitiveLowTickEffect); in vibrateForTaskbarUnstash()
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | RingerTest.java | 336 .vibrate(any(VibrationEffect.class), any(VibrationAttributes.class)); in testNoActionInTheaterMode() 353 .vibrate(any(VibrationEffect.class), any(VibrationAttributes.class)); in testNoActionWithExternalRinger() 369 .vibrate(any(VibrationEffect.class), any(AudioAttributes.class)); in testNoActionWhenDialerRings() 385 .vibrate(any(VibrationEffect.class), any(VibrationAttributes.class)); in testAudioFocusStillAcquiredWhenDialerRings() 400 .vibrate(any(VibrationEffect.class), any(VibrationAttributes.class)); in testNoActionWhenCallIsSelfManaged() 416 .vibrate(any(VibrationEffect.class), any(VibrationAttributes.class)); in testCallWaitingButNoRingForSpecificContacts() 435 verify(mockVibrator, never()).vibrate(any(VibrationEffect.class), in testNoVibrateDueToAudioCoupledHaptics() 461 verify(mockVibrator).vibrate(eq(mRingerUnderTest.mDefaultVibrationEffect), in testVibrateButNoRingForNullRingtone() 484 verify(mockVibrator).vibrate(eq(mRingerUnderTest.mDefaultVibrationEffect), in testVibrateButNoRingForSilentRingtone() 502 verify(mockVibrator).vibrate(eq(mRingerUnderTest.mDefaultVibrationEffect), in testVibrateButNoRingForSilentRingtoneWithoutAudioHapticSupport() [all …]
|
/packages/apps/Dialer/java/com/android/dialer/dialpadview/ |
D | PseudoEmergencyAnimator.java | 79 vibrate(VIBRATE_LENGTH_MILLIS); in start() 99 vibrate(VIBRATE_LENGTH_MILLIS); in start() 126 private void vibrate(long milliseconds) { in vibrate() method in PseudoEmergencyAnimator 131 vibrator.vibrate(milliseconds); in vibrate()
|
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint2/domain/interactor/ |
D | VibrationInteractor.kt | 43 fun vibrate(effect: FingerprintVibrationEffects, caller: String) in vibrate() method 50 override fun vibrate(effect: FingerprintVibrationEffects, caller: String) { in vibrate() method in com.android.settings.biometrics.fingerprint2.domain.interactor.VibrationInteractorImpl 60 vibrator.vibrate( in vibrate()
|
/packages/apps/DeskClock/src/com/android/deskclock/provider/ |
D | Alarm.kt | 61 var vibrate: Boolean variable in com.android.deskclock.provider.Alarm 83 vibrate = true 96 vibrate = c.getInt(VIBRATE_INDEX) == 1 120 vibrate = p.readInt() == 1 153 p.writeInt(if (vibrate) 1 else 0) in writeToParcel() 164 result.mVibrate = vibrate in describeContents() 240 ", vibrate=" + vibrate + in toString() 330 values.put(AlarmSettingColumns.VIBRATE, if (alarm.vibrate) 1 else 0) in createContentValues()
|
/packages/apps/DeskClock/src/com/android/deskclock/alarms/dataadapter/ |
D | ExpandedAlarmViewHolder.kt | 62 val vibrate: CheckBox = itemView.findViewById(R.id.vibrate_onoff) as CheckBox in <lambda>() constant 113 vibrate.setOnClickListener { view -> in <lambda>() 203 vibrate.visibility = View.INVISIBLE in <lambda>() 205 vibrate.visibility = View.VISIBLE in <lambda>() 206 vibrate.isChecked = alarm.vibrate in <lambda>() 250 ObjectAnimator.ofFloat(vibrate, TRANSLATION_Y, 0f), in <lambda>() 273 vibrate.setTranslationY(translationY) in <lambda>() 340 val vibrateAnimation: Animator = ObjectAnimator.ofFloat(vibrate, View.ALPHA, 0f) in <lambda>() 414 val vibrateAnimation: Animator = ObjectAnimator.ofFloat(vibrate, View.ALPHA, 1f) in <lambda>() 479 vibrate.alpha = alpha in <lambda>()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
D | AudioAndHapticFeedbackManager.java | 71 public void vibrate(final long milliseconds) { in vibrate() method in AudioAndHapticFeedbackManager 75 mVibrator.vibrate(milliseconds); in vibrate() 116 vibrate(mSettingsValues.mKeypressVibrationDuration); in performHapticFeedback()
|
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/ |
D | CellBroadcastAlertAudioTest.java | 183 verify(mMockedVibrator).vibrate(any(), any(AudioAttributes.class)); in testStartService() 202 verify(mMockedVibrator).vibrate(any(), any(AudioAttributes.class)); in testPlayAlertToneInfo() 222 verify(mMockedVibrator).vibrate(any(), any(AudioAttributes.class)); in testPlayAlertToneInfoForWatch() 253 verify(mMockedVibrator).vibrate(any(), any(AudioAttributes.class)); in testStartServiceNotInCallOverrideDnd() 305 verify(mMockedVibrator, times(0)).vibrate(any(), any(AudioAttributes.class)); in testStartServiceSilentRinger() 327 verify(mMockedVibrator).vibrate(any(), any(AudioAttributes.class)); in testStartServiceVibrateRinger() 485 verify(mMockedVibrator, never()).vibrate(any(), any(AudioAttributes.class)); in testStartServiceMuteWithOverrideDnd()
|
D | CellBroadcastAlertReminderTest.java | 124 verify(mMockedVibrator).vibrate(any(), (AudioAttributes) any()); in testStartServiceVibrate() 144 verify(mMockedVibrator, never()).vibrate(any(), (AudioAttributes) any()); in testStartServiceNotVibrate()
|
/packages/apps/Settings/src/com/android/settings/notification/app/ |
D | VibrationPreferenceController.java | 74 final boolean vibrate = (Boolean) newValue; in onPreferenceChange() 75 mChannel.enableVibration(vibrate); in onPreferenceChange()
|
/packages/apps/DeskClock/src/com/android/deskclock/timer/ |
D | TimerKlaxon.kt | 71 vibrator.vibrate(VIBRATE_PATTERN, 0) in start() 79 vibrator.vibrate(VIBRATE_PATTERN, 0, AudioAttributes.Builder() in vibrateLOrLater()
|
/packages/apps/DeskClock/src/com/android/deskclock/alarms/ |
D | AlarmKlaxon.kt | 68 vibrator.vibrate(VIBRATE_PATTERN, 0) in start() 77 vibrator.vibrate(VIBRATE_PATTERN, 0, AudioAttributes.Builder() in vibrateLOrLater()
|
D | AlarmTimeClickHandler.kt | 82 if (newState != alarm.vibrate) { in setAlarmVibrationEnabled() 83 alarm.vibrate = newState in setAlarmVibrationEnabled() 92 v.vibrate(300) in setAlarmVibrationEnabled()
|
D | AlarmUpdateHandler.kt | 115 newInstance.mVibrate = alarm.vibrate in <lambda>()
|
/packages/modules/Permission/tests/cts/permission/src/android/permission/cts/ |
D | NoSystemFunctionPermissionTest.java | 146 vibrator.vibrate(1); in testVibrator() 155 vibrator.vibrate(testPattern, 1); in testVibrator()
|
/packages/apps/Settings/src/com/android/settings/accessibility/ |
D | VibrationPreferenceConfig.java | 83 vibrator.vibrate(PREVIEW_VIBRATION_EFFECT, vibrationAttributes); in playVibrationPreview() 140 mVibrator.vibrate(PREVIEW_VIBRATION_EFFECT, mPreviewVibrationAttributes); in playVibrationPreview()
|
/packages/apps/Settings/src/com/android/settings/biometrics2/ui/widget/ |
D | UdfpsEnrollProgressBarDrawable.java | 207 mVibrator.vibrate(Process.myUid(), mContext.getOpPackageName(), in updateProgress() 217 mVibrator.vibrate(Process.myUid(), mContext.getOpPackageName(), in updateProgress() 222 mVibrator.vibrate(Process.myUid(), in updateProgress()
|
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint/ |
D | UdfpsEnrollProgressBarDrawable.java | 208 mVibrator.vibrate(Process.myUid(), mContext.getOpPackageName(), in updateProgress() 218 mVibrator.vibrate(Process.myUid(), mContext.getOpPackageName(), in updateProgress() 223 mVibrator.vibrate(Process.myUid(), in updateProgress()
|
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint2/ui/enrollment/modules/enrolling/udfps/ui/viewmodel/ |
D | UdfpsViewModel.kt | 250 vibrate(it.first) in <lambda>() 382 private fun vibrate(event: FingerEnrollState) { in <lambda>() method 390 vibrationInteractor.vibrate(vibrationEvent, "UdfpsEnrollFragment") in <lambda>()
|
D | UdfpsLastStepViewModel.kt | 85 vibrationInteractor.vibrate( in <lambda>()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/biometrics/fingerprint/ |
D | FingerprintEnrollEnrollingTest.java | 129 verify(mVibrator, never()).vibrate(anyInt(), anyString(), any(), anyString(), any()); in fingerprintUdfpsEnrollSuccessProgress_shouldNotVibrate() 138 verify(mVibrator, never()).vibrate(anyInt(), anyString(), any(), anyString(), any()); in fingerprintRearEnrollSuccessProgress_shouldNotVibrate() 151 verify(mVibrator, never()).vibrate(anyInt(), anyString(), any(), anyString(), any()); in fingerprintUdfpsEnrollInitStage_afterOnEnrollmentHelp_shouldVibrate() 154 verify(mVibrator).vibrate(anyInt(), anyString(), any(), anyString(), any()); in fingerprintUdfpsEnrollInitStage_afterOnEnrollmentHelp_shouldVibrate()
|
/packages/services/Telephony/src/com/android/services/telephony/ |
D | EmergencyTonePlayer.java | 92 mVibrator.vibrate(VIBRATE_PATTERN, 0, VIBRATION_ATTRIBUTES); in startVibrate()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/interaction/ |
D | AllSetActivity.java | 228 runOnUiHelperThread(() -> mVibrator.vibrate(vibrationEffect)); in startBackgroundAnimation() 233 runOnUiHelperThread(() -> mVibrator.vibrate(vibrationEffect)); in startBackgroundAnimation()
|
/packages/apps/Settings/src/com/android/settings/biometrics2/ui/viewmodel/ |
D | FingerprintEnrollEnrollingViewModel.java | 237 mVibrator.vibrate(mUserId, getApplication().getOpPackageName(), in vibrateError()
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | Utils.kt | 272 val vibrate: Boolean in getDefaultVibrate() constant 279 vibrate = vibrateWhen != null && vibrateWhen.equals( in getDefaultVibrate() 286 vibrateWhen + ") to KEY_ALERTS_VIBRATE = " + vibrate in getDefaultVibrate() 289 vibrate = prefs?.getBoolean( in getDefaultVibrate() 294 return vibrate in getDefaultVibrate()
|