c6205603efe1f2987caf96504c87d720a25b5a94 |
|
22-May-2015 |
Sunny Goyal <sunnygoyal@google.com> |
Creating landscape and portrait device profiles at app initialization Change-Id: Ide9d007adc36b348e19b05cdf49e87f8b02db60e
/packages/apps/Launcher3/src/com/android/launcher3/Partner.java
|
2e6da1539bc7286336b3c24d96ab76434939ce4d |
|
06-May-2015 |
Adam Cohen <adamcohen@google.com> |
Refactoring DeviceProfile -> 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
/packages/apps/Launcher3/src/com/android/launcher3/Partner.java
|
4ae96ce92df7aad3c767c68b8795b80734e01829 |
|
30-Aug-2014 |
Adam Cohen <adamcohen@google.com> |
Add ability for Partner customization apk to override certain DeviceProfile params -> Workspace row / col counts -> All apps row / col counts -> Workspace icon size issue 17208277 Change-Id: I25cfafede4da783083593b9bfeff4e5ba7751d36
/packages/apps/Launcher3/src/com/android/launcher3/Partner.java
|
e697a9a042509b3872b164dc02d0a465d5b917c2 |
|
03-May-2014 |
Sameer Padala <sxp@google.com> |
Move Partner.java into the Wallpaper directory. WallpaperPicker depends on this and have this class in Launcher3 would cause a circular dependency in google3 Change-Id: Ia582bcb988a4f6375904660546b1bc1744d25238
/packages/apps/Launcher3/src/com/android/launcher3/Partner.java
|
5aeef58131e1c330d1d9c1dfcacf2e6eea6ced4b |
|
14-Apr-2014 |
Jeff Sharkey <jsharkey@android.com> |
Add support for partner customization. Traditionally Launcher workspace customization is offered through overlays at build time, but we don't have access to partner-specific customization at build time. To solve this, this adds a new "partner-folder" tag which points at an XML resource provided by an external package. The external package XML can't depend on the binary XML attributes defined by Launcher3, so we switch to using manual string-based attribute lookups. Partners can also provide extra wallpapers. When a folder only results in a single item, promote that item into the folder location instead of deleting completely. Bug: 13340779 Change-Id: Ide558288bef4113565f288b700d8245055c0fee9
/packages/apps/Launcher3/src/com/android/launcher3/Partner.java
|