History log of /packages/apps/Launcher3/src/com/android/launcher3/LauncherModel.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
e523e70f75ff90ca5d613fb8398d37208e6cd32d 09-Oct-2013 Chris Wren <cwren@android.com> move the provider authority to a config class

Bug: 10816034
Change-Id: I68364081f039f94205b805a1510eb04e6f0f40a2
/packages/apps/Launcher3/src/com/android/launcher3/LauncherModel.java
8741298d3c6a17015dabc4aacc261fd8eb59992d 04-Oct-2013 Winson Chung <winsonc@google.com> Fixing issue with numerous empty screens showing when adding a shortcut to a clear workspace. (Bug 10785413)

Change-Id: Ib9b5f76dc23e609b1774147a6cf760f185d9154b
/packages/apps/Launcher3/src/com/android/launcher3/LauncherModel.java
1307f63f8a93541bf6e2d29c11fab69778a25e42 03-Oct-2013 Bjorn Bringert <bringert@google.com> Add a better app filtering mechanism and filter widgets

The old one didn't use the app filter when packages
were added or updated, only in the initial load.

The app filter is now also used for appwidget providers.

Bug: 10895858
Bug: 10898990
Change-Id: Id29bbc3cf7bdb0c360edd92f768b86684bd338ed
/packages/apps/Launcher3/src/com/android/launcher3/LauncherModel.java
0f84a604563037ea65883b99d30e7ff802d986c2 30-Sep-2013 Winson Chung <winsonc@google.com> Ensuring that we always update the container when modifying an item in the db. (Bug 11008354)

Change-Id: I82748565c878a212bdef1bffbf21f2a3fea09314
/packages/apps/Launcher3/src/com/android/launcher3/LauncherModel.java
780fe59a7af8b12fbdcd7f6841edaa7f2c2e019d 26-Sep-2013 Winson Chung <winsonc@google.com> Integrating some aosp fixes, ensuring that we update the install queue before returning to Launcher.

- Fixing stuck page in All Apps (Bug 9347818)
- Fixing shortcuts to uninstalled apps from being installed (Bug 10726510)
- Consolidating vibration feedback
- Ensuring that we trim names during comparison in AllApps list

Change-Id: Ieaae4d85851ce771283b4684a8a60306da28cb3b
/packages/apps/Launcher3/src/com/android/launcher3/LauncherModel.java
eb1bb920507fe7f27b2ecece5b67749dac7850f3 26-Sep-2013 Michael Jurka <mikejurka@google.com> Recover when reading corrupted widget previews

Bug: 10785722
/packages/apps/Launcher3/src/com/android/launcher3/LauncherModel.java
94d6768c65929efa21bb893fdef7f269d65da3c3 26-Sep-2013 Winson Chung <winsonc@google.com> Restoring INSTALL_SHORTCUT receiver (Bug. 10343529)

Change-Id: Icd6a97c1d7877241aa9c71bd80dfdbe6e44ca7ee
/packages/apps/Launcher3/src/com/android/launcher3/LauncherModel.java
a0b7e86299ed9baf278e0c1ed73f4a4f6a057322 06-Sep-2013 Winson Chung <winsonc@google.com> Removing any overlapping items with the hotseat.

Change-Id: I9634939e6b1e8905d232d5a30608e2c56071d7bc
/packages/apps/Launcher3/src/com/android/launcher3/LauncherModel.java
ede4129e77f8347e32c0da9c615bcff2cbc06fd8 20-Sep-2013 Winson Chung <winsonc@google.com> Removing old debugging logs. (Bug 107442854)

Change-Id: I56d6838af3cca710eab300d3e71ca1be90866cdd
/packages/apps/Launcher3/src/com/android/launcher3/LauncherModel.java
c3919c0e994309982efc8779af57e2bc78dcac43 18-Sep-2013 Chris Wren <cwren@android.com> fixup missing providers on load.

