Commit Graph

74 Commits

Author SHA1 Message Date
Michael Jurka f1ad608c28 Fix jumps in the beginning of animations
If the first draw frame of an animation is
expensive, which it often is, it causes a big
jump. Added a helper class which automatically
adjusts the animation start time if the first
frame is more than 16ms.

Change-Id: I100edbc41c2abe930a32d6bcf0a782ea9735f7f9
2013-03-28 12:08:18 -07:00
Michael Jurka ee8e99fe3b Fix crash when switching between Apps/Widgets tabs
Bug: 8138894
2013-02-07 13:27:30 +01:00
Winson Chung 7819abd2d1 Fixing issue where the cling is offset. (Bug 7633074)
- Also fixing issue where the workspace cling was showing on top of AllApps when you entered it for the first time.

Change-Id: I7d59ad153de192bc1d69537af1b4af632465138b
2012-11-29 14:30:30 -08:00
Michael Jurka 7f9ddd8435 Fix janky transition on All Apps tab switch
Bug: 7139562
2012-11-19 16:15:24 -08:00
Michael Jurka 7eed60454d Get rid of explicit GC requests
Bug: 7370913
2012-10-19 17:22:00 +02:00
Winson Chung 59fe4f1023 am 8e1b4f65: am fa4086dd: Fixing issue where selected tab did not match AllApps page upon rotation.
* commit '8e1b4f65383d859ca7e2ebfc9a9463c8d46271de':
  Fixing issue where selected tab did not match AllApps page upon rotation.
2012-07-25 22:22:03 -07:00
Winson Chung fa4086ddd7 Fixing issue where selected tab did not match AllApps page upon rotation.
Change-Id: I4f32ca7cca042b94bdaea5cf259c397404546e0d
2012-07-25 16:22:52 -07:00
Ed Heyl 8165f0dd20 resolve conflicts w/4f174f1d27adbde6f50e11ee3a8eaf162a030284
Change-Id: I7ecce86e58af545aa18ea25e16978a1dce9dab8e
2012-07-25 15:04:00 -07:00
Winson Chung c93e5ae120 Binding AllApps synchronously. (Bug 6855061)
- Also ensuring that we restore to the settling page index if it is in motion

Change-Id: I9c6760383113f7614f6cb962ab6562b0e7eb7138
2012-07-24 23:56:21 -07:00
Michael Jurka 2ecf995e0d Remove use of private ValueAnimator api
Change-Id: I455edcd17bda83ab51c2c04fa40e66097a4d6975
2012-06-19 11:44:57 -07:00
Michael Jurka a33411cb83 Removing use of private SearchManager api
also removing one unused import
2012-06-18 12:57:12 -07:00
Winson Chung 51600e4b63 am 8fd14178: am 7e4e4ba4: Merge "Removing logging in AppsCustomizePagedView (Bug 6597629)" into jb-dev
* commit '8fd14178541374f2609c463a3bf882b93c10395d':
  Removing logging in AppsCustomizePagedView (Bug 6597629)
2012-06-14 10:40:32 -07:00
Michael Jurka 9bc8eba333 Clean up warnings and some private API usage
Change-Id: Ic3c0b333942bc3de130e41531017e71358bd5bfb
2012-06-12 10:52:57 -07:00
Winson Chung c10ba1396f Removing logging in AppsCustomizePagedView (Bug 6597629)
Change-Id: I58313d3b3536d3ee7eaae8459fbded41dc5dadec
2012-06-11 15:22:22 -07:00
Winson Chung bfeac0681b Synchronizing on the new-apps list before modifying it. (Bug 6621553)
- Minor tweak to qsb padding
- Adding yet more logging for single-app-page issue

