Commit Graph

2384 Commits

Author SHA1 Message Date
Samuel Fufa e9d970106c Merge "Consolidate Search result UIs" 2021-01-25 22:33:42 +00:00
Samuel Fufa c282018765 Consolidate Search result UIs
- Allow SearchAction to be represented by SearchResultIcon and SearchResultIconRow
- Fix tap enter to launch regression
- Remove Plugin Pipeline

Bug: 177223401
Test: Manual
Change-Id: Id1d445f6af3f80f840d567165051188c78230ed0
2021-01-25 12:46:05 -06:00
Tony Wickham e631b759f9 Merge "Add empty Taskbar views and initial TaskbarController" 2021-01-25 17:27:29 +00:00
Tony Wickham f26e90aa35 Add empty Taskbar views and initial TaskbarController
Guarded by a FeatureFlag.

Bug: 171917176
Change-Id: I7145c7ae68282bf53552502798fe758c8c0e285d
2021-01-22 15:39:46 -08:00
Ashwini Oruganti 745272111c Add FLAG_IMMUTABLE to PendingIntent
PIs need a mutability flag on creation. See go/immutable-pendingintents for more context.

Change-Id: I7ac6a76fd501f36adddfd5bf85f0216a37fa9637
Test: TH
2021-01-22 22:17:25 +00:00
Alex Chau 867b62a2d0 Merge "Update RecentsActivityRotation when device rotate" 2021-01-20 22:40:44 +00:00
Alex Chau df449d71e9 Update RecentsActivityRotation when device rotate
- When rotating device, RecentsOrientedState.setRecentsRotation is called without updating mRecentsActivityRotation, leaving a stale orientation to be used by other components

Bug: 176913754
Change-Id: Ieb7b6cd31a6f77809ac6d222b8d0d68d6015ce01
2021-01-20 20:07:55 +00:00
TreeHugger Robot 98414351b8 Merge "Do not apply shadows to app window if target is transluscent." 2021-01-20 19:02:16 +00:00
Jon Miranda d772198157 Do not apply shadows to app window if target is transluscent.
Bug: 148938447
Test: Open disabled work profile app. Swipe away to close.
Change-Id: I54fabbe06615cf2f492c1a4aa68b597b5d132584
2021-01-20 11:52:50 -05:00
TreeHugger Robot b0bdd38fe4 Merge "Checking mRecentsAnimationController for null-ness" 2021-01-20 16:29:46 +00:00
TreeHugger Robot fc7132714a Merge "Adding all-apps onboarding popup for 2-button mode" 2021-01-20 08:12:41 +00:00
Tiger Huang 5d993e2c6e Merge "Allow system gesture while ignoring bar visibility" 2021-01-20 04:20:40 +00:00
vadimt fa8731489c Checking mRecentsAnimationController for null-ness
Now that we screenshot asynchronously.

Test: presubmit
Bug: 175708969
Change-Id: I27661b7a889661c91e480edb7fb3d536e34d4c68
2021-01-19 18:05:12 -08:00
Tony Wickham e3a0474116 Merge "Separate TaskView translationX into dismiss + offset translations" 2021-01-19 22:58:36 +00:00
Samuel Fufa 16b74e0c4b Merge " Migrate from Plugin SearchTarget to API search Target [3/3]" 2021-01-19 22:05:49 +00:00
Samuel Fufa bdf4f71299 Migrate from Plugin SearchTarget to API search Target [3/3]
- Implement SearchServicePipeline which utilizes system Search services for AllAppsSearch Results
- Parse android.app.search.SearchTarget handling for Shortcut, Slice, Settings and Play results
- Aggregate SearchTargets to a tree structure for in-line Search Results

Bug: 177223401
Test: Manual
Change-Id: Iddc0f3691578fd332cd2df643a237b29f3eccd0d
2021-01-19 14:29:13 -06:00
Sunny Goyal 64bb8946c7 Adding all-apps onboarding popup for 2-button mode
Bug: 177402588
Bug: 175137718
Test: Verified on device