Bug: 10779026
Change-Id: I0a9fc43258623c233c7ba89a9e9f1dee97800967
/packages/apps/Launcher3/src/com/android/launcher3/LauncherModel.java
11a1a53651924b544513f1f6971a735b18d67539 13-Sep-2013 Winson Chung <winsonc@google.com> Fixing issue with folders not showing up.

- Add long click on empty spaces in hotseat to show overview mode
- Limit the height of all apps to the workspace + hotseat size
- Fixing some comments

Change-Id: Ie5a97a8b04e449385e2b3f6230079aebf8e15d5a
/packages/apps/Launcher3/src/com/android/launcher3/LauncherModel.java
85f418d0f5607c66efef1673075a6d3486e5af83 06-Sep-2013 Bjorn Bringert <bringert@google.com> Allow Launcher class to hide activities from All Apps

There are a few questions for the launcher team
embedded in comments.

Bug: 10645210
Bug: 10551568
Change-Id: I67ad10da0d0f0f0885f8b14d329231c37aa6779b
/packages/apps/Launcher3/src/com/android/launcher3/LauncherModel.java
26acafbe67565a9cc6aeb7d6c43a1c6d1cb9b73c 05-Sep-2013 Michael Jurka <mikejurka@google.com> Fix crash when setting wallpaper

Also clean up some unused code

Change-Id: Ibef8d3d594cc859a993640fd6ee578e9eeb633d1
/packages/apps/Launcher3/src/com/android/launcher3/LauncherModel.java
c58497ee619416c4949b16eb43486c11618b69e5 04-Sep-2013 Winson Chung <winsonc@google.com> Initial changes to restore AllApps.

- Removes unused all apps code due to dynamic grid/spacing
- Attempts to use CellLayout instead of PagedViewCellLayout

Change-Id: I3c49bca9fc35dfeaf250591fd63bc7f36119968f
/packages/apps/Launcher3/src/com/android/launcher3/LauncherModel.java
761c89d9ac5d103d826b57c05c629ca6addc51d8 05-Sep-2013 Winson Chung <winsonc@google.com> Merge "Fixing issue where shortcuts to standard android intents were getting pruned." into jb-ub-gel-agar
eadbfc564d84aaf1d800da3d0d6edf6312f89648 04-Sep-2013 Michael Jurka <mikejurka@google.com> Move wallpapers to external activity

Also renaming Launcher's ApplicationInfo to
AppInfo since ApplicationInfo is already a
framework class

Change-Id: Ib3e91d2ba4ace458d790a26c0ce850870fd3f146
/packages/apps/Launcher3/src/com/android/launcher3/LauncherModel.java
68fd3c33daf7a6d4de287f8691306a55fa54706c 31-Aug-2013 Winson Chung <winsonc@google.com> Fixing issue where shortcuts to standard android intents were getting pruned.

Change-Id: Ie5b83f0240a72813e33d528b62f74e69c3807d55
/packages/apps/Launcher3/src/com/android/launcher3/LauncherModel.java
ba9c37f41c41121a38d5a52232953d4b103e9471 30-Aug-2013 Winson Chung <winsonc@google.com> Fixing missing workspace screens. (Bug 10512285)

- Also skipping apps that are disabled (Regression, Bug 10444606)

Change-Id: I175d0188615cbd378166e14ac2f7afb6295fe886
/packages/apps/Launcher3/src/com/android/launcher3/LauncherModel.java
933bae6958b5333a61577edd6b57b1a7c00743a0 29-Aug-2013 Winson Chung <winsonc@google.com> Additional Logging.

Change-Id: I37bfa8e1812d2f08c62f1181514aece854a22f2b
/packages/apps/Launcher3/src/com/android/launcher3/LauncherModel.java
4caf298a2c9d861d69f5a47b747ada911b125b6d 21-Aug-2013 Adam Cohen <adamcohen@google.com> Logging to disk for more reliable logging

