Searched refs:xOffset (Results 1 - 25 of 42) sorted by relevance

12

/openjdk7/jdk/src/share/classes/javax/swing/plaf/metal/
H A DMetalInternalFrameTitlePane.java333 int xOffset = leftToRight ? 4 : buttonsWidth + 4;
337 paletteBumps.paintIcon( this, g, xOffset, 2);
414 int xOffset = leftToRight ? 5 : width - 5;
420 xOffset -= icon.getIconWidth();
422 icon.paintIcon(frame, g, xOffset, iconY);
423 xOffset += leftToRight ? icon.getIconWidth() + 5 : -5;
446 titleW = rect.x - xOffset - 4;
449 titleW = xOffset - rect.x - rect.width - 4;
451 xOffset -= SwingUtilities2.stringWidth(frame, fm, frameTitle);
455 SwingUtilities2.drawString(frame, g, frameTitle, xOffset, yOffse
[all...]
H A DMetalTitlePane.java725 int xOffset = leftToRight ? 5 : width - 5;
728 xOffset += leftToRight ? IMAGE_WIDTH + 5 : - IMAGE_WIDTH - 5;
749 titleW = rect.x - xOffset - 4;
753 titleW = xOffset - rect.x - rect.width - 4;
756 xOffset -= SwingUtilities2.stringWidth(rootPane, fm,
761 SwingUtilities2.drawString(rootPane, g, theTitle, xOffset,
763 xOffset += leftToRight ? titleLength + 5 : -5;
769 bumpLength = width - buttonsWidth - xOffset - 5;
770 bumpXOffset = xOffset;
772 bumpLength = xOffset
[all...]
H A DMetalInternalFrameUI.java210 int xOffset = leftToRight ? 5 : titlePane.getWidth() - 5;
216 xOffset -= icon.getIconWidth();
219 rect = new Rectangle(xOffset, iconY,
/openjdk7/hotspot/src/share/tools/IdealGraphVisualizer/View/src/com/sun/hotspot/igv/view/
H A DBoundedZoomAction.java95 int xOffset = 0;
101 xOffset = (mouseLocation.x - viewPosition.x);
103 viewPosition.x += xOffset;
167 viewPosition.x -= xOffset;
H A DExtendedPanAction.java106 int xOffset = lastLocation.x - newLocation.x;
114 xOffset = 0;
117 if (xOffset == 0 && yOffset == 0) {
120 viewPosition = new Point(viewPosition.x + xOffset, viewPosition.y + yOffset);
/openjdk7/jdk/src/macosx/classes/com/apple/laf/
H A DAquaOptionPaneUI.java136 final int xOffset = maxSize.width + padding;
141 xLocation += xOffset;
H A DAquaTabbedPaneTabState.java329 final int xOffset = pane.tabAreaInsets.left + (needsLeftScrollTab() ? FIXED_SCROLL_TAB_LENGTH : 0);
339 rect.x = runningLength + xOffset;
351 rect.x = runningLength + xOffset;
/openjdk7/hotspot/src/share/tools/IdealGraphVisualizer/Util/src/com/sun/hotspot/igv/util/
H A DBoundedZoomAction.java94 int xOffset = 0;
103 xOffset = (mouseLocation.x - viewPosition.x);
105 viewPosition.x += xOffset;
171 viewPosition.x -= xOffset;
/openjdk7/jdk/src/share/classes/javax/swing/
H A DBufferStrategyPaintManager.java129 private int xOffset; field in class:BufferStrategyPaintManager
292 ((SunGraphics2D)bsg).constrain(xOffset + cx, yOffset + cy,
297 accumulate(xOffset + x, yOffset + y, w, h);
325 int relX = xOffset + x;
327 bsg.clipRect(xOffset + cBounds.x,
333 bsg.copyArea(xOffset + x, yOffset + y, w, h, deltaX,
336 accumulate(x + xOffset + deltaX, y + yOffset + deltaY, w, h);
574 xOffset = yOffset = 0;
578 xOffset += root.getX();
H A DJMenu.java420 int xOffset = UIManager.getInt("Menu.submenuPopupOffsetX");
425 x = s.width + xOffset; // Prefer placement to the right
432 x = 0 - xOffset - pmSize.width;
436 x = 0 - xOffset - pmSize.width; // Prefer placement to the left
442 x = s.width + xOffset;
457 int xOffset = UIManager.getInt("Menu.menuPopupOffsetX");
462 x = xOffset; // Extend to the right
469 x = s.width - xOffset - pmSize.width;
473 x = s.width - xOffset - pmSize.width; // Extend to the left
479 x = xOffset;
[all...]
H A DDebugGraphics.java54 int xOffset, yOffset; field in class:DebugGraphics
78 xOffset = yOffset = 0;
128 debugGraphics.xOffset = xOffset + x;
255 xOffset += x;
1445 debugGraphics.translate(xOffset, yOffset);
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/windows/
H A DWindowsScrollBarUI.java421 int xOffset = (minX - x) % 2;
425 int width = Math.min(BUFFER_SIZE - xOffset,
435 xOffset, yOffset,
436 xOffset + width, yOffset + height, null);
442 if (xOffset != 0) {
443 xCounter -= xOffset;
444 xOffset = 0;
/openjdk7/jdk/src/share/classes/com/sun/imageio/plugins/wbmp/
H A DWBMPImageWriter.java182 int xOffset = param.getSubsamplingXOffset();
185 sourceRegion.translate(xOffset, yOffset);
186 sourceRegion.width -= xOffset;
/openjdk7/jdk/src/share/classes/sun/awt/image/
H A DShortInterleavedRaster.java152 int xOffset = aRegion.x - origin.x;
155 dataOffsets[i] += xOffset*pixelStride+yOffset*scanlineStride;
164 int xOffset = aRegion.x - origin.x;
166 dataOffsets[0] += xOffset+yOffset*scanlineStride;
769 // +" xOff = "+xOffset+" yOff = "+yOffset);
H A DByteComponentRaster.java178 int xOffset = aRegion.x - origin.x;
182 xOffset*pixelStride+yOffset*scanlineStride;
192 int xOffset = aRegion.x - origin.x;
194 dataOffsets[0] += xOffset*pixelStride+yOffset*scanlineStride;
940 // +" xOff = "+xOffset+" yOff = "+yOffset
H A DShortComponentRaster.java178 int xOffset = aRegion.x - origin.x;
182 xOffset*pixelStride+yOffset*scanlineStride;
192 int xOffset = aRegion.x - origin.x;
194 dataOffsets[0] += xOffset+yOffset*scanlineStride;
873 // +" xOff = "+xOffset+" yOff = "+yOffset);
H A DIntegerInterleavedRaster.java146 int xOffset = aRegion.x - origin.x;
148 dataOffsets[0] += xOffset+yOffset*scanlineStride;
/openjdk7/jdk/src/share/native/sun/java2d/opengl/
H A DOGLSurfaceData.h169 jint xOffset; member in struct:_OGLSDOps
/openjdk7/jdk/src/share/classes/com/sun/imageio/plugins/png/
H A DPNGImageWriter.java764 int xOffset, int yOffset,
772 xOffset *= periodX;
778 int hpixels = (width - xOffset + xSkip - 1)/xSkip;
785 xOffset *= numBands;
855 for (int s = xOffset; s < numSamples; s += xSkip) {
875 for (int s = xOffset; s < numSamples; s += xSkip) {
883 for (int s = xOffset; s < numSamples; s += xSkip) {
892 for (int s = xOffset; s < numSamples; s += xSkip) {
762 encodePass(ImageOutputStream os, RenderedImage image, int xOffset, int yOffset, int xSkip, int ySkip) argument
/openjdk7/jdk/src/windows/native/sun/java2d/opengl/
H A DWGLSurfaceData.c92 oglsdo->xOffset = -insets.left;
95 oglsdo->xOffset = 0;
620 srcx = oglsdo->xOffset + srcx;
/openjdk7/jdk/src/share/classes/javax/swing/text/html/
H A DImageView.java419 int xOffset = leftInset - borderSize;
424 g.drawRect(rect.x + xOffset + counter,
426 rect.width - counter - counter - xOffset -xOffset-1,
/openjdk7/jdk/src/share/classes/sun/font/
H A DGlyphList.java450 int xOffset = StrikeCache.topLeftXOffset;
471 gx = StrikeCache.unsafe.getFloat(images[i]+xOffset);
/openjdk7/hotspot/src/share/tools/IdealGraphVisualizer/ControlFlow/src/com/sun/hotspot/igv/controlflow/
H A DControlFlowScene.java208 int xOffset = location.x - originalLocation.x;
212 p.translate(xOffset, yOffset);
/openjdk7/jdk/src/solaris/native/sun/java2d/opengl/
H A DGLXSurfaceData.c383 oglsdo->xOffset = 0;
456 oglsdo->xOffset = 0;
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/
H A DBasicOptionPaneUI.java1002 int xOffset = 0;
1032 xOffset = (container.getWidth() - insets.left -
1037 xOffset = (container.getWidth() - insets.left -
1058 if (xOffset != 0) {
1059 x += xOffset;

Completed in 94 milliseconds

12