Lines Matching refs:imgHeight

119   private static final int imgHeight = 200;  field in DefaultHSBChooserPanel
208 if (p.x < 0 || p.y < 0 || p.y > imgHeight || p.x > imgWidth) in mouseDragged()
250 float b = (imgHeight - p.y * 1f) / imgHeight; in updateH()
269 float b = (imgHeight - p.y * 1f) / imgHeight; in updateS()
287 float s = (imgHeight - p.y * 1f) / imgHeight; in updateB()
453 - ((Number) bSpinner.getValue()).intValue() / 100f) * imgHeight); in updateChooser()
463 - ((Number) bSpinner.getValue()).intValue() / 100f) * imgHeight); in updateChooser()
473 - ((Number) sSpinner.getValue()).intValue() / 100f) * imgHeight); in updateChooser()
503 return new Dimension(imgWidth, imgHeight); in buildChooser()
526 return new Dimension(trackWidth, imgHeight); in buildChooser()
680 int[] pix = new int[imgWidth * imgHeight]; in updateHLockImage()
683 for (int j = 0; j < imgHeight; j++) in updateHLockImage()
686 (imgHeight - j * 1f) / imgHeight) in updateHLockImage()
689 gradientImage = createImage(new MemoryImageSource(imgWidth, imgHeight, in updateHLockImage()
699 int[] pix = new int[imgWidth * imgHeight]; in updateBLockImage()
703 for (int j = 0; j < imgHeight; j++) in updateBLockImage()
706 (imgHeight - j * 1f) / imgHeight, bValue) in updateBLockImage()
709 gradientImage = createImage(new MemoryImageSource(imgWidth, imgHeight, in updateBLockImage()
719 int[] pix = new int[imgWidth * imgHeight]; in updateSLockImage()
723 for (int j = 0; j < imgHeight; j++) in updateSLockImage()
726 (imgHeight - j * 1f) / imgHeight) in updateSLockImage()
728 gradientImage = createImage(new MemoryImageSource(imgWidth, imgHeight, in updateSLockImage()
824 int[] trackPix = new int[trackWidth * imgHeight]; in updateHTrack()
826 for (int j = 0; j < imgHeight; j++) in updateHTrack()
828 trackPix[trackIndex++] = Color.HSBtoRGB(j * 1f / imgHeight, 1f, 1f) in updateHTrack()
831 trackImage = createImage(new MemoryImageSource(trackWidth, imgHeight, in updateHTrack()
841 int[] trackPix = new int[trackWidth * imgHeight]; in updateSTrack()
847 for (int j = 0; j < imgHeight; j++) in updateSTrack()
850 (imgHeight - j * 1f) / imgHeight, in updateSTrack()
853 trackImage = createImage(new MemoryImageSource(trackWidth, imgHeight, in updateSTrack()
863 int[] trackPix = new int[trackWidth * imgHeight]; in updateBTrack()
869 for (int j = 0; j < imgHeight; j++) in updateBTrack()
872 (imgHeight - j * 1f) / imgHeight) in updateBTrack()
875 trackImage = createImage(new MemoryImageSource(trackWidth, imgHeight, in updateBTrack()