diff options
Diffstat (limited to 'android/experimental/LOAndroid3/src/java/org/mozilla/gecko/gfx/DisplayPortCalculator.java')
-rw-r--r-- | android/experimental/LOAndroid3/src/java/org/mozilla/gecko/gfx/DisplayPortCalculator.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/android/experimental/LOAndroid3/src/java/org/mozilla/gecko/gfx/DisplayPortCalculator.java b/android/experimental/LOAndroid3/src/java/org/mozilla/gecko/gfx/DisplayPortCalculator.java index 42985860aa96..789d5b68ce4c 100644 --- a/android/experimental/LOAndroid3/src/java/org/mozilla/gecko/gfx/DisplayPortCalculator.java +++ b/android/experimental/LOAndroid3/src/java/org/mozilla/gecko/gfx/DisplayPortCalculator.java @@ -221,7 +221,7 @@ final class DisplayPortCalculator { } /** - * This class implements the variation where we basically don't bother with a a display port. + * This class implements the variation where we basically don't bother with a display port. */ private static class NoMarginStrategy extends DisplayPortStrategy { NoMarginStrategy(Map<String, Integer> prefs) { @@ -456,7 +456,7 @@ final class DisplayPortCalculator { private static final float VELOCITY_EXPANSION_THRESHOLD = LOKitShell.getDpi() / 16f; // How much we increase the display port based on velocity. Assuming no friction and - // splitting (see below), this should be be the number of frames (@60fps) between us + // splitting (see below), this should be the number of frames (@60fps) between us // calculating the display port and the draw of the *next* display port getting composited // and displayed on the screen. This is because the timeline looks like this: // Java: pan pan pan pan pan pan ! pan pan pan pan pan pan ! @@ -586,7 +586,7 @@ final class DisplayPortCalculator { return amount / 2.0f; } // if we're moving quickly, assign more of the amount in that direction - // since is is less likely that we will reverse direction immediately + // since is less likely that we will reverse direction immediately if (velocity < -VELOCITY_FAST_THRESHOLD) { return amount * FAST_SPLIT_FACTOR; } |