- also, undo enabling hardware layers for
scroll indicator, which could have caused
slowness
- fix bug where scroll indicator was not seen
after the first visit to all apps
- eliminate a some needless hardware layer redraws
- making items under All Apps invisible when we're
in All Apps
- making workspace spaces invisible if their alpha is 0
to prevent more hardware layer rebuilding
This reverts commit 9753d13c7b.
Change-Id: Ib908ae0b456b2d4b8a171991a95f20aea4749da1
-> widget ids were being reused in some cases
-> widgets could be added before springloaded mode was entered
Change-Id: Iaf3bffc49d4ec2de4b63db1b5cfb52b8544e9c2b
-> When a widget has no configuration activity, we bind
and inflate it when the user picks it up. This allows
us to smoothly transition between it's preview and
some actual state of the widget when it is dropped.
-> When a widget has a configuration activity, we delay
the above process until the configuration activity
has been run at which time we transition between
the preview and the actual widget.
Change-Id: I5265cd98400d70e5e75c3dcd21e322ed0b352d7b
- use HW layers on Views whose alpha is faded
- don't run animation end code until the entire launcher
transition is finished
- be more aggressive about making workspace pages visible
after an animation, potential fix for Bug #5867739
Change-Id: I52a088e551c1636a67725629640286b885070f32
- replacing ValueAnimators with ObjectAnimators
- using ViewPropertyAnimator for All Apps->Workspace transition
- add multiple listener support to LauncherViewPropertyAnimator
Change-Id: I794dab6138fb23c5be963e2eb562965b5de857cf
- grouping workspace/all apps anims into one
animator set, prevents blip when one of them ends
early and its end anim handler does lots of work
mid-animation
- updating pivots for all apps zoom if layout
changes
- avoid running unnecessary animations on
workspace pages
- prevent unnecessary reloading of pages in
All Apps
Change-Id: I53a75f7c4c7d254057e2f8f4fd17711e8862256d
Leak happened when a stack view was on the
workspace and then workspace forced a rebind of
its items (for example, when an app was installed)
Bug # 5629171
-> Tightened up the interpolator and decreased the duration of the
AllApps-in animation. This removes many excess frames at the end
of the transition, and frees up perf for swiping AllApps:
(issue 5359751)
-> Changed when AllApps state gets reset -- now only after
leaving home, and then pressing home, or when the screen
turns off.
Change-Id: I76e988102da91c12cb52af01468cf9a81fe45545
When typing fast on an external keyboard, the sequence goes thus:
1. keypress received, global search intent launched with the key included
as the initial query
2. activity is paused
3. another keypress received, another global search intent in launched
with this new key
4. Search activity appears, new keystrokes then end up here
Clearing the typed text immediately results in the first keystroke(s)
being ignored. Do that in onResume() instead so we don't lose them.
Bug: 5276707
Change-Id: I047293f62714ab1438894be7cf84ed127156b2ea