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

123456

/frameworks/support/transition/tests/src/android/support/transition/
H A DPatternPathMotionTest.java35 Path pattern = new Path();
36 pattern.moveTo(100, 500);
37 pattern.lineTo(300, 1000);
39 PatternPathMotion pathMotion = new PatternPathMotion(pattern);
40 assertPathMatches(pattern, pathMotion.getPatternPath());
52 Path pattern = new Path();
54 pattern.addArc(oval, 0, 180);
56 PatternPathMotion pathMotion = new PatternPathMotion(pattern);
57 assertPathMatches(pattern, pathMotion.getPatternPath());
68 Path pattern
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/
H A DomxVCM4P2_EncodeVLCZigzag_IntraACVLC.c57 * scan pattern; takes one of the following values:
64 * pattern - block pattern which is used to decide whether this block is
96 OMX_U8 pattern,
107 pattern,
91 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.c58 * pattern - block pattern which is used to decide whether this block is
85 OMX_U8 pattern,
99 if (pattern)
81 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.c60 * the zigzag scan pattern. This takes one of the
71 * [in] pattern block pattern which is used to decide whether
92 OMX_U8 pattern,
109 if (pattern)
87 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.c62 * scan pattern; takes one of the following values:
69 * pattern - block pattern which is used to decide whether this block is
103 OMX_U8 pattern,
121 if (pattern)
170 pattern,
98 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/core/java/android/hardware/
H A DIConsumerIrService.aidl23 void transmit(String packageName, int carrierFrequency, in int[] pattern);
H A DConsumerIrManager.java64 * Transmit an infrared pattern
66 * This method is synchronous; when it returns the pattern has
72 * @param pattern The alternating on/off pattern in microseconds to transmit.
74 public void transmit(int carrierFrequency, int[] pattern) { argument
81 mService.transmit(mPackageName, carrierFrequency, pattern);
/frameworks/base/core/java/android/os/
H A DPatternMatcher.java24 * A simple pattern matcher, which is safe to use on untrusted data: it does
30 * Pattern type: the given pattern must exactly match the string it is
36 * Pattern type: the given pattern must match the
42 * Pattern type: the given pattern is interpreted with a
53 * Pattern type: the given pattern is interpreted with a regular
59 * evaluation implementation in which matching is done against the pattern in
91 // workspace to use for building a parsed advanced pattern;
94 public PatternMatcher(String pattern, int type) { argument
95 mPattern = pattern;
98 mParsedPattern = parseAndVerifyAdvancedPattern(pattern);
162 matchPattern(String match, String pattern, int[] parsedPattern, int type) argument
176 matchGlobPattern(String pattern, String match) argument
261 parseAndVerifyAdvancedPattern(String pattern) argument
[all...]
H A DVibrator.java104 * Vibrate with a given pattern.
113 * To cause the pattern to repeat, pass the index into the pattern array at which
117 * @param pattern an array of longs of times for which to turn the vibrator on or off.
118 * @param repeat the index into pattern at which to repeat, or -1 if
125 public void vibrate(long[] pattern, int repeat) { argument
126 vibrate(pattern, repeat, null);
130 * Vibrate with a given pattern.
139 * To cause the pattern to repeat, pass the index into the pattern arra
155 vibrate(long[] pattern, int repeat, AudioAttributes attributes) argument
[all...]
/frameworks/support/frameworks/support/samples/SupportLeanbackShowcase/
H A Dbuild-release.py8 # Does an inplace substitution of the pattern with newVal in inputFile
9 def replace(inputFile, pattern, newVal, ):
14 if re.match(pattern, line, re.I|re.M):
15 line = re.sub(pattern, newVal, line)
H A Dbuild-local.py8 # Does an inplace substitution of the pattern with newVal in inputFile
9 def replace(inputFile, pattern, newVal, ):
14 if re.match(pattern, line, re.I|re.M):
15 line = re.sub(pattern, newVal, line)
/frameworks/support/samples/SupportLeanbackShowcase/
H A Dbuild-release.py8 # Does an inplace substitution of the pattern with newVal in inputFile
9 def replace(inputFile, pattern, newVal, ):
14 if re.match(pattern, line, re.I|re.M):
15 line = re.sub(pattern, newVal, line)
H A Dbuild-local.py8 # Does an inplace substitution of the pattern with newVal in inputFile
9 def replace(inputFile, pattern, newVal, ):
14 if re.match(pattern, line, re.I|re.M):
15 line = re.sub(pattern, newVal, line)
/frameworks/av/media/libaaudio/scripts/
H A Dconvert_typedefs_int32.sh15 pattern=$2
16 find $path -type f -name $pattern -exec sed -i -f ${LIBAAUDIO_DIR}/scripts/typedefs_to_int32.sed {} \;
H A Dconvert_oboe_aaudio.sh16 pattern=$2
17 find $path -type f -name $pattern -exec sed -i -f ${LIBOBOE_DIR}/scripts/oboe_to_aaudio.sed {} \;
/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/tools/aapt2/xml/
H A DXmlDom_test.cpp55 <element value="\?hello" pattern="\\d{5}">\\d{5}</element>)EOF");
60 xml::Attribute* attr = el->FindAttribute({}, "pattern");
/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/services/core/java/com/android/server/
H A DConsumerIrService.java33 private static native int halTransmit(int carrierFrequency, int[] pattern); argument
71 public void transmit(String packageName, int carrierFrequency, int[] pattern) { argument
79 for (int slice : pattern) {
87 throw new IllegalArgumentException("IR pattern too long");
94 int err = halTransmit(carrierFrequency, pattern);
/frameworks/support/
H A DAndroid.mk23 # specified pattern but do not match another pattern. This
26 # $(2): the file name pattern to match.
27 # $(3): the file name pattern to exclude.
41 ## the file name matches the specified pattern but does not
42 ## match another pattern. Meant to be used like:
52 ## the file name matches the specified pattern but does not
53 ## match another pattern.
/frameworks/av/media/libstagefright/foundation/
H A DAStringUtils.cpp34 // pattern must match until first '*'
51 const char *pattern = glob + start; local
54 // last pattern must match tail
59 return !Compare(tail, pattern, len, ignoreCase);
61 // progress after first occurrence of pattern
62 while (ix + len <= strLen && Compare(str + ix, pattern, len, ignoreCase)) {
72 // we only get here if there were no * in the pattern
/frameworks/base/core/java/android/text/util/
H A DLinkify.java56 * Alone with the pattern that is to be matched, a URL scheme prefix is also
57 * required. Any pattern match that does not begin with the supplied scheme
60 * the scheme <code>http://</code>. If the pattern matches example.com, which
169 * support@example.com. So, when matching against a web URL pattern you
175 * Examines the character span matched by the pattern and determines
178 * @param s The body of text against which the pattern
181 * matched by the pattern - inclusive
325 * @param pattern Regex pattern to be used for finding links
329 public static final void addLinks(@NonNull TextView text, @NonNull Pattern pattern, argument
348 addLinks(@onNull TextView text, @NonNull Pattern pattern, @Nullable String scheme, @Nullable MatchFilter matchFilter, @Nullable TransformFilter transformFilter) argument
371 addLinks(@onNull TextView text, @NonNull Pattern pattern, @Nullable String defaultScheme, @Nullable String[] schemes, @Nullable MatchFilter matchFilter, @Nullable TransformFilter transformFilter) argument
393 addLinks(@onNull Spannable text, @NonNull Pattern pattern, @Nullable String scheme) argument
413 addLinks(@onNull Spannable spannable, @NonNull Pattern pattern, @Nullable String scheme, @Nullable MatchFilter matchFilter, @Nullable TransformFilter transformFilter) argument
436 addLinks(@onNull Spannable spannable, @NonNull Pattern pattern, @Nullable String defaultScheme, @Nullable String[] schemes, @Nullable MatchFilter matchFilter, @Nullable TransformFilter transformFilter) argument
509 gatherLinks(ArrayList<LinkSpec> links, Spannable s, Pattern pattern, String[] schemes, MatchFilter matchFilter, TransformFilter transformFilter) argument
[all...]
/frameworks/support/compat/java/android/support/v4/text/util/
H A DLinkifyCompat.java194 * @param pattern Regex pattern to be used for finding links
198 public static final void addLinks(@NonNull TextView text, @NonNull Pattern pattern, argument
200 addLinks(text, pattern, scheme, null, null, null);
210 * @param pattern Regex pattern to be used for finding links
214 * additional control over which pattern matches are
217 public static final void addLinks(@NonNull TextView text, @NonNull Pattern pattern, argument
220 addLinks(text, pattern, scheme, null, matchFilter, transformFilter);
230 * @param pattern Rege
240 addLinks(@onNull TextView text, @NonNull Pattern pattern, @Nullable String defaultScheme, @Nullable String[] schemes, @Nullable MatchFilter matchFilter, @Nullable TransformFilter transformFilter) argument
262 addLinks(@onNull Spannable text, @NonNull Pattern pattern, @Nullable String scheme) argument
282 addLinks(@onNull Spannable spannable, @NonNull Pattern pattern, @Nullable String scheme, @Nullable MatchFilter matchFilter, @Nullable TransformFilter transformFilter) argument
305 addLinks(@onNull Spannable spannable, @NonNull Pattern pattern, @Nullable String defaultScheme, @Nullable String[] schemes, @Nullable MatchFilter matchFilter, @Nullable TransformFilter transformFilter) argument
382 gatherLinks(ArrayList<LinkSpec> links, Spannable s, Pattern pattern, String[] schemes, Linkify.MatchFilter matchFilter, Linkify.TransformFilter transformFilter) argument
[all...]
/frameworks/data-binding/gradlePlugin/src/main/java/android/databinding/tool/
H A DDataBindingExcludeGeneratedTask.java101 private void exclude(String pattern) { argument
102 L.d("exclude %s", pattern);
103 packageTask.exclude(pattern);
/frameworks/base/core/java/com/android/internal/widget/
H A DLockPatternChecker.java55 * Verify a pattern asynchronously.
58 * @param pattern The pattern to check.
59 * @param challenge The challenge to verify against the pattern.
60 * @param userId The user to check against the pattern.
64 final List<LockPatternView.Cell> pattern,
74 // Make a copy of the pattern to prevent race conditions.
76 patternCopy = new ArrayList(pattern);
99 * Checks a pattern asynchronously.
102 * @param pattern Th
63 verifyPattern(final LockPatternUtils utils, final List<LockPatternView.Cell> pattern, final long challenge, final int userId, final OnVerifyCallback callback) argument
106 checkPattern(final LockPatternUtils utils, final List<LockPatternView.Cell> pattern, final int userId, final OnCheckCallback callback) argument
[all...]

Completed in 617 milliseconds

123456