Commit graph

14485 commits

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