LibreOffice Module android (master) 1
Public Member Functions | List of all members
org.mozilla.gecko.gfx.DisplayPortCalculator.DisplayPortStrategy Class Referenceabstract
Inheritance diagram for org.mozilla.gecko.gfx.DisplayPortCalculator.DisplayPortStrategy:
[legend]

Public Member Functions

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

Definition at line 121 of file DisplayPortCalculator.java.

Member Function Documentation

◆ aboutToCheckerboard()

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

◆ calculate()

abstract DisplayPortMetrics org.mozilla.gecko.gfx.DisplayPortCalculator.DisplayPortStrategy.calculate ( ImmutableViewportMetrics  metrics,
PointF  velocity 
)
abstract

◆ drawTimeUpdate()

boolean org.mozilla.gecko.gfx.DisplayPortCalculator.DisplayPortStrategy.drawTimeUpdate ( long  millis,
int  pixels 
)
inline

Notify the strategy of a new recorded draw time.

Return false to turn off draw time recording.

Reimplemented in org.mozilla.gecko.gfx.DisplayPortCalculator.PredictionBiasStrategy.

Definition at line 127 of file DisplayPortCalculator.java.

◆ resetPageState()

void org.mozilla.gecko.gfx.DisplayPortCalculator.DisplayPortStrategy.resetPageState ( )
inline

Reset any page-specific state stored, as the page being displayed has changed.

Reimplemented in org.mozilla.gecko.gfx.DisplayPortCalculator.PredictionBiasStrategy.

Definition at line 129 of file DisplayPortCalculator.java.


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