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

/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/ui/
H A DHighPrecisionJScrollBar.java282 private BigDecimal getScaleFactor() { method in class:HighPrecisionJScrollBar
290 if (down) return ib.multiply(getScaleFactor()).toBigInteger();
291 else return ib.divide(getScaleFactor(), BigDecimal.ROUND_DOWN).toBigInteger();
296 if (down) return d.divide(getScaleFactor(), BigDecimal.ROUND_DOWN).intValue();
297 else return d.multiply(getScaleFactor()).intValue();
/openjdk7/jdk/src/macosx/classes/sun/java2d/opengl/
H A DCGLLayer.java93 setScale(gc.getDevice().getScaleFactor());
H A DCGLGraphicsConfig.java531 return getMaxTextureSize() / (getDevice().getScaleFactor() * 2);
549 return getMaxTextureSize() / (getDevice().getScaleFactor() * 2);
H A DCGLSurfaceData.java61 scale = type == TEXTURE ? 1 : gc.getDevice().getScaleFactor();
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/
H A DXScrollbar.java531 return Math.max(0,(int)((x - (thumbOffset.x + getArrowAreaWidth()))/getScaleFactor())) + min;
533 return Math.max(0,(int)((x - (getArrowAreaWidth()))/getScaleFactor())) + min;
536 return Math.max(0,(int)((y - (thumbOffset.y + getArrowAreaWidth()))/getScaleFactor())) + min;
538 return Math.max(0,(int)((y - (getArrowAreaWidth()))/getScaleFactor())) + min;
754 private double getScaleFactor(){ method in class:XScrollbar
/openjdk7/jdk/src/macosx/classes/sun/awt/
H A DCGraphicsDevice.java126 public int getScaleFactor() { method in class:CGraphicsDevice

Completed in 1030 milliseconds