Commit Graph

2846 Commits

Author SHA1 Message Date
Jon Miranda a589814dba Show instruction toast when user taps on drag handle.
Bug: 74369785
Change-Id: I7017266efcb0db70a8d151eed10442292cb61e70
2018-03-22 16:32:33 -07:00
Sunny Goyal 9623ed1894 Using dimension instead of relyong on relativeLayout for view positions
Search box can be hidden as a result of various state flags. But the dependent
views should still retain their positions

Change-Id: I820ac11d120f9c78a457e64f3f21d9e8ff3f6110
2018-03-22 14:42:00 -07:00
Sunny Goyal c9d3d06773 Disabling default focus from icons as we use an animated focus indicator
Change-Id: I9d3f1b5f5710ff8931f02f1a3a41e4986b4e0f9c
2018-03-22 12:18:35 -07:00
Tony Wickham a97f0f20cd Support multiple Views of extra hotseat content
Also adjust workspace page indicator:
- Center vertically
- Rounded corners

Change-Id: I96c2f3da3522d70726f544126b516c33c8fb7bc8
2018-03-21 15:53:11 -07:00
Sunny Goyal 2e38cf4825 Merge "Changing the overviewState to show appsearch and floating header" into ub-launcher3-master 2018-03-20 17:01:49 +00:00
TreeHugger Robot 76d557446d Merge "Disabling unnecessary requestLayout calls in BubbleTextView" into ub-launcher3-master 2018-03-20 03:14:08 +00:00
Sunny Goyal 7185dd63eb Changing the overviewState to show appsearch and floating header
Change-Id: I2cfd61cfc9978e4c8e4520f0f7217e49e7344c79
2018-03-19 20:02:34 -07:00
TreeHugger Robot 1c75a77df6 Merge "Accessibility improvement around blue user education card" into ub-launcher3-master 2018-03-19 19:18:46 +00:00
Sunny Goyal 66dccad6ff Disabling unnecessary requestLayout calls in BubbleTextView
> Disabling layout change when updating icon, if previously set
> Setting the ellipsis behavior to end, to disable relayouts when
  changing text

Change-Id: Ic00c207c0372724daebd8ee1d748f5cf5aa56457
2018-03-19 12:02:53 -07:00
Tony Mak 913a7da58c Accessibility improvement around blue user education card
1. Group the entire card into one element
2. Add label for close button
3. Announce closed when the card is gone

FIXES: 74517054

Change-Id: I8fe41d4c5e88276460c3f0486168f0ef56d8fb60
2018-03-19 18:24:23 +00:00
Bill Yi c8e16b42b4 Import translations. DO NOT MERGE
Change-Id: Ic5051814978c57561804797f03548c61575289d9
Auto-generated-cl: translation import
2018-03-19 07:49:00 -07:00
Bill Yi 7ce8ad1c70 Import translations. DO NOT MERGE
Change-Id: I1d302f9e40eb64f48ab1b5535d2a62dd4c18ca55
Auto-generated-cl: translation import
2018-03-16 13:52:30 -07:00
TreeHugger Robot bac14afd1e Merge "Adding support for prefenrece search in QuickStep" into ub-launcher3-master 2018-03-14 23:10:42 +00:00
TreeHugger Robot d614d66fbb Merge "Fix accessiblity issue around work tab" into ub-launcher3-master 2018-03-14 17:42:25 +00:00
Tony Mak 98f7350f8f Fix accessiblity issue around work tab
1. Instead of always announcing "Apps list", we now announce
"personal apps list" and "work apps list" if tab is there.
2. Fix an issue that "personal" and "work" are announced twice.
3. Work footer is now announced as a group

FIX: 71703082

Change-Id: I0240bc04df09a5599540cfe67f0f48156f285548
2018-03-14 17:32:18 +00:00
Sunny Goyal 7c7be8c20a Simplifying options popup and overview handling
> Removing support for page drag-n-drop from pagedView
> Removing Overview UI from Launcher3 without quickstep and using options popup instead
> Removing touch handlers from CellLayouts and showing options popup based on workspace long press
> Excluding touch outside inset when showing the popup

