Commit Graph

14475 Commits

Author SHA1 Message Date
Sunny Goyal 64a75aa305 Adding A feature flag to disable widgets and a corresponding build
target Launcher3Go without widgets support

Bug: 62353159
Change-Id: Ia03d2235a9bcf75f9ef191924f81630e63a2c684
2017-07-21 14:10:13 -07:00
TreeHugger Robot 70999fef4b Merge "Adding support for derivative apps to safely extend LauncherLog proto" into ub-launcher3-dorval-polish2 2017-07-20 19:21:55 +00:00
Sunny Goyal 2385ebebee Adding support for derivative apps to safely extend LauncherLog proto
Bug: 37676962
Change-Id: I24716070841b41418ac57b8dc367278e3ebdd046
2017-07-20 11:47:11 -07:00
Sunny Goyal f5a09fe638 Fixing wrong title case for some strings
Bug: 63866253
Change-Id: Ied669948cb71bd89637394aa0c6f936b29e8936e
2017-07-20 11:32:46 -07:00
Jonathan Miranda db8bc9b044 Update when Launcher's scrim should fade. am: 7fda285cf0
Change-Id: I0761f13886f34d9f27bc50ee523a0c1de7f6a7a1
2017-07-20 18:09:39 +00:00
Jon Miranda 7fda285cf0 Update when Launcher's scrim should fade.
* Scrim will fade first time the user starts Launcher (unlocks device).
* Scrim will fade if resuming from a screen off and Launcher is in
  the foreground.

Bug: 63801668

Change-Id: I4465765fe5a0f81c2f4dec715f9f5a24a309fc1b
2017-07-20 11:10:07 -07:00
Sunny Goyal 3f3976d913 Merge "Fixing tint not getting applied when an item is dragged over a drop target" into ub-launcher3-dorval-polish2 2017-07-20 08:34:01 +00:00
TreeHugger Robot e0fd30d921 Merge "Import translations. DO NOT MERGE" into ub-launcher3-dorval-polish2 2017-07-20 07:58:31 +00:00
Bill Yi 36435f5ffd Import translations. DO NOT MERGE
Change-Id: I8b6eb73065826c2fdf0857677e658fd8eb221c67
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
2017-07-19 23:58:16 -07:00
Bill Yi cb8c2f2996 Import translations. DO NOT MERGE skipped: 2e1c9afbb2
Change-Id: I3402b44b6e91e082e8eb88e6ac64a6ab6e509046
2017-07-20 06:56:58 +00:00
Bill Yi 2e1c9afbb2 Import translations. DO NOT MERGE
Change-Id: If2dc6c9ef6b475270c85da54aa2dfcaf8329b4d3
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
2017-07-19 23:56:51 -07:00
Sunny Goyal 1a56a5286c Fixing tint not getting applied when an item is dragged over a drop target
> Changing spring animation to use drawable instead of views. This
  allows us to reuse the size calculations from AdaptiveIconDrawable,
  instead of reimplementing the logic.
> Updating tint logic to concat any existing filter and reapply it to
  the drawable

Bug: 63873434
Change-Id: I30e97d181bd3439e5b10272d4964bad1c70ceb3c
2017-07-19 22:54:52 -07:00
Hyunyoung Song f567ee8f42 Merge changes from topic 'am-47bc3657-4ec5-48ea-a081-c94faa8bfc8c' into ub-launcher3-dorval-polish2
* changes:
  PopupContainerWithArrow should align correctly in RTL mode Test: see attached screenshot in the bug am: 435a35dec3
  PopupContainerWithArrow should align correctly in RTL mode Test: see attached screenshot in the bug
2017-07-19 21:23:13 +00:00
TreeHugger Robot 4dd5a5d19d Merge changes from topic 'am-948a617f-f892-4399-bd5c-3dd472692cca' into ub-launcher3-dorval-polish2
* changes:
  Merge commit 'refs/changes/98/2553198/2' of sso://googleplex-android/platform/packages/apps/Launcher3 into am-948a617f-f892-4399-bd5c-3dd472692cca
  Updating UserEventDispatcher to make some methods accessible.
2017-07-19 20:30:44 +00:00
TreeHugger Robot 7c085bf7df Merge changes from topic 'am-ad7d3769-753e-4ddd-97fb-2d13b2d07948' into ub-launcher3-dorval-polish2
* changes:
  Factor in CellLayout padding in cell size calculation. am: 8632d9dd1e
  Factor in CellLayout padding in cell size calculation.
