Commit Graph

15222 Commits

Author SHA1 Message Date
Treehugger Robot
271a28c3c3 Merge "Update language to comply with Android's inclusive language guidance" am: 4aab6d6cfe am: 22298bfb7a am: d89a8edb77 am: 8ecdbfaafa am: 439cf37042
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1382387

Change-Id: Iad1c9da61e897f1b0ff5cf24e40eb48845ef46cb
2020-07-31 16:26:21 +00:00
Treehugger Robot
439cf37042 Merge "Update language to comply with Android's inclusive language guidance" am: 4aab6d6cfe am: 22298bfb7a am: d89a8edb77 am: 8ecdbfaafa
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1382387

Change-Id: I80cba3d6eca00c23f158563209de1f288d152f82
2020-07-31 16:09:35 +00:00
Treehugger Robot
d89a8edb77 Merge "Update language to comply with Android's inclusive language guidance" am: 4aab6d6cfe am: 22298bfb7a
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1382387

Change-Id: I29dbd2c00e3e4f22e14024ed61e4eb931063d48a
2020-07-31 15:32:40 +00:00
Lais Andrade
a0670fa770 Update language to comply with Android's inclusive language guidance
See https://source.android.com/setup/contribute/respectful-code for reference

#inclusivefixit

BUG=162536543

Change-Id: I4fbb7bba633c90c66c95117d17fde5a6c7374fde
2020-07-31 13:25:44 +00:00
TreeHugger Robot
ec37956cb2 Merge "Wire-up colorMode="hdr"" 2020-07-31 00:02:05 +00:00
TreeHugger Robot
3f42e58b95 Merge "Update FocusFinder" into rvc-qpr-dev am: 5b88562f8c am: 7033cedb69
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12228031

Change-Id: I28d94b80ba7baf1c339fa7692c6616c61ff5ad51
2020-07-30 19:42:18 +00:00
TreeHugger Robot
7033cedb69 Merge "Update FocusFinder" into rvc-qpr-dev am: 5b88562f8c
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12228031

Change-Id: I76c548a63aba55e34601fec2a2a0ed8c44ef7a19
2020-07-30 19:18:05 +00:00
TreeHugger Robot
5b88562f8c Merge "Update FocusFinder" into rvc-qpr-dev 2020-07-30 19:07:05 +00:00
John Reck
b36bfddb1e Wire-up colorMode="hdr"
Fow now it uses a fixed white point of 150nits
TBD if this is disabled or adjusted

Test: Demo app
Change-Id: Iac13597b3d7633fdef3feaf7ec1da0c27c87904c
2020-07-30 08:54:03 -07:00
Chavi Weingarten
69fb8a4b9d Merge "Added ScreenCaptureArgs and LayerCaptureArgs" 2020-07-30 00:44:19 +00:00
Adam He
81e4ee1a46 Merge "Updated docs with clarifications on specific limitations with the new Inline APIs." into rvc-dev am: 3532bdaa36 am: f336feb6df am: adfe4b5116 am: a0fcfe76ed
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12175369

Change-Id: I5e8253177e26f2eadc635bb59c8fecfdddc600c4
2020-07-29 22:49:45 +00:00
chaviw
fa09f2614d Added ScreenCaptureArgs and LayerCaptureArgs
Created builders for each class to make it simpler to add optional
arguments

Test: Builds
Bug: 162367424
Change-Id: I0f06cebe698fe744a1af39dfb623d53c38c21ea6
2020-07-29 15:49:24 -07:00
Adam He
a0fcfe76ed Merge "Updated docs with clarifications on specific limitations with the new Inline APIs." into rvc-dev am: 3532bdaa36 am: f336feb6df am: adfe4b5116
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12175369

Change-Id: I78b7abc79fb695913bca2439a56da6ea77a0d726
2020-07-29 22:34:43 +00:00
Chavi Weingarten
39cab79228 Merge "Screenshot secure layers in ColorFade" 2020-07-29 22:15:26 +00:00
Adam He
7276e5680b Merge "Updated docs with clarifications on specific limitations with the new Inline APIs." into rvc-dev am: 3532bdaa36 am: f336feb6df
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12175369

Change-Id: I2f89dced04d50430651faf8a80036452da413768
2020-07-29 22:15:23 +00:00
Adam He
adfe4b5116 Merge "Updated docs with clarifications on specific limitations with the new Inline APIs." into rvc-dev am: 3532bdaa36 am: f336feb6df
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12175369

Change-Id: I8c4d50150824f8f64b2c961663e19bf15331acb0
2020-07-29 22:13:52 +00:00
Adam He
6ebc2cc95a Merge "Updated docs with clarifications on specific limitations with the new Inline APIs." into rvc-dev am: 3532bdaa36
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12175369

