/frameworks/support/transition/tests/src/android/support/transition/ |
D | PatternPathMotionTest.java | 35 Path pattern = new Path(); in testStraightPath() local 36 pattern.moveTo(100, 500); in testStraightPath() 37 pattern.lineTo(300, 1000); in testStraightPath() 39 PatternPathMotion pathMotion = new PatternPathMotion(pattern); in testStraightPath() 40 assertPathMatches(pattern, pathMotion.getPatternPath()); in testStraightPath() 52 Path pattern = new Path(); in testCurve() local 54 pattern.addArc(oval, 0, 180); in testCurve() 56 PatternPathMotion pathMotion = new PatternPathMotion(pattern); in testCurve() 57 assertPathMatches(pattern, pathMotion.getPatternPath()); in testCurve() 68 Path pattern = new Path(); in testSetPatternPath() local [all …]
|
/frameworks/base/core/java/android/os/ |
D | PatternMatcher.java | 94 public PatternMatcher(String pattern, int type) { in PatternMatcher() argument 95 mPattern = pattern; in PatternMatcher() 98 mParsedPattern = parseAndVerifyAdvancedPattern(pattern); in PatternMatcher() 162 static boolean matchPattern(String match, String pattern, int[] parsedPattern, int type) { in matchPattern() argument 165 return pattern.equals(match); in matchPattern() 167 return match.startsWith(pattern); in matchPattern() 169 return matchGlobPattern(pattern, match); in matchPattern() 176 static boolean matchGlobPattern(String pattern, String match) { in matchGlobPattern() argument 177 final int NP = pattern.length(); in matchGlobPattern() 183 char nextChar = pattern.charAt(0); in matchGlobPattern() [all …]
|
D | Vibrator.java | 125 public void vibrate(long[] pattern, int repeat) { in vibrate() argument 126 vibrate(pattern, repeat, null); in vibrate() 155 public void vibrate(long[] pattern, int repeat, AudioAttributes attributes) { in vibrate() argument 158 if (repeat < -1 || repeat >= pattern.length) { in vibrate() 160 " (pattern.length=" + pattern.length + ", index=" + repeat + ")"); in vibrate() 165 vibrate(VibrationEffect.createWaveform(pattern, repeat), attributes); 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/core/java/android/text/util/ |
D | Linkify.java | 329 public static final void addLinks(@NonNull TextView text, @NonNull Pattern pattern, in addLinks() argument 331 addLinks(text, pattern, scheme, null, null, null); in addLinks() 348 public static final void addLinks(@NonNull TextView text, @NonNull Pattern pattern, in addLinks() argument 351 addLinks(text, pattern, scheme, null, matchFilter, transformFilter); in addLinks() 371 public static final void addLinks(@NonNull TextView text, @NonNull Pattern pattern, in addLinks() argument 376 boolean linksAdded = addLinks(spannable, pattern, defaultScheme, schemes, matchFilter, in addLinks() 393 public static final boolean addLinks(@NonNull Spannable text, @NonNull Pattern pattern, in addLinks() argument 395 return addLinks(text, pattern, scheme, null, null, null); in addLinks() 413 public static final boolean addLinks(@NonNull Spannable spannable, @NonNull Pattern pattern, in addLinks() argument 416 return addLinks(spannable, pattern, scheme, null, matchFilter, in addLinks() [all …]
|
/frameworks/support/compat/java/android/support/v4/text/util/ |
D | LinkifyCompat.java | 198 public static final void addLinks(@NonNull TextView text, @NonNull Pattern pattern, in addLinks() argument 200 addLinks(text, pattern, scheme, null, null, null); in addLinks() 217 public static final void addLinks(@NonNull TextView text, @NonNull Pattern pattern, in addLinks() argument 220 addLinks(text, pattern, scheme, null, matchFilter, transformFilter); in addLinks() 240 public static final void addLinks(@NonNull TextView text, @NonNull Pattern pattern, in addLinks() argument 245 boolean linksAdded = addLinks(spannable, pattern, defaultScheme, schemes, matchFilter, in addLinks() 262 public static final boolean addLinks(@NonNull Spannable text, @NonNull Pattern pattern, in addLinks() argument 264 return addLinks(text, pattern, scheme, null, null, null); in addLinks() 282 public static final boolean addLinks(@NonNull Spannable spannable, @NonNull Pattern pattern, in addLinks() argument 285 return addLinks(spannable, pattern, scheme, null, matchFilter, in addLinks() [all …]
|
/frameworks/base/services/core/java/com/android/server/ |
D | ConsumerIrService.java | 33 private static native int halTransmit(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(carrierFrequency, pattern); in transmit()
|
/frameworks/support/samples/SupportLeanbackShowcase/ |
D | build-release.py | 9 def replace(inputFile, pattern, newVal, ): argument 14 if re.match(pattern, line, re.I|re.M): 15 line = re.sub(pattern, newVal, line)
|
D | build-local.py | 9 def replace(inputFile, pattern, newVal, ): argument 14 if re.match(pattern, line, re.I|re.M): 15 line = re.sub(pattern, newVal, line)
|
/frameworks/av/media/ndk/ |
D | NdkMediaCodec.cpp | 495 cryptoinfo_pattern_t pattern; member 515 CryptoPlugin::Pattern pattern; in AMediaCodec_queueSecureInputBuffer() local 516 pattern.mEncryptBlocks = crypto->pattern.encryptBlocks; in AMediaCodec_queueSecureInputBuffer() 517 pattern.mSkipBlocks = crypto->pattern.skipBlocks; in AMediaCodec_queueSecureInputBuffer() 527 pattern, in AMediaCodec_queueSecureInputBuffer() 541 cryptoinfo_pattern_t *pattern) { in AMediaCodecCryptoInfo_setPattern() argument 542 info->pattern.encryptBlocks = pattern->encryptBlocks; in AMediaCodecCryptoInfo_setPattern() 543 info->pattern.skipBlocks = pattern->skipBlocks; in AMediaCodecCryptoInfo_setPattern() 566 ret->pattern.encryptBlocks = 0; in AMediaCodecCryptoInfo_new() 567 ret->pattern.skipBlocks = 0; in AMediaCodecCryptoInfo_new()
|
/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/base/core/java/com/android/internal/widget/ |
D | LockPatternUtils.java | 365 public byte[] verifyPattern(List<LockPatternView.Cell> pattern, long challenge, int userId) in verifyPattern() argument 368 return verifyCredential(patternToString(pattern), CREDENTIAL_TYPE_PATTERN, challenge, in verifyPattern() 378 public boolean checkPattern(List<LockPatternView.Cell> pattern, int userId) in checkPattern() argument 380 return checkPattern(pattern, userId, null /* progressCallback */); in checkPattern() 389 public boolean checkPattern(List<LockPatternView.Cell> pattern, int userId, in checkPattern() argument 393 return checkCredential(patternToString(pattern), CREDENTIAL_TYPE_PATTERN, userId, in checkPattern() 628 public void saveLockPattern(List<LockPatternView.Cell> pattern, int userId) { in saveLockPattern() argument 629 this.saveLockPattern(pattern, null, userId); in saveLockPattern() 637 … public void saveLockPattern(List<LockPatternView.Cell> pattern, String savedPattern, int userId) { in saveLockPattern() argument 639 if (pattern == null || pattern.size() < MIN_LOCK_PATTERN_SIZE) { in saveLockPattern() [all …]
|
D | LockPatternChecker.java | 64 final List<LockPatternView.Cell> pattern, in verifyPattern() argument 76 patternCopy = new ArrayList(pattern); in verifyPattern() 107 final List<LockPatternView.Cell> pattern, in checkPattern() argument 118 patternCopy = new ArrayList(pattern); in checkPattern()
|
/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()
|
D | armVCM4P2_EncodeVLCZigzag_intra.c | 92 OMX_U8 pattern, in armVCM4P2_EncodeVLCZigzag_Intra() argument 109 if (pattern) in armVCM4P2_EncodeVLCZigzag_Intra()
|
/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/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/native/opengl/libs/EGL/ |
D | Loader.cpp | 346 std::string pattern = std::string("lib") + kind; in load_system_driver() local 364 if (find(result, pattern, searchPaths[i], true)) { in load_system_driver() 374 pattern.append("_"); in load_system_driver() 376 if (find(result, pattern, searchPaths[i], false)) { in load_system_driver() 388 const std::string& pattern, const char* const search, bool exact) { in load_system_driver() argument 390 std::string absolutePath = std::string(search) + "/" + pattern; in load_system_driver() 410 if (strstr(e->d_name, pattern.c_str()) == e->d_name) { in load_system_driver()
|
/frameworks/rs/tests/java_api/RsTest/src/com/android/rs/test/ |
D | check_dims.rs | 3 int pattern; 12 if (*o != pattern) {
|
/frameworks/base/tools/aapt2/xml/ |
D | XmlDom_test.cpp | 55 <element value="\?hello" pattern="\\d{5}">\\d{5}</element>)EOF"); 60 xml::Attribute* attr = el->FindAttribute({}, "pattern");
|
/frameworks/av/media/libaaudio/scripts/ |
D | convert_typedefs_int32.sh | 15 pattern=$2 16 …find $path -type f -name $pattern -exec sed -i -f ${LIBAAUDIO_DIR}/scripts/typedefs_to_int32.sed …
|
/frameworks/support/compat/tests/java/android/support/v4/util/ |
D | PatternsCompatTest.java | 38 Pattern pattern = Pattern.compile(PatternsCompat.IANA_TOP_LEVEL_DOMAINS); in testIanaTopLevelDomains_matchesValidTld() local 39 assertTrue("Should match 'com'", pattern.matcher("com").matches()); in testIanaTopLevelDomains_matchesValidTld() 44 Pattern pattern = Pattern.compile(PatternsCompat.IANA_TOP_LEVEL_DOMAINS); in testIanaTopLevelDomains_matchesValidNewTld() local 45 assertTrue("Should match 'me'", pattern.matcher("me").matches()); in testIanaTopLevelDomains_matchesValidNewTld() 50 Pattern pattern = Pattern.compile(PatternsCompat.IANA_TOP_LEVEL_DOMAINS); in testIanaTopLevelDomains_matchesPunycodeTld() local 51 assertTrue("Should match Punycode TLD", pattern.matcher("xn--qxam").matches()); in testIanaTopLevelDomains_matchesPunycodeTld() 56 Pattern pattern = Pattern.compile(PatternsCompat.IANA_TOP_LEVEL_DOMAINS); in testIanaTopLevelDomains_matchesIriTLD() local 57 assertTrue("Should match IRI TLD", pattern.matcher("\uD55C\uAD6D").matches()); in testIanaTopLevelDomains_matchesIriTLD() 62 Pattern pattern = Pattern.compile(PatternsCompat.IANA_TOP_LEVEL_DOMAINS); in testIanaTopLevelDomains_doesNotMatchWrongTld() local 63 assertFalse("Should not match 'mem'", pattern.matcher("mem").matches()); in testIanaTopLevelDomains_doesNotMatchWrongTld() [all …]
|
/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()
|