mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-01 08:16:49 +00:00
Collapse private space container and animate header.
- Just opposite of how it will expand. - RecyclerView.SmoothScroller is needed to scroll the container. - Need to separate the lock button because this way I can use animateLayout changes and it itself was its own drawable. Separated into icon and textView in a viewGroup. - Give the background the 10padding on the left and right so that when in animation, the icon can adjust the padding/margins there. - Using propertySetter to set animation - Animates the alpha of the settings alpha - updated test to account for the nested child views the test needs to inspect bug: 299294792 test: manual: Expand + Collapse Video: https://drive.google.com/file/d/1Og66eqmXv3THn0wO4_x6Tfp2AbwFWUwZ/view?usp=sharing Flag: ACONFIG com.android.launcher3.Flags.private_space_animation TEAMFOOD Change-Id: I96f1d172a481522d23b4cee996ddec65961fce78
This commit is contained in:
@@ -294,6 +294,12 @@ public class BubbleTextView extends TextView implements ItemInfoUpdateReceiver,
|
||||
mIconLoadRequest.cancel();
|
||||
mIconLoadRequest = null;
|
||||
}
|
||||
// Reset any shifty arrangements in case animation is disrupted.
|
||||
setPivotY(0);
|
||||
setAlpha(1);
|
||||
setScaleY(1);
|
||||
setTranslationY(0);
|
||||
setVisibility(VISIBLE);
|
||||
}
|
||||
|
||||
private void cancelDotScaleAnim() {
|
||||
|
||||
Reference in New Issue
Block a user