HomeSort by relevance Sort by last modified time
    Searched refs:PhoneNumberMatch (Results 1 - 6 of 6) sorted by null

  /external/libphonenumber/java/test/com/android/i18n/phonenumbers/
PhoneNumberMatchTest.java 24 * Tests for {@link PhoneNumberMatch}.
36 PhoneNumberMatch match1 = new PhoneNumberMatch(10, "1 800 234 45 67", number);
37 PhoneNumberMatch match2 = new PhoneNumberMatch(10, "1 800 234 45 67", number);
53 new PhoneNumberMatch(-110, "1 800 234 45 67", new PhoneNumber());
58 new PhoneNumberMatch(10, "1 800 234 45 67", null);
63 new PhoneNumberMatch(10, null, new PhoneNumber());
68 new PhoneNumberMatch(10, null, null);
PhoneNumberMatcherTest.java 210 Iterator<PhoneNumberMatch> iterator =
212 PhoneNumberMatch match = iterator.hasNext() ? iterator.next() : null;
223 PhoneNumberMatch matchWithSpaces = iterator.hasNext() ? iterator.next() : null;
331 PhoneNumberMatch match1 = new PhoneNumberMatch(5, "650-253-4561", number1);
336 PhoneNumberMatch match2 = new PhoneNumberMatch(21, "455-234-3451", number2);
338 Iterator<PhoneNumberMatch> matches = phoneUtil.findNumbers(text, region).iterator();
469 Iterator<PhoneNumberMatch> iterator =
471 PhoneNumberMatch match = iterator.hasNext() ? iterator.next() : null
    [all...]
  /external/libphonenumber/java/src/com/android/i18n/phonenumbers/
PhoneNumberMatch.java 40 * PhoneNumberMatch m = util.findNumbers(text, country).iterator().next();
56 public final class PhoneNumberMatch {
71 PhoneNumberMatch(int start, String rawString, PhoneNumber number) {
113 if (!(obj instanceof PhoneNumberMatch)) {
116 PhoneNumberMatch other = (PhoneNumberMatch) obj;
123 return "PhoneNumberMatch [" + start() + "," + end() + ") " + rawString;
PhoneNumberMatcher.java 40 final class PhoneNumberMatcher implements Iterator<PhoneNumberMatch> {
174 private PhoneNumberMatch lastMatch = null;
222 public PhoneNumberMatch next() {
229 PhoneNumberMatch result = lastMatch;
242 private PhoneNumberMatch find(int index) {
253 PhoneNumberMatch match = extractMatch(candidate, start);
307 private PhoneNumberMatch extractMatch(CharSequence candidate, int offset) {
315 PhoneNumberMatch match = parseAndVerify(rawString, offset);
333 private PhoneNumberMatch extractInnerMatch(String candidate, int offset) {
343 PhoneNumberMatch match = parseAndVerify(firstGroupOnly.toString(), offset)
    [all...]
PhoneNumberUtil.java     [all...]
  /packages/apps/Calendar/src/com/android/calendar/
EventInfoFragment.java 32 import com.android.i18n.phonenumbers.PhoneNumberMatch;
    [all...]

Completed in 208 milliseconds