Bug: 74136505
Change-Id: I34c2a7ff58452db26f5d1a85d554be40fc75f2b8
2018-03-13 12:57:32 -07:00
Sunny Goyal 3fbca15555 Adding support for prefenrece search in QuickStep
Bug: 62292864
Change-Id: Ic112626ca9c5942c91ced4ab42e64cbce4657701
2018-03-09 12:57:11 -08:00
Sunny Goyal 016d7e93c1 Using spring layout for widget sheet
Bug: 72811152
Change-Id: Ifd4ade7327589871532288eb2982cf5b4f084979
2018-03-09 11:10:43 -08:00
Mario Bertschler 14a89262f1 Using edge effect to trigger spring animation for all apps.
Bug: 72811152
Bug: 72059944

Change-Id: Ied7b51caa2fb48a2fda126d59e4eaf6a35edded3
2018-03-08 11:16:53 -08:00
Sunny Goyal 3661bfac0b Fixing fast scroller touch handling in all-apps and widget sheet
Also removing scrim view, instead drawing the scrim manually

Bug: 73085356
Change-Id: I188c6c9b1685e22d5d97b38dd5d3e960b655c9ba
2018-03-06 11:41:43 -08:00
Sunny Goyal d912e3f82a Merge "Simplifying all-apps search box" into ub-launcher3-master 2018-03-06 00:12:59 +00:00
TreeHugger Robot d90d04b1ec Merge "Updating Launcher rotation logic" into ub-launcher3-master 2018-03-05 23:44:54 +00:00
Sunny Goyal 726bee7d5d Removing click-feedback shadow generation logic in BubbleTextView
Instead of animating the shadow, animating the icon scale. This avoids
unnecessary bitmap creating at app-launch and also plays nice with the
app-launch transition

Change-Id: I1d3d24bc7212a6d659855ff1002a45388e269e52
2018-03-05 14:56:38 -08:00
Sunny Goyal 623eddd7e8 Updating Launcher rotation logic
When auto-rotate is on, launcher allways allows rotation. This allows uses to use
locked rotation feature is available on the device
When auto-rotate is off, workspace does not allow rotation, but overview in quickstep
will allow rotation

Bug: 73872056
Change-Id: Ie12365c268fd5e4958634ed97b5a33dcadc691e2
2018-03-03 00:41:09 -08:00
TreeHugger Robot 85f1eed52d Merge "Adding support for hiding widgets from the widget tray and reconfiguring widgets" into ub-launcher3-master 2018-03-03 00:49:24 +00:00
Sunny Goyal b29a5fa55c Adding support for hiding widgets from the widget tray and reconfiguring widgets
> Removing AppInfo target
> Switching between uninstall and setup based on the drag view

Bug: 63931362
Change-Id: Iccd6f965fa3d61992244a365efc242122292c0ca
2018-03-02 13:20:09 -08:00
TreeHugger Robot ae9e85b8e9 Merge "Import translations. DO NOT MERGE" into ub-launcher3-master 2018-03-02 19:59:42 +00:00
Bill Yi 74fecc2ca8 Import translations. DO NOT MERGE
Change-Id: I58cfb1ce1d9bed7bd094ed003e7816fbc63cb153
Auto-generated-cl: translation import
2018-03-02 01:29:19 -08:00
Sunny Goyal c466b173d5 Adding a label for the notifiation service
Bug: 72314360
Change-Id: Ib7ae98015241cf6548dbb4d615cae514a4dde983
2018-03-01 16:10:37 -08:00
Sunny Goyal dbd6bb348c Simplifying all-apps search box
> Giving the search box a solid background so that it work fine with scrolling
> bottom shadow logic for search box

Bug: 73085356
Change-Id: Ie4dc4922be39ffd8e2d562becedbd4c6f820e6c9
2018-03-01 15:58:11 -08:00
Sunny Goyal 6639a5dfe0 Updating the scrim and landscpae ui
> Instead of views, using a custom class to draw the color scrims
> All-apps has full screen UI
> Quickstep does not have search box in landscape