2017-07-19 20:25:57 +00:00
Hyunyoung Song febdbfcafb PopupContainerWithArrow should align correctly in RTL mode Test: see attached screenshot in the bug am: 435a35dec3
Change-Id: I4c290f603c94955a9b85a9c4b91fa0738820d932
2017-07-19 19:35:46 +00:00
Hyunyoung Song 435a35dec3 PopupContainerWithArrow should align correctly in RTL mode
Test: see attached screenshot in the bug

Bug: 63721807

the horizontal gravity enforcement has to be done on (left+translateX) value
and not just translateX. Hence that enforcement has been moved to onLayout.

Change-Id: I9b6502dc55d59e04a406ebe71ac3b649b31d6088
2017-07-19 12:35:11 -07:00
TreeHugger Robot 0b5f8f82e3 Merge changes from topic 'am-121e73e9-eff7-4ee5-aecf-aaaaf9cc4eb5' into ub-launcher3-dorval-polish2
* changes:
  Fix regression which broke Workspace flings in RTL am: 5360b6ee4f
  Fix regression which broke Workspace flings in RTL
2017-07-19 18:13:20 +00:00
Sunny Goyal d3e669b9ae Merge commit 'refs/changes/98/2553198/2' of sso://googleplex-android/platform/packages/apps/Launcher3 into am-948a617f-f892-4399-bd5c-3dd472692cca
Change-Id: I4b54791fcaaf09a9aad6774d19645e7d7793c75d
2017-07-19 11:08:35 -07:00
Sunny Goyal 2b50b53183 Updating UserEventDispatcher to make some methods accessible.
> Removing helper methods around fillInLogContainerData so that its easier to
  create events with 3 and more srcTargets
> Removing setPredictedApps from userEventDispatcher as its specific to Launcher
  and does not apply to other activities. Instead moving it to AllAppsRecyclerView

Bug: 63719473
Change-Id: Ib92621e41ede4ffe03892642ab173772b5a84dd1
2017-07-19 11:03:35 -07:00
Hyunyoung Song 6aa29a823a Merge "SwipeDetector should work on multi touch finger points Bug: 63815304 Change-Id: I66b0bedeed0bd3fadc5f2f73fd76e64010170c97" into ub-launcher3-dorval-polish2 2017-07-19 06:31:50 +00:00
Adam Cohen 7d522f885c Fix regression which broke Workspace flings in RTL am: 5360b6ee4f
Change-Id: Iabeb3b8975706c3b19cd8110f687cea3504a046c
2017-07-18 23:19:43 +00:00
Adam Cohen 5360b6ee4f Fix regression which broke Workspace flings in RTL
issue 63815505

Change-Id: Iac2f66235c0d36c0df58da20f3e0aace14c190b7
2017-07-18 16:19:35 -07:00
Hyunyoung Song 51e224a121 SwipeDetector should work on multi touch finger points
Bug: 63815304
Change-Id: I66b0bedeed0bd3fadc5f2f73fd76e64010170c97
2017-07-18 14:59:48 -07:00
TreeHugger Robot b11be0bff5 Merge "Decrease the animation delay when closing Folder from 2+ page." into ub-launcher3-dorval-polish 2017-07-18 20:05:16 +00:00
Jonathan Miranda d39707b662 Factor in CellLayout padding in cell size calculation. am: 8632d9dd1e
Change-Id: I5cf4a8b9ad63ce87efa88708cb4a99439497326c
2017-07-18 19:41:30 +00:00
Jon Miranda 8632d9dd1e Factor in CellLayout padding in cell size calculation.
Bug: 63753505
Change-Id: I221dfb1d486110f8de3994085d917c12f82bcd0f
2017-07-18 12:42:15 -07:00
Jon Miranda e8e6d9b658 Decrease the animation delay when closing Folder from 2+ page.
Bug: 36022592
Change-Id: I3ec956b354efb3836c4c3cf9baf361f763faae1f
2017-07-18 11:58:22 -07:00
Jonathan Miranda 79823ae46f Decrease the animation delay when closing Folder from 2+ page. am: e8e6d9b658
Change-Id: I76fbab2eae9ef97dfff43f85d76f1446fa8fa8a7
2017-07-18 18:57:43 +00:00
TreeHugger Robot 6596f75dd3 Merge "Using collator for string matching" into ub-launcher3-dorval-polish 2017-07-18 18:46:14 +00:00
TreeHugger Robot 21ae7d7cbe Merge changes from topic 'am-3df8d75d-ddd8-4045-a20e-f35d57b86835' into ub-launcher3-dorval-polish2
* changes:
  Using collator for string matching am: 05d2df1678
  Using collator for string matching
