Lines Matching defs:Vbox
150 final PriorityQueue<Vbox> pq = new PriorityQueue<>(maxColors, VBOX_COMPARATOR_VOLUME);
153 pq.offer(new Vbox(0, mColors.length - 1));
165 * {@link ColorCutQuantizer.Vbox} objects from the queue
172 private void splitBoxes(final PriorityQueue<Vbox> queue, final int maxSize) {
174 final Vbox vbox = queue.poll();
195 private List<Swatch> generateAverageColors(Collection<Vbox> vboxes) {
197 for (Vbox vbox : vboxes) {
211 private class Vbox {
222 Vbox(int lowerIndex, int upperIndex) {
296 final Vbox splitBox() {
304 Vbox newBox = new Vbox(splitPoint + 1, mUpperIndex);
399 * @see Vbox#findSplitPoint()
450 * Comparator which sorts {@link Vbox} instances based on their volume, in descending order
452 private static final Comparator<Vbox> VBOX_COMPARATOR_VOLUME = new Comparator<Vbox>() {
454 public int compare(Vbox lhs, Vbox rhs) {