Commit Graph

10334 Commits

Author SHA1 Message Date
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
Winson Chung 82f77e513d Merge "Setting children alpha for widget-customization layout for performance." 2010-10-13 18:25:29 -07:00
Patrick Dubroy fe6bd87881 Fix some incorrect animation code that might be causing visual glitches. 2010-10-13 18:13:11 -07:00
Winson Chung 8e4ec31415 Setting children alpha for widget-customization layout for performance.
Change-Id: Ic7f672b06971df867db8af326d1334d1d3f4c102
2010-10-13 18:08:29 -07:00
Joe Onorato 4be866d3a1 fix 3029324: Implement new drag feedback
Add "shrinkwrap" icon outlines to visualize where the item will land
2010-10-13 12:01:04 -07:00
Winson Chung b0b2e6f588 Tweaking spacing and layout of AllApps/Customize in portrait.
- Also added workaround for tab label not being initially selected
- Added fix for initial layout of PagedViews preventing side pages from having proper alpha
- Marking widget dims format string as not translatable

Change-Id: I74a5410b88e2766816a87b14e64058b4288c214d
2010-10-12 18:27:22 -07:00
Jean-Baptiste Queru f93a49422b am e90cc3ba: resolved conflicts for merge of 35e79e32 to gingerbread-plus-aosp
Merge commit 'e90cc3ba6c6ccd383f31b539367c2cccea278fed'

* commit 'e90cc3ba6c6ccd383f31b539367c2cccea278fed':
  Replaced /sdcard with Environment.getExternalStorageDirectory()
2010-10-12 13:57:11 -07:00
Brad Fitzpatrick 76275ac1c5 resolved conflicts for merge of 700889f5 to master
Change-Id: I85320de6483e6820fe27b4012bfc323ccafa0e04
2010-10-12 13:52:44 -07:00
Brad Fitzpatrick adb4229c23 am 02e53429: Merge "Don\'t block the UI when rearranging icons." into gingerbread
Merge commit '02e53429c4ef01bee548e0eaba4aeeee99db35f4'

* commit '02e53429c4ef01bee548e0eaba4aeeee99db35f4':
  Don't block the UI when rearranging icons.
2010-10-11 17:43:21 -07:00