Update the orientation of the NavScreen on orientationChange.

Before, it was destroying all the UI objects and recreating them,
no matter if the tab switcher was visible or not. The new behavior
matches the old one visually, but happens in a fraction of the
time.

Also, this updates a bit the visibility of properties in the class.
This class should require more cleanup in the future.

Change-Id: I4e5be461aa954faf8fc6b8d50fa8dd865a72e564
diff --git a/src/com/android/browser/PhoneUi.java b/src/com/android/browser/PhoneUi.java
index 5dc87f3..a58cdac 100644
--- a/src/com/android/browser/PhoneUi.java
+++ b/src/com/android/browser/PhoneUi.java
@@ -290,8 +290,7 @@
         ObjectAnimator tr = ObjectAnimator.ofInt(mAnimScreen.mContent, "right", fromRight, toRight);
         ObjectAnimator tb = ObjectAnimator.ofInt(mAnimScreen.mContent, "bottom", fromBottom, toBottom);
         ObjectAnimator sx = ObjectAnimator.ofFloat(mAnimScreen, "scaleFactor", 1f, toScaleFactor);
-        ObjectAnimator navTabsIn = ObjectAnimator.ofFloat(mNavScreen.mToolbarLayout, "translationY",
-                -mNavScreen.getResources().getDimensionPixelSize(R.dimen.toolbar_height), 0f);
+        ObjectAnimator navTabsIn = mNavScreen.createToolbarInAnimator();
         mAnimScreen.mContent.layout(fromLeft, fromTop, fromRight, fromBottom);
         mAnimScreen.setScaleFactor(1f);
 
@@ -373,12 +372,12 @@
         }
         mAnimScreen.mMain.layout(0, 0, mContentView.getWidth(),
                 mContentView.getHeight());
-        mNavScreen.mScroller.finishScroller();
+        mNavScreen.getScroller().finishScroller();
         int toLeft = 0;
         int toTop = mTitleBar.calculateEmbeddedHeight();
         int toRight = mContentView.getWidth();
-        int fromLeft = tabview.getLeft() + target.getLeft() - mNavScreen.mScroller.getScrollX();
-        int fromTop = tabview.getTop() + target.getTop() - mNavScreen.mScroller.getScrollY();
+        int fromLeft = tabview.getLeft() + target.getLeft() - mNavScreen.getScroller().getScrollX();
+        int fromTop = tabview.getTop() + target.getTop() - mNavScreen.getScroller().getScrollY();
         int fromRight = fromLeft + width;
         int fromBottom = fromTop + height;
         float scaleFactor = mContentView.getWidth() / (float) width;