Commit Graph

16725 Commits

Author SHA1 Message Date
TreeHugger Robot 4426b1d27f Merge "Updating UserEventDispatcher to make some methods accessible." into ub-launcher3-dorval-polish 2017-07-19 20:30:44 +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 5be36b4941 Merge "Factor in CellLayout padding in cell size calculation." into ub-launcher3-dorval-polish 2017-07-19 20:25:57 +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
Jon Miranda 8632d9dd1e Factor in CellLayout padding in cell size calculation.
Bug: 63753505
Change-Id: I221dfb1d486110f8de3994085d917c12f82bcd0f
2017-07-18 12:42:15 -07: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 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
Adam Cohen bf78f3cd41 Collapse caret click and all apps click into one
-> Was separating them for cleanliness, but turns out
   in portrait the caret is the button, but in landscape it's not.
   We'll clean all this up later.

Change-Id: Icbc185f9183ded685b4a988eacf19cb7583ed8ad
2017-07-14 16:11:10 -07:00
Jonathan Miranda c38dde8fc0 Tighten up vertical spacing in landscape all apps. am: 4e358271d3
Change-Id: Ia9e9c8b2e24b5048a395595a07db8103fe500cc9
2017-07-14 23:05:41 +00:00
Jon Miranda 4e358271d3 Tighten up vertical spacing in landscape all apps.
Bug: 37015359
Bug: 62801588
Change-Id: Ia4bdc2c2b12647cd671cf8a3e7a8defc43863da1
2017-07-14 15:55:07 -07:00
Mario Bertschler 07eeb60c47 Merge "Changes on the wallpaper gradient extraction algorithm: fallback colors for very light or very dark luminosity." into ub-launcher3-dorval-polish 2017-07-14 22:35:08 +00:00
Mario Bertschler cf4547bec7 Merge changes from topic 'am-9eed976f-7d63-45d0-ad0c-14ddd50e37d1' into ub-launcher3-dorval-polish2
* changes:
  Changes on the wallpaper gradient extraction algorithm:  fallback colors for very light or very dark luminosity. am: 97f93583d3
  Changes on the wallpaper gradient extraction algorithm:  fallback colors for very light or very dark luminosity.
2017-07-14 22:35:08 +00:00
TreeHugger Robot c402a4663f Merge "Make landscape all apps caret clickable when in all apps as well as workspace" into ub-launcher3-dorval-polish 2017-07-14 22:17:14 +00:00
Adam Cohen 1add00e874 Make landscape all apps caret clickable when in all apps as well as workspace am: 5441a9d30a
Change-Id: Iad49b3b93c3443c487193f901c1c28c52d27b419
2017-07-14 22:10:06 +00:00
Adam Cohen 5441a9d30a Make landscape all apps caret clickable when in all apps as well as workspace
-> Also increase the touch target size of the caret
-> Center the asset horizontally within the view (but keep it bottom
   asligned)

issue 63681599
issue 63682248

Change-Id: I64efdfb9f84b82cc21d82c10d9301a99fed3353a
2017-07-14 22:09:56 +00:00
Jon Miranda 4dd024b974 Add new motion for when Folder preview changes due to onDrop.
Instead of changing the display order of the Folder to preserve
the upper left quadrant, we are opting to change the Folder Icon
preview to always show the upper left quadrant.

This means that when adding items to a Folder, the preview items
may change. (They will change when the column size increases).

Bug: 27944225
Bug: 63140071
Change-Id: I863c2479469d68559cab2878030c2087d48217d6
2017-07-14 14:27:44 -07:00
Jonathan Miranda 78a80c1ff4 Add new motion for when Folder preview changes due to onDrop. am: 4dd024b974
Change-Id: I2890d07784fdf4e7530e840434293bf5cdb80b4e
2017-07-14 21:27:07 +00:00
TreeHugger Robot 5dcd5027ca Merge "Polish Folder open animation during drag and drop." into ub-launcher3-dorval-polish 2017-07-14 20:27:49 +00:00