Commit Graph

12910 Commits

Author SHA1 Message Date
Jackal Guo
71bb5aa048 Merge "A11y support for windows in a re-parented display" into qt-r1-dev
am: 6d7b49bead

Change-Id: Ib01e6faf2cfe84fd05de96beaede4bc3fd7b01ab
2019-05-23 20:05:57 -07:00
Jackal Guo
6d7b49bead Merge "A11y support for windows in a re-parented display" into qt-r1-dev 2019-05-24 01:02:17 +00:00
Abodunrinwa Toki
2764a9f1e3 Merge "Convert TextClassifierEvent to SelectionEvent for logging in the default TC." into qt-dev am: a578ecce46
am: aeb8a3b154

Change-Id: I6651ebe1b2c9bccf6a47362b7db5074f41b8ed90
2019-05-23 15:14:24 -07:00
Abodunrinwa Toki
b1007e962c Merge "Convert TextClassifierEvent to SelectionEvent for logging in the default TC." into qt-dev
am: a578ecce46

Change-Id: Ia6afb8f90784676091d70f81492d9b35721b6ca8
2019-05-23 14:47:38 -07:00
Abodunrinwa Toki
aeb8a3b154 Merge "Convert TextClassifierEvent to SelectionEvent for logging in the default TC." into qt-dev
am: a578ecce46

Change-Id: Icadad2e0afaa3355b260f95d011f0dd577115439
2019-05-23 12:55:31 -07:00
Abodunrinwa Toki
a578ecce46 Merge "Convert TextClassifierEvent to SelectionEvent for logging in the default TC." into qt-dev 2019-05-23 19:35:24 +00:00
Abodunrinwa Toki
5258633e2d Convert TextClassifierEvent to SelectionEvent
for logging in the default TC.

TCEvents for selection and links are not currently being written to
default TC logs. This changelist writes these events as SelEvents.

Bug: 131228248
Test: atest android.view.textclassifier.TextClassifierEventTest
Change-Id: I191f2f9281eab1b8a427ef21717fff283a304a22
2019-05-23 13:37:59 +01:00
Jackal Guo
c43a0a6520 A11y support for windows in a re-parented display
Currently, accessibility only supports windows in default display.
The windows in other displays aren't recongnized by accessibility
even they're re-parented to default display. Besides, we need to
offset the bound after re-parented since the original is from its
own display.

Bug: 129098348
Test: atest WindowStateTests
Test: atest DisplayContentTests
Test: a11y CTS & unit tests
Change-Id: I41a84a4c02e3c1be1dab4bd420d504b85787c4fb
2019-05-23 15:39:52 +08:00
Derek Sollenberger
0a6a92dcf2 Merge "Fix fading edge effect from impacting neighboring pixels" into qt-dev am: 9fdd35e9aa
am: a538b561fb

Change-Id: Ibee5ae82eba94822f0526890e785cb0124100d63
2019-05-22 19:29:07 -07:00
Derek Sollenberger
03f24c0350 Merge "Fix fading edge effect from impacting neighboring pixels" into qt-dev
am: 9fdd35e9aa

Change-Id: I4599c37d6113a254b64b9ad4094dad3899e27b8f
2019-05-22 17:49:10 -07:00
Derek Sollenberger
a538b561fb Merge "Fix fading edge effect from impacting neighboring pixels" into qt-dev
am: 9fdd35e9aa

Change-Id: Ia759b9218ee6dbb6b6fa4aea69526de0d7facd84
2019-05-22 16:10:05 -07:00
Felipe Leme
3fe70c6af0 DO NOT MERGE - Re-add ContentCapture support from standard SDK toolkit.
am: 911cb1fa76

Change-Id: I15c8da47beb6b4dd64b627aebb0288fcb359c3e5
2019-05-22 16:00:20 -07:00
Felipe Leme
e57602d081 Merge "Make sure view.setAutofilled() is called when autofilled by augmented-autofill only." into qt-dev am: 64f0871ef7
am: 1583710719

Change-Id: I42616c275cbf99df5ea0242e2765bdb3f724d5cd
2019-05-22 15:07:39 -07:00
TreeHugger Robot
9fdd35e9aa Merge "Fix fading edge effect from impacting neighboring pixels" into qt-dev 2019-05-22 21:32:59 +00:00
Felipe Leme
3e325a2b28 Merge "Make sure view.setAutofilled() is called when autofilled by augmented-autofill only." into qt-dev
am: 64f0871ef7

Change-Id: Ibf704b524efae59fc43efebe13442b7e9253d0e3
2019-05-22 14:14:06 -07:00
TreeHugger Robot
0ac85feb6f Merge "DO NOT MERGE - Re-add ContentCapture support from standard SDK toolkit." into qt-r1-dev 2019-05-22 20:15:34 +00:00
Felipe Leme
1583710719 Merge "Make sure view.setAutofilled() is called when autofilled by augmented-autofill only." into qt-dev
am: 64f0871ef7

