Commit Graph

11035 Commits

Author SHA1 Message Date
Adrian Roos
99db7ebbaa Merge "DisplayCutout: Support more than one cutout" into pi-dev am: 5d92e72482
am: 2125a78980

Change-Id: I97042e60d0222efaeee65ac78f85d22e281ac87a
2018-03-13 02:18:14 +00:00
TreeHugger Robot
5d92e72482 Merge "DisplayCutout: Support more than one cutout" into pi-dev 2018-03-12 22:45:34 +00:00
Abodunrinwa Toki
ad52f4b97c TextClassifierService.onSelectionEvent
Bug: 74466564
Bug: 67609167
Test: bit FrameworksCoreTests:android.view.textclassifier.TextClassificationManagerTest
Test: bit FrameworksCoreTests:android.view.textclassifier.logging.SelectionEventTest
Merged-In: Ib5af1ec80a38432d1201fbc913acdc3597d6ba82
Change-Id: Ib5af1ec80a38432d1201fbc913acdc3597d6ba82
2018-03-12 19:32:51 +00:00
TreeHugger Robot
4c2ef0271a Merge "Move display id into MotionEvent" 2018-03-12 18:02:43 +00:00
Adrian Roos
6a4fa0ec18 DisplayCutout: Support more than one cutout
Also makes API more restrictive. Also moves window manager specific
logic out of the framework. Also fixes SystemUI such that it can properly
deal with more than one cutout.

Bug: 74195186
Test: atest DisplayCutoutTest WmDisplayCutoutTest DisplayContentTests WindowFrameTests
Change-Id: Ib7b89e119ce2d3961687579bb81eadce1159a600
2018-03-12 17:26:01 +00:00
Abodunrinwa Toki
9554dd94ec Merge "Merge textclassifier/logging/ into textclassifier/" into pi-dev 2018-03-12 15:16:53 +00:00
Tarandeep Singh
b5d47f62ae Merge "Revert "Revert "Remove a compat hack SurfaceView#setWindowType()""" into pi-dev am: 4b306e5e23
am: 69745f8469

Change-Id: I260748eb436c4540c19b89c8184870600b7841dc
2018-03-12 10:16:06 +00:00
TreeHugger Robot
4b306e5e23 Merge "Revert "Revert "Remove a compat hack SurfaceView#setWindowType()""" into pi-dev 2018-03-12 09:45:42 +00:00
Abodunrinwa Toki
f1d939910f Merge textclassifier/logging/ into textclassifier/
This is based on feedback on Ib5af1ec80a38432d1201fbc913acdc3597d6ba82

Bug: 74466564
Bug: 67609167
Test: bit FrameworksCoreTests:android.view.textclassifier.TextClassificationManagerTest
Test: bit CtsWidgetTestCases:android.widget.cts.TextViewTest
Test: bit FrameworksCoreTests:android.widget.TextViewActivityTest
Test: bit CtsViewTestCases:android.view.textclassifier.cts.TextClassificationManagerTest
Test: bit CtsViewTestCases:android.view.textclassifier.cts.LoggerTest
Merged-In: Ic8d58acb2bbd63cedcac4aa16940b4ac852aadc8
Change-Id: Ic8d58acb2bbd63cedcac4aa16940b4ac852aadc8
2018-03-10 13:13:14 +00:00
Vadim Tryshev
7d1cd9d68c Merge "Adding isNotInRecents to RemoteAnimationTarget" into pi-dev am: fe700fc694
am: 14b5972391

Change-Id: I455915b99bff65ebb5c0ccf3570c84a051c14540
2018-03-10 08:45:40 +00:00
Peiyong Lin
d86f316e6b Merge "Merge "Add lockHardwareWideColorGamutCanvas." into pi-dev am: c481d0a43c" into pi-dev-plus-aosp
am: 8ba4e785a3

