Commit Graph

14408 Commits

Author SHA1 Message Date
Jonathan Miranda 3c255ca1ab Polish Folder open animation during drag and drop. am: ecf451457b
Change-Id: If4d18353b4ef7515dabda506b73694d2dc5839d6
2017-07-14 20:17:23 +00:00
Jon Miranda ecf451457b Polish Folder open animation during drag and drop.
We now use the current FolderIcon background radius as the
clipping size for the Folder, which results in a smoother
hand-off between the two.

Before this change, the Folder would center itself against the FolderIcon
during the hand-off. This resulted in the preview items being fully-visible
in the FolderIcon, to being clipped in the Folder.

Bug: 63709477

Change-Id: I1da187485f28dde92d171729b011ada47a506f85
2017-07-14 13:18:25 -07:00
Jonathan Miranda a1eb0c3b61 Move padding from Hotseat to Hotseat's CellLayout. am: 52ff325841
Change-Id: Iacbe5241ec0742a8efba4c3f5d595f62286d8415
2017-07-14 18:38:57 +00:00
Jon Miranda 52ff325841 Move padding from Hotseat to Hotseat's CellLayout.
Bug: 63590728
Change-Id: I3ba6ba83b83897d75cc4445a7dab9c5b8b7b8ff1
2017-07-14 11:39:16 -07:00
Jon Miranda 2803200697 Set edgeMarginPx back to 8dp.
With the new grid changes, it was set to 16dp but this caused an issue
where the workspace page spacing was too large. To "restore" the original
page spacing we set it back to 8dp. This caused an issue where the
pages began to overlap.

This CL changes the edgeMarginPx back to 8dp, and then adds the additional
8dp to the padding of the CellLayout.

Bug: 63590728
Change-Id: Ie968d8bd81de19c726f73581d6609e3bc486c5ca
2017-07-13 18:40:48 -07:00
Jonathan Miranda 3ec4a6109b Set edgeMarginPx back to 8dp. am: 2803200697
Change-Id: I60b2924957964782a9e28f4457f1e3577a5e5848
2017-07-14 01:39:36 +00:00
Jonathan Miranda 8701cd58cf Revert "Match items in icon preview with items in Folder using permutations."
This reverts commit 69c340a05e.

Change-Id: I4178b58e847a87e5cd7e5fa4b6886f0d72ba387b
2017-07-13 16:49:33 -07:00
Jonathan Miranda 11ba46804e Revert "Match items in icon preview with items in Folder using permutations." am: 8701cd58cf
Change-Id: I8365c37da706d1e1fe39e0cd0fbed8a4820b5cb1
2017-07-13 23:48:51 +00:00
TreeHugger Robot 433bdedaa2 Merge "Revert "Update existing Folder items' ranks to match their pre-permutation layouts."" into ub-launcher3-dorval-polish 2017-07-13 23:41:08 +00:00
TreeHugger Robot 7dc3f7d4a3 Merge changes from topic 'am-751050fb-7a27-4f0e-a322-43480086c901' into ub-launcher3-dorval-polish2
* changes:
  Revert "Update existing Folder items' ranks to match their pre-permutation layouts." am: 36be1d3674
  Revert "Update existing Folder items' ranks to match their pre-permutation layouts."
2017-07-13 23:41:08 +00:00
TreeHugger Robot 3ebf6ccc36 Merge "Fixing widget id restore broadcast." into ub-launcher3-dorval-polish 2017-07-13 18:54:46 +00:00
TreeHugger Robot 92e9f3c4f3 Merge changes from topic 'am-48247b8c-42e3-40cc-85c8-ea172aaf368d' into ub-launcher3-dorval-polish2
* changes:
  Fixing widget id restore broadcast. am: f5b4b80972
  Fixing widget id restore broadcast.
2017-07-13 18:54:46 +00:00
Jonathan Miranda 9c40ee1b1c Revert "Update existing Folder items' ranks to match their pre-permutation layouts." am: 36be1d3674
Change-Id: I5b4265138b7671b94077067ad4aed2c8c338f7bb
2017-07-13 18:00:56 +00:00
Jonathan Miranda 36be1d3674 Revert "Update existing Folder items' ranks to match their pre-permutation layouts."
This reverts commit c4b296a50e.

Change-Id: Ieff7873edc3cb300fe454b0ad97d6f0b4f0cb5a9
2017-07-13 18:00:52 +00:00
TreeHugger Robot 55580f0fa9 Merge changes from topic 'am-158ed01e-e94f-4010-99df-8e163cc0bd76' into ub-launcher3-dorval-polish2
* changes:
  Import translations. DO NOT MERGE skipped: f17ce4f1cd
  Import translations. DO NOT MERGE
