Home
last modified time | relevance | path

Searched refs:widthDelta (Results 1 – 25 of 28) sorted by relevance

12

/dports/www/firefox-legacy/firefox-52.8.0esr/mobile/android/base/java/org/mozilla/gecko/util/
H A DTouchTargetUtil.java31 final int widthDelta = (targetHitArea - delegateArea.width()) / 2; in ensureTargetHitArea()
32 delegateArea.right += widthDelta; in ensureTargetHitArea()
33 delegateArea.left -= widthDelta; in ensureTargetHitArea()
39 if (heightDelta <= 0 && widthDelta <= 0) { in ensureTargetHitArea()
/dports/lang/spidermonkey60/firefox-60.9.0/mobile/android/base/java/org/mozilla/gecko/util/
H A DTouchTargetUtil.java32 final int widthDelta = (targetHitArea - delegateArea.width()) / 2; in ensureTargetHitArea()
33 delegateArea.right += widthDelta; in ensureTargetHitArea()
34 delegateArea.left -= widthDelta; in ensureTargetHitArea()
40 if (heightDelta <= 0 && widthDelta <= 0) { in ensureTargetHitArea()
/dports/cad/ldview/ldview-4.4/CUI/
H A DCUIWindowResizer.cpp50 int widthDelta = newWidth - originalWidth; in resize() local
57 resizeSubWindow((*subWindowInfos)[i], widthDelta, heightDelta); in resize()
63 int widthDelta, int heightDelta) in resizeSubWindow() argument
107 x = (int)(x + widthDelta / widthSprings); in resizeSubWindow()
111 width = (int)(width + widthDelta / widthSprings); in resizeSubWindow()
H A DCUIWindowResizer.h43 int widthDelta, int heightDelta);
/dports/audio/vst3sdk/vst3sdk-3.7.1_build_50-1-g8199057/vstgui4/vstgui/lib/
H A Dctabview.cpp480 CCoord widthDelta = rect.getWidth () - oldSize.getWidth (); in setViewSize() local
483 if (widthDelta != 0 || heightDelta != 0) in setViewSize()
502 viewSize.offset (counter * (widthDelta / (numSubviews)), 0); in setViewSize()
503 mouseSize.offset (counter * (widthDelta / (numSubviews)), 0); in setViewSize()
505 viewSize.setWidth (viewSize.getWidth () + (widthDelta / (numSubviews))); in setViewSize()
506 mouseSize.setWidth (mouseSize.getWidth () + (widthDelta / (numSubviews))); in setViewSize()
508 else if (widthDelta != 0 && autosize & kAutosizeRight) in setViewSize()
510 viewSize.right += widthDelta; in setViewSize()
511 mouseSize.right += widthDelta; in setViewSize()
514 viewSize.left += widthDelta; in setViewSize()
[all …]
H A Dcviewcontainer.cpp290 CCoord widthDelta = rect.getWidth () - oldSize.getWidth (); in setViewSize() local
292 getTransform ().inverse ().transform (widthDelta, heightDelta); in setViewSize()
294 if (widthDelta != 0 || heightDelta != 0) in setViewSize()
309 viewSize.offset (counter * (widthDelta / (numSubviews)), 0); in setViewSize()
310 mouseSize.offset (counter * (widthDelta / (numSubviews)), 0); in setViewSize()
312 viewSize.setWidth (viewSize.getWidth () + (widthDelta / (numSubviews))); in setViewSize()
315 else if (widthDelta != 0 && autosize & kAutosizeRight) in setViewSize()
317 viewSize.right += widthDelta; in setViewSize()
318 mouseSize.right += widthDelta; in setViewSize()
321 viewSize.left += widthDelta; in setViewSize()
[all …]
/dports/audio/surge-synthesizer-lv2/surge-release_1.9.0/vstgui.surge/vstgui/lib/
H A Dctabview.cpp481 CCoord widthDelta = rect.getWidth () - oldSize.getWidth (); in setViewSize() local
484 if (widthDelta != 0 || heightDelta != 0) in setViewSize()
503 viewSize.offset (counter * (widthDelta / (numSubviews)), 0); in setViewSize()
504 mouseSize.offset (counter * (widthDelta / (numSubviews)), 0); in setViewSize()
506 viewSize.setWidth (viewSize.getWidth () + (widthDelta / (numSubviews))); in setViewSize()
507 mouseSize.setWidth (mouseSize.getWidth () + (widthDelta / (numSubviews))); in setViewSize()
509 else if (widthDelta != 0 && autosize & kAutosizeRight) in setViewSize()
511 viewSize.right += widthDelta; in setViewSize()
512 mouseSize.right += widthDelta; in setViewSize()
515 viewSize.left += widthDelta; in setViewSize()
[all …]
H A Dcviewcontainer.cpp290 CCoord widthDelta = rect.getWidth () - oldSize.getWidth (); in setViewSize() local
292 getTransform ().inverse ().transform (widthDelta, heightDelta); in setViewSize()
294 if (widthDelta != 0 || heightDelta != 0) in setViewSize()
309 viewSize.offset (counter * (widthDelta / (numSubviews)), 0); in setViewSize()
310 mouseSize.offset (counter * (widthDelta / (numSubviews)), 0); in setViewSize()
312 viewSize.setWidth (viewSize.getWidth () + (widthDelta / (numSubviews))); in setViewSize()
315 else if (widthDelta != 0 && autosize & kAutosizeRight) in setViewSize()
317 viewSize.right += widthDelta; in setViewSize()
318 mouseSize.right += widthDelta; in setViewSize()
321 viewSize.left += widthDelta; in setViewSize()
[all …]
/dports/lang/spidermonkey60/firefox-60.9.0/mobile/android/base/java/org/mozilla/gecko/icons/loader/
H A DSuggestedSiteLoader.java92 final int widthDelta = targetSize - (int) (scaleFactor * foreground.getWidth()); in buildIcon() local
94 …final Rect dst = new Rect(widthDelta / 2, heightDelta / 2, output.getWidth() - (widthDelta / 2), o… in buildIcon()
/dports/graphics/opendx/dx-4.4.4/src/uipp/dxuilib/
H A DControlPanelWorkSpace.h59 int widthDelta, heightDelta; variable
133 void setSizeDeltas (int w, int h) {this->widthDelta = w; this->heightDelta = h;} in setSizeDeltas()
H A DControlPanelWorkSpace.C289 this->setWidthHeight (w-this->widthDelta, h-this->heightDelta); in resize()
/dports/games/palomino/palomino/src/sky/
H A Dclouds.cc125 … const fp widthDelta = world::conv::Meters2Sim( cloudConf.mCloudMaxWidth ) - widthMin; in MakeClouds() local
134 ASSERT( widthDelta > 0 ); in MakeClouds()
159 const fp width = widthMin + Random::random_f( widthDelta ); in MakeClouds()
/dports/graphics/xournalpp/xournalpp-1.1.0/src/control/tools/
H A DStrokeHandler.cpp90 if (const double widthDelta = (point.z - endPoint.z) * stroke->getWidth(); in paintTo() local
91 - widthDelta > MAX_WIDTH_VARIATION || widthDelta > MAX_WIDTH_VARIATION) { in paintTo()
96 double nbSteps = std::min(std::ceil(std::abs(widthDelta) / MAX_WIDTH_VARIATION), in paintTo()
100 widthDelta * stepLength); in paintTo()
/dports/cad/ldview/ldview-4.4/
H A DModelLoader.cpp66 int widthDelta = 0; in startup() local
126 CW_USEDEFAULT, width + widthDelta, height); in startup()
H A DModelTreeDialog.cpp488 void ModelTreeDialog::adjustWindow(int widthDelta) in adjustWindow() argument
493 if (widthDelta > 0) in adjustWindow()
501 minWidth += widthDelta; in adjustWindow()
503 m_resizer->setOriginalWidth(m_resizer->getOriginalWidth() + widthDelta); in adjustWindow()
517 windowRect.right += widthDelta; in adjustWindow()
H A DModelTreeDialog.h41 void adjustWindow(int widthDelta);
/dports/net-im/telegram-desktop/tdesktop-3.2.5-full/Telegram/lib_ui/ui/widgets/
H A Dlabels.cpp125 auto widthDelta = (snapshotNow.width() / pixelRatio) - (snapshotWas.width() / pixelRatio); in paintLine() local
135 if (widthDelta > 0) { in paintLine()
136 …p.fillRect(left + (snapshotWas.width() / pixelRatio), topNow, widthDelta, snapshotNow.height() / p… in paintLine()
146 if (widthDelta < 0) { in paintLine()
147 …p.fillRect(left + (snapshotNow.width() / pixelRatio), topWas, -widthDelta, snapshotWas.height() / … in paintLine()
/dports/graphics/libprojectm/projectm-3.1.12/src/museum/projectM-iTunes-VizKit/source/
H A DVisualStageBox.cpp953 double widthDelta = this->unscaledCoordWidth - (this->unscaledCoordWidth * this->scaleFactor); in applyScaleFactor() local
954 widthDelta /= 2.0; in applyScaleFactor()
955 left = this->leftCoord + widthDelta; in applyScaleFactor()
956 right = this->rightCoord - widthDelta; in applyScaleFactor()
/dports/converters/wkhtmltopdf/qt-5db36ec/src/3rdparty/webkit/Source/WebCore/rendering/
H A DRenderThemeSafari.cpp300 int widthDelta = r.width() - (size.width() + margins[leftMargin] + margins[rightMargin]); in inflateRect() local
303 if (widthDelta < 0) { in inflateRect()
305 result.setWidth(result.width() - widthDelta); in inflateRect()
/dports/converters/wkhtmltopdf/qt-5db36ec/src/3rdparty/webkit/Source/WebCore/platform/mac/
H A DThemeMac.mm191 …int widthDelta = zoomedRect.width() - (zoomedSize.width() + margins[leftMargin] * zoomFactor + mar…
194 if (widthDelta < 0) {
196 result.setWidth(result.width() - widthDelta);
/dports/lang/spidermonkey60/firefox-60.9.0/xpfe/appshell/
H A DnsXULWindow.cpp2149 int32_t widthDelta = aDesiredWidth - shellItemWidth; in SizeShellToWithLimit() local
2152 if (widthDelta || heightDelta) { in SizeShellToWithLimit()
2161 winWidth = std::max(winWidth + widthDelta, aDesiredWidth); in SizeShellToWithLimit()
/dports/www/firefox-legacy/firefox-52.8.0esr/xpfe/appshell/
H A DnsXULWindow.cpp2300 int32_t widthDelta = aDesiredWidth - shellItemWidth; in SizeShellToWithLimit() local
2303 if (widthDelta || heightDelta) { in SizeShellToWithLimit()
2312 winWidth = std::max(winWidth + widthDelta, aDesiredWidth); in SizeShellToWithLimit()
/dports/lang/spidermonkey78/firefox-78.9.0/xpfe/appshell/
H A DAppWindow.cpp2548 int32_t widthDelta = aDesiredWidth - shellItemWidth; in SizeShellToWithLimit() local
2551 if (widthDelta || heightDelta) { in SizeShellToWithLimit()
2560 winWidth = std::max(winWidth + widthDelta, aDesiredWidth); in SizeShellToWithLimit()
/dports/mail/thunderbird/thunderbird-91.8.0/xpfe/appshell/
H A DAppWindow.cpp2717 int32_t widthDelta = aDesiredWidth - shellItemWidth; in SizeShellToWithLimit() local
2720 if (widthDelta || heightDelta) { in SizeShellToWithLimit()
2729 winWidth = std::max(winWidth + widthDelta, aDesiredWidth); in SizeShellToWithLimit()
/dports/www/firefox/firefox-99.0/xpfe/appshell/
H A DAppWindow.cpp2722 int32_t widthDelta = aDesiredWidth - shellItemWidth; in SizeShellToWithLimit() local
2725 if (widthDelta || heightDelta) { in SizeShellToWithLimit()
2734 winWidth = std::max(winWidth + widthDelta, aDesiredWidth); in SizeShellToWithLimit()

12