Home
last modified time | relevance | path

Searched refs:firstRect (Results 1 – 25 of 63) sorted by relevance

123

/dports/devel/emscripten/emscripten-2.0.3/tests/
H A Dsdl_set_clip_rect.c17 SDL_Rect firstRect = {10, 10, 50, 100}; in main() local
42 SDL_SetClipRect(dst, &firstRect); in main()
45 assert(rect.x = firstRect.x); in main()
46 assert(rect.y = firstRect.y); in main()
47 assert(rect.w = firstRect.w); in main()
48 assert(rect.h = firstRect.h); in main()
57 assert(rect.w = firstRect.x + firstRect.w); in main()
58 assert(rect.h = firstRect.h + firstRect.h); in main()
/dports/converters/wkhtmltopdf/qt-5db36ec/doc/src/snippets/modelview-subclasses/
H A Dview.cpp239 QRect firstRect = itemViewportRect(firstItem); in selectionViewportRect() local
242 return QRect(firstRect.left(), firstRect.top(), in selectionViewportRect()
243 lastRect.right() - firstRect.left(), firstRect.height()); in selectionViewportRect()
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/src/java.desktop/macosx/classes/com/apple/laf/
H A DAquaTabbedPaneTabState.java176 final Rectangle firstRect = rects[right]; in relayoutForScrolling() local
177 if ((verticalTabRuns ? firstRect.height : firstRect.width) > remainingSpace) { in relayoutForScrolling()
181 firstRect.height = remainingSpace; // force it to fit! in relayoutForScrolling()
183 firstRect.width = remainingSpace; // force it to fit! in relayoutForScrolling()
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/src/java.desktop/macosx/classes/com/apple/laf/
H A DAquaTabbedPaneTabState.java176 final Rectangle firstRect = rects[right]; in relayoutForScrolling() local
177 if ((verticalTabRuns ? firstRect.height : firstRect.width) > remainingSpace) { in relayoutForScrolling()
181 firstRect.height = remainingSpace; // force it to fit! in relayoutForScrolling()
183 firstRect.width = remainingSpace; // force it to fit! in relayoutForScrolling()
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/src/java.desktop/macosx/classes/com/apple/laf/
H A DAquaTabbedPaneTabState.java176 final Rectangle firstRect = rects[right]; in relayoutForScrolling() local
177 if ((verticalTabRuns ? firstRect.height : firstRect.width) > remainingSpace) { in relayoutForScrolling()
181 firstRect.height = remainingSpace; // force it to fit! in relayoutForScrolling()
183 firstRect.width = remainingSpace; // force it to fit! in relayoutForScrolling()
/dports/java/openjdk8/jdk8u-jdk8u312-b07.1/jdk/src/macosx/classes/com/apple/laf/
H A DAquaTabbedPaneTabState.java176 final Rectangle firstRect = rects[right]; in relayoutForScrolling() local
177 if ((verticalTabRuns ? firstRect.height : firstRect.width) > remainingSpace) { in relayoutForScrolling()
181 firstRect.height = remainingSpace; // force it to fit! in relayoutForScrolling()
183 firstRect.width = remainingSpace; // force it to fit! in relayoutForScrolling()
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/src/java.desktop/macosx/classes/com/apple/laf/
H A DAquaTabbedPaneTabState.java176 final Rectangle firstRect = rects[right]; in relayoutForScrolling() local
177 if ((verticalTabRuns ? firstRect.height : firstRect.width) > remainingSpace) { in relayoutForScrolling()
181 firstRect.height = remainingSpace; // force it to fit! in relayoutForScrolling()
183 firstRect.width = remainingSpace; // force it to fit! in relayoutForScrolling()
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/src/java.desktop/macosx/classes/com/apple/laf/
H A DAquaTabbedPaneTabState.java176 final Rectangle firstRect = rects[right]; in relayoutForScrolling() local
177 if ((verticalTabRuns ? firstRect.height : firstRect.width) > remainingSpace) { in relayoutForScrolling()
181 firstRect.height = remainingSpace; // force it to fit! in relayoutForScrolling()
183 firstRect.width = remainingSpace; // force it to fit! in relayoutForScrolling()
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/src/java.desktop/macosx/classes/com/apple/laf/
H A DAquaTabbedPaneTabState.java176 final Rectangle firstRect = rects[right]; in relayoutForScrolling() local
177 if ((verticalTabRuns ? firstRect.height : firstRect.width) > remainingSpace) { in relayoutForScrolling()
181 firstRect.height = remainingSpace; // force it to fit! in relayoutForScrolling()
183 firstRect.width = remainingSpace; // force it to fit! in relayoutForScrolling()
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/src/java.desktop/macosx/classes/com/apple/laf/
H A DAquaTabbedPaneTabState.java176 final Rectangle firstRect = rects[right]; in relayoutForScrolling() local
177 if ((verticalTabRuns ? firstRect.height : firstRect.width) > remainingSpace) { in relayoutForScrolling()
181 firstRect.height = remainingSpace; // force it to fit! in relayoutForScrolling()
183 firstRect.width = remainingSpace; // force it to fit! in relayoutForScrolling()
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/src/java.desktop/macosx/classes/com/apple/laf/
H A DAquaTabbedPaneTabState.java176 final Rectangle firstRect = rects[right]; in relayoutForScrolling() local
177 if ((verticalTabRuns ? firstRect.height : firstRect.width) > remainingSpace) { in relayoutForScrolling()
181 firstRect.height = remainingSpace; // force it to fit! in relayoutForScrolling()
183 firstRect.width = remainingSpace; // force it to fit! in relayoutForScrolling()
/dports/java/openjdk8-jre/jdk8u-jdk8u312-b07.1/jdk/src/macosx/classes/com/apple/laf/
H A DAquaTabbedPaneTabState.java176 final Rectangle firstRect = rects[right]; in relayoutForScrolling() local
177 if ((verticalTabRuns ? firstRect.height : firstRect.width) > remainingSpace) { in relayoutForScrolling()
181 firstRect.height = remainingSpace; // force it to fit! in relayoutForScrolling()
183 firstRect.width = remainingSpace; // force it to fit! in relayoutForScrolling()
/dports/www/kf5-khtml/khtml-5.89.0/src/rendering/
H A Drender_canvas.cpp718 bool firstRect = true; in setSelection() local
722 if (firstRect) { in setSelection()
724 firstRect = false; in setSelection()
730 if (!firstRect) { in setSelection()
739 firstRect = true; in setSelection()
743 if (firstRect) { in setSelection()
745 firstRect = false; in setSelection()
751 if (!firstRect) { in setSelection()
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/src/java.desktop/share/classes/javax/swing/
H A DJList.java2664 Rectangle firstRect = getCellBounds(first,first); in getScrollableBlockIncrement() local
2665 if ((newFirstRect != null) && (firstRect!=null)) { in getScrollableBlockIncrement()
2667 firstRect.y + firstRect.height) && in getScrollableBlockIncrement()
2668 (newFirstRect.y < firstRect.y) ) { in getScrollableBlockIncrement()
2723 Rectangle firstRect = getCellBounds(first,first); in getScrollableBlockIncrement() local
2724 if (firstRect != null) { in getScrollableBlockIncrement()
2726 int firstRight = firstRect.x + firstRect.width; in getScrollableBlockIncrement()
2729 if ((firstRect.x < visibleRect.x - visibleRect.width) in getScrollableBlockIncrement()
2733 inc = visibleRect.x - firstRect.x; in getScrollableBlockIncrement()
2739 && (firstRect.x > visibleRight)) { in getScrollableBlockIncrement()
[all …]
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/src/java.desktop/share/classes/javax/swing/
H A DJList.java2664 Rectangle firstRect = getCellBounds(first,first); in getScrollableBlockIncrement() local
2665 if ((newFirstRect != null) && (firstRect!=null)) { in getScrollableBlockIncrement()
2667 firstRect.y + firstRect.height) && in getScrollableBlockIncrement()
2668 (newFirstRect.y < firstRect.y) ) { in getScrollableBlockIncrement()
2723 Rectangle firstRect = getCellBounds(first,first); in getScrollableBlockIncrement() local
2724 if (firstRect != null) { in getScrollableBlockIncrement()
2726 int firstRight = firstRect.x + firstRect.width; in getScrollableBlockIncrement()
2729 if ((firstRect.x < visibleRect.x - visibleRect.width) in getScrollableBlockIncrement()
2733 inc = visibleRect.x - firstRect.x; in getScrollableBlockIncrement()
2739 && (firstRect.x > visibleRight)) { in getScrollableBlockIncrement()
[all …]
/dports/java/openjdk8/jdk8u-jdk8u312-b07.1/jdk/src/share/classes/javax/swing/
H A DJList.java2667 Rectangle firstRect = getCellBounds(first,first); in getScrollableBlockIncrement() local
2668 if ((newFirstRect != null) && (firstRect!=null)) { in getScrollableBlockIncrement()
2670 firstRect.y + firstRect.height) && in getScrollableBlockIncrement()
2671 (newFirstRect.y < firstRect.y) ) { in getScrollableBlockIncrement()
2726 Rectangle firstRect = getCellBounds(first,first); in getScrollableBlockIncrement() local
2727 if (firstRect != null) { in getScrollableBlockIncrement()
2729 int firstRight = firstRect.x + firstRect.width; in getScrollableBlockIncrement()
2732 if ((firstRect.x < visibleRect.x - visibleRect.width) in getScrollableBlockIncrement()
2736 inc = visibleRect.x - firstRect.x; in getScrollableBlockIncrement()
2742 && (firstRect.x > visibleRight)) { in getScrollableBlockIncrement()
[all …]
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/src/java.desktop/share/classes/javax/swing/
H A DJList.java2664 Rectangle firstRect = getCellBounds(first,first); in getScrollableBlockIncrement() local
2665 if ((newFirstRect != null) && (firstRect!=null)) { in getScrollableBlockIncrement()
2667 firstRect.y + firstRect.height) && in getScrollableBlockIncrement()
2668 (newFirstRect.y < firstRect.y) ) { in getScrollableBlockIncrement()
2723 Rectangle firstRect = getCellBounds(first,first); in getScrollableBlockIncrement() local
2724 if (firstRect != null) { in getScrollableBlockIncrement()
2726 int firstRight = firstRect.x + firstRect.width; in getScrollableBlockIncrement()
2729 if ((firstRect.x < visibleRect.x - visibleRect.width) in getScrollableBlockIncrement()
2733 inc = visibleRect.x - firstRect.x; in getScrollableBlockIncrement()
2739 && (firstRect.x > visibleRight)) { in getScrollableBlockIncrement()
[all …]
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/src/java.desktop/share/classes/javax/swing/
H A DJList.java2664 Rectangle firstRect = getCellBounds(first,first); in getScrollableBlockIncrement() local
2665 if ((newFirstRect != null) && (firstRect!=null)) { in getScrollableBlockIncrement()
2667 firstRect.y + firstRect.height) && in getScrollableBlockIncrement()
2668 (newFirstRect.y < firstRect.y) ) { in getScrollableBlockIncrement()
2723 Rectangle firstRect = getCellBounds(first,first); in getScrollableBlockIncrement() local
2724 if (firstRect != null) { in getScrollableBlockIncrement()
2726 int firstRight = firstRect.x + firstRect.width; in getScrollableBlockIncrement()
2729 if ((firstRect.x < visibleRect.x - visibleRect.width) in getScrollableBlockIncrement()
2733 inc = visibleRect.x - firstRect.x; in getScrollableBlockIncrement()
2739 && (firstRect.x > visibleRight)) { in getScrollableBlockIncrement()
[all …]
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/src/java.desktop/share/classes/javax/swing/
H A DJList.java2664 Rectangle firstRect = getCellBounds(first,first); in getScrollableBlockIncrement() local
2665 if ((newFirstRect != null) && (firstRect!=null)) { in getScrollableBlockIncrement()
2667 firstRect.y + firstRect.height) && in getScrollableBlockIncrement()
2668 (newFirstRect.y < firstRect.y) ) { in getScrollableBlockIncrement()
2723 Rectangle firstRect = getCellBounds(first,first); in getScrollableBlockIncrement() local
2724 if (firstRect != null) { in getScrollableBlockIncrement()
2726 int firstRight = firstRect.x + firstRect.width; in getScrollableBlockIncrement()
2729 if ((firstRect.x < visibleRect.x - visibleRect.width) in getScrollableBlockIncrement()
2733 inc = visibleRect.x - firstRect.x; in getScrollableBlockIncrement()
2739 && (firstRect.x > visibleRight)) { in getScrollableBlockIncrement()
[all …]
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/src/java.desktop/share/classes/javax/swing/
H A DJList.java2664 Rectangle firstRect = getCellBounds(first,first); in getScrollableBlockIncrement() local
2665 if ((newFirstRect != null) && (firstRect!=null)) { in getScrollableBlockIncrement()
2667 firstRect.y + firstRect.height) && in getScrollableBlockIncrement()
2668 (newFirstRect.y < firstRect.y) ) { in getScrollableBlockIncrement()
2723 Rectangle firstRect = getCellBounds(first,first); in getScrollableBlockIncrement() local
2724 if (firstRect != null) { in getScrollableBlockIncrement()
2726 int firstRight = firstRect.x + firstRect.width; in getScrollableBlockIncrement()
2729 if ((firstRect.x < visibleRect.x - visibleRect.width) in getScrollableBlockIncrement()
2733 inc = visibleRect.x - firstRect.x; in getScrollableBlockIncrement()
2739 && (firstRect.x > visibleRight)) { in getScrollableBlockIncrement()
[all …]
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/src/java.desktop/share/classes/javax/swing/
H A DJList.java2664 Rectangle firstRect = getCellBounds(first,first); in getScrollableBlockIncrement() local
2665 if ((newFirstRect != null) && (firstRect!=null)) { in getScrollableBlockIncrement()
2667 firstRect.y + firstRect.height) && in getScrollableBlockIncrement()
2668 (newFirstRect.y < firstRect.y) ) { in getScrollableBlockIncrement()
2723 Rectangle firstRect = getCellBounds(first,first); in getScrollableBlockIncrement() local
2724 if (firstRect != null) { in getScrollableBlockIncrement()
2726 int firstRight = firstRect.x + firstRect.width; in getScrollableBlockIncrement()
2729 if ((firstRect.x < visibleRect.x - visibleRect.width) in getScrollableBlockIncrement()
2733 inc = visibleRect.x - firstRect.x; in getScrollableBlockIncrement()
2739 && (firstRect.x > visibleRight)) { in getScrollableBlockIncrement()
[all …]
/dports/java/openjdk8-jre/jdk8u-jdk8u312-b07.1/jdk/src/share/classes/javax/swing/
H A DJList.java2667 Rectangle firstRect = getCellBounds(first,first); in getScrollableBlockIncrement() local
2668 if ((newFirstRect != null) && (firstRect!=null)) { in getScrollableBlockIncrement()
2670 firstRect.y + firstRect.height) && in getScrollableBlockIncrement()
2671 (newFirstRect.y < firstRect.y) ) { in getScrollableBlockIncrement()
2726 Rectangle firstRect = getCellBounds(first,first); in getScrollableBlockIncrement() local
2727 if (firstRect != null) { in getScrollableBlockIncrement()
2729 int firstRight = firstRect.x + firstRect.width; in getScrollableBlockIncrement()
2732 if ((firstRect.x < visibleRect.x - visibleRect.width) in getScrollableBlockIncrement()
2736 inc = visibleRect.x - firstRect.x; in getScrollableBlockIncrement()
2742 && (firstRect.x > visibleRight)) { in getScrollableBlockIncrement()
[all …]
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/src/java.desktop/share/classes/javax/swing/
H A DJList.java2691 Rectangle firstRect = getCellBounds(first,first); in getScrollableBlockIncrement() local
2692 if ((newFirstRect != null) && (firstRect!=null)) { in getScrollableBlockIncrement()
2694 firstRect.y + firstRect.height) && in getScrollableBlockIncrement()
2695 (newFirstRect.y < firstRect.y) ) { in getScrollableBlockIncrement()
2750 Rectangle firstRect = getCellBounds(first,first); in getScrollableBlockIncrement() local
2751 if (firstRect != null) { in getScrollableBlockIncrement()
2753 int firstRight = firstRect.x + firstRect.width; in getScrollableBlockIncrement()
2756 if ((firstRect.x < visibleRect.x - visibleRect.width) in getScrollableBlockIncrement()
2760 inc = visibleRect.x - firstRect.x; in getScrollableBlockIncrement()
2766 && (firstRect.x > visibleRight)) { in getScrollableBlockIncrement()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/skia/tests/
H A DTextureOpTest.cpp22 static void check_chain(OpsTaskTestingAccess::OpChain* chain, SkRect firstRect, SkRect lastRect, in check_chain() argument
29 SkAssertResult(op.bounds() == firstRect.makeOutset(0.5f, 0.5f)); in check_chain()
/dports/net/freerdp/freerdp-2.5.0/libfreerdp/codec/test/
H A DTestFreeRDPRegion.c777 RECTANGLE_16 firstRect = { 0, 0, 100, 100 }; in test_empty_rectangle() local
791 if (rectangle_is_empty(&firstRect)) in test_empty_rectangle()
795 if (!region16_union_rect(&region, &region, &firstRect)) in test_empty_rectangle()

123