Sunny Goyal
16affbdf30
Embedding the icon pixel size in the cache DB version.
...
This causes the cache to get reset when the icon size changes,
for eg, in case of display scale changes
Bug: 27701193
Change-Id: Ib11144757a93cb50fb233d855902c0b2c15afbed
2016-04-07 16:01:39 -07:00
Sunny Goyal
20adc79a90
Instead of reloading the launcher, updating items dynamically when
...
Quiet mode changes
Bug: 27632028,27763316
Change-Id: I55f018e855448df0abcbf4fd0fcb39344594980c
2016-04-07 15:56:11 -07:00
Sunny Goyal
97909124a2
Fixing model being updated on UI thread
...
> When package gets unavailable or suspended, the disabled flag was getting
updated on the UI thread. This could lead to inconsistent model if launcher
activity didn't exist.
> Fixing: When unsuspending one work profile apps, all work profile apps get
unsuspended
Bug: 27673573,27673373,27403236
Change-Id: I7fde3f79c36204e73ca66ccf8431fa0f0cce3d08
Conflicts:
src/com/android/launcher3/DragController.java
2016-04-07 15:54:52 -07:00
Sunny Goyal
1cfd40c077
Fixing wrong preference file name in LauncherFiles
...
Bug: 27778623
Change-Id: I28aa6698d3caa1fc11b2e8df0733143865f9b408
(cherry picked from commit 8a6edce064 )
2016-04-07 22:49:26 +00:00
Sunny Goyal
1024a80f2c
Changing the widget loading strategy
...
Widget is loaded only when the user enters the overview mode and we keep
the list updated as long as the user is in the overview mode. Once the user
leaves the overview mode, we stop responding to widget updates
Bug: 26077457
Change-Id: I9e4904b8f1300bfe0d77e2bc5f59aa6963fad8d1
2016-04-07 15:44:04 -07:00
Sunny Goyal
58b53b5dff
Preserving the homescreen rotation setting on a tablet, when the display is scaled
...
Bug: 27040652
Change-Id: I07f5e02443379ac5b877f72d33cedf4f2feca926
Conflicts:
src/com/android/launcher3/Utilities.java
2016-04-07 15:30:35 -07:00
Sunny Goyal
1e41c08fa3
Fixing gradle and some tests
...
Change-Id: Ied44ab475a30058f19387e843ce113b3028c1bd5
2016-04-07 15:21:29 -07:00
Sunny Goyal
08db27c9f7
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
2016-04-07 15:17:33 -07:00
Sunny Goyal
adc13395e0
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
2016-04-07 14:50:58 -07:00
Sunny Goyal
dfeaa9a99e
Adding a check for NYC in utilities
...
Change-Id: I37ec2b571374cc093b73032645fd36e3dff805b2
2016-04-07 12:56:50 -07:00
Kenny Guy
e0b655e845
Respond to managed profile availabilty Intents.
...
Grey out applications when managed profile is
not available.
Change-Id: I9bb9442cd0b3d0d207062716bfd6b179e3ba8489
(cherry picked from commit ff05f4375d )
2016-04-07 19:41:52 +00:00
Kenny Guy
82fdb81d63
Grey out suspended applications.
...
Grey out application shortcuts and all apps entries
for packages that are suspended.
Bug: 22776761
Change-Id: I1b63da1816aca1de52b9f9bee62d1b162d0cdf4d
(cherry picked from commit 44cba69638 )
2016-04-07 19:39:58 +00:00
Hyunyoung Song
04907eea71
[DO NOT MERGE] updateOverlayBounds no longer rely on LauncherCallback method
...
mFixedSearchBarBounds is no longer used.
b/25255451
Change-Id: I3e2f7511c7a418f211a8b17a62b98f2736dfc91d
2016-04-04 16:23:18 -07:00
Hyunyoung Song
f4c0f7d250
[DO NOT MERGE] Fix widget tray clipping due to wrong padding
...
b/27380335
padding was set wrong when the widget view hierarchy was
being refactored in this CL: ag/870011
Change-Id: I003634acded2bbe204098c0e6fefff13d154b5d6
(cherry picked from commit 58e61ac216 )
2016-03-14 18:03:25 +00:00
Hyunyoung Song
3650019856
Trim down the logging class
...
b/26494415
Change-Id: I9035f515e4eb54af8f8ad2f29ab294d2ac9760e8
2016-03-04 12:00:25 -08:00
Hyunyoung Song
a9c69ce09c
Define generic logging class
...
b/26494415
Change-Id: I5fbf54eb5986eb49a62ba51d41aab43e00a9ca12
2016-03-04 11:02:40 -08:00
Hyunyoung Song
c619edbc72
[DO NOT MERGE] Upload proto file to burnaby-polish
...
b/26494415
- needed for ag/879262 getLogger function parameter
- prediction to start parsing proto instead of the bundle
Change-Id: I002ceb5faad0f2272ae5676b891f20826dbfcf3f
2016-03-04 10:27:09 -08:00
Sunny Goyal
2494c3f168
Moving createMarketSearchIntent to search controller to allow it to be customizable
...
Change-Id: I3a05abf7c0357a2f92c8a3fa2dc223f9eacc221e
2016-03-03 11:36:38 -08:00
Sunny Goyal
9e3fee1427
Starting market search whenever the search key is pressed
...
Bug: 27365428
Change-Id: I508cb35cd1aaab1eac6cf60014fa6f80592365ef
(cherry picked from commit 992a5f566e )
2016-03-03 18:36:35 +00:00
Hyunyoung Song
5cc55a143a
Merge "Prevent work profile widget DnD crash b/26079469" into ub-launcher3-burnaby-polish
2016-03-01 19:58:45 +00:00
Hyunyoung Song
3e840f4343
Prevent work profile widget DnD crash
...
b/26079469
Change-Id: I3d49ac498bbaaef8ca8a3051f5ab4b35ef771410
2016-03-01 11:57:44 -08:00
Geoff Mendal
645bdb373a
Import translations. DO NOT MERGE
...
Change-Id: I728beebf58b37229d4836f627a2227519bc28734
Auto-generated-cl: translation import
2016-02-29 05:24:53 -08:00
Sunny Goyal
eba87b1770
Chaning the 'title' attribute format to string to be consistent
...
with support libraries
Change-Id: I58f687f9ab5d6c0e42bebd4f0f75e1efc696b9fe
2016-02-26 09:46:11 -08:00
Sunny Goyal
078d4de90b
Merge "Defining the base state of the Launcher theme, in case the platform has different defaults" into ub-launcher3-burnaby-polish
2016-02-25 17:12:03 +00:00
Sunny Goyal
ed2ce76bfe
Merge "Preventing crash when there is not enough width to show the pending text" into ub-launcher3-burnaby-polish
2016-02-25 04:14:06 +00:00
Sunny Goyal
81131edc8e
Merge "Revert "Disabling som attributes so that dependencies can use compat libraries"" into ub-launcher3-burnaby-polish
2016-02-25 00:04:26 +00:00
Hyunyoung Song
2cb92eb2bb
Merge "Change preloading coefficient for widgets tray to improve jankness on low performance devices." into ub-launcher3-burnaby-polish
2016-02-24 02:28:59 +00:00
Hyunyoung Song
b7271fd17e
Change preloading coefficient for widgets tray to improve jankness
...
on low performance devices.
Change-Id: I6dfe1161bf596792a7fc8b3c5160a4922e177834
2016-02-23 18:23:54 -08:00
Sunny Goyal
5845bea514
Preventing crash when there is not enough width to show the pending text
...
Bug: 26901856
Change-Id: I03c9631ce224cce76b2c896a5e6ce6b0ee741782
2016-02-23 16:43:23 -08:00
Sunny Goyal
59871ef875
Revert "Disabling som attributes so that dependencies can use compat libraries"
...
This reverts commit e1bd986d77 .
Change-Id: I27490d0cb241b2e58ce45998f7f9e9bc8d84993c
2016-02-24 00:28:02 +00:00
Sunny Goyal
72bb7b6125
Defining the base state of the Launcher theme, in case the platform
...
has different defaults
Bug: 27226038
Change-Id: Ic552e4c17551117236d018656fdf39b29fb06345
2016-02-23 16:25:42 -08:00
Hyunyoung Song
d31dcbcc7c
Manual revert due to conflict:
...
Revert "Load label in bg thread to prevent ANR b/27238970"
This reverts commit b62fd09576 .
Change-Id: Ia751e3414fb24a18bb8bb9ca09dcd93d0e4249f6
2016-02-23 11:36:21 -08:00
Sunny Goyal
e1bd986d77
Disabling som attributes so that dependencies can use compat libraries
...
Bug: 27101533
Change-Id: I18de77cffbbb234f25fb85dfe0334ed7fe113a74
2016-02-23 10:43:02 -08:00
Hyunyoung Song
b62fd09576
Load label in bg thread to prevent ANR
...
b/27238970
Change-Id: Ic5d77df7d5276cee07861d59427a94fb19691d9c
(cherry picked from commit 72a9953cf4 )
2016-02-23 00:45:56 +00:00
Sunny Goyal
a6194d3d92
Wrapping thw widgetList inside a layout, so that it has the same view structure as allApps
...
Change-Id: I28b035beb1c7e13101ec20ff671d3cad5f757c0e
2016-02-19 09:35:43 -08:00
Sunny Goyal
c42ac0a5a6
Removing LauncherCallbacks control over app search
...
Change-Id: Icb199607dea3f169055e44946272aa9f1e758d1d
2016-02-18 15:32:27 -08:00
Sunny Goyal
2953833bcb
Adding a utility method to iterate over folder contents
...
Change-Id: I9f17ade7dc06819587290387b811d828da57b2fb
2016-02-18 09:10:19 -08:00
Sunny Goyal
5df98da8fd
Merge "Setting content bounds in onMeasure as it uses measuredWidth, which might not be available during onCreate" into ub-launcher3-burnaby-polish
2016-02-17 01:43:08 +00:00
Sunny Goyal
94f46d9e5f
Setting content bounds in onMeasure as it uses measuredWidth, which might
...
not be available during onCreate
Also fixing the calculation of allApps column could, which was counting an
additional icon gap
Bug: 27173894
Change-Id: I8be8cccc76d7e7d945cf9383567a3026228b6c86
2016-02-16 15:24:14 -08:00
Geoff Mendal
5a2d603ac5
Import translations. DO NOT MERGE
...
Change-Id: I17aa02de8c4cf240e1220dc891d5fdbb0955aaf7
Auto-generated-cl: translation import
2016-02-15 05:46:10 -08:00
Tony Wickham
187b8f547d
Merge "Clears the widget resize frame when a directional key is pressed." into ub-launcher3-burnaby-polish
2016-02-12 22:07:27 +00:00
Tony Wickham
71255bb04f
Clears the widget resize frame when a directional key is pressed.
...
Also gives focus to the corresponding widget host view in this case.
Bug: 27130066
Change-Id: I0a564aa7c509450cd1b9cf259c0a009c68ce3e3b
2016-02-12 14:06:32 -08:00
Sunny Goyal
bb702584fa
Fixing crash during rotation
...
> Different views with same IDs were saving state
> Fixing scroll getting reset on rotation
Change-Id: Iae42419b83ee5ffa1bb43959f0931c8dfb761f32
2016-02-11 11:06:43 -08:00
Tony Wickham
4df1653331
Merge "Change widget host view background when giving focus to child." into ub-launcher3-burnaby-polish
2016-02-10 23:35:11 +00:00
Tony Wickham
fb78856466
Change widget host view background when giving focus to child.
...
Before, the FocusIndicatorView stayed on the widget host unless the
widget had its own focus change listener, which caused a couple of
problems, namely (1) it was hard to know where the focus was from
a user's standpoint, and (2) the focus indicator could get stuck on
the screen if you entered a widget and then long-pressed workspace.
Now, the focus indicator goes away and instead the widget is framed
with a white border to indicate that the focus is inside it. The
frame goes away when pressing ESC or when touching the screen.
Bug: 26744224
Change-Id: I14025576fd7a9f901b4d969b878af0bebad79a70
2016-02-10 15:28:18 -08:00
Sunny Goyal
3826bab27e
Merge "Merging search bar with all apps" into ub-launcher3-burnaby-polish
2016-02-10 19:18:13 +00:00
Hyunyoung Song
f97083245c
WidgetsModel clone method should be called in worker thread
...
b/24582368
Change-Id: I7b1d2ccfa7d7ac8235e4aeccc2b6b1a8eeea6461
(cherry picked from commit 747a5bc486 )
2016-02-09 02:19:59 +00:00
Sunny Goyal
0ac7ede56a
Merging search bar with all apps
...
Change-Id: I78577124cd3c05d52669c3e52b0294d6eb1d194d
2016-02-08 14:55:22 -08:00
Hyunyoung Song
a27d7a5a19
Add more debugging info when Launcher deletes widget from homescreen.
...
b/26219491
Change-Id: I5899cafa8d78e5e64a4ec1495ebf62ebc55ea8f5
(cherry picked from commit 70264a9717 )
2016-02-04 01:23:25 +00:00
Sunny Goyal
0e04980310
Merge "Updating folder UI when icons are normalized > Increasing padding > Making the folder label bold and lighter color" into ub-launcher3-burnaby-polish
2016-02-03 19:32:02 +00:00