/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/util/ |
CommonNicknameCache.java | 101 String[] clusters = null; local 108 clusters = ref.get(); 112 if (clusters == null) { 113 clusters = loadNicknameClusters(normalizedName); 114 ref = clusters == null ? null : new SoftReference<String[]>(clusters); 119 return clusters; 133 String[] clusters = null; local 140 clusters = new String[count]; 143 clusters[i] = cursor.getString(NicknameLookupQuery.CLUSTER) [all...] |
/external/harfbuzz_ng/util/ |
helper-cairo.hh | 55 cairo_text_cluster_t *clusters; member in struct:helper_cairo_line_t 62 if (clusters) 63 cairo_text_cluster_free (clusters);
|
helper-cairo.cc | 415 l->clusters = cairo_text_cluster_allocate (l->num_clusters); 420 (l->num_clusters && !l->clusters)) 443 memset ((void *) l->clusters, 0, l->num_clusters * sizeof (l->clusters[0])); 448 l->clusters[cluster].num_glyphs++; 457 l->clusters[cluster].num_bytes = end - start; 461 l->clusters[cluster].num_glyphs++; 463 l->clusters[cluster].num_bytes = l->utf8 + text_len - start; 472 l->clusters[cluster].num_bytes = end - start; 476 l->clusters[cluster].num_glyphs++ [all...] |
view-cairo.cc | 119 l.clusters, l.num_clusters,
|
/external/chromium_org/third_party/harfbuzz-ng/src/ |
hb-graphite2.cc | 293 ALLOCATE_ARRAY (hb_graphite2_cluster_t, clusters, buffer->len); 296 memset (clusters, 0, sizeof (clusters[0]) * buffer->len); 305 while (clusters[ci].base_char > before && ci) 307 clusters[ci-1].num_chars += clusters[ci].num_chars; 308 clusters[ci-1].num_glyphs += clusters[ci].num_glyphs; 312 if (gr_slot_can_insert_before (is) && clusters[ci].num_chars && before >= clusters[ci].base_char + clusters[ci].num_chars [all...] |
hb-icu-le.cc | 139 ALLOCATE_ARRAY (unsigned int, clusters, buffer->len); 144 clusters[i] = buffer->info[i].cluster; 190 info[j].cluster = clusters[indices[i]];
|
/external/harfbuzz_ng/src/ |
hb-graphite2.cc | 293 ALLOCATE_ARRAY (hb_graphite2_cluster_t, clusters, buffer->len); 296 memset (clusters, 0, sizeof (clusters[0]) * buffer->len); 305 while (clusters[ci].base_char > before && ci) 307 clusters[ci-1].num_chars += clusters[ci].num_chars; 308 clusters[ci-1].num_glyphs += clusters[ci].num_glyphs; 312 if (gr_slot_can_insert_before (is) && clusters[ci].num_chars && before >= clusters[ci].base_char + clusters[ci].num_chars [all...] |
hb-icu-le.cc | 139 ALLOCATE_ARRAY (unsigned int, clusters, buffer->len); 144 clusters[i] = buffer->info[i].cluster; 190 info[j].cluster = clusters[indices[i]];
|
/external/chromium_org/ui/gfx/ |
color_analysis.cc | 159 // image with 4 clusters would be sampled like this: 222 std::vector<KMeanCluster> clusters; local 223 clusters.resize(kNumberOfClusters, KMeanCluster()); 226 std::vector<KMeanCluster>::iterator cluster = clusters.begin(); 227 while (cluster != clusters.end()) { 244 // Loop through the previous clusters and check to see if we have seen 248 cluster_check = clusters.begin(); 266 cluster = clusters.erase(cluster); 275 // If all pixels in the image are transparent we will have no clusters. 276 if (clusters.empty() [all...] |
/external/chromium_org/chrome/tools/ |
history-viz.py | 118 clusters = {} 121 clusters[cluster] = clusters.get(cluster, []) 122 clusters[cluster].append(obj) 123 return clusters 184 # Output all the nodes within graph clusters.
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
NameLookupBuilder.java | 88 * clusters, e.g. Leo could be Leonard or Leopold. 133 // Phase I: insert all variants not involving nickname clusters 299 * For all tokens that correspond to nickname clusters, substitutes each cluster key 305 String[] clusters = mNicknameClusters[i]; local 306 if (clusters != null) { 308 for (int j = 0; j < clusters.length; j++) { 309 mNames[i] = clusters[j]; 314 // Repeat recursively for other nickname clusters
|