Commit Graph

14542 Commits (main)

Author SHA1 Message Date
Bill Yi d7efca3250 Import translations. DO NOT MERGE
Change-Id: Ic8c8b74c22d74c43897762200e7b0c925ce1e5c0
Auto-generated-cl: translation import
2019-09-24 22:10:05 -07:00
Bill Yi 5ac7c60248 Import translations. DO NOT MERGE
Change-Id: I35067db3dbae5228b51d48383eae67eba48a6717
Auto-generated-cl: translation import
2019-09-24 22:09:07 -07:00
Bill Yi 0cdbc7b3b9 Import translations. DO NOT MERGE
Change-Id: I8735b7149146b06e4f2df15c746c24ca83b97b94
Auto-generated-cl: translation import
2019-09-24 22:08:29 -07:00
Bill Yi 3f805692b0 Import translations. DO NOT MERGE
Change-Id: I25500c09630cd8037896424a30086207d489467b
Auto-generated-cl: translation import
2019-09-24 22:07:17 -07:00
Bill Yi 1cad92ede4 Import translations. DO NOT MERGE
Change-Id: I15b1a2d1ad1b939ef39ef2484f779668c54a1bf8
Auto-generated-cl: translation import
2019-09-24 22:06:40 -07:00
TreeHugger Robot b7b8ce6c9b Merge "Import translations. DO NOT MERGE" 2019-09-22 20:06:36 +00:00
Bill Yi 5fe4d13897 Import translations. DO NOT MERGE
Change-Id: I57b997f66c345b0c0514e9c3c7ed7991ea6fc483
Auto-generated-cl: translation import
2019-09-22 03:15:20 -07:00
Bill Yi 02f3f105e1 Import translations. DO NOT MERGE
Change-Id: I65c22d7115304aa452b9d292d6f51967e4f89abe
Auto-generated-cl: translation import
2019-09-22 03:15:05 -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
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
TreeHugger Robot fe3e93b576 Merge "Import translations. DO NOT MERGE" 2019-09-09 20:13:39 +00:00
Bill Yi 2e3edf9b02 Import translations. DO NOT MERGE
Change-Id: If6d07090582c762f5c79dcefbbcc4aeb377632b1
Auto-generated-cl: translation import
2019-09-09 11:34:48 -07:00
Bill Yi e330aac59e Import translations. DO NOT MERGE
Change-Id: I6f8eb4be2955eaebbd85acd61b770c19d64c3dc0
Auto-generated-cl: translation import
2019-09-09 11:34:34 -07:00
Bill Yi 6ce25ae20b Import translations. DO NOT MERGE
Change-Id: I0ad8850037ed50c05776751727c707231671f520
Auto-generated-cl: translation import
2019-08-30 10:51:13 -07:00
Bill Yi 35ae1b2a57 Import translations. DO NOT MERGE
Change-Id: I80a179ff64845d9e2d5783f5aa0f1db0dfc4cd15
Auto-generated-cl: translation import
2019-08-24 14:00:51 -07:00
Bill Yi 450f30db4d Import translations. DO NOT MERGE
Change-Id: Ie360fef58d520aab88d9ac91fcd241f9dd2dbbb2
Auto-generated-cl: translation import
2019-07-29 12:05:20 -07:00
TreeHugger Robot 4fd7107c8b Merge "Import translations. DO NOT MERGE" 2019-07-21 06:42:29 +00:00
Bill Yi 87ad4c979f Import translations. DO NOT MERGE
Change-Id: Ice306f134cebf3e690c82a7b2d1323e3021e7980
Auto-generated-cl: translation import
2019-07-20 01:50:32 -07:00
Bill Yi 317f27da90 Import translations. DO NOT MERGE
Change-Id: Ia43c3b9683afca77e14a783a540bb0544476cb9d
Auto-generated-cl: translation import
2019-07-20 01:50:16 -07:00
TreeHugger Robot 4966ccb748 Merge "Import translations. DO NOT MERGE" 2019-07-11 20:40:24 +00:00
TreeHugger Robot 9e52aa593f Merge "Import translations. DO NOT MERGE" 2019-07-11 20:20:31 +00:00
Bill Yi 2c4b9f4c4e Import translations. DO NOT MERGE
Change-Id: Ie717b206a48323525d983243dff3f369498e8e2e
Auto-generated-cl: translation import
2019-07-10 23:25:35 -07:00
Bill Yi d5104c99b8 Import translations. DO NOT MERGE
Change-Id: Ib0a179d42aaa9afe0d3dcd74526e5bfef976f39f
Auto-generated-cl: translation import
2019-07-10 23:25:28 -07:00
Bill Yi 957770b52f Import translations. DO NOT MERGE
Change-Id: I61256545c68787133dcb179078e6c0a2dad09437
Auto-generated-cl: translation import
2019-07-10 23:25:17 -07:00
lumark 4d464ec07d 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
2019-07-09 21:08:19 +08:00
lumark bd7fbb4ccb Merge "Remove extend touchable region for AOSP keyboard" am: ff1db79a18 am: b1dec95c37 am: 61722df601
am: 075f86ba3b

