Commit Graph

123 Commits

Author SHA1 Message Date
Adam Cohen 16d7ffc5d5 Adding some dump() logging regarding deleted widgets
Change-Id: Ia11cc27267d06d57e0e16bfabe3b5076481058e5
2011-10-05 17:51:48 -07:00
Winson Chung e61e93e56f Reverting change to load workspace items in reverse order. (5290651)
Change-Id: I6bc5e4ccac12a5a1098721eccb0d6ccede699b42
2011-09-12 11:00:15 -07:00
Winson Chung 3994035966 Merge "Bug Fixing" 2011-09-08 17:27:13 -07:00
Winson Chung 7ed3774638 Bug Fixing
- Setting loader thread priority to default after loading to help rotation time (5264039, more work to be done here potentially)
- Fixing regression in missing background gradient for hotseat
- Removing the old cupcake gallery item bg, new bg assets coming soon (5160311)
- Defering showing the AppsCustomize tab bar until we request layout to help a little with the flashing

Change-Id: I8c4981435f684363be951696986b7ab1b71956eb
2011-09-08 15:48:58 -07:00
Michael Jurka 79e580225e Merge "Cleaning up LauncherModel" 2011-09-07 16:59:40 -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
Winson Chung 36f9736cd3 Loading the workspace favourites in reverse order to work around duplicate issue. (5208427)
Change-Id: I87dee7a9aab345740f51d8168c6b073a93e20652
2011-09-07 11:22:04 -07:00
Winson Chung e05b381c55 Merge "Prevent accessing LauncherModel data structures on main thread. (5220358)" 2011-09-03 12:07:56 -07:00
Winson Chung 603bcb91a0 Prevent accessing LauncherModel data structures on main thread. (5220358)
Change-Id: Ib9de96abb0ab13ef63b9c594f6982368fd1b614f
2011-09-02 17:07:46 -07:00
Winson Chung 6ba2a1b6e7 Fixing incorrect test of occupied state for items in the hotseat. (5208427)
Change-Id: Iee78e6be21389314210ef3c60c557a78b43f8021
2011-09-02 16:22:51 -07:00
Michael Jurka 83df188ce0 Execute update operations immediately if on right thread
- Potential fix to bug 5205131

Change-Id: Iae302f81e4c8f5c07dc4363b3bb9ef298a33faf4
2011-08-31 20:59:26 -07:00
Michael Jurka b60fd0eafb Tagging where ItemInfos are created for debug purposes
Change-Id: Iad3ed8ef4f81f4990c027ab46fd25b03b089babb
2011-08-29 14:23:30 -07:00
Michael Jurka ec9788e681 Fix crash when package list is updated
bug# 5224498

Change-Id: I8953589c21e97fee3f5c3b95fb4a46beb39562b3
2011-08-29 11:24:45 -07:00
Winson Chung c22a54d426 Tweaking the logging in the fail case, adding additional cases for where the db icon cache should be updated. (5205131)
Change-Id: If5bf8d959ba9af40dbe8c13e6ed352a345e1679a
2011-08-25 13:53:35 -07:00
Adam Cohen 536f7db06c Merge "Adding null check to prevent crash when factory resetting device. (5214968)" 2011-08-25 13:14:04 -07:00
Winson Chung cfdf7ee64d Adding null check to prevent crash when factory resetting device. (5214968)
Change-Id: I514a17bdf097c6df17cacbe6d3aa59d427bc713b
2011-08-25 11:38:56 -07:00
Winson Chung b1094bd963 Updating db icon cache when item id cache gets updated. (5205131)
- Also adding additional debugging information