-> Re-adding basic distinction btw apps and shortcuts
-> Adding functionality to e-mail dump file, but not using

Change-Id: I2b635004ab082af79445158ab61f20aac62d2e2f
/packages/apps/Launcher3/src/com/android/launcher3/LauncherModel.java
414300a79d140f8c2c8760d9adab750f69ffeafd 27-Aug-2013 Michael Jurka <mikejurka@google.com> Clean up unused code

Change-Id: Ie1e927aa0b5304f62cfffaab449abb3133870f80
/packages/apps/Launcher3/src/com/android/launcher3/LauncherModel.java
9e6a0a20d40675ef98c7fdb8892cf34b90152f7a 27-Aug-2013 Winson Chung <winsonc@google.com> Clearing workspace screen data structures along with pages.

Change-Id: Ib6c4522cd0c0c06dd6fd327be3621a6de0778f9c
/packages/apps/Launcher3/src/com/android/launcher3/LauncherModel.java
892c74d460ad98c6306420e1127c9aa3e505ba25 23-Aug-2013 Winson Chung <winsonc@google.com> Fixing folders to always show in view, removing old assets and references to LauncherModel count.
/packages/apps/Launcher3/src/com/android/launcher3/LauncherModel.java
61c69869b3947f1d242b07384bb4e9cd5b266915 22-Aug-2013 Winson Chung <winsonc@google.com> Fixing issue loading old db rows without proper spans causing crash due to occupied-cells check.

Change-Id: Iac4d245c27aa7e6afe7792cc2308a163af11d11f
/packages/apps/Launcher3/src/com/android/launcher3/LauncherModel.java
8707e0fa1ca2c79be862c29cb919b7372f0b6a50 16-Aug-2013 Daniel Sandler <dsandler@android.com> Don't use a More Apps folder.

Instead, "extra" icons (which were not previously workspace
shortcuts) will be strewn across your workspace.

Change-Id: Ie8a7b533bb3c94bec3aa8fc7c7c8d3bea7eef485
/packages/apps/Launcher3/src/com/android/launcher3/LauncherModel.java
d64d1763c590b1c954b759156683abf39ff22945 20-Aug-2013 Winson Chung <winsonc@google.com> Removing workspace screens on load and ensuring we don't bind on new apps until returning to Launcher.

- Updating print_db to print workspace screens

Change-Id: Id477f5a5649c0d3b7ab0cce5ed99ca0a519d7706
/packages/apps/Launcher3/src/com/android/launcher3/LauncherModel.java
5f8afe6280eae34620067696173e71943e1a30a3 13-Aug-2013 Winson Chung <winsonc@google.com> Initial Changes for Dynamic Grid

Change-Id: I9e6f1e5167791cf8dc140778dfa447f86424e9bf
/packages/apps/Launcher3/src/com/android/launcher3/LauncherModel.java
76828c87ddb50ee3b423ef26f36387a2f03fd562 20-Aug-2013 Winson Chung <winsonc@google.com> Ensuring that we don't clobber workspace screens map when new apps are added.

- Using Log warnings instead of debugs
- Ensuring we don't save negative screen id's

Change-Id: I13276d007193c120ee0830abcdc6eb203f22a9da
/packages/apps/Launcher3/src/com/android/launcher3/LauncherModel.java
e34930346b5eb468ad001d3b44698c11ef50e13a 13-Aug-2013 Winson Chung <winsonc@google.com> More logging.

Change-Id: I559fae32d80b6d7151ce519d81c662737fb23404
/packages/apps/Launcher3/src/com/android/launcher3/LauncherModel.java
45fa06ed1e1098eb40ce811e75fa556a82c0245d 13-Aug-2013 Winson Chung <winsonc@google.com> Adding additional logging.

Change-Id: Ic4db1a3abe8b735f07e51a2d35ca92273b5f76c8
/packages/apps/Launcher3/src/com/android/launcher3/LauncherModel.java
8481e32e5ba318d11c31317072a8a23aacd3d0b9 10-Aug-2013 Winson Chung <winsonc@google.com> Adding additional debugging code to track screen id updates.

