/frameworks/base/core/java/android/os/ |
D | PatternMatcher.java | 51 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 …]
|
D | Vibrator.java | 93 public void vibrate(long[] pattern, int repeat) in vibrate() argument 102 if (repeat < pattern.length) { in vibrate() 104 mService.vibratePattern(pattern, repeat, mToken); in vibrate()
|
D | IVibratorService.aidl | 24 void vibratePattern(in long[] pattern, int repeat, IBinder token); in vibratePattern() argument
|
/frameworks/base/services/java/com/android/server/ |
D | VibratorService.java | 57 Vibration(IBinder token, long[] pattern, int repeat, int uid) { in Vibration() argument 58 this(token, 0, pattern, repeat, uid); in Vibration() 61 private Vibration(IBinder token, long millis, long[] pattern, in Vibration() argument 66 mPattern = pattern; in Vibration() 143 private boolean isAll0(long[] pattern) { in isAll0() argument 144 int N = pattern.length; in isAll0() 146 if (pattern[i] != 0) { in isAll0() 153 public void vibratePattern(long[] pattern, int repeat, IBinder token) { in vibratePattern() argument 164 int N = pattern.length; in vibratePattern() 166 s += " " + pattern[i]; in vibratePattern() [all …]
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | LockPatternUtils.java | 248 public boolean checkPattern(List<LockPatternView.Cell> pattern) { in checkPattern() argument 259 return Arrays.equals(stored, LockPatternUtils.patternToHash(pattern)); in checkPattern() 437 public void saveLockPattern(List<LockPatternView.Cell> pattern) { in saveLockPattern() argument 438 this.saveLockPattern(pattern, false); in saveLockPattern() 479 public void saveLockPattern(List<LockPatternView.Cell> pattern, boolean isFallback) { in saveLockPattern() argument 481 final byte[] hash = LockPatternUtils.patternToHash(pattern); in saveLockPattern() 486 if (pattern == null) { in saveLockPattern() 494 if (pattern != null) { in saveLockPattern() 495 keyStore.password(patternToString(pattern)); in saveLockPattern() 507 dpm.setActivePasswordState(DevicePolicyManager.PASSWORD_QUALITY_SOMETHING, pattern in saveLockPattern() [all …]
|
D | LockPatternView.java | 230 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/base/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/ |
D | omxVCM4P2_EncodeVLCZigzag_IntraDCVLC.c | 88 OMX_U8 pattern, in omxVCM4P2_EncodeVLCZigzag_IntraDCVLC() argument 106 if (pattern) in omxVCM4P2_EncodeVLCZigzag_IntraDCVLC() 155 pattern, in omxVCM4P2_EncodeVLCZigzag_IntraDCVLC()
|
D | omxVCM4P2_EncodeVLCZigzag_IntraACVLC.c | 81 OMX_U8 pattern, in omxVCM4P2_EncodeVLCZigzag_IntraACVLC() argument 92 pattern, in omxVCM4P2_EncodeVLCZigzag_IntraACVLC()
|
D | omxVCM4P2_EncodeVLCZigzag_Inter.c | 70 OMX_U8 pattern, in omxVCM4P2_EncodeVLCZigzag_Inter() argument 84 if (pattern) in omxVCM4P2_EncodeVLCZigzag_Inter()
|
D | armVCM4P2_EncodeVLCZigzag_intra.c | 77 OMX_U8 pattern, in armVCM4P2_EncodeVLCZigzag_Intra() argument 94 if (pattern) in armVCM4P2_EncodeVLCZigzag_Intra()
|
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
D | PatternUnlockScreen.java | 330 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/core/java/android/content/pm/ |
D | PathPermission.java | 31 public PathPermission(String pattern, int type, String readPermission, in PathPermission() argument 33 super(pattern, type); in PathPermission()
|
/frameworks/base/core/java/android/text/util/ |
D | Linkify.java | 302 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/media/libstagefright/codecs/m4v_h263/dec/src/ |
D | bitstream.cpp | 568 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/ |
D | EncodedStringValue.java | 212 public EncodedStringValue[] split(String pattern) { in split() argument 213 String[] temp = getString().split(pattern); in split()
|
/frameworks/compile/libbcc/tests/ |
D | disassem.cpp | 108 u_int pattern; member 317 if ((insn & i_ptr->mask) == i_ptr->pattern) { in disasm()
|
/frameworks/base/media/libstagefright/codecs/amrwbenc/inc/ |
D | homing.tab | 20 #define DHF_PARMS_MAX 32 /* homing frame pattern */
|
/frameworks/base/docs/html/guide/topics/ui/notifiers/ |
D | notifications.jd | 265 vibration pattern or with a vibration pattern defined by your application.</p> 267 <p>To use the default pattern, add {@link android.app.Notification#DEFAULT_VIBRATE} to the 273 <p>To define your own vibration pattern, pass an array of <em>long</em> values to the 280 <p>The long array defines the alternating pattern for the length of vibration off and on 283 The pattern can be as long as you like, but it can't be set to repeat. 295 light pattern (if available), or define your own color and pattern for the lights.</p> 303 <p>To define your own color and pattern, define a value for the <var>ledARGB</var> field
|
/frameworks/base/core/java/android/text/format/ |
D | DateFormat.java | 222 String pattern = sdf.toPattern(); in is24HourFormat() local 224 if (pattern.indexOf('H') >= 0) { in is24HourFormat()
|
/frameworks/base/core/java/android/widget/ |
D | TableLayout.java | 152 Pattern pattern = Pattern.compile("\\s*,\\s*"); in parseColumns() local 153 String[] columnDefs = pattern.split(sequence); in parseColumns()
|
/frameworks/base/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/api/ |
D | omxVC.h | 1468 OMX_U8 pattern, 1530 OMX_U8 pattern, 1576 OMX_U8 pattern,
|
/frameworks/base/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/api/ |
D | omxVC.h | 1468 OMX_U8 pattern, 1530 OMX_U8 pattern, 1576 OMX_U8 pattern,
|
/frameworks/base/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/api/ |
D | omxVC.h | 1468 OMX_U8 pattern, 1530 OMX_U8 pattern, 1576 OMX_U8 pattern,
|
/frameworks/base/test-runner/src/android/test/ |
D | MoreAsserts.java | 490 Pattern pattern = Pattern.compile(expectedRegex); in getMatcher() local 491 return pattern.matcher(actual); in getMatcher()
|
/frameworks/base/core/jni/ |
D | android_server_BluetoothService.cpp | 421 jstring pattern, jint attr_id) { in getDeviceServiceChannelNative() argument 429 const char *c_pattern = env->GetStringUTFChars(pattern, NULL); in getDeviceServiceChannelNative() 439 env->ReleaseStringUTFChars(pattern, c_pattern); in getDeviceServiceChannelNative() 937 jstring path, jstring pattern) { in discoverServicesNative() argument 947 const char *c_pattern = env->GetStringUTFChars(pattern, NULL); in discoverServicesNative() 965 env->ReleaseStringUTFChars(pattern, c_pattern); in discoverServicesNative()
|