Commit Graph

41707 Commits (0a1ca27859074ef0c69001ec66807c5914b27956)

Author SHA1 Message Date
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
Bill Yi 451e55acaa [automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev am: 35cca31844 -s ours
am: 93fbdb44d4 -s ours
am skip reason: subject contains skip directive

Change-Id: I309bb668f7f4ca91102b866bc07415796ac3fbec
2019-05-04 03:35:04 -07:00
Bill Yi 1769b0351a [automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev am: fed6dee6ce -s ours
am: a7038935ba -s ours
am skip reason: subject contains skip directive

Change-Id: Ib31b020552c1df5a2790759cfd1ef46b0a1512bc
2019-05-04 03:33:47 -07:00
Bill Yi 8ffb00b069 [automerger skipped] Import translations. DO NOT MERGE am: c21dbf355f -s ours
am: 535fd22071 -s ours
am skip reason: subject contains skip directive

Change-Id: I63c71388e294d512ac98231c5a702ddb025e73f3
2019-05-04 03:24:54 -07:00
Bill Yi 93fbdb44d4 [automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev
am: 35cca31844 -s ours
am skip reason: subject contains skip directive

Change-Id: I84410eca38b39b52f377a6a050dea90ec613527d
2019-05-04 01:21:39 -07:00
Bill Yi a7038935ba [automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev
am: fed6dee6ce -s ours
am skip reason: subject contains skip directive

Change-Id: I7505176ccb37b5f3a6654e5ff547f96f10891d27
2019-05-04 01:20:32 -07:00
Bill Yi 535fd22071 [automerger skipped] Import translations. DO NOT MERGE
am: c21dbf355f -s ours
am skip reason: subject contains skip directive

Change-Id: I7be69de44c793478c71fc5e123373b43001abc1c
2019-05-04 01:15:34 -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 6296afa3a4 [automerger skipped] Import translations. DO NOT MERGE am: dec7e77280 -s ours
am: 3f5ab93ca1 -s ours
am skip reason: subject contains skip directive

Change-Id: I7a13ed92ba23af17ffc09b1700dd8beb3e63f763
2019-04-26 17:17:12 -07:00
Bill Yi 3f5ab93ca1 [automerger skipped] Import translations. DO NOT MERGE
am: dec7e77280 -s ours
am skip reason: subject contains skip directive

Change-Id: If7e483912de6c931a6ee3f555784039ea17c5927
2019-04-26 17:07:42 -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
Bill Yi d23b0a3070 [automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev am: e73e47f83f -s ours
am: fc38a8b073 -s ours
am skip reason: subject contains skip directive

Change-Id: I6fa303defc6e688fe37956dd79ba653ee6ee6716
2019-04-17 23:24:47 -07:00
Bill Yi bab0b46a2f [automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev am: 7630c6c549 -s ours
am: ffeda6dcef -s ours
am skip reason: subject contains skip directive

Change-Id: I79dd684a1dabb2fa4b0a96941a809b8692bea30a
2019-04-17 23:19:47 -07:00
Bill Yi 40d7115747 [automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev am: 1999854ad9 -s ours
am: 2735c8e21e -s ours
am skip reason: subject contains skip directive

Change-Id: Id592db2412136f098a02596c9026a2e153dfb963
2019-04-17 23:11:46 -07:00
Bill Yi 174840a530 [automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev am: c96234e71c -s ours
am: 67f5074f2b -s ours
am skip reason: subject contains skip directive

Change-Id: I170fbecbd52c7a5329869990e392d74ee2f032af
2019-04-17 21:54:44 -07:00
Bill Yi 98894008b0 [automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev am: b22d5f3fe7 -s ours
am: 6490697a64 -s ours
am skip reason: subject contains skip directive

Change-Id: I4822061f423f1366f9f434b6f9a13553fae8ff43
2019-04-17 21:25:35 -07:00
Bill Yi 2bd82a1d46 [automerger skipped] Import translations. DO NOT MERGE am: 86df8fb903 -s ours
am: b08d015352 -s ours
am skip reason: subject contains skip directive

Change-Id: I61067ba96a8366e69898a47881bd0563ef765c1a
2019-04-17 20:56:55 -07:00
Bill Yi fc38a8b073 [automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev
am: e73e47f83f -s ours
am skip reason: subject contains skip directive

Change-Id: I62333549fab9f82ab35a94993b769e5369677657
2019-04-17 15:58:21 -07:00
Bill Yi ffeda6dcef [automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev
am: 7630c6c549 -s ours
am skip reason: subject contains skip directive

Change-Id: I007c4656a5931249aa353f0b5b54e88189f052e6
2019-04-17 15:52:14 -07:00
Bill Yi 2735c8e21e [automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev
am: 1999854ad9 -s ours
am skip reason: subject contains skip directive

Change-Id: I2eb23c17d2bb610792ff6b6bd848b9086573de9f
2019-04-17 15:45:32 -07:00
Bill Yi 67f5074f2b [automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev
am: c96234e71c -s ours
am skip reason: subject contains skip directive

Change-Id: I2e5538041b7746240da20c7c740f242a4869cc80
2019-04-17 15:43:52 -07:00
Bill Yi 6490697a64 [automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev
am: b22d5f3fe7 -s ours
am skip reason: subject contains skip directive

Change-Id: I43f4b560c39258982bef2f0b4bb178dc8315ef7c
2019-04-17 15:36:39 -07:00
Bill Yi b08d015352 [automerger skipped] Import translations. DO NOT MERGE
am: 86df8fb903 -s ours
am skip reason: subject contains skip directive

Change-Id: I75ad49d522172d6591663a4c38e69d622f7ffb31
2019-04-17 15:27:06 -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
Bill Yi 52f1b51eb7 [automerger skipped] Merge "Import translations. DO NOT MERGE" am: f45e8bad27 -s ours am: e8bbcdbf9e -s ours
am: d8abffbb2c -s ours
am skip reason: subject contains skip directive

Change-Id: I833a112d2e34ca76d798922eca41ce8b4d092d47
2019-04-12 18:40:46 -07:00
Bill Yi 548b829dad [automerger skipped] Merge "Import translations. DO NOT MERGE" am: 25324a9dc4 -s ours am: 56b43fff1f -s ours
am: d4c91430d2 -s ours
am skip reason: subject contains skip directive

Change-Id: I7ded975f3b427ce27488e7e96f41290a598d8114
2019-04-12 18:40:29 -07:00
Bill Yi 4d12199c47 [automerger skipped] Merge "Import translations. DO NOT MERGE" am: 97949e8822 -s ours am: 120986cc45 -s ours
am: 4558922bfb -s ours
am skip reason: subject contains skip directive

Change-Id: I58e0b6619ebc15b712dda4cf3f4e29b906fadd02
2019-04-12 18:40:00 -07:00