Bug 701994: Tab counter animation should show overlap of numbers [r=mfinkle]
authorSriram Ramasubramanian <sriram@mozilla.com>
Sat, 12 Nov 2011 01:15:19 -0800
changeset 83449 859ecdfe016829cf60867467d703d764c29ce693
parent 83448 86108accd33749712102782831335720e402ddf1
child 83450 1c92e36629f597e2b3dc269d9c06a7ea9a0fdb02
push id519
push userakeybl@mozilla.com
push dateWed, 01 Feb 2012 00:38:35 +0000
treeherdermozilla-beta@788ea1ef610b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmfinkle
bugs701994
milestone10.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 701994: Tab counter animation should show overlap of numbers [r=mfinkle]
embedding/android/BrowserToolbar.java
--- a/embedding/android/BrowserToolbar.java
+++ b/embedding/android/BrowserToolbar.java
@@ -117,20 +117,20 @@ public class BrowserToolbar extends Line
         });
         mCount = 0;
         mTabsCount.setText("0");
 
         mFavicon = (ImageButton) findViewById(R.id.favicon);
         mProgressSpinner = (AnimationDrawable) context.getResources().getDrawable(R.drawable.progress_spinner);
 
         mHandler = new Handler();
-        mSlideUpIn = new TranslateAnimation(0, 0, 100, 0);
-        mSlideUpOut = new TranslateAnimation(0, 0, 0, -100);
-        mSlideDownIn = new TranslateAnimation(0, 0, -100, 0);
-        mSlideDownOut = new TranslateAnimation(0, 0, 0, 100);
+        mSlideUpIn = new TranslateAnimation(0, 0, 30, 0);
+        mSlideUpOut = new TranslateAnimation(0, 0, 0, -30);
+        mSlideDownIn = new TranslateAnimation(0, 0, -30, 0);
+        mSlideDownOut = new TranslateAnimation(0, 0, 0, 30);
 
         mSlideUpIn.setDuration(750);
         mSlideUpOut.setDuration(750);
         mSlideDownIn.setDuration(750);
         mSlideDownOut.setDuration(750);
     }
 
     private void onAwesomeBarSearch() {