/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | RingerTest.java | 162 .vibrate(any(VibrationEffect.class), any(AudioAttributes.class)); in testNoActionInTheaterMode() 180 .vibrate(any(VibrationEffect.class), any(AudioAttributes.class)); in testNoActionWithExternalRinger() 196 .vibrate(any(VibrationEffect.class), any(AudioAttributes.class)); in testNoActionWhenDialerRings() 213 .vibrate(any(VibrationEffect.class), any(AudioAttributes.class)); in testAudioFocusStillAcquiredWhenDialerRings() 229 .vibrate(any(VibrationEffect.class), any(AudioAttributes.class)); in testNoActionWhenCallIsSelfManaged() 248 .vibrate(any(VibrationEffect.class), any(AudioAttributes.class)); in testCallWaitingButNoRingForSpecificContacts() 264 verify(mockVibrator, never()).vibrate(any(VibrationEffect.class), in testNoVibrateDueToAudioCoupledHaptics() 281 verify(mockVibrator).vibrate(eq(mRingerUnderTest.mDefaultVibrationEffect), in testVibrateButNoRingForNullRingtone() 300 verify(mockVibrator).vibrate(eq(mRingerUnderTest.mDefaultVibrationEffect), in testVibrateButNoRingForSilentRingtone() 316 verify(mockVibrator, never()).vibrate(nullable(VibrationEffect.class), in testStopRingingBeforeHapticsLookupComplete() [all …]
|
/packages/apps/Nfc/src/com/android/nfc/ |
D | P2pEventManager.java | 87 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/ |
D | ExpandedAlarmViewHolder.java | 67 public final CheckBox vibrate; field in ExpandedAlarmViewHolder 81 vibrate = (CheckBox) itemView.findViewById(R.id.vibrate_onoff); in ExpandedAlarmViewHolder() 144 vibrate.setOnClickListener(new View.OnClickListener() { in ExpandedAlarmViewHolder() 249 vibrate.setVisibility(View.INVISIBLE); in bindVibrator() 251 vibrate.setVisibility(View.VISIBLE); in bindVibrator() 252 vibrate.setChecked(alarm.vibrate); in bindVibrator() 280 ObjectAnimator.ofFloat(vibrate, TRANSLATION_Y, 0f), in onAnimateChange() 304 vibrate.setTranslationY(translationY); in setTranslationY() 368 final Animator vibrateAnimation = ObjectAnimator.ofFloat(vibrate, View.ALPHA, 0f) in createCollapsingAnimator() 442 final Animator vibrateAnimation = ObjectAnimator.ofFloat(vibrate, View.ALPHA, 1f) in createExpandingAnimator() [all …]
|
/packages/apps/DeskClock/src/com/android/deskclock/provider/ |
D | Alarm.java | 123 values.put(VIBRATE, alarm.vibrate ? 1 : 0); in createContentValues() 283 public boolean vibrate; 299 this.vibrate = true; 312 vibrate = c.getInt(VIBRATE_INDEX) == 1; 336 vibrate = p.readInt() == 1; 370 p.writeInt(vibrate ? 1 : 0); 383 result.mVibrate = vibrate; 463 ", vibrate=" + vibrate +
|
D | ClockDatabaseHelper.java | 169 alarm.vibrate = cursor.getInt(5) == 1; in onUpgrade()
|
/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/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/DeskClock/src/com/android/deskclock/alarms/ |
D | AlarmTimeClickHandler.java | 89 if (newState != alarm.vibrate) { in setAlarmVibrationEnabled() 90 alarm.vibrate = newState; in setAlarmVibrationEnabled() 99 v.vibrate(300); in setAlarmVibrationEnabled()
|
D | AlarmKlaxon.java | 67 vibrator.vibrate(VIBRATE_PATTERN, 0); in start() 76 vibrator.vibrate(VIBRATE_PATTERN, 0, new AudioAttributes.Builder() in vibrateLOrLater()
|
D | AlarmUpdateHandler.java | 122 newInstance.mVibrate = alarm.vibrate; in asyncUpdateAlarm()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/ |
D | VibrationPreferenceController.java | 67 final boolean vibrate = (Boolean) newValue; in onPreferenceChange() 68 mChannel.enableVibration(vibrate); in onPreferenceChange()
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | VibrationPreferenceController.java | 67 final boolean vibrate = (Boolean) newValue; in onPreferenceChange() 68 mChannel.enableVibration(vibrate); in onPreferenceChange()
|
/packages/apps/DeskClock/src/com/android/deskclock/timer/ |
D | TimerKlaxon.java | 73 vibrator.vibrate(VIBRATE_PATTERN, 0); in start() 81 vibrator.vibrate(VIBRATE_PATTERN, 0, new AudioAttributes.Builder() in vibrateLOrLater()
|
/packages/apps/Email/src/com/android/email/preferences/ |
D | EmailPreferenceMigrator.java | 160 final boolean vibrate = (ecAccount.getFlags() in migrate() 162 folderPreferences.setNotificationVibrateEnabled(vibrate); in migrate()
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | Utils.java | 302 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/Email/src/com/android/email/ |
D | EmailNotificationController.java | 324 boolean vibrate = false; in setupSoundAndVibration() 364 vibrate = folderPreferences.isNotificationVibrateEnabled(); in setupSoundAndVibration() 375 if (vibrate) { in setupSoundAndVibration()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | Ringer.java | 364 mVibrator.vibrate(effect, VIBRATION_ATTRIBUTES); in maybeStartVibration() 368 mVibrator.vibrate(effect, VIBRATION_ATTRIBUTES); in maybeStartVibration()
|
/packages/services/Telephony/src/com/android/services/telephony/ |
D | EmergencyTonePlayer.java | 94 mVibrator.vibrate(VIBRATE_PATTERN, 0, VIBRATION_ATTRIBUTES); in startVibrate()
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
D | CellBroadcastAlertReminder.java | 114 vibrator.vibrate(VibrationEffect.createOneShot(500, VibrationEffect.DEFAULT_AMPLITUDE)); in playAlertReminderSound()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/accessibility/ |
D | VibrationPreferenceFragment.java | 168 vibrator.vibrate(effect, builder.build()); in playVibrationPreview()
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
D | HandleApiCalls.java | 536 alarm.vibrate = intent.getBooleanExtra(AlarmClock.EXTRA_VIBRATE, alarm.vibrate); in updateAlarmFromIntent()
|
/packages/apps/Settings/src/com/android/settings/accessibility/ |
D | VibrationPreferenceFragment.java | 191 vibrator.vibrate(effect, builder.build()); in playVibrationPreview()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/ |
D | AdvancedSettingsFragment.java | 157 AudioAndHapticFeedbackManager.getInstance().vibrate(value); in setupKeypressVibrationDurationSettings()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/dpp/ |
D | WifiDppUtils.java | 425 vibrator.vibrate(VibrationEffect.createOneShot( in triggerVibrationForQrCodeRecognition()
|
/packages/apps/Settings/src/com/android/settings/wifi/dpp/ |
D | WifiDppUtils.java | 444 vibrator.vibrate(VibrationEffect.createOneShot( in triggerVibrationForQrCodeRecognition()
|