Lines Matching refs:pattern
32 * - a system resource for the pattern
33 * The pattern used is tuned per device and stored in an internal
66 /** If no pattern was found, vibrate for a small amount of time. */
68 /** Play the haptic pattern only once. */
133 // System-wide configuration may return different styles of haptic feedback pattern.
135 // - an array with multiple values implies "pattern vibration"
146 * @return true If the system haptic pattern was found.
149 int[] pattern;
153 pattern = r.getIntArray(VIBRATION_PATTERN_ID);
155 Log.e(TAG, "Vibrate pattern missing.", nfe);
159 if (null == pattern || pattern.length == 0) {
160 Log.e(TAG, "Haptic pattern is null or empty.");
165 mHapticPattern = new long[pattern.length];
166 for (int i = 0; i < pattern.length; i++) {
167 mHapticPattern[i] = pattern[i];