Change-Id: Iae22bb88e4879d7ea1253b582ade432f3e354733
2019-05-22 10:34:53 -07:00
TreeHugger Robot
64f0871ef7 Merge "Make sure view.setAutofilled() is called when autofilled by augmented-autofill only." into qt-dev 2019-05-22 16:22:22 +00:00
Qasid Sadiq
30bd95304e Merge "Send subtree changed AccessibilityEvent for all alpha changes." into qt-dev am: 37f6ad6529
am: 5c8b486027

Change-Id: I46e59c4e19ed81e96dbc7028f8b22d3491731d43
2019-05-22 03:43:09 -07:00
Felipe Leme
5f92e8a10d Merge "Fixed javadoc for View.setContentCaptureSession()." into qt-dev am: a4630da2c1
am: 4ba998940f

Change-Id: Ibd10565d3a9a32957cbfd9c221f21c094da1cc47
2019-05-22 02:25:44 -07:00
Qasid Sadiq
a266cfe552 Merge "Send subtree changed AccessibilityEvent for all alpha changes." into qt-dev
am: 37f6ad6529

Change-Id: Ibfbe949d01cfba35a75a714df48f3c7b4597b41e
2019-05-21 23:26:04 -07:00
Felipe Leme
a16741cd5d Merge "Fixed javadoc for View.setContentCaptureSession()." into qt-dev
am: a4630da2c1

Change-Id: I62e5743a0d006aa00b320aab2b7afc01d0e277b5
2019-05-21 22:18:28 -07:00
Qasid Sadiq
5c8b486027 Merge "Send subtree changed AccessibilityEvent for all alpha changes." into qt-dev
am: 37f6ad6529

Change-Id: I2adb455392a30ba7fa384d1f2ae7fa33e92af590
2019-05-21 16:39:51 -07:00
Qasid Sadiq
37f6ad6529 Merge "Send subtree changed AccessibilityEvent for all alpha changes." into qt-dev 2019-05-21 20:03:15 +00:00
Felipe Leme
4ba998940f Merge "Fixed javadoc for View.setContentCaptureSession()." into qt-dev
am: a4630da2c1

Change-Id: I7d29536d2ef374abd692eb29ce70aa235ac8bbd3
2019-05-21 12:14:36 -07:00
Issei Suzuki
f79caa5307 Merge "Synchronize bubble activity rendering status and its visibility change." into qt-r1-dev
am: 08b7be8843

Change-Id: Icbe900fab13c5fd717ccae38c812f03bea8ee143
2019-05-21 11:57:00 -07:00
TreeHugger Robot
a4630da2c1 Merge "Fixed javadoc for View.setContentCaptureSession()." into qt-dev 2019-05-21 17:38:41 +00:00
Issei Suzuki
cac2a50465 Synchronize bubble activity rendering status and its visibility change.
- Add an API ITaskStackListener.onSingleTaskDisplayDrawn() to notifity contents
  are drawn for the first time on a display which can only contain one task.
- BubbleController updates contents visibility (actually alpha value) of
  the Surface in a ActivityView.

Bug: 130442248
Test: atest WmTests:TaskStackChangedListenerTest
Change-Id: Ie5aed373996419b059935889b564ca91c2e3cf23
2019-05-21 13:23:41 +08:00
Mark Renouf
fb9e35db21 Merge "Adds setCornerRadius to ActivityView & SurfaceView" into qt-dev am: b46293f8f6
am: 8cce984f02

Change-Id: I505f07bca9b1f8bf80c75abe2cf2f10248b8b9b1
2019-05-20 10:44:30 -07:00
Mark Renouf
c60f56d8ff Merge "Adds setCornerRadius to ActivityView & SurfaceView" into qt-dev
am: b46293f8f6

Change-Id: If481fa20f4b005c059bae835a431f84fc2da44f4
2019-05-20 10:30:39 -07:00
Abodunrinwa Toki
061a2282fa Merge "Report AUTO_SELECTION as a smart selection event." into qt-dev am: 2cb08912a7
am: 068fd46dcc

Change-Id: Icd2299bc8f7bfba9f73a9a993b428a4c0cfbe8c5
2019-05-20 09:49:20 -07:00
Abodunrinwa Toki
006efcaa64 Merge "Report AUTO_SELECTION as a smart selection event." into qt-dev
am: 2cb08912a7

Change-Id: Ic2a39f88e8f5ab2b2286915c887163d87c4297fe
2019-05-20 09:42:27 -07:00
TreeHugger Robot
b46293f8f6 Merge "Adds setCornerRadius to ActivityView & SurfaceView" into qt-dev 2019-05-20 16:30:20 +00:00
Abodunrinwa Toki
2cb08912a7 Merge "Report AUTO_SELECTION as a smart selection event." into qt-dev 2019-05-20 16:09:43 +00:00
yj81.kwon
b2f088409b Merge "[wm]: Fixed TaskPositioner leak" into qt-dev
am: 050d6df74c