Change-Id: I4272dd7a70c9ac26f026b03a1f991f14844fdb9d
2012-06-06 15:57:27 -07:00
Winson Chung 31ce073f6a Keying off the Launcher state to determine wallpaper visibility (Bug 6396752)
Change-Id: I00c457d9c07113bf8ff4c7102e486efcb030ddc4
2012-05-06 13:51:22 -07:00
Winson Chung 21fadeaad1 Fixing build.
Change-Id: Ibd16316801a4078d80484f8e04507508d6f7a905
2012-04-27 15:59:55 -07:00
Winson Chung ac08f4b93e Fixing issue where you can not swipe AllApps while transitioning to AllApps. (Bug 6389985)
Change-Id: Idce57a6a3fffffa800d33c1b5b528d36174bb511
2012-04-27 15:42:43 -07:00
Michael Jurka a35e35ae0a Solve blip the first time All Apps is launched 2012-04-26 15:05:25 -07:00
Michael Jurka 8b805b1715 Remove use of private APIs
Change-Id: I3e28763075f8e92391796dc009214c9fa8f50008
2012-04-25 16:24:03 -07:00
Winson Chung c7450e3ebd Updating launcher transitions.
Change-Id: I32b35189fe05a1c0db0ac1d7f508b1560088f635
2012-04-24 13:27:00 -07:00
Michael Jurka aea1ce51bc Fix NPE
Bug: 6329157
Change-Id: Idd2db78890d196bcbfbe93640e07a96037638341
2012-04-12 11:23:21 -07:00
Winson Chung 6e3cf9001e Using measured dimensions in case the tab flips quickly and the content hasn't shown yet. (Bug 6263403)
Change-Id: I84512dc8d661c4c714a531ba1b028081c1fa164d
2012-03-30 17:03:05 -07:00
Michael Jurka 39e5d176e6 Fix more cases where blips show up in All Apps
- defer any updates to the widget previews if we're
mid-transition
- call System.gc() before a transition to avoid gc
mid-transition

Change-Id: If8b4699b142af20b2f14e9a8653f893139adf90e
2012-03-20 01:40:41 -07:00
Michael Jurka 6cfafb96c3 Fix a lot of easy lint issues
Change-Id: I80b43dae137cbbb912ec0fcc4e401de16a9b44a1
2012-02-24 12:53:08 -08:00
Michael Jurka a8352d22af Cancel scroll indicator fade during allapps/workspace transition
Change-Id: I8661c17adbf0a129730b44641930fb68ba9afed6
2012-02-23 16:28:37 -08:00
Winson Chung 7044272f18 Allow touches to fall through AllApps nearing end of transition (Bug: 5991846, 6016062, 5991846)
- Also updating mTransitionProgress so control when drops succeed

Change-Id: I2f672c64f0a87249dcf7d254f963b8b2710c849f
2012-02-17 11:14:29 -08:00
Michael Jurka bed61d22bd Revert "Revert "Speed up All Apps -> Workspace transition""
- 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
2012-02-15 20:22:50 -08:00
Michael Jurka 9753d13c7b Revert "Speed up All Apps -> Workspace transition"
Temp fix for 5976264

This reverts commit 9433fa7eba.

Change-Id: Ic49ffc818b9b233b3717b52a5f77eaac1e001f5b
2012-02-14 13:36:59 -08:00
Michael Jurka 9433fa7eba Speed up All Apps -> Workspace transition
- 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
2012-01-20 06:50:06 -08:00
Michael Jurka 2a4b1a809c Make All Apps<-->Workspace transition smoother
- 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
2011-12-12 15:30:58 -08:00
Michael Jurka e326f186af Unload widget previews when launcher is not visible
Can save ~1-2MB of RAM

Bug #5104303

Change-Id: I992bec33052f4d2c201e528b5edf384d05960e71
2011-11-22 17:00:06 -08:00
Winson Chung 3f4e142380 Minor fixes to Launcher
- Tweaking the AllApps tab padding
- Fixing issue where the cling punch out might be in the wrong location
- Removing unused dragging code related to drop/scroll area overlap
- Tweaking padding so that picking up an icon on the top row does not automatically hover over delete (Bug 5636264)
- Fixing issue where multiple bgs in AllApps tab bar line makes it look blurry (Bug 5523822)