Change-Id: I1749ab998a4c213b32f1160d5d21f21b2f30e389
/packages/apps/Launcher3/src/com/android/launcher3/LauncherModel.java
1323b4856a2a822af77293cadeda9910a5d1ba0e 05-Aug-2013 Winson Chung <winsonc@google.com> Fixing regression in initializing install time.

Change-Id: Iedeae0eed7cc929ee7cb2be99bd3bdc58822ce6e
/packages/apps/Launcher3/src/com/android/launcher3/LauncherModel.java
695ff6b6fada4e1037592d7c4961321e12890b7d 05-Aug-2013 Michael Jurka <mikejurka@google.com> Fix build error
/packages/apps/Launcher3/src/com/android/launcher3/LauncherModel.java
f795d7b2adaaf06d449e33e5308569a3114eae02 02-Aug-2013 Winson Chung <winsonc@google.com> Merge "Cross referencing all shortcuts on workspace with the PackageManager to ensure we don't have zombie icons." into jb-ub-gel-agar
3dba179949b4c1ce6d91c8eb847a91d9f2c56282 02-Aug-2013 Winson Chung <winsonc@google.com> Merge "Removing old new-app animation code, and refactoring InstallShortcutReceiver to use new add/bind logic." into jb-ub-gel-agar
63d7870ea23502f10b74e9c91de9bd8f0bfc0507 31-Jul-2013 Winson Chung <winsonc@google.com> Merge "Verifying that new applications are added and fixing issue with new items getting wrong ids." into jb-ub-gel-agar
ee055715cfe5085aa7c1ff1f8a14348bd0cef604 30-Jul-2013 Winson Chung <winsonc@google.com> Cross referencing all shortcuts on workspace with the PackageManager to ensure we don't have zombie icons.

Change-Id: If9e22bbf1e3e0228e6ce9c76044ae7e015ebf54f
/packages/apps/Launcher3/src/com/android/launcher3/LauncherModel.java
997a92348a6d6e061737399321393449c16cd4d8 25-Jul-2013 Winson Chung <winsonc@google.com> Removing old new-app animation code, and refactoring InstallShortcutReceiver to use new add/bind logic.

Change-Id: Ide27dbcf1d1b1631fcd33a6c54a51b31e125c2f4
/packages/apps/Launcher3/src/com/android/launcher3/LauncherModel.java
c763c4e4d28c256d1368be3fc1c4526c8b9bd232 19-Jul-2013 Winson Chung <winsonc@google.com> Verifying that new applications are added and fixing issue with new items getting wrong ids.

- Fixing issue where the LauncherModel would be out of sync on first migration, and subsequent crashes

Change-Id: I6f58b09b615b28958c7f941e58ff9ae0ee3ba939
/packages/apps/Launcher3/src/com/android/launcher3/LauncherModel.java
47b5031c703dbee491af9f49e6e08865452d57ef 25-Jul-2013 Daniel Sandler <dsandler@android.com> Fix NPE on failed loader queries.

Bug: 9901236
Change-Id: I3139174dd03ac3e79960f03729b7a39528804d76
/packages/apps/Launcher3/src/com/android/launcher3/LauncherModel.java
1e2f465f46ded990ea30516cdb7f0fcf3280411f 09-Jul-2013 Michael Jurka <mikejurka@google.com> Implement ability to uninstall shortcuts from workspace

Change-Id: I14ca94ea719825c4de19ab85d67537155098d50c
/packages/apps/Launcher3/src/com/android/launcher3/LauncherModel.java
156ab5b22e45b36a1c5edbe5accccf6aefcb4907 12-Jul-2013 Winson Chung <winsonc@google.com> Fixing issue where migration all apps folder couldn't be picked up.

- Ensuring that we add items to the non-primary home page
- Fixing issue with drop-target touch handling on tablets

