LibreOffice Module android (master) 1
Public Member Functions | List of all members
org.mozilla.gecko.gfx.DisplayPortCalculator.NoMarginStrategy Class Reference

This class implements the variation where we basically don't bother with a display port. More...

Inheritance diagram for org.mozilla.gecko.gfx.DisplayPortCalculator.NoMarginStrategy:
[legend]
Collaboration diagram for org.mozilla.gecko.gfx.DisplayPortCalculator.NoMarginStrategy:
[legend]

Public Member Functions

DisplayPortMetrics calculate (ImmutableViewportMetrics metrics, PointF velocity)
 Calculates a displayport given a viewport and panning velocity. More...
 
boolean aboutToCheckerboard (ImmutableViewportMetrics metrics, PointF velocity, DisplayPortMetrics displayPort)
 Returns true if a checkerboard is about to be visible and we should not throttle drawing. More...
 
String toString ()
 
- Public Member Functions inherited from org.mozilla.gecko.gfx.DisplayPortCalculator.DisplayPortStrategy
abstract DisplayPortMetrics calculate (ImmutableViewportMetrics metrics, PointF velocity)
 Calculates a displayport given a viewport and panning velocity. More...
 
abstract boolean aboutToCheckerboard (ImmutableViewportMetrics metrics, PointF velocity, DisplayPortMetrics displayPort)
 Returns true if a checkerboard is about to be visible and we should not throttle drawing. More...
 
boolean drawTimeUpdate (long millis, int pixels)
 Notify the strategy of a new recorded draw time. More...
 
void resetPageState ()
 Reset any page-specific state stored, as the page being displayed has changed. More...
 

Detailed Description

This class implements the variation where we basically don't bother with a display port.

Definition at line 232 of file DisplayPortCalculator.java.

Member Function Documentation

◆ aboutToCheckerboard()

boolean org.mozilla.gecko.gfx.DisplayPortCalculator.NoMarginStrategy.aboutToCheckerboard ( ImmutableViewportMetrics  metrics,
PointF  velocity,
DisplayPortMetrics  displayPort 
)
inline

Returns true if a checkerboard is about to be visible and we should not throttle drawing.

Reimplemented from org.mozilla.gecko.gfx.DisplayPortCalculator.DisplayPortStrategy.

Definition at line 245 of file DisplayPortCalculator.java.

◆ calculate()

DisplayPortMetrics org.mozilla.gecko.gfx.DisplayPortCalculator.NoMarginStrategy.calculate ( ImmutableViewportMetrics  metrics,
PointF  velocity 
)
inline

◆ toString()

String org.mozilla.gecko.gfx.DisplayPortCalculator.NoMarginStrategy.toString ( )
inline

Definition at line 250 of file DisplayPortCalculator.java.

References String.


The documentation for this class was generated from the following file: