Searched refs:pattern (Results 1 - 25 of 41) sorted by relevance

12

/frameworks/base/core/java/android/os/
H A DVibrator.java54 * Vibrate with a given pattern.
63 * To cause the pattern to repeat, pass the index into the pattern array at which
69 * @param pattern an array of longs of times for which to turn the vibrator on or off.
70 * @param repeat the index into pattern at which to repeat, or -1 if
73 public abstract void vibrate(long[] pattern, int repeat); argument
H A DPatternMatcher.java20 * A simple pattern matcher, which is safe to use on untrusted data: it does
26 * Pattern type: the given pattern must exactly match the string it is
32 * Pattern type: the given pattern must match the
38 * Pattern type: the given pattern is interpreted with a
51 public PatternMatcher(String pattern, int type) { argument
52 mPattern = pattern;
109 static boolean matchPattern(String pattern, String match, int type) { argument
112 return pattern.equals(match);
114 return match.startsWith(pattern);
119 final int NP = pattern
[all...]
H A DNullVibrator.java46 public void vibrate(long[] pattern, int repeat) { argument
47 if (repeat >= pattern.length) {
H A DIVibratorService.aidl24 void vibratePattern(in long[] pattern, int repeat, IBinder token);
H A DSystemVibrator.java64 public void vibrate(long[] pattern, int repeat) { argument
69 // catch this here because the server will do nothing. pattern may
72 if (repeat < pattern.length) {
74 mService.vibratePattern(pattern, repeat, mToken);
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/
H A DomxVCM4P2_EncodeVLCZigzag_IntraACVLC.c42 * scan pattern; takes one of the following values:
49 * pattern - block pattern which is used to decide whether this block is
81 OMX_U8 pattern,
92 pattern,
76 omxVCM4P2_EncodeVLCZigzag_IntraACVLC( OMX_U8 **ppBitStream, OMX_INT *pBitOffset, const OMX_S16 *pQDctBlkCoef, OMX_U8 predDir, OMX_U8 pattern, OMX_INT shortVideoHeader ) argument
H A DomxVCM4P2_EncodeVLCZigzag_Inter.c43 * pattern - block pattern which is used to decide whether this block is
70 OMX_U8 pattern,
84 if (pattern)
66 omxVCM4P2_EncodeVLCZigzag_Inter( OMX_U8 **ppBitStream, OMX_INT * pBitOffset, const OMX_S16 *pQDctBlkCoef, OMX_U8 pattern, OMX_INT shortVideoHeader ) argument
H A DarmVCM4P2_EncodeVLCZigzag_intra.c45 * the zigzag scan pattern. This takes one of the
56 * [in] pattern block pattern which is used to decide whether
77 OMX_U8 pattern,
94 if (pattern)
72 armVCM4P2_EncodeVLCZigzag_Intra( OMX_U8 **ppBitStream, OMX_INT *pBitOffset, const OMX_S16 *pQDctBlkCoef, OMX_U8 predDir, OMX_U8 pattern, OMX_INT shortVideoHeader, OMX_U8 start ) argument
H A DomxVCM4P2_EncodeVLCZigzag_IntraDCVLC.c47 * scan pattern; takes one of the following values:
54 * pattern - block pattern which is used to decide whether this block is
88 OMX_U8 pattern,
106 if (pattern)
155 pattern,
83 omxVCM4P2_EncodeVLCZigzag_IntraDCVLC( OMX_U8 **ppBitStream, OMX_INT *pBitOffset, const OMX_S16 *pQDctBlkCoef, OMX_U8 predDir, OMX_U8 pattern, OMX_INT shortVideoHeader, OMXVCM4P2VideoComponent videoComp ) argument
/frameworks/base/media/mca/filterfw/java/android/filterfw/io/
H A DPatternScanner.java44 public String tryEat(Pattern pattern) { argument
45 // Skip ignore pattern
51 Matcher matcher = pattern.matcher(mInput);
62 // Skip ignore pattern
70 public String eat(Pattern pattern, String tokenName) { argument
71 String result = tryEat(pattern);
78 public boolean peek(Pattern pattern) { argument
79 // Skip ignore pattern
85 Matcher matcher = pattern.matcher(mInput);
92 public void skip(Pattern pattern) { argument
[all...]
/frameworks/base/core/java/android/content/pm/
H A DPathPermission.java31 public PathPermission(String pattern, int type, String readPermission, argument
33 super(pattern, type);
/frameworks/base/libs/hwui/
H A DDither.cpp36 const uint8_t pattern[] = { local
55 GL_ALPHA, GL_UNSIGNED_BYTE, &pattern);
/frameworks/base/services/java/com/android/server/
H A DVibratorService.java83 Vibration(IBinder token, long[] pattern, int repeat, int uid) { argument
84 this(token, 0, pattern, repeat, uid);
87 private Vibration(IBinder token, long millis, long[] pattern, argument
92 mPattern = pattern;
109 // This is a pattern, return false to play the simple
175 // either a timeout of > 0 or a non-null pattern.
192 private boolean isAll0(long[] pattern) { argument
193 int N = pattern.length;
195 if (pattern[i] != 0) {
202 public void vibratePattern(long[] pattern, in argument
[all...]
/frameworks/base/core/java/android/hardware/input/
H A DIInputManager.aidl57 void vibrate(int deviceId, in long[] pattern, int repeat, IBinder token);
H A DInputManager.java801 public void vibrate(long[] pattern, int repeat) { argument
802 if (repeat >= pattern.length) {
806 mIm.vibrate(mDeviceId, pattern, repeat, mToken);
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard_obsolete/
H A DPatternUnlockScreen.java47 // how long before we clear the wrong pattern
68 * whether there is a fallback option available when the pattern is forgotten.
78 * poke it when the user starts drawing the pattern.
84 * Useful for clearing out the wrong pattern after a delay
134 * @param lockPatternUtils Used to lookup lock pattern settings.
139 * their pattern (e.g they have a google account so we can show them the account based
183 // lock pattern view.
209 // as long as the user is entering a pattern (i.e sending a touch
271 // reset lock pattern
276 // show "forgot pattern
330 onPatternCellAdded(List<Cell> pattern) argument
341 onPatternDetected(List<LockPatternView.Cell> pattern) argument
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DLockPatternView.java49 * Is also capable of displaying a static pattern in "in progress", "wrong" or
69 * How many milliseconds we spend animating each circle of a lock pattern
71 * constant * the length of the pattern to complete.
79 * Lookup table for the circles of the pattern we are currently drawing.
80 * This will be the cells of the complete pattern unless we are animating,
130 * Represents a cell in the 3 X 3 matrix of the unlock pattern view.
188 * How to display the current pattern.
193 * The pattern drawn is correct (i.e draw it in a friendly color)
198 * Animate the pattern (for demo, and help).
203 * The pattern i
227 onPatternCellAdded(List<Cell> pattern) argument
233 onPatternDetected(List<Cell> pattern) argument
341 setPattern(DisplayMode displayMode, List<Cell> pattern) argument
[all...]
H A DLockPatternUtils.java52 * Utilities for the lock pattern and its settings.
66 * method of verifying the user, and resetting their lock pattern.
72 * wrong pattern too many times.
89 * The minimum number of dots in a valid pattern.
94 * The minimum number of dots the user must include in a wrong pattern
274 * Check to see if a pattern matches the saved pattern. If no pattern exists,
276 * @param pattern The pattern t
279 checkPattern(List<LockPatternView.Cell> pattern) argument
485 saveLockPattern(List<LockPatternView.Cell> pattern) argument
494 saveLockPattern(List<LockPatternView.Cell> pattern, boolean isFallback) argument
756 patternToString(List<LockPatternView.Cell> pattern) argument
777 patternToHash(List<LockPatternView.Cell> pattern) argument
[all...]
/frameworks/base/core/java/android/text/util/
H A DLinkify.java44 * Alone with the pattern that is to be matched, a url scheme prefix is also
45 * required. Any pattern match that does not begin with the supplied scheme
48 * the scheme <code>http://</code>. If the pattern matches example.com, which
149 * support@example.com. So, when matching against a web url pattern you
155 * Examines the character span matched by the pattern and determines
158 * @param s The body of text against which the pattern
161 * matched by the pattern - inclusive
297 * @param pattern Regex pattern to be used for finding links
302 public static final void addLinks(TextView text, Pattern pattern, Strin argument
342 addLinks(Spannable text, Pattern pattern, String scheme) argument
424 gatherLinks(ArrayList<LinkSpec> links, Spannable s, Pattern pattern, String[] schemes, MatchFilter matchFilter, TransformFilter transformFilter) argument
[all...]
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
H A DKeyguardPatternView.java50 // how long before we clear the wrong pattern
74 * drawing the pattern.
80 * Useful for clearing out the wrong pattern after a delay
174 // as long as the user is entering a pattern (i.e sending a touch event that was handled
189 // reset lock pattern
251 public void onPatternCellAdded(List<LockPatternView.Cell> pattern) { argument
253 // the user actually trying to draw a pattern of some minimal length.
254 if (pattern.size() > MIN_PATTERN_BEFORE_POKE_WAKELOCK) {
262 public void onPatternDetected(List<LockPatternView.Cell> pattern) { argument
263 if (mLockPatternUtils.checkPattern(pattern)) {
[all...]
/frameworks/opt/mms/src/java/com/google/android/mms/pdu/
H A DEncodedStringValue.java206 * Split this encoded string around matches of the given pattern.
208 * @param pattern the delimiting pattern
210 * string around matches of the given pattern
212 public EncodedStringValue[] split(String pattern) { argument
213 String[] temp = getString().split(pattern);
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dbitstream.cpp562 /* Modified : 12/18/2000 : changed the pattern type to uint */
568 uint pattern; local
572 BitstreamShowBits16(stream, n_stuffed, &pattern);
573 if (pattern == msk[n_stuffed-1]) return PV_TRUE;
580 uint pattern; local
588 BitstreamShowBits16(stream, n_stuffed, &pattern);
589 if (pattern == 0) return PV_TRUE;
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/api/
H A DomxVC.h1428 * scan pattern; takes one of the following values:
1435 * pattern - block pattern which is used to decide whether this block is
1468 OMX_U8 pattern,
1492 * scan pattern; takes one of the following values:
1499 * pattern - block pattern which is used to decide whether this block is
1530 OMX_U8 pattern,
1549 * pattern - block pattern whic
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/api/
H A DomxVC.h1428 * scan pattern; takes one of the following values:
1435 * pattern - block pattern which is used to decide whether this block is
1468 OMX_U8 pattern,
1492 * scan pattern; takes one of the following values:
1499 * pattern - block pattern which is used to decide whether this block is
1530 OMX_U8 pattern,
1549 * pattern - block pattern whic
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/api/
H A DomxVC.h1428 * scan pattern; takes one of the following values:
1435 * pattern - block pattern which is used to decide whether this block is
1468 OMX_U8 pattern,
1492 * scan pattern; takes one of the following values:
1499 * pattern - block pattern which is used to decide whether this block is
1530 OMX_U8 pattern,
1549 * pattern - block pattern whic
[all...]

Completed in 4554 milliseconds

12