Home
last modified time | relevance | path

Searched refs:requestedHeight (Results 1 – 25 of 49) sorted by relevance

12

/dports/games/scummvm/scummvm-2.5.1/backends/graphics/openglsdl/
H A Dopenglsdl-graphics.cpp345 _lastRequestedHeight = requestedHeight; in loadVideoMode()
368 requestedHeight = requestedWidth * 3 / 4; in loadVideoMode()
372 ConfMan.setInt("last_window_height", requestedHeight, Common::ConfigManager::kApplicationDomain); in loadVideoMode()
381 requestedHeight = requestedWidth * 3 / 4; in loadVideoMode()
390 requestedHeight = _lastRequestedHeight * _graphicsScale; in loadVideoMode()
396 float ratio = (float)requestedWidth / (float)requestedHeight; in loadVideoMode()
403 requestedHeight = requestedWidth / ratio; in loadVideoMode()
406 if (requestedHeight > maxAllowedHeight) { in loadVideoMode()
407 requestedHeight = maxAllowedHeight; in loadVideoMode()
408 requestedWidth = requestedHeight * ratio; in loadVideoMode()
[all …]
/dports/x11-wm/jwm/jwm-2.3.7/src/
H A Dswallow.c110 cp->requestedHeight = height; in CreateSwallow()
113 cp->requestedHeight = 1; in CreateSwallow()
134 np->cp->requestedHeight = 1; in ProcessSwallowEvent()
140 np->cp->requestedHeight in ProcessSwallowEvent()
150 && height != np->cp->requestedHeight) { in ProcessSwallowEvent()
152 np->cp->requestedHeight = height; in ProcessSwallowEvent()
258 np->cp->requestedHeight = attr.height + 2 * np->border; in CheckSwallowMap()
H A Dtraybutton.c74 bp->cp->requestedHeight = GetStringHeight(FONT_TRAY); in StartupTrayButtons()
77 bp->cp->requestedHeight = 0; in StartupTrayButtons()
86 bp->cp->requestedHeight in StartupTrayButtons()
87 = Max(bp->icon->height + 4, bp->cp->requestedHeight); in StartupTrayButtons()
148 cp->requestedHeight = height; in CreateTrayButton()
H A Dspacer.c35 cp->requestedHeight = height; in CreateSpacer()
54 cp->height = cp->requestedHeight; in SetSize()
H A Ddock.c162 cp->requestedHeight = 1; in CreateDock()
194 cp->requestedHeight = 0; in SetSize()
197 cp->requestedHeight = cp->height; in SetSize()
403 GetDockSize(&dock->cp->requestedWidth, &dock->cp->requestedHeight); in DockWindow()
436 GetDockSize(&dock->cp->requestedWidth, &dock->cp->requestedHeight); in HandleDockDestroy()
H A Dtray.c225 tp->requestedHeight = 0; in CreateTray()
262 cp->requestedHeight = 0; in CreateTrayComponent()
838 if(tp->requestedHeight >= 0) { in LayoutTray()
839 tp->height = tp->requestedHeight; in LayoutTray()
841 tp->height = rootHeight + tp->requestedHeight - tp->y; in LayoutTray()
850 if(cp->requestedHeight != 0) { in LayoutTray()
851 cp->height = cp->requestedHeight; in LayoutTray()
1042 tp->requestedHeight = atoi(str); in SetTrayHeight()
1071 && (tp->requestedHeight == 0 in SetTrayLayout()
1072 || tp->requestedHeight > tp->requestedWidth)) { in SetTrayLayout()
H A Dtray.h74 int requestedHeight; /**< Requested height. */ member
132 int requestedHeight; /**< Total requested height of the tray. */ member
H A Dclock.c81 if(clk->cp->requestedHeight == 0) { in StartupClock()
82 clk->cp->requestedHeight = GetStringHeight(FONT_CLOCK) + 4; in StartupClock()
143 cp->requestedHeight = height; in CreateClock()
/dports/print/scribus-devel/scribus-1.5.7/scribus/
H A Dcanvasgesture_rowresize.cpp84 double requestedHeight = gridPoint.y() - m_rowPositions[m_row]; in mouseMoveEvent() local
88 actualHeight = resizeRowMoveFollowing(requestedHeight); in mouseMoveEvent()
90 actualHeight = resizeRowResizeFollowing(requestedHeight); in mouseMoveEvent()
/dports/devel/flex-sdk35/flex-sdk3-3.5.0.12683_1/frameworks/projects/framework/src/mx/core/
H A DMovieClipLoaderAsset.as99 private var requestedHeight:Number;
140 requestedHeight = value;
236 if (!isNaN(requestedHeight))
237 loader.height = requestedHeight;
/dports/devel/flex-sdk/flex-sdk-4.6.0.23201/frameworks/projects/framework/src/mx/core/
H A DMovieClipLoaderAsset.as114 private var requestedHeight:Number;
165 requestedHeight = value;
266 if (!isNaN(requestedHeight))
267 loader.height = requestedHeight;
/dports/games/libretro-scummvm/scummvm-7b1e929/backends/platform/android/
H A Dgraphics.cpp106 bool AndroidGraphicsManager::loadVideoMode(uint requestedWidth, uint requestedHeight, const Graphic… in loadVideoMode() argument
107 ENTER("%d, %d, %s", requestedWidth, requestedHeight, format.toString().c_str()); in loadVideoMode()
H A Dgraphics.h47 bool loadVideoMode(uint requestedWidth, uint requestedHeight, const Graphics::PixelFormat &format);
/dports/games/scummvm/scummvm-2.5.1/backends/platform/android/
H A Dgraphics.cpp115 bool AndroidGraphicsManager::loadVideoMode(uint requestedWidth, uint requestedHeight, const Graphic… in loadVideoMode() argument
116 ENTER("%d, %d, %s", requestedWidth, requestedHeight, format.toString().c_str()); in loadVideoMode()
/dports/editors/calligra/calligra-3.2.1/words/part/frames/
H A DKWFrameLayout.cpp263 qreal requestedHeight[7], minimumHeight[7], resultingPositions[7]; in layoutFramesOnPage() local
265 requestedHeight[i] = 0; in layoutFramesOnPage()
331requestedHeight[1] = qMax(minimumHeight[1], textFrameSet->shapes().first()->minimumHeight()); in layoutFramesOnPage()
333 minimumHeight[2] = qMax((qreal)0, minimumHeight[1] - requestedHeight[1]); in layoutFramesOnPage()
342requestedHeight[5] = qMax(minimumHeight[5], textFrameSet->shapes().first()->minimumHeight()); in layoutFramesOnPage()
344 minimumHeight[4] = qMax((qreal)0, minimumHeight[5] - requestedHeight[5]); in layoutFramesOnPage()
361 requestedHeight[3] = -1; // rest in layoutFramesOnPage()
395 heightLeft -= qMax(minimumHeight[i], requestedHeight[i]); in layoutFramesOnPage()
402 y += qMax(minimumHeight[i], requestedHeight[i]); in layoutFramesOnPage()
414 if (requestedHeight[i] > row) { in layoutFramesOnPage()
/dports/devel/ptlib/ptlib-2.10.11/plugins/vidinput_v4l2/
H A Dvidinput_v4l2.cxx634 unsigned requestedHeight = height; in SetFrameSize() local
636 if (!VerifyHardwareFrameSize(requestedWidth, requestedHeight)) { in SetFrameSize()
642 if ((requestedWidth != width) || (requestedHeight != height)){ in SetFrameSize()
644 << requestedWidth << "x" << requestedHeight << " returned"); in SetFrameSize()
651 if(!PVideoDevice::SetFrameSize(requestedWidth, requestedHeight)){ in SetFrameSize()
675 unsigned requestedHeight = height; in SetNearestFrameSize() local
677 if (!VerifyHardwareFrameSize(requestedWidth, requestedHeight)) { in SetNearestFrameSize()
683 if ((requestedWidth != width) || (requestedHeight != height)){ in SetNearestFrameSize()
685 << requestedWidth << "x" << requestedHeight << " returned"); in SetNearestFrameSize()
688 if(!PVideoDevice::SetFrameSize(requestedWidth, requestedHeight)){ in SetNearestFrameSize()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/webrtc/sdk/android/api/org/webrtc/
H A DCameraEnumerationAndroid.java190 List<Size> supportedSizes, final int requestedWidth, final int requestedHeight) { in getClosestSupportedSize() argument
194 return abs(requestedWidth - size.width) + abs(requestedHeight - size.height); in getClosestSupportedSize()
/dports/net-im/tg_owt/tg_owt-d578c76/src/sdk/android/api/org/webrtc/
H A DCameraEnumerationAndroid.java190 List<Size> supportedSizes, final int requestedWidth, final int requestedHeight) { in getClosestSupportedSize() argument
194 return abs(requestedWidth - size.width) + abs(requestedHeight - size.height); in getClosestSupportedSize()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/webrtc/sdk/android/api/org/webrtc/
H A DCameraEnumerationAndroid.java190 List<Size> supportedSizes, final int requestedWidth, final int requestedHeight) { in getClosestSupportedSize() argument
194 return abs(requestedWidth - size.width) + abs(requestedHeight - size.height); in getClosestSupportedSize()
/dports/www/firefox/firefox-99.0/third_party/libwebrtc/sdk/android/api/org/webrtc/
H A DCameraEnumerationAndroid.java190 List<Size> supportedSizes, final int requestedWidth, final int requestedHeight) { in getClosestSupportedSize() argument
194 return abs(requestedWidth - size.width) + abs(requestedHeight - size.height); in getClosestSupportedSize()
/dports/mail/thunderbird/thunderbird-91.8.0/third_party/libwebrtc/webrtc/sdk/android/api/org/webrtc/
H A DCameraEnumerationAndroid.java190 List<Size> supportedSizes, final int requestedWidth, final int requestedHeight) { in getClosestSupportedSize() argument
194 return abs(requestedWidth - size.width) + abs(requestedHeight - size.height); in getClosestSupportedSize()
/dports/lang/spidermonkey60/firefox-60.9.0/media/webrtc/trunk/webrtc/sdk/android/api/org/webrtc/
H A DCameraEnumerationAndroid.java190 List<Size> supportedSizes, final int requestedWidth, final int requestedHeight) { in getClosestSupportedSize() argument
194 return abs(requestedWidth - size.width) + abs(requestedHeight - size.height); in getClosestSupportedSize()
/dports/www/firefox-esr/firefox-91.8.0/third_party/libwebrtc/webrtc/sdk/android/api/org/webrtc/
H A DCameraEnumerationAndroid.java190 List<Size> supportedSizes, final int requestedWidth, final int requestedHeight) { in getClosestSupportedSize() argument
194 return abs(requestedWidth - size.width) + abs(requestedHeight - size.height); in getClosestSupportedSize()
/dports/lang/spidermonkey78/firefox-78.9.0/media/webrtc/trunk/webrtc/sdk/android/api/org/webrtc/
H A DCameraEnumerationAndroid.java190 List<Size> supportedSizes, final int requestedWidth, final int requestedHeight) { in getClosestSupportedSize() argument
194 return abs(requestedWidth - size.width) + abs(requestedHeight - size.height); in getClosestSupportedSize()
/dports/games/libretro-scummvm/scummvm-7b1e929/backends/graphics/openglsdl/
H A Dopenglsdl-graphics.cpp324 bool OpenGLSdlGraphicsManager::loadVideoMode(uint requestedWidth, uint requestedHeight, const Graph… in loadVideoMode() argument
338 _lastRequestedHeight = requestedHeight; in loadVideoMode()
342 requestedHeight *= _graphicsScale; in loadVideoMode()
345 return setupMode(requestedWidth, requestedHeight); in loadVideoMode()

12