summaryrefslogtreecommitdiff
path: root/core/java/android/window/TaskEmbedder.java
Commit message (Collapse)AuthorAgeFilesLines
* Deleting ActivityViewAntonio Kantek2021-05-201-490/+0
| | | | | | Test: atest CtsAccessibilityServiceTestCases Bug: 179161778 Change-Id: Ic66f3740819634366edb20a34a7c8177af258c2f
* Pass in callsite of SurfaceControl constructor explicitly (1/3)Jorim Jaggi2020-06-261-0/+1
| | | | | | | | | | | Creating a new Throwable (and filling in the stack trace) can take up to 150us. Since we do this on the critical path when sending over SurfaceControl via binder multiple times, this is too much. Instead, add an option to pass in callsite manually. Bug: 159056748 Change-Id: I46c339c15a07192d61c4c546e46f260684a47120 Exempt-From-Owner-Approval: Large scale refactor
* Migrate Tap exclusion logic to TaskEmbedder.Yuncheol Heo2020-05-051-5/+64
| | | | | | | | | We want to pass the touches on ActivityView to the Activity inside ActivityView, not to be consumed by Activity hosting ActivityView. To do that, we need to set a tap exclude region, so touches can go through. Bug: 155424730 Test: Make sure the Activity inside ActivityView gets touch. Change-Id: Ia9b2c7eba0c48512a633c798b1012e5fbec8422f
* Add the IME insets to virtual display for bubbleYunfan Chen2020-04-301-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | This patch will add a fake IME window to virtual display when IME is showing and covering a bubble window. Without the fake window, the bubble will not receive the correct IME insets. To do that, this patch: 1. Added an interface in ActivityView to get VirtualDisplay when needed, in order to create the display context. 2. Modify the visibility update. When the target is not a client controlled target, we ignore the client visibility. We also call visibility update when the control target updated. 3. With the modified infra, add the window with correct param and context. Bug: 150780413 Test: atest WmTests:DisplayPolicyLayoutTests Test: atest InsetsStateTest Test: atest InsetsPolicyTest Test: go/wm-smoke Test: See reproduce steps in the bug Change-Id: I52691b5c7f81261de580bb4fc762e88486e78141
* Send task description changed though task org taskInfoChangedWinson Chung2020-04-111-24/+0
| | | | | | | | | | | | | - This removes the need for a separate task stack listener and aligns with other task info change properties - Also implement equals/hashCode for the token so we can use it in containers Bug: 148977538 Test: atest TaskOrganizerTests Signed-off-by: Winson Chung <winsonc@google.com> Change-Id: Ie035e6389fdbdc374c1a4b4a684758efa0cb7a9e
* Add TestApi interfaces for window organizersWale Ogunwale2020-04-011-0/+452
Enables testing the API surfaces from CTS. Bug: 149338177 Test: they pass! Change-Id: I7e1f2852585a10c20d299bd87e9a87f828d06d6a