Change-Id: Ife9c5d5da6fae4d40183a6a56a71165001bf6674
2019-05-20 04:54:49 -07:00
TreeHugger Robot
050d6df74c Merge "[wm]: Fixed TaskPositioner leak" into qt-dev 2019-05-19 23:12:25 +00:00
Qasid Ahmad Sadiq
6205820579 Send subtree changed AccessibilityEvent for all alpha changes.
Changes to view.mtransformationInfo.mAlpha outside of View.java weren't triggering subtree AccessibilityEvents.
This is a problem, because that property helps determine a views visibility in accessibility, and AccessibilityServices wouldn't be informed of this change in visibility.
This results in UIs with certain animations not being accessible at all.

This seems like an oversight to begin with, so it's a pretty low risk change.

Test: Tested the reported instance of this bug in Permission Manager, CTSAccessibility*
Change-Id: I02526e5659cf95f1373811008e74954a73addd21
Fix: 127589394
2019-05-17 21:13:17 +00:00
Derek Sollenberger
9d25cc242f Fix fading edge effect from impacting neighboring pixels
Bug: 132354626
Bug: 129117085
Test: skia unit tests and test cases described in the bug
Change-Id: Ieaa7c831dd6298ac0565e6f1837b1c1dbd4545da
(cherry picked from commit ac33a48751)
2019-05-17 17:59:57 +00:00
yj81.kwon
19585ffabf [wm]: Fixed TaskPositioner leak
If application process handles motion events late, it requests to start
moving task after MotionEvent.ACTION_UP is already fired. In that case,
system will wait for event that is not comming and cannot end drag state.
It's expected that the system finishes moving task when system receives
ACTION_UP by transfering touch focus. In a problem case, ACTION_UP event
is already sent to the application process before transfering touch focus.

If application receives ACTION_UP event after requesting moving task,
notify the system of finishing previous request.

Test: Quickly try to resize freeform windowing app repeatedly.
Test: atest WmTests:TaskPositioningControllerTests
Bug: 129507487

Change-Id: Ifa457ddc55524cae6da455e770472781a7805282
(cherry picked from commit 9a1cd7b5063229da536a1281916ae15ec9246d1a)
2019-05-16 16:42:10 -07:00
Felipe Leme
911cb1fa76 DO NOT MERGE - Re-add ContentCapture support from standard SDK toolkit.
This reverts commit ef1c0b36ab.

Test: atest CtsContentCaptureServiceTestCases
Test: m update-api

Bug: 130726495

Change-Id: Iecda9df96722ac8a3184710796032b6c01bd8ea3
2019-05-16 16:05:51 -07:00
Adam He
851c703681 Merge "Metrics for content capture." into qt-dev
am: 815979d5df

Change-Id: I0abb01fbef13917a9bcb494f72afa4879e46e1c8
2019-05-16 13:29:40 -07:00
Adam He
815979d5df Merge "Metrics for content capture." into qt-dev 2019-05-16 19:53:04 +00:00
Felipe Leme
f24af767fe Fixed javadoc for View.setContentCaptureSession().
Test: m -j ds-docs
Fixes: 132724201

Merged-In: I1bb2fbd7a085ab9816f71f8433feafa1f63a28ae
Change-Id: I1bb2fbd7a085ab9816f71f8433feafa1f63a28ae
2019-05-16 15:59:03 +00:00
Mark Renouf
34d04f36c3 Adds setCornerRadius to ActivityView & SurfaceView
Applies corner radius to Bubbles when expanded, based on
dialogCornerRadius theme attribute.

Test: manual -- Enable Bubbles, add one and expand, observe corners
Bug: 123545569
Change-Id: I88162a974534786b4ac8bed4e0fa1302bded9096
2019-05-16 11:22:25 -04:00
Rob Carr
be569d6301 Merge "Restore new SurfaceView background implementation." into qt-dev
am: e6ffb72e55

Change-Id: I5c0c01206c27c1d9e3d0d5b227dda065c46fb531
2019-05-15 22:31:58 -07:00
Adam He
ff2185346e Metrics for content capture.
Bug: 119613670
Test: statsd_testdrive & manual test
Change-Id: Ib2c61d2a3c08a9db779790417eb0177c2420d8fd
Merged-In: If43465ccee7454a7ebf9e15caa23fce7bae33cfe
2019-05-15 11:12:02 -07:00
Rob Carr
e6ffb72e55 Merge "Restore new SurfaceView background implementation." into qt-dev 2019-05-15 17:41:01 +00:00
Jorim Jaggi
1548ff08ee Merge "Fix copying of insets" into qt-dev
am: c3371300eb

Change-Id: I50b086283f08ff783ab9cdd33b71789a6f1a918d
2019-05-15 03:44:47 -07:00
Jorim Jaggi
c3371300eb Merge "Fix copying of insets" into qt-dev 2019-05-15 10:26:02 +00:00
Tiger Huang
a741d7c8c2 Merge "Fix a bug about the z-order of layers caused by merging transactions" into qt-dev
am: 6e52f838ba

Change-Id: I9f164db94a2c943ec1b6d39b2e2f4678f2a39452
2019-05-14 21:24:14 -07:00