Change-Id: Ic53a949c233347006124174fc07f0f802be51fed
2020-07-29 21:56:38 +00:00
Adam He
3532bdaa36 Merge "Updated docs with clarifications on specific limitations with the new Inline APIs." into rvc-dev 2020-07-29 21:45:59 +00:00
Ryan Lin
6fcbdf03b2 Merge "Add source bounds change callback" 2020-07-28 23:55:30 +00:00
TreeHugger Robot
5948d5c209 Merge changes from topic "max_bounds"
* changes:
  Verify DisplayArea bounds in WindowMetricsTests
  Add DisplayArea support for WM#getMaximumWindowMetrics
2020-07-28 09:11:34 +00:00
ryanlwlin
d934df6bbd Add source bounds change callback
Add sourcebounds change callback so that A11yFramwork could know
the center. It is also for magnification public API callback

Bug: 161669184
Test: WindowMagnificationControllerTest
Change-Id: I08c1f9c6f9f5eb540d960c89388b93437d79871a
2020-07-28 12:53:46 +08:00
Adam He
edc354d399 Updated docs with clarifications on specific limitations with the new
Inline APIs.

* limitations with multiple locales.
* limit on max number of suggestions.
* guidance on managing the order of inline suggestions when inflating.

Fixes: 161486684
Test: atest android.autofillservice.cts.inline
Change-Id: Ia560d48f95730d79bc340ff9eb0cf4a5909bf0d3
2020-07-27 16:18:15 -07:00
TreeHugger Robot
bde58d21a3 Merge "Offset dirty rect for surface insets correctly." 2020-07-27 00:22:59 +00:00
Yabin Huang
18048e074b Update FocusFinder
Don't return the current view when finding the next or previous view.

Bug: 158492287
Test: atest cts/tests/tests/view/src/android/view/cts/FocusFinderTest.java
atest frameworks/base/core/tests/coretests/src/android/view/FocusFinderTest.java

Change-Id: Ib5c1854d1a13b9469ca55dfbf0be61bead47e29e
(cherry picked from commit 713af5fdd3)
2020-07-24 22:03:51 +00:00
Xin Li
6177a513ce Merge "Merge stage-aosp-rvc-ts-dev into rvc-dev" into rvc-dev am: e303dd658d am: cd85e10058 am: 8f75424d27 am: 5cf151b9da
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12203661

Change-Id: I9ca6ee43c445104a7e6b4dd6444b9cb9dc2dab19
2020-07-24 09:19:17 +00:00
Xin Li
5cf151b9da Merge "Merge stage-aosp-rvc-ts-dev into rvc-dev" into rvc-dev am: e303dd658d am: cd85e10058 am: 8f75424d27
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12203661

Change-Id: Id3cf8034c08d231c4dcb91a836150f94c17c9e02
2020-07-24 09:01:22 +00:00
Xin Li
8f75424d27 Merge "Merge stage-aosp-rvc-ts-dev into rvc-dev" into rvc-dev am: e303dd658d am: cd85e10058
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12203661

Change-Id: Icedef80125545e1b9c54133718763e559b00629d
2020-07-24 08:45:41 +00:00
chaviw
3ce0539bd3 Screenshot secure layers in ColorFade
When taking a screenshot for ColorFade, allow the screenshot to capture
secure layers, but ensure the SurfaceControl is also marked as secure.
This is to ensure that the screenshot that contains the secure layer
can't itself be screenshotted.

Also cleaned up some unused SurfaceControl.screenshot methods that are
no longer used due to this change

Fixes: 155744498
Test: Turn screen off with secure layers on screen
Change-Id: I064a93f5210af696d52df21380801134b57acc9f
2020-07-23 17:31:23 -07:00
TreeHugger Robot
8b39a57457 Merge "Undo the initialization if TimeoutException occurred." 2020-07-23 16:20:31 +00:00
Joanne Chung
3cc809b0d9 Undo the initialization if TimeoutException occurred.
If TimeoutException occurred, we don't know whether mService.addClient
succeeded. We should call mService.removeClient() to make service to
unregister the client if exists and reset the mServiceClient.

Bug: 156044027
Test: atest CtsAutoFillServiceTestCases
Test: Run adb shell dumpsys -T 60000 activity -v all to see log

Change-Id: I10ce988603f47117d0efddcc014ec51b72d3b3b4
2020-07-23 20:26:12 +08:00
Kevin Hufnagle
c036e8739c Merge "docs: Use more inclusive pronouns" into rvc-dev am: 5c4491e04b am: eb65f3d86b am: 64a447986e am: ceff8ff8cd
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12196424

Change-Id: I06e40c41a3991a32a132997288fce9c9c292e704
2020-07-22 01:18:46 +00:00
Kevin Hufnagle
ceff8ff8cd Merge "docs: Use more inclusive pronouns" into rvc-dev am: 5c4491e04b am: eb65f3d86b am: 64a447986e
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12196424

Change-Id: I4cc8c2f5cce2f184d6dcbfcc8257ca4af8eb4150
2020-07-22 00:59:42 +00:00
Kevin Hufnagle
64a447986e Merge "docs: Use more inclusive pronouns" into rvc-dev am: 5c4491e04b am: eb65f3d86b
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12196424

