Home
last modified time | relevance | path

Searched refs:mVibratorManager (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/android/os/
DSystemVibrator.java43 private final VibratorManager mVibratorManager; field in SystemVibrator
61 mVibratorManager = mContext.getSystemService(VibratorManager.class); in SystemVibrator()
70 if (mVibratorManager == null) { in getInfo()
74 int[] vibratorIds = mVibratorManager.getVibratorIds(); in getInfo()
82 Vibrator vibrator = mVibratorManager.getVibrator(vibratorIds[i]); in getInfo()
98 if (mVibratorManager == null) { in hasVibrator()
102 return mVibratorManager.getVibratorIds().length > 0; in hasVibrator()
107 if (mVibratorManager == null) { in isVibrating()
111 for (int vibratorId : mVibratorManager.getVibratorIds()) { in isVibrating()
112 if (mVibratorManager.getVibrator(vibratorId).isVibrating()) { in isVibrating()
[all …]
/frameworks/base/core/java/android/view/
DInputDevice.java105 private VibratorManager mVibratorManager; field in InputDevice
1268 if (mVibratorManager == null) { in getVibratorManager()
1269 mVibratorManager = InputManagerGlobal.getInstance() in getVibratorManager()
1273 return mVibratorManager; in getVibratorManager()