Change-Id: I4b6d24acb70f2c862f51d10a312ca6a560a6a5e0
2018-03-10 01:56:21 +00:00
TreeHugger Robot
fe700fc694 Merge "Adding isNotInRecents to RemoteAnimationTarget" into pi-dev 2018-03-10 01:11:27 +00:00
Vadim Tryshev
593e9567fd Adding isNotInRecents to RemoteAnimationTarget
For animations required by Recents, we calculate whether the task is
going to be presented in Recents UI.

Bug: 70789568
Test: Manual: swipe a normal app to Recents; swipe an app with a
      half-screen assistant on top of it to Recents.

Change-Id: I1ec9c36865dd4f57e843ae58811f90f3096365a5
2018-03-09 14:00:32 -08:00
Tarandeep Singh
9219b31067 Revert "Revert "Remove a compat hack SurfaceView#setWindowType()""
This reverts commit 9309c19513.

Reason for revert: We can now remove the deprecated method. Compat hack
is no longer required for keyboards.
Fixes: 62054282
Test: Manually flashed and verified keyboard apps work.

Change-Id: Iae0c82b6fd3fd5930e9eea3216fab76925839e4d
2018-03-09 19:34:51 +00:00
Peiyong Lin
c481d0a43c Merge "Add lockHardwareWideColorGamutCanvas." into pi-dev 2018-03-09 18:19:52 +00:00
Jorim Jaggi
841080d423 Merge changes I46e93397,Ie0a157a9 into pi-dev am: 3a78ec6ae4
am: c5f88e6872

Change-Id: I3ecfc41762d3bcc099a4575154b6db22f56288c9
2018-03-09 15:29:16 +00:00
Jorim Jaggi
3a78ec6ae4 Merge changes I46e93397,Ie0a157a9 into pi-dev
* changes:
  Also set calling pid when registering for next activity start
  Revert "Revert "Elevate remote/recents animation priority""
2018-03-09 12:05:01 +00:00
Tarandeep Singh
0ff18d635c Merge "Remove debug metadata isVrOnly from InputMethodInfo" into pi-dev am: 961e147b66
am: 5e3d9f5101

Change-Id: Ia6468be994deaf5072f09f3126492f594ca84d90
2018-03-09 07:38:36 +00:00
Tarandeep Singh
eda9f31218 Remove debug metadata isVrOnly from InputMethodInfo
Change-Id: I1e5ae572ab0f8d53b1b8c4ae1e787aff294c82e0
Fixes: 68948291
Test: Manually built and tested. No changes expected for non-dev apps
2018-03-09 00:15:59 +00:00
Peiyong Lin
d8b6871740 Add lockHardwareWideColorGamutCanvas.
This patch adds a hidden API to return a hardware canvas with wide color gamut
support. The hardware canvas returned from BaseSurfaceHolder.lockHardwareCanvas
doesn't support wide color gamut, this patch makes sure that a wide color gamut
canvas context is created when calling lockHardwareCanvas.

Verified this approach works by building ImageWallpaper to use this API.
Without this API an 8 bit logo P3 doesn't show the logo, with this API the logo
is shown correctly. See b/74116826 for more info.

BUG: 74116826
Test: Build ImageWallpaper using this API with an 8 bit P3 image
Change-Id: Id20343fabcd7f0873d79ce72a235ea9b7c1f3e77
2018-03-08 23:43:35 +00:00
Jordan Liu
3eebeaf493 Merge "Support ENVELOPE (EVENT DOWNLOAD - User activity) command" into pi-dev am: 805a5ecedb
am: af029eb5b6

Change-Id: Iedd191b909b27cff1751ff7f28676f8d57a984b0
2018-03-08 20:44:11 +00:00
Jordan Liu
805a5ecedb Merge "Support ENVELOPE (EVENT DOWNLOAD - User activity) command" into pi-dev 2018-03-08 19:49:47 +00:00
Jorim Jaggi
bc2aabe845 Revert "Revert "Elevate remote/recents animation priority""
This reverts commit a8b48ab733.

