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

/openjdk7/jdk/src/share/classes/javax/swing/plaf/nimbus/
H A DAbstractRegionPainter.java71 (such as DPI scaling). The centerWidth is the distance between the leftWidth
94 private float centerWidth; field in class:AbstractRegionPainter
237 return ((x-1) * centerWidth) + leftWidth;
239 return ((x-2) * rightWidth) + leftWidth + centerWidth;
584 leftWidth = centerWidth = rightWidth = 0f;
596 centerWidth = (ctx.b - ctx.a) * f;
597 float availableSpace = w - centerWidth;
607 centerWidth = w - leftWidth - rightWidth;
614 centerHScale = (ctx.b - ctx.a) == 0f ? 0f : centerWidth / (ctx.b - ctx.a);
/openjdk7/jdk/src/macosx/classes/com/apple/laf/
H A DAquaImageFactory.java412 final int centerWidth = w - westWidth - eastWidth;
415 if (N != null) g.drawImage(N, westWidth, 0, centerWidth, northHeight, null);
418 if (C != null) g.drawImage(C, westWidth, northHeight, centerWidth, centerHeight, null);
421 if (S != null) g.drawImage(S, westWidth, h - southHeight, centerWidth, southHeight, null);

Completed in 41 milliseconds