Home
last modified time | relevance | path

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

/frameworks/native/include/input/
DInputDevice.h102 inline void setVibrator(bool hasVibrator) { mHasVibrator = hasVibrator; } in setVibrator()
103 inline bool hasVibrator() const { return mHasVibrator; } in hasVibrator()
122 bool mHasVibrator; variable
/frameworks/base/core/java/android/view/
DInputDevice.java56 private final boolean mHasVibrator; field in InputDevice
362 mHasVibrator = hasVibrator; in InputDevice()
378 mHasVibrator = in.readInt() != 0; in InputDevice()
672 if (mHasVibrator) { in getVibrator()
815 out.writeInt(mHasVibrator ? 1 : 0); in writeToParcel()
859 description.append(" Has Vibrator: ").append(mHasVibrator).append("\n"); in toString()
/frameworks/native/libs/input/
DInputDevice.cpp137 mKeyCharacterMap(other.mKeyCharacterMap), mHasVibrator(other.mHasVibrator), in InputDeviceInfo()
154 mHasVibrator = false; in initialize()
/frameworks/base/policy/src/com/android/internal/policy/impl/
DGlobalActions.java104 private boolean mHasVibrator; field in GlobalActions
135 mHasVibrator = vibrator != null && vibrator.hasVibrator(); in GlobalActions()
188 if (!mHasVibrator) { in createDialog()
412 if (!mHasVibrator) { in refreshSilentMode()
/frameworks/base/media/java/android/media/
DAudioService.java328 private final boolean mHasVibrator; field in AudioService
479 mHasVibrator = vibrator == null ? false : vibrator.hasVibrator(); in AudioService()
696 if ((ringerMode == AudioManager.RINGER_MODE_VIBRATE) && !mHasVibrator) { in readPersistedSettings()
713 mHasVibrator ? AudioManager.VIBRATE_SETTING_ONLY_SILENT in readPersistedSettings()
717 mHasVibrator ? AudioManager.VIBRATE_SETTING_ONLY_SILENT in readPersistedSettings()
981 newRingerMode = mHasVibrator ? AudioManager.RINGER_MODE_VIBRATE in onSetStreamVolume()
1396 if ((ringerMode == AudioManager.RINGER_MODE_VIBRATE) && !mHasVibrator) { in setRingerMode()
1470 if (!mHasVibrator) return false; in shouldVibrate()
1491 if (!mHasVibrator) return AudioManager.VIBRATE_SETTING_OFF; in getVibrateSetting()
1498 if (!mHasVibrator) return; in setVibrateSetting()
[all …]