Home
last modified time | relevance | path

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

/packages/apps/Dialer/java/com/android/dialer/smartdial/util/
DSmartDialNameMatcher.java41 private final ArrayList<SmartDialMatchPosition> matchPositions = new ArrayList<>();
98 private void replaceBitInMask(StringBuilder builder, SmartDialMatchPosition matchPos) { in replaceBitInMask()
113 public SmartDialMatchPosition matchesNumber(Context context, String phoneNumber, String query) { in matchesNumber()
115 return shouldMatchEmptyQuery ? new SmartDialMatchPosition(0, 0) : null; in matchesNumber()
121 SmartDialMatchPosition matchPos = in matchesNumber()
150 public SmartDialMatchPosition matchesNumber(Context context, String phoneNumber) { in matchesNumber()
164 private SmartDialMatchPosition matchesNumberWithOffset( in matchesNumberWithOffset()
167 return shouldMatchEmptyQuery ? new SmartDialMatchPosition(offset, offset) : null; in matchesNumberWithOffset()
199 return new SmartDialMatchPosition(0 + offset, numberAt); in matchesNumberWithOffset()
233 ArrayList<SmartDialMatchPosition> matchList) { in matchesCombination()
[all …]
DSmartDialMatchPosition.java28 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
48 ArrayList<SmartDialMatchPosition> inList, int toAdvance) { in advanceMatchPositions()
59 public static void print(ArrayList<SmartDialMatchPosition> list) { in print()
61 SmartDialMatchPosition m = list.get(i); in print()