Searched defs:cluster (Results 1 - 7 of 7) sorted by relevance
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/ |
H A D | LocationCluster.java | 70 // 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 D | BaseCluster.java | 114 * 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/av/media/libstagefright/webm/ |
H A D | WebmFrameThread.cpp | 92 // Initializes a webm cluster with its starting timecode. 98 // the starting timecode of the cluster; this is the timecode of the first 102 // list to hold child elements in a webm cluster (start timecode and 124 sp<WebmElement> cluster = new WebmMaster(kMkvCluster, children); local 125 cluster->write(mFd, size); 129 // Write out (possibly multiple) webm cluster(s) from frames split on video key frames. 148 // frame (the last frame), which belongs to the next cluster; also hold back on 231 ALOGV("flushing last cluster (size %zu)", outstandingFrames.size());
|
/frameworks/base/core/java/com/android/internal/os/ |
H A D | PowerProfile.java | 307 private static final String POWER_CPU_CLUSTER_SPEED_PREFIX = "cpu.speeds.cluster"; 308 private static final String POWER_CPU_CLUSTER_ACTIVE_PREFIX = "cpu.active.cluster"; 322 for (int cluster = 0; cluster < array.length; cluster++) { 323 int numCpusInCluster = (int) Math.round(array[cluster]); 324 mCpuClusters[cluster] = new CpuClusterKey( 325 POWER_CPU_CLUSTER_SPEED_PREFIX + cluster, 326 POWER_CPU_CLUSTER_ACTIVE_PREFIX + cluster, 360 public double getAveragePowerForCpu(int cluster, in argument [all...] |
H A D | BatteryStatsImpl.java | 5615 public long getTimeAtCpuSpeed(int cluster, int step, int which) { argument 5617 if (cluster >= 0 && cluster < mCpuClusterSpeed.length) { 5618 final LongSamplingCounter[] cpuSpeeds = mCpuClusterSpeed[cluster]; 6319 for (int cluster = 0; cluster < numCpuClusters; cluster++) { 6323 mBsi.mPowerProfile.getNumSpeedStepsInCpuCluster(cluster) != numSpeeds) { 6328 mCpuClusterSpeed[cluster] = cpuSpeeds; 6335 mCpuClusterSpeed[cluster] [all...] |
/frameworks/base/tools/apilint/ |
H A D | apilint.py | 839 def cluster(args): function in function:verify_overload_args 848 common_args = cluster(methods[0].args) 850 common_args = common_args & cluster(m.args) 858 if not common_args.issubset(cluster(sig)):
|
/frameworks/base/core/java/android/os/ |
H A D | BatteryStats.java | 540 * given CPU cluster. 541 * @param cluster the index of the CPU cluster. 547 public abstract long getTimeAtCpuSpeed(int cluster, int step, int which); argument
|
Completed in 284 milliseconds