Change-Id: I6124999b50cdfc9b02d5ec5e761c24f7bec5b5a9
2020-07-22 00:47:02 +00:00
Kevin Hufnagle
9b5478a0b9 Merge "docs: Use more inclusive pronouns" into rvc-dev am: 5c4491e04b am: eb65f3d86b
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12196424

Change-Id: If30564dd38a5e5f21373543d66de9158fee4623a
2020-07-22 00:46:40 +00:00
Kevin Hufnagle
269b829684 Merge "docs: Use more inclusive pronouns" into rvc-dev am: 5c4491e04b
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12196424

Change-Id: If709a97f28281e1da2087535f5dbabaa8e233dd8
2020-07-22 00:29:19 +00:00
Kevin Hufnagle
5c4491e04b Merge "docs: Use more inclusive pronouns" into rvc-dev 2020-07-22 00:07:00 +00:00
TreeHugger Robot
6010192c06 Merge "Bring back touch events for double tap and double tap and hold." 2020-07-21 23:03:22 +00:00
TreeHugger Robot
8870d0d4f4 Merge "Update display info on hotplug" 2020-07-21 20:15:14 +00:00
Marin Shalamanov
0c451ddca6 Update display info on hotplug
Test: manually conect DUT to a display, then to
      a different display
Bug: 158220266
Change-Id: I44eead97e0a09a0370a3eb674d207d1c9d0e92cc
2020-07-21 20:24:00 +02:00
Yuichiro Hanada
b6843d5d27 Offset dirty rect for surface insets correctly.
Dirty rect can be offset wrongly if surfaceInsets.top is different from
surfaceInsets.right. It causes some part of UI is not rendered
correctly.

Bug: 158044845
Test: go/wm-smoke

Change-Id: Ice0158c455ce99c27f03005ae5deaa2b04d000c2
2020-07-21 18:51:57 +09:00
Wale Ogunwale
329a912ad5 Merge "Prevent exception when surrounding text retrieval" into rvc-dev am: 309cfa3431 am: f4fb8c1457 am: faa7063aaa am: e42009f63f
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12167896

Change-Id: Ifc2d45e026d33c74746bdb39bee676cc5f5a9e1e
2020-07-21 02:17:11 +00:00
Wale Ogunwale
e42009f63f Merge "Prevent exception when surrounding text retrieval" into rvc-dev am: 309cfa3431 am: f4fb8c1457 am: faa7063aaa
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12167896

Change-Id: Ic10c3aebed390d6d8d054091e1d7635d25b5fb17
2020-07-21 02:00:41 +00:00
Wale Ogunwale
256cbd1b51 Merge "Prevent exception when surrounding text retrieval" into rvc-dev am: 309cfa3431 am: f4fb8c1457
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12167896

Change-Id: I1b7446f698daabf5eae3039fa91efeccd111f1a9
2020-07-21 01:42:02 +00:00
Wale Ogunwale
faa7063aaa Merge "Prevent exception when surrounding text retrieval" into rvc-dev am: 309cfa3431 am: f4fb8c1457
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12167896

Change-Id: Ib618bddd560576fe1d7bbf1b6a78f70b4733eac9
2020-07-21 01:41:57 +00:00
Wale Ogunwale
56e2b90936 Merge "Prevent exception when surrounding text retrieval" into rvc-dev am: 309cfa3431
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12167896

Change-Id: I0707a8ab55eb3aa96b2f3107648db67f848256df
2020-07-21 01:24:53 +00:00
Wale Ogunwale
309cfa3431 Merge "Prevent exception when surrounding text retrieval" into rvc-dev 2020-07-21 01:03:03 +00:00
Kevin Hufnagle
56cd67c4e4 docs: Use more inclusive pronouns
Change "his" to "their" in 2 places

Change-Id: Ib03e1967edd5d13f999c9290aabc56db33bf4fc0
Test: none (docs-only change)
Bug: 160937339
2020-07-20 22:55:07 +00:00
Adrian Roos
0c3233eb59 Merge "Fix hiding keyboard animation stuck while dialog dismissing." into rvc-dev am: dac09ee7fe am: 0a49dd38a2 am: 869a1892db am: 35fc2fdf6c
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12174530

Change-Id: Ieaaeaaba7f061b4c651f7c0726332292872dcb99
2020-07-17 22:12:44 +00:00
Adrian Roos
35fc2fdf6c Merge "Fix hiding keyboard animation stuck while dialog dismissing." into rvc-dev am: dac09ee7fe am: 0a49dd38a2 am: 869a1892db
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12174530

Change-Id: Iac68c18c16c10c794e1f462ccaedeed656fc6a5b
2020-07-17 21:51:58 +00:00
Adrian Roos
869a1892db Merge "Fix hiding keyboard animation stuck while dialog dismissing." into rvc-dev am: dac09ee7fe am: 0a49dd38a2
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12174530

Change-Id: I22615abd9c1a987d2b797db0701573d552441a8f
2020-07-17 21:40:31 +00:00