2017-07-13 16:40:23 +00:00
Bill Yi 4dbe594a6a Import translations. DO NOT MERGE
Change-Id: I90a3dc42a79e141c20b3f6a7cce01c04d3661331
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
2017-07-13 08:24:38 -07:00
Bill Yi 933856c938 Import translations. DO NOT MERGE skipped: f17ce4f1cd
Change-Id: Ieddba4e226d73d42944a1462c658ed409d014dae
2017-07-13 15:23:23 +00:00
Bill Yi f17ce4f1cd Import translations. DO NOT MERGE
Change-Id: Idc1d9f101e767b4f899f33818e58a051d465221f
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
2017-07-13 08:23:16 -07:00
Sunny Goyal 1a7909ff7b Fixing widget id restore broadcast. am: f5b4b80972
Change-Id: Ib5ae4d080a48f2a2d0839ffd233c70f8972ecdc0
2017-07-13 15:14:31 +00:00
Sunny Goyal f5b4b80972 Fixing widget id restore broadcast.
Ignoring thw broadcast if its not for the main widget host, or if
the Launcher DB is already in use. Launcher already handles missing
widget-Id map broadcast, by binding a new widgetId at runtime.

Bug: 63389280
Change-Id: Iaa9774d6d7adde3711cba9615328020e2b2e66aa
2017-07-12 12:14:29 -07:00
yingrenw a9f4bffbfc Launcher3: Can't search out local app by Chinese
Description:
Chinese content type is Character.OTHER_LETTER.
When key matches,it check the content type. And
if type is Character.OTHER_LETTER, it doesn't
support search and break.

When the content type is Character.OTHER_LETTER,
make it work normally.

Bug: 63534074
Change-Id: I3713f24c9206fe16a8da2a23e6c90d68079dd533
2017-07-12 10:44:20 -07:00
Sunny Goyal ab97f2ad8b Updating the warning icon
am: ea36114e4b

Change-Id: Ia8fba8ef292b162522abbb7c773def57987dd4b4
2017-07-11 18:31:23 +00:00
Sunny Goyal ea36114e4b Updating the warning icon
Bug: 63418030
Change-Id: I89bfc538e430239b4f793649ff6598e4f0da3bfb
2017-07-11 10:01:45 -07:00
Sunny Goyal 3f2b7f510d Fixing bug where tapping home while going from page 0 to 1 does nothing
am: c210f5b7ff

Change-Id: Ia3737c09b713edd692a88f43fabc96ab7759a93c
2017-07-11 05:13:35 +00:00
Sunny Goyal c210f5b7ff Fixing bug where tapping home while going from page 0 to 1 does nothing
Bug: 63454716
Change-Id: Id8bd47388858b6eb866fa87b67307731c1aca2aa
2017-07-11 05:02:05 +00:00
Tony 05a69f8f70 Merge "Mark off-screen pages as unimportant for accessibility" into ub-launcher3-dorval-polish
am: 65a2aa86db

Change-Id: I44bcd84e279ff8a9b0006876db4e187625aeb372
2017-07-11 01:08:20 +00:00
TreeHugger Robot 65a2aa86db Merge "Mark off-screen pages as unimportant for accessibility" into ub-launcher3-dorval-polish 2017-07-11 01:01:26 +00:00
Mario Bertschler b051e7fc64 Merge "Enable to recreate icon with shadow without resizing it." into ub-launcher3-dorval-polish
am: 89c719e8a3

Change-Id: Ia6e4232d1e49bd9479486321c827245e92bfd95d
2017-07-10 20:55:04 +00:00
TreeHugger Robot 89c719e8a3 Merge "Enable to recreate icon with shadow without resizing it." into ub-launcher3-dorval-polish 2017-07-10 20:48:56 +00:00
Sunny Goyal 31544df20f Merge "Do not run page snap animation if already on the default page" into ub-launcher3-dorval-polish
am: 077fdeb3c0

Change-Id: I63b40e0f005ffc21b2fb83faf41dcb28dce5ec4c
2017-07-10 20:13:30 +00:00
TreeHugger Robot 077fdeb3c0 Merge "Do not run page snap animation if already on the default page" into ub-launcher3-dorval-polish 2017-07-10 20:05:39 +00:00
Sunny Goyal 5760ca1769 Do not run page snap animation if already on the default page
Bug: 63454716
Change-Id: Ibf3eea7f1b967c6e43042c87fd4545c03edf38e8
2017-07-10 12:52:27 -07:00
Mario Bertschler 6c84efc8f4 Merge "Supporting dark theme hint for wallpaper colors." into ub-launcher3-dorval-polish
am: 0946fc7af0

