Sunny Goyal
e5bb705fb7
Homescreen migration from a larger grid to a smaller grid.
...
Adding support for restoring from a larger device, if the grid size
difference is not more that 1.
During restore add all the items in the DB, and run a one-time migration
the next time launcher starts.
The migration strategy is defined in ShrinkWorkspaceTask.java which involves
resizing, moving and removing some items.
Change-Id: I6ee411f6db5bf0152b527e16146a88c56dec2d97
2015-07-31 12:03:33 -07:00
Winson Chung
3ea54fdb49
Merge "Fixing issue with accessibility falsely reporting app count when there are no search results." into ub-launcher3-burnaby
2015-07-30 23:57:08 +00:00
Winson Chung
1014e7de0e
Merge "Prevent crash when flattening ComponentKey to string with invalid user." into ub-launcher3-burnaby
2015-07-30 23:46:11 +00:00
Hyunyoung Song
176196c0ac
Merge "Prevent from widget cell preview image from being cut off." into ub-launcher3-burnaby
2015-07-30 22:19:49 +00:00
Hyunyoung Song
b9f932e089
Prevent from widget cell preview image from being cut off.
...
b/22541466
>TL;DR;; when introducing mProfileBadgeMargin to correctly place
> work profile badge. Drawing origin of the preview image resulted
> to the left of (0, 0).
Change-Id: Ic52fc2e17c55c76f4f57aa833451ffa19bbbeb09
2015-07-30 15:04:59 -07:00
Winson Chung
deaf4d169b
Fixing issue with accessibility falsely reporting app count when there are no search results.
...
Bug: 22672783
Change-Id: Ie40acc592e59699eac2a4ff2045a7f8ba029d33a
2015-07-30 12:54:27 -07:00
Winson Chung
70d5a07c5d
Prevent crash when flattening ComponentKey to string with invalid user.
...
Bug: 22658306
Change-Id: I213d44e0bb22ac0617d46c80ab8cfec8f750a2cc
2015-07-30 12:05:41 -07:00
Sunny Goyal
fd69e0b527
Merge "Adding rank column in backup" into ub-launcher3-burnaby
2015-07-30 18:01:49 +00:00
Winson Chung
946609f0ea
Merge "Fixing overview mode scale calculations." into ub-launcher3-burnaby
2015-07-28 22:38:14 +00:00
Hyunyoung Song
a9095e07dd
Remove NPE inside WidgetsListAdapter during monkey actor test
...
b/22518383
Change-Id: I1a683c49be93af150f7873390b723cee0d4ac5df
2015-07-27 13:35:33 -07:00
Sunny Goyal
107ea6345b
Adding rank column in backup
...
> targetType was only added for M builds, so it can also be considered
as v4 change. V3 which introduced minSpanX and minSpanY didn't
contain targetType
Bug: 22417713
Change-Id: I5c353674f7e0c2b5b4ab46e574fdb347d82028cd
2015-07-22 16:48:23 -07:00
Sunny Goyal
7e0a403759
Merge "Shifting hotseat icons to aling with all-apps icon, if the hotseat size is different from the source device" into ub-launcher3-burnaby
2015-07-21 01:50:38 +00:00
Sunny Goyal
3ba922aa62
Merge "Fixing widget restore" into ub-launcher3-burnaby
2015-07-21 00:42:42 +00:00
Sunny Goyal
df6ccf8196
Resizing the bitmap before caching it in the DB
...
> The icon size in the backup can be different that what is
required by the device. We should resize the icon, before
caching it.
Bug: 22413328
Change-Id: Id77c53edf8ea5e95a2d32dbe22be553120279ebd
2015-07-20 14:34:30 -07:00
Sunny Goyal
c115e647ad
Shifting hotseat icons to aling with all-apps icon, if the hotseat
...
size is different from the source device
Bug: 19074056
Change-Id: I8d8517971a3cde0dc38f653d151daeba90fa38a0
2015-07-20 14:25:04 -07:00
Sunny Goyal
53f9672b30
Fixing widget restore
...
> Widget restore active flag was not cleared when the app was downloaded
> Icon from session info was not getting cached
Bug: 22413379
Change-Id: Ie096b929252200675a76dadd8c25cc3aa433671b
2015-07-20 12:00:22 -07:00
Sunny Goyal
b04136b471
Merge "Adding minSpanX and minSpanY for all the launcher widgets" into ub-launcher3-burnaby
2015-07-17 18:56:38 +00:00
Sunny Goyal
3a30cfeb7c
Adding minSpanX and minSpanY for all the launcher widgets
...
Bug: 22353460
Change-Id: Id4450dee42a83e4603dcd56e1c4dec2b0e405858
2015-07-17 11:10:05 -07:00
Hyunyoung Song
f63dda5e15
Query the title and icon for app using correct user handle.
...
> Note: when there are corp and regular user profile widget providers,
it is guaranteed that regular user profile widget provider is always
queried first. Thsi is guaranteed because inside AppWidgetManagerCompat.getProviders(),
regular user always takes prescedence when iterating thru different providers
associated to different users.
Change-Id: I5e38e1fb30925ccba7e1e2925fd3e77c44a14901
2015-07-16 17:24:30 -07:00
Hyunyoung Song
7dc9a0f7d7
Merge "Fix issue where corp app widget doesn't show correctly on drop targets." into ub-launcher3-burnaby
2015-07-16 23:37:36 +00:00
Hyunyoung Song
ffd0ab4da1
Fix issue where corp app widget doesn't show correctly on drop targets.
...
b/22535234
Change-Id: I6e57c7728704ad0f99df25257211243a23d26acd
2015-07-16 16:36:59 -07:00
Sunny Goyal
36db85679d
Merge "Fixing AppWidgetInfo not initialized with proper user" into ub-launcher3-burnaby
2015-07-16 01:13:01 +00:00
Sunny Goyal
ab7a4fe206
Fixing AppWidgetInfo not initialized with proper user
...
Bug: 21673750
Change-Id: I1e03c3cb10a87e394e963cc2001c9c1c293eb2ca
2015-07-15 17:39:33 -07:00
Adam Cohen
84a62861d6
Merge "Fix issue with UiThreadReveal on L devices" into ub-launcher3-burnaby
2015-07-16 00:38:11 +00:00
Adam Cohen
54e362121f
Fix issue with UiThreadReveal on L devices
...
issue 22507784
Change-Id: If75292b21a1b572903099ab0682d5c7f69a960f4
2015-07-15 17:35:56 -07:00
Sunny Goyal
0c13a34fd1
Merge "Using highres icons for backup" into ub-launcher3-burnaby
2015-07-15 17:55:11 +00:00
Sunny Goyal
09d70195d7
Using highres icons for backup
...
Bug: 22410445
Change-Id: I0fbc2d1217127556af806f12dbb5960712627ab7
2015-07-15 10:18:09 -07:00
Hyunyoung Song
321dea1346
Merge "Widget row should not be cut off on the right, when there is an indent" into ub-launcher3-burnaby
2015-07-14 23:58:14 +00:00
Hyunyoung Song
6fdc2035ea
Widget row should not be cut off on the right, when there is an indent
...
b/22483452
Change-Id: I9d1cd8b71f4b6a4f75af420e9f54b73e9ae7527c
2015-07-14 16:52:35 -07:00
Sunny Goyal
2a1be7a616
Merge "Fixing shortcuts not getting migrated to app icons" into ub-launcher3-burnaby
2015-07-14 17:48:30 +00:00
Sunny Goyal
c22841bfd1
Fixing shortcuts not getting migrated to app icons
...
Bug: 22410445
Change-Id: I939c59270529daf51638aa30b30763c18a2ce6a5
2015-07-13 20:15:37 -07:00
Winson Chung
af2637376f
Merge "Fixing regression in calculating workspace padding." into ub-launcher3-burnaby
2015-07-13 23:24:02 +00:00
Winson Chung
4f3bfadbf4
Fixing regression in calculating workspace padding.
...
Bug: 22340087
Change-Id: I28d599fbb8f136b8b5aa4aeffaa0fba5661ab73c
2015-07-13 11:15:06 -07:00
Hyunyoung Song
f56513f6ba
Hide spammy WidgetModel log behind a DEBUG flag
...
Change-Id: I0119855655516d9fdc114334a974b8766aabf674
2015-07-13 10:26:22 -07:00
Winson Chung
4f7eb4077e
Fixing overview mode scale calculations.
...
- Making the overview scale apply just like the spring loaded scale factor
- Tweaking overview scale to make it not so small
Change-Id: If93bac08609b0cfd9c9d9f8f6057498957378b56
2015-07-10 18:23:08 -07:00
Hyunyoung Song
98ff38aa48
Animation should start and finish on widgets button when opening/closing widget tray.
...
b/21301759
Change-Id: Ib0b9132d8709426598d95fc9f60d37752e05b711
2015-07-10 17:50:13 -07:00
Winson Chung
76648c58d5
Making long-press of AllApps to jump directly to search.
...
Bug: 22210146
Change-Id: Iacf28416d6e31233a68e3b41576a8860b4b72b88
2015-07-10 16:08:56 -07:00
Sunny Goyal
4a0df75516
Merge "Computing the visible cell layout area without using the current scroll" into ub-launcher3-burnaby
2015-07-09 17:14:49 +00:00
Sunny Goyal
41d8417678
Computing the visible cell layout area without using the current scroll
...
Bug: 22358433
Change-Id: Ib79d02156b6bfab831fa659637f6113a7f555ba7
2015-07-09 10:13:36 -07:00
Winson Chung
ceb21570f8
Merge "Adding bounds checking when updating container bounds." into ub-launcher3-burnaby
2015-07-09 17:12:48 +00:00
Sunny Goyal
cb037eee8c
Fixing overscroll not drawn in rtl
...
> Using the currect right page index in rtl
> Updating current scroll after max scroll has been calculated. This prevens an extra overscroll when the layout happens for the first time.
Bug: 22358804
Change-Id: If07132701936e06f727211122a3b3e6f8426c07b
2015-07-08 16:44:37 -07:00
Winson Chung
73f0b9b015
Adding bounds checking when updating container bounds.
...
- Only update the container bounds from their defaults if
the search bar bounds are valid
- Adding logging to see if we can track down cases where we
are getting bad bounds
Bug: 22333435
Change-Id: If15b6e228226e82e0fb9c7ba0f5b8a7a5f1d2e68
2015-07-08 16:21:00 -07:00
Adam Cohen
d98fff3055
Merge "Adding custom slide up activity transition for L MR1" into ub-launcher3-burnaby
2015-07-08 01:59:57 +00:00
Adam Cohen
947e02b638
Adding custom slide up activity transition for L MR1
...
issue 21402755
Change-Id: Id2542c0a3c38bd71aa407a3b0fe00fdee24e2f69
2015-07-07 18:52:09 -07:00
Sunny Goyal
dd2e6dfc16
Updating onRequestPermissionsResult signature to public
...
Change-Id: Ie08caa55a195e9062006d13e86238cca827ef249
2015-07-07 10:57:57 -07:00
Sunny Goyal
095504050f
Merge "Moving prediction icons back into recycler view." into ub-launcher3-burnaby
2015-07-07 00:52:43 +00:00
Winson Chung
1ae7a5018b
Moving prediction icons back into recycler view.
...
- Fixes two accessibility issues with the prediction bar being
separate from the rest of the list of icons related to scrolling
and switch access.
Bug: 21725276
Change-Id: Ibc48e5028cace9a77000e6646b951f021910465d
2015-07-06 17:46:32 -07:00
Sunny Goyal
8955190179
Merge "Hiding workspace from accessibility when its not visible" into ub-launcher3-burnaby
2015-07-07 00:46:09 +00:00
Sunny Goyal
f89aa3579a
Hiding workspace from accessibility when its not visible
...
Bug: 22234780
Change-Id: Ie91ec59c3c3abb26fdf40466ea8173c78acb320f
2015-07-06 17:20:24 -07:00
Sunny Goyal
821d22ea66
Merge "Using cellX and cellY for comparing position when rank is not available" into ub-launcher3-burnaby
2015-07-07 00:12:12 +00:00