/dports/www/firefox-esr/firefox-91.8.0/gfx/layers/apz/util/ |
H A D | DoubleTapToZoom.cpp | 127 CSSRect rect = in ShouldZoomToElement() 167 static CSSRect AddHMargin(const CSSRect& aRect, const CSSCoord& aMargin, in AddHMargin() 169 CSSRect rect = in AddHMargin() 178 static CSSRect AddVMargin(const CSSRect& aRect, const CSSCoord& aMargin, in AddVMargin() 180 CSSRect rect = in AddVMargin() 181 CSSRect(aRect.X(), in AddVMargin() 205 const CSSRect zoomOut; in CalculateRectToZoomTo() 241 CSSRect compositedArea(visualScrollOffset, in CalculateRectToZoomTo() 243 Maybe<CSSRect> nearestScrollClip; in CalculateRectToZoomTo() 260 CSSRect overflowRectCSS = CSSRect::FromAppUnits(overflowRect); in CalculateRectToZoomTo() [all …]
|
/dports/www/firefox/firefox-99.0/gfx/layers/apz/util/ |
H A D | DoubleTapToZoom.cpp | 128 CSSRect rect = in ShouldZoomToElement() 168 static CSSRect AddHMargin(const CSSRect& aRect, const CSSCoord& aMargin, in AddHMargin() 170 CSSRect rect = in AddHMargin() 179 static CSSRect AddVMargin(const CSSRect& aRect, const CSSCoord& aMargin, in AddVMargin() 181 CSSRect rect = in AddVMargin() 182 CSSRect(aRect.X(), in AddVMargin() 217 const CSSRect zoomOut; in CalculateRectToZoomTo() 260 CSSRect compositedArea(visualScrollOffset, in CalculateRectToZoomTo() 262 Maybe<CSSRect> nearestScrollClip; in CalculateRectToZoomTo() 279 CSSRect overflowRectCSS = CSSRect::FromAppUnits(overflowRect); in CalculateRectToZoomTo() [all …]
|
/dports/mail/thunderbird/thunderbird-91.8.0/gfx/layers/apz/util/ |
H A D | DoubleTapToZoom.cpp | 127 CSSRect rect = in ShouldZoomToElement() 167 static CSSRect AddHMargin(const CSSRect& aRect, const CSSCoord& aMargin, in AddHMargin() 169 CSSRect rect = in AddHMargin() 178 static CSSRect AddVMargin(const CSSRect& aRect, const CSSCoord& aMargin, in AddVMargin() 180 CSSRect rect = in AddVMargin() 181 CSSRect(aRect.X(), in AddVMargin() 205 const CSSRect zoomOut; in CalculateRectToZoomTo() 241 CSSRect compositedArea(visualScrollOffset, in CalculateRectToZoomTo() 243 Maybe<CSSRect> nearestScrollClip; in CalculateRectToZoomTo() 260 CSSRect overflowRectCSS = CSSRect::FromAppUnits(overflowRect); in CalculateRectToZoomTo() [all …]
|
/dports/www/firefox-esr/firefox-91.8.0/gfx/layers/ |
H A D | FrameMetrics.h | 178 CSSRect GetExpandedScrollableRect() const { 229 CSSRect CalculateScrollRange() const { 387 CSSRect GetVisualViewport() const { 388 return CSSRect(GetVisualScrollOffset(), 482 const CSSRect& aVisualViewport, const CSSRect& aScrollableRect, 483 CSSRect& aLayoutViewport); 487 static CSSRect CalculateScrollRange(const CSSRect& aScrollableRect, 539 CSSRect mDisplayPort; 547 CSSRect mCriticalDisplayPort; 562 CSSRect mScrollableRect; [all …]
|
/dports/mail/thunderbird/thunderbird-91.8.0/gfx/layers/ |
H A D | FrameMetrics.h | 178 CSSRect GetExpandedScrollableRect() const { 229 CSSRect CalculateScrollRange() const { 387 CSSRect GetVisualViewport() const { 388 return CSSRect(GetVisualScrollOffset(), 482 const CSSRect& aVisualViewport, const CSSRect& aScrollableRect, 483 CSSRect& aLayoutViewport); 487 static CSSRect CalculateScrollRange(const CSSRect& aScrollableRect, 539 CSSRect mDisplayPort; 547 CSSRect mCriticalDisplayPort; 562 CSSRect mScrollableRect; [all …]
|
/dports/lang/spidermonkey78/firefox-78.9.0/gfx/layers/ |
H A D | FrameMetrics.h | 189 CSSRect GetExpandedScrollableRect() const { 190 CSSRect scrollableRect = mScrollableRect; 243 CSSRect CalculateScrollRange() const { 245 CSSRect scrollRange = mScrollableRect; 457 CSSRect GetVisualViewport() const { 532 const CSSRect& aVisualViewport, const CSSRect& aScrollableRect, 533 CSSRect& aLayoutViewport); 573 CSSRect mDisplayPort; 581 CSSRect mCriticalDisplayPort; 596 CSSRect mScrollableRect; [all …]
|
/dports/lang/spidermonkey78/firefox-78.9.0/gfx/layers/apz/util/ |
H A D | DoubleTapToZoom.cpp | 76 static bool IsRectZoomedIn(const CSSRect& aRect, in IsRectZoomedIn() 77 const CSSRect& aCompositedArea) { in IsRectZoomedIn() 81 CSSRect overlap = aCompositedArea.Intersect(aRect); in IsRectZoomedIn() 95 CSSRect CalculateRectToZoomTo(const RefPtr<dom::Document>& aRootContentDocument, in CalculateRectToZoomTo() 101 const CSSRect zoomOut; in CalculateRectToZoomTo() 129 CSSRect compositedArea( in CalculateRectToZoomTo() 133 CSSRect rect = in CalculateRectToZoomTo() 156 rect = CSSRect(std::max(metrics.GetScrollableRect().X(), rect.X() - margin), in CalculateRectToZoomTo() 168 CSSRect rounded(rect); in CalculateRectToZoomTo()
|
/dports/lang/spidermonkey60/firefox-60.9.0/gfx/layers/apz/util/ |
H A D | DoubleTapToZoom.cpp | 70 static bool IsRectZoomedIn(const CSSRect& aRect, in IsRectZoomedIn() 71 const CSSRect& aCompositedArea) { in IsRectZoomedIn() 75 CSSRect overlap = aCompositedArea.Intersect(aRect); in IsRectZoomedIn() 87 CSSRect CalculateRectToZoomTo(const nsCOMPtr<nsIDocument>& aRootContentDocument, in CalculateRectToZoomTo() 93 const CSSRect zoomOut; in CalculateRectToZoomTo() 120 CSSRect compositedArea(metrics.GetScrollOffset(), in CalculateRectToZoomTo() 123 CSSRect rect = in CalculateRectToZoomTo() 146 rect = CSSRect(std::max(metrics.GetScrollableRect().X(), rect.X() - margin), in CalculateRectToZoomTo() 158 CSSRect rounded(rect); in CalculateRectToZoomTo()
|
/dports/www/firefox-legacy/firefox-52.8.0esr/gfx/layers/apz/util/ |
H A D | DoubleTapToZoom.cpp | 74 IsRectZoomedIn(const CSSRect& aRect, const CSSRect& aCompositedArea) in IsRectZoomedIn() 79 CSSRect overlap = aCompositedArea.Intersect(aRect); in IsRectZoomedIn() 90 CSSRect 98 const CSSRect zoomOut; in CalculateRectToZoomTo() 124 CSSRect compositedArea(metrics.GetScrollOffset(), metrics.CalculateCompositedSizeInCssPixels()); in CalculateRectToZoomTo() 126 CSSRect rect = nsLayoutUtils::GetBoundingContentRect(element, rootScrollFrame); in CalculateRectToZoomTo() 147 rect = CSSRect(std::max(metrics.GetScrollableRect().x, rect.x - margin), in CalculateRectToZoomTo() 160 CSSRect rounded(rect); in CalculateRectToZoomTo()
|
/dports/www/firefox/firefox-99.0/gfx/layers/ |
H A D | FrameMetrics.h | 180 CSSRect GetExpandedScrollableRect() const { 181 CSSRect scrollableRect = mScrollableRect; 231 CSSRect CalculateScrollRange() const { 381 CSSRect GetVisualViewport() const { 382 return CSSRect(GetVisualScrollOffset(), 477 const CSSRect& aVisualViewport, const CSSRect& aScrollableRect, 478 CSSRect& aLayoutViewport); 482 static CSSRect CalculateScrollRange(const CSSRect& aScrollableRect, 538 CSSRect mDisplayPort; 553 CSSRect mScrollableRect; [all …]
|
/dports/www/firefox-esr/firefox-91.8.0/gfx/layers/apz/test/gtest/ |
H A D | TestBasic.cpp | 16 fm.SetScrollableRect(CSSRect(0, 0, 125, 150)); in TEST_F() 89 metrics.SetDisplayPort(CSSRect(-1, -1, 6, 6)); in TEST_F() 91 metrics.SetLayoutViewport(CSSRect(10, 10, 8, 8)); in TEST_F() 92 metrics.SetScrollableRect(CSSRect(0, 0, 50, 50)); in TEST_F() 257 metrics.SetScrollableRect(CSSRect(0, 0, 1000, 1000)); in TEST_F() 291 metrics.SetScrollableRect(CSSRect(0, 0, 100, 10000)); in TEST_F() 292 metrics.SetLayoutViewport(CSSRect(0, 0, 100, 100)); in TEST_F() 375 metrics.SetScrollableRect(CSSRect(0, 0, 100, 1000)); in TEST_F() 376 metrics.SetLayoutViewport(CSSRect(0, 0, 100, 100)); in TEST_F() 444 metrics.SetScrollableRect(CSSRect(0, 0, 100, 1000)); in TEST_F() [all …]
|
H A D | TestScrollHandoff.cpp | 23 CSSRect(0, 0, 200, 200)); in CreateScrollHandoffLayerTree1() 26 CSSRect(0, 0, 100, 100)); in CreateScrollHandoffLayerTree1() 44 CSSRect(0, 0, 200, 200)); in CreateScrollHandoffLayerTree2() 50 CSSRect(0, 0, 100, 100)); in CreateScrollHandoffLayerTree2() 72 CSSRect(0, 0, 100, 100)); in CreateScrollHandoffLayerTree3() 75 CSSRect(0, 0, 100, 100)); in CreateScrollHandoffLayerTree3() 78 CSSRect(0, 0, 100, 100)); in CreateScrollHandoffLayerTree3() 81 CSSRect(0, 50, 100, 100)); in CreateScrollHandoffLayerTree3() 103 CSSRect(0, 0, 200, 100)); in CreateScrollHandoffLayerTree4() 106 CSSRect(0, 0, 100, 200)); in CreateScrollHandoffLayerTree4() [all …]
|
H A D | APZCTreeManagerTester.h | 102 ScrollableLayerGuid::ViewID aScrollId, const CSSRect& aScrollableRect, in BuildScrollMetadata() 122 CSSRect scrollableRect = metrics.GetScrollableRect(); in SetEventRegionsBasedOnBottommostMetrics() 123 if (!scrollableRect.IsEqualEdges(CSSRect(-1, -1, -1, -1))) { in SetEventRegionsBasedOnBottommostMetrics() 141 CSSRect aScrollableRect = CSSRect(-1, -1, -1, -1)) { 177 CSSRect(0, 0, 500, 500)); in CreateSimpleScrollingLayer()
|
/dports/www/firefox/firefox-99.0/gfx/layers/apz/test/gtest/ |
H A D | TestBasic.cpp | 18 fm.SetScrollableRect(CSSRect(0, 0, 125, 150)); in TEST_F() 89 metrics.SetDisplayPort(CSSRect(-1, -1, 6, 6)); in TEST_F() 91 metrics.SetLayoutViewport(CSSRect(10, 10, 8, 8)); in TEST_F() 92 metrics.SetScrollableRect(CSSRect(0, 0, 50, 50)); in TEST_F() 293 metrics.SetLayoutViewport(CSSRect(0, 0, 100, 100)); in TEST_F() 376 metrics.SetScrollableRect(CSSRect(0, 0, 100, 1000)); in TEST_F() 377 metrics.SetLayoutViewport(CSSRect(0, 0, 100, 100)); in TEST_F() 386 ZoomTarget zoomTarget{CSSRect(75, 25, 25, 25)}; in TEST_F() 398 ZoomTarget zoomTarget2{CSSRect(0, 0, 100, 100)}; in TEST_F() 446 metrics.SetLayoutViewport(CSSRect(0, 0, 100, 100)); in TEST_F() [all …]
|
H A D | TestScrollHandoff.cpp | 22 CSSRect(0, 0, 200, 200)); in CreateScrollHandoffLayerTree1() 25 CSSRect(0, 0, 100, 100)); in CreateScrollHandoffLayerTree1() 41 CSSRect(0, 0, 200, 200)); in CreateScrollHandoffLayerTree2() 47 CSSRect(0, 0, 100, 100)); in CreateScrollHandoffLayerTree2() 68 CSSRect(0, 0, 100, 100)); in CreateScrollHandoffLayerTree3() 71 CSSRect(0, 0, 100, 100)); in CreateScrollHandoffLayerTree3() 74 CSSRect(0, 0, 100, 100)); in CreateScrollHandoffLayerTree3() 77 CSSRect(0, 50, 100, 100)); in CreateScrollHandoffLayerTree3() 97 CSSRect(0, 0, 200, 100)); in CreateScrollHandoffLayerTree4() 100 CSSRect(0, 0, 100, 200)); in CreateScrollHandoffLayerTree4() [all …]
|
/dports/mail/thunderbird/thunderbird-91.8.0/gfx/layers/apz/test/gtest/ |
H A D | TestBasic.cpp | 16 fm.SetScrollableRect(CSSRect(0, 0, 125, 150)); in TEST_F() 89 metrics.SetDisplayPort(CSSRect(-1, -1, 6, 6)); in TEST_F() 91 metrics.SetLayoutViewport(CSSRect(10, 10, 8, 8)); in TEST_F() 92 metrics.SetScrollableRect(CSSRect(0, 0, 50, 50)); in TEST_F() 257 metrics.SetScrollableRect(CSSRect(0, 0, 1000, 1000)); in TEST_F() 291 metrics.SetScrollableRect(CSSRect(0, 0, 100, 10000)); in TEST_F() 292 metrics.SetLayoutViewport(CSSRect(0, 0, 100, 100)); in TEST_F() 375 metrics.SetScrollableRect(CSSRect(0, 0, 100, 1000)); in TEST_F() 376 metrics.SetLayoutViewport(CSSRect(0, 0, 100, 100)); in TEST_F() 444 metrics.SetScrollableRect(CSSRect(0, 0, 100, 1000)); in TEST_F() [all …]
|
H A D | TestScrollHandoff.cpp | 23 CSSRect(0, 0, 200, 200)); in CreateScrollHandoffLayerTree1() 26 CSSRect(0, 0, 100, 100)); in CreateScrollHandoffLayerTree1() 44 CSSRect(0, 0, 200, 200)); in CreateScrollHandoffLayerTree2() 50 CSSRect(0, 0, 100, 100)); in CreateScrollHandoffLayerTree2() 72 CSSRect(0, 0, 100, 100)); in CreateScrollHandoffLayerTree3() 75 CSSRect(0, 0, 100, 100)); in CreateScrollHandoffLayerTree3() 78 CSSRect(0, 0, 100, 100)); in CreateScrollHandoffLayerTree3() 81 CSSRect(0, 50, 100, 100)); in CreateScrollHandoffLayerTree3() 103 CSSRect(0, 0, 200, 100)); in CreateScrollHandoffLayerTree4() 106 CSSRect(0, 0, 100, 200)); in CreateScrollHandoffLayerTree4() [all …]
|
/dports/lang/spidermonkey60/firefox-60.9.0/gfx/layers/ |
H A D | FrameMetrics.h | 167 CSSRect GetExpandedScrollableRect() const { 168 CSSRect scrollableRect = mScrollableRect; 194 CSSRect CalculateCompositedRectInCssPixels() const { 196 return CSSRect(); // avoid division by zero 208 CSSRect CalculateScrollRange() const { 210 CSSRect scrollRange = mScrollableRect; 263 void SetDisplayPort(const CSSRect& aDisplayPort) { 442 CSSRect mDisplayPort; 450 CSSRect mCriticalDisplayPort; 467 CSSRect mScrollableRect; [all …]
|
/dports/www/firefox-legacy/firefox-52.8.0esr/gfx/layers/ |
H A D | FrameMetrics.h | 169 CSSRect GetExpandedScrollableRect() const 171 CSSRect scrollableRect = mScrollableRect; 212 CSSRect CalculateScrollRange() const 215 CSSRect scrollRange = mScrollableRect; 288 const CSSRect& GetDisplayPort() const 456 const CSSRect& GetViewport() const 471 const CSSRect& GetScrollableRect() const 536 CSSRect mDisplayPort; 544 CSSRect mCriticalDisplayPort; 557 CSSRect mScrollableRect; [all …]
|
/dports/lang/spidermonkey78/firefox-78.9.0/gfx/layers/apz/test/gtest/ |
H A D | TestScrollHandoff.cpp | 23 CSSRect(0, 0, 200, 200)); in CreateScrollHandoffLayerTree1() 26 CSSRect(0, 0, 100, 100)); in CreateScrollHandoffLayerTree1() 44 CSSRect(0, 0, 200, 200)); in CreateScrollHandoffLayerTree2() 50 CSSRect(0, 0, 100, 100)); in CreateScrollHandoffLayerTree2() 72 CSSRect(0, 0, 100, 100)); in CreateScrollHandoffLayerTree3() 75 CSSRect(0, 0, 100, 100)); in CreateScrollHandoffLayerTree3() 78 CSSRect(0, 0, 100, 100)); in CreateScrollHandoffLayerTree3() 81 CSSRect(0, 50, 100, 100)); in CreateScrollHandoffLayerTree3() 103 CSSRect(0, 0, 200, 100)); in CreateScrollHandoffLayerTree4() 106 CSSRect(0, 0, 100, 200)); in CreateScrollHandoffLayerTree4() [all …]
|
H A D | APZCTreeManagerTester.h | 82 ScrollableLayerGuid::ViewID aScrollId, const CSSRect& aScrollableRect, in BuildScrollMetadata() 102 CSSRect scrollableRect = metrics.GetScrollableRect(); in SetEventRegionsBasedOnBottommostMetrics() 103 if (!scrollableRect.IsEqualEdges(CSSRect(-1, -1, -1, -1))) { in SetEventRegionsBasedOnBottommostMetrics() 121 CSSRect aScrollableRect = CSSRect(-1, -1, -1, -1)) { 157 CSSRect(0, 0, 500, 500)); in CreateSimpleScrollingLayer()
|
/dports/lang/spidermonkey60/firefox-60.9.0/gfx/layers/apz/test/gtest/ |
H A D | TestScrollHandoff.cpp | 23 CSSRect(0, 0, 200, 200)); in CreateScrollHandoffLayerTree1() 25 CSSRect(0, 0, 100, 100)); in CreateScrollHandoffLayerTree1() 43 CSSRect(0, 0, 200, 200)); in CreateScrollHandoffLayerTree2() 47 CSSRect(0, 0, 100, 100)); in CreateScrollHandoffLayerTree2() 69 CSSRect(0, 0, 100, 100)); in CreateScrollHandoffLayerTree3() 71 CSSRect(0, 0, 100, 100)); in CreateScrollHandoffLayerTree3() 73 CSSRect(0, 0, 100, 100)); in CreateScrollHandoffLayerTree3() 75 CSSRect(0, 50, 100, 100)); in CreateScrollHandoffLayerTree3() 96 CSSRect(0, 0, 200, 100)); in CreateScrollHandoffLayerTree4() 98 CSSRect(0, 0, 100, 200)); in CreateScrollHandoffLayerTree4() [all …]
|
H A D | APZCTreeManagerTester.h | 61 FrameMetrics::ViewID aScrollId, const CSSRect& aScrollableRect, in BuildScrollMetadata() 81 CSSRect scrollableRect = metrics.GetScrollableRect(); in SetEventRegionsBasedOnBottommostMetrics() 82 if (!scrollableRect.IsEqualEdges(CSSRect(-1, -1, -1, -1))) { in SetEventRegionsBasedOnBottommostMetrics() 100 CSSRect aScrollableRect = CSSRect(-1, -1, -1, -1)) { 136 CSSRect(0, 0, 500, 500)); in CreateSimpleScrollingLayer() 147 CSSRect(0, 0, 500, 500)); in CreateSimpleDTCScrollingLayer()
|
/dports/www/firefox-legacy/firefox-52.8.0esr/gfx/layers/apz/test/gtest/ |
H A D | APZCTreeManagerTester.h | 59 const CSSRect& aScrollableRect, in BuildScrollMetadata() 81 CSSRect scrollableRect = metrics.GetScrollableRect(); in SetEventRegionsBasedOnBottommostMetrics() 82 if (!scrollableRect.IsEqualEdges(CSSRect(-1, -1, -1, -1))) { in SetEventRegionsBasedOnBottommostMetrics() 97 CSSRect aScrollableRect = CSSRect(-1, -1, -1, -1)) { 129 SetScrollableFrameMetrics(root, FrameMetrics::START_SCROLL_ID, CSSRect(0, 0, 500, 500)); in CreateSimpleScrollingLayer() 138 SetScrollableFrameMetrics(root, FrameMetrics::START_SCROLL_ID, CSSRect(0, 0, 500, 500)); in CreateSimpleDTCScrollingLayer()
|
H A D | TestScrollHandoff.cpp | 23 SetScrollableFrameMetrics(root, FrameMetrics::START_SCROLL_ID, CSSRect(0, 0, 200, 200)); in CreateScrollHandoffLayerTree1() 24 … SetScrollableFrameMetrics(layers[1], FrameMetrics::START_SCROLL_ID + 1, CSSRect(0, 0, 100, 100)); in CreateScrollHandoffLayerTree1() 40 SetScrollableFrameMetrics(root, FrameMetrics::START_SCROLL_ID, CSSRect(0, 0, 200, 200)); in CreateScrollHandoffLayerTree2() 42 … SetScrollableFrameMetrics(layers[2], FrameMetrics::START_SCROLL_ID + 1, CSSRect(0, 0, 100, 100)); in CreateScrollHandoffLayerTree2() 62 SetScrollableFrameMetrics(layers[0], FrameMetrics::START_SCROLL_ID, CSSRect(0, 0, 100, 100)); in CreateScrollHandoffLayerTree3() 63 … SetScrollableFrameMetrics(layers[1], FrameMetrics::START_SCROLL_ID + 1, CSSRect(0, 0, 100, 100)); in CreateScrollHandoffLayerTree3() 64 … SetScrollableFrameMetrics(layers[2], FrameMetrics::START_SCROLL_ID + 2, CSSRect(0, 0, 100, 100)); in CreateScrollHandoffLayerTree3() 65 … SetScrollableFrameMetrics(layers[3], FrameMetrics::START_SCROLL_ID + 3, CSSRect(0, 50, 100, 100)); in CreateScrollHandoffLayerTree3() 66 … SetScrollableFrameMetrics(layers[4], FrameMetrics::START_SCROLL_ID + 4, CSSRect(0, 50, 100, 100)); in CreateScrollHandoffLayerTree3() 83 … SetScrollableFrameMetrics(root, FrameMetrics::START_SCROLL_ID, CSSRect(0, 0, 100, parentHeight)); in CreateScrollgrabLayerTree() [all …]
|