summaryrefslogtreecommitdiff
path: root/android/experimental/LOAndroid3
diff options
context:
space:
mode:
Diffstat (limited to 'android/experimental/LOAndroid3')
-rw-r--r--android/experimental/LOAndroid3/src/java/org/libreoffice/android/DocumentLoader.java2
-rw-r--r--android/experimental/LOAndroid3/src/java/org/mozilla/gecko/gfx/DisplayPortCalculator.java6
-rw-r--r--android/experimental/LOAndroid3/src/java/org/mozilla/gecko/gfx/LayerRenderer.java2
-rw-r--r--android/experimental/LOAndroid3/src/java/org/mozilla/gecko/gfx/TileLayer.java2
4 files changed, 6 insertions, 6 deletions
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();