LibreOffice Module android (master) 1
|
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... | |
Definition at line 121 of file DisplayPortCalculator.java.
|
abstract |
Returns true if a checkerboard is about to be visible and we should not throttle drawing.
Reimplemented in org.mozilla.gecko.gfx.DisplayPortCalculator.NoMarginStrategy, org.mozilla.gecko.gfx.DisplayPortCalculator.FixedMarginStrategy, org.mozilla.gecko.gfx.DisplayPortCalculator.VelocityBiasStrategy, org.mozilla.gecko.gfx.DisplayPortCalculator.DynamicResolutionStrategy, and org.mozilla.gecko.gfx.DisplayPortCalculator.PredictionBiasStrategy.
|
abstract |
Calculates a displayport given a viewport and panning velocity.
Reimplemented in org.mozilla.gecko.gfx.DisplayPortCalculator.NoMarginStrategy, org.mozilla.gecko.gfx.DisplayPortCalculator.FixedMarginStrategy, org.mozilla.gecko.gfx.DisplayPortCalculator.VelocityBiasStrategy, org.mozilla.gecko.gfx.DisplayPortCalculator.DynamicResolutionStrategy, and org.mozilla.gecko.gfx.DisplayPortCalculator.PredictionBiasStrategy.
|
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.
|
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.