2017-07-18 18:46:14 +00:00
TreeHugger Robot 79cb830231 Merge "Dark page indicator for wallpapers that support dark text." into ub-launcher3-dorval-polish 2017-07-18 18:44:06 +00:00
TreeHugger Robot 7e123ea68b Merge changes from topic 'am-9a359cd5-d018-48ab-ad8e-de4e1c0151e4' into ub-launcher3-dorval-polish2
* changes:
  Dark page indicator for wallpapers that support dark text. am: b2b0333a62
  Dark page indicator for wallpapers that support dark text.
2017-07-18 18:44:06 +00:00
Sunny Goyal eb297820a2 Using collator for string matching am: 05d2df1678
Change-Id: I0e25b3d84cac2d09491aa87c7dafb2c24e12d556
2017-07-18 18:23:35 +00:00
Sunny Goyal 05d2df1678 Using collator for string matching
This provides a better matching for non-latin characters on N and above

Bug: 63763127
Change-Id: I220487d242ff547311ddd13e7af380a7e47eec0e
2017-07-18 11:23:23 -07:00
Jon Miranda b24fa30025 Fix crash when adding PinShortcutRequestActivityInfo to Folder.
Bug: 63770450
Change-Id: Ibc7553933a53d8af459628add7644fbaf5820cb0
2017-07-18 11:04:55 -07:00
Jonathan Miranda a911c4b3a0 Fix crash when adding PinShortcutRequestActivityInfo to Folder. am: b24fa30025
Change-Id: I36ac77083ded8d2db31d7b9bbbe6ba60205633f1
2017-07-18 18:03:34 +00:00
yingrenw d791f3a4fa 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
(cherry picked from commit a9f4bffbfc)
2017-07-18 08:28:11 +00:00
TreeHugger Robot 751ea1c10e Merge "Fix bug where Folder name stayed invisible." into ub-launcher3-dorval-polish 2017-07-18 03:47:44 +00:00
Jonathan Miranda bee75ded54 Fix bug where Folder name stayed invisible. am: 19db4255a6
Change-Id: I408896c94f43c9271d56468b8162d2c813f16b7a
2017-07-18 00:49:27 +00:00
Jon Miranda 19db4255a6 Fix bug where Folder name stayed invisible.
Accidentally removed from Change-Id: I7ede7ed9e091e2a0c3cbe11731744bfe9ce36595

Bug: 63777585
Change-Id: I3178944285f11ab3efbd3b446c22b4b5f6843988
2017-07-17 17:45:52 -07:00
Mario Bertschler 3120b11412 Dark page indicator for wallpapers that support dark text. am: b2b0333a62
Change-Id: I417f504843177d51c73bc65a9683184733efb209
2017-07-17 21:46:36 +00:00
Mario Bertschler b2b0333a62 Dark page indicator for wallpapers that support dark text.
Bug: 63716936
Change-Id: Ie21680e285aecfe92262208c8f97c8aa496dc092
2017-07-17 14:46:21 -07:00
TreeHugger Robot b49ff69b91 Merge "Accounting for bottom margin in the search box in app-scroll range" into ub-launcher3-dorval-polish 2017-07-17 20:48:45 +00:00
Sunny Goyal 6cd0e46a8e Accounting for bottom margin in the search box in app-scroll range am: 0bf251b643
Change-Id: Icd2c57f7de9b46d7d4581bea94faf7d132217094
2017-07-17 19:55:26 +00:00
Sunny Goyal 0bf251b643 Accounting for bottom margin in the search box in app-scroll range
Bug: 2539098
Change-Id: I9d7cdb05d33af397a4adcfc2f1f6c1d380b9fb0e
2017-07-17 12:55:06 -07:00
TreeHugger Robot 6967552065 Merge "Collapse caret click and all apps click into one" into ub-launcher3-dorval-polish 2017-07-14 23:26:42 +00:00
TreeHugger Robot 030387e517 Merge changes from topic 'am-8fe17af0-0537-403b-a1b4-6a352a5e7ce7' into ub-launcher3-dorval-polish2
* changes:
  Collapse caret click and all apps click into one am: bf78f3cd41
  Collapse caret click and all apps click into one
2017-07-14 23:26:42 +00:00
TreeHugger Robot 95b97c5dec Merge "Tighten up vertical spacing in landscape all apps." into ub-launcher3-dorval-polish 2017-07-14 23:17:58 +00:00
Adam Cohen 49b420f7c4 Collapse caret click and all apps click into one am: bf78f3cd41
Change-Id: Ic746c5fef1d5e00c7a9f6f9f92dd30347b8af540
2017-07-14 23:11:18 +00:00