Home
last modified time | relevance | path

Searched refs:vibrate (Results 1 – 25 of 32) sorted by relevance

12

/packages/apps/DeskClock/src/com/android/deskclock/
DAlarmClock.java481 CheckBox vibrate; field in AlarmClock.AlarmItemAdapter.ItemHolder
611 holder.vibrate = (CheckBox) view.findViewById(R.id.vibrate_onoff); in newView()
859 itemHolder.vibrate.setVisibility(View.INVISIBLE); in bindExpandArea()
861 itemHolder.vibrate.setVisibility(View.VISIBLE); in bindExpandArea()
862 if (!alarm.vibrate) { in bindExpandArea()
863 itemHolder.vibrate.setChecked(false); in bindExpandArea()
864 itemHolder.vibrate.setTextColor(mColorDim); in bindExpandArea()
866 itemHolder.vibrate.setChecked(true); in bindExpandArea()
867 itemHolder.vibrate.setTextColor(mColorLit); in bindExpandArea()
869 itemHolder.vibrate.setOnLongClickListener(mLongClickListener); in bindExpandArea()
[all …]
DAlarm.java59 p.writeInt(vibrate ? 1 : 0); in writeToParcel()
165 public boolean vibrate; field in Alarm
180 ", vibrate=" + vibrate + in toString()
193 vibrate = c.getInt(Columns.ALARM_VIBRATE_INDEX) == 1; in Alarm()
222 vibrate = p.readInt() == 1; in Alarm()
233 vibrate = true; in Alarm()
DAlarmKlaxon.java223 if (alarm.vibrate) { in play()
224 mVibrator.vibrate(sVibratePattern, 0); in play()
DSetAlarm.java235 mVibratePref.setChecked(alarm.vibrate); in updatePrefs()
300 alarm.vibrate = mVibratePref.isChecked(); in buildAlarmFromUi()
DAlarms.java187 values.put(Alarm.Columns.VIBRATE, alarm.vibrate); in createContentValues()
/packages/apps/Nfc/src/com/android/nfc/
DP2pEventManager.java74 mVibrator.vibrate(VIBRATION_PATTERN, -1); in onP2pInRange()
92 mVibrator.vibrate(VIBRATION_PATTERN, -1); in onP2pSendComplete()
103 mVibrator.vibrate(VIBRATION_PATTERN, -1); in onP2pHandoverNotSupported()
112 mVibrator.vibrate(VIBRATION_PATTERN, -1); in onP2pReceiveComplete()
163 mVibrator.vibrate(VIBRATION_PATTERN, -1); in onP2pResumeSend()
/packages/apps/PhoneCommon/src/com/android/phone/common/
DHapticFeedback.java129 public void vibrate() { in vibrate() method in HapticFeedback
139 mVibrator.vibrate(mHapticPattern[0]); in vibrate()
141 mVibrator.vibrate(mHapticPattern, NO_REPEAT); in vibrate()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DAudioAndHapticFeedbackManager.java68 public void vibrate(final long milliseconds) { in vibrate() method in AudioAndHapticFeedbackManager
72 mVibrator.vibrate(milliseconds); in vibrate()
120 vibrate(mSettingsValues.mKeypressVibrationDuration); in vibrateInternal()
DSettingsFragment.java341 AudioAndHapticFeedbackManager.getInstance().vibrate(value); in setupKeypressVibrationDurationSettings()
/packages/apps/Mms/src/com/android/mms/transaction/
DMessagingNotification.java905 boolean vibrate = false; in updateNotification()
910 vibrate = sp.getBoolean(MessagingPreferenceActivity.NOTIFICATION_VIBRATE, in updateNotification()
919 vibrate = "always".equals(vibrateWhen); in updateNotification()
921 if (vibrate) { in updateNotification()
1154 boolean vibrate = sp.getBoolean(MessagingPreferenceActivity.NOTIFICATION_VIBRATE, in notifyFailed()
1156 if (vibrate) { in notifyFailed()
/packages/apps/Email/src/com/android/email/activity/setup/
DAccountSettingsFragment.java201 final boolean vibrate = in upgradeVibrateSetting()
203 sharedPreferences.edit().putBoolean(PREFERENCE_VIBRATE, vibrate); in upgradeVibrateSetting()
521 final boolean vibrate = 0 != (mAccount.getFlags() & Account.FLAGS_VIBRATE); in loadSettings()
522 mAccountVibrate.setChecked(vibrate); in loadSettings()
/packages/apps/Mms/src/com/android/mms/ui/
DMessagingPreferenceActivity.java195 boolean vibrate = "always".equals(vibrateWhen); in setMessagePreferences()
197 prefsEditor.putBoolean(NOTIFICATION_VIBRATE, vibrate); in setMessagePreferences()
200 mVibratePref.setChecked(vibrate); in setMessagePreferences()
/packages/apps/DeskClock/src/com/android/deskclock/widget/multiwaveview/
DGlowPadView.java437 vibrate(); in dispatchTriggerEvent()
555 private void vibrate() { in vibrate() method in GlowPadView
557 mVibrator.vibrate(mVibrationDuration); in vibrate()
949 vibrate();
/packages/apps/Calendar/src/com/android/calendar/
DUtils.java303 boolean vibrate; in getDefaultVibrate()
310 vibrate = vibrateWhen != null && vibrateWhen.equals(context in getDefaultVibrate()
314 + ") to KEY_ALERTS_VIBRATE = " + vibrate); in getDefaultVibrate()
316 vibrate = prefs.getBoolean(GeneralPreferences.KEY_ALERTS_VIBRATE, in getDefaultVibrate()
319 return vibrate; in getDefaultVibrate()
/packages/apps/Stk/src/com/android/stk/
DToneDialog.java96 if (settings.vibrate) { in onCreate()
97 mVibrator.vibrate(timeout); in onCreate()
/packages/apps/Phone/src/com/android/phone/
DEmergencyDialer.java321 mHaptic.vibrate(); in keyPressed()
410 mHaptic.vibrate(); // Vibrate here too, just like we do for the regular keys in onClick()
DNotificationMgr.java1280 final boolean vibrate = prefs.getBoolean( in updateMwi()
1282 if (vibrate) { in updateMwi()
DRinger.java253 mVibrator.vibrate(VIBRATE_LENGTH); in run()
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
DTextCandidatesViewManager.java1302 mVibrator.vibrate(5); in playSoundAndVibration()
1328 mVibrator.vibrate(5); in onFling()
1341 mVibrator.vibrate(5); in onFling()
DTextCandidates1LineViewManager.java549 mVibrator.vibrate(5); in playSoundAndVibration()
DDefaultSoftKeyboard.java830 try { mVibrator.vibrate(5); } catch (Exception ex) { } in playSoundAndVibration()
/packages/apps/Email/src/com/android/email/
DNotificationController.java671 final boolean vibrate = (flags & Account.FLAGS_VIBRATE) != 0; in setupSoundAndVibration()
674 if (vibrate) { in setupSoundAndVibration()
/packages/apps/Dialer/src/com/android/dialer/dialpad/
DDialpadFragment.java787 mHaptic.vibrate(); in keyPressed()
902 mHaptic.vibrate(); // Vibrate here too, just like we do for the regular keys in onClick()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastAlertAudio.java313 mVibrator.vibrate(sVibratePattern, -1); in play()
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/
DSoftKeyboardView.java385 mVibrator.vibrate(mVibratePattern, -1); in tryVibrate()

12