Change-Id: If3372753fb20fecfa97e7d6ba7f72484ab437795
2011-08-24 16:17:03 -07:00
Winson Chung cbf7c4d50c Hiding search bar buttons when qsb is disabled. (5187969, 5201453)
Change-Id: I23cbfac5c1a8f96eb8158fd30a1fb335b044d49c
2011-08-23 14:58:00 -07:00
Winson Chung 30a22f32b0 Merge "Fixing label cache issue due to different ResolveInfos being returned in different parts of loading, saves 1-10% on AllApps load. (5042022)" 2011-08-19 10:20:26 -07:00
Winson Chung aac01e1073 Deferring testing of loaded icons against db icons, saves between 15-30% on workspace load. (5042022)
Change-Id: I016248f6779851390df1bf0a23199d0aecc032d1
2011-08-18 12:18:47 -07:00
Winson Chung 5308f24d4b Fixing label cache issue due to different ResolveInfos being returned in different parts of loading, saves 1-10% on AllApps load. (5042022)
Change-Id: I17166bd6a50858ff76c475688fff9a9eaeba6010
2011-08-18 12:15:28 -07:00
Michael Jurka c57b7a8233 Adding a progress bar while All Apps is loading
- also, removing some unused imports

Change-Id: Icf46beb9fa9d89bc06cba33c148ceb7d668cd402
2011-08-09 22:36:01 -07:00
Winson Chung f30ad5f1bf Making hotseat a fiver.
Change-Id: I18737692a115f8fd77c6feb3062f4bfeca3506ae
2011-08-08 14:05:51 -07:00
Michael Jurka 931dc9779d Solving bug where labels were uneven
- Ensuring all icons, even those that are pulled from our database cache, are always the correct size
- Solves bug where loading icon for shortcuts with missing activities on a GB->ICS upgrade caused uneven labels (Bug 5111191)

Change-Id: I4b8a97c3b0fa02fd189f82d0c01444f47fee2205
2011-08-05 15:43:18 -07:00
Michael Jurka 7578ec6fa9 Fix crash when adding bookmark to homescreen from browser
Bug 5109799

Change-Id: Ic7de1dcd06d20715170a856ed345f91bd36d982d
2011-08-03 14:12:12 -07:00
Adam Cohen 9932a9b1e6 Fixing weird deferred click events after deleting folder
-> Fixing issue 5055487

Change-Id: I932f95f29322fa50035b13063ab51fad2d2217e8
2011-08-02 22:26:50 -07:00
Winson Chung 3d503fbd94 Initial changes to add configurable hotseat.
Change-Id: I4c2ed4a1c122c057662fabc70bfef7c5c088460b
2011-07-20 14:12:20 -07:00
Narayan Kamath cb1a477868 Update the search widget icon if the global search provider changes.
Note that this change is necessary because the launcher might
receive the PM broadcast before the SearchManagerService does.

Change-Id: I5a03e2fb16dee232a83d24b834ef6bd0eaabe774
2011-07-18 11:43:34 +01:00
Michael Jurka 288a36b563 Cleaning up code to deal with language changes 2011-07-12 16:53:48 -07:00
Michael Jurka c2f801e770 Reload workspace if language changes 2011-07-12 14:19:46 -07:00
Michael Jurka fe63476a2d Merge "Fix bug where All Apps wasn't always getting updated" 2011-07-12 12:51:14 -07:00
Michael Jurka 5b1808da75 Fix bug where All Apps wasn't always getting updated
Bug # 4731290
2011-07-11 19:59:46 -07:00
Adam Cohen 93993f8745 Merge "Fixing bug 5011917 - clearing refernce to old folders from FolderInfo" 2011-07-11 18:42:27 -07:00
Adam Cohen 4eac29a80b Fixing bug 5011917 - clearing refernce to old folders from FolderInfo
-> Also, ensured that unbind() gets called on all ItemInfos on rotate

Change-Id: I869b68fcae5c66702ec204596f5ecabdc7a32df7
2011-07-11 18:37:16 -07:00
Winson Chung c3eecff904 Preventing multiple calls to loadLabel for the same info within a single load.
- Fixing mind boggling bug where we weren't even using the label cache earlier.