Original issue has been fixed in follow up CL.

Bug: 73555925
Change-Id: Ie0a157a91c3c66df52370adad7b188f59c4749ea
2018-03-08 18:04:21 +01:00
Julia Reynolds
4ed4e2d6e6 Merge "Show app ops guts when tap app ops icons" into pi-dev am: 7b894b3fcd
am: 6558218cf2

Change-Id: If61c8b33dcac584c685fb5b10acc537b0c0ba10a
2018-03-08 04:27:38 +00:00
TreeHugger Robot
7b894b3fcd Merge "Show app ops guts when tap app ops icons" into pi-dev 2018-03-08 04:00:37 +00:00
Phil Weaver
fc0c8d9b63 Merge "Fix accessibility action parceling" into pi-dev 2018-03-08 01:49:43 +00:00
Julia Reynolds
b586745d86 Show app ops guts when tap app ops icons
Test: runtest systemui
Bug: 64085448
Change-Id: Ia51044f77311ab705ffb9dd1ae204d0131316396
2018-03-08 01:45:09 +00:00
John Reck
2ffa4d67a7 Merge "Clean up development settings" 2018-03-08 01:28:10 +00:00
John Reck
f8d2e3deab Merge "Fix NPE if app context is null" into pi-dev am: a08a8569bf
am: a25a677ab5

Change-Id: I79c6ee44487bb7bdae4ed3f4afcde21b5ac3f9a2
2018-03-08 01:06:54 +00:00
TreeHugger Robot
a08a8569bf Merge "Fix NPE if app context is null" into pi-dev 2018-03-08 00:15:22 +00:00
Adrian Roos
1722fbab29 Merge "Window: Provide frame size hint to ViewRootImpl" into pi-dev am: b8d853732c
am: 923f8d0374

Change-Id: Iacac285fe4ad10f280885ba0b4c1c535a7995573
2018-03-07 23:53:45 +00:00
Yoshiaki Naka
e1bdfc8286 Support ENVELOPE (EVENT DOWNLOAD - User activity) command
The terminal shall send the ENVELOPE (EVENT DOWNLOAD - User activity)
command to the UICC when some user activity like a key-press or touch is
detected if the user activity event is a part of the current event list.
This change allows the SIM Toolkit application to support that event.
Please refer to the specification of SET UP EVENT LIST command described
in ETSI TS 102.223.

Bug: 65884891
Test: Confirmed the expected seq 1.1 of ETSI TS 102.384 TC 27.22.4.16
Change-Id: I7d3faa09cd4625db53bcfe21f90570389a4ea037
2018-03-07 15:15:36 -08:00
Adrian Roos
b8d853732c Merge "Window: Provide frame size hint to ViewRootImpl" into pi-dev 2018-03-07 22:58:34 +00:00
Phil Weaver
f397f44756 Merge "Improve a11y pane title javadoc" into pi-dev 2018-03-07 22:38:07 +00:00
Felipe Leme
e69eeb2f81 Merge "Implemented notifyViewClicked() on compat mode." into pi-dev am: f99b1d8fd9
am: c17f4944a6

Change-Id: Id0be94092ca85ba2bdf42f9bb757f2290c7d1fdb
2018-03-07 20:06:59 +00:00
TreeHugger Robot
f99b1d8fd9 Merge "Implemented notifyViewClicked() on compat mode." into pi-dev 2018-03-07 19:40:55 +00:00
John Reck
f1b961033f Fix NPE if app context is null
Change-Id: Ic21ae50e5421a8c711e133ffe2ff218160382297
Fixes: 74260094
Test: builds, boots, and graphicsstats still works
2018-03-07 11:08:39 -08:00
Phil Weaver
37cc3c410a Improve a11y pane title javadoc
Bug: 74123987
Test: Just changing comments.
Change-Id: I7f21947a35d1baccf171346979164718386c5b71
(cherry picked from commit 50d2808b95)
2018-03-07 18:06:05 +00:00
Phil Weaver
2c9e780c4f Fix accessibility action parceling
We were using an int for a bitmask, but the number of
standard actions reached 32 with the tooltip actions.
Switching to long.

