/packages/apps/Email/emailcommon/src/org/apache/commons/io/filefilter/ |
H A D | RegexFileFilter.java | 48 /** 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 D | HapticFeedback.java | 31 * - 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 D | EmailHtmlUtil.java | 35 Pattern pattern = PLAIN_TEXT_TO_ESCAPE; 36 Matcher match = pattern.matcher(text);
|
/packages/apps/Email/tests/src/com/android/email/mail/transport/ |
H A D | MockTransport.java | 67 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 D | PathMatcher.java | 32 public void add(String pattern, int kind) { argument 33 String[] segments = Path.split(pattern);
|
/packages/apps/Settings/src/com/android/settings/ |
H A D | ConfirmLockPattern.java | 39 * 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 D | ChooseLockPattern.java | 44 * 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 D | RequestHandler.java | 112 final Pattern pattern = Pattern.compile("/?res/([\\w/]+)");
113 Matcher m = pattern.matcher(mUri.getPath());
|
H A D | Template.java | 186 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 D | EntityDeltaListTests.java | 177 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 D | OpenWnnDictionaryImplJni.c | 654 /* 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 D | correction.cpp | 807 This means that the 'sm' pattern wins over the 'ma' pattern.
|