Change-Id: I1c36b11dfad7276a7fb041ead16af43fa922603f
2017-07-10 19:38:58 +00:00
Mario Bertschler 080c37ecc1 Enable to recreate icon with shadow without resizing it.
Change-Id: I808eec78ff221adee72d0395e87c89150693f206
2017-07-10 12:36:31 -07:00
TreeHugger Robot 0946fc7af0 Merge "Supporting dark theme hint for wallpaper colors." into ub-launcher3-dorval-polish 2017-07-10 19:33:30 +00:00
Jon Miranda d592925372 Merge "Slide in first page preview items in FolderIcon after Folder closes." into ub-launcher3-dorval-polish
am: cebce95bac

Change-Id: Id60bda76ca5512d8a89d168ef963bc074df04261
2017-07-10 19:20:55 +00:00
TreeHugger Robot cebce95bac Merge "Slide in first page preview items in FolderIcon after Folder closes." into ub-launcher3-dorval-polish 2017-07-10 19:14:19 +00:00
Jon Miranda 27bdbcae7f Slide in first page preview items in FolderIcon after Folder closes.
If the Folder is not closed on on the first page, we animate the
current page items as if they are in the preview.

When the Folder finishes closing, the first page preview items
slide in as the current page preview items slide out.

Bug: 36022592
Bug: 35064148
Change-Id: I7ede7ed9e091e2a0c3cbe11731744bfe9ce36595
2017-07-10 11:28:57 -07:00
Sunny Goyal 8323934863 Adding a warning button when notification access is not available
am: 848cad56ce

Change-Id: I9a487df3121779fe454775aef2cf9eff947f3690
2017-07-10 18:23:22 +00:00
Mario Bertschler e5f4939cba Supporting dark theme hint for wallpaper colors.
Bug: 63143283
Change-Id: I0815d22215409d781348d74baace8cb5d1e15fb8
2017-07-10 11:17:55 -07:00
Sunny Goyal 848cad56ce Adding a warning button when notification access is not available
Bug: 63418030
Change-Id: I4c2c497d989902ac002314a3b8fb97083757958b
2017-07-10 11:10:35 -07:00
TreeHugger Robot c57c7c65ae Merge "Add tests to SwipeDetector (formerly VerticalPullDetector)." into ub-launcher3-master 2017-07-06 21:41:30 +00:00
Hyunyoung Song f40e94955c Add tests to SwipeDetector (formerly VerticalPullDetector).
Change-Id: I09ab4f22d7204ad806825ab0d6374c2b9616bf39
2017-07-06 14:32:35 -07:00
Jon Miranda 4a5eae4433 Move the PreviewItem drawing/animation logic to PreviewItemManager.
am: 6c5d10261e

Change-Id: I1dcb3d797bb8ade91a659f371b175a772b405883
2017-07-06 19:41:29 +00:00
Jon Miranda 6c5d10261e Move the PreviewItem drawing/animation logic to PreviewItemManager.
We want this refactor in O-DR since we will be adding more animations:
- closing from a non-first page (ag/2455887 b/36022592)
- new on-drop animations *if we end up removing the permutation logic.

Bug: 36022592
Change-Id: I82b8f5f5033d4fd9bd50fbe414b0fb721891d043
2017-07-06 12:20:56 -07:00
Tony 6dea7cddf9 Mark off-screen pages as unimportant for accessibility
ag/2458689 reduced page spacing, making it possible for
adjacent pages to overlap the current viewport. Though
you can't see this overlap due to paddings, this caused
items on the edges of adjacent pages to be focusable in
accessibility.

Bug: 63335071
Change-Id: I1296e7a711e2f0af8fc8bedda70a94a7693c7055
2017-07-06 11:32:53 -07:00
Hyunyoung Song ccf04648ae Merge "Salt packageNameHash with unique user identifier Bug: 62676166" into ub-launcher3-dorval-polish
am: e393c809e6

Change-Id: Ie05f2a69765d1d92e156683dd1051b5d44d11f6e
2017-07-06 18:17:54 +00:00
TreeHugger Robot e393c809e6 Merge "Salt packageNameHash with unique user identifier Bug: 62676166" into ub-launcher3-dorval-polish 2017-07-06 18:06:28 +00:00
Mario Bertschler 4f4ef840c0 Merge "Only draw double shadows of BubbleTextView if both shadow color's alpha value is non-zero." into ub-launcher3-dorval-polish
am: 2d275f7156

Change-Id: Id1fa200480a56a660d446beb6ac8c5e5b442e3d9
2017-07-06 17:46:16 +00:00
TreeHugger Robot 2d275f7156 Merge "Only draw double shadows of BubbleTextView if both shadow color's alpha value is non-zero." into ub-launcher3-dorval-polish 2017-07-06 17:32:44 +00:00