Commit graph

14476 commits

Author SHA1 Message Date
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