Commit Graph

460 Commits

Author SHA1 Message Date
Michael Jurka 7e38964c43 Merge "Clean up unused code and import declarations" into ics-mr1 2011-11-28 18:48:04 -08:00
Winson Chung e96e5cb768 Fixing a few landscape issues.
- Fixing issue where widgets/icon names from side pages show in landscape (Bug 5665226)
- Fixing issue where the workspace was rendering over the hotseat in landscape (Bug 5665226)
- Fixing regression where the market button had no press feedback

Change-Id: Idcd890fdddab2d463195c9b3000fe7a0ab357200
2011-11-28 16:24:54 -08:00
Michael Jurka 92f3d46cf3 Clean up unused code and import declarations
Change-Id: If36fd2d99a51b07290b13f697b3ea08d31feb023
2011-11-28 10:51:22 -08:00
Winson Chung 8171d8ce48 Merge "Fixing issue where shortcut holographic outlines were different than widgets. (Bug 5659891)" into ics-mr1 2011-11-23 17:00:17 -08:00
Winson Chung 65f9e9d45b Merge "Preventing springloaded mode from snapping back due to timeout. (Bug 5649189)" into ics-mr1 2011-11-23 15:38:42 -08:00
Adam Cohen ea49c1c861 Merge "Prevent the creation of Shorcuts with null intents (issue 5629292)" into ics-mr1 2011-11-23 14:37:59 -08:00
Winson Chung 1120e03557 Fixing issue where shortcut holographic outlines were different than widgets. (Bug 5659891)
- Also fixing regression where widget drag previews weren't slightly translucent

Change-Id: I5370819589a2fc839df8742cda5156aec986b47d
2011-11-22 17:00:50 -08:00
Adam Cohen d919882006 Prevent the creation of Shorcuts with null intents (issue 5629292)
Change-Id: I54fbad2d4af27c6d8fc0d79c33e890298a3db4dc
2011-11-22 16:51:26 -08:00
Winson Chung 96ef409ebd Preventing springloaded mode from snapping back due to timeout. (Bug 5649189)
- Also allowing drop on all apps button to cancel a drag

Change-Id: I27252bd34c591882d8c5f80389d8fd6f4f6e4791
2011-11-22 14:21:08 -08:00
Adam Cohen 026df005fb Merge "Fixing bug where drag would sometimes get cancelled inadvertently" into ics-mr1 2011-11-21 15:11:43 -08:00
Michael Jurka a21e9537ba Merge "Potential fix for out-of-date hardware layers" into ics-mr1 2011-11-21 13:18:33 -08:00
Michael Jurka dfab7f0285 Potential fix for out-of-date hardware layers
Might also further help bug where IMG GPU slows
down when rendering into hardware layers that are
not rendered to framebuffer

Bugs # 5614712, 5616414, 5628998

Change-Id: I85ff11889aa28f6985dd68e7f1e57d0da2150aa5
2011-11-18 17:07:51 -08:00
Adam Cohen 74c28d1a6c Fixing bug where drag would sometimes get cancelled inadvertently
Change-Id: I4e838836c5a943abe9ebe2437cb53f68e6aae3d0
2011-11-18 14:17:11 -08:00
Adam Cohen aa1e57286d Merge "Small fix to deal with ugly widget dropping situations" into ics-mr1 2011-11-18 11:34:22 -08:00
Adam Cohen bad24941cd Small fix to deal with ugly widget dropping situations
-> Tried some more elaborate fixes in which aspect ratio of the
   preview were not preserved. Given that nothing clearly always
   better, going with a simple fix for now.

Change-Id: I3dccf95680da55cccfb6f00befe88cea4bbe0035
2011-11-18 10:16:53 -08:00
Adam Cohen b0736fac73 Merge "Fix hiccup when dropping in springloaded mode on large ui" into ics-mr1 2011-11-17 10:28:02 -08:00
Adam Cohen 70ed13b370 Fix hiccup when dropping in springloaded mode on large ui
Change-Id: I434c594e0d2c94b122cd3336f36c529e6c3d1066
2011-11-16 15:59:40 -08:00
Michael Jurka b737ee6ab2 speeding up transition from other apps -> Launcher 2011-11-15 16:36:30 -08:00
Michael Jurka 038f9d8bfb Widget preview improvements
- Make widget preview bitmaps as small as they can be, saving ~0.7-2MB peak memory (5104303)
- When adding/dragging a widget, make the drag outline/drag view much more closely match the actual size (5566938)

Change-Id: I5b5b7b84fa551d56432a76223b1a9e4de620ff56
2011-11-11 16:27:31 -08:00
Adam Cohen ebea84d1c9 Unifying overscroll btw phone and tablet
-> Using separate assets for removing and uninstalling

