/packages/apps/UnifiedEmail/src/org/apache/commons/io/filefilter/ |
D | RegexFileFilter.java | 49 private final Pattern pattern; field in RegexFileFilter 57 public RegexFileFilter(String pattern) { in RegexFileFilter() argument 58 if (pattern == null) { in RegexFileFilter() 62 this.pattern = Pattern.compile(pattern); in RegexFileFilter() 72 public RegexFileFilter(String pattern, IOCase caseSensitivity) { in RegexFileFilter() argument 73 if (pattern == null) { in RegexFileFilter() 80 this.pattern = Pattern.compile(pattern, flags); in RegexFileFilter() 90 public RegexFileFilter(String pattern, int flags) { in RegexFileFilter() argument 91 if (pattern == null) { in RegexFileFilter() 94 this.pattern = Pattern.compile(pattern, flags); in RegexFileFilter() [all …]
|
/packages/apps/Contacts/src/com/android/contacts/datepicker/ |
D | ICU.java | 9 public static char[] getDateFormatOrder(String pattern) { in getDateFormatOrder() argument 16 for (int i = 0; i < pattern.length(); ++i) { in getDateFormatOrder() 17 char ch = pattern.charAt(i); in getDateFormatOrder() 33 + ch + "' in " + pattern); in getDateFormatOrder() 35 if (i < pattern.length() - 1 && pattern.charAt(i + 1) == '\'') { in getDateFormatOrder() 38 i = pattern.indexOf('\'', i + 1); in getDateFormatOrder() 40 throw new IllegalArgumentException("Bad quoting in " + pattern); in getDateFormatOrder()
|
D | DatePicker.java | 208 String pattern = DateFormat.getBestDateTimePattern(Locale.getDefault(), skeleton); in reorderPickers() local 209 char[] order = ICU.getDateFormatOrder(pattern); in reorderPickers()
|
/packages/apps/Email/tests/src/com/android/email/mail/transport/ |
D | MockTransport.java | 65 Transaction(String pattern, String[] responses) { in Transaction() argument 67 mPattern = pattern; in Transaction() 108 public void expect(String pattern) { in expect() argument 109 expect(pattern, (String[]) null); in expect() 117 public void expect(String pattern, String response) { in expect() argument 118 expect(pattern, (response == null) ? null : new String[] {response}); in expect() 126 public void expect(String pattern, String[] responses) { in expect() argument 127 Transaction pair = new Transaction(pattern, responses); in expect()
|
/packages/apps/Settings/src/com/android/settings/ |
D | ConfirmLockPattern.java | 397 public void onPatternCellAdded(List<Cell> pattern) { 401 public void onPatternDetected(List<LockPatternView.Cell> pattern) { 413 startVerifyPattern(pattern, intent); 417 startCheckPattern(pattern, intent); 428 private void startVerifyPattern(final List<LockPatternView.Cell> pattern, 454 mLockPatternUtils, pattern, challenge, localUserId, 457 mLockPatternUtils, LockPatternUtils.patternToString(pattern), 461 private void startCheckPattern(final List<LockPatternView.Cell> pattern, 463 if (pattern.size() < LockPatternUtils.MIN_PATTERN_REGISTER_FAIL) { 471 pattern, [all …]
|
D | ChooseLockPattern.java | 86 boolean requirePassword, String pattern, int userId) { in createIntent() argument 88 intent.putExtra(ChooseLockSettingsHelper.EXTRA_KEY_PASSWORD, pattern); in createIntent() 205 public void onPatternDetected(List<LockPatternView.Cell> pattern) { 209 if (mChosenPattern.equals(pattern)) { 215 if (pattern.size() < LockPatternUtils.MIN_LOCK_PATTERN_SIZE) { 218 mChosenPattern = new ArrayList<LockPatternView.Cell>(pattern); 227 public void onPatternCellAdded(List<Cell> pattern) {
|
D | SetupChooseLockPattern.java | 52 public static Intent createIntent(Context context, boolean requirePassword, String pattern) { in createIntent() argument 54 context, requirePassword, pattern, UserHandle.myUserId()); in createIntent()
|
D | SetupChooseLockGeneric.java | 239 final String pattern, int userId) { in getLockPatternIntent() argument 241 pattern); in getLockPatternIntent()
|
D | CryptKeeper.java | 728 public void onPatternDetected(List<LockPatternView.Cell> pattern) { 730 if (pattern.size() >= MIN_LENGTH_BEFORE_REPORT) { 731 new DecryptTask().execute(LockPatternUtils.patternToString(pattern)); 739 public void onPatternCellAdded(List<Cell> pattern) {
|
D | ChooseLockGeneric.java | 361 Preference pattern = findPreference(KEY_UNLOCK_SET_PATTERN); in updatePreferenceText() local 362 pattern.setTitle(R.string.fingerprint_unlock_set_unlock_pattern); in updatePreferenceText() 581 final String pattern, int userId) { in getLockPatternIntent() argument 582 return ChooseLockPattern.createIntent(context, requirePassword, pattern, userId); in getLockPatternIntent()
|
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
D | VeiledAddressMatcher.java | 101 private final void loadPattern(String pattern) { in loadPattern() argument 102 if (!TextUtils.isEmpty(pattern)) { in loadPattern() 103 final int hashCode = pattern.hashCode(); in loadPattern() 106 mMatcher = Pattern.compile(pattern); in loadPattern()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
D | BluetoothOppLauncherActivity.java | 273 Pattern pattern = Pattern.compile("(" in creatFileForSharedContent() local 274 + Patterns.WEB_URL.pattern() + ")|(" in creatFileForSharedContent() 275 + Patterns.EMAIL_ADDRESS.pattern() + ")|(" in creatFileForSharedContent() 276 + Patterns.PHONE.pattern() + ")"); in creatFileForSharedContent() 278 Matcher m = pattern.matcher(text); in creatFileForSharedContent() 350 Pattern pattern = PLAIN_TEXT_TO_ESCAPE; in escapeCharacterToDisplay() local 351 Matcher match = pattern.matcher(text); in escapeCharacterToDisplay()
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
D | Utils.java | 544 String pattern = DateFormat.getBestDateTimePattern(Locale.getDefault(), "hma"); in get12ModeFormat() local 546 pattern = pattern.replaceAll("a", "").trim(); in get12ModeFormat() 550 pattern = pattern.replaceAll(" ", "\u200A"); in get12ModeFormat() 552 int amPmPos = pattern.indexOf('a'); in get12ModeFormat() 554 return pattern; in get12ModeFormat() 559 final Spannable sp = new SpannableString(pattern); in get12ModeFormat() 571 sp.setSpan(new RelativeSizeSpan(proportion), 0, pattern.length(), in get12ModeFormat()
|
D | AlarmUtils.java | 41 final String pattern = DateFormat.getBestDateTimePattern(Locale.getDefault(), skeleton); in getFormattedTime() local 42 return (String) DateFormat.format(pattern, time); in getFormattedTime()
|
/packages/apps/UnifiedEmail/src/com/android/mail/preferences/ |
D | MailPrefs.java | 389 for (String pattern : currentPatterns) { in getDisplayImagesFromSender() 390 displayImages = Pattern.compile(pattern).matcher(sender).matches(); in getDisplayImagesFromSender() 405 for (Pattern pattern : allowedPatterns) { in setDisplayImagesFromSender() 406 if (pattern.matcher(sender).matches()) { in setDisplayImagesFromSender() 410 final String patternRegex = pattern.pattern(); in setDisplayImagesFromSender()
|
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/ |
D | RawContactDeltaListTests.java | 181 static void assertDiffPattern(RawContactDelta delta, CPOWrapper... pattern) { in assertDiffPattern() argument 185 assertDiffPattern(diff, pattern); in assertDiffPattern() 188 static void assertDiffPattern(RawContactDeltaList set, CPOWrapper... pattern) { in assertDiffPattern() argument 189 assertDiffPattern(set.buildDiffWrapper(), pattern); in assertDiffPattern() local 192 static void assertDiffPattern(ArrayList<CPOWrapper> diff, CPOWrapper... pattern) { in assertDiffPattern() argument 193 assertEquals("Unexpected operations", pattern.length, diff.size()); in assertDiffPattern() 194 for (int i = 0; i < pattern.length; i++) { in assertDiffPattern() 195 final CPOWrapper expected = pattern[i]; in assertDiffPattern()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
D | ResourceUtils.java | 162 for (final String pattern : patterns) { in fulfillsCondition() 163 final int posEqual = pattern.indexOf('='); in fulfillsCondition() 167 final String key = pattern.substring(0, posEqual); in fulfillsCondition() 172 final String patternRegexpValue = pattern.substring(posEqual + 1); in fulfillsCondition()
|
/packages/apps/Email/src/com/android/email/mail/internet/ |
D | EmailHtmlUtil.java | 35 Pattern pattern = PLAIN_TEXT_TO_ESCAPE; in escapeCharacterToDisplay() local 36 Matcher match = pattern.matcher(text); in escapeCharacterToDisplay()
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/ |
D | DateUtils.java | 206 final String pattern = ((SimpleDateFormat) SimpleDateFormat.getDateInstance( in getLocalizedDateFormatWithoutYear() local 210 final String yearPattern = pattern.contains( in getLocalizedDateFormatWithoutYear() 214 return new SimpleDateFormat(pattern.replaceAll(yearPattern, "")); in getLocalizedDateFormatWithoutYear()
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
D | PathMatcher.java | 32 public void add(String pattern, int kind) { in add() argument 33 String[] segments = Path.split(pattern); in add()
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | ZenModeVoiceActivity.java | 112 String pattern = DateFormat.getBestDateTimePattern(Locale.getDefault(), skeleton); in getChangeSummary() local 113 CharSequence formattedTime = DateFormat.format(pattern, time); in getChangeSummary()
|
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/ |
D | OpenWnnDictionaryImplJni.c | 683 const PREDEF_APPROX_PATTERN* pattern; in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_setApproxPattern__JI() local 685 pattern = predefinedApproxPatterns[ approxPattern ]; in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_setApproxPattern__JI() 686 if( work->approxSet.charset_count + pattern->size <= NJ_MAX_CHARSET ) { in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_setApproxPattern__JI() 689 for( i = 0 ; i < pattern->size ; i++ ) { in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_setApproxPattern__JI() 700 …from[ 0 ] = convertUTFCharToNjChar( pattern->from + i * 2 ); /* "2" means the size of UTF-16BE … in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_setApproxPattern__JI() 703 …to[ 0 ] = convertUTFCharToNjChar( pattern->to + i * 2 ); /* "2" means the size of UTF-16BE … in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_setApproxPattern__JI() 706 work->approxSet.charset_count += pattern->size; in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_setApproxPattern__JI()
|
/packages/apps/Messaging/src/android/support/v7/mms/pdu/ |
D | EncodedStringValue.java | 212 public EncodedStringValue[] split(String pattern) { in split() argument 213 String[] temp = getString().split(pattern); in split()
|
/packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/ |
D | EncodedStringValue.java | 227 public EncodedStringValue[] split(String pattern) { in split() argument 228 String[] temp = getString().split(pattern); in split()
|
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/ |
D | encodedstream.h | 169 unsigned pattern = (c[0] ? 1 : 0) | (c[1] ? 2 : 0) | (c[2] ? 4 : 0) | (c[3] ? 8 : 0); in DetectType() local 170 switch (pattern) { in DetectType()
|