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

/packages/apps/Email/emailcommon/src/org/apache/commons/io/filefilter/
H A DRegexFileFilter.java48 /** The regular expression pattern that will be used to match filenames */
49 private final Pattern pattern; field in class:RegexFileFilter
54 * @param pattern regular string expression to match
55 * @throws IllegalArgumentException if the pattern is null
57 public RegexFileFilter(String pattern) { argument
58 if (pattern == null) {
62 this.pattern = Pattern.compile(pattern);
68 * @param pattern regular string expression to match
70 * @throws IllegalArgumentException if the pattern i
72 RegexFileFilter(String pattern, IOCase caseSensitivity) argument
90 RegexFileFilter(String pattern, int flags) argument
103 RegexFileFilter(Pattern pattern) argument
[all...]
/packages/apps/Phone/src/com/android/phone/
H A DHapticFeedback.java31 * - a system resource for the pattern
32 * The pattern used is tuned per device and stored in an internal
65 /** If no pattern was found, vibrate for a small amount of time. */
67 /** Play the haptic pattern only once. */
134 * @return true If the system haptic pattern was found.
137 int[] pattern;
141 pattern = r.getIntArray(VIBRATION_PATTERN_ID);
143 Log.e(TAG, "Vibrate pattern missing.", nfe);
147 if (null == pattern || pattern
[all...]
/packages/apps/Email/src/com/android/email/mail/internet/
H A DEmailHtmlUtil.java35 Pattern pattern = PLAIN_TEXT_TO_ESCAPE;
36 Matcher match = pattern.matcher(text);
/packages/apps/Email/tests/src/com/android/email/mail/transport/
H A DMockTransport.java67 Transaction(String pattern, String[] responses) { argument
69 mPattern = pattern;
99 * Give the mock a pattern to wait for. No response will be sent.
100 * @param pattern Java RegEx to wait for
102 public void expect(String pattern) { argument
103 expect(pattern, (String[])null);
107 * Give the mock a pattern to wait for and a response to send back.
108 * @param pattern Java RegEx to wait for
111 public void expect(String pattern, String response) { argument
112 expect(pattern, (respons
120 expect(String pattern, String[] responses) argument
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/data/
H A DPathMatcher.java32 public void add(String pattern, int kind) { argument
33 String[] segments = Path.split(pattern);
/packages/apps/Settings/src/com/android/settings/
H A DConfirmLockPattern.java39 * Launch this when you want the user to confirm their lock pattern.
42 * successfully confirmed their pattern.
81 // how long we wait to clear a wrong pattern
120 // lock pattern view.
140 // on first launch, if no lock pattern is set, then finish with
231 // clear the wrong pattern unless they have started a new one
239 * The pattern listener that responds according to a user confirming
240 * an existing lock pattern.
253 public void onPatternCellAdded(List<Cell> pattern) {
257 public void onPatternDetected(List<LockPatternView.Cell> pattern) {
[all...]
H A DChooseLockPattern.java44 * If the user has a lock pattern set already, makes them confirm the existing one.
46 * Then, prompts the user to choose a lock pattern:
47 * - prompts for initial pattern
53 * Used by the choose lock pattern wizard to indicate the wizard is
94 // how long we wait to clear a wrong pattern
107 * The patten used during the help screen to show how to draw a pattern.
133 * The pattern listener that responds according to a user choosing a new
134 * lock pattern.
148 public void onPatternDetected(List<LockPatternView.Cell> pattern) {
151 "null chosen pattern i
[all...]
/packages/apps/Browser/src/com/android/browser/homepages/
H A DRequestHandler.java112 final Pattern pattern = Pattern.compile("/?res/([\\w/]+)");
113 Matcher m = pattern.matcher(mUri.getPath());
H A DTemplate.java186 final Pattern pattern = Pattern.compile("<%([=\\{])\\s*(\\w+)\\s*%>");
187 Matcher m = pattern.matcher(template);
237 final Pattern pattern = Pattern.compile("<%@\\s*(\\w+/\\w+)\\s*%>");
240 Matcher m = pattern.matcher(template);
/packages/apps/Contacts/tests/src/com/android/contacts/
H A DEntityDeltaListTests.java177 static void assertDiffPattern(EntityDelta delta, ContentProviderOperation... pattern) { argument
181 assertDiffPattern(diff, pattern);
184 static void assertDiffPattern(EntityDeltaList set, ContentProviderOperation... pattern) { argument
185 assertDiffPattern(set.buildDiff(), pattern);
189 ContentProviderOperation... pattern) {
190 assertEquals("Unexpected operations", pattern.length, diff.size());
191 for (int i = 0; i < pattern.length; i++) {
192 final ContentProviderOperation expected = pattern[i];
188 assertDiffPattern(ArrayList<ContentProviderOperation> diff, ContentProviderOperation... pattern) argument
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/
H A DOpenWnnDictionaryImplJni.c654 /* If the approx pattern registration area was full, return an error code */
683 const PREDEF_APPROX_PATTERN* pattern; local
685 pattern = predefinedApproxPatterns[ approxPattern ];
686 if( work->approxSet.charset_count + pattern->size <= NJ_MAX_CHARSET ) {
689 for( i = 0 ; i < pattern->size ; i++ ) {
699 /* Set approximate pattern */
700 from[ 0 ] = convertUTFCharToNjChar( pattern->from + i * 2 ); /* "2" means the size of UTF-16BE */
703 to[ 0 ] = convertUTFCharToNjChar( pattern->to + i * 2 ); /* "2" means the size of UTF-16BE */
706 work->approxSet.charset_count += pattern->size;
713 /* If the approx pattern registratio
[all...]
/packages/inputmethods/LatinIME/native/src/
H A Dcorrection.cpp807 This means that the 'sm' pattern wins over the 'ma' pattern.

Completed in 1939 milliseconds