Animate public/private notification layouts

This change move the boolean whether we hide sensitive contents into
AmbientState, which makes it consistent with the other stack states
and allows for a orchestrated transition between public/private
layouts. We need this transition when going into the full shade.

Bug: 16291973
Change-Id: I379a6119b5b73eca900a4a2ba9d5ec95b293e487
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/stack/AmbientState.java b/packages/SystemUI/src/com/android/systemui/statusbar/stack/AmbientState.java
index 0582140..ddb5cb8 100644
--- a/packages/SystemUI/src/com/android/systemui/statusbar/stack/AmbientState.java
+++ b/packages/SystemUI/src/com/android/systemui/statusbar/stack/AmbientState.java
@@ -34,6 +34,7 @@
     private int mSpeedBumpIndex = -1;
     private float mScrimAmount;
     private boolean mDark;
+    private boolean mHideSensitive;
 
     public int getScrollY() {
         return mScrollY;
@@ -68,6 +69,10 @@
         mDark = dark;
     }
 
+    public void setHideSensitive(boolean hideSensitive) {
+        mHideSensitive = hideSensitive;
+    }
+
     /**
      * In dimmed mode, a child can be activated, which happens on the first tap of the double-tap
      * interaction. This child is then scaled normally and its background is fully opaque.
@@ -84,6 +89,10 @@
         return mDark;
     }
 
+    public boolean isHideSensitive() {
+        return mHideSensitive;
+    }
+
     public ActivatableNotificationView getActivatedChild() {
         return mActivatedChild;
     }