Commit graph

41684 commits

Author SHA1 Message Date
Bill Yi
1cad92ede4 Import translations. DO NOT MERGE
Change-Id: I15b1a2d1ad1b939ef39ef2484f779668c54a1bf8
Auto-generated-cl: translation import
2019-09-24 22:06:40 -07:00
ryanlwlin
389e849a42 Implement text entry key API for accessibility services in AOSP Keyboard
From Android Q, Talkback supports lift-to-type feature if the node claims
it is a text entry key via setTextEntryKey(). We implement this API to
show how this API is applied.

This CL uses AccessibilityNodeInfoCompat instead of AccessibilityNodeInfo
so that the same functionality can be used even on pre-Q devices when
the AccessibilityService supports it.
With that, this CL removes the legacy code of lift-to-type feature,
which was implemented in the AOSP Keyboard side.

Bug: 131644969

Test: manual - enable Talkback suporting lift-to-type,check Talback
perform click action when finger is lifted.

Change-Id: I1ec2928f5a9ba0bde999b09d4c0b9c922f179a2a
2019-09-17 20:42:45 +08:00
Bill Yi
b2d2dff9b6 [automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev
am: a47de0ea53 -s ours
am skip reason: subject contains skip directive

Change-Id: I2aefc157ff64e0e3b62d16909e0cf56ef1408b42
2019-09-15 15:15:46 -07:00
Bill Yi
1855c48f02 [automerger skipped] Import translations. DO NOT MERGE
am: 6d4054689c -s ours
am skip reason: subject contains skip directive

Change-Id: I2a5e86721b5dd2b14421bb4c4490a94402ca5d75
2019-09-15 15:15:27 -07:00
TreeHugger Robot
a47de0ea53 Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev 2019-09-15 22:06:33 +00:00
Bill Yi
6d4054689c Import translations. DO NOT MERGE
Change-Id: I4e461ef0ca123067d2e5dfe83bbf2e574c316aaf
Auto-generated-cl: translation import
2019-09-14 13:51:21 -07:00
Bill Yi
926f9a639f Import translations. DO NOT MERGE
Change-Id: Ia6e012e9fc72e368d328f70a573229c9a19601b6
Auto-generated-cl: translation import
2019-09-14 13:49:08 -07:00
lumark
cd50381752 Merge "Create display context when switching IME to new display for AOSP IME" am: 9ab8c21cb8 am: a70b532462
am: 2c8b0d9a2e

Change-Id: Ibd031067e7dbc4fd327185f9040d0ab337ac5923
2019-09-10 19:40:32 -07:00
lumark
2c8b0d9a2e Merge "Create display context when switching IME to new display for AOSP IME" am: 9ab8c21cb8
am: a70b532462

Change-Id: Ie9dc641bd908758d30ae9f0e83182ee4f6036c19
2019-09-10 19:33:31 -07:00
lumark
a70b532462 Merge "Create display context when switching IME to new display for AOSP IME"
am: 9ab8c21cb8

Change-Id: Iba1d43a5f1c264782f318986dcbb19235409d476
2019-09-10 19:26:29 -07:00
Treehugger Robot
9ab8c21cb8 Merge "Create display context when switching IME to new display for AOSP IME" 2019-09-11 02:04:13 +00:00
lumark
87f14f1e18 Create display context when switching IME to new display for AOSP IME
To address IME service context's Resources / DisplayMetrics update
when switching IME window to another display after onConfigurationChange.

We use Context#createDisplayContext to create display specific context when
display changed, to ensure soft keyboard can re-layout with correct resources.

Bug: 126930163
Test: manual with AOSP IME as below steps:
     1) Settings > Developer options > enable "Simulated Display" & "Force desktop mode".
     2) Reboot device
     3) Launch app (i.e. Contacts) with bluetooth or usb mouse in Simulated display.
     4) Tap EditText on app to see see if IME window layout correctly on simulated display.
     5) Launch app (i.e Files) on primary display.
     6) Tap EditText on app to see if IME window layout correctly on primary display.

Change-Id: I0ed6a079af1ed90c75fee1d36d5ce3ef3c41f8ed
Merged-In: I0ed6a079af1ed90c75fee1d36d5ce3ef3c41f8ed
2019-09-11 02:02:48 +00:00
Xin Li
7a2ab62102 [automerger skipped] Merge qt-r1-dev-plus-aosp-without-vendor (5817612) into stage-aosp-master am: 309cb0811a -s ours
am: dc59e8ef85 -s ours
am skip reason: change_id I67cbe34b4646ddfdb0868bf8eaca12100a4e7b16 with SHA1 66fb808791 is in history

Change-Id: I83da0052be33376ba93b76579b8572576f052e55
2019-09-08 15:28:34 -07:00
Xin Li
dc59e8ef85 [automerger skipped] Merge qt-r1-dev-plus-aosp-without-vendor (5817612) into stage-aosp-master
am: 309cb0811a -s ours
am skip reason: change_id I67cbe34b4646ddfdb0868bf8eaca12100a4e7b16 with SHA1 66fb808791 is in history