Change-Id: Idc1c81add3b11451ef43f25163829f9ffcde131a
2021-01-19 19:51:36 +00:00
Sunny Goyal 6638b56667 Merge "Preventing crash when a gesture starts after home activity change but before the update has been received by Launcher" 2021-01-19 18:04:20 +00:00
[1;3C d9abb1767d Support launcher animations in new transition system
Hook up the shell-transitions RemoteTransition to
launcher.

Bug: 169035082
Test: Launch an app from a launcher icon and observe
Change-Id: Ie327c11bbc59f19fb969f159f8380c10e4a84e50
2021-01-17 21:26:21 -08:00
Tony Wickham 10a2b9c8af Separate TaskView translationX into dismiss + offset translations
- Previously, these both setTranslationX() directly, meaning one
  could clobber the other. Now they are set independently and
  aggregated to setTranslationX().
- For fake landscape, we actually are setting translationY, so
  had to create both translationX and translationY properties, and
  set the appropriate one via the current orientation handler's
  "primary" dimension.

Fixes: 176766821
Change-Id: I00ed0bd73dbea00f4018de62260ed35f4d6966a5
2021-01-15 10:42:41 -08:00
TreeHugger Robot 3e1037d5c7 Merge "Added new app launch crop / positioning." 2021-01-15 03:22:33 +00:00
Becky Qiu 877bedf676 Merge "[Overview Sharing] Create the share function for sharing image in overview." 2021-01-14 22:43:11 +00:00
Jon Miranda 7e40d6b25a Added new app launch crop / positioning.
New app launch crops the app window from the center, which is meant
to align with the centered icon in the new preview window, and then
it "reveals" the rest of the app window from center to out.

Code is behind same prop as the shell starting surface.

To enable:
- adb shell set prop persist.debug.shell_starting_surface true
- reboot

Bug: 177264697
Change-Id: I78f2eab216d4bb40dedae245f47a89fe677dd6e9
2021-01-14 17:08:04 -05:00
vadimt 5b97b40eb1 Skipping QS metrics if activity is not created
Test: presubmit
Bug: 177472265
Change-Id: Ic92adbe589736d16ab8687ea761c32919d8c186b
2021-01-14 13:43:04 -08:00
Becky Qiu b198d46f9c [Overview Sharing] Create the share function for sharing image in overview.
Bug: 169772466, 169799864
Test: local
Change-Id: Iaac49fa396e68f7392b59f6f9b8854cc1abe270b
2021-01-14 18:01:49 +00:00
Alex Chau e138389214 Flag FLAG_MULTIPLE_ORIENTATION_SUPPORTED_BY_DENSITY false when allow_rotation is set
Bug: 177312556
Change-Id: I22e28b60be68b9cf7bb064d801854d0093920c9e
2021-01-14 12:53:29 +00:00
Winson Chung ec8e9e22d9 Merge "Temporarily disable jank tracing" 2021-01-14 03:39:55 +00:00
Sunny Goyal 53e3b14029 Preventing crash when a gesture starts after home activity change but
before the update has been received by Launcher

Bug: 175645691
Test: Verified using a test launcher
Change-Id: I3f726894bdc941878bb8f8eba7c4701e1218c0dd
2021-01-13 16:21:02 -08:00
Samuel Fufa d78e90d163 Merge "Migrate from Plugin SearchTarget to API search Target [2/3]" 2021-01-13 23:46:16 +00:00
Winson Chung 9d44e81062 Temporarily disable jank tracing
Bug: 174755489
Test: Temporarily fix NPE
Change-Id: Ifeae83a307f396c25d0d072abe19e8cf8493c427
2021-01-13 15:37:59 -08:00
Samuel Fufa a60d1f9be7 Migrate from Plugin SearchTarget to API search Target [2/3]
- Adds support for android.app.search.SearchTarget in plugin while maintaining plugin SearchTarget support
- Introduces SEARCH_TARGET_LEGACY temporary to switch between plugin and sdk variants.
- Maps resultType and layoutType pairs to the appropriate view

Bug: 177223401
Test: Manual
Change-Id: If8d4bb7c21c47a12447dcb0c56eed8781bd21e54
2021-01-13 12:35:51 -06:00
Jorim Jaggi 6478fa649a Migrate FrameTracker to use ST Jank information (2/2)
Test: FrameTrackerTest
Test: Systrace, perform CUJ
Bug: 174755489
Change-Id: I6abecbd9b244f443c9df389938d82427f9584037
2021-01-13 09:17:18 -08:00
TreeHugger Robot 992ab43390 Merge "Migrate from Plugin SearchTarget to API search Target [1/3]" 2021-01-13 04:50:58 +00:00
Samuel Fufa fd58d23cdf Migrate from Plugin SearchTarget to API search Target [1/3]
Setup architecture for separation between aosp and quickstep search as setup for switch to android.app.SearchTarget

Bug: 177223401
Test: manual
Change-Id: Iefd069a34d5e5551bf731e9171958e93377774aa
2021-01-12 19:46:25 -06:00
TreeHugger Robot a96062238b Merge "Starting CUJ_APP_CLOSE_TO_HOME metric earlier" 2021-01-13 00:03:45 +00:00
Tiger Huang 9515c8b1c8 Allow system gesture while ignoring bar visibility
The system gesture is allowed while BEHAVIOR_DEFAULT is applied.

Bug: 168913586
Test: WindowInsetsTests
Change-Id: I840e7cb3e35be6fe53e5cd808b97af24de1e3fb7
2021-01-13 03:17:42 +08:00
TreeHugger Robot fa39cdcbac Merge "Refactor app open code." 2021-01-11 23:23:15 +00:00
TreeHugger Robot c2d0989c82 Merge "Disabling fling gesture for assistant over deferred region" 2021-01-11 21:36:52 +00:00
Jon Miranda f725e955cb Refactor app open code.
Move all the logic that calculate the app open float properties
to a separate class.

This is in preparation for the new app launch properties.

Change-Id: I1a008b2ea1379cbf667c5ad3ad58ece04bd88185
2021-01-11 15:58:58 -05:00
Jason Chang cfbfea9172 Merge "Fix triggering One-handed mode introduces gesture conflict issues (2/n)" 2021-01-10 03:38:37 +00:00
vadimt 12d8222124 Starting CUJ_APP_CLOSE_TO_HOME metric earlier
Now starting it at the very start of the gesture.

Test: Manual
Bug: 174892351
Change-Id: I9c36b4e4ae51302fc1c6b99b825358fb647cd310
2021-01-08 14:07:48 -08:00
Jason Chang be5af2de6b Fix triggering One-handed mode introduces gesture conflict issues
(2/n)

Define a new larger gesture height instead of replacing
existing navigation_bar_gesture_height with RRO.

Bug: 159580663

Test: manual
Change-Id: Icdd70b28d9b2629171fb60a0c9d603f6a69f076a
2021-01-07 15:20:10 +08:00
Schneider Victor-tulias b76e4dbc51 Merge "Temporarily disable visibility-gated hotseat and prediction row updates." 2021-01-06 15:20:27 +00:00
TreeHugger Robot 18a1aa543b Merge "Removing shelf from 2-button gesture mode" 2021-01-05 21:15:59 +00:00
Sunny Goyal 5c953ed47d Disabling fling gesture for assistant over deferred region
Fixing missing trigger when using fling gesture

Bug: 130186141
Bug: 175839420
Test: Verified fling does not work over keyboard dismiss button
Change-Id: Id15320122cf9183c591416962634561a1ddc6fa0
2021-01-05 12:54:54 -08:00
TreeHugger Robot 6511fd5b40 Merge "Using default timeout for 3-button QS" 2021-01-05 20:06:43 +00:00
Sunny Goyal 9b1e77377b Removing shelf from 2-button gesture mode
Test: Manual
Bug: 175137718
Change-Id: Ifb64b4dcac53252aefa8ee0bd6434f90f1d868b7
2021-01-05 19:07:21 +00:00
TreeHugger Robot 5fa687dd98 Merge "Add transition when swiping from fullscreen to enter PiP" 2021-01-01 00:51:15 +00:00
TreeHugger Robot 618ba37e04 Merge "Add additional fake task views on overview gesture completion." 2020-12-23 01:34:00 +00:00
Schneider Victor-tulias 20bbaa3390 Add additional fake task views on overview gesture completion.
Added motion pause listening to animate an additional fake task view on overview gestures in the sandbox.

Test: manual

Demo: https://drive.google.com/file/d/1EpewbIAxiMUEz0Fqdfbok5q9xpWS6NWz/view?usp=sharing
Change-Id: Ifd0aed0a2bbb3204ae32c833b8466952679700e3
2020-12-22 16:10:09 -08:00