Searched defs:vibration (Results 1 - 2 of 2) sorted by relevance

/frameworks/base/core/java/android/app/
H A DNotificationChannel.java70 private static final String ATT_VIBRATION = "vibration";
382 * Sets whether notification posted to this channel should vibrate. The vibration pattern can
388 public void enableVibration(boolean vibration) { argument
389 this.mVibrationEnabled = vibration;
393 * Sets the vibration pattern for notifications posted to this channel. If the provided
395 * vibration} as well. Otherwise, vibration will be disabled.
513 * Returns the vibration pattern for notifications posted to this channel. Will be ignored if
514 * vibration is not enabled ({@link #shouldVibrate()}.
/frameworks/base/services/core/java/com/android/server/notification/
H A DNotificationManagerService.java4044 long[] vibration = record.getVibration();
4045 // Demote sound to vibration if vibration missing & phone in vibration mode.
4046 if (vibration == null
4052 vibration = mFallbackVibrationPattern;
4054 hasValidVibrate = vibration != null;
4079 buzz = playVibration(record, vibration, hasValidSound);
4178 private boolean playVibration(final NotificationRecord record, long[] vibration, argument
4189 vibration, insisten
[all...]

Completed in 131 milliseconds