|
LibreOffice Module android (master) 1
|
Public Member Functions | |
| DynamicTileLayer (Context context) | |
Public Member Functions inherited from org.mozilla.gecko.gfx.ComposedTileLayer | |
| ComposedTileLayer (Context context) | |
| void | invalidate () |
| void | beginTransaction () |
| Call this before modifying the layer. More... | |
| void | endTransaction () |
| Call this when you're done modifying the layer. More... | |
| void | draw (RenderContext context) |
| Subclasses override this function to draw the layer. More... | |
| Region | getValidRegion (RenderContext context) |
| Returns the region of the layer that is considered valid. More... | |
| void | setResolution (float newResolution) |
| Sets the layer resolution. More... | |
| void | reevaluateTiles (ImmutableViewportMetrics viewportMetrics, DisplayPortMetrics mDisplayPort) |
| void | addNewTiles (List< SubTile > newTiles) |
| void | clearMarkedTiles () |
| void | markTiles () |
| void | clearAndReset () |
| boolean | isStillValid (TileIdentifier tileId) |
| void | invalidateTiles (List< SubTile > tilesToInvalidate, RectF cssRect) |
| Invalidate tiles which intersect the input rect. More... | |
| void | onConfigurationChanged (Configuration newConfig) |
| void | onLowMemory () |
| void | onTrimMemory (int level) |
Public Member Functions inherited from org.mozilla.gecko.gfx.Layer | |
| Layer () | |
| Layer (IntSize size) | |
| final boolean | update (RenderContext context) |
| Updates the layer. More... | |
| abstract void | draw (RenderContext context) |
| Subclasses override this function to draw the layer. More... | |
| Region | getValidRegion (RenderContext context) |
| Returns the region of the layer that is considered valid. More... | |
| void | beginTransaction () |
| Call this before modifying the layer. More... | |
| void | endTransaction () |
| Call this when you're done modifying the layer. More... | |
| Rect | getPosition () |
| Returns the current layer position. More... | |
| void | setPosition (Rect newPosition) |
| Sets the position. More... | |
| float | getResolution () |
| Returns the current layer's resolution. More... | |
| void | setResolution (float newResolution) |
| Sets the layer resolution. More... | |
| boolean | usesDefaultProgram () |
Protected Member Functions | |
| RectF | getViewPort (ImmutableViewportMetrics viewportMetrics) |
| float | getZoom (ImmutableViewportMetrics viewportMetrics) |
| int | getTilePriority () |
Protected Member Functions inherited from org.mozilla.gecko.gfx.ComposedTileLayer | |
| void | performUpdates (RenderContext context) |
| Subclasses may override this method to perform custom layer updates. More... | |
| abstract RectF | getViewPort (ImmutableViewportMetrics viewportMetrics) |
| abstract float | getZoom (ImmutableViewportMetrics viewportMetrics) |
| abstract int | getTilePriority () |
Protected Member Functions inherited from org.mozilla.gecko.gfx.Layer | |
| RectF | getBounds (RenderContext context) |
| Given the intrinsic size of the layer, returns the pixel boundaries of the layer rect. More... | |
| boolean | inTransaction () |
| Returns true if the layer is currently in a transaction and false otherwise. More... | |
| void | performUpdates (RenderContext context) |
| Subclasses may override this method to perform custom layer updates. More... | |
| final void | fillRectCoordBuffer (float[] dest, RectF rect, float viewWidth, float viewHeight, Rect cropRect, float texWidth, float texHeight) |
This function fills in the provided dest array with values to render a texture. More... | |
Private Member Functions | |
| IntSize | getInflateFactor () |
Additional Inherited Members | |
Static Protected Member Functions inherited from org.mozilla.gecko.gfx.ComposedTileLayer | |
| static RectF | roundToTileSize (RectF input, IntSize tileSize) |
| static RectF | inflate (RectF rect, IntSize inflateSize) |
| static RectF | normalizeRect (RectF rect, float sourceFactor, float targetFactor) |
Protected Attributes inherited from org.mozilla.gecko.gfx.ComposedTileLayer | |
| final List< SubTile > | tiles = new ArrayList<SubTile>() |
| final IntSize | tileSize |
| RectF | currentViewport = new RectF() |
| float | currentZoom = 1.0f |
| RectF | currentPageRect = new RectF() |
Protected Attributes inherited from org.mozilla.gecko.gfx.Layer | |
| Rect | mPosition |
| float | mResolution |
| boolean | mUsesDefaultProgram = true |
Definition at line 6 of file DynamicTileLayer.java.
|
inline |
Definition at line 7 of file DynamicTileLayer.java.
|
inlineprivate |
Definition at line 27 of file DynamicTileLayer.java.
References org.mozilla.gecko.gfx.IntSize.height, org.mozilla.gecko.gfx.ComposedTileLayer.tileSize, and org.mozilla.gecko.gfx.IntSize.width.
Referenced by org.mozilla.gecko.gfx.DynamicTileLayer.getViewPort().
|
inlineprotected |
Reimplemented from org.mozilla.gecko.gfx.ComposedTileLayer.
Definition at line 23 of file DynamicTileLayer.java.
|
inlineprotected |
Reimplemented from org.mozilla.gecko.gfx.ComposedTileLayer.
Definition at line 12 of file DynamicTileLayer.java.
References org.mozilla.gecko.gfx.DynamicTileLayer.getInflateFactor(), org.mozilla.gecko.gfx.ImmutableViewportMetrics.getViewport(), org.mozilla.gecko.gfx.ComposedTileLayer.inflate(), org.mozilla.gecko.gfx.ComposedTileLayer.roundToTileSize(), and org.mozilla.gecko.gfx.ComposedTileLayer.tileSize.
|
inlineprotected |
Reimplemented from org.mozilla.gecko.gfx.ComposedTileLayer.
Definition at line 18 of file DynamicTileLayer.java.
References org.mozilla.gecko.gfx.ImmutableViewportMetrics.zoomFactor.