/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 | 103 public void vibrate(long[] pattern, int repeat) { in vibrate() argument 104 vibrate(pattern, repeat, null); in vibrate() 131 public void vibrate(long[] pattern, int repeat, AudioAttributes attributes) { in vibrate() argument 132 vibrate(Process.myUid(), mPackageName, pattern, repeat, attributes); in vibrate() local 148 public abstract void vibrate(int uid, String opPkg, long[] pattern, int repeat, in vibrate() argument
|
D | SystemVibrator.java | 78 public void vibrate(int uid, String opPkg, long[] pattern, int repeat, in vibrate() argument 87 if (repeat < pattern.length) { in vibrate() 89 mService.vibratePattern(uid, opPkg, pattern, repeat, usageForAttributes(attributes), in vibrate()
|
D | NullVibrator.java | 52 public void vibrate(int uid, String opPkg, long[] pattern, int repeat, in vibrate() argument 54 if (repeat >= pattern.length) { in vibrate()
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/io/ |
D | PatternScanner.java | 44 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/services/core/java/com/android/server/ |
D | VibratorService.java | 110 Vibration(IBinder token, long[] pattern, int repeat, int usageHint, int uid, in Vibration() argument 112 this(token, 0, pattern, repeat, usageHint, uid, opPkg); in Vibration() 115 private Vibration(IBinder token, long millis, long[] pattern, in Vibration() argument 120 mPattern = pattern; in Vibration() 161 long[] pattern; field in VibratorService.VibrationInfo 167 public VibrationInfo(long timeout, long startTime, long[] pattern, int repeat, in VibrationInfo() argument 171 this.pattern = pattern; in VibrationInfo() 186 .append(Arrays.toString(pattern)) in toString() 317 private boolean isAll0(long[] pattern) { in isAll0() argument 318 int N = pattern.length; in isAll0() [all …]
|
D | ConsumerIrService.java | 33 private static native int halTransmit(long halObject, int carrierFrequency, int[] pattern); in halTransmit() argument 71 public void transmit(String packageName, int carrierFrequency, int[] pattern) { in transmit() argument 79 for (int slice : pattern) { in transmit() 94 int err = halTransmit(mNativeHal, carrierFrequency, pattern); in transmit()
|
/frameworks/base/core/java/android/text/util/ |
D | Linkify.java | 330 public static final void addLinks(@NonNull TextView text, @NonNull Pattern pattern, in addLinks() argument 332 addLinks(text, pattern, scheme, null, null, null); in addLinks() 349 public static final void addLinks(@NonNull TextView text, @NonNull Pattern pattern, in addLinks() argument 352 addLinks(text, pattern, scheme, null, matchFilter, transformFilter); in addLinks() 372 public static final void addLinks(@NonNull TextView text, @NonNull Pattern pattern, in addLinks() argument 377 boolean linksAdded = addLinks(spannable, pattern, defaultScheme, schemes, matchFilter, in addLinks() 394 public static final boolean addLinks(@NonNull Spannable text, @NonNull Pattern pattern, in addLinks() argument 396 return addLinks(text, pattern, scheme, null, null, null); in addLinks() 414 public static final boolean addLinks(@NonNull Spannable spannable, @NonNull Pattern pattern, in addLinks() argument 417 return addLinks(spannable, pattern, scheme, null, matchFilter, in addLinks() [all …]
|
/frameworks/av/media/ndk/ |
D | NdkMediaCodec.cpp | 389 cryptoinfo_pattern_t pattern; member 409 CryptoPlugin::Pattern pattern; in AMediaCodec_queueSecureInputBuffer() local 410 pattern.mEncryptBlocks = crypto->pattern.encryptBlocks; in AMediaCodec_queueSecureInputBuffer() 411 pattern.mSkipBlocks = crypto->pattern.skipBlocks; in AMediaCodec_queueSecureInputBuffer() 421 pattern, in AMediaCodec_queueSecureInputBuffer() 435 cryptoinfo_pattern_t *pattern) { in AMediaCodecCryptoInfo_setPattern() argument 436 info->pattern.encryptBlocks = pattern->encryptBlocks; in AMediaCodecCryptoInfo_setPattern() 437 info->pattern.skipBlocks = pattern->skipBlocks; in AMediaCodecCryptoInfo_setPattern() 460 ret->pattern.encryptBlocks = 0; in AMediaCodecCryptoInfo_new() 461 ret->pattern.skipBlocks = 0; in AMediaCodecCryptoInfo_new()
|
/frameworks/base/libs/hwui/ |
D | Dither.cpp | 50 const GLfloat pattern[] = { in bindDitherTexture() local 58 GL_RED, GL_FLOAT, &pattern); in bindDitherTexture() 60 const uint8_t pattern[] = { in bindDitherTexture() local 68 GL_ALPHA, GL_UNSIGNED_BYTE, &pattern); in bindDitherTexture()
|
/frameworks/native/opengl/libs/EGL/ |
D | Loader.cpp | 336 String8 pattern; in load_driver() local 337 pattern.appendFormat("lib%s", kind); in load_driver() 355 if (find(result, pattern, searchPaths[i], true)) { in load_driver() 365 pattern.append("_"); in load_driver() 367 if (find(result, pattern, searchPaths[i], false)) { in load_driver() 379 const String8& pattern, const char* const search, bool exact) { in load_driver() argument 382 absolutePath.appendFormat("%s/%s.so", search, pattern.string()); in load_driver() 402 if (strstr(e->d_name, pattern.string()) == e->d_name) { in load_driver()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | LockPatternUtils.java | 313 public byte[] verifyPattern(List<LockPatternView.Cell> pattern, long challenge, int userId) in verifyPattern() argument 318 getLockSettings().verifyPattern(patternToString(pattern), challenge, userId); in verifyPattern() 342 public boolean checkPattern(List<LockPatternView.Cell> pattern, int userId) in checkPattern() argument 347 getLockSettings().checkPattern(patternToString(pattern), userId); in checkPattern() 601 public void saveLockPattern(List<LockPatternView.Cell> pattern, int userId) { in saveLockPattern() argument 602 this.saveLockPattern(pattern, null, userId); in saveLockPattern() 610 … public void saveLockPattern(List<LockPatternView.Cell> pattern, String savedPattern, int userId) { in saveLockPattern() argument 612 if (pattern == null || pattern.size() < MIN_LOCK_PATTERN_SIZE) { in saveLockPattern() 617 getLockSettings().setLockPattern(patternToString(pattern), savedPattern, userId); in saveLockPattern() 626 String stringPattern = patternToString(pattern); in saveLockPattern() [all …]
|
D | LockPatternChecker.java | 51 final List<LockPatternView.Cell> pattern, in verifyPattern() argument 61 return utils.verifyPattern(pattern, challenge, userId); in verifyPattern() 86 final List<LockPatternView.Cell> pattern, in checkPattern() argument 95 return utils.checkPattern(pattern, userId); in checkPattern()
|
D | ILockSettings.aidl | 30 void setLockPattern(in String pattern, in String savedPattern, int userId); in setLockPattern() argument 32 VerifyCredentialResponse checkPattern(in String pattern, int userId); in checkPattern() argument 33 VerifyCredentialResponse verifyPattern(in String pattern, long challenge, int userId); in verifyPattern() argument
|
/frameworks/minikin/tools/ |
D | mk_hyb_file.py | 116 def trim(pattern): argument 117 for ix in range(len(pattern)): 118 if pattern[ix] != 0: 119 return pattern[ix:] 122 def pat_to_binary(pattern): argument 123 return b''.join(struct.pack('B', x) for x in pattern) 302 def generate_header(alphabet, trie, pattern): argument 306 file_size = pattern_off + len(pattern) 406 patmap, pattern = generate_pattern([n.res for n in hyph.node_list]) 408 header = generate_header(alphabet, trie, pattern) [all …]
|
/frameworks/av/media/libstagefright/foundation/ |
D | AStringUtils.cpp | 51 const char *pattern = glob + start; in MatchesGlob() local 59 return !Compare(tail, pattern, len, ignoreCase); in MatchesGlob() 62 while (ix + len <= strLen && Compare(str + ix, pattern, len, ignoreCase)) { in MatchesGlob()
|
/frameworks/minikin/doc/ |
D | hyb_file_format.md | 1 # Hyb (hyphenation pattern binary) file format 28 array, and the pattern field in the tuple is the pattern for that node. Further, each edge 38 The third section contains the pattern strings. This section is in two parts: first, 39 an array with a 3-tuple for each pattern (length, number of trailing 0's, and offset 40 into the string pool); and second, the string pool. Each pattern is encoded as a byte 107 Each element in the data table is `(pattern << pattern_shift) | (link << link_shift) | char`. 109 All known pattern tables fit in 32 bits total. If this is exceeded, there is a fairly 131 offset points to [4, 5] in the pattern buffer.
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/ |
D | omxVCM4P2_EncodeVLCZigzag_IntraDCVLC.c | 103 OMX_U8 pattern, in omxVCM4P2_EncodeVLCZigzag_IntraDCVLC() argument 121 if (pattern) in omxVCM4P2_EncodeVLCZigzag_IntraDCVLC() 170 pattern, in omxVCM4P2_EncodeVLCZigzag_IntraDCVLC()
|
D | omxVCM4P2_EncodeVLCZigzag_IntraACVLC.c | 96 OMX_U8 pattern, in omxVCM4P2_EncodeVLCZigzag_IntraACVLC() argument 107 pattern, in omxVCM4P2_EncodeVLCZigzag_IntraACVLC()
|
D | omxVCM4P2_EncodeVLCZigzag_Inter.c | 85 OMX_U8 pattern, in omxVCM4P2_EncodeVLCZigzag_Inter() argument 99 if (pattern) in omxVCM4P2_EncodeVLCZigzag_Inter()
|
/frameworks/base/core/tests/coretests/src/android/util/ |
D | PatternsTest.java | 63 Pattern pattern = Pattern.compile(Patterns.IANA_TOP_LEVEL_DOMAINS); in testIanaTopLevelDomains_matchesValidTld() local 64 assertTrue("Should match 'com'", pattern.matcher("com").matches()); in testIanaTopLevelDomains_matchesValidTld() 69 Pattern pattern = Pattern.compile(Patterns.IANA_TOP_LEVEL_DOMAINS); in testIanaTopLevelDomains_matchesValidNewTld() local 70 assertTrue("Should match 'me'", pattern.matcher("me").matches()); in testIanaTopLevelDomains_matchesValidNewTld() 75 Pattern pattern = Pattern.compile(Patterns.IANA_TOP_LEVEL_DOMAINS); in testIanaTopLevelDomains_matchesPunycodeTld() local 76 assertTrue("Should match Punycode TLD", pattern.matcher("xn--qxam").matches()); in testIanaTopLevelDomains_matchesPunycodeTld() 81 Pattern pattern = Pattern.compile(Patterns.IANA_TOP_LEVEL_DOMAINS); in testIanaTopLevelDomains_matchesIriTLD() local 82 assertTrue("Should match IRI TLD", pattern.matcher("\uD55C\uAD6D").matches()); in testIanaTopLevelDomains_matchesIriTLD() 87 Pattern pattern = Pattern.compile(Patterns.IANA_TOP_LEVEL_DOMAINS); in testIanaTopLevelDomains_doesNotMatchWrongTld() local 88 assertFalse("Should not match 'mem'", pattern.matcher("mem").matches()); in testIanaTopLevelDomains_doesNotMatchWrongTld() [all …]
|
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/ |
D | check_dims.rs | 3 int pattern; 12 if (*o != pattern) {
|
/frameworks/base/docs/html/training/design-navigation/ |
D | descendant-lateral.jd | 70 …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.<… 75 …pattern 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> 149 …pattern 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/av/media/libmedia/ |
D | ICrypto.cpp | 101 CryptoPlugin::Mode mode, const CryptoPlugin::Pattern &pattern, in decrypt() 110 data.writeInt32(pattern.mEncryptBlocks); in decrypt() 111 data.writeInt32(pattern.mSkipBlocks); in decrypt() 285 CryptoPlugin::Pattern pattern; in onTransact() local 286 pattern.mEncryptBlocks = data.readInt32(); in onTransact() 287 pattern.mSkipBlocks = data.readInt32(); in onTransact() 356 mode, pattern, in onTransact()
|
/frameworks/data-binding/gradlePlugin/src/main/java/android/databinding/tool/ |
D | DataBindingExcludeGeneratedTask.java | 101 private void exclude(String pattern) { in exclude() argument 102 L.d("exclude %s", pattern); in exclude() 103 packageTask.exclude(pattern); in exclude()
|