Bug: 73085356
Change-Id: I360a78a2ade0134daad29fe712796cd39a381fbb
2018-03-01 11:23:46 -08:00
TreeHugger Robot fe560d802a Merge "Update widget full sheet / bottom sheet to have top rounded corners." into ub-launcher3-master 2018-02-27 18:34:27 +00:00
Tony Mak 9a026e7672 Update the user education text as the badge is no longer in orange
Change-Id: Ic13b86bed50356a1e01e01ad350e5f9882845b69
FIX: 73944227
2018-02-27 17:38:08 +00:00
Bill Yi bdb0348992 Import translations. DO NOT MERGE
Change-Id: Idd59dca233e29983e7b7145a2595e7880b12f878
Auto-generated-cl: translation import
2018-02-17 03:04:05 -08:00
Sunny Goyal 66f2b35320 Adding a utility class to simplify main process initialization.
Change-Id: I796cf758d2a25cf8fd5f9a9b78a7977fd54ca451
2018-02-13 17:08:09 -08:00
Jon Miranda 84e2436220 Update widget full sheet / bottom sheet to have top rounded corners.
Bug: 71775241

Change-Id: I11b5adc555f48f44cf8167e8699cae1dfe164736
2018-02-13 16:18:19 -08:00
Sunny Goyal 0bd7f4f2dc Using paged view for all-apps tabs
Bug: 72811152
Change-Id: I0cca426d935f079c923b93fe3d4399f87778fe95
2018-02-13 09:55:29 -08:00
Bill Yi 2fd04c2def Import translations. DO NOT MERGE
Change-Id: Ibfab0e5e1709f527c4fa4fcae33522bf47826b25
Auto-generated-cl: translation import
2018-02-12 12:18:27 -08:00
Tony Mak a5e7040219 Add a close button at the top right hand corner of the blue card
FIX: 72804302

Change-Id: Iac7c369ead27c211c046f318c3b9588d73a594d4
2018-02-06 17:25:01 +00:00
Tony Wickham dccf3956c1 Merge "Set hotseat importantForAccessibility=no" into ub-launcher3-master 2018-02-06 02:38:27 +00:00
Tony Wickham c1103db25b Merge "Add notification count to content description for badged apps" into ub-launcher3-master 2018-02-06 02:38:10 +00:00
TreeHugger Robot 0ad5131d77 Merge "Removing support for app prediction from Launcher3" into ub-launcher3-master 2018-02-06 00:55:56 +00:00
Tony 220d45bde8 Set hotseat importantForAccessibility=no
Bug: 72500241
Change-Id: Ic98ec0f6235b3deef91e3490c8d5695fb39ee82e
2018-02-05 11:11:13 -06:00
Tony Wickham 305e920048 Add notification count to content description for badged apps
Bug: 70389249
Change-Id: If7f43941d501ba807adbb33d489da3944c012e94
2018-02-05 10:08:52 -06:00
TreeHugger Robot ac0a506072 Merge "Ditch work profile orange and use the accent color instead" into ub-launcher3-master 2018-02-01 17:38:21 +00:00
Tony Mak d6947d2729 Ditch work profile orange and use the accent color instead
FIXES: 72804074

Change-Id: If9dfd6eceb6b3d3365c32859d5cc13d6d49be1a0
2018-02-01 17:16:58 +00:00
Tony cb7954901f Fix system shortcut icon color in popup menu
If a system shortcut icon has a color other than white, then the
default tintMode (src_atop) will result in the wrong color. In
this case, ic_widget recently changed fillColor from white to
textColorPrimary, resulting in a darker color for light wallpapers.

Bug: 72383282
Change-Id: I167858ef3fcc5877e429c11aa9f68f94ba4b8f29
2018-01-31 16:02:59 -06:00
Sunny Goyal b1d222e9a7 Removing support for app prediction from Launcher3
Derivative projects can extend the FloatingHeader to add support
to custom content in all-apps screen.

Change-Id: I4e29221a72e5a077a756713a6774cda7ecde8f1b
2018-01-30 20:53:11 -08:00
TreeHugger Robot d08593bc88 Merge "Import translations. DO NOT MERGE" into ub-launcher3-master 2018-01-27 15:15:29 +00:00
Bill Yi 390d267943 Import translations. DO NOT MERGE
Change-Id: I7aba482358326eaa0128448165d44f4d9a2a30c6
Auto-generated-cl: translation import
2018-01-27 04:12:39 -08:00