Change-Id: Ic66c2b5479be4d994aed1cd11422192052fb2df5
2019-07-05 09:09:53 -07:00
lumark b1dec95c37 Merge "Remove extend touchable region for AOSP keyboard"
am: ff1db79a18

Change-Id: Ic162b5e20213a3f1b2aeaf77250bf1d7edc198c5
2019-07-05 07:45:50 -07:00
lumark b4360e65ca Remove extend touchable region for AOSP keyboard
Remove EXTENDED_TOUCHABLE_REGION_HEIGHT from LatinIME#onComputeInsets
to prevent keyboard touch region covered navigation bar
when in split-window mode with display density < 240 case.

Fix: 134893742
Test: manual as below steps:
1) Set window density as 240 with "adb shell wm density 240"
2) Launch a app (i.e. Messages) from recents activity, set as split-screen mode.
3) Tap Search bar to show IME keyboard.
4) Press home / back / recents key if it works, expect it works.

Change-Id: I596b7276041fecc50d2bc095c7e51664f632368d
2019-07-05 03:30:10 +00:00
TreeHugger Robot 2d7a031f4c Merge "Import translations. DO NOT MERGE" 2019-07-01 00:27:32 +00:00
Bill Yi 55141c26c7 Import translations. DO NOT MERGE
Change-Id: I334b253792d204292c3d2ab0e4bee2291fc979d2
Auto-generated-cl: translation import
2019-06-30 09:14:32 -07:00
Bill Yi 6fdd43abb1 Import translations. DO NOT MERGE
Change-Id: I52029df7c39a5af4e6fe76da6edef90d675a6ad2
Auto-generated-cl: translation import
2019-06-30 09:14:18 -07:00
TreeHugger Robot 54af6af084 Merge "Import translations. DO NOT MERGE" 2019-06-09 01:11:28 +00:00
Bill Yi 0881d0470b Import translations. DO NOT MERGE
Change-Id: I75d10c9ab3ed7c355483599c83157d20352a1712
Auto-generated-cl: translation import
2019-06-08 16:18:20 -07:00
Bill Yi e2a8d7d4bf Import translations. DO NOT MERGE
Change-Id: I9794c1317480e86e594b4cff4333e5e72be86517
Auto-generated-cl: translation import
2019-06-08 16:17:50 -07:00
Xin Li a9e018f52d DO NOT MERGE - Merge pi-platform-release (PPRL.190505.001) into stage-aosp-master
Bug: 132622481
Change-Id: I64de94291e8fb8ac0e0b574594c3923aeb97d21d
2019-05-13 15:39:17 -07:00
Bill Yi da490f06b8 Import translations. DO NOT MERGE
Change-Id: I7ec1c2054a3670d38f2631020421a0c6c574de25
Auto-generated-cl: translation import
2019-05-10 23:49:43 -07:00
TreeHugger Robot 593197da73 Merge "Import translations. DO NOT MERGE" 2019-05-09 20:02:06 +00:00
TreeHugger Robot 5056057c27 Merge "Import translations. DO NOT MERGE" 2019-05-09 19:52:21 +00:00
TreeHugger Robot 54108a7270 Merge "Import translations. DO NOT MERGE" 2019-05-09 18:29:25 +00:00
Bill Yi 708d2c3c6f Import translations. DO NOT MERGE
Change-Id: Idd5aa546321308fe3f3700ad3ba85c39ea1c6e54
Auto-generated-cl: translation import
2019-05-08 14:55:55 -07:00
Bill Yi a0a3fe1556 Import translations. DO NOT MERGE
Change-Id: Iedb3a809a9814645adf004992c3808215554e6c8
Auto-generated-cl: translation import
2019-05-08 14:55:46 -07:00
Bill Yi dff7ddfab9 Import translations. DO NOT MERGE
Change-Id: Ib1badde2da2337eac0c7d3442792b10bd1d363c6
Auto-generated-cl: translation import
2019-05-08 14:55:26 -07:00
Bill Yi 9e12b166e5 Import translations. DO NOT MERGE
Change-Id: I4b1e2ad645e0da4b5da30f9f3f37a2328fe25ba2
Auto-generated-cl: translation import
2019-05-08 14:55:07 -07:00
Yohei Yukawa 9dd8853932 Launch AOSP Keyboard Settings on the same display am: d762841494
am: d6c56279b3

