Lines Matching refs:depths
510 // grab available depths
511 String[] depths = getDepths(resolution, modes);
512 colorDepthCombo.setModel(new DefaultComboBoxModel(depths));
595 ArrayList<String> depths = new ArrayList<String>(4);
597 // Filter out all bit depths lower than 16 - Java incorrectly
599 // them as valid depths though the monitor does not support them
606 if (res.equals(resolution) && !depths.contains(depth)) {
607 depths.add(depth);
611 if (depths.size() == 1 && depths.contains("-1 bpp")) {
612 // add some default depths, possible system is multi-depth supporting
613 depths.clear();
614 depths.add("24 bpp");
617 String[] res = new String[depths.size()];
618 depths.toArray(res);