Bug 871651 - Make transition to enter editing mode a bit faster (r=sriram)
authorLucas Rocha <lucasr@mozilla.com>
Fri, 16 Aug 2013 23:08:05 +0100
changeset 143553 d423d46e50a9056ce058f99e6e356d40a3b676f5
parent 143552 7a8a1649d30adb2fd91f464ac0a6d602a8e37d35
child 143554 061fed4327f86bec7a2542a4bdb1a18e65054878
push id25130
push userlrocha@mozilla.com
push dateWed, 21 Aug 2013 09:41:27 +0000
treeherdermozilla-central@b2486721572e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssriram
bugs871651
milestone26.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 871651 - Make transition to enter editing mode a bit faster (r=sriram)
mobile/android/base/BrowserApp.java
--- a/mobile/android/base/BrowserApp.java
+++ b/mobile/android/base/BrowserApp.java
@@ -1390,17 +1390,17 @@ abstract public class BrowserApp extends
      * Enters editing mode for the current tab. This method will
      * always open the VISITED page on about:home.
      */
     private void enterEditingMode(String url) {
         if (url == null) {
             throw new IllegalArgumentException("Cannot handle null URLs in enterEditingMode");
         }
 
-        final PropertyAnimator animator = new PropertyAnimator(300);
+        final PropertyAnimator animator = new PropertyAnimator(250);
         animator.setUseHardwareLayer(false);
 
         mBrowserToolbar.startEditing(url, animator);
         showHomePagerWithAnimator(HomePager.Page.HISTORY, animator);
 
         animator.start();
     }