This CL is mostly ag/3662206, but that CL did not
convert everything to ints.

Bug: 73897184
Test: AccessibilityNodeInfo tests caught this bug. I've also
enhanced it to make sure that all standard actions work
across parceling.

Change-Id: I2adae3ec34ac327af354449fbe6511f01cc30b2f
(cherry picked from commit c9bf45564b)
2018-03-07 17:58:42 +00:00
TreeHugger Robot
33d783fce6 Merge "TextClassifierService.onSelectionEvent" 2018-03-07 17:44:23 +00:00
Richard Ledley
847446d7f8 Merge "Don't use highlighting in non-selectable text. Also fixes potential discrepancy in indexes for Linkified entities." into pi-dev 2018-03-07 17:30:20 +00:00
Felipe Leme
54cc68370c Implemented notifyViewClicked() on compat mode.
Test: atest CtsAutoFillServiceTestCases:android.autofillservice.cts.VirtualContainerActivityCompatModeTest#testSave_submitButtonClicked

Fixes: 73649008

Change-Id: Icf6a8b617e06055c58e38c5b7208c7f3ef3121ee
2018-03-07 09:27:02 -08:00
Phil Weaver
904eadc581 Merge "Fix accessibility action parceling" 2018-03-07 16:48:29 +00:00
Adrian Roos
9e370f2912 Window: Provide frame size hint to ViewRootImpl
Provides a better estimate to the ViewRootImpl about the likely
window frame size than it can get from the configuration, which
allows it to avoid unneccessary measure passes.

Bug: 73813813
Test: atest PhoneWindowManagerLayoutTest
Change-Id: Ia4de6509416d90eed61929ce1646904c31afdd8d
2018-03-07 16:53:54 +01:00
Abodunrinwa Toki
c6a56a31b7 TextClassifierService.onSelectionEvent
Bug: 67609167
Test: bit FrameworksCoreTests:android.view.textclassifier.TextClassificationManagerTest
Test: bit FrameworksCoreTests:android.view.textclassifier.logging.SelectionEventTest
Change-Id: Ib5af1ec80a38432d1201fbc913acdc3597d6ba82
2018-03-07 12:50:33 +00:00
Android Build Merger (Role)
5f4e4a4864 Merge "Merge "IME API: rename IMS methods." into pi-dev am: 2b00eaed27 am: 327c666924" 2018-03-07 03:40:20 +00:00
Tarandeep Singh
01041c97ff Merge "IME API: rename IMS methods." into pi-dev am: 2b00eaed27
am: 327c666924

Change-Id: I49cfc349a87cd6b9d116b67102178d0bf6219f3d
2018-03-07 03:38:54 +00:00
Phil Weaver
50d2808b95 Improve a11y pane title javadoc
Bug: 74123987
Test: Just changing comments.
Change-Id: I7f21947a35d1baccf171346979164718386c5b71
2018-03-06 17:23:01 -08:00
Phil Weaver
c9bf45564b Fix accessibility action parceling
We were using an int for a bitmask, but the number of
standard actions reached 32 with the tooltip actions.
Switching to long.

This CL is mostly ag/3662206, but that CL did not
convert everything to ints.

Bug: 73897184
Test: AccessibilityNodeInfo tests caught this bug. I've also
enhanced it to make sure that all standard actions work
across parceling.

Change-Id: I2adae3ec34ac327af354449fbe6511f01cc30b2f
2018-03-06 13:07:36 -08:00
Siarhei Vishniakou
85ddfffd2f Move display id into MotionEvent
Display id is now part of MotionEvent.

Test: atest view.MotionEventTest view.KeyEventTest
Bug: 64258305

Change-Id: Ifadd6b34f4dd5a91669baf146daa62944d1de974
2018-03-06 11:53:07 -08:00