diff options
Diffstat (limited to 'android')
10 files changed, 13 insertions, 13 deletions
diff --git a/android/experimental/LOAndroid/app/src/main/java/org/mozilla/gecko/gfx/DisplayPortCalculator.java b/android/experimental/LOAndroid/app/src/main/java/org/mozilla/gecko/gfx/DisplayPortCalculator.java index 50d0a1c818a9..f101dfbdb75f 100644 --- a/android/experimental/LOAndroid/app/src/main/java/org/mozilla/gecko/gfx/DisplayPortCalculator.java +++ b/android/experimental/LOAndroid/app/src/main/java/org/mozilla/gecko/gfx/DisplayPortCalculator.java @@ -237,7 +237,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) { @@ -478,7 +478,7 @@ final class DisplayPortCalculator { private static final float VELOCITY_EXPANSION_THRESHOLD = /*GeckoAppShell.getDpi()*/ 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 ! diff --git a/android/experimental/LOAndroid/app/src/main/java/org/mozilla/gecko/gfx/GLController.java b/android/experimental/LOAndroid/app/src/main/java/org/mozilla/gecko/gfx/GLController.java index f7f6b1e3ea1a..be6118894e6a 100644 --- a/android/experimental/LOAndroid/app/src/main/java/org/mozilla/gecko/gfx/GLController.java +++ b/android/experimental/LOAndroid/app/src/main/java/org/mozilla/gecko/gfx/GLController.java @@ -190,7 +190,7 @@ public class GLController { // Only try to create the compositor if we have a valid surface and gecko is up. When these // two conditions are satisfied, we can be relatively sure that the compositor creation will - // happen without needing to block anyhwere. Do it with a sync gecko event so that the + // happen without needing to block anywhere. Do it with a sync gecko event so that the // android doesn't have a chance to destroy our surface in between. /*if (GeckoThread.checkLaunchState(GeckoThread.LaunchState.GeckoRunning)) { GeckoAppShell.sendEventToGeckoSync(GeckoEvent.createCompositorCreateEvent(mWidth, mHeight)); diff --git a/android/experimental/LOAndroid/app/src/main/java/org/mozilla/gecko/gfx/GeckoLayerClient.java b/android/experimental/LOAndroid/app/src/main/java/org/mozilla/gecko/gfx/GeckoLayerClient.java index b0d8859394b1..049b1fe59564 100644 --- a/android/experimental/LOAndroid/app/src/main/java/org/mozilla/gecko/gfx/GeckoLayerClient.java +++ b/android/experimental/LOAndroid/app/src/main/java/org/mozilla/gecko/gfx/GeckoLayerClient.java @@ -648,7 +648,7 @@ public class GeckoLayerClient implements LayerView.Listener, PanZoomTarget * on every frame, it needs to be ultra-fast. * It avoids taking any locks or allocating any objects. We keep around a * mCurrentViewTransform so we don't need to allocate a new ViewTransform - * everytime we're called. NOTE: we might be able to return a ImmutableViewportMetrics + * every time we're called. NOTE: we might be able to return a ImmutableViewportMetrics * which would avoid the copy into mCurrentViewTransform. */ //@WrapElementForJNI(allowMultithread = true) diff --git a/android/experimental/LOAndroid/app/src/main/java/org/mozilla/gecko/gfx/LayerRenderer.java b/android/experimental/LOAndroid/app/src/main/java/org/mozilla/gecko/gfx/LayerRenderer.java index 9e7a379095b2..e8759fd3e462 100644 --- a/android/experimental/LOAndroid/app/src/main/java/org/mozilla/gecko/gfx/LayerRenderer.java +++ b/android/experimental/LOAndroid/app/src/main/java/org/mozilla/gecko/gfx/LayerRenderer.java @@ -124,7 +124,7 @@ public class LayerRenderer /*implements Tabs.OnTabsChangedListener*/ { "}\n"; // We use highp because the screenshot textures - // we use are large and we stretch them alot + // we use are large and we stretch them a lot // so we need all the precision we can get. // Unfortunately, highp is not required by ES 2.0 // so on GPU's like Mali we end up getting mediump diff --git a/android/experimental/LOAndroid/app/src/main/java/org/mozilla/gecko/gfx/LayerView.java b/android/experimental/LOAndroid/app/src/main/java/org/mozilla/gecko/gfx/LayerView.java index 95c6e65660bf..c489e7f044bc 100644 --- a/android/experimental/LOAndroid/app/src/main/java/org/mozilla/gecko/gfx/LayerView.java +++ b/android/experimental/LOAndroid/app/src/main/java/org/mozilla/gecko/gfx/LayerView.java @@ -190,7 +190,7 @@ public class LayerView extends FrameLayout /*implements Tabs.OnTabsChangedListen if (PointUtils.subtract(point, mInitialTouchPoint).length() < Math.max(PanZoomController.CLICK_THRESHOLD, Math.min(Math.min(p.x, p.y), PanZoomController.PAN_THRESHOLD))) { - // Don't send the touchmove event if if the users finger hasn't moved far. + // Don't send the touchmove event if the users finger hasn't moved far. // Necessary for Google Maps to work correctly. See bug 771099. return true; } else { diff --git a/android/experimental/LOAndroid/app/src/main/java/org/mozilla/gecko/gfx/TileLayer.java b/android/experimental/LOAndroid/app/src/main/java/org/mozilla/gecko/gfx/TileLayer.java index e860ff91b8f5..3c3bc2887109 100644 --- a/android/experimental/LOAndroid/app/src/main/java/org/mozilla/gecko/gfx/TileLayer.java +++ b/android/experimental/LOAndroid/app/src/main/java/org/mozilla/gecko/gfx/TileLayer.java @@ -148,7 +148,7 @@ public abstract class TileLayer extends Layer { bindAndSetGLParameters(); - // XXX TexSubImage2D is too broken to rely on on Adreno, and very slow + // XXX TexSubImage2D is too broken to rely on Adreno, and very slow // on other chipsets, so we always upload the entire buffer. IntSize bufferSize = mImage.getSize(); if (mSize.equals(bufferSize)) { diff --git a/android/experimental/LOAndroid3/src/java/org/libreoffice/android/DocumentLoader.java b/android/experimental/LOAndroid3/src/java/org/libreoffice/android/DocumentLoader.java index 9b970a2e8f51..5efdcc070a27 100644 --- a/android/experimental/LOAndroid3/src/java/org/libreoffice/android/DocumentLoader.java +++ b/android/experimental/LOAndroid3/src/java/org/libreoffice/android/DocumentLoader.java @@ -1143,7 +1143,7 @@ public class DocumentLoader matchParent = new ViewGroup.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.MATCH_PARENT); // should have document load task publish pageCount before this happens: Shouldn't try to pre-fetch - // non-existant pages && need to know how many navigation thumbnails to render. + // non-existent pages && need to know how many navigation thumbnails to render. // Should put these on another serial executor? flipper.addView(new PageViewer(0), 0, matchParent); for (int i = 0; i < PAGECACHE_PLUSMINUS; i++) 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; } diff --git a/android/experimental/LOAndroid3/src/java/org/mozilla/gecko/gfx/LayerRenderer.java b/android/experimental/LOAndroid3/src/java/org/mozilla/gecko/gfx/LayerRenderer.java index b4975dade8a5..9dd3f499f4d0 100644 --- a/android/experimental/LOAndroid3/src/java/org/mozilla/gecko/gfx/LayerRenderer.java +++ b/android/experimental/LOAndroid3/src/java/org/mozilla/gecko/gfx/LayerRenderer.java @@ -113,7 +113,7 @@ public class LayerRenderer implements GLSurfaceView.Renderer { "}\n"; // We use highp because the screenshot textures - // we use are large and we stretch them alot + // we use are large and we stretch them a lot // so we need all the precision we can get. // Unfortunately, highp is not required by ES 2.0 // so on GPU's like Mali we end up getting mediump diff --git a/android/experimental/LOAndroid3/src/java/org/mozilla/gecko/gfx/TileLayer.java b/android/experimental/LOAndroid3/src/java/org/mozilla/gecko/gfx/TileLayer.java index 28ac4875eafc..9a063d05dcdc 100644 --- a/android/experimental/LOAndroid3/src/java/org/mozilla/gecko/gfx/TileLayer.java +++ b/android/experimental/LOAndroid3/src/java/org/mozilla/gecko/gfx/TileLayer.java @@ -148,7 +148,7 @@ public abstract class TileLayer extends Layer { bindAndSetGLParameters(); - // XXX TexSubImage2D is too broken to rely on on Adreno, and very slow + // XXX TexSubImage2D is too broken to rely on Adreno, and very slow // on other chipsets, so we always upload the entire buffer. IntSize bufferSize = mImage.getSize(); |