Home
last modified time | relevance | path

Searched refs:pattern (Results 1 – 25 of 98) sorted by relevance

1234

/frameworks/base/core/java/android/os/
DPatternMatcher.java51 public PatternMatcher(String pattern, int type) { in PatternMatcher() argument
52 mPattern = pattern; in PatternMatcher()
109 static boolean matchPattern(String pattern, String match, int type) { in matchPattern() argument
112 return pattern.equals(match); in matchPattern()
114 return match.startsWith(pattern); in matchPattern()
119 final int NP = pattern.length(); in matchPattern()
125 char nextChar = pattern.charAt(0); in matchPattern()
129 nextChar = ip < NP ? pattern.charAt(ip) : 0; in matchPattern()
134 nextChar = ip < NP ? pattern.charAt(ip) : 0; in matchPattern()
144 nextChar = pattern.charAt(ip); in matchPattern()
[all …]
DSystemVibrator.java64 public void vibrate(long[] pattern, int repeat) { in vibrate() argument
72 if (repeat < pattern.length) { in vibrate()
74 mService.vibratePattern(pattern, repeat, mToken); in vibrate()
DNullVibrator.java46 public void vibrate(long[] pattern, int repeat) { in vibrate() argument
47 if (repeat >= pattern.length) { in vibrate()
DVibrator.java73 public abstract void vibrate(long[] pattern, int repeat); in vibrate() argument
DIVibratorService.aidl24 void vibratePattern(in long[] pattern, int repeat, IBinder token); in vibratePattern() argument
/frameworks/base/services/java/com/android/server/
DVibratorService.java82 Vibration(IBinder token, long[] pattern, int repeat, int uid) { in Vibration() argument
83 this(token, 0, pattern, repeat, uid); in Vibration()
86 private Vibration(IBinder token, long millis, long[] pattern, in Vibration() argument
91 mPattern = pattern; in Vibration()
182 private boolean isAll0(long[] pattern) { in isAll0() argument
183 int N = pattern.length; in isAll0()
185 if (pattern[i] != 0) { in isAll0()
192 public void vibratePattern(long[] pattern, int repeat, IBinder token) { in vibratePattern() argument
203 int N = pattern.length; in vibratePattern()
205 s += " " + pattern[i]; in vibratePattern()
[all …]
/frameworks/base/media/mca/filterfw/java/android/filterfw/io/
DPatternScanner.java44 public String tryEat(Pattern pattern) { in tryEat() argument
51 Matcher matcher = pattern.matcher(mInput); in tryEat()
70 public String eat(Pattern pattern, String tokenName) { in eat() argument
71 String result = tryEat(pattern); in eat()
78 public boolean peek(Pattern pattern) { in peek() argument
85 Matcher matcher = pattern.matcher(mInput); in peek()
92 public void skip(Pattern pattern) { in skip() argument
93 Matcher matcher = pattern.matcher(mInput); in skip()
/frameworks/base/core/java/com/android/internal/widget/
DLockPatternUtils.java259 public boolean checkPattern(List<LockPatternView.Cell> pattern) { in checkPattern() argument
262 return getLockSettings().checkPattern(patternToHash(pattern), userId); in checkPattern()
456 public void saveLockPattern(List<LockPatternView.Cell> pattern) { in saveLockPattern() argument
457 this.saveLockPattern(pattern, false); in saveLockPattern()
465 public void saveLockPattern(List<LockPatternView.Cell> pattern, boolean isFallback) { in saveLockPattern() argument
467 final byte[] hash = LockPatternUtils.patternToHash(pattern); in saveLockPattern()
472 if (pattern != null) { in saveLockPattern()
473 keyStore.password(patternToString(pattern)); in saveLockPattern()
479 pattern.size(), 0, 0, 0, 0, 0, 0); in saveLockPattern()
708 public static String patternToString(List<LockPatternView.Cell> pattern) { in patternToString() argument
[all …]
DLockPatternView.java230 void onPatternCellAdded(List<Cell> pattern); in onPatternCellAdded() argument
236 void onPatternDetected(List<Cell> pattern); in onPatternDetected() argument
344 public void setPattern(DisplayMode displayMode, List<Cell> pattern) { in setPattern() argument
346 mPattern.addAll(pattern); in setPattern()
348 for (Cell cell : pattern) { in setPattern()
522 final ArrayList<Cell> pattern = mPattern; in detectAndAddHit() local
523 if (!pattern.isEmpty()) { in detectAndAddHit()
524 final Cell lastCell = pattern.get(pattern.size() - 1); in detectAndAddHit()
699 final ArrayList<Cell> pattern = mPattern; in handleActionMove()
702 final Cell lastCell = pattern.get(patternSize - 1); in handleActionMove()
[all …]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/
DomxVCM4P2_EncodeVLCZigzag_IntraDCVLC.c88 OMX_U8 pattern, in omxVCM4P2_EncodeVLCZigzag_IntraDCVLC() argument
106 if (pattern) in omxVCM4P2_EncodeVLCZigzag_IntraDCVLC()
155 pattern, in omxVCM4P2_EncodeVLCZigzag_IntraDCVLC()
DomxVCM4P2_EncodeVLCZigzag_IntraACVLC.c81 OMX_U8 pattern, in omxVCM4P2_EncodeVLCZigzag_IntraACVLC() argument
92 pattern, in omxVCM4P2_EncodeVLCZigzag_IntraACVLC()
DomxVCM4P2_EncodeVLCZigzag_Inter.c70 OMX_U8 pattern, in omxVCM4P2_EncodeVLCZigzag_Inter() argument
84 if (pattern) in omxVCM4P2_EncodeVLCZigzag_Inter()
DarmVCM4P2_EncodeVLCZigzag_intra.c77 OMX_U8 pattern, in armVCM4P2_EncodeVLCZigzag_Intra() argument
94 if (pattern) in armVCM4P2_EncodeVLCZigzag_Intra()
/frameworks/base/policy/src/com/android/internal/policy/impl/
DPatternUnlockScreen.java330 public void onPatternCellAdded(List<Cell> pattern) { in onPatternCellAdded() argument
333 if (pattern.size() > MIN_PATTERN_BEFORE_POKE_WAKELOCK) { in onPatternCellAdded()
341 public void onPatternDetected(List<LockPatternView.Cell> pattern) { in onPatternDetected() argument
342 if (mLockPatternUtils.checkPattern(pattern)) { in onPatternDetected()
349 KeyStore.getInstance().password(LockPatternUtils.patternToString(pattern)); in onPatternDetected()
352 if (pattern.size() > MIN_PATTERN_BEFORE_POKE_WAKELOCK) { in onPatternDetected()
356 if (pattern.size() >= LockPatternUtils.MIN_PATTERN_REGISTER_FAIL) { in onPatternDetected()
/frameworks/base/docs/html/training/design-navigation/
Ddescendant-lateral.jd70 …igation interface with relevant screen map excerpt. Also shows dashboard pattern discussed below."…
72 …igation interface with relevant screen map excerpt. Also shows dashboard pattern discussed below.<…
75pattern for accessing different top-level application sections, is the dashboard pattern. A <em>da…
98 <p>There are several issues with this pattern. Deep, list-based navigation, known as <em>drill-down…
111 <p>Using tabs is a very popular solution for lateral navigation. This pattern allows grouping of si…
127 href="{@docRoot}design/patterns/actionbar.html">pattern docs</a> at Android Design) are sometimes
138 …ally acceptable, and the tradeoff commonly weighs in favor of using this pattern. You should also …
146 href="{@docRoot}design/patterns/swipe-views.html">Swipe Views</a> pattern guides.</p>
149pattern is horizontal paging, also referred to as swipe views. This pattern applies best to collec…
158 …ntext to the user. This practice is especially necessary when using this pattern for lateral navig…
[all …]
/frameworks/base/core/java/android/text/util/
DLinkify.java302 public static final void addLinks(TextView text, Pattern pattern, String scheme) { in addLinks() argument
303 addLinks(text, pattern, scheme, null, null); in addLinks()
342 public static final boolean addLinks(Spannable text, Pattern pattern, String scheme) { in addLinks() argument
343 return addLinks(text, pattern, scheme, null, null); in addLinks()
425 Spannable s, Pattern pattern, String[] schemes, in gatherLinks() argument
427 Matcher m = pattern.matcher(s); in gatherLinks()
/frameworks/base/core/java/android/content/pm/
DPathPermission.java31 public PathPermission(String pattern, int type, String readPermission, in PathPermission() argument
33 super(pattern, type); in PathPermission()
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
Dbitstream.cpp568 uint pattern; in validStuffing() local
572 BitstreamShowBits16(stream, n_stuffed, &pattern); in validStuffing()
573 if (pattern == msk[n_stuffed-1]) return PV_TRUE; in validStuffing()
580 uint pattern; in validStuffing_h263() local
588 BitstreamShowBits16(stream, n_stuffed, &pattern); in validStuffing_h263()
589 if (pattern == 0) return PV_TRUE; in validStuffing_h263()
/frameworks/base/core/java/com/google/android/mms/pdu/
DEncodedStringValue.java212 public EncodedStringValue[] split(String pattern) { in split() argument
213 String[] temp = getString().split(pattern); in split()
/frameworks/support/v4/java/android/support/v4/app/
DNotificationCompat.java298 public Builder setVibrate(long[] pattern) { in setVibrate() argument
299 mNotification.vibrate = pattern; in setVibrate()
/frameworks/base/core/java/android/hardware/input/
DIInputManager.aidl57 void vibrate(int deviceId, in long[] pattern, int repeat, IBinder token); in vibrate() argument
DInputManager.java801 public void vibrate(long[] pattern, int repeat) { in vibrate() argument
802 if (repeat >= pattern.length) { in vibrate()
806 mIm.vibrate(mDeviceId, pattern, repeat, mToken); in vibrate()
/frameworks/base/docs/html/design/patterns/
Dsettings.jd168 <p>Use this pattern for a setting that is either selected or not selected.</p>
182 <p>Use this pattern for a setting that needs to present a discrete set of options, from which the
197 <p>Use this pattern for a setting where the range of values are not discrete and fall along a
212 <p>Use this pattern for a setting that needs to collect a date and/or time from the user.</p>
226 <p>Use this pattern for navigating to a subscreen or sequence of subscreens that guide the user
247 <p>Use this pattern for a setting or category of settings that contains a list of equivalent items.
265 <p>Use this pattern for a category of settings that need a mechanism for turning on or off as a
300 <p>Use this pattern for an individual setting that requires a more elaborate description than can
320 <p>Use this pattern for a setting that changes availability based on the value of another setting.
586 Change or disable pattern, PIN, or password security
Dselection.jd16 <p>This pattern changed with Android 3.0. The long press gesture is now used to select data, combin…
64 pattern</a> to decide which items to surface at the top level and which to move to the
/frameworks/av/media/libstagefright/codecs/amrwbenc/inc/
Dhoming.tab20 #define DHF_PARMS_MAX 32 /* homing frame pattern */

1234