Searched refs:SmartDialMatchPosition (Results 1 – 4 of 4) sorted by relevance
/packages/apps/Dialer/src/com/android/dialer/dialpad/ |
D | SmartDialNameMatcher.java | 47 private final ArrayList<SmartDialMatchPosition> mMatchPositions = Lists.newArrayList(); 83 private void replaceBitInMask(StringBuilder builder, SmartDialMatchPosition matchPos) { in replaceBitInMask() 128 public SmartDialMatchPosition matchesNumber(String phoneNumber, String query, boolean useNanp) { in matchesNumber() 137 SmartDialMatchPosition matchPos = matchesNumberWithOffset(phoneNumber, query, 0); in matchesNumber() 169 public SmartDialMatchPosition matchesNumber(String phoneNumber) { in matchesNumber() 182 public SmartDialMatchPosition matchesNumber(String phoneNumber, String query) { in matchesNumber() 196 private SmartDialMatchPosition matchesNumberWithOffset(String phoneNumber, String query, in matchesNumberWithOffset() 231 return new SmartDialMatchPosition(0 + offset, numberAt); in matchesNumberWithOffset() 263 ArrayList<SmartDialMatchPosition> matchList) { in matchesCombination() 294 ArrayList<SmartDialMatchPosition> partial = new ArrayList<SmartDialMatchPosition>(); in matchesCombination() [all …]
|
D | SmartDialMatchPosition.java | 29 public class SmartDialMatchPosition { class 30 private static final String TAG = SmartDialMatchPosition.class.getSimpleName(); 35 public SmartDialMatchPosition(int start, int end) { in SmartDialMatchPosition() method in SmartDialMatchPosition 52 public static void advanceMatchPositions(ArrayList<SmartDialMatchPosition> inList, in advanceMatchPositions() 64 public static void print(ArrayList<SmartDialMatchPosition> list) { in print() 66 SmartDialMatchPosition m = list.get(i); in print()
|
/packages/apps/Dialer/src/com/android/dialer/list/ |
D | SmartDialNumberListAdapter.java | 32 import com.android.dialer.dialpad.SmartDialMatchPosition; 83 final ArrayList<SmartDialMatchPosition> nameMatches = mNameMatcher.getMatchPositions(); in setHighlight() 84 for (SmartDialMatchPosition match:nameMatches) { in setHighlight() 93 final SmartDialMatchPosition numberMatch = mNameMatcher.matchesNumber(cursor.getString( in setHighlight()
|
/packages/apps/Dialer/tests/src/com/android/dialer/dialpad/ |
D | SmartDialNameMatcherTest.java | 243 final SmartDialMatchPosition pos = matcher.matchesNumber(number, query, matchNanp); in checkMatchesNumber() 254 final ArrayList<SmartDialMatchPosition> matchPositions = in checkMatches() 255 new ArrayList<SmartDialMatchPosition>(); in checkMatches()
|