Change-Id: Iee16bafc93cd5550cdb8da83b1bf2b93f3b2a83e
2019-05-06 08:37:18 -07:00
Yohei Yukawa d6c56279b3 Launch AOSP Keyboard Settings on the same display
am: d762841494

Change-Id: Id06f29304f0f1e47ee546bacbee28f66d15e8baa
2019-05-06 08:25:05 -07:00
Yohei Yukawa d762841494 Launch AOSP Keyboard Settings on the same display
This CL demonstrates how an IME can show an Activity on the display
where the IME is shown.  The key points are:

 * The current display ID can be obtained as follows.

    final int curentDisplayId = inputMethodService
            .getSystemService(WindowManager.class)
            .getDefaultDisplay()
            .getDisplayId();

 * When launching an Activity, specify the target display ID as
   follows.

    inputMethodService.startActivity(intent, ActivityOptions
            .makeBasic()
            .setLaunchDisplayId(curentDisplayId)
            .toBundle());

Fix: 131718879
Test: Manually verified as follows.
  1. Build aosp_blueline-userdebug and flash it.
  2. adb shell settings put global force_desktop_mode_on_external_displays 1
  3. adb shell settings put global overlay_display_devices 1920x1080/320
  4. adb reboot
  5. With a mouse, launch any application that has input field
     in the secondary display.
  6. Click that input field to bring up AOSP Keyboard.
  7. Long click the comma key then select the gear icon.
  8. Select "Android Keyboard Settings (AOSP)"
  9. Make sure that the AOSP Keyboard Settings is launched in
     the secondary display, not in the default display.
 10. Go back to the step 7.
 11. Select "Languages"
 12. Subtype Enabler for AOSP Keyboard is shown in the secondary
     display, not in the default display.
