Commit Graph

18004 Commits

Author SHA1 Message Date
Sunny Goyal
a002c6c19d Removing use of onQuickstep event and determining the touchSlopPassed in Launcher
Bug: 124255113
Change-Id: If6fe77c7086a30775f78ec2a86251cb6bcd3c4c4
2019-02-13 10:25:21 +00:00
TreeHugger Robot
5387c1109c Merge "Adding temporary workaround for for home click getting ignored" into ub-launcher3-master 2019-02-12 21:40:36 +00:00
Sunny Goyal
56e3685904 Adding temporary workaround for for home click getting ignored
Also fixing a concurrent modification exception is recents callback

Bug: 124239413
Change-Id: Id7bf17505843c8e20bdaa3fc89481acd4e94290a
2019-02-12 13:30:04 -08:00
Sunny Goyal
8a148aa9f7 Adding placeholder methods for upcoming aidl changes
Change-Id: I0f350a415dc97ffeb15e0a54c1f4c5c2263c8a71
2019-02-12 12:48:27 -08:00
TreeHugger Robot
bd7678635e Merge "Prevent NPE inside iconloader library" into ub-launcher3-master 2019-02-12 18:09:08 +00:00
TreeHugger Robot
edba28478c Merge changes Ibe5f1cdc,I219f48b2 into ub-launcher3-master
* changes:
  Increase icon cache version
  Not using reflection for app-usage API
2019-02-12 18:08:39 +00:00
Hyunyoung Song
f04391896a Prevent NPE inside iconloader library
Bug: 120439430

Even though there is @NonNull annotation, customers may not respect
this annotation.

Change-Id: I01679d01f6920c3cc945c4abe757b907f150aa23
2019-02-12 09:59:15 -08:00
Hyunyoung Song
224b028092 Increase icon cache version
Bug: 123939586

TL;DR;; For users that lost the change icon shape setting in home settings,
their icons will start upgrading to circle resulting in inconsistent
shapes.

Change-Id: Ibe5f1cdcc39a6b8688c287f46bcc7d7b09302b27
2019-02-12 09:23:04 -08:00
TreeHugger Robot
5a518a9b8b Merge "Sending notification and widget changes to a listner so that popups outside Launcher can also listen for changes" into ub-launcher3-master 2019-02-12 00:44:39 +00:00
Sunny Goyal
202ae0b0f5 Sending notification and widget changes to a listner so that
popups outside Launcher can also listen for changes

Change-Id: I2eb2d8374a6806381e1c682eaef3cc35f30693df
2019-02-11 16:23:11 -08:00
Sunny Goyal
beb5d7cadb Always initializing the TouchConsumer on the main thread
> Creating a separate shared state class instead of storing the full TouchConsumer
> Moving all RecentsAnimationCallback on the main thread, instead of routing it through
  the event queue

Bug: 124255113
Change-Id: I7891dfa4ad4a8d81152b7b36991682535fd54f46
2019-02-11 15:56:31 -08:00
Lucas Dupin
330b857c42 Fixed corner radius during app launch
Change-Id: I9490bc359b93f9ca8b7c1dad2d93e90d0fba5ac8
Fixes: 122554807
Test: visual
2019-02-09 22:48:27 +00:00
Vadim Tryshev
12a9f3f6e0 Merge "Waiting for the drop bar to go away after dragging an icon" into ub-launcher3-master 2019-02-09 02:20:30 +00:00
TreeHugger Robot
2861656084 Merge "One thread to rule them all" into ub-launcher3-master 2019-02-08 20:43:11 +00:00
Sunny Goyal
451987c5e6 One thread to rule them all
Moving all quickstep event handling to main thread and removing
multi-thread logic.
Using system input dispatcher for handling event queue to that
velocity tracker works properly on different threads.

Bug: 123833655
Change-Id: I7c5004c32411da4144103112905ff6b40ed700ab
2019-02-08 12:33:22 -08:00
TreeHugger Robot
a5e0f43a37 Merge "Slowing down workspace test fling" into ub-launcher3-master 2019-02-08 20:02:37 +00:00
Vadim Tryshev
06344e7987 Slowing down workspace test fling
This will eliminate test flakiness

