Searched refs:mClusters (Results 1 – 3 of 3) sorted by relevance
53 private float[][] mClusters; field in WSMeansQuantizer67 mClusters = new float[inClusters.length][3]; in WSMeansQuantizer()71 mClusters[index++] = point; in WSMeansQuantizer()100 if (mClusters.length > 0) { in quantize()104 maxColors = Math.min(maxColors, mClusters.length); in quantize()119 float[] cluster = mClusters[i]; in quantize()128 boolean hadInputClusters = mClusters.length > 0; in initializeClusters()130 int additionalClustersNeeded = maxColors - mClusters.length; in initializeClusters()132 Log.d(TAG, "have " + mClusters.length + " clusters, want " + maxColors in initializeClusters()150 float[][] clusters = Arrays.copyOf(mClusters, maxColors); in initializeClusters()[all …]
60 uint16_t clusterAt(int glyphPos) const { return mClusters[glyphPos]; } in clusterAt()76 std::vector<uint8_t> mClusters; // per glyph variable
292 mClusters.reserve(count); in LayoutPiece()457 mClusters.push_back(clusterBaseIndex); in LayoutPiece()485 mClusters.shrink_to_fit(); in LayoutPiece()