Change-Id: I6bf3b33ff71e45d1417b068e1220ca3a78767c63
2019-09-08 14:45:40 -07:00
Xin Li
309cb0811a Merge qt-r1-dev-plus-aosp-without-vendor (5817612) into stage-aosp-master
No content change.

Bug: 135460123
Change-Id: Id5c0fc0c6138cd09b46e5029dfeff1fc3f54753a
Merged-In: I67cbe34b4646ddfdb0868bf8eaca12100a4e7b16
2019-09-08 12:45:26 -07:00
Xin Li
d29ac85675 [automerger skipped] Merge "DO NOT MERGE - Merge Android 10 into master" am: ccb19fdda7 -s ours am: 78650efb26
am: e1b597cee6

Change-Id: If18b15bcec3dd48bd5ed166ec93498710c0f6954
2019-09-05 14:31:52 -07:00
Xin Li
e1b597cee6 [automerger skipped] Merge "DO NOT MERGE - Merge Android 10 into master" am: ccb19fdda7 -s ours
am: 78650efb26

Change-Id: Ib06b5ddd7c7c93a6befda77a946c8e878fa4ce1f
2019-09-05 14:07:44 -07:00
Xin Li
78650efb26 [automerger skipped] Merge "DO NOT MERGE - Merge Android 10 into master"
am: ccb19fdda7 -s ours
am skip reason: subject contains skip directive