Test: tapl tests
Change-Id: I258f5e134771a93519fa1474ae09df3eac8a825f
2019-02-08 11:50:19 -08:00
TreeHugger Robot
2bed872472 Merge "Import translations. DO NOT MERGE" into ub-launcher3-master 2019-02-08 15:40:22 +00:00
Bill Yi
ef5634d308 Import translations. DO NOT MERGE
Change-Id: I56191aecd8c7b6c8472afc1ff07e3b0cb853da9e
Auto-generated-cl: translation import
2019-02-07 20:50:32 -08:00
vadimt
5bc87ec9ae Removing "accessibility drag" action for shortcuts in menu
It's not supported there and causes Launcher to crash

Bug: 116023881
Test: Manual
Change-Id: Ib8a99ffeed41c3c3b70dec6bab7c5330a0412c66
2019-02-07 19:44:08 -08:00
vadimt
2341e5b09f Not using reflection for app-usage API
Plus, avoiding cross-user calls (pausing work profile apps is not
supported anyways).

Bug: 118319143
Test: Manual
Change-Id: I219f48b24e56ccc359384ff072d9aa57c545925f
2019-02-07 17:18:12 -08:00
TreeHugger Robot
8fa51172f6 Merge "Remove grid provider from launcher until all apps grid is addressed" into ub-launcher3-master 2019-02-07 22:55:45 +00:00
Hyunyoung Song
7545349cd0 Remove grid provider from launcher until all apps grid is addressed
Change-Id: Ia8232e77241d550239a62f8827cf2ef6711ec909
2019-02-07 14:39:00 -08:00
Hyunyoung Song
21ca044bbf Merge "Add a flag to turn on theme picker in wallpaper picker" into ub-launcher3-master 2019-02-07 22:37:39 +00:00
Hyunyoung Song
29e5d44a63 Add a flag to turn on theme picker in wallpaper picker
Bug: 122524192
Change-Id: I79bd8bde359a56185c1dd0c10964695263d0f6d5
2019-02-07 14:16:32 -08:00
Hyunyoung Song
91cdbe58a2 Merge "Revert "Not using reflection for all limit API"" into ub-launcher3-master 2019-02-07 20:15:49 +00:00
Hyunyoung Song
9ca02567dd Revert "Not using reflection for all limit API"
This reverts commit 8baf921416.

Reason for revert: Constant crash whenever entering recents view

Change-Id: I695aa43686367379b3921a2665db490f6ac983a1
2019-02-07 19:29:16 +00:00
Vadim Tryshev
2015b3bf65 Waiting for the drop bar to go away after dragging an icon
This should remove test flakes like: https://sponge.corp.google.com/target?show=FAILED&sortBy=STATUS&id=2c560d05-9d50-4fad-9798-dc77858f2d11&target=com.android.launcher3.tests

Test: AOSP TAPL tests
Change-Id: I01899bec349ed507a03fd02196a35990c48fd46b
2019-02-07 10:43:43 -08:00
TreeHugger Robot
fa8df691d1 Merge "Fix duration when scrolling back to launch LAST_TASK" into ub-launcher3-master 2019-02-07 00:56:57 +00:00
Lucas Dupin
1ea481ad83 Fix issue where animation progress would be overridden
Change-Id: I7ce6452a5cf412b74b404e8c3400b60660998f22
Fixes: 124001115
Test: visual
2019-02-06 22:21:53 +00:00
TreeHugger Robot
2fe83ec929 Merge "Removing "remove" accessibility action for deep shortcuts in menu" into ub-launcher3-master 2019-02-06 20:29:25 +00:00
vadimt
26850a2f3f Removing "remove" accessibility action for deep shortcuts in menu
Bug: 116023881
Test: Manual
Change-Id: Ia9c25e2e1b4cbca9d2c87a17464c175733955ccf
2019-02-06 12:18:51 -08:00
vadimt
8baf921416 Not using reflection for all limit API
Bug: 118319143
Test: Manual
Change-Id: I666f19450403f1020a52136a74aa97383c666345
2019-02-06 12:09:18 -08:00
Anton Hansson
3e75460459 Require privapp grants for all launcher3 apps
The privapp permission grant file for launcher3 was previously only
installed for Launcher3QuickStep, which is the default launcher app
in the AOSP product config.

Make other apps use it too for products that override
Launcher3QuickStep (or use one of the other variants).

