Leon Scroggins
dfcdf5d529
Merge "Update docs for location of matching native flags"
2022-08-26 21:10:02 +00:00
Taran Singh
5f1971ff4d
Merge changes from topics "performHandwritingGesture-return", "supported-gestures"
...
* changes:
Add consumer callback in performHandwritingGesture()
Add supported gesture type to EditorInfo
2022-08-26 18:26:54 +00:00
Tiger Huang
3a8fb05149
Merge "Enable LOCAL_LAYOUT" into tm-qpr-dev am: 2220c995a4 am: 81e8a4eb7f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18030522
Change-Id: I8a7153c3029b9ac82bb5cc994046d526dc1d91e8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-26 17:39:26 +00:00
Tiger Huang
81e8a4eb7f
Merge "Enable LOCAL_LAYOUT" into tm-qpr-dev am: 2220c995a4
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18030522
Change-Id: I9848f788b2eff05772fd6c90421cc458f0a4c7b8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-26 17:15:36 +00:00
Tiger Huang
2220c995a4
Merge "Enable LOCAL_LAYOUT" into tm-qpr-dev
2022-08-26 16:56:26 +00:00
Vaibhav Devmurari
3d81a3d7d3
Merge "Save country code information in InputDevice"
2022-08-26 09:27:39 +00:00
Rhed Jao
31856cd532
Merge "Improve package visibility gap for TextServicesManager"
2022-08-26 02:07:51 +00:00
Daniel Norman
47d8fe5c9f
Merge changes from topic "reland-a11y-adp"
...
* changes:
Tweak behavior of isAccessibilityDataPrivate() to reduce CPU usage.
Revert "Revert "Limit off-label accessibility access using a new..."
2022-08-25 23:25:12 +00:00
Taran Singh
4b5d696935
Add consumer callback in performHandwritingGesture()
...
performHandwritingGesture should take an optional IntConsumer
& executor to provide result of Gesture operation back to IME.
Bug: 210039666
Bug: 239783077
Test: atest InputConnectionEndToEndTests
Change-Id: I2ca7eaa182159b7ffef0812d970512ffcf817ce2
2022-08-25 13:58:44 -07:00
Taran Singh
f135f8952b
Add supported gesture type to EditorInfo
...
Editors should declare which Scribe Gestures do they support
as a means of providing this info to IME.
Bug: 239783077
Test: atest CtsInputMethodTestCases
Change-Id: Ic52a48c0a04d405e65ad49e9d447d603fefb4eb0
2022-08-25 13:58:44 -07:00
Leon Scroggins III
f265c480b0
Update docs for location of matching native flags
...
These flags have moved. Update the documentation stating which file to
keep the flag in sync with.
Bug: NA
Test: NA - documentation-only change
Change-Id: I679ee6534d697a9f2ba452a83258569688100707
2022-08-25 12:39:53 -04:00
Ming-Shin Lu
ebef237175
Merge "Fix IME jumpcut when playing user IME animation after IME restarted" into tm-qpr-dev am: 469cbe9037
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19600919
Change-Id: I6a80cf882660267d6a131ebb016a09e09c34297a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-25 16:32:23 +00:00
Ming-Shin Lu
469cbe9037
Merge "Fix IME jumpcut when playing user IME animation after IME restarted" into tm-qpr-dev
2022-08-25 16:13:08 +00:00
Vaibhav Devmurari
053555a70f
Save country code information in InputDevice
...
Country code information is passed by a HID device over sysfs.
We can read that information and save it in InputDevice which
will be later used for auto-detecting Layout for PK.
More information in DD: go/pk_auto_layout_detection
Test: atest InputDeviceTest
Bug: 242715614
Change-Id: I97bde1f2338ad601a7e2636600038e6ca124e3ff
2022-08-25 13:14:05 +00:00
Yunfan Chen
2b8d3880a0
Merge "Refine the way of calculating insets for configuration (1/3)" into tm-qpr-dev am: cc9f87d9e6 am: 75d85bac78
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19333110
Change-Id: I573bb2b6c862c5ed44da773015f96f0c51f3c2c2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-25 06:12:01 +00:00
Yunfan Chen
75d85bac78
Merge "Refine the way of calculating insets for configuration (1/3)" into tm-qpr-dev am: cc9f87d9e6
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19333110
Change-Id: Id3f7effad6f179c9613b8d390e300426eba88c8f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-25 05:41:50 +00:00
Taran Singh
7a94646a65
Merge "Improve handwriting Ink window lifetime"
2022-08-25 04:37:22 +00:00
Yunfan Chen
6640d839aa
Refine the way of calculating insets for configuration (1/3)
...
The original patch reverted as commit
bc0d5539e6 .
This patch only includes the part of refactors to make the calculation
of configuration around insets easier. The actual change of making extra
navigation bar treated as navigation bar and the fix of the UiDevice in
ui automator is in a separate patch to avoid being blocked and blocking
other changes for long.
Test: PlatformScenarioTests
Test: TaplTestsQuickstep, ThemeIconsTest, TaplTestsLauncher3
Bug: 238981445
Bug: 238985243
Bug: 238581838
Bug: 233945217
Change-Id: If966bcc8125300d47d5cd631f7db17ff027e5261
2022-08-24 09:01:03 +00:00
Rhed Jao
9ddd4d4fc7
Improve package visibility gap for TextServicesManager
...
Two APIs in TextServicesManager expose the installed spell checker
packages to the caller without holding the query package permission.
- getSpellCheckerService
- getEnabledSpellCheckers
This cl filter the access to spell checkers from the caller by rules
of package visibilty.
Bug: 212287294
Bug: 212287061
Test: atest CtsAppEnumerationTestCases
Test: atest android.view.inputmethod.cts.SpellCheckerTest
Change-Id: I109231ca438db3a1df95a54322548bb11c026a78
2022-08-24 16:19:22 +08:00
Taran Singh
ba58e63d52
Merge "Introduce Scribe Rich gestures API"
2022-08-24 06:40:48 +00:00
Taran Singh
f092a7cb23
Improve handwriting Ink window lifetime
...
1. When the system removes the last known stylus device
and has no other stylus available, remove the Ink window.
2. Create InkWindow only if the device+IME combination supports
handwriting and the stylus is being used.
Bug: 243571274
Bug: 239121683
Bug: 210039666
Test: atest StylusHandwritingTest
Change-Id: Icd3eea91fe144cff7100d3ecf19191c064c0d196
2022-08-24 00:24:04 +00:00
Vishnu Nair
907f26446f
Merge "SurfaceView: Fix incorrect position changed check"
2022-08-23 22:56:48 +00:00
Vishnu Nair
91496017e6
Merge "SurfaceComposerClient: Remove setSize"
2022-08-23 21:48:45 +00:00
Vishnu Nair
1ba48ac8d2
Merge "SurfaceComposerClient: Expose default apply token"
2022-08-23 21:48:35 +00:00
Daniel Norman
bc666bea02
Tweak behavior of isAccessibilityDataPrivate() to reduce CPU usage.
...
Changes:
- Cache the value of isAccessibilityDataPrivate().
- Change callers to check if the a11y service isAccessibilityTool
first where possible, to prevent unnecessary calls to
isAccessibilityDataPrivate() for "happy use case" users (anyone
not using a non-a11y-tool).
Using simpleperf during UI benchmark test, % of CPU in frameworks.jar
from isAccessibilityDataPrivate():
- before: 71.6% ( :O )
- after: 0.25%
Bug: 242267091
Test: atest com.android.uibench.microbenchmark.UiBenchBrowseContentScrollNoBitmapUploadMicrobenchmark#testBrowseContentScrollNoBitmapUpload
Change-Id: Ie0c89c2fb893be1c7347a0acfb0ede0993034ee6
2022-08-23 20:41:02 +00:00
Daniel Norman
60bb7c9bca
Revert "Revert "Limit off-label accessibility access using a new..."
...
Revert submission 19637776-revert-19246592-accessibility-tool-only-VJOPAMQMLT
Reason for revert: Relanding with fix
Reverted Changes:
I701b811fd:Revert "Limit off-label accessibility access using...
I85c58736b:Revert "CTS tests for the accessibilityDataPrivate...
Change-Id: Idfb12294c4ba75dfba8abd90985dea548d29042a
2022-08-23 20:40:08 +00:00
Daniel Norman
f118b24feb
Merge "Allow app-process tooling to navigate the AccessibilityNodeInfo tree."
2022-08-23 16:06:41 +00:00
Taran Singh
3e3ff1a3d2
Introduce Scribe Rich gestures API
...
During a stylus handwriting session, user can perform a
stylus gesture operation like Select, delete, insert on an
area of text. IME needs APIs to perform these gestures on text.
This CL introduces API signature for Select, delete, insert gestures.
Design doc: go/scribe-gestures-api
Bug: 239783077
Bug: 210039666
Test: Manually build & compile HandwritingIme
Change-Id: I53bcb62e03ac1c371feb60d1385c88c921754092
2022-08-22 14:22:47 -07:00
Daniel Norman
57bb237ac7
Allow app-process tooling to navigate the AccessibilityNodeInfo tree.
...
This change bypasses the AccessibilityService and directly
connects AccessibilityInteractionClient to ViewRootImpl's
AccessibilityInteractionController.
Bug: 238391032
Test: Use for Espresso a11y testing
Test: atest AccessibilityEndToEndTest
Change-Id: I0881067a9e5290e208cf3065c149f2a3b433b80c
2022-08-22 17:37:55 +00:00
Treehugger Robot
6debd63a75
Merge "View OWNERS: include PendingInsetsController.java in the WindowManager rules" am: ce2023b664 am: c20cde6ce5 am: 3edaa51344 am: 6cdbdf26c3 am: d22d44dd2e
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2190615
Change-Id: Ic241516467d6eec5c98fa918fd1f9ae7b504f845
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-22 13:34:54 +00:00
Treehugger Robot
d22d44dd2e
Merge "View OWNERS: include PendingInsetsController.java in the WindowManager rules" am: ce2023b664 am: c20cde6ce5 am: 3edaa51344 am: 6cdbdf26c3
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2190615
Change-Id: Iddd6f583f9c71d13a24a53d333fd5a97a7d9f26d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-22 13:15:58 +00:00
Ming-Shin Lu
33d5d471f4
Merge "Fix WIC#hide(ime()) no-op when IME insets not controllable"
2022-08-22 08:36:50 +00:00
Hongwei Wang
17ed770a06
Merge "[Re-land] Remove getSfInstance usage from ViewRootImpl" into tm-qpr-dev am: 5238c74d09 am: e38914405d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19600075
Change-Id: I4d69a0790a0a04fddfcbe807cfa78b698f2312bf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-19 22:57:03 +00:00
Hongwei Wang
e38914405d
Merge "[Re-land] Remove getSfInstance usage from ViewRootImpl" into tm-qpr-dev am: 5238c74d09
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19600075
Change-Id: Ic93af6c2551e85c439765e3e47592a25d51fac5d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-19 22:28:26 +00:00
Hongwei Wang
5238c74d09
Merge "[Re-land] Remove getSfInstance usage from ViewRootImpl" into tm-qpr-dev
2022-08-19 22:03:03 +00:00
Hyunyoung Song
fe0cbe512d
Merge "Add passive callback for system-run insets animation" into tm-qpr-dev am: 7f9f126df7 am: 89612ae180
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19434248
Change-Id: I3cadba2101521a0093861b9e4c5660c8fa6eb39d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-19 19:12:33 +00:00
Hyunyoung Song
89612ae180
Merge "Add passive callback for system-run insets animation" into tm-qpr-dev am: 7f9f126df7
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19434248
Change-Id: I9544fd82036706c19031597c1fdf8e316c5f3f09
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-19 18:38:26 +00:00
Hyunyoung Song
7f9f126df7
Merge "Add passive callback for system-run insets animation" into tm-qpr-dev
2022-08-19 18:37:40 +00:00
Ming-Shin Lu
ca7c4b3757
Merge "Fix toggleSoftInput can't hide IME when the app in multi-window mode" into tm-qpr-dev am: a9fa413a21 am: 4141dae212
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19600536
Change-Id: I7a7ed559b4e063bd44a2365ad449c2014ca9932b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-19 17:37:03 +00:00
Fiona Campbell
9fc75e8977
Merge changes I36ea0ffc,I1f3797c5,I01aeeedd into tm-qpr-dev am: a01ccaae13 am: 477064e500
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19638897
Change-Id: If73108977792457238cab50ae67ed62e66e89096
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-19 17:36:07 +00:00
Ming-Shin Lu
4141dae212
Merge "Fix toggleSoftInput can't hide IME when the app in multi-window mode" into tm-qpr-dev am: a9fa413a21
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19600536
Change-Id: Ied238b5980f4609b5a0a9b77301f691a6dd0637d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-19 16:14:11 +00:00
Fiona Campbell
477064e500
Merge changes I36ea0ffc,I1f3797c5,I01aeeedd into tm-qpr-dev am: a01ccaae13
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19638897
Change-Id: I32169097c0b807836bb989f60111cedcd49191b9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-19 16:11:34 +00:00
Ming-Shin Lu
a9fa413a21
Merge "Fix toggleSoftInput can't hide IME when the app in multi-window mode" into tm-qpr-dev
2022-08-19 14:52:59 +00:00
Fiona Campbell
a01ccaae13
Merge changes I36ea0ffc,I1f3797c5,I01aeeedd into tm-qpr-dev
...
* changes:
Add constraints to window duration scale
Add constraints to animation duration scales
Ensure animation scales are within bounds
2022-08-19 14:49:40 +00:00
Adrian Roos
b773c4dade
View OWNERS: include PendingInsetsController.java in the WindowManager rules
...
Change-Id: I8b22a55ccfe3690e9879fcce221c4488f86a9a83
2022-08-19 07:11:47 +00:00
Hyunyoung Song
03110e20d9
Add passive callback for system-run insets animation
...
This passive window inset animation control listener
is used to for logging purpose when hide, show
method is called.
Test: atest InsetsControllerTest
Bug: 240192346
Change-Id: I399268ead9d04b356f10cc3e9ac1da9e31306e86
2022-08-19 05:15:29 +00:00
Vishnu Nair
0c2269fa4b
SurfaceComposerClient: Remove setSize
...
This function is a noop with the introduction of BLAST.
Bug: 238781169
Test: presubmit
Change-Id: I84917bed157a93ec9bfd16d168312ce27ff1765e
2022-08-17 15:51:13 +00:00
Joanne Chung
cf488547e4
Merge "Fix system toolbar doesn't use correct theme." into tm-qpr-dev am: 9e263e643d am: 20dbe919b1
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18800482
Change-Id: Idabdc7d36d30c014d383163a2e01c51fa76bbf9a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-17 13:51:33 +00:00
Joanne Chung
59c6ae9f4d
Merge "Fix translation session id collision bug." into tm-qpr-dev am: ebb357e1c9 am: 1551aae8d7
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19423814
Change-Id: I3e422b41f68fc403dd22d9b6da8d677efe5678e5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-17 13:50:48 +00:00
Vishnu Nair
64a5423477
Merge "SurfaceView: Revert SurfaceLock locking changes" into tm-qpr-dev am: 5b518a2a69 am: f40b84db0a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19602637
Change-Id: Icda98649c9fdb764da1a329aaf2d59a60352cbea
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-17 13:27:25 +00:00