Change-Id: I183967c3ca482531ae28f71cd9053b673c6a8d03
2011-11-11 11:38:53 -08:00
Michael Jurka e6dcf26512 Merge "Reduce unnecessary layout passes" into ics-mr1 2011-11-10 15:02:00 -08:00
Michael Jurka 81efbad05e Reduce unnecessary layout passes
- Also delete unused code
2011-11-10 11:22:48 -08:00
Michael Jurka dde558b8b8 resolved conflicts for merge of b9c76f32 to ics-mr1
Change-Id: I7579e312c48c9f9279e93283629036a9332aa34c
2011-11-10 02:36:08 -08:00
Adam Cohen 21b411074e Cleaning up overscroll effect in launcher workspace
-> Making sure workspace is drawn above the hotseat and qsb
-> Dimming the dock divider and page indicator during overscroll

Change-Id: I40766aa88e58db2d102c11d1ae8b2455aa459a07
2011-11-03 15:42:39 -07: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
Michael Jurka 132793e607 Merge "Fix stuttering animation when you press home" into ics-mr1 2011-10-31 22:53:39 -07:00
Michael Jurka cf489fe0c6 Merge "Update tablet wallpaper size" into ics-mr1 2011-10-31 22:53:34 -07:00
Michael Jurka bdf78559f2 Fix stuttering animation when you press home
Bug # 5533287

also removing some dead code/assets

Change-Id: I05e0a67d5b9003c76e1589a9dc54b7d17b755acf
2011-10-31 14:56: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
Michael Jurka 193080b4c6 Update tablet wallpaper size
- No wallpaper overscroll when horizontally swiping in Launcher
- No more vertical parallax
- Always setting the wallpaper offset to be centered vertically on phones
2011-10-28 16:09:52 -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 1b7c1d3515 Cleaning up some code related to background alpha. (Bug: 5512761)
- Fixes problem where side pages animate in when going to/from all apps
- Fixes issue where current page outline shows on first drag after going to all apps

Change-Id: Id764ff30daf7f4e9ca6f57d3bcd939a8a20c9473
2011-10-25 16:00:10 -07:00
Winson Chung b8c69f3c17 Fixing issue where holographic outlines were offset when dragging from/to folders/hotseat. (Bug: 5399792)
Change-Id: Iaa39ef1293b45a1d116210ec9d7fbde17dbc99cc
2011-10-19 23:57:04 -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
Michael Jurka c1f5d26675 Fix stutter when swiping workspace first time
Bug # 5366313

Change-Id: If4212d0cd626d0829e3e4487da52f455b0b89983
2011-10-11 11:11:36 -07:00
Winson Chung 700eef7bc6 Merge "Fixing issue where dragging in the hotseat could trigger scrolling to side pages. (Bug: 5151006)" 2011-10-03 16:12:08 -07:00
Winson Chung 3e0839e5f8 Fixing issue where dragging in the hotseat could trigger scrolling to side pages. (Bug: 5151006)
Change-Id: I1b1b98ecc87180fa5994f46194f1b5668e618b91
2011-10-03 15:15:51 -07:00
Winson Chung 1e9cbfef04 Fixing issue where folder icon shows holographic outline.
Change-Id: Iabb26cdbd25d02170f79ba030f97323120a3aa7b
2011-09-30 16:55:05 -07:00
Adam Cohen 36cc09b07b Fixing issue with cancelled drag blocking cell spaces (Issue 5386523)
Change-Id: I9cfc728edeeee2237c21935517107e7a2af49646
2011-09-29 17:33:15 -07:00
Adam Cohen ac56cff186 Adding keyboard support to folders and fixing renaming rough edges
Change-Id: I62e1a5699e4c7e8d53f5f7d6331a854270a83aa1
2011-09-29 11:53:57 -07:00
Michael Jurka 1670698ff3 Making wallpaper width 2x the screen width
Fixes bug #5373026

Change-Id: I5de999aee3958a4b6c83a144af64c7bf1cf12e39
2011-09-26 16:39:22 -07:00
Michael Jurka a64718061a Restore gingerbread-style wallpaper parallax
Change-Id: I687b725f13053726569543a82df77d4a80aa907e
2011-09-23 16:23:41 -07:00
Adam Cohen 446e940fc8 Locking orientation on phones (issue 4967793)
Change-Id: I6b5fe63547f43c408feea75f35dc0a08d06c258c
2011-09-15 20:08:40 -07:00
Michael Jurka 286f2e1da9 Merge "Disable tap to switch pages on phones" 2011-09-14 15:01:42 -07:00
Michael Jurka b72094fe1d Disable tap to switch pages on phones
Change-Id: I15b911c2785df5aa124814c6128523042104b4da
2011-09-14 14:53:19 -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
Winson Chung dea74b7d12 Updating assets.
Change-Id: Ieab9698bbbe94a3087c9f405c4318f5575e2a842
2011-09-14 11:31:30 -07:00
Adam Cohen 7842d7fc78 Fix blip in AllApps transition
Change-Id: I599867712796b5ec0e0523f3dbcf11b50e012d93
2011-09-12 15:28:15 -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
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