• Home
  • Raw
  • Download

Lines Matching refs:name

201             String name = scrubName(contact.mName);  in addNameEntriesToGrammar()  local
202 if (name.length() == 0 || !entries.add(name)) continue; in addNameEntriesToGrammar()
215 mSrecGrammar.addWordToSlot("@Names", name, null, 1, sb.toString()); in addNameEntriesToGrammar()
257 if (voiceDialerClassName.equals(ri.activityInfo.name)) continue; in loadOpenEntriesTable()
265 ri.activityInfo.packageName, ri.activityInfo.name); in loadOpenEntriesTable()
281 ri.activityInfo.packageName, ri.activityInfo.name); in loadOpenEntriesTable()
388 private static String scrubName(String name) { in scrubName() argument
390 name = name.replace("&", " and "); in scrubName()
393 name = name.replace("@", " at "); in scrubName()
397 int i = name.indexOf('('); in scrubName()
399 int j = name.indexOf(')', i); in scrubName()
401 name = name.substring(0, i) + " " + name.substring(j + 1); in scrubName()
406 for (int i = name.length() - 1; i >= 0; i--) { in scrubName()
407 char ch = name.charAt(i); in scrubName()
409 if (nm == null) nm = name.toCharArray(); in scrubName()
415 name = new String(nm); in scrubName()
420 int i = name.indexOf('.'); in scrubName()
422 i + 1 >= name.length() || in scrubName()
423 !Character.isLetterOrDigit(name.charAt(i + 1))) break; in scrubName()
424 name = name.substring(0, i) + " dot " + name.substring(i + 1); in scrubName()
428 name = name.trim(); in scrubName()
431 for (int i = name.length() - 1; true; i--) { in scrubName()
433 char ch = name.charAt(i); in scrubName()
439 return name; in scrubName()
453 String name = f.getName(); in deleteAllG2GFiles()
454 return name.endsWith(".g2g"); in deleteAllG2GFiles()