Bug: 123300025
Test: build/boot product with Launcher3QuickStepGo
Change-Id: I295ed7f1d65d1e6b4ba6364b2468182353340bbb
2019-02-06 16:51:30 +00:00
Tony
3c477492de Fix duration when scrolling back to launch LAST_TASK
Bug: 111926330
Change-Id: Ief8b5eb3dc2c50a1a06ea9e3adbf89f6c1cf157b
2019-02-06 11:20:56 -05:00
Tony Wickham
db3d82a8ab Merge "Allow for continuous scrolling to previous tasks" into ub-launcher3-master 2019-02-05 23:17:56 +00:00
Sunny Goyal
bcadb7f4ba Changing some colors for folderIcon in dark themes
Bug: 111139480
Change-Id: I5b338c6faf61626a21f703da37b95466806cbbfd
2019-02-05 14:45:51 -08:00
TreeHugger Robot
e8a2617efe Merge "Disable double-tap accessibility action for a widget cell" into ub-launcher3-master 2019-02-05 21:17:10 +00:00
vadimt
f87046619c Disable double-tap accessibility action for a widget cell
Before this CL, the cell had 3 announced actions:
1. Add to home screen (a custom action)
2. "Double-tap to activate" - performing this action instructed the user
to use action #3
3. "Double-tap and hold for long press" - starts dragging the widget.

Bug: 116018969
Test: Manual
Change-Id: Ie2378ccb13d182a2558f70f7250055bf86c5e5f6
2019-02-05 13:02:29 -08:00
Tony
f98121939d Allow for continuous scrolling to previous tasks
Starting a new touch interaction on the nav bar while going to a new task
cancels that animation to allow for continuous scrolling.

Specifically, the new interaction still creates a new touch consumer and
WindowTransformSwipeHandler, but reuses the previous RecentsAnimationState
in order to defer finishing it.

Bug: 111926330
Change-Id: Ia4f5f8dbb2b3ae70791676f1e3e5ce84deb22f74
2019-02-05 15:47:13 -05:00
Tony
51745853cb Fix launcher animation component not playing if springs are enabled
Change-Id: I9fe919034f41bb9db3e1acdfd8e87a31c4cf7865
2019-02-05 15:03:32 -05:00
vadimt
e743c80a14 Reducing speed of widgets fling
The hope is that this will solve flakiness of widgets tests in AOSP.

Test: TaplTestsLauncher3.testWidgets
Change-Id: I2ecc18b9eb7eeb3fd8b11fcc580a529f545c3af9
2019-02-05 08:37:17 -08:00
TreeHugger Robot
de9a859c26 Merge "Disable tests relying on event sequence until gestural nav settles" into ub-launcher3-master 2019-02-05 00:34:12 +00:00
vadimt
7d67d53aaf Disable tests relying on event sequence until gestural nav settles
Bug: 120628042
Test: N/A
Change-Id: I3166c2660a5170434b33bbd5eddceddd483e7502
2019-02-04 14:18:24 -08:00
Vadim Tryshev
fe9b3e6a07 Merge "Updating sysui_shared" into ub-launcher3-master 2019-02-04 20:29:42 +00:00
Vadim Tryshev
453fb8b7d8 Merge "Support for a test for pausing an app via Overview." into ub-launcher3-master 2019-02-04 19:53:24 +00:00
vadimt
682be49c8d Updating sysui_shared
Bug: 123775469
Test: showing a task in Overview
Change-Id: I531da929c5fe51fd7046347b9c02916f37b554b5
2019-02-04 11:52:20 -08:00
Vadim Tryshev
3775fe8a22 Merge "Removing unnecessarily requiring activity to be a launcher" into ub-launcher3-master 2019-02-04 18:36:29 +00:00
Bill Yi
2c3aa0c0cf Import translations. DO NOT MERGE
Change-Id: Iff9eaa06498b8641ac0225f0b9c778db8b926189
Auto-generated-cl: translation import
2019-02-02 00:41:03 -08:00
Hyunyoung Song
6163624666 Change the location of Launcher apks from /system to /product
Bug: 123777579
Change-Id: If0ee9099aec223394d60ad4dbcd2c6f80f33067b
2019-02-01 17:43:40 -08:00