Change-Id: Iea5a383dc735a8f6044a00982f05789f8328ab63
/packages/apps/Launcher3/src/com/android/launcher3/LauncherModel.java
64359a53dc827797917a8d9a0697a91996789801 09-Jul-2013 Winson Chung <winsonc@google.com> Ensuring that the db reflects all package added/removed/updated broadcasts.

- Also ensuring that newly added pages are added before the empty page

Change-Id: I97a01f791c438aa5c5b1fd770d3536b449a871bc
/packages/apps/Launcher3/src/com/android/launcher3/LauncherModel.java
e4f9891f01bdc10d8f96e4e2429e2f4d0558238b 25-Jun-2013 Daniel Sandler <dsandler@android.com> Lazily instantiate LauncherAppState.

The application context for LauncherAppState is supplied by
the application whenever it starts; don't ask for an
instance before that.

Change-Id: I1ca8ea04238a357a682f79250f08813ead7ae532
/packages/apps/Launcher3/src/com/android/launcher3/LauncherModel.java
c916834ad0da535f08325bcd902a60070f2f7e53 26-Jun-2013 Winson Chung <winsonc@google.com> Using package broadcasts to key adding of shortcuts on the workspace.

Change-Id: Id4f83cb0351d21e3f7c029c7fe39efdacd2d6f17
/packages/apps/Launcher3/src/com/android/launcher3/LauncherModel.java
566da1026c33a68157bf9caf93d2071ad2870f46 26-Jun-2013 Daniel Sandler <dsandler@android.com> Fix DEBUG_LOADERS workspace layout ASCII art.

(Broken in change If73c7f7c.)

Change-Id: If20ccc85db3b16326051a208e5fb518fb135d9c0
/packages/apps/Launcher3/src/com/android/launcher3/LauncherModel.java
dcd297f05a866e07090d6e2af8fb4b15f28cb555 18-Jun-2013 Adam Cohen <adamcohen@google.com> Initial implementation of Shrink-wrap

Change-Id: If73c7f7ca19ca62ff43134f515584354afef8507
/packages/apps/Launcher3/src/com/android/launcher3/LauncherModel.java
cc8befac3550c81d04ea206c170adae36c9a6c93 11-Jun-2013 Daniel Sandler <dsandler@android.com> Move LauncherApplication's state and code to LauncherAppState.

This removes Launcher's static data and other state out of
the Application object. Now LauncherApplication (extends
Application) exists only to instantiate LauncherAppState.

Change-Id: I4e323bd78b77536b92054105536a55c0c2c19ba8
/packages/apps/Launcher3/src/com/android/launcher3/LauncherModel.java
e25af795647a19f1a0d60bc4baea5a996d215fdf 07-Jun-2013 Adam Cohen <adamcohen@google.com> HACK: temporary upgrade path from com.android.launcher2

-> load old provider
-> permute pages
-> strip all duplicates from workspace
-> add [allapps minus workspaceapps] to apps folder

Change-Id: Id319d532c6bf1d78370ecc736e95a9475d831de8
/packages/apps/Launcher3/src/com/android/launcher3/LauncherModel.java
f0f4eda31841f41d892bf18847c1acdc45d2cd64 07-Jun-2013 Adam Cohen <adamcohen@google.com> Making folders scrollable

Change-Id: Id6c9ec62acc6d86dc627d20abad3e2d92010f539
/packages/apps/Launcher3/src/com/android/launcher3/LauncherModel.java
325dc23624160689e59fbac708cf6f222b20d025 06-Jun-2013 Daniel Sandler <dsandler@android.com> Launcher2 is now Launcher3.

Changes include
- moving from com.android.launcher{,2} to
com.android.launcher3
- removing wallpapers
- new temporary icon

Change-Id: I1eabd06059e94a8f3bdf6b620777bd1d2b7c212b
/packages/apps/Launcher3/src/com/android/launcher3/LauncherModel.java