Home
last modified time | relevance | path

Searched refs:vibrate (Results 1 – 25 of 42) sorted by relevance

12

/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DRingerTest.java179 .vibrate(any(VibrationEffect.class), any(AudioAttributes.class)); in testNoActionInTheaterMode()
197 .vibrate(any(VibrationEffect.class), any(AudioAttributes.class)); in testNoActionWithExternalRinger()
213 .vibrate(any(VibrationEffect.class), any(AudioAttributes.class)); in testNoActionWhenDialerRings()
230 .vibrate(any(VibrationEffect.class), any(AudioAttributes.class)); in testAudioFocusStillAcquiredWhenDialerRings()
246 .vibrate(any(VibrationEffect.class), any(AudioAttributes.class)); in testNoActionWhenCallIsSelfManaged()
265 .vibrate(any(VibrationEffect.class), any(AudioAttributes.class)); in testCallWaitingButNoRingForSpecificContacts()
281 verify(mockVibrator, never()).vibrate(any(VibrationEffect.class), in testNoVibrateDueToAudioCoupledHaptics()
298 verify(mockVibrator).vibrate(eq(mRingerUnderTest.mDefaultVibrationEffect), in testVibrateButNoRingForNullRingtone()
317 verify(mockVibrator).vibrate(eq(mRingerUnderTest.mDefaultVibrationEffect), in testVibrateButNoRingForSilentRingtone()
333 verify(mockVibrator, never()).vibrate(nullable(VibrationEffect.class), in testStopRingingBeforeHapticsLookupComplete()
[all …]
/packages/apps/Nfc/src/com/android/nfc/
DP2pEventManager.java87 mVibrator.vibrate(VIBRATION_PATTERN, -1); in onP2pNfcTapRequested()
104 mVibrator.vibrate(VIBRATION_PATTERN, -1); in onP2pSendConfirmationRequested()
115 mVibrator.vibrate(VIBRATION_PATTERN, -1); in onP2pSendComplete()
126 mVibrator.vibrate(VIBRATION_PATTERN, -1); in onP2pHandoverNotSupported()
136 mVibrator.vibrate(VIBRATION_PATTERN, -1); in onP2pHandoverBusy()
144 mVibrator.vibrate(VIBRATION_PATTERN, -1); in onP2pReceiveComplete()
200 mVibrator.vibrate(VIBRATION_PATTERN, -1); in onP2pResumeSend()
/packages/apps/DeskClock/src/com/android/deskclock/alarms/dataadapter/
DExpandedAlarmViewHolder.kt62 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/apps/DeskClock/src/com/android/deskclock/provider/
DAlarm.kt61 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()
DClockDatabaseHelper.kt102 alarm.vibrate = cursor.getInt(5) == 1 in onUpgrade()
/packages/apps/Dialer/java/com/android/dialer/dialpadview/
DPseudoEmergencyAnimator.java79 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/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DAudioAndHapticFeedbackManager.java71 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/
DCellBroadcastAlertAudioTest.java135 verify(mMockedVibrator).vibrate(any(), any()); in testStartService()
166 verify(mMockedVibrator).vibrate(any(), any()); in testStartServiceNotInCallOverrideDnd()
218 verify(mMockedVibrator, times(0)).vibrate(any(), any()); in testStartServiceSilentRinger()
240 verify(mMockedVibrator).vibrate(any(), any()); in testStartServiceVibrateRinger()
DCellBroadcastAlertReminderTest.java121 verify(mMockedVibrator).vibrate(any()); in testStartServiceVibrate()
141 verify(mMockedVibrator, never()).vibrate(any()); in testStartServiceNotVibrate()
/packages/apps/DeskClock/src/com/android/deskclock/alarms/
DAlarmTimeClickHandler.kt82 if (newState != alarm.vibrate) { in setAlarmVibrationEnabled()
83 alarm.vibrate = newState in setAlarmVibrationEnabled()
92 v.vibrate(300) in setAlarmVibrationEnabled()
DAlarmKlaxon.kt68 vibrator.vibrate(VIBRATE_PATTERN, 0) in start()
77 vibrator.vibrate(VIBRATE_PATTERN, 0, AudioAttributes.Builder() in vibrateLOrLater()
DAlarmUpdateHandler.kt115 newInstance.mVibrate = alarm.vibrate in <lambda>()
/packages/apps/Settings/src/com/android/settings/notification/app/
DVibrationPreferenceController.java75 final boolean vibrate = (Boolean) newValue; in onPreferenceChange()
76 mChannel.enableVibration(vibrate); in onPreferenceChange()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DVibratorWrapper.java79 public void vibrate(VibrationEffect vibrationEffect) { in vibrate() method in VibratorWrapper
81 UI_HELPER_EXECUTOR.execute(() -> mVibrator.vibrate(vibrationEffect)); in vibrate()
/packages/apps/DeskClock/src/com/android/deskclock/timer/
DTimerKlaxon.kt71 vibrator.vibrate(VIBRATE_PATTERN, 0) in start()
79 vibrator.vibrate(VIBRATE_PATTERN, 0, AudioAttributes.Builder() in vibrateLOrLater()
/packages/apps/Calendar/src/com/android/calendar/
DUtils.java302 boolean vibrate; in getDefaultVibrate()
309 vibrate = vibrateWhen != null && vibrateWhen.equals(context in getDefaultVibrate()
313 + ") to KEY_ALERTS_VIBRATE = " + vibrate); in getDefaultVibrate()
315 vibrate = prefs.getBoolean(GeneralPreferences.KEY_ALERTS_VIBRATE, in getDefaultVibrate()
318 return vibrate; in getDefaultVibrate()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/interaction/
DNavBarGestureHandler.java266 VibratorWrapper.INSTANCE.get(mContext).vibrate(OVERVIEW_HAPTIC); in onMotionPauseDetected()
298 VibratorWrapper.INSTANCE.get(mContext).vibrate(VibratorWrapper.EFFECT_CLICK); in startAssistant()
DEdgeBackGesturePanel.java455 VibratorWrapper.INSTANCE.get(getContext()).vibrate(VibratorWrapper.EFFECT_CLICK); in triggerBack()
543 VibratorWrapper.INSTANCE.get(getContext()).vibrate(VibratorWrapper.EFFECT_CLICK); in handleMoveEvent()
/packages/services/Telephony/src/com/android/services/telephony/
DEmergencyTonePlayer.java92 mVibrator.vibrate(VIBRATE_PATTERN, 0, VIBRATION_ATTRIBUTES); in startVibrate()
/packages/services/Telecomm/src/com/android/server/telecom/
DRinger.java347 mVibrator.vibrate(effect, VIBRATION_ATTRIBUTES); in maybeStartVibration()
351 mVibrator.vibrate(effect, VIBRATION_ATTRIBUTES); in maybeStartVibration()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastAlertReminder.java119 vibrator.vibrate(VibrationEffect.createOneShot(500, VibrationEffect.DEFAULT_AMPLITUDE)); in playAlertReminderSound()
/packages/apps/EmergencyInfo/EmergencyGestureAction/src/com/android/emergency/action/service/
DEmergencyActionForegroundService.java102 mVibrator.vibrate(VIBRATION_EFFECT); in onStartCommand()
/packages/apps/DeskClock/src/com/android/deskclock/
DHandleApiCalls.kt560 alarm.vibrate = intent.getBooleanExtra(AlarmClock.EXTRA_VIBRATE, alarm.vibrate) in updateAlarmFromIntent()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/touchcontrollers/
DNoButtonNavbarToOverviewTouchController.java187 VibratorWrapper.INSTANCE.get(mLauncher).vibrate(OVERVIEW_HAPTIC); in onMotionPauseDetected()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/
DAdvancedSettingsFragment.java157 AudioAndHapticFeedbackManager.getInstance().vibrate(value); in setupKeypressVibrationDurationSettings()

12