Change-Id: I605abf4d589ad02b2426d20adfe9cd1773cc84fd
2011-07-11 17:47:42 -07:00
Michael Jurka a8c760d395 Improving LauncherModel performance
- no longer reloading DB on each configuration change
- adding/updating items in DB on background thread

Change-Id: Ie140f31608df84b0ca2d45eb7a210a8a3b36b52f
2011-07-08 14:06:14 -07:00
Adam Cohen d044526d82 Adding transitions during folder creation
-> Seamless* transition from dropping item onto another
   to the creation of a folder containing those items
-> Seamless* transitions when adding the third item
   to a folder
-> Cleaned up the code in FolderIcon in order to achieve
   above

Change-Id: Iaf2519ac480acfdc928cc2b7585f28bc7d50bd23
2011-07-06 11:35:56 -07:00
Adam Cohen afb01ee742 Folder auto-destroys itself when there is only one item left.
Change-Id: I4ea41e0730e3dc474a518eba0a04c11167b5c1df
2011-06-23 18:52:18 -07:00
Winson Chung cd2b01416f Removing old Launcher callback reference from LauncherModel when the activity is destroyed.
Change-Id: I288d2bd7e305c2cf9bdeec5357997d566d5205b7
2011-06-08 16:19:08 -07:00
Winson Chung 63257c110a Minor changes to help address some hiccups when panning, changing tabs and rotating in AppsCustomize.
- Also removing references to old all-apps 2d/3d

Change-Id: Ibe07ad8b4facc5c57b3c82ccf0b55260be61a31b
2011-05-06 16:25:37 -07:00
Winson Chung 4dbea7920a Cleaning up icon code.
- Changing long-press on homescreen to bring up wallpaper picker.

Change-Id: I854b1b7dc5a102e95853732d6e9a4fa298144650
2011-05-05 15:22:05 -07:00
Winson Chung 1ed747a4c0 Testing mixing shortcuts into widgets pane.
- Initial changes adding LRU cache to widget pane to speed up getting widget previews.

Change-Id: If9ed479ba8f2fb321b3ff8c384ac5a9f87d4c689
2011-05-04 17:22:37 -07:00
Michael Jurka 20c0364a1d Deleting deprecated and unused code 2011-04-29 14:43:17 -07:00
Adam Cohen df2cc41acb Stripping LiveFolders from Launcher
Change-Id: Ic105fbeb1289e43469d5975b7d977b2fc7900c0b
2011-04-28 12:28:39 -07:00
Winson Chung 785d2eb2b8 Initial changes to merged AllApps/Customize pane in the Phone UI.
Change-Id: Ifa1676736033fe617dd0cca965156c38fa452948
2011-04-22 12:53:59 -07:00
Adam Cohen 71a9546402 Fix launcher crash, bug: 3368489
Change-Id: I8b693d9ea6b4ef58ee1141e8f61b3fede134606b
2011-03-22 13:54:11 -07:00
Adam Cohen 1b607ed454 Cleaning up widget resizing code
Change-Id: Ib4c0de0080f0b69f873fd88016f23c319a13c6ff
2011-03-03 18:30:20 -08:00
Adam Cohen d4844c3e73 Implementing resizable widgets in launcher
Change-Id: I18598493dcf34fc6089fa330a4b66803f658b773
2011-02-25 13:56:06 -08:00
Joe Onorato 17a8922e2a Make the icon caching for SD cards actually work.
We need to save the icon *after* we have loaded all the other information about it.

Also, add a check that if apps on SD aren't possible, don't even bother saving the icon.  This saves
~200 ms on each run of the loader.

Bug: 3240615
Change-Id: Idc2329a868ab970b51deec341ffa8a47a344e110
2011-02-10 11:41:57 -08:00
Winson Chung 78403feedc Changing downloads tab to my apps and making most recent first. (3377455)
Change-Id: I75ae46ad601457ecfc9555aff7f7ff5284440317
2011-01-21 15:48:45 -08:00