Home
last modified time | relevance | path

Searched refs:mHasVibrator (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/util/
DVibratorWrapper.java78 private final boolean mHasVibrator; field in VibratorWrapper
87 mHasVibrator = mVibrator.hasVibrator(); in VibratorWrapper()
88 if (mHasVibrator) { in VibratorWrapper()
126 if (mHasVibrator) { in close()
183 if (mHasVibrator && mIsHapticFeedbackEnabled) { in vibrate()
194 if (mHasVibrator && mIsHapticFeedbackEnabled) { in vibrate()
/packages/apps/Settings/src/com/android/settings/notification/
DVibrateIconPreferenceController.java31 private final boolean mHasVibrator; field in VibrateIconPreferenceController
36 mHasVibrator = context.getSystemService(Vibrator.class).hasVibrator(); in VibrateIconPreferenceController()
43 return mHasVibrator; in isAvailable()
/packages/apps/Settings/src/com/android/settings/accessibility/
DVibrationPreferenceController.java36 private final boolean mHasVibrator; field in VibrationPreferenceController
40 mHasVibrator = context.getSystemService(Vibrator.class).hasVibrator(); in VibrationPreferenceController()
45 return mHasVibrator ? AVAILABLE : UNSUPPORTED_ON_DEVICE; in getAvailabilityStatus()
/packages/apps/DeskClock/src/com/android/deskclock/alarms/dataadapter/
DExpandedAlarmViewHolder.kt56 class ExpandedAlarmViewHolder private constructor(itemView: View, private val mHasVibrator: Boolean) in <lambda>() constant
202 if (!mHasVibrator) { in <lambda>()
488 private val mHasVibrator: Boolean = in <lambda>() constant
493 return ExpandedAlarmViewHolder(itemView, mHasVibrator) in <lambda>()