Home
last modified time | relevance | path

Searched refs:mNames (Results 1 – 7 of 7) sorted by relevance

/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DNameLookupBuilder.java38 private String[] mNames = new String[NameSplitter.MAX_TOKENS]; field in NameLookupBuilder
100 int tokenCount = mSplitter.tokenize(mNames, name); in insertNameLookup()
106 mNames[i] = normalizeName(mNames[i]); in insertNameLookup()
114 Arrays.sort(mNames, 0, tokenCount, new Comparator<String>() { in insertNameLookup()
123 String firstToken = mNames[0]; in insertNameLookup()
125 mNames[0] = mNames[i]; in insertNameLookup()
128 mNames[0] = firstToken; in insertNameLookup()
135 mNicknameClusters[i] = getCommonNicknameClusters(mNames[i]); in insertNameLookup()
143 int tokenCount = mSplitter.tokenize(mNames, name); in appendToSearchIndex()
149 builder.appendName(mNames[i]); in appendToSearchIndex()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DSizeClustering.java32 private String[] mNames; field in SizeClustering
86 mNames = new String[count]; in run()
98 mNames[k] = String.format( in run()
101 mNames[k] = String.format( in run()
106 mNames[k] = String.format( in run()
135 return mNames[index]; in getClusterName()
DTagClustering.java32 private String[] mNames; field in TagClustering
69 mNames = new String[m + ((untagged.size() > 0) ? 1 : 0)]; in run()
72 mNames[i++] = entry.getKey(); in run()
76 mNames[i++] = mUntaggedString; in run()
93 return mNames[index]; in getClusterName()
DLocationClustering.java42 private ArrayList<String> mNames; field in LocationClustering
119 mNames = new ArrayList<String>(); in run()
125 mNames.add(name); in run()
135 mNames.add(mNoLocationString); in run()
198 return mNames.get(index); in getClusterName()
DTimeClustering.java72 private String[] mNames; field in TimeClustering
151 mNames = new String[m]; in run()
153 mNames[i] = mClusters.get(i).generateCaption(mContext); in run()
174 return mNames[index]; in getClusterName()
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppPreference.java66 private HashMap<String, String> mNames = new HashMap<String, String>(); field in BluetoothOppPreference
94 mNames = (HashMap<String, String>) mNamePreference.getAll(); in init()
108 if (!mNames.isEmpty()) { in getName()
109 String name = mNames.get(remoteDevice.getAddress()); in getName()
142 mNames.put(remoteDevice.getAddress(), name); in setName()
170 Log.d(TAG, mNames.toString()); in dump()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DSmsMmsContacts.java43 private final HashMap<String, MapContact> mNames = new HashMap<String, MapContact>(10); field in SmsMmsContacts
104 if (mNames != null) { in clearCache()
105 mNames.clear(); in clearCache()
157 MapContact contact = mNames.get(phone); in getContactNameFromPhone()
194 mNames.put(phone, contact); in getContactNameFromPhone()
197 mNames.put(phone, contact); in getContactNameFromPhone()