diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.com> | 2014-07-04 18:47:50 +0200 |
---|---|---|
committer | Tomaž Vajngerl <tomaz.vajngerl@collabora.com> | 2014-07-04 19:58:17 +0200 |
commit | 81df594b4fbb147d3e4b3cb31ae27ff7f66d83b4 (patch) | |
tree | d85964689b9cf0fcf648522cef32d91af87f2a2d /android/experimental/LOAndroid3/src/java/org/mozilla/gecko/gfx/MultiTileLayer.java | |
parent | 27e86fe677d24f99a22f51bbef2de5bee3872580 (diff) |
LOAndroid3: use device DPI, push more resp. to TileProvider
Change-Id: I603bf2697d9afbac7a9cb4eae9d1c0da92bb9e93
Diffstat (limited to 'android/experimental/LOAndroid3/src/java/org/mozilla/gecko/gfx/MultiTileLayer.java')
-rw-r--r-- | android/experimental/LOAndroid3/src/java/org/mozilla/gecko/gfx/MultiTileLayer.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/android/experimental/LOAndroid3/src/java/org/mozilla/gecko/gfx/MultiTileLayer.java b/android/experimental/LOAndroid3/src/java/org/mozilla/gecko/gfx/MultiTileLayer.java index a958a54eb303..56ff5ec9c01e 100644 --- a/android/experimental/LOAndroid3/src/java/org/mozilla/gecko/gfx/MultiTileLayer.java +++ b/android/experimental/LOAndroid3/src/java/org/mozilla/gecko/gfx/MultiTileLayer.java @@ -241,9 +241,7 @@ public class MultiTileLayer extends Layer { return validRegion; } - public void addTile(Bitmap bitmap, int x, int y) { - SubTile tile = new SubTile(new BufferedCairoImage(bitmap), x,y); - tile.beginTransaction(); + public void addTile(SubTile tile) { mTiles.add(tile); } } |