LibreOffice Module android (master) 1
Public Member Functions | Protected Member Functions | Private Member Functions | List of all members
org.mozilla.gecko.gfx.FixedZoomTileLayer Class Reference
Inheritance diagram for org.mozilla.gecko.gfx.FixedZoomTileLayer:
[legend]
Collaboration diagram for org.mozilla.gecko.gfx.FixedZoomTileLayer:
[legend]

Public Member Functions

 FixedZoomTileLayer (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< SubTiletiles = 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
 

Detailed Description

Definition at line 6 of file FixedZoomTileLayer.java.

Constructor & Destructor Documentation

◆ FixedZoomTileLayer()

org.mozilla.gecko.gfx.FixedZoomTileLayer.FixedZoomTileLayer ( Context  context)
inline

Definition at line 7 of file FixedZoomTileLayer.java.

Member Function Documentation

◆ getInflateFactor()

IntSize org.mozilla.gecko.gfx.FixedZoomTileLayer.getInflateFactor ( )
inlineprivate

◆ getTilePriority()

int org.mozilla.gecko.gfx.FixedZoomTileLayer.getTilePriority ( )
inlineprotected

Reimplemented from org.mozilla.gecko.gfx.ComposedTileLayer.

Definition at line 24 of file FixedZoomTileLayer.java.

◆ getViewPort()

RectF org.mozilla.gecko.gfx.FixedZoomTileLayer.getViewPort ( ImmutableViewportMetrics  viewportMetrics)
inlineprotected

◆ getZoom()

float org.mozilla.gecko.gfx.FixedZoomTileLayer.getZoom ( ImmutableViewportMetrics  viewportMetrics)
inlineprotected

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