Change-Id: I707397c231188a9feee8c0856374e0483cf37296
2011-11-18 10:13:04 -08:00
Michael Jurka c97ddb679c Merge "Fix bug where all apps didn't load sometimes" into ics-mr1 2011-11-16 12:57:39 -08:00
Michael Jurka 3d845e8d89 Fix bug where all apps didn't load sometimes
Bug #5623281
2011-11-15 17:04:47 -08:00
Michael Jurka b737ee6ab2 speeding up transition from other apps -> Launcher 2011-11-15 16:36:30 -08:00
Michael Jurka 182c4d269e Merge "Delay loading All Apps pages until the first time we enter All Apps, making launcher startup faster (5000628)" into ics-mr1 2011-11-14 16:39:23 -08:00
Winson Chung c6f10b906f Workarounds for a couple crashes. (Bug 5612584, Bug 5613438)
Change-Id: I9669d830a10cc98291737f3f1d561c846c408289
2011-11-14 13:29:25 -08:00
Michael Jurka 1899a36ab3 Delay loading All Apps pages until the first time we enter All Apps, making launcher startup faster (5000628)
Change-Id: I2a2218975141d7659184de83e505c7ab6e613232
2011-11-13 17:08:23 -08:00
Michael Jurka 141dbd0e02 Improve Apps/Widgets transition
- Avoid using a bitmap when doing crossfade when switching between Apps/Widgets tabs, also fixes a visual issue on stingray (5104303)

Change-Id: I7365c629e704f37e18350ad15a849c034553d0b3
2011-11-11 16:48:48 -08:00
Winson Chung 097e6c71b1 Adding additional checks to prevent launcher crash when we can't compose animation buffer. (Bug: 5478481)
Change-Id: I5671bffab8626b4e2224ef4c174204a5a3b68f97
2011-10-20 18:18:14 -07:00
Adam Cohen dd3a3d9cf9 Merge "Fixing AllAppsCustomize Keyboard Accessibility / NPE (issue 5483485)" into ics-mr0 2011-10-20 14:41:47 -07:00
Adam Cohen ae4f155e09 Fixing AllAppsCustomize Keyboard Accessibility / NPE (issue 5483485)
Change-Id: I841823e28bf419028afea2a57352c4ad45c7c4a0
2011-10-20 00:18:52 -07:00
Winson Chung 4b0ed8c09e Adding additional cases where we may have to recalculate the number of apps/widget pages. (Bug: 5475261)
Change-Id: Ia5f0cea7a3b8bd0a972ec3ea2fadc72eb0f7689a
2011-10-19 15:26:07 -07:00
Adam Cohen 7fe4f8ba0a Merge "Add ability to swipe from apps to widgets in AllAppsCustomize (issue 5453016)" into ics-mr0 2011-10-17 10:20:07 -07:00
Adam Cohen 0cd3b64e60 Add ability to swipe from apps to widgets in AllAppsCustomize (issue 5453016)
Change-Id: I4d725cf1ee11d67f5149dbd0edbcb2e0af3b80ee
2011-10-14 16:50:14 -07:00
Winson Chung d2c1f80aa7 Making Launcher tabs more consistent with system. (Bug: 5184498)
Change-Id: Idac7c14fdefcdad0bb88b1c5b34fa3e10c2733ac
2011-10-14 13:02:24 -07:00
Winson Chung 7d7541e7b4 Updating Clings. (5057945, 5056643)
Change-Id: Ifb2d37e92495aeddf9d4b3277eb8d2a846f4aa99
2011-09-18 18:38:11 -07:00
Winson Chung 7ed3774638 Bug Fixing
- Setting loader thread priority to default after loading to help rotation time (5264039, more work to be done here potentially)
- Fixing regression in missing background gradient for hotseat
- Removing the old cupcake gallery item bg, new bg assets coming soon (5160311)
- Defering showing the AppsCustomize tab bar until we request layout to help a little with the flashing

Change-Id: I8c4981435f684363be951696986b7ab1b71956eb
2011-09-08 15:48:58 -07:00
Winson Chung f314b0eab0 Improving transition between Apps/Widgets panes (5145408)
Change-Id: Id4f73a89b646bbf168ee49e8bdeb34b85a52d9d4
2011-08-16 12:52:39 -07:00