summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/AutoInstallsLayout.java
Commit message (Collapse)AuthorAgeFilesLines
* Always log if Package is missing while loading default workspaceAdam Cohen2015-08-061-2/+2
| | | | Change-Id: I7f2e5a9aabdf1fc192ad7912aaefa3f41c059ff1
* Adding item rank when parsing a folderSunny Goyal2015-07-061-0/+3
| | | | | Bug: 22059402 Change-Id: Ie57f2dd58d2b4bc2eb277f10e93a25d026d1cdd2
* Refactoring DeviceProfileAdam Cohen2015-05-211-2/+2
| | | | | | | | | | | | | | | | | | | | -> Pulling out the parts of device profile which can (and need to be) initialized and accessed without access to an Activity context, ie. the invariant bits. -> The invariant bits are stored in InvariantDeviceProfile which is initialized statically from LauncherAppState. -> The DeviceProfile contains the Activity context-dependent bits, and we will create one of these for each Activity instance, and this instance is accessed through the Launcher activity. -> It's possible that we can continue to refactor this such that all appropriate dimensions can be computed without an Activity context (by only specifying orientation). This would be an extension of this CL and allow us to know exactly how launcher will look in both orientations from any context. Sets the stage for some improvements around b/19514688 Change-Id: Ia7daccf14d8ca2b9cb340b8780b684769e9f1892
* Removing ContentObserver from LauncherModel, and calling reloadSunny Goyal2015-04-011-1/+1
| | | | | | whereever necessary Change-Id: Ia4a8abdfe2be9703f3217a60527d3a1220b33bdc
* Configuration of workspace through app restrictionsSunny Goyal2015-03-271-4/+34
| | | | | | > Checking for a grid specific layout before loading the default layout Change-Id: I1e8d4176341e61d0876b0a9bea9ad8010e3a0f6a
* Reducing method count by eliminating synthetic accessorsAdam Cohen2015-03-201-4/+5
| | | | | | | | | | | Elimates 304 methods based on dex analysis The java compiler generates sythetic accessor methods for all private fields, methods and contructors accessed from inner classes. By marking them package-private and @Thunk instead, sythentic accessor methods are no longer needeed. These annotated elements should be treated as private. Change-Id: Id0dc2c92733474250d8ff12fa793d3a8adeb1f26
* resolved conflicts for merge of b564efb0 to ub-launcher3-masterSunny Goyal2015-01-231-0/+15
|\ | | | | | | Change-Id: I4321522dd1b6b3f96e21232d113fad5144b630bc
| * Adding support for <include> tag in AutoInstall layoutSunny Goyal2015-01-231-0/+15
| | | | | | | | | | Bug: 19121893 Change-Id: I760fa76d6e63c1aa0152e8cd710aba0d6ef4462a
* | Replacing hotseat icon to an appropriate system appSunny Goyal2015-01-221-4/+10
|/ | | | | | | | | | | > During backupi, store the hotseat target app type, based on some predefined common system apps > During restore, save this app type in the restore flag, if it is a hotseat app > During first launcher load, if an app is not being restored, try to replace it with an appropriate replacement for that type, otherwise delete it. Bug: 18764649 Change-Id: Ic49e40bd707bd8d7de18bbab8b1e58a0a36426a2
* Refactoring layout parsing codeSunny Goyal2014-10-171-88/+157
| | | | Change-Id: Iee5b2280cb1e841bcfe91fdcf523de6fa7f7f3b8
* Source change to get code compiling on google3Sameer Padala2014-09-221-1/+1
| | | | Change-Id: Ib16df8dd9caa04903a664d8cf92767107fe57628
* Changing intent action for auto installsSunny Goyal2014-09-191-1/+1
| | | | | Bug: 17425805 Change-Id: I12e94860206ed62d6ba04f0b5734cc55ba414e45
* Handling label and icon from SessionInfo.Sunny Goyal2014-09-041-1/+1
| | | | | | | | | > The ShortcutInfo stores state as bit flags and not as ints > Intents of auto-install shortcut are automatically updated upon installation > Icons/titles for active sessions are cached in IconCache Change-Id: I2047849f67d4a8aaf2bc346b58110325bb4807d4
* Autoinstalls loading xmlSunny Goyal2014-08-121-0/+564
> Launcher checkes for an apk in the system image with a broadcast receiver for action: com.android.launcher3.action.LAUNCHER_CUSTOMIZATION > Default layout is parsed from that apk, which can also contain icons and string resources used in the layout config Change-Id: I44fc9e7c3134f525f7b5db29f4e8bb56e17ce445