Commit Graph

12092 Commits

Author SHA1 Message Date
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
Patrick Dubroy
8e58e91606 Various cleanups in the drag viz code.
Most importantly:
- Don't allocate a new Paint object in CellLayout.onDraw
- Scale holographic outlines based on the screen density
2010-10-20 14:37:49 -07:00
Michael Jurka
fd177c1d10 Fix bug where screen would get stuck while panning
Bug: 3109113
2010-10-19 15:50:43 -07:00
Patrick Dubroy
ce34a9768b Animate items into place when dropping on home screen 2010-10-19 10:42:24 -07:00
Michael Jurka
18014791be Added bounce animation when item added to screens
Change-Id: I87d9e8545e2de588d083b48991d932eb904f6e3a
2010-10-18 18:29:21 -07:00
Michael Jurka
1adf5391a3 Fixing a bug where you could scroll the mini screens
Change-Id: I3638618cb5f4ec2705955fda994fd6aff42fd70f
2010-10-18 18:16:46 -07:00
Michael Jurka
3adcb0c4a3 making size of delete zone & info button larger
- only on XLarge devices
- make application info button inactive when its not visible
- making scroll right "dead" zone bigger so users don't trigger accidental scroll when deleting items

Change-Id: I474de710a80b165d2ce1553c9231a829679132b2
2010-10-15 18:19:49 -07:00
Patrick Dubroy
08ae2ec484 Fix bug drag viz & hover state
Change-Id: I6b40d4dd43a2ee0c127df938375870347faeb5f6
2010-10-15 14:12:36 -07:00
Adam Cohen
6bed786509 Merge "Fixing a bug with anti-aliasing during page scrolling" 2010-10-14 18:44:09 -07:00
Adam Cohen
e45440ef0e Fixing a bug with anti-aliasing during page scrolling
Change-Id: If03e8ce5880d44ed33378e53f59e0c5d39fceb61
2010-10-14 18:33:38 -07:00
Michael Jurka
d718d6a7ba fix setting/unsetting hover on thumbnailed screens
cleaned up dragenter / dragexit events so they're only received by CellLayouts if the workspace isn't small

ignoring enter/exit scrollarea events when workspace is small
2010-10-14 15:45:30 -07:00
Winson Chung
7a75bd48bf Merge "Adding message when there are no icons in a particular tab." 2010-10-14 14:22:08 -07:00
Winson Chung
9678557e66 Adding message when there are no icons in a particular tab.
Change-Id: Icbf122d10d07fcacb8a4429431ea389826a3d173
2010-10-14 14:21:20 -07:00
Chet Haase
472b281d5c Updating code to use new non-generified animator APIs
Change-Id: Ie1928a22f774b226d90fa0918f61dba35d183dd6
2010-10-14 10:51:21 -07:00
Adam Cohen
564976a46e Fixing bug with swiping
Change-Id: I2957aedded514d4dd2f9a9d766eede5d0801622c
2010-10-13 19:54:27 -07:00