Searched defs:cluster (Results 1 - 9 of 9) sorted by last modified time

/frameworks/minikin/libs/minikin/
H A DLayout.cpp735 uint32_t cluster) {
739 hb_buffer_add(buffer, hyphenChar, cluster);
744 // Returns the cluster value assigned to the first codepoint added to the buffer, which can be used
745 // to translate cluster values returned by HarfBuzz to input indices.
775 // A cluster value of zero guarantees that the inserted hyphen will be in the same
776 // cluster with the next codepoint, since there is no pre-context.
777 addHyphenToHbBuffer(buffer, hbFont, startHyphen, 0 /* cluster value */);
821 // codepoint added to the HarfBuzz buffer to the same cluster, we can make sure
822 // that they always remain in the same cluster, even if the last codepoint gets
823 // merged into another cluster (fo
734 addHyphenToHbBuffer(hb_buffer_t* buffer, hb_font_t* font, uint32_t hyphen, uint32_t cluster) argument
[all...]
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/
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...]
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...]
/frameworks/base/tools/apilint/
H A Dapilint.py858 def cluster(args): function in function:verify_overload_args
867 common_args = cluster(methods[0].args)
869 common_args = common_args & cluster(m.args)
877 if not common_args.issubset(cluster(sig)):
/frameworks/base/core/java/android/os/
H A DBatteryStats.java667 * given CPU cluster.
668 * @param cluster the index of the CPU cluster.
674 public abstract long getTimeAtCpuSpeed(int cluster, int step, int which); argument
/frameworks/base/core/java/android/view/
H A DView.java3046 * Flag indicating that the view is a root of a keyboard navigation cluster.
4185 * User-specified next keyboard navigation cluster in the {@link #FOCUS_FORWARD} direction.
8948 * Gets the id of the root of the next keyboard navigation cluster.
8949 * @return The next keyboard navigation cluster ID, or {@link #NO_ID} if the framework should
8959 * Sets the id of the view to use as the root of the next keyboard navigation cluster.
8960 * @param nextClusterForwardId The next cluster ID, or {@link #NO_ID} if the framework should
10134 * Returns whether this View is a root of a keyboard navigation cluster.
10136 * @return True if this view is a root of a cluster, or false otherwise.
10145 * Searches up the view hierarchy to find the top-most cluster. All deeper/nested clusters
10148 * @return the keyboard navigation cluster tha
10189 setFocusedInCluster(View cluster) argument
[all...]
/frameworks/base/core/java/com/android/internal/os/
H A DBatteryStatsImpl.java6486 public long getTimeAtCpuSpeed(int cluster, int step, int which) { argument
6488 if (cluster >= 0 && cluster < mCpuClusterSpeed.length) {
6489 final LongSamplingCounter[] cpuSpeeds = mCpuClusterSpeed[cluster];
7332 for (int cluster = 0; cluster < numCpuClusters; cluster++) {
7336 mBsi.mPowerProfile.getNumSpeedStepsInCpuCluster(cluster) != numSpeeds) {
7341 mCpuClusterSpeed[cluster] = cpuSpeeds;
7348 mCpuClusterSpeed[cluster]
[all...]
H A DPowerProfile.java312 private static final String POWER_CPU_CLUSTER_SPEED_PREFIX = "cpu.speeds.cluster";
313 private static final String POWER_CPU_CLUSTER_ACTIVE_PREFIX = "cpu.active.cluster";
327 for (int cluster = 0; cluster < array.length; cluster++) {
328 int numCpusInCluster = (int) Math.round(array[cluster]);
329 mCpuClusters[cluster] = new CpuClusterKey(
330 POWER_CPU_CLUSTER_SPEED_PREFIX + cluster,
331 POWER_CPU_CLUSTER_ACTIVE_PREFIX + cluster,
365 public double getAveragePowerForCpu(int cluster, in argument
[all...]
/frameworks/av/media/libstagefright/webm/
H A DWebmFrameThread.cpp98 // Initializes a webm cluster with its starting timecode.
104 // the starting timecode of the cluster; this is the timecode of the first
108 // list to hold child elements in a webm cluster (start timecode and
130 sp<WebmElement> cluster = new WebmMaster(kMkvCluster, children); local
131 cluster->write(mFd, size);
135 // Write out (possibly multiple) webm cluster(s) from frames split on video key frames.
154 // frame (the last frame), which belongs to the next cluster; also hold back on
237 ALOGV("flushing last cluster (size %zu)", outstandingFrames.size());

Completed in 310 milliseconds