LibreOffice Module android (master) 1
|
Static Public Member Functions | |
static boolean | fuzzyEquals (float a, float b) |
static boolean | fuzzyEquals (PointF a, PointF b) |
static float | interpolate (float from, float to, float t) |
static float | clamp (float value, float low, float high) |
Returns 'value', clamped so that it isn't any lower than 'low', and it isn't any higher than 'high'. More... | |
Private Member Functions | |
FloatUtils () | |
Definition at line 10 of file FloatUtils.java.
|
inlineprivate |
Definition at line 11 of file FloatUtils.java.
|
inlinestatic |
Returns 'value', clamped so that it isn't any lower than 'low', and it isn't any higher than 'high'.
Definition at line 34 of file FloatUtils.java.
|
inlinestatic |
Definition at line 13 of file FloatUtils.java.
Referenced by org.mozilla.gecko.gfx.DisplayPortCalculator.VelocityBiasStrategy.calculate(), org.libreoffice.overlay.DocumentOverlay.DocumentOverlayLayer.draw(), org.mozilla.gecko.gfx.ScrollbarLayer.fade(), org.mozilla.gecko.gfx.DisplayPortMetrics.fuzzyEquals(), org.mozilla.gecko.gfx.FloatSize.fuzzyEquals(), org.mozilla.gecko.gfx.ImmutableViewportMetrics.fuzzyEquals(), org.mozilla.gecko.util.FloatUtils.fuzzyEquals(), org.mozilla.gecko.gfx.RectUtils.fuzzyEquals(), org.mozilla.gecko.gfx.Layer.RenderContext.fuzzyEquals(), org.mozilla.gecko.gfx.ComposedTileLayer.markTiles(), org.mozilla.gecko.gfx.ComposedTileLayer.reevaluateTiles(), org.mozilla.gecko.gfx.DisplayPortCalculator.DynamicResolutionStrategy.splitBufferByVelocity(), and org.mozilla.gecko.gfx.ScrollbarLayer.unfade().
|
inlinestatic |
Definition at line 17 of file FloatUtils.java.
References a, and org.mozilla.gecko.util.FloatUtils.fuzzyEquals().
|
inlinestatic |
Definition at line 26 of file FloatUtils.java.
Referenced by org.mozilla.gecko.gfx.FloatSize.interpolate(), and org.mozilla.gecko.gfx.ImmutableViewportMetrics.interpolate().