summaryrefslogtreecommitdiff
path: root/android/experimental/LOAndroid/app/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'android/experimental/LOAndroid/app/src/main')
-rw-r--r--android/experimental/LOAndroid/app/src/main/java/org/mozilla/gecko/gfx/DisplayPortCalculator.java4
-rw-r--r--android/experimental/LOAndroid/app/src/main/java/org/mozilla/gecko/gfx/GLController.java2
-rw-r--r--android/experimental/LOAndroid/app/src/main/java/org/mozilla/gecko/gfx/GeckoLayerClient.java2
-rw-r--r--android/experimental/LOAndroid/app/src/main/java/org/mozilla/gecko/gfx/LayerRenderer.java2
-rw-r--r--android/experimental/LOAndroid/app/src/main/java/org/mozilla/gecko/gfx/LayerView.java2
-rw-r--r--android/experimental/LOAndroid/app/src/main/java/org/mozilla/gecko/gfx/TileLayer.java2
6 files changed, 7 insertions, 7 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)) {