Commit 9bc4c422 authored by Andrew Xu's avatar Andrew Xu Committed by Commit Bot

Polish hotseat hidden animation

This CL ensures that hotseat only has vertical movement during
transition between home launcher and hidden state.

Bug: 1088182
Change-Id: I680735ec68b60080eaa920a4341d5a59db7dc2a2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2285358
Commit-Queue: Andrew Xu <andrewxu@chromium.org>
Reviewed-by: default avatarXiyuan Xia <xiyuan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#786505}
parent 698d3431
This diff is collapsed.
...@@ -205,11 +205,10 @@ class ASH_EXPORT HotseatWidget : public ShelfComponent, ...@@ -205,11 +205,10 @@ class ASH_EXPORT HotseatWidget : public ShelfComponent,
void LayoutHotseatByAnimation(double target_opacity, void LayoutHotseatByAnimation(double target_opacity,
const gfx::Rect& target_bounds); const gfx::Rect& target_bounds);
// Animates the hotseat for the transition between the home launcher state // Start the animation designed specifically for |state_transition|.
// and the extended state. void StartHotseatTransitionAnimation(StateTransition state_transition,
void StartHomeLauncherExtendedTransitionAnimation( double target_opacity,
double target_opacity, const gfx::Rect& target_bounds);
const gfx::Rect& target_bounds);
// Starts the default bounds/opacity animation. // Starts the default bounds/opacity animation.
void StartNormalBoundsAnimation(double target_opacity, void StartNormalBoundsAnimation(double target_opacity,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment