Searched defs:cluster (Results 1 - 4 of 4) sorted by relevance

/frameworks/ml/bordeaux/service/src/android/bordeaux/services/
H A DLocationCluster.java70 // update cluster center
94 // centers. Note that if the cluster is consolidated for the first time,
95 // the weight for the existing cluster would be zero.
112 * if the new created cluster whose covered area overlaps with any existing
113 * cluster move the center away from that cluster till there is no overlap.
115 public void moveAwayCluster(LocationCluster cluster, float distance) { argument
120 dot += mCenter[i] * cluster.mCenter[i];
124 vector[i] = mCenter[i] - dot * cluster.mCenter[i];
131 mCenter[i] = cluster
[all...]
H A DBaseCluster.java114 * This computes the distance from loation to the cluster center in meter.
120 public float distanceToCluster(BaseCluster cluster) { argument
121 return (float) computeDistance(mCenter, cluster.mCenter);
124 public void absorbCluster(BaseCluster cluster) { argument
125 averageCenter(cluster.mCenter, cluster.mDuration);
126 absorbHistogram(cluster);
129 public void setCluster(BaseCluster cluster) { argument
131 mCenter[i] = cluster.mCenter[i];
134 mHistogram.putAll(cluster
138 absorbHistogram(BaseCluster cluster) argument
[all...]
/frameworks/base/core/jni/android/graphics/
H A DTextLayoutCache.cpp664 ALOGD(" -- glyph[%d] = %d, cluster = %u, advance = %0.2f, offset.x = %0.2f, offset.y = %0.2f", i,
666 info[i].cluster,
746 size_t cluster = info[i].cluster - start; local
748 outAdvances->replaceAt(outAdvances->itemAt(cluster) + xAdvance, cluster);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DNetworkController.java275 public void addSignalCluster(SignalCluster cluster) { argument
276 mSignalClusters.add(cluster);
277 refreshSignalCluster(cluster);
285 public void refreshSignalCluster(SignalCluster cluster) { argument
287 cluster.setWifiIndicators(
288 // only show wifi in the cluster if connected or if wifi-only
295 cluster.setMobileDataIndicators(
303 cluster.setMobileDataIndicators(
310 cluster.setIsAirplaneMode(mAirplaneMode, mAirplaneIconId);
314 // only show wifi in the cluster i
[all...]

Completed in 286 milliseconds