Home
last modified time | relevance | path

Searched refs:stateMatch (Results 1 – 1 of 1) sorted by relevance

/frameworks/base/core/java/android/webkit/
DFindAddress.java333 private static boolean isValidZipCode(String zipCode, MatchResult stateMatch) { in isValidZipCode() argument
334 if (stateMatch == null) return false; in isValidZipCode()
336 int stateIndex = stateMatch.groupCount(); in isValidZipCode()
338 if (stateMatch.group(stateIndex--) != null) break; in isValidZipCode()
422 MatchResult stateMatch = matchState(content, it); in attemptMatch() local
423 if (stateMatch != null) { in attemptMatch()
424 if (lastWord.equals("et") && stateMatch.group(0).equals("al")) { in attemptMatch()
426 it = stateMatch.end(); in attemptMatch()
432 if (zipMatcher.find(stateMatch.end())) { in attemptMatch()
433 if (isValidZipCode(zipMatcher.group(0), stateMatch)) { in attemptMatch()
[all …]