Home
last modified time | relevance | path

Searched refs:aScreenSize (Results 1 – 7 of 7) sorted by relevance

/aoo41x/main/odk/examples/DevelopersGuide/Accessibility/
H A DGraphicalDisplay.java64 Dimension aScreenSize = Toolkit.getDefaultToolkit().getScreenSize(); in paintComponent() local
70 (int)(mnScale*aScreenSize.getWidth()), in paintComponent()
71 (int)(mnScale*aScreenSize.getHeight())); in paintComponent()
77 (int)(mnScale*aScreenSize.getWidth()), in paintComponent()
78 (int)(mnScale*aScreenSize.getHeight())); in paintComponent()
144 Dimension aScreenSize = Toolkit.getDefaultToolkit().getScreenSize(); in setupTransformation() local
146 if ((aScreenSize.getWidth() > 0) && (aScreenSize.getHeight() > 0)) in setupTransformation()
152 double nHScale = (aWidgetSize.getWidth() - 10) / aScreenSize.getWidth(); in setupTransformation()
153 double nVScale = (aWidgetSize.getHeight() - 10) / aScreenSize.getHeight(); in setupTransformation()
160 mnHOffset = (aWidgetSize.getWidth() - mnScale*aScreenSize.getWidth()) / 2.0; in setupTransformation()
[all …]
/aoo41x/main/accessibility/workben/org/openoffice/accessibility/awb/canvas/
H A DCanvas.java127 Dimension aScreenSize = Toolkit.getDefaultToolkit().getScreenSize(); in paintComponent() local
131 aScreenSize.getWidth(), in paintComponent()
132 aScreenSize.getHeight()); in paintComponent()
205 Dimension aScreenSize = Toolkit.getDefaultToolkit().getScreenSize(); in setupTransformation() local
208 if ((aScreenSize.getWidth() > 0) && (aScreenSize.getHeight() > 0)) in setupTransformation()
218 / aScreenSize.getWidth(); in setupTransformation()
220 / aScreenSize.getHeight(); in setupTransformation()
234 - mnScale*aScreenSize.getWidth()) / 2.0; in setupTransformation()
236 - mnScale*aScreenSize.getHeight()) / 2.0; in setupTransformation()
243 (int)(2*mnHOffset + mnScale * aScreenSize.getWidth()), in setupTransformation()
[all …]
/aoo41x/main/toolkit/test/accessibility/
H A DCanvas.java225 Dimension aScreenSize = Toolkit.getDefaultToolkit().getScreenSize(); in paintComponent() local
229 mnScale*aScreenSize.getWidth(), in paintComponent()
230 mnScale*aScreenSize.getHeight()); in paintComponent()
292 Dimension aScreenSize = Toolkit.getDefaultToolkit().getScreenSize(); in setupTransformation() local
295 if ((aScreenSize.getWidth() > 0) && (aScreenSize.getHeight() > 0)) in setupTransformation()
304 double nHScale = (aWidgetSize.getWidth() - 10) / aScreenSize.getWidth(); in setupTransformation()
305 double nVScale = (aWidgetSize.getHeight() - 10) / aScreenSize.getHeight(); in setupTransformation()
317 mnHOffset = (aWidgetSize.getWidth() - mnScale*aScreenSize.getWidth()) / 2.0; in setupTransformation()
318 mnVOffset = (aWidgetSize.getHeight() - mnScale*aScreenSize.getHeight()) / 2.0; in setupTransformation()
325 (int)(2*mnHOffset + mnScale * aScreenSize.getWidth()), in setupTransformation()
[all …]
/aoo41x/main/vcl/unx/gtk/window/
H A Dgtkframe.cxx1212 nScreenWidth = aScreenSize.Width(); in Center()
1213 nScreenHeight = aScreenSize.Height(); in Center()
1244 long w = aScreenSize.Width(); in calcDefaultSize()
1245 long h = aScreenSize.Height(); in calcDefaultSize()
1248 if (aScreenSize.Width() <= 1024 || aScreenSize.Height() <= 768) in calcDefaultSize()
1252 if( aScreenSize.Width() >= 800 ) in calcDefaultSize()
1254 if( aScreenSize.Width() >= 1024 ) in calcDefaultSize()
1257 if( aScreenSize.Height() >= 600 ) in calcDefaultSize()
1259 if( aScreenSize.Height() >= 768 ) in calcDefaultSize()
1261 if( aScreenSize.Height() >= 1024 ) in calcDefaultSize()
[all …]
/aoo41x/main/vcl/unx/generic/window/
H A Dsalframe.cxx335 w = aScreenSize.Width(); in Init()
336 h = aScreenSize.Height(); in Init()
341 if( aScreenSize.Width() >= 800 ) in Init()
343 if( aScreenSize.Width() >= 1024 ) in Init()
346 if( aScreenSize.Height() >= 600 ) in Init()
348 if( aScreenSize.Height() >= 768 ) in Init()
350 if( aScreenSize.Height() >= 1024 ) in Init()
1456 nScreenWidth = aScreenSize.Width(); in Center()
1457 nScreenHeight = aScreenSize.Height(); in Center()
3967 int nScreenWidth = aScreenSize.Width(); in HandleReparentEvent()
[all …]
/aoo41x/main/sfx2/source/dialog/
H A Dintro.cxx44 Size aScreenSize( GetDesktopRectPixel().GetSize() ); in Init() local
46 Point aWinPos( ( aScreenSize.Width() - aWinSize.Width() ) / 2, in Init()
47 ( aScreenSize.Height() - aWinSize.Height() ) / 2 ); in Init()
/aoo41x/main/vcl/unx/generic/app/
H A Dwmadaptor.cxx1620 Size aScreenSize( m_pSalDisplay->GetScreenSize( pFrame->GetScreenNumber() ) ); in maximizeFrame() local
1630 aScreenSize = rScreens[i].GetSize(); in maximizeFrame()
1635 Size( aScreenSize.Width() - rGeom.nLeftDecoration - rGeom.nTopDecoration, in maximizeFrame()
1636aScreenSize.Height() - rGeom.nTopDecoration - rGeom.nBottomDecoration ) in maximizeFrame()
1680 aTarget = Rectangle( Point( 0, 0 ), aScreenSize ); in maximizeFrame()

Completed in 131 milliseconds