Change-Id: I9f89f371c38d9a7b5a06d018d4b41aa09815ea24
2019-05-04 09:52:07 -07:00
TreeHugger Robot 35cca31844 Merge "Import translations. DO NOT MERGE" into qt-dev 2019-05-04 07:01:44 +00:00
TreeHugger Robot fed6dee6ce Merge "Import translations. DO NOT MERGE" into qt-dev 2019-05-04 06:59:34 +00:00
Bill Yi ac9ff315d9 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I5a1e14997b62527fe4b7c902855c999e06fee399
2019-05-03 19:49:02 -07:00
Bill Yi fa95428cd0 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I28ede254065c4491af0c8f82f724e1f83d5a8c69
2019-05-03 19:47:52 -07:00
Bill Yi c21dbf355f Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Icf4d8be7d9322b87d1d2eebe55c6b7d270f47a2b
2019-05-03 19:43:12 -07:00
Bill Yi dec7e77280 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I582cc100421d415defcd817a96191f6608eea8ad
2019-04-24 21:42:13 -07:00
TreeHugger Robot d3f3fbd2b2 Merge "Import translations. DO NOT MERGE" 2019-04-21 02:58:22 +00:00
TreeHugger Robot c437afff40 Merge "Import translations. DO NOT MERGE" 2019-04-21 02:47:32 +00:00
TreeHugger Robot ea7b9f0daa Merge "Import translations. DO NOT MERGE" 2019-04-21 02:38:02 +00:00
TreeHugger Robot 4c27376913 Merge "Import translations. DO NOT MERGE" 2019-04-21 02:36:22 +00:00
Bill Yi bee8dfc7bc Import translations. DO NOT MERGE
Change-Id: Ifa649bf20cb9e0c8b1c71bc76d5534a4b2098602
Auto-generated-cl: translation import
2019-04-20 13:43:37 -07:00
Bill Yi 942d362e8b Import translations. DO NOT MERGE
Change-Id: I184737a561ddf45c51c30dc004fff78ae1b9ca0b
Auto-generated-cl: translation import
2019-04-20 13:43:21 -07:00
Bill Yi 6fc74bbd68 Import translations. DO NOT MERGE
Change-Id: If46e330aca97d1eef493f826f5000103b206eab0
Auto-generated-cl: translation import
2019-04-20 13:43:00 -07:00
Bill Yi a1cfd45f7f Import translations. DO NOT MERGE
Change-Id: I4989c412b885b7e1af5e3ed76b01a4a5a1d5193f
Auto-generated-cl: translation import
2019-04-20 13:42:43 -07:00
Bill Yi 0a26e26006 Import translations. DO NOT MERGE
Change-Id: Iee3b38b10338ec37e5d83245abc36ec4337c8662
Auto-generated-cl: translation import
2019-04-20 13:42:08 -07:00
TreeHugger Robot e73e47f83f Merge "Import translations. DO NOT MERGE" into qt-dev 2019-04-17 21:45:24 +00:00
TreeHugger Robot 7630c6c549 Merge "Import translations. DO NOT MERGE" into qt-dev 2019-04-17 21:32:27 +00:00
TreeHugger Robot 1999854ad9 Merge "Import translations. DO NOT MERGE" into qt-dev 2019-04-17 21:31:44 +00:00
TreeHugger Robot c96234e71c Merge "Import translations. DO NOT MERGE" into qt-dev 2019-04-17 21:27:32 +00:00
TreeHugger Robot b22d5f3fe7 Merge "Import translations. DO NOT MERGE" into qt-dev 2019-04-17 21:27:12 +00:00
Bill Yi 86df8fb903 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Ibd1ea3ad66df1032a70a90f0f38df532b1f8e7a2
2019-04-16 19:28:34 -07:00
Bill Yi ceded9ebcb Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Ia43a2ac5c29cef680fb4e44ef12da74176726b3b
2019-04-16 19:27:49 -07:00
Bill Yi 56198b8702 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I3dee70ec398ce7e6f4bfb4b677a97153906a9b19
2019-04-16 19:26:44 -07:00
Bill Yi 2c79d22ccd Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I4a2e1950cd5eff7f1a64b023a15ec591f43b13c0
2019-04-16 19:26:01 -07:00
Bill Yi 9f3ef50e34 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I3ffc9f82edaa14bc34372a9107e71e834a494c57
2019-04-16 19:24:27 -07:00
Bill Yi dea379f4ba Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Id5f69f9696d57630083976b6e0b438409fc8b59e
2019-04-16 19:23:48 -07:00
TreeHugger Robot ef2514adb4 Merge "Import translations. DO NOT MERGE" 2019-04-12 07:47:50 +00:00
TreeHugger Robot a510d9fce7 Merge "Import translations. DO NOT MERGE" 2019-04-12 07:23:10 +00:00
TreeHugger Robot 95e34e34ff Merge "Import translations. DO NOT MERGE" 2019-04-12 07:10:17 +00:00
TreeHugger Robot a82b5d517f Merge "Import translations. DO NOT MERGE" 2019-04-12 07:09:07 +00:00
Bill Yi 36a639f362 Import translations. DO NOT MERGE
Change-Id: Ic89513e1d17e006229ff037a0b26828b47a30f7d
Auto-generated-cl: translation import
2019-04-11 15:12:40 -07:00
Bill Yi 9ebda1eb56 Import translations. DO NOT MERGE
Change-Id: Ic33126ed6112eb6068da2fc23e2a446b1991bae6
Auto-generated-cl: translation import
2019-04-11 15:12:23 -07:00
Bill Yi acdf6f56c4 Import translations. DO NOT MERGE
Change-Id: I46be6ee7016f363f8e960e53aa48bb76704179ec
Auto-generated-cl: translation import
2019-04-11 15:11:45 -07:00
Bill Yi 11c1357279 Import translations. DO NOT MERGE
Change-Id: I065b01ebce821dd835cc419f43c632d3cbf225cc
Auto-generated-cl: translation import
2019-04-11 15:11:14 -07:00
Bill Yi 36e4c81372 Import translations. DO NOT MERGE
Change-Id: I6b136c5da5db3391baa91ce2ec01a367d0120f72
Auto-generated-cl: translation import
2019-04-11 15:10:58 -07:00
TreeHugger Robot a82e44cc3d Merge "Import translations. DO NOT MERGE" 2019-04-08 19:04:46 +00:00
Bill Yi 823e75e2ce Import translations. DO NOT MERGE
Change-Id: I88307c88d211620bd51cd6ef8a760fc585378517
Auto-generated-cl: translation import
2019-04-08 08:49:07 -07:00
Bill Yi 56eb28cb52 Import translations. DO NOT MERGE
Change-Id: Ibd4590bf1cbe976ba97e3d4c0f8373fe008e6f27
Auto-generated-cl: translation import
2019-04-08 08:48:43 -07:00
TreeHugger Robot 3463f19ce6 Merge "Import translations. DO NOT MERGE" 2019-04-07 08:36:11 +00:00
TreeHugger Robot 9db1319d77 Merge "Import translations. DO NOT MERGE" into qt-dev 2019-04-07 06:25:13 +00:00
Bill Yi ca994736cc Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I7437c061744c3a3ff86c6b476ac1a87525fc74d8
2019-04-05 17:42:08 -07:00
Bill Yi 71c4e1263b Import translations. DO NOT MERGE
Change-Id: If065e19b8eb151a87285dd390c2dca5213d216a3
Auto-generated-cl: translation import
2019-04-05 17:41:25 -07:00
Bill Yi 4be998498e Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Ic1c492d7ebd6718099bc2b12f3daed09596218cd
2019-04-05 17:27:17 -07:00
Bill Yi b46ec50c7e Import translations. DO NOT MERGE
Change-Id: Id4513ea623403b0edceebf4a80d0cccbcefa3713
Auto-generated-cl: translation import
2019-04-05 17:26:16 -07:00
Bill Yi 4292bf3f69 Import translations. DO NOT MERGE
Change-Id: I4f02f5f4ccc6ff864fb5120dc7766755fb773fcf
Auto-generated-cl: translation import
2019-03-23 07:56:54 -07:00
TreeHugger Robot 01090bdaaf Merge "Import translations. DO NOT MERGE" 2019-02-21 20:47:33 +00:00
TreeHugger Robot 769f5d069d Merge "Import translations. DO NOT MERGE" 2019-02-21 19:50:52 +00:00
TreeHugger Robot 4dc4196a34 Merge "Import translations. DO NOT MERGE" 2019-02-21 19:37:35 +00:00
TreeHugger Robot 289a72634b Merge "Import translations. DO NOT MERGE" into pi-dev 2019-02-21 18:47:25 +00:00
TreeHugger Robot 624bac2cd8 Merge "Import translations. DO NOT MERGE" into pi-dev 2019-02-21 18:36:34 +00:00
TreeHugger Robot a921223fe2 Merge "Import translations. DO NOT MERGE" into pi-dev 2019-02-21 18:32:55 +00:00
TreeHugger Robot 01900e65fc Merge "Import translations. DO NOT MERGE" into pi-dev 2019-02-21 18:30:35 +00:00
TreeHugger Robot e951835344 Merge "Import translations. DO NOT MERGE" into pi-dev 2019-02-21 18:29:46 +00:00
TreeHugger Robot 35ac417ae0 Merge "Import translations. DO NOT MERGE" into pi-dev 2019-02-21 18:23:15 +00:00