Commit Graph

16456 Commits

Author SHA1 Message Date
Winson Chung 94ba5b1b92 Fixing issue with widget previews using the widget dimensions instead of the preview dimensions
Change-Id: Ie786c45f6e050e0eb02145b0bc9b1f5b1cc37ca2
2010-11-08 17:18:57 -08:00
Patrick Dubroy 0207c52247 Draw glow along screen edge when dragging in portrait. 2010-11-03 22:12:53 -07:00
Winson Chung 68846fdce6 Initial changes to allow resolution of arbitrary clip data to widgets that support them.
Change-Id: Id5dfa8436a5bf6eb7bd300ec603911a9d3698de3
2010-11-03 19:48:17 -07:00
Patrick Dubroy f24312876b Fix bug with views disappearing after dragging. 2010-11-02 14:51:33 -07:00
Michael Jurka c9a961952d Using hdpi icons in Launcher
Known issue: Default activity icon is still showing up as small
2010-11-01 23:06:54 -07:00
Winson Chung 7da1025bd7 Layout and spacing changes for AllApps/Customization drawer
- Also fixing issue where preview images in the customization drawer were not being scaled down

Change-Id: I83d1abf019d591954204b87a437eac2ff916dd54
2010-11-01 16:10:49 -07:00
Patrick Dubroy 30110328a2 Merge "Add snap-back animation when dropping an item on a full page." 2010-11-01 15:41:33 -07:00
Patrick Dubroy 9e48238c39 Fix crash in non-xlarge configurations. 2010-11-01 15:16:24 -07:00
Patrick Dubroy 8ae3a62e2e Add snap-back animation when dropping an item on a full page. 2010-11-01 13:50:10 -07:00
Winson Chung 10fefb18c4 Fixing issues in Launcher
- Now ending choice mode if a selected application is removed
- Only updating apps in the customization drawer if the applications change
- Adding null check when determining scrolling in PagedView

Change-Id: I0b23d1383649626dc012bd70a5e8087885b77c17
2010-11-01 12:10:25 -07:00
Joe Onorato 27ebab6ff9 Merge "When the locale changes, flush the all apps list." 2010-10-30 13:16:16 -07:00
Joe Onorato e9ad59eba6 When the locale changes, flush the all apps list.
Bug: 3032131
Change-Id: I47659a459044fdace0a3480d216b168c18f2de37
2010-10-29 17:35:36 -07:00
Patrick Dubroy 9438336724 Fix NPE when dragging an item to a full home screen 2010-10-29 15:03:34 -07:00
Michael Jurka 3c4c20fbe6 Fix: switching states during animations was broken
- cancelling state animations on home screens before starting new ones
- temporary workaround for the fact that onAnimationEnd is not called immediately when an animation is cancelled
- forcing all apps zoom-in animation to complete if it's cancelled

Change-Id: I3eb011f689050692e8d95f2736e01ab5420f722e
2010-10-29 14:52:03 -07:00
Patrick Dubroy cd68ff5b88 Move drop anim into the Workspace to prevent clipping issues 2010-10-29 13:52:42 -07:00
Michael Jurka a997ac2666 Setting correct active page when shrinking
Bug: 3130373

Change-Id: I5fa8772bd557b828aaac0d6433f1ff148b0d9f57
2010-10-29 12:18:10 -07:00
Winson Chung 55cef262f9 Adding initial support for dropping widgets with custom configuration data.
Change-Id: I4a7ba51783b27e544e9a21882bc7cd582b3b43e0
2010-10-28 16:08:46 -07:00
Adam Cohen 1b0aaac0b3 -> Made outline of current page fade out
-> Added new assets for homescreen outlines

Change-Id: Ic19b32a749fd4109bd5601c8b220759aab56603c
2010-10-28 11:45:12 -07:00
Winson Chung 0e41ae6433 Increasing icons for homescreen as well as as all-apps (temporarily until we get hi-res icons).
- Also fixing spacing in the portrait mode, and using the same styles for both AllApps and workspace icons.

Change-Id: I222dd5d53a39d6940a85f40b57912b69c926ffd0
2010-10-27 20:26:37 -07:00
Winson Chung a9abd0e0bd Initial changes to allow dragging external shortcuts to launcher using the same InstallShortcut intent.
Change-Id: I21b57115429ed37d604084ae01308d1d3f33ee7e
2010-10-27 18:35:04 -07:00
Michael Jurka 625a647bad Merge "Generating holographic outlines in helper thread" 2010-10-27 16:50:11 -07:00
Michael Jurka 0620bec840 Generating holographic outlines in helper thread
Change-Id: Ie6fb0827b0c746d512c5baba44bf16de54e309bc
2010-10-27 13:52:03 -07:00
Joe Onorato ef2efcff5e When the launcher is paused and we reload stuff in the background, we need to re-re-load it in onResume.
Otherwise we can load widgets and other resources from the wrong Configuration.
This doesn't completely fix the bug, but it makes it much less likely.  We tell
the launcher once at the beginning of starting a reload because of SD cards coming
back, and once when we bind.

cherry pick of I99ee6af38bef91e261832bad4dec978a5d4a8b3d

