HomeSort by relevance Sort by last modified time
    Searched refs:Vbox (Results 1 - 2 of 2) sorted by null

  /frameworks/base/core/java/com/android/internal/graphics/palette/
ColorCutQuantizer.java 170 final PriorityQueue<Vbox> pq = new PriorityQueue<>(maxColors, VBOX_COMPARATOR_VOLUME);
173 pq.offer(new Vbox(0, mColors.length - 1));
185 * {@link ColorCutQuantizer.Vbox} objects from the queue
192 private void splitBoxes(final PriorityQueue<Vbox> queue, final int maxSize) {
194 final Vbox vbox = queue.poll(); local
196 if (vbox != null && vbox.canSplit()) {
198 queue.offer(vbox.splitBox());
204 queue.offer(vbox);
    [all...]
  /frameworks/support/palette/src/main/java/androidx/palette/graphics/
ColorCutQuantizer.java 152 final PriorityQueue<Vbox> pq = new PriorityQueue<>(maxColors, VBOX_COMPARATOR_VOLUME);
155 pq.offer(new Vbox(0, mColors.length - 1));
167 * {@link ColorCutQuantizer.Vbox} objects from the queue
175 private void splitBoxes(final PriorityQueue<Vbox> queue, final int maxSize) {
177 final Vbox vbox = queue.poll(); local
179 if (vbox != null && vbox.canSplit()) {
181 queue.offer(vbox.splitBox());
187 queue.offer(vbox);
    [all...]

Completed in 557 milliseconds