LibreOffice Module android (master) 1
|
This class implements the variation where we basically don't bother with a display port. More...
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... | |
This class implements the variation where we basically don't bother with a display port.
Definition at line 232 of file DisplayPortCalculator.java.
|
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.
|
inline |
Calculates a displayport given a viewport and panning velocity.
Reimplemented from org.mozilla.gecko.gfx.DisplayPortCalculator.DisplayPortStrategy.
Definition at line 237 of file DisplayPortCalculator.java.
References org.mozilla.gecko.gfx.ImmutableViewportMetrics.viewportRectBottom, org.mozilla.gecko.gfx.ImmutableViewportMetrics.viewportRectLeft, org.mozilla.gecko.gfx.ImmutableViewportMetrics.viewportRectRight, org.mozilla.gecko.gfx.ImmutableViewportMetrics.viewportRectTop, and org.mozilla.gecko.gfx.ImmutableViewportMetrics.zoomFactor.
|
inline |
Definition at line 250 of file DisplayPortCalculator.java.
References String.