Bug: 3126698
Change-Id: I917bdb3982e3eea4924c6e9a8f3c037fd493f415
2010-10-27 13:21:00 -07:00
Joe Onorato 08c2c99e74 am ec8345a1: When the launcher is paused and we reload stuff in the background, we need to re-re-load it in onResume. 2010-10-27 13:08:05 -07:00
Joe Onorato ec8345a13f When the launcher is paused and we reload stuff in the background, we need to re-re-load it in onResume.
Otherwise we can load widgets and other resources from the wrong Configuration.
This doesn't completely fix the bug, but it makes it much less likely.  We tell
the launcher once at the beginning of starting a reload because of SD cards coming
back, and once when we bind.

Bug: 3126698
Change-Id: I99ee6af38bef91e261832bad4dec978a5d4a8b3d
2010-10-26 19:27:21 -07:00
Romain Guy a915a917a2 Merge "Don't build bitmaps when running in GL." 2010-10-26 14:32:14 -07:00
Romain Guy 3cf4c03125 Don't build bitmaps when running in GL.
Change-Id: I28c93256bca748be6a00698a6c41cbab5dd4a349
2010-10-26 14:29:35 -07:00
Winson Chung 44ccb2ae8a Merge "Adding distance threshold to initiate paging regardless of velocity." 2010-10-26 13:19:15 -07:00
Patrick Dubroy b3c81cc83c Re-enable clicking on CAB buttons
Change-Id: I7ac99fb1b90aad2816e371b8d4b363b7ddae057c
2010-10-25 18:01:07 -07:00
Winson Chung fa42de7249 Merge "Removing the Folders tab." 2010-10-25 15:35:32 -07:00
Winson Chung 5974adcc72 Removing the Folders tab.
Change-Id: I5cf3aa8bf987500800340e047336233db5eb0491
2010-10-25 14:29:11 -07:00
Patrick Dubroy 2319179db2 Merge "Fix crash when dragging from all apps to home." 2010-10-25 14:28:58 -07:00
Patrick Dubroy 3c6dbcdcfe Fix crash when dragging from all apps to home. 2010-10-25 14:24:48 -07:00
Michael Jurka a50c66365b Merge "Fixed disappearing customize button" 2010-10-25 13:59:09 -07:00
Winson Chung 960c6f4bcf Removing Apps/Games tab.
Change-Id: Ib0b8d096a0ead6f1a08df14e90fde96a392c2f50
2010-10-25 13:41:39 -07:00
Michael Jurka 466810ba79 Fixed disappearing customize button
Bug: 3130085
2010-10-25 13:41:02 -07:00
Patrick Dubroy a944215d36 Fix disappearing icons due to div-by-0 in animation. 2010-10-25 12:11:23 -07:00
Winson Chung ceed8fafc7 Merge "Leaving mini-workspaces in place after dropping from AllApps." 2010-10-25 11:56:02 -07:00
Gilles Debunne dd6c992943 Made Launcher and AllApps use the new Tabs holo theme.
Style temp settings removed, now provided by default:
https://android-git.corp.google.com/g/#change,76118

Hacks to focus first tab removed as it has been fixed in:
https://android-git.corp.google.com/g/#change,75393

Bug 3008765

Change-Id: Id9121cf3bfc3be08380bec1a45cf447b5fe96422
2010-10-25 11:23:41 -07:00
Winson Chung 2858f889a5 Leaving mini-workspaces in place after dropping from AllApps.
Change-Id: Iae4aba8b38e674ccda978b8280d015d4d8247147
2010-10-25 11:02:37 -07:00
Winson Chung 9cfd25f167 Adding distance threshold to initiate paging regardless of velocity.
Change-Id: I275417ca69bcaa0b643dab7f3f552d973a194ce6
2010-10-25 10:47:40 -07:00
Winson Chung 4c0505dcc2 Merge "Altering homescreen spacing to match design." 2010-10-24 13:59:29 -07:00
Winson Chung ece7f5b3b5 Altering homescreen spacing to match design.
Change-Id: I8b859992fe843d0cf688cb84bcbaab6dbeccb6fb
2010-10-24 13:31:32 -07:00
Michael Jurka 774bd377df Fixing drag to application info button in All Apps
Change-Id: I6f31bf3ac24366791cf84830584846d57aab9b80
2010-10-22 14:02:08 -07:00
Michael Jurka 883f55b1d2 Correctly preserve state on orientation changes
Bug: 3049975
2010-10-21 15:47:22 -07:00
Winson Chung ef0066b52d More spacing changes to Customization Drawer.
Change-Id: Ie51a0a5da6169b0651e9f70cfb28450254cf0df1
2010-10-21 14:32:20 -07:00
Michael Jurka f3ca3ab695 Fix bug that allowed multiple items in one cell
Fixed issue where opening a folder allowed items to be placed on any cell, even if it was occupied.

Bug: 3094164

Change-Id: I392e7236f9cd7ea0b09f36e249d2a57c9934dc8e
2010-10-21 11:30:28 -07:00
Michael Jurka 6b4b25d093 fixed bug with adding items in customize mode
also, no longer mark items as checked in customize mode

Bug: 3116708

Change-Id: I01b935ba8bfb450dfab9175a7eb5b7619ad187a6
2010-10-20 20:00:44 -07:00
Winson Chung df4b83dd9d More spacing changes for AllApps.
- Also testing a simple scale of existing icons in lieu of high res icons.

Change-Id: Ib9758064536cd1b1704344ea885bccdc93dd3466
2010-10-20 18:39:54 -07:00
Patrick Dubroy bae3d061cc Merge "Various cleanups in the drag viz code." 2010-10-20 15:02:04 -07:00