Hides the wallpaper when it's not needed and fixes
the unlock animation to not unnecessairly show the
wallpaper if neither the Keyguard nor the underlying
app need it.
Also fixes a bug where the enter animation had a background
set, which led to uglyness when no wallpaper is involved.
Bug: 27533740
Change-Id: I667c6f7ca6c0e1ff7e9f793c6ddc13f6da8387b1
The listener only needs to be added to one of the translating views
but was added to all of them, this CL changes it to add to the
listener to the first view.
This CL also handles cancelling the animation.
Change-Id: Ifda0f7f04bae1608250e9d2f008b4f21c1745bc6
Second attempt. Still need to add strict mode violation checks and
logging.
Bug: 21901286
This reverts commit bf33bd4d31.
Change-Id: I5d73343544c32ce4fc4c377ba44db8e677a1287d
This reverts commit 88eca2aa0e.
It additionally fixes an issue with notification scrolling after gear is displayed
by indicating that the user is no longer swiping by calling onDragCancelled
Change-Id: Ieba0cea35bba9c383d8b5fdca08cb5ff083666c3
- Ensure that we start the screenshot as a foreground service to reduce
likelihood that it is killed while taking a screenshot.
- If the screenshot process times out or gets killed for any reason,
ensure that we update the notification with an appropriate error
message.
Bug: 27389179
Change-Id: I5007bda95538044bc753e4ceffd2f59a069c857b
Addressing comment in ag/877913 PS6
Adds FlingAnimationUtils to SwipeHelper for dismissing notification
so that it may better follow a user's finger. This is not used
when a dismiss all is called (i.e. useAcceleration is requested).
Additionally alters dismiss behavior to accelerate out if velocity
was 0.
Change-Id: Ia7dc15d64e8427d5cfbdee3f4e48ccd60f5b0b36
* changes:
Fixed a bug where text would still not animate
Reseting user expansions when the shade is collapsed
Added more spacing around notifications
Fixed an bug with the notification backgrounds
Otherwise, it preserves the old image. Later, mBackdropFront will
get this image and try fading from it. This will suddenly flash the
old image.
Bug: 25185253
Change-Id: I702e73684e692712edf48ce31c152c5f5a8bffdb
Turns out code is best written while looking at it. Don't set the
layout params on the density container to layout params from another
view. Firstly its not fair to the density container or the qs container.
Secondly it makes the notification panel jealous and it starts eating
all the touches it can find.
Bug: 27586350
Change-Id: I2f8a7c23eda4625cc65390da1e854e5033b179a6
The header wasn't taking into account the translation of the view
this CL alter so that it accounts for the translation.
Bug: 27484957
Change-Id: I19df138ae46a33863863821b8723cb57dc849454