Change-Id: Ia97dc4e010f0470b8eb37c1556e35774a67945c2
2019-09-05 13:35:32 -07:00
Xin Li
ccb19fdda7 Merge "DO NOT MERGE - Merge Android 10 into master" 2019-09-05 16:53:24 +00:00
Xin Li
66fb808791 DO NOT MERGE - Merge Android 10 into master
Bug: 139893257
Change-Id: I67cbe34b4646ddfdb0868bf8eaca12100a4e7b16
2019-09-04 13:34:53 -07:00
Bill Yi
7735923c52 [automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev
am: 7b9006e18c -s ours
am skip reason: subject contains skip directive

Change-Id: I443f911c5060cde96ff18fbfcd591360e048a290
2019-09-03 12:56:43 -07:00
Bill Yi
b94964512a [automerger skipped] Import translations. DO NOT MERGE
am: e0d1d88541 -s ours
am skip reason: subject contains skip directive

Change-Id: Ia80fec9dd11b52fbd91432b00c1110e16f9005b0
2019-09-03 12:53:38 -07:00
TreeHugger Robot
7b9006e18c Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev 2019-09-03 19:22:38 +00:00
Bill Yi
19b7dc6cbb Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I71e377a96cbf732af7d10ef6db7e964774114179
2019-09-03 08:19:20 -07:00
Bill Yi
e0d1d88541 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I175a8daf0a75e10e0c00c41103c2a30722714fb9
2019-09-03 08:17:03 -07:00
android-build-team Robot
e0b5b0e556 Snap for 5817401 from 4492996f04 to qt-c2f2-release
Change-Id: If3b92847792b21c6038c484c8c918eb225a8a403
2019-08-21 02:25:51 +00:00
android-build-team Robot
da0d47e3c8 Merge cherrypicks of [9231374, 9231389, 9231390, 9231391, 9231375, 9231286, 9231355, 9231376, 9231420, 9231462, 9231356, 9231421, 9231422, 9231402, 9231537, 9231557, 9231440, 9231441, 9231287, 9231288, 9231463, 9231464, 9231465, 9231423, 9231289, 9231392, 9230416, 9231466] into qt-c2f2-release
Change-Id: Ide516e25c98341c3da3c554bbcea7d7f54e795cc
2019-08-20 02:43:55 +00:00
Bill Yi
614c5b4d88 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Ie12258d268be80afd21cf01c8fb2c32d5d522ecb
(cherry picked from commit 1cca7afad6)
2019-08-20 02:41:46 +00:00
Bill Yi
bb87bc5ee9 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I576eae018336f225d9e6c9dce6eaba6742ce9581
(cherry picked from commit 72b1a8b722)
2019-08-20 02:41:42 +00:00
Bill Yi
527eeca672 [automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-r1-dev am: 4492996f04 -s ours
am: 3071857e03 -s ours
am skip reason: subject contains skip directive

Change-Id: Iff64d278eb7d1d18e0ef22f8ad65f22f3cf0d323
2019-08-19 14:04:51 -07:00
Bill Yi
7c1b66885c [automerger skipped] Import translations. DO NOT MERGE am: 72b1a8b722 -s ours
am: 295bba0c03 -s ours
am skip reason: subject contains skip directive

Change-Id: Ibfa4422f4cf0a785b2e54c638d43ed5000551db2
2019-08-19 13:55:48 -07:00
Bill Yi
021da087d7 [automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-r1-dev am: 4492996f04 -s ours
am: c3211cb040 -s ours
am skip reason: subject contains skip directive

Change-Id: Ided46a144d93daec61b04c5759889b27df26ab13
2019-08-19 13:33:52 -07:00
Bill Yi
9d13cc5de0 [automerger skipped] Import translations. DO NOT MERGE am: 72b1a8b722 -s ours
am: 66b32daac4 -s ours
am skip reason: subject contains skip directive

Change-Id: I94a2b591226caeb89e24a7c138c49b4b58aff45b
2019-08-19 13:32:13 -07:00
Bill Yi
c3211cb040 [automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-r1-dev
am: 4492996f04 -s ours
am skip reason: subject contains skip directive

Change-Id: I427927441d7978317f0311239ec3357597603a11
2019-08-19 13:26:19 -07:00
Bill Yi
66b32daac4 [automerger skipped] Import translations. DO NOT MERGE
am: 72b1a8b722 -s ours
am skip reason: subject contains skip directive

Change-Id: I3146a2b640d9fd6e5c12886d0a8bf7c725200d72
2019-08-19 13:23:47 -07:00
Bill Yi
3071857e03 [automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-r1-dev
am: 4492996f04 -s ours
am skip reason: subject contains skip directive

Change-Id: Iaca8ad3c75f35a0dbdb71855fb3abfdaf6fa953e
2019-08-19 13:22:11 -07:00
Bill Yi
295bba0c03 [automerger skipped] Import translations. DO NOT MERGE
am: 72b1a8b722 -s ours
am skip reason: subject contains skip directive

Change-Id: I28fd616ce61c6173b552792fa8a0c538903bccb8
2019-08-19 13:20:39 -07:00
TreeHugger Robot
4492996f04 Merge "Import translations. DO NOT MERGE" into qt-r1-dev 2019-08-19 19:17:46 +00:00
Bill Yi
72b1a8b722 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I576eae018336f225d9e6c9dce6eaba6742ce9581
2019-08-18 07:20:54 -07:00
Bill Yi
1cca7afad6 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Ie12258d268be80afd21cf01c8fb2c32d5d522ecb
2019-08-18 07:18:27 -07:00
Xin Li
197cf7dad0 [automerger skipped] DO NOT MERGE - Skip qt-dev-plus-aosp-without-vendor (5713463) in stage-aosp-master am: 7748102af1 -s ours am: b88a8516f3
am: e548aec3fe

Change-Id: I90fb7c7ed25ef5e46793d7654cdbb09edd4b1e13
2019-08-14 14:41:59 -07:00
Xin Li
e548aec3fe [automerger skipped] DO NOT MERGE - Skip qt-dev-plus-aosp-without-vendor (5713463) in stage-aosp-master am: 7748102af1 -s ours
am: b88a8516f3

Change-Id: I08f2b2c10621f4322ce59bea7c30a336707de79d
2019-08-14 14:07:59 -07:00
Xin Li
b88a8516f3 [automerger skipped] DO NOT MERGE - Skip qt-dev-plus-aosp-without-vendor (5713463) in stage-aosp-master
am: 7748102af1 -s ours
am skip reason: subject contains skip directive

Change-Id: I1229451d40fb142f3f46e591e1dadc652b232685
2019-08-14 13:39:14 -07:00
Xin Li
7748102af1 DO NOT MERGE - Skip qt-dev-plus-aosp-without-vendor (5713463) in stage-aosp-master
Bug: 134405016
Change-Id: I85024313e36aa6450602dd17cd9bcd7220780ecd
2019-08-14 11:35:21 -07:00
android-build-team Robot
6587b970ff Snap for 5753328 from cd95311674 to qt-c2f2-release
Change-Id: I6901161abc94ae12e37a0173008bad062ccb24c7
2019-07-25 03:03:18 +00:00
Bill Yi
1e4d00401d [automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-r1-dev am: cd95311674 -s ours
am: 1080d669ab -s ours
am skip reason: subject contains skip directive

Change-Id: Ibec5e92190b0151678c401d7ee8dc9417c63194b
2019-07-24 17:39:35 -07:00
Bill Yi
ab260ffa84 [automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-r1-dev am: cd95311674 -s ours
am: c83cc88f9b -s ours
am skip reason: subject contains skip directive

Change-Id: I179b15a6ffc24831696d28e86ffba7d145c8f0e8
2019-07-24 17:38:53 -07:00
Bill Yi
1080d669ab [automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-r1-dev
am: cd95311674 -s ours
am skip reason: subject contains skip directive

Change-Id: Ieef0e13f6154015f45f2f5dfa1204eaf40f116a1
2019-07-24 17:26:10 -07:00
Bill Yi
c83cc88f9b [automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-r1-dev
am: cd95311674 -s ours
am skip reason: subject contains skip directive

Change-Id: I78c9b535c5596c089be47a8a06e2e7b309d244f6
2019-07-24 17:26:07 -07:00
Bill Yi
80fa2bdcf9 [automerger skipped] Import translations. DO NOT MERGE am: ce1f65074a -s ours
am: 33dec1203c -s ours
am skip reason: subject contains skip directive

Change-Id: Ie122c64d041547d05d605b0422b54a44ff5cf943
2019-07-24 17:19:20 -07:00