Lines Matching defs:displayName
246 * @param displayName The normalized(no accented characters) display name we intend to match
251 * @return Returns true if a combination of the tokens in displayName match the query string
257 String displayName, String query, ArrayList<SmartDialMatchPosition> matchList) {
259 constructEmptyMask(builder, displayName.length());
261 final int nameLength = displayName.length();
272 // The current character index in displayName
276 // The current character in the query we are trying to match the displayName against
289 // Keep going until we reach the end of displayName
291 char ch = displayName.charAt(nameStart);
317 mMap.normalizeCharacter(displayName.charAt(nameStart - 1)))) {
321 mMap.normalizeCharacter(displayName.charAt(nameStart)))) {
350 if (!mMap.isValidDialpadCharacter(mMap.normalizeCharacter(displayName.charAt(j)))) {
356 final String remainder = displayName.substring(j + 1);
404 public boolean matches(String displayName) {
406 return matchesCombination(displayName, mQuery, mMatchPositions);