1f06427266c0cb5de4561fc7c620ff542f625300 |
|
19-Jul-2016 |
Winson <winsonc@google.com> |
Initial changes to tweak layout. - Adding DeviceProfile callback for when the launcher layout changes due to insets. This is necessary since there are now different layouts depending on which side the navigation bar is on - Consolidating hotseat and other layout into the device profile launcher layout logic - Making the all apps icons match the workspace icon height - Tweaking caret drawable to draw to the bounds specified to simplify layout in each orientation - Fixing minor issue with page indicator shifting in landscape - Centering overview buttons to the workspace page Bug: 30021487 Change-Id: I1866bce00b2948f3edd06168c0f88d81207e3f13
/packages/apps/Launcher3/src/com/android/launcher3/InvariantDeviceProfile.java
|
819e1936bba39219a8fb2ceef5d172ca667e6658 |
|
08-Jul-2016 |
Sunny Goyal <sunnygoyal@google.com> |
Defining the list of predefined device profiles in xml. This allows the profiles to be easily customized by derivatives. Change-Id: Iaec2b7a0eda34581c8e48b7dc44817013632dabe
/packages/apps/Launcher3/src/com/android/launcher3/InvariantDeviceProfile.java
|
bb011dad4e69bec027be1e00d573a3095b318b43 |
|
16-Jun-2016 |
Sunny Goyal <sunnygoyal@google.com> |
Adding a flag (enabled by default) to remove the all-apps button. All apps can still be opened by clicking the caret. Bug: 29398447 Change-Id: I61f1b05cea83a0a49d7cc16c518c5419618ba779
/packages/apps/Launcher3/src/com/android/launcher3/InvariantDeviceProfile.java
|
6f866095c0177a794050e578f148b640f4e0a0ab |
|
18-Mar-2016 |
Sunny Goyal <sunnygoyal@google.com> |
Removing dependency on wallpaper size settings from launcher > Moving wallpaper desired width calculation to xml Bug: 14470153 Change-Id: I8803af158861507a40e5d55e9aa6d515be47eefa
/packages/apps/Launcher3/src/com/android/launcher3/InvariantDeviceProfile.java
|
f076eae0cab10f035f7b187c72a680cd220acf1b |
|
11-Jan-2016 |
Sunny Goyal <sunnygoyal@google.com> |
Adding support for migrating the grid between any two valid screens sizes. The grid is migrated in steps where each step consists of at max one column change and at max one row change. Adding some unit tests for GridMigrationLogic Bug: 25958224 Change-Id: Ie54e872ea0925cc4c463edbba0a7201d62b373a0
/packages/apps/Launcher3/src/com/android/launcher3/InvariantDeviceProfile.java
|
643b87af427a649162b008747b281fec55813c7d |
|
07-Jan-2016 |
Sunny Goyal <sunnygoyal@google.com> |
Merge "Extending the grid migration logic to handle density changes" into ub-launcher3-master
|
f862a26347b583bd84be22a8ceff4bc13158ec7e |
|
14-Dec-2015 |
Sunny Goyal <sunnygoyal@google.com> |
Extending the grid migration logic to handle density changes For hotseat migratino, we simply drop the items with least weight If the workspace row/column decreases by 2 or more, we clear the whole workspace Bug: 25958224 Change-Id: I7131b955023d185ed10955f593184b9238546dc8
/packages/apps/Launcher3/src/com/android/launcher3/InvariantDeviceProfile.java
|
96a0963c4a05c6ef9b1fc9d76e6431c510d48e69 |
|
16-Dec-2015 |
Sunny Goyal <sunnygoyal@google.com> |
Adding support for negative x and y in layout xml. Fixing default configurations for some screen sizes. > Negative values for x and y are parsed as distance from end column and row respectively. e.g. (-1, -2) => (3, 2) in a 4x4 grid Bug: 26110981 Change-Id: I4ca30e225ed6e2a31610ab23235d2cd10e8d317c
/packages/apps/Launcher3/src/com/android/launcher3/InvariantDeviceProfile.java
|
fc21830e6b904c8d156adebb793da0b6a51b7d5c |
|
17-Sep-2015 |
Sunny Goyal <sunnygoyal@google.com> |
Normalizing app icons based on the standard icon guidelines Bug: 18245189 Change-Id: Iaadcddbe3f966733a13b2e1fb60ba09a8b3aef9a
/packages/apps/Launcher3/src/com/android/launcher3/InvariantDeviceProfile.java
|
9326461652c36c2ddd888d1452cf7f075a391868 |
|
23-Nov-2015 |
Sunny Goyal <sunnygoyal@google.com> |
Adding margin to Drag layer instead of checking for right insets at every place Bug: 25692432 Change-Id: I853f41a17c54b30b7772b9fd8556d9465de84752
/packages/apps/Launcher3/src/com/android/launcher3/InvariantDeviceProfile.java
|
d70a4b7b7805f0fd61cb34487b4f6cc620025723 |
|
09-Oct-2015 |
Tony Wickham <twickham@google.com> |
am d6b4037b: Grid adjustments, specifically for Ryu. * commit 'd6b4037b093445fefa7d036da339dd549fae7a9b': Grid adjustments, specifically for Ryu.
|
d6b4037b093445fefa7d036da339dd549fae7a9b |
|
24-Sep-2015 |
Tony Wickham <twickham@google.com> |
Grid adjustments, specifically for Ryu. > Less than 14% of the screen is used for left/right workspace padding. (To be clear, this means 7% for the left and 7% for the right.) > Hotseat icons are the same size as workspace icons. > Far left and right hotseat edges line up with workspace edges. > All Apps button is scaled down 8dp. Bug: 24003478 Change-Id: Idb057ab0f6ba29e7fd93feac7573ca2e07c7e839
/packages/apps/Launcher3/src/com/android/launcher3/InvariantDeviceProfile.java
|
bbf0184603ce9395173f5e412d8188b4b0910f9e |
|
08-Oct-2015 |
Sunny Goyal <sunnygoyal@google.com> |
Using 23 instead of Build.Versoin.M until the final SDK is available. Change-Id: I9f8f6fe049afcd0ceb0797ddc803a2e77bab0437
/packages/apps/Launcher3/src/com/android/launcher3/InvariantDeviceProfile.java
|
21d89fbf8c444c64a4c85d25a25bbe3b79719de9 |
|
07-Oct-2015 |
Sunny Goyal <sunnygoyal@google.com> |
Merge "Fixing overscroll effect when the navigation bar is opaque" into ub-launcher3-burnaby-polish
|
850de64c0d0985fb6fe9bbe7c276370c8b13c839 |
|
30-Sep-2015 |
Winson Chung <winsonc@google.com> |
Merge "Fixing other missing cases of truncated sorts." into ub-launcher3-burnaby-polish
|
46a06da01cded4ba355381be41455f85f85369fa |
|
30-Sep-2015 |
Winson <winsonc@google.com> |
Fixing other missing cases of truncated sorts. Bug: 24505761 Change-Id: I9b9358e8b134f0c4aac32ac536d9c8a1f0629957
/packages/apps/Launcher3/src/com/android/launcher3/InvariantDeviceProfile.java
|
58ecbe40f6e95d53b74adeeea3fd83a32cea4f38 |
|
30-Sep-2015 |
Tony Wickham <twickham@google.com> |
Flipped widths of Nexus 4 and Nexus 5 in InvariantDeviceProfile. Without this change, Nexus 4 uses the Nexus 5 device profile and vice versa. But because the profiles have exactly the same values, it didn't matter that they were flopped. Change-Id: I3fd788e040feb8de5bb5f5e336acbd4ac995dc0f
/packages/apps/Launcher3/src/com/android/launcher3/InvariantDeviceProfile.java
|
0abb36f6920733f813e22ad984bb7d48f0924698 |
|
23-Jun-2015 |
Sunny Goyal <sunnygoyal@google.com> |
Fixing overscroll effect when the navigation bar is opaque The navigation bar is opaque on mobile devices in landscape mode. Launcher should ignore the right insets and draw the edge effect appropriately. Also draw the black bar under the navigation bar, just in case we assume it to be opaque, but it was not actually opaque. Bug: 18526657 Change-Id: I1d49dcb82b8a5ee25009bc738cd9b8c0c5c88263
/packages/apps/Launcher3/src/com/android/launcher3/InvariantDeviceProfile.java
|
2c6e5ccbcd7c3f87e7e85029782440600dc0a3d8 |
|
01-Jun-2015 |
Winson Chung <winsonc@google.com> |
Ensuring that we use the screen width more optimally in AllApps. - Fixing issue with prediction bar height being calculated incorrectly - Fixing issue where the prediction bar divider was not drawn exactly between the bar and the first row of apps - Removing padding to allow scrollbars to reach full height Bug: 20222023 Bug: 21335377 Change-Id: I2c0614a36e2294d0d6184a6bff4847876ffe971e
/packages/apps/Launcher3/src/com/android/launcher3/InvariantDeviceProfile.java
|
53d7ee4285842732517edcccbdcaa92dccb1e107 |
|
22-May-2015 |
Sunny Goyal <sunnygoyal@google.com> |
Fixing different bitmap sizes in different orientations > Using a single bitmap icon size > Picking up appropriate density for satisfy the required icon size > Fixing some icon size assumptions during icon animations Bug: 19514688 Change-Id: Ia7a1d0d2c03a9d39ccc241fa4ae3eb8a0f374585
/packages/apps/Launcher3/src/com/android/launcher3/InvariantDeviceProfile.java
|
35c3c7f517d77ba6740fc2a08c51b8682bd593b2 |
|
29-May-2015 |
Hyunyoung Song <hyunyoungs@google.com> |
Start adding unit tests for the invariant device profile / Refactor - removed redundant code to sort the device profiles - removed DeviceProfileQuery class - Added a helper method inside the test to easily generate interpolation graph looks like: https://docs.google.com/a/google.com/spreadsheets/d/1a1fdemrOqIDixiql77h0anWzUD3GlYfGsbP2FfIhyPM/edit?usp=sharing Change-Id: Ia4c54a8d59a049c418c08d1b766f07ac6e1d0944
/packages/apps/Launcher3/src/com/android/launcher3/InvariantDeviceProfile.java
|
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/InvariantDeviceProfile.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/InvariantDeviceProfile.java
|