summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/LauncherAnimUtils.java
Commit message (Collapse)AuthorAgeFilesLines
* Fade in background scrim when resuming from screen off.Jon Miranda2017-05-111-0/+13
| | | | | | | | | | This change hides the hard cut off that appears when the Launcher window is transitioning upwards when resuming from when the screen is off. Bug: 36446766 Change-Id: I0c0fe13ee9e08d27b94916d0407ef431d82b8d6a
* Minor Refactoring only: no functional changeMario Bertschler2017-03-281-2/+0
| | | | | | | | - organizing imports - remove redundant modifiers on LauncherCallback interface - fix typos Change-Id: I61eb985cac7c1379b6b804a67d4f234386d3d1b4
* Update notification view to match newer specsTony Wickham2017-02-241-13/+0
| | | | | | | | | | | - Use smaller radius for notifications round rect background - Remove "Notifications" header, and clip children to round rect path - Flip main notification so that icon shows on the right instead of left; footer is also flipped so animation makes sense - Clean up animations to animate view outline instead of height Bug: 32410600 Change-Id: I6bd1e1f8395b3703f28c3b0056a89e67672368ab
* Remove unused View parameter from ofFloat method.Jon Miranda2017-02-061-1/+1
| | | | Change-Id: I5fabd5c78de52ba68b67e0b1bd7208f4d1f7cbea
* Add swipe-to-dismiss notifications in popup menu.Tony Wickham2017-01-251-0/+16
| | | | | | | | | | | | | | - Next secondary icon animates up to replace dismissed main notification - Add padding around main notification so it always aligns with the straight edges of the view (not the rounded corners); looks more dismissable - Notification view collapses as notifications are dismissed - To mimic system notification behavior, we copy SwipeHelper, FlingAnimationUtils, and Interpolators. We also apply elevation to notifications and reveal a darker color beneath when dismissing. Bug: 32410600 Change-Id: I9fbf10e73bb4996f17ef061c856efb013967d972
* resolved conflicts for f685c7e5 to ub-launcher3-masterTony Wickham2015-10-121-17/+18
|\ | | | | | | Change-Id: Iddf78c166f9ab89ffae2ddc819c9ba5cf5e988be
| * Actually call LauncherTransitionable.onLauncherTransitionStep().Tony Wickham2015-10-051-18/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, it was only called at the start and end of the transition; now it is called as the animation interpolates. Specifically, a dummy ValueAnimator is played alongside the transition animation and calls dispatchOnLauncherTransitionStep() as it goes. One place where this is important is in Workspace, where mTransitionProgress is used to determine things like whether the workspace should accept a drop - hence the bug that caused apps dragged from All Apps to vanish when dropped before the transition ended. Bug: 24215358 Change-Id: I32cd633c53557305caf84e87c9a4d4f07eef2223
* | Several animation calls cleanupSunny Goyal2015-07-311-28/+14
|/ | | | | | | > Using View property instead of strings to avoid extra reflection step > Using ViewPropertyAnimator when several properties are being animated Change-Id: I41625643b38b70bac11e2c81d18058ec878d73bd
* Make sure all transition components run on the same threadAdam Cohen2015-05-271-5/+6
| | | | | | | | | | | -> The framework circular reveal transition runs on the render thread which can cause problems when mixed in an AnimatorSet with transitions that don't run on the render thread -> See issue 17556455 issue 21445293 Change-Id: Ie19c184c55060651e817d426ec83049b06af56ba
* Various lint error fixes.Sunny Goyal2015-05-141-1/+3
| | | | | | | | > Fixing some RTL errors by specifying both marginStart and marginLeft > Moving all layout direction checks to Utilities > Explicitely adding @TargetApi before every method Change-Id: Ibe9c52b93b5a6adeadb27ace2b312770fd732ea0
* Further refinement of all apps / widgets transitionAdam Cohen2014-08-131-0/+11
| | | | Change-Id: Id107a9aff74f014c07f8cbea6e74951a02dbddab
* Prevent memory leaks coming from LauncherAnimUtilsMichael Jurka2013-10-231-5/+5
| | | | | | | Use weak references for global animation list Bug: 11322014 Change-Id: I38bb9184e45840113129781fa83ab40ec96d3868
* Fix leak when animations are created but never startedMichael Jurka2013-10-211-1/+1
| | | Bug: 11322014
* Launcher2 is now Launcher3.Daniel Sandler2013-06-051-0/+129
Changes include - moving from com.android.launcher{,2} to com.android.launcher3 - removing wallpapers - new temporary icon Change-Id: I1eabd06059e94a8f3bdf6b620777bd1d2b7c212b