Commit Graph

13 Commits

Author SHA1 Message Date
Adam Cohen
9e05a5ea95 Making launcher use new widget binding APIs
Change-Id: I9cd6716e1dc0c53b5c846371ea109ced4cd3d40a
2012-09-19 15:22:23 -07:00
Winson Chung
211bac3cd8 Prevent multiple size changed callbacks to widgets whenever we reload the workspace.
Change-Id: I54d7f54ba9ead36201cfaad36fbb234a4c119b20
2012-05-15 13:46:19 -07:00
Winson Chung
11a4937fbf Fixing issue where shortcuts and widgets were not being removed when the package was uninstalled (Bug 2657997, Bug 6335843)
- Also fixes issue if we are dragging a shortcut/widget and it is removed.
- Also exposes App Info for shortcuts and widgets

Change-Id: I3bd5056f50f20e8b277dde6456df26eac815bcde
2012-04-27 15:15: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
Michael Jurka
b60fd0eafb Tagging where ItemInfos are created for debug purposes
Change-Id: Iad3ed8ef4f81f4990c027ab46fd25b03b089babb
2011-08-29 14:23:30 -07:00
Adam Cohen
ded9f8d865 Adding auto-advance to launcher
Change-Id: I96c88d35399057ccddc71dc93b974a39241a13da
2010-11-10 16:55:46 -08:00
Patrick Dubroy
6569f2c80e When dragging items on the home screen, visualize where they will drop.
Draw a rectangle around the area where an item will land if it is dropped.
If the area is vacant, the rectangle is green; otherwise, it is red.

Change-Id: I859b52514566fa55f8c7a04493b8088d12baa476
2010-07-12 17:29:35 -07:00
Michael Jurka
af44209bfa First cut at new home screen customization for xlarge displays.
- Add new layout for xlarge, removing hotseat, next/prev page, etc.
- Add a "+" button in top right which switches to customization mode
- Add a widget chooser which slides up from bottom of screen
- Initial support for dragging widgets onto home screen

Change-Id: I14e2e013ccceff4066fcb7c4492b4f6bef6595e7
2010-06-28 10:49:34 -07:00
Daniel Sandler
8802e96049 Defend against overlapping items in the workspace.
Should the Launcher's database become corrupted by
mysterious forces (e.g.: third-party launchers; botched
upgrades; smoke monsters) in such a way as to cause two
items to share the same cell, we now ignore loading the
latter.

Prevents a runtime crash (http://b/2655516).

Bug: 2655516
Change-Id: Ia514746f04f0e51b2cd07e9290589a6eab75bdd2
2010-05-26 16:50:49 -04:00
Romain Guy
629de3ef73 Remove widgets when the corresponding apk is uninstalled.
Bug #2298872
2010-01-13 12:20:59 -08:00
Joe Onorato
9c1289cb3b Redo the launcher loading code and put the real app icons into rollo. 2009-08-24 14:58:44 -04:00
Joe Onorato
a5902524d4 Launcher2 compiles. 2009-07-30 13:37:37 -07:00
Joe Onorato
fca7c88f9d Move com/android/launcher -> com/android/launcher2 2009-07-30 10:15:07 -07:00