summaryrefslogtreecommitdiffstats
path: root/src/com
diff options
context:
space:
mode:
authorGrace Kloba <klobag@google.com>2010-06-22 09:57:33 -0700
committerGrace Kloba <klobag@google.com>2010-06-22 09:57:33 -0700
commit61fc77c8eab787cf5e3ecdc3f24b3e89b9fd2a3c (patch)
treee5a018b47683b21abddfc9b5fc2ce514fd3b605a /src/com
parent2c61de2400120f0c8ac83e7d5bc215b0230c606c (diff)
downloadpackages_apps_Browser-61fc77c8eab787cf5e3ecdc3f24b3e89b9fd2a3c.zip
packages_apps_Browser-61fc77c8eab787cf5e3ecdc3f24b3e89b9fd2a3c.tar.gz
packages_apps_Browser-61fc77c8eab787cf5e3ecdc3f24b3e89b9fd2a3c.tar.bz2
Use the new WebSettings to enable smooth transition
during panning and zooming.
Diffstat (limited to 'src/com')
-rw-r--r--src/com/android/browser/BrowserSettings.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/com/android/browser/BrowserSettings.java b/src/com/android/browser/BrowserSettings.java
index 3d5ca03..91b7765 100644
--- a/src/com/android/browser/BrowserSettings.java
+++ b/src/com/android/browser/BrowserSettings.java
@@ -207,6 +207,9 @@ class BrowserSettings extends Observable {
s.setNeedInitialFocus(false);
// Browser supports multiple windows
s.setSupportMultipleWindows(true);
+ // enable smooth transition for better performance during panning or
+ // zooming
+ s.setEnableSmoothTransition(true);
// HTML5 API flags
s.setAppCacheEnabled(b.appCacheEnabled);