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

/openjdk7/jdk/src/share/classes/java/awt/
H A DColor.java606 private static final double FACTOR = 0.7; field in class:Color
637 int i = (int)(1.0/(1.0-FACTOR));
645 return new Color(Math.min((int)(r/FACTOR), 255),
646 Math.min((int)(g/FACTOR), 255),
647 Math.min((int)(b/FACTOR), 255),
670 return new Color(Math.max((int)(getRed() *FACTOR), 0),
671 Math.max((int)(getGreen()*FACTOR), 0),
672 Math.max((int)(getBlue() *FACTOR), 0),
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/tools/
H A DHeapSummary.java241 private static final double FACTOR = 1024*1024; field in class:HeapSummary
246 double mb = value/FACTOR;
/openjdk7/jdk/src/share/native/com/sun/media/sound/
H A DDirectAudioDevice.c241 #define CONVERT_SAMPLE(INPUT, OUTPUT, TO_SAMPLE, FROM_SAMPLE, FACTOR) \
245 sample = (MAP_Sample) (sample * FACTOR); \

Completed in 221 milliseconds