Commit Graph

6902 Commits

Author SHA1 Message Date
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
Jonathan Miranda a911c4b3a0 Fix crash when adding PinShortcutRequestActivityInfo to Folder. am: b24fa30025
Change-Id: I36ac77083ded8d2db31d7b9bbbe6ba60205633f1
2017-07-18 18:03:34 +00:00
Jon Miranda b24fa30025 Fix crash when adding PinShortcutRequestActivityInfo to Folder.
Bug: 63770450
Change-Id: Ibc7553933a53d8af459628add7644fbaf5820cb0
2017-07-18 11:04:55 -07: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
TreeHugger Robot fc41a3a8f5 Merge changes from topic 'am-aba0a928-a4ff-4569-8ae5-9694c6816755' into ub-launcher3-dorval-polish2
* changes:
  Polish Folder open animation during drag and drop. am: ecf451457b
  Polish Folder open animation during drag and drop.
2017-07-14 20:27:49 +00:00
TreeHugger Robot 542bbca313 Merge "Catch SecurityException from NoMan to workaround possible race condition" into ub-launcher3-dorval-polish 2017-07-14 20:23:26 +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 3c255ca1ab Polish Folder open animation during drag and drop. am: ecf451457b
Change-Id: If4d18353b4ef7515dabda506b73694d2dc5839d6
2017-07-14 20:17:23 +00:00
Adam Cohen db8f336756 Catch SecurityException from NoMan to workaround possible race condition am: f423f0a6d4
Change-Id: I157a450f9da9810f18a1e3ccafe68557fe590185
2017-07-14 20:15:18 +00:00
Adam Cohen f423f0a6d4 Catch SecurityException from NoMan to workaround possible race condition
b/63636581

Change-Id: Ia06a5be59b2114bda9b4a55ad945fdd832013110
2017-07-14 13:15:06 -07: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
Jonathan Miranda a1eb0c3b61 Move padding from Hotseat to Hotseat's CellLayout. am: 52ff325841
Change-Id: Iacbe5241ec0742a8efba4c3f5d595f62286d8415
2017-07-14 18:38:57 +00:00
Mario Bertschler 3f97132bc1 Changes on the wallpaper gradient extraction algorithm: fallback colors for very light or very dark luminosity. am: 97f93583d3
Change-Id: I7af91b953b1f131437b8d1ff1f88a47d5a87c66a
2017-07-14 18:12:18 +00:00
Mario Bertschler 97f93583d3 Changes on the wallpaper gradient extraction algorithm: fallback colors
for very light or very dark luminosity.

Bug: 63705813
Change-Id: I71b29e294b1c9c139f8f778e8f217e127d95fec5
2017-07-14 11:11:21 -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 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
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 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