Searched refs:rad (Results 1 - 1 of 1) sorted by relevance

/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/gtk/
H A DGTKColorChooserPanel.java865 double rad = Math.sqrt(ySquared + x * x);
867 if (rad < size && rad > minSize) {
868 int rgb = colorWheelLocationToRGB(x, y, rad) |
1010 double rad = Math.sqrt(x * x + y * y);
1013 if (!check || (rad >= size - getWheelWidth() && rad < size)) {
1158 * @param rad Radius from center of color wheel
1161 private int colorWheelLocationToRGB(int x, int y, double rad) { argument
1162 double angle = Math.acos((double)x / rad);
[all...]

Completed in 48 milliseconds