Commit Graph

95 Commits

Author SHA1 Message Date
Adam Cohen 619643af9a Merge "Fixing issue where you could click through to next page in AppsCustomize (issue 5501400)" into ics-mr1 2011-11-10 15:05:24 -08:00
Michael Jurka 81efbad05e Reduce unnecessary layout passes
- Also delete unused code
2011-11-10 11:22:48 -08:00
Adam Cohen 4e84401aa8 Fixing issue where you could click through to next page in AppsCustomize (issue 5501400)
Change-Id: I3cb7a640d24598a2d65c436763196b997626a506
2011-11-09 15:17:46 -08:00
Winson Chung 6032e7ed8e Fixing issue where AllApps labels were getting clipped (Bug: 5490118)
- Tweaking the AllApps grid spacing

Change-Id: I7eb79edfd170500c1fecd6841e6f022bd40ac250
2011-11-08 15:54:45 -08:00
Adam Cohen 55f57c49cf Merge "Launcher performance optimizations: shaving about 3ms off Workspace.dispatchDraw()" into ics-mr1 2011-11-01 12:45:07 -07:00
Adam Cohen 73894964c2 Launcher performance optimizations: shaving about 3ms off Workspace.dispatchDraw()
-> Caching values of getChildOffset() and getChildRelativeOffset()
    -> Using fast invalidate pattern in workspace#screenscrolled
    -> eliminated updateAdjacentPageAlpha, combined with screenScrolled
       code where appropriate to take advantage of fast invalidate
    -> removed a bit of dead code (just for cleanups sake)

Change-Id: Id91542ff846d9495a0370707d02d1f647dab22d4
2011-10-31 14:52:24 -07:00
Winson Chung 0b9fcf5686 Fixing issue where default widget previews were not using large icons on tablet.
Change-Id: I66469f52172be8ee526dc71cc5b6aa797f6a3289
2011-10-31 13:05:51 -07:00
Winson Chung b5e74c8b60 Fixing issue where widget previews were being scaled up.
Change-Id: I94eaa1beb0579c8045a3b4c6ff72f7b9622a62ff
2011-10-28 16:43:21 -07:00
Michael Jurka c5deca7c6a Merge "Asset updates" into ics-mr1 2011-10-27 11:40:13 -07:00
Peter Ng 8db7000140 Asset updates
- Change how default widget previews look (5509429)
- Improve antialiasing in portal assets

Change-Id: I9993aec46a9a9ab8a732b4fc150120c935523f02
2011-10-27 11:26:04 -07:00
Winson Chung 6a87740354 Fixing issue where we were unnecessarily center pages vertically (Bug: 5521605)
- Centering pages vertically have no real effect on the phone as the page height is
  effectively the size of the container, but on tablets, pages can be significantly
  smaller to allow tapping the empty space to dismiss it.

Change-Id: I2f5117c287df6c5357039696f456d1d9d6c2af57
2011-10-26 17:00:42 -07:00
Adam Cohen 2591f6a520 Fixing AppsCustomize paging effect on tablet
Change-Id: I9ec1faeb4efa1b3db338bf47dceee72befbc682e
2011-10-25 14:37:45 -07:00
Winson Chung 6a8103c7ef Adding check in when getting current tab tag to prevent crash/NPE. (Bug: 5492469)
Change-Id: I51960bafbf1a9b2201639fb34786a7415e1e57dd
2011-10-21 11:09:16 -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 d3357b186d Fixing all apps accessibility (issue: 5478505)
Change-Id: I8f5ba2e4acd620520a57ef0b464171c6e0966d4e
2011-10-18 14:58:50 -07:00
Adam Cohen b64d36e6f8 Fixing stutter in AllApps transition
-> 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
2011-10-17 21:53:41 -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 5fc72b3186 Fixing some issues with AppsCustomize
- Tweaking the widget page to make it a little tighter
- Altering the way we generate widget previews to make them more consistent
- Making the Apps page two line titles

Change-Id: I7bce420466c1d41fb87b423f259472482803a406
2011-10-11 18:20:33 -07:00
Winson Chung 8ff8713e55 Workaround for stingray crash due to using old bitmaps. (Bug: 5397469)
Change-Id: Icf7b13926aff3fdc4f658a549309ec4587ab0fa3
2011-09-30 19:41:08 -07:00
Winson Chung e4a647f879 Slight change to inflate as much of the widget info as possible ahead of bg preview loading.
Change-Id: Id2a7ec79674f2d0a58afef3cfd57091dbf0bc736
2011-09-30 14:51:06 -07:00
Winson Chung 099459377a Clean up bitmaps when necessary in the widget tray to prevent likelihood of OOM. (Bug: 5348390)
- Removing some old code to use software layers when rendering widget preview metadata

Change-Id: I0db3daf7d1223e81dac6c901647acbe2ff490c6e
2011-09-29 12:52:22 -07:00
Winson Chung 7f0acdde96 Deferring create hardware layers until we load widget pages. (5330412)
Change-Id: Ia1b5e3ec3db7b7de4b0a76486136ba9df07ff70f
2011-09-19 18:36:48 -07:00
Winson Chung 7d7541e7b4 Updating Clings. (5057945, 5056643)
Change-Id: Ifb2d37e92495aeddf9d4b3277eb8d2a846f4aa99
2011-09-18 18:38:11 -07:00
Adam Cohen 446e940fc8 Locking orientation on phones (issue 4967793)
Change-Id: I6b5fe63547f43c408feea75f35dc0a08d06c258c
2011-09-15 20:08:40 -07:00
Adam Cohen cff6af81d7 Tuning AllApps <--> Workspace transitions
-> Removed extraneous service transactions during scrolling

