Lines Matching defs:FrameMetrics
160907 struct FrameMetrics { struct
160911 typedef uint64_t ViewID;
160912 static const ViewID NULL_SCROLL_ID;
160913 static const ViewID START_SCROLL_ID = 2;
160916 enum ScrollOffsetUpdateType : uint8_t {
160934 FrameMetrics() in FrameMetrics() argument
160963 bool operator==(const FrameMetrics& aOther) const in operator ==()
160991 bool operator!=(const FrameMetrics& aOther) const in operator !=()
160996 bool IsScrollable() const in IsScrollable()
161001 CSSToScreenScale2D DisplayportPixelsPerCSSPixel() const in DisplayportPixelsPerCSSPixel()
161013 CSSToLayerScale2D LayersPixelsPerCSSPixel() const in LayersPixelsPerCSSPixel()
161019 LayerToParentLayerScale GetAsyncZoom() const in GetAsyncZoom()
161032 CSSRect GetExpandedScrollableRect() const in GetExpandedScrollableRect()
161051 CSSSize CalculateCompositedSizeInCssPixels() const in CalculateCompositedSizeInCssPixels()
161059 CSSRect CalculateCompositedRectInCssPixels() const in CalculateCompositedRectInCssPixels()
161067 CSSSize CalculateBoundedCompositedSizeInCssPixels() const in CalculateBoundedCompositedSizeInCssPixels()
161075 CSSRect CalculateScrollRange() const in CalculateScrollRange()
161084 void ScrollBy(const CSSPoint& aPoint) in ScrollBy()
161089 void ZoomBy(float aScale) in ZoomBy()
161094 void ZoomBy(const gfxSize& aScale) in ZoomBy()
161100 void CopyScrollInfoFrom(const FrameMetrics& aOther) in CopyScrollInfoFrom()
161106 void CopySmoothScrollInfoFrom(const FrameMetrics& aOther) in CopySmoothScrollInfoFrom()
161113 void UpdatePendingScrollInfo(const ScrollUpdateInfo& aInfo) in UpdatePendingScrollInfo()
161120 void SetRepaintDrivenByUserAction(bool aUserAction) in SetRepaintDrivenByUserAction()
161126 void SetPresShellResolution(float aPresShellResolution) in SetPresShellResolution()
161131 float GetPresShellResolution() const in GetPresShellResolution()
161136 void SetCompositionBounds(const ParentLayerRect& aCompositionBounds) in SetCompositionBounds()
161141 const ParentLayerRect& GetCompositionBounds() const in GetCompositionBounds()
161146 void SetDisplayPort(const CSSRect& aDisplayPort) in SetDisplayPort()
161151 const CSSRect& GetDisplayPort() const in GetDisplayPort()
161156 void SetCriticalDisplayPort(const CSSRect& aCriticalDisplayPort) in SetCriticalDisplayPort()
161161 const CSSRect& GetCriticalDisplayPort() const in GetCriticalDisplayPort()
161166 void SetCumulativeResolution(const LayoutDeviceToLayerScale2D& aCumulativeResolution) in SetCumulativeResolution()
161171 const LayoutDeviceToLayerScale2D& GetCumulativeResolution() const in GetCumulativeResolution()
161176 void SetDevPixelsPerCSSPixel(const CSSToLayoutDeviceScale& aDevPixelsPerCSSPixel) in SetDevPixelsPerCSSPixel()
161181 const CSSToLayoutDeviceScale& GetDevPixelsPerCSSPixel() const in GetDevPixelsPerCSSPixel()
161186 void SetIsRootContent(bool aIsRootContent) in SetIsRootContent()
161191 bool IsRootContent() const in IsRootContent()
161196 void SetScrollOffset(const CSSPoint& aScrollOffset) in SetScrollOffset()
161201 const CSSPoint& GetScrollOffset() const in GetScrollOffset()
161206 void SetSmoothScrollOffset(const CSSPoint& aSmoothScrollDestination) in SetSmoothScrollOffset()
161211 const CSSPoint& GetSmoothScrollOffset() const in GetSmoothScrollOffset()
161216 void SetZoom(const CSSToParentLayerScale2D& aZoom) in SetZoom()
161221 const CSSToParentLayerScale2D& GetZoom() const in GetZoom()
161226 void SetScrollOffsetUpdated(uint32_t aScrollGeneration) in SetScrollOffsetUpdated()
161232 void SetScrollOffsetRestored(uint32_t aScrollGeneration) in SetScrollOffsetRestored()
161238 void SetSmoothScrollOffsetUpdated(int32_t aScrollGeneration) in SetSmoothScrollOffsetUpdated()
161244 ScrollOffsetUpdateType GetScrollUpdateType() const in GetScrollUpdateType()
161249 bool GetScrollOffsetUpdated() const in GetScrollOffsetUpdated()
161254 bool GetDoSmoothScroll() const in GetDoSmoothScroll()
161259 uint32_t GetScrollGeneration() const in GetScrollGeneration()
161264 ViewID GetScrollId() const in GetScrollId()
161269 void SetScrollId(ViewID scrollId) in SetScrollId()
161274 void SetRootCompositionSize(const CSSSize& aRootCompositionSize) in SetRootCompositionSize()
161279 const CSSSize& GetRootCompositionSize() const in GetRootCompositionSize()
161284 void SetDisplayPortMargins(const ScreenMargin& aDisplayPortMargins) in SetDisplayPortMargins()
161289 const ScreenMargin& GetDisplayPortMargins() const in GetDisplayPortMargins()
161294 void SetUseDisplayPortMargins(bool aValue) in SetUseDisplayPortMargins()
161299 bool GetUseDisplayPortMargins() const in GetUseDisplayPortMargins()
161304 uint32_t GetPresShellId() const in GetPresShellId()
161309 void SetPresShellId(uint32_t aPresShellId) in SetPresShellId()
161314 void SetViewport(const CSSRect& aViewport) in SetViewport()
161319 const CSSRect& GetViewport() const in GetViewport()
161324 void SetExtraResolution(const ScreenToLayerScale2D& aExtraResolution) in SetExtraResolution()
161329 const ScreenToLayerScale2D& GetExtraResolution() const in GetExtraResolution()
161334 const CSSRect& GetScrollableRect() const in GetScrollableRect()
161339 void SetScrollableRect(const CSSRect& aScrollableRect) in SetScrollableRect()
161344 void SetPaintRequestTime(const TimeStamp& aTime) { in SetPaintRequestTime()
161347 const TimeStamp& GetPaintRequestTime() const { in GetPaintRequestTime()
161351 void SetIsScrollInfoLayer(bool aIsScrollInfoLayer) { in SetIsScrollInfoLayer()
161354 bool IsScrollInfoLayer() const { in IsScrollInfoLayer()
161360 ViewID mScrollId;
161362 float mPresShellResolution;
161364 ParentLayerRect mCompositionBounds;
161366 CSSRect mDisplayPort;
161374 CSSRect mCriticalDisplayPort;
161376 CSSRect mScrollableRect;
161378 LayoutDeviceToLayerScale2D mCumulativeResolution;
161380 CSSToLayoutDeviceScale mDevPixelsPerCSSPixel;
161382 CSSPoint mScrollOffset;
161388 CSSToParentLayerScale2D mZoom;
161391 uint32_t mScrollGeneration;
161395 CSSPoint mSmoothScrollOffset;
161398 CSSSize mRootCompositionSize;
161402 ScreenMargin mDisplayPortMargins;
161404 uint32_t mPresShellId;
161406 CSSRect mViewport;
161410 ScreenToLayerScale2D mExtraResolution;
161413 TimeStamp mPaintRequestTime;
161417 ScrollOffsetUpdateType mScrollUpdateType;
161420 bool mIsRootContent:1;
161424 bool mDoSmoothScroll:1;
161428 bool mUseDisplayPortMargins:1;
161431 bool mIsScrollInfoLayer:1;
161433 void SetDoSmoothScroll(bool aValue) { in SetDoSmoothScroll()
161882 typedef mozilla::layers::FrameMetrics FrameMetrics; typedef in nsIScrollableFrame