Searched defs:windowSize (Results 1 - 4 of 4) sorted by relevance

/openjdk7/jdk/src/solaris/classes/sun/awt/X11/
H A DXPopupMenuPeer.java212 * @param windowSize the desired size of menu's window
214 protected Rectangle getWindowBounds(Point origin, Dimension windowSize) { argument
218 res = fitWindowRight(globalBounds, windowSize, screenSize);
222 res = fitWindowLeft(globalBounds, windowSize, screenSize);
226 res = fitWindowBelow(globalBounds, windowSize, screenSize);
230 res = fitWindowAbove(globalBounds, windowSize, screenSize);
234 return fitWindowToScreen(windowSize, screenSize);
H A DXMenuBarPeer.java297 protected Rectangle getSubmenuBounds(Rectangle itemBounds, Dimension windowSize) { argument
301 res = fitWindowBelow(globalBounds, windowSize, screenSize);
305 res = fitWindowAbove(globalBounds, windowSize, screenSize);
309 res = fitWindowRight(globalBounds, windowSize, screenSize);
313 res = fitWindowLeft(globalBounds, windowSize, screenSize);
317 return fitWindowToScreen(windowSize, screenSize);
H A DXMenuWindow.java279 protected Rectangle getSubmenuBounds(Rectangle itemBounds, Dimension windowSize) { argument
283 res = fitWindowRight(globalBounds, windowSize, screenSize);
287 res = fitWindowBelow(globalBounds, windowSize, screenSize);
291 res = fitWindowAbove(globalBounds, windowSize, screenSize);
295 res = fitWindowLeft(globalBounds, windowSize, screenSize);
299 return fitWindowToScreen(windowSize, screenSize);
455 Dimension windowSize = mappingData.getDesiredSize();
H A DXBaseMenuWindow.java207 * @param windowSize the desired size of submenu's window
209 protected abstract Rectangle getSubmenuBounds(Rectangle itemBounds, Dimension windowSize); argument
649 * of size windowSize fits to the specified edge of
659 * @param windowSize size of submenu window to fit
662 Rectangle fitWindowBelow(Rectangle itemBounds, Dimension windowSize, Dimension screenSize) { argument
663 int width = windowSize.width;
664 int height = windowSize.height;
688 * @param windowSize size of submenu window to fit
691 Rectangle fitWindowAbove(Rectangle itemBounds, Dimension windowSize, Dimension screenSize) { argument
692 int width = windowSize
720 fitWindowRight(Rectangle itemBounds, Dimension windowSize, Dimension screenSize) argument
749 fitWindowLeft(Rectangle itemBounds, Dimension windowSize, Dimension screenSize) argument
778 fitWindowToScreen(Dimension windowSize, Dimension screenSize) argument
[all...]

Completed in 35 milliseconds