/packages/apps/Dialer/java/com/android/dialer/app/settings/ |
D | SoundSettingsFragment.java | 97 if (hasVibrator()) { in onCreate() 216 return hasVibrator() && (vibrateWhenRingingSetting == DO_VIBRATION_FOR_CALLS); in shouldVibrateWhenRinging() 230 private boolean hasVibrator() { in hasVibrator() method in SoundSettingsFragment 232 return vibrator != null && vibrator.hasVibrator(); in hasVibrator()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | Ringer.java | 259 mVibrator.hasVibrator(), mSystemSettingsUtil.canVibrateWhenRinging(context), in shouldVibrate() 264 mVibrator.hasVibrator(), mSystemSettingsUtil.canVibrateWhenRinging(context), in shouldVibrate() 272 if (!mVibrator.hasVibrator()) { in getVibrateWhenRinging()
|
/packages/apps/DeskClock/src/com/android/deskclock/settings/ |
D | SettingsActivity.java | 140 final boolean hasVibrator = ((Vibrator) timerVibrate.getContext() in onCreatePreferences() 141 .getSystemService(VIBRATOR_SERVICE)).hasVibrator(); in onCreatePreferences() 142 timerVibrate.setVisible(hasVibrator); in onCreatePreferences()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
D | AudioAndHapticFeedbackManager.java | 67 public boolean hasVibrator() { in hasVibrator() method in AudioAndHapticFeedbackManager 68 return mVibrator != null && mVibrator.hasVibrator(); in hasVibrator()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/ |
D | Settings.java | 212 final boolean hasVibrator = AudioAndHapticFeedbackManager.getInstance().hasVibrator(); in readVibrationEnabled() 213 return hasVibrator && prefs.getBoolean(PREF_VIBRATE_ON, in readVibrationEnabled()
|
D | PreferencesSettingsFragment.java | 64 if (!AudioAndHapticFeedbackManager.getInstance().hasVibrator()) { in onCreate()
|
D | AdvancedSettingsFragment.java | 63 if (!AudioAndHapticFeedbackManager.getInstance().hasVibrator()) { in onCreate()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/inputmethod/ |
D | GameControllerPreferenceControllerTest.java | 82 when(mInputDevice.getVibrator().hasVibrator()).thenReturn(true); in testIsAvailable_hasDeviceWithVibrator_shouldReturnTrue() 92 when(mInputDevice.getVibrator().hasVibrator()).thenReturn(false); in testIsAvailable_hasNoVibratingDevice_shouldReturnFalse()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/ |
D | VibrateOnTouchPreferenceControllerTest.java | 68 when(mVibrator.hasVibrator()).thenReturn(true); in setUp() 85 when(mVibrator.hasVibrator()).thenReturn(false); in isAvailable_noHaptic_shouldReturnFalse()
|
/packages/apps/DeskClock/src/com/android/deskclock/alarms/dataadapter/ |
D | ExpandedAlarmViewHolder.java | 74 private ExpandedAlarmViewHolder(View itemView, boolean hasVibrator) { in ExpandedAlarmViewHolder() argument 77 mHasVibrator = hasVibrator; in ExpandedAlarmViewHolder() 522 mHasVibrator = ((Vibrator) context.getSystemService(VIBRATOR_SERVICE)).hasVibrator(); in Factory()
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | RingerTest.java | 216 when(mockVibrator.hasVibrator()).thenReturn(true); in enableVibrationWhenRinging() 221 when(mockVibrator.hasVibrator()).thenReturn(true); in enableVibrationOnlyWhenNotRinging()
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | VibrateOnTouchPreferenceController.java | 46 return vibrator != null && vibrator.hasVibrator(); in hasHaptic()
|
D | RingVolumePreferenceController.java | 65 if (mVibrator != null && !mVibrator.hasVibrator()) { in RingVolumePreferenceController()
|
/packages/apps/Settings/src/com/android/settings/inputmethod/ |
D | GameControllerPreferenceController.java | 79 if (device != null && !device.isVirtual() && device.getVibrator().hasVibrator()) { in isAvailable()
|
/packages/apps/DeskClock/src/com/android/deskclock/alarms/ |
D | AlarmTimeClickHandler.java | 98 if (v.hasVibrator()) { in setAlarmVibrationEnabled()
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | GeneralPreferences.java | 162 if (vibrator == null || !vibrator.hasVibrator()) { in onCreate()
|
/packages/apps/Email/src/com/android/email/activity/setup/ |
D | AccountSettingsFragment.java | 820 if (vibrator.hasVibrator()) { in loadSettings()
|
/packages/services/Car/car-support-lib/ |
D | proguard-release.flags | 5099 public abstract boolean hasVibrator();
|