Change-Id: I60a201e7a94608d6fbafd2350f39a466d7a4c003
2011-09-14 14:04:49 -07:00
Adam Cohen 61dcf3759f Fixing regression with widget sizes
Change-Id: Id013ceaaf08ce2bfddd997b49843384082bc6834
2011-09-13 15:01:58 -07:00
Adam Cohen b5ba097015 Workspace overscroll effect
-> Made AllAppsCustomize scroll/over scroll more subtle

Change-Id: Icf1889b3adccce22d4a2d80c5b487518b0ab3157
2011-09-11 17:24:49 -07:00
Adam Cohen 859736e78a Merge "New AllAppsCustomize transitions" 2011-09-08 11:40:14 -07:00
Adam Cohen 22f823d340 New AllAppsCustomize transitions
Change-Id: Ibefda8bf156810849c5e8f3383d49ae64a7ee08a
2011-09-07 18:16:11 -07:00
Michael Jurka c9d95c5897 Cleaning up LauncherModel
- performing all DB operations immediately if called from worker thread (a previous change that did this in updateItemInDatabase fixed an outstanding bug)
- centralizing logic to do database updates
- removing old logging code

Change-Id: Idc7bfef3921828ff7c5492b8e996c0a07e1ec508
2011-09-07 16:59:07 -07:00
Adam Cohen f814aa0f33 Unifying widget cell requirement computations
Change-Id: I5b37ebdab5b3defe7d05926882a6587d4c9f1081
2011-09-01 13:54:32 -07:00
Adam Cohen 7777d967a6 Refactor and simplify home transitions
Change-Id: I499ba571c889b684a759ee84c2a626ef94977855
2011-08-31 14:20:01 -07:00
Michael Jurka b60fd0eafb Tagging where ItemInfos are created for debug purposes
Change-Id: Iad3ed8ef4f81f4990c027ab46fd25b03b089babb
2011-08-29 14:23:30 -07:00
Winson Chung 87acb4806b Fixing issue where rotating device while in widgets pane fails to load.
- Removed some unnecessary code related to dialogs.

Change-Id: I5abfc7851c78e6597fd49cc96db5b26bd0976c1c
2011-08-23 18:05:20 -07:00
Winson Chung ed718b18a9 Merge "Saving/restoring current page in AppsCustomize. (5050168)" 2011-08-18 10:55:17 -07:00
Adam Cohen b0fa3529ed Fixing issue 4727712, widget list isn't always synced correctly
Change-Id: Iac7fc94d78915e53174ddc4b44854a45da72c443
2011-08-17 16:12:00 -07:00
Winson Chung 5afbf7bdd6 Saving/restoring current page in AppsCustomize. (5050168)
Change-Id: Ib868033a2b71383abc4569082675f391d3e4cc76
2011-08-17 10:48:01 -07:00
Winson Chung f314b0eab0 Improving transition between Apps/Widgets panes (5145408)
Change-Id: Id4f73a89b646bbf168ee49e8bdeb34b85a52d9d4
2011-08-16 12:52:39 -07:00
Winson Chung 35d4a257cf Tweaking widget grid to show more items
Change-Id: Ied035f6c01f062ac1b4b16ee0a5b9029c6da72a0
2011-08-11 15:57:35 -07:00
Michael Jurka d771c96e5d Fix regression: taps were not sent to wallpaper
Change-Id: I2114cf8161c7a3b0fa6849f15e5a8e4bd45dbabb
2011-08-09 16:07:40 -07:00
Winson Chung 70fc438583 Adding opacity to drag views. (5064535)
Change-Id: I6eb96edf203a53e55a0d20dd97ff383d0b51da0e
2011-08-08 15:53:57 -07:00
Winson Chung 54c725cc29 Bug fixes
- Fixing issue where drop target is not as tall as it should be (5116098)
- Fixing issue where number of cells was being computed incorrectly (5112002)
- Disabling side page fading in AppsCustomize on the phone UI
- Should be using action bar bg states instead of tab bg states (5086625)

Change-Id: I0ec927f87cede48dcf4b66cbaa1d62a09f3492b8
2011-08-03 14:29:19 -07:00
Adam Cohen aaf473c2bb Revert "Revert "Clear the bitmap associated with canvases.""
This reverts commit 4e012846cd.
2011-08-03 12:04:22 -07:00
Adam Cohen 4e012846cd Revert "Clear the bitmap associated with canvases."
This reverts commit 9b9d48f289.
2011-08-03 11:49:05 -07:00
Dianne Hackborn b2cdfb5f86 Merge "Clear the bitmap associated with canvases." 2011-08-02 22:02:30 -07:00
Dianne Hackborn 9b9d48f289 Clear the bitmap associated with canvases.
Change-Id: Ic100a51960f8c0e7d8b3a107b64d23c7d70e6da9
2011-08-02 16:41:28 -07:00
Winson Chung 6a3fd3f042 Multitude of launcher behaviour changes.
- Merging widgets and shortcuts in widgets pane
- Removing legacy long press menu items (make it go straight to wallpapers)
- Removing old option menu (just making it point to wallpapers)
- Dropping user to workspace after adding an item (animations to be tweaked) or back to AppsCustomize only on failure/cancel

Change-Id: Ia73670ce76f321dc45defb27bb5a828764240ab4
2011-08-02 15:55:33 -07:00
Winson Chung 72d8b393b0 Removing use of deprecated constants in GridLayout.
Change-Id: Ifbf88e182cab5f68276e4d69f866238c91591c0b
2011-07-29 13:57:15 -07:00