Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/graphics/palette/
DColorCutQuantizer.java170 final PriorityQueue<Vbox> pq = new PriorityQueue<>(maxColors, VBOX_COMPARATOR_VOLUME); in quantizePixels()
173 pq.offer(new Vbox(0, mColors.length - 1)); in quantizePixels()
192 private void splitBoxes(final PriorityQueue<Vbox> queue, final int maxSize) { in splitBoxes()
194 final Vbox vbox = queue.poll(); in splitBoxes()
215 private List<Swatch> generateAverageColors(Collection<Vbox> vboxes) { in generateAverageColors()
217 for (Vbox vbox : vboxes) { in generateAverageColors()
231 private class Vbox { class in ColorCutQuantizer
242 Vbox(int lowerIndex, int upperIndex) { in Vbox() method in ColorCutQuantizer.Vbox
316 final Vbox splitBox() { in splitBox()
324 Vbox newBox = new Vbox(splitPoint + 1, mUpperIndex); in splitBox()
[all …]