Home
last modified time | relevance | path

Searched refs:hist (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/java/com/android/internal/graphics/palette/
DColorCutQuantizer.java95 final int[] hist = mHistogram = new int[1 << (QUANTIZE_WORD_WIDTH * 3)]; in ColorCutQuantizer() local
101 hist[quantizedColor]++; in ColorCutQuantizer()
110 for (int color = 0; color < hist.length; color++) { in ColorCutQuantizer()
111 if (hist[color] > 0 && shouldIgnoreColor(color)) { in ColorCutQuantizer()
113 hist[color] = 0; in ColorCutQuantizer()
115 if (hist[color] > 0) { in ColorCutQuantizer()
128 for (int color = 0; color < hist.length; color++) { in ColorCutQuantizer()
129 if (hist[color] > 0) { in ColorCutQuantizer()
142 mQuantizedColors.add(new Swatch(approximateToRgb888(color), hist[color])); in ColorCutQuantizer()
266 final int[] hist = mHistogram; in fitBox() local
[all …]
/frameworks/support/v7/palette/src/main/java/android/support/v7/graphics/
DColorCutQuantizer.java75 final int[] hist = mHistogram = new int[1 << (QUANTIZE_WORD_WIDTH * 3)]; in ColorCutQuantizer() local
81 hist[quantizedColor]++; in ColorCutQuantizer()
90 for (int color = 0; color < hist.length; color++) { in ColorCutQuantizer()
91 if (hist[color] > 0 && shouldIgnoreColor(color)) { in ColorCutQuantizer()
93 hist[color] = 0; in ColorCutQuantizer()
95 if (hist[color] > 0) { in ColorCutQuantizer()
108 for (int color = 0; color < hist.length; color++) { in ColorCutQuantizer()
109 if (hist[color] > 0) { in ColorCutQuantizer()
122 mQuantizedColors.add(new Swatch(approximateToRgb888(color), hist[color])); in ColorCutQuantizer()
246 final int[] hist = mHistogram; in fitBox() local
[all …]
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsHelper.java192 Parcel hist = Parcel.obtain(); in storeStatsHistoryInFile() local
193 getStats().writeToParcelWithoutUids(hist, 0); in storeStatsHistoryInFile()
194 byte[] histData = hist.marshall(); in storeStatsHistoryInFile()
/frameworks/base/services/core/java/com/android/server/am/
DActivityStarter.java797 ActivityRecord hist = heavy.activities.get(0); in startActivityMayWait() local
799 hist.packageName); in startActivityMayWait()
801 hist.getTask().taskId); in startActivityMayWait()