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

/solaris-userland-s11u3/components/visual-panels/core/src/java/util/com/oracle/solaris/vp/util/swing/
H A DColorUtil.java64 * Returns a darker version of the given color by the given factor.
72 * @param factor
79 * if factor is not betwee 0 and 1 inclusive
81 public static Color darker(Color c, float factor) { argument
82 return blend(c, Color.BLACK, factor);
97 * Blends the given colors by the given factor.
105 * @param factor
113 * if factor is not betwee 0 and 1 inclusive
115 public static Color blend(Color cFrom, Color cTo, float factor) { argument
116 if (factor <
173 lighter(Color c, float factor) argument
[all...]
/solaris-userland-s11u3/components/net-snmp/sun/agent/modules/healthMonitor/
H A Dkr_memory.c100 static float factor = -1; local
102 if (factor == -1)
103 factor = (float)(sysconf(_SC_PAGESIZE))/1024;/* in KB */
104 return (input*(u_int)factor);
/solaris-userland-s11u3/components/visual-panels/core/src/java/util/com/oracle/solaris/vp/util/swing/time/
H A DSunIcon.java130 float factor = .75f;
131 float xDelta = factor * (points[1].x - midPoint.x) / 2;
132 float yDelta = factor * (points[1].y - midPoint.y) / 2;
147 factor = .7f;
148 xDelta = factor * (points[1].x - midPoint.x) / 2;
149 yDelta = factor * (points[1].y - midPoint.y) / 2;
H A DAnalogClock.java198 int factor = (newVal - curVal + period) % period;
199 if (factor >= period / 2) {
200 factor -= period;
203 long timeOffset = model.getTimeOffset() + factor *
/solaris-userland-s11u3/components/visual-panels/core/src/java/util/com/oracle/solaris/vp/util/misc/
H A DDataSizeUtil.java104 double factor = 1;
107 factor = -1;
140 return new DataSize(factor * adjusted, i);

Completed in 42 milliseconds