Home
last modified time | relevance | path

Searched refs:compBounds (Results 1 – 20 of 20) sorted by relevance

/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/test/jdk/sanity/client/lib/SwingSet3/src/com/sun/swingset3/demos/
H A DDemoUtilities.java42 Rectangle compBounds = component.getBounds(); in setToplevelLocation() local
54 x = (p.x + (compBounds.width / 2)) - (toplevel.getWidth() / 2); in setToplevelLocation()
59 x = p.x + compBounds.width; in setToplevelLocation()
60 y = (p.y + (compBounds.height / 2)) - (toplevel.getHeight() / 2); in setToplevelLocation()
64 x = (p.x + (compBounds.width / 2)) - (toplevel.getWidth() / 2); in setToplevelLocation()
65 y = p.y + compBounds.height; in setToplevelLocation()
74 x = p.x + compBounds.width; in setToplevelLocation()
84 x = p.x + compBounds.width; in setToplevelLocation()
85 y = p.y + compBounds.height; in setToplevelLocation()
90 y = p.y + compBounds.height; in setToplevelLocation()
[all …]
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/test/jdk/sanity/client/lib/SwingSet3/src/com/sun/swingset3/demos/
H A DDemoUtilities.java42 Rectangle compBounds = component.getBounds(); in setToplevelLocation() local
54 x = (p.x + (compBounds.width / 2)) - (toplevel.getWidth() / 2); in setToplevelLocation()
59 x = p.x + compBounds.width; in setToplevelLocation()
60 y = (p.y + (compBounds.height / 2)) - (toplevel.getHeight() / 2); in setToplevelLocation()
64 x = (p.x + (compBounds.width / 2)) - (toplevel.getWidth() / 2); in setToplevelLocation()
65 y = p.y + compBounds.height; in setToplevelLocation()
74 x = p.x + compBounds.width; in setToplevelLocation()
84 x = p.x + compBounds.width; in setToplevelLocation()
85 y = p.y + compBounds.height; in setToplevelLocation()
90 y = p.y + compBounds.height; in setToplevelLocation()
[all …]
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/test/jdk/sanity/client/lib/SwingSet3/src/com/sun/swingset3/demos/
H A DDemoUtilities.java42 Rectangle compBounds = component.getBounds(); in setToplevelLocation() local
54 x = (p.x + (compBounds.width / 2)) - (toplevel.getWidth() / 2); in setToplevelLocation()
59 x = p.x + compBounds.width; in setToplevelLocation()
60 y = (p.y + (compBounds.height / 2)) - (toplevel.getHeight() / 2); in setToplevelLocation()
64 x = (p.x + (compBounds.width / 2)) - (toplevel.getWidth() / 2); in setToplevelLocation()
65 y = p.y + compBounds.height; in setToplevelLocation()
74 x = p.x + compBounds.width; in setToplevelLocation()
84 x = p.x + compBounds.width; in setToplevelLocation()
85 y = p.y + compBounds.height; in setToplevelLocation()
90 y = p.y + compBounds.height; in setToplevelLocation()
[all …]
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/test/jdk/sanity/client/lib/SwingSet3/src/com/sun/swingset3/demos/
H A DDemoUtilities.java42 Rectangle compBounds = component.getBounds(); in setToplevelLocation() local
54 x = (p.x + (compBounds.width / 2)) - (toplevel.getWidth() / 2); in setToplevelLocation()
59 x = p.x + compBounds.width; in setToplevelLocation()
60 y = (p.y + (compBounds.height / 2)) - (toplevel.getHeight() / 2); in setToplevelLocation()
64 x = (p.x + (compBounds.width / 2)) - (toplevel.getWidth() / 2); in setToplevelLocation()
65 y = p.y + compBounds.height; in setToplevelLocation()
74 x = p.x + compBounds.width; in setToplevelLocation()
84 x = p.x + compBounds.width; in setToplevelLocation()
85 y = p.y + compBounds.height; in setToplevelLocation()
90 y = p.y + compBounds.height; in setToplevelLocation()
[all …]
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/test/jdk/sanity/client/lib/SwingSet3/src/com/sun/swingset3/demos/
H A DDemoUtilities.java42 Rectangle compBounds = component.getBounds(); in setToplevelLocation() local
54 x = (p.x + (compBounds.width / 2)) - (toplevel.getWidth() / 2); in setToplevelLocation()
59 x = p.x + compBounds.width; in setToplevelLocation()
60 y = (p.y + (compBounds.height / 2)) - (toplevel.getHeight() / 2); in setToplevelLocation()
64 x = (p.x + (compBounds.width / 2)) - (toplevel.getWidth() / 2); in setToplevelLocation()
65 y = p.y + compBounds.height; in setToplevelLocation()
74 x = p.x + compBounds.width; in setToplevelLocation()
84 x = p.x + compBounds.width; in setToplevelLocation()
85 y = p.y + compBounds.height; in setToplevelLocation()
90 y = p.y + compBounds.height; in setToplevelLocation()
[all …]
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/test/jdk/sanity/client/lib/SwingSet3/src/com/sun/swingset3/demos/
H A DDemoUtilities.java42 Rectangle compBounds = component.getBounds(); in setToplevelLocation() local
54 x = (p.x + (compBounds.width / 2)) - (toplevel.getWidth() / 2); in setToplevelLocation()
59 x = p.x + compBounds.width; in setToplevelLocation()
60 y = (p.y + (compBounds.height / 2)) - (toplevel.getHeight() / 2); in setToplevelLocation()
64 x = (p.x + (compBounds.width / 2)) - (toplevel.getWidth() / 2); in setToplevelLocation()
65 y = p.y + compBounds.height; in setToplevelLocation()
74 x = p.x + compBounds.width; in setToplevelLocation()
84 x = p.x + compBounds.width; in setToplevelLocation()
85 y = p.y + compBounds.height; in setToplevelLocation()
90 y = p.y + compBounds.height; in setToplevelLocation()
[all …]
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/test/jdk/sanity/client/lib/SwingSet3/src/com/sun/swingset3/demos/
H A DDemoUtilities.java42 Rectangle compBounds = component.getBounds(); in setToplevelLocation() local
54 x = (p.x + (compBounds.width / 2)) - (toplevel.getWidth() / 2); in setToplevelLocation()
59 x = p.x + compBounds.width; in setToplevelLocation()
60 y = (p.y + (compBounds.height / 2)) - (toplevel.getHeight() / 2); in setToplevelLocation()
64 x = (p.x + (compBounds.width / 2)) - (toplevel.getWidth() / 2); in setToplevelLocation()
65 y = p.y + compBounds.height; in setToplevelLocation()
74 x = p.x + compBounds.width; in setToplevelLocation()
84 x = p.x + compBounds.width; in setToplevelLocation()
85 y = p.y + compBounds.height; in setToplevelLocation()
90 y = p.y + compBounds.height; in setToplevelLocation()
[all …]
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/test/jdk/sanity/client/lib/SwingSet3/src/com/sun/swingset3/demos/
H A DDemoUtilities.java42 Rectangle compBounds = component.getBounds(); in setToplevelLocation() local
54 x = (p.x + (compBounds.width / 2)) - (toplevel.getWidth() / 2); in setToplevelLocation()
59 x = p.x + compBounds.width; in setToplevelLocation()
60 y = (p.y + (compBounds.height / 2)) - (toplevel.getHeight() / 2); in setToplevelLocation()
64 x = (p.x + (compBounds.width / 2)) - (toplevel.getWidth() / 2); in setToplevelLocation()
65 y = p.y + compBounds.height; in setToplevelLocation()
74 x = p.x + compBounds.width; in setToplevelLocation()
84 x = p.x + compBounds.width; in setToplevelLocation()
85 y = p.y + compBounds.height; in setToplevelLocation()
90 y = p.y + compBounds.height; in setToplevelLocation()
[all …]
/dports/devel/juce/JUCE-f37e9a1/examples/DemoRunner/Builds/Android/app/src/main/assets/
H A DDSPDemos_Common.h265 auto compBounds = bounds.removeFromTop (p->getPreferredHeight()); in resized() local
266 comp->setCentrePosition (compBounds.getCentre()); in resized()
/dports/devel/juce/JUCE-f37e9a1/examples/Assets/
H A DDSPDemos_Common.h265 auto compBounds = bounds.removeFromTop (p->getPreferredHeight()); in resized() local
266 comp->setCentrePosition (compBounds.getCentre()); in resized()
/dports/audio/carla/Carla-2.4.1/source/modules/juce_gui_basics/components/
H A Djuce_Component.cpp790 auto compBounds = owner.getLocalBounds(); in paint() local
791 auto imageBounds = compBounds * scale; in paint()
804 if (! validArea.containsRectangle (compBounds)) in paint()
817 lg.fillRect (compBounds, true); in paint()
824 validArea = compBounds; in paint()
827 …g.drawImageTransformed (image, AffineTransform::scale ((float) compBounds.getWidth() / (float) im… in paint()
828 … (float) compBounds.getHeight() / (float) imageBounds.getHeight()), false); in paint()
/dports/devel/juce/JUCE-f37e9a1/modules/juce_gui_basics/components/
H A Djuce_Component.cpp791 auto compBounds = owner.getLocalBounds(); in paint() local
792 auto imageBounds = compBounds * scale; in paint()
805 if (! validArea.containsRectangle (compBounds)) in paint()
818 lg.fillRect (compBounds, true); in paint()
825 validArea = compBounds; in paint()
828 …g.drawImageTransformed (image, AffineTransform::scale ((float) compBounds.getWidth() / (float) im… in paint()
829 … (float) compBounds.getHeight() / (float) imageBounds.getHeight()), false); in paint()
/dports/java/sablevm-classpath/sablevm-classpath-1.13/javax/swing/
H A DJComponent.java3228 Rectangle compBounds = c.getBounds(); in findOverlapFreeParent() local
3231 if (compBounds.contains(target)) in findOverlapFreeParent()
3233 if (compBounds.intersects(target)) in findOverlapFreeParent()
/dports/converters/wkhtmltopdf/qt-5db36ec/src/3rdparty/webkit/Source/WebCore/rendering/
H A DRenderLayerCompositor.cpp528 IntRect compBounds = child->backing()->compositedBounds(); in layerWillBeRemoved() local
532 compBounds.move(offsetX, offsetY); in layerWillBeRemoved()
534 compLayer->setBackingNeedsRepaintInRect(compBounds); in layerWillBeRemoved()
/dports/www/firefox-legacy/firefox-52.8.0esr/layout/base/
H A DnsLayoutUtils.cpp8143 ParentLayerRect compBounds; in CalculateCompositionSizeForFrame() local
8144 if (UpdateCompositionBoundsForRCDRSF(compBounds, presContext, false)) { in CalculateCompositionSizeForFrame()
8146 size = nsSize(compBounds.width * auPerDevPixel, compBounds.height * auPerDevPixel); in CalculateCompositionSizeForFrame()
8185 ParentLayerRect compBounds; in CalculateRootCompositionSize() local
8186 if (UpdateCompositionBoundsForRCDRSF(compBounds, rootPresContext, true)) { in CalculateRootCompositionSize()
8187 rootCompositionSize = ViewAs<ScreenPixel>(compBounds.Size(), in CalculateRootCompositionSize()
/dports/www/firefox-esr/firefox-91.8.0/layout/base/
H A DnsLayoutUtils.cpp8268 ParentLayerRect compBounds; in CalculateCompositionSizeForFrame() local
8269 if (UpdateCompositionBoundsForRCDRSF(compBounds, presContext)) { in CalculateCompositionSizeForFrame()
8271 size = nsSize(compBounds.width * auPerDevPixel, in CalculateCompositionSizeForFrame()
8272 compBounds.height * auPerDevPixel); in CalculateCompositionSizeForFrame()
8309 ParentLayerRect compBounds; in CalculateBoundingCompositionSize() local
8310 if (UpdateCompositionBoundsForRCDRSF(compBounds, rootPresContext)) { in CalculateBoundingCompositionSize()
8312 compBounds.Size(), in CalculateBoundingCompositionSize()
/dports/www/firefox/firefox-99.0/layout/base/
H A DnsLayoutUtils.cpp8190 ParentLayerRect compBounds; in CalculateCompositionSizeForFrame() local
8191 if (UpdateCompositionBoundsForRCDRSF(compBounds, presContext)) { in CalculateCompositionSizeForFrame()
8193 size = nsSize(compBounds.width * auPerDevPixel, in CalculateCompositionSizeForFrame()
8194 compBounds.height * auPerDevPixel); in CalculateCompositionSizeForFrame()
8228 ParentLayerRect compBounds; in CalculateBoundingCompositionSize() local
8229 if (UpdateCompositionBoundsForRCDRSF(compBounds, rootPresContext)) { in CalculateBoundingCompositionSize()
8231 compBounds.Size(), in CalculateBoundingCompositionSize()
/dports/mail/thunderbird/thunderbird-91.8.0/layout/base/
H A DnsLayoutUtils.cpp8268 ParentLayerRect compBounds; in CalculateCompositionSizeForFrame() local
8269 if (UpdateCompositionBoundsForRCDRSF(compBounds, presContext)) { in CalculateCompositionSizeForFrame()
8271 size = nsSize(compBounds.width * auPerDevPixel, in CalculateCompositionSizeForFrame()
8272 compBounds.height * auPerDevPixel); in CalculateCompositionSizeForFrame()
8309 ParentLayerRect compBounds; in CalculateBoundingCompositionSize() local
8310 if (UpdateCompositionBoundsForRCDRSF(compBounds, rootPresContext)) { in CalculateBoundingCompositionSize()
8312 compBounds.Size(), in CalculateBoundingCompositionSize()
/dports/lang/spidermonkey60/firefox-60.9.0/layout/base/
H A DnsLayoutUtils.cpp8306 ParentLayerRect compBounds; in CalculateCompositionSizeForFrame() local
8307 if (UpdateCompositionBoundsForRCDRSF(compBounds, presContext, false)) { in CalculateCompositionSizeForFrame()
8309 size = nsSize(compBounds.width * auPerDevPixel, in CalculateCompositionSizeForFrame()
8310 compBounds.height * auPerDevPixel); in CalculateCompositionSizeForFrame()
8346 ParentLayerRect compBounds; in CalculateRootCompositionSize() local
8347 if (UpdateCompositionBoundsForRCDRSF(compBounds, rootPresContext, true)) { in CalculateRootCompositionSize()
8349 compBounds.Size(), in CalculateRootCompositionSize()
/dports/lang/spidermonkey78/firefox-78.9.0/layout/base/
H A DnsLayoutUtils.cpp8640 ParentLayerRect compBounds; in CalculateCompositionSizeForFrame() local
8641 if (UpdateCompositionBoundsForRCDRSF(compBounds, presContext, false)) { in CalculateCompositionSizeForFrame()
8643 size = nsSize(compBounds.width * auPerDevPixel, in CalculateCompositionSizeForFrame()
8644 compBounds.height * auPerDevPixel); in CalculateCompositionSizeForFrame()
8681 ParentLayerRect compBounds; in CalculateRootCompositionSize() local
8682 if (UpdateCompositionBoundsForRCDRSF(compBounds, rootPresContext, true)) { in CalculateRootCompositionSize()
8684 compBounds.Size(), in CalculateRootCompositionSize()