HomeSort by relevance Sort by last modified time
    Searched refs:vibrate (Results 1 - 25 of 146) sorted by null

1 2 3 4 5 6

  /external/chromium_org/third_party/WebKit/Source/modules/vibration/
NavigatorVibration.idl 25 boolean vibrate(sequence<unsigned long> pattern);
26 boolean vibrate([Clamp] unsigned long time);
NavigatorVibration.h 42 bool vibrate(const VibrationPattern&);
51 static bool vibrate(Navigator*, unsigned time);
52 static bool vibrate(Navigator*, const VibrationPattern&);
NavigatorVibration.cpp 48 bool NavigatorVibration::vibrate(const VibrationPattern& pattern) function in class:WebCore::NavigatorVibration
107 blink::Platform::current()->vibrate(m_pattern[0]);
139 bool NavigatorVibration::vibrate(Navigator* navigator, unsigned time) function in class:WebCore::NavigatorVibration
143 return NavigatorVibration::vibrate(navigator, pattern);
146 bool NavigatorVibration::vibrate(Navigator* navigator, const VibrationPattern& pattern) function in class:WebCore::NavigatorVibration
155 return NavigatorVibration::from(page)->vibrate(pattern);
  /frameworks/base/core/java/android/os/
Vibrator.java 45 * Vibrate constantly for the specified period of time.
47 * {@link android.Manifest.permission#VIBRATE}.
49 * @param milliseconds The number of milliseconds to vibrate.
51 public abstract void vibrate(long milliseconds); method in class:Vibrator
54 * Vibrate with a given pattern.
67 * {@link android.Manifest.permission#VIBRATE}.
73 public abstract void vibrate(long[] pattern, int repeat); method in class:Vibrator
77 * Like {@link #vibrate(long)}, but allowing the caller to specify that
80 public abstract void vibrate(int owningUid, String owningPackage, long milliseconds); method in class:Vibrator
84 * Like {@link #vibrate(long[], int)}, but allowing the caller to specify tha
87 public abstract void vibrate(int owningUid, String owningPackage, long[] pattern, int repeat); method in class:Vibrator
    [all...]
NullVibrator.java 42 public void vibrate(long milliseconds) { method in class:NullVibrator
46 public void vibrate(long[] pattern, int repeat) { method in class:NullVibrator
56 public void vibrate(int owningUid, String owningPackage, long milliseconds) { method in class:NullVibrator
57 vibrate(milliseconds);
64 public void vibrate(int owningUid, String owningPackage, long[] pattern, int repeat) { method in class:NullVibrator
65 vibrate(pattern, repeat); method
SystemVibrator.java 50 Log.w(TAG, "Failed to vibrate; no vibrator service.");
61 public void vibrate(long milliseconds) { method in class:SystemVibrator
62 vibrate(Process.myUid(), mPackageName, milliseconds);
66 public void vibrate(long[] pattern, int repeat) { method in class:SystemVibrator
67 vibrate(Process.myUid(), mPackageName, pattern, repeat);
74 public void vibrate(int owningUid, String owningPackage, long milliseconds) { method in class:SystemVibrator
76 Log.w(TAG, "Failed to vibrate; no vibrator service.");
80 mService.vibrate(owningUid, owningPackage, milliseconds, mToken);
82 Log.w(TAG, "Failed to vibrate.", e);
90 public void vibrate(int owningUid, String owningPackage, long[] pattern, int repeat) method in class:SystemVibrator
    [all...]
IVibratorService.aidl 23 void vibrate(int uid, String packageName, long milliseconds, IBinder token);
  /external/robolectric/src/main/java/android/os/
TestVibrator.java 17 public void vibrate(long arg0) { method in class:TestVibrator
22 public void vibrate(long[] arg0, int arg1) { method in class:TestVibrator
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
ToneSettings.java 29 public boolean vibrate; field in class:ToneSettings
31 public ToneSettings(Duration duration, Tone tone, boolean vibrate) {
34 this.vibrate = vibrate;
40 vibrate = in.readInt() == 1;
52 dest.writeInt(vibrate ? 1 : 0);
  /external/replicaisland/src/com/replica/replicaisland/
VibrationSystem.java 34 public void vibrate(float seconds) { method in class:VibrationSystem
39 vibrator.vibrate((int)(seconds * 1000));
  /cts/tests/tests/os/src/android/os/cts/
VibratorTest.java 36 mVibrator.vibrate(1000);
51 mVibrator.vibrate(pattern, 3);
53 fail("vibrate failed!");
56 mVibrator.vibrate(pattern, 10);
69 mVibrator.vibrate(100);
82 mVibrator.vibrate(1000);
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowVibrator.java 17 public void vibrate(long milliseconds) { method in class:ShadowVibrator
23 public void vibrate(long[] pattern, int repeat) { method in class:ShadowVibrator
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
VibratorTest.java 31 vibrator.vibrate(5000);
40 vibrator.vibrate(pattern, 2);
49 vibrator.vibrate(5000);
  /packages/apps/PhoneCommon/src/com/android/phone/common/
HapticFeedback.java 58 * mHaptic.vibrate();
64 /** If no pattern was found, vibrate for a small amount of time. */
85 * @param enabled If false, vibrate will be a no-op regardless of
125 public void vibrate() { method in class:HapticFeedback
135 mVibrator.vibrate(mHapticPattern[0]);
137 mVibrator.vibrate(mHapticPattern, NO_REPEAT);
  /packages/apps/Nfc/src/com/android/nfc/
P2pEventManager.java 74 mVibrator.vibrate(VIBRATION_PATTERN, -1);
92 mVibrator.vibrate(VIBRATION_PATTERN, -1);
103 mVibrator.vibrate(VIBRATION_PATTERN, -1);
112 mVibrator.vibrate(VIBRATION_PATTERN, -1);
163 mVibrator.vibrate(VIBRATION_PATTERN, -1);
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
AudioAndHapticFeedbackManager.java 70 public void vibrate(final long milliseconds) { method in class:AudioAndHapticFeedbackManager
74 mVibrator.vibrate(milliseconds);
122 vibrate(mSettingsValues.mKeypressVibrationDuration);
  /frameworks/wilhelm/src/itf/
IVibra.c 22 static SLresult IVibra_Vibrate(SLVibraItf self, SLboolean vibrate)
28 thiz->mVibrate = SL_BOOLEAN_FALSE != vibrate; // normalize
45 SLboolean vibrate = thiz->mVibrate; local
47 *pVibrating = vibrate;
  /external/chromium_org/content/public/android/java/src/org/chromium/content/browser/
VibrationProvider.java 33 private void vibrate(long milliseconds) { method in class:VibrationProvider
36 mVibrator.vibrate(milliseconds);
49 android.Manifest.permission.VIBRATE) == PackageManager.PERMISSION_GRANTED;
51 Log.w(TAG, "Failed to use vibrate API, requires VIBRATE permission.");
  /cts/tests/tests/app/src/android/app/cts/
NotificationTest.java 88 mNotification.vibrate = longArray;
109 assertEquals(mNotification.vibrate[0], result.vibrate[0]);
110 assertEquals(mNotification.vibrate[1], result.vibrate[1]);
111 assertEquals(mNotification.vibrate[2], result.vibrate[2]);
  /development/samples/ApiDemos/src/com/example/android/apis/os/
MorseCode.java 90 vibrator.vibrate(pattern, -1);
  /frameworks/base/tests/permission/src/com/android/framework/permission/tests/
VibratorServicePermissionTest.java 43 * Test that calling {@link android.os.IVibratorService#vibrate(long)} requires permissions.
45 * {@link android.Manifest.permission#VIBRATE}
50 mVibratorService.vibrate(Process.myUid(), null, 2000, new Binder());
51 fail("vibrate did not throw SecurityException as expected");
61 * {@link android.Manifest.permission#VIBRATE}
76 * {@link android.Manifest.permission#VIBRATE}
  /cts/tests/tests/permission/src/android/permission/cts/
NoSystemFunctionPermissionTest.java 112 * {@link android.Manifest.permission#VIBRATE}.
126 vibrator.vibrate(1);
127 fail("Vibrator.vibrate(long) did not throw SecurityException as expected.");
135 vibrator.vibrate(testPattern, 1);
136 fail("Vibrator.vibrate(long[], int) not throw SecurityException as expected.");
  /frameworks/base/core/java/android/hardware/input/
IInputManager.aidl 57 void vibrate(int deviceId, in long[] pattern, int repeat, IBinder token);
InputManager.java 818 public void vibrate(long milliseconds) { method in class:InputManager.InputDeviceVibrator
819 vibrate(new long[] { 0, milliseconds}, -1); method
823 public void vibrate(long[] pattern, int repeat) { method in class:InputManager.InputDeviceVibrator
828 mIm.vibrate(mDeviceId, pattern, repeat, mToken);
830 Log.w(TAG, "Failed to vibrate.", ex);
838 public void vibrate(int owningUid, String owningPackage, long milliseconds) { method in class:InputManager.InputDeviceVibrator
839 vibrate(milliseconds);
846 public void vibrate(int owningUid, String owningPackage, long[] pattern, int repeat) { method in class:InputManager.InputDeviceVibrator
847 vibrate(pattern, repeat); method
  /packages/apps/DeskClock/src/com/android/deskclock/provider/
Alarm.java 57 VIBRATE,
89 values.put(VIBRATE, alarm.vibrate ? 1 : 0);
225 public boolean vibrate; field in class:Alarm
239 this.vibrate = true;
252 vibrate = c.getInt(VIBRATE_INDEX) == 1;
271 vibrate = p.readInt() == 1;
290 p.writeInt(vibrate ? 1 : 0);
322 result.mVibrate = vibrate;
349 ", vibrate=" + vibrate
    [all...]

Completed in 3146 milliseconds

1 2 3 4 5 6