Commit Graph

41273 Commits (d7628414941edb8c5be8120f168ebfdd98a762eb)

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
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 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 274710bcc0 [automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev
am: 7209c0f074 -s ours
am skip reason: subject contains skip directive

Change-Id: I051a990a28d9bdcf458bb8889e3394fcb45903c4
2019-04-07 00:58:00 -07:00
Bill Yi 050b948ca8 [automerger skipped] Import translations. DO NOT MERGE
am: 990b77d2b8 -s ours
am skip reason: subject contains skip directive

Change-Id: Ie2226ecc6616bc99ffb5acf575f5a1f596debb42
2019-04-07 00:57:42 -07:00
TreeHugger Robot 7209c0f074 Merge "Import translations. DO NOT MERGE" into pi-dev 2019-04-07 07:50:15 +00:00
TreeHugger Robot 9db1319d77 Merge "Import translations. DO NOT MERGE" into qt-dev 2019-04-07 06:25:13 +00:00
Bill Yi 990b77d2b8 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I6539176814c71b06abe32ee6b8205f9500ed50f9
2019-04-05 17:42:52 -07: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 d34bbca09b Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I37bb584aec85ed5299a8033b75b81b330a2ab783
2019-04-05 17:28:18 -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 30a173ad36 [automerger skipped] Import translations. DO NOT MERGE am: 145808acad -s ours
am: 7eff036f7d -s ours
am skip reason: subject contains skip directive

Change-Id: I3274d09fd69e725b4509a6999fb3202e6d4c4c47
2019-03-27 01:36:43 -07:00
Bill Yi 7eff036f7d [automerger skipped] Import translations. DO NOT MERGE
am: 145808acad -s ours
am skip reason: subject contains skip directive

Change-Id: Ie5059b38c3e176cb660f54eb406027a60ded0d01
2019-03-27 01:14:10 -07:00
Bill Yi 145808acad Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I5d712356e5bc9cc77bbaa3a1f65ecdef6284b4a8
2019-03-26 22:45:52 -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
Xin Li 352f305498 Merge stage-aosp-master into pi-dev-plus-aosp
am: 9cd8eb5a9a

Change-Id: Ic1bd83a30eadb9b253e52ad5fac8c961df21bfcb
2019-02-25 01:32:14 -08:00
Xin Li 9cd8eb5a9a Merge stage-aosp-master into pi-dev-plus-aosp
Bug: 126125118
Change-Id: I62739cff8c2223b4c5d8fef4565fba74c65067f8
2019-02-25 00:31:17 -08:00
TreeHugger Robot 01090bdaaf Merge "Import translations. DO NOT MERGE" 2019-02-21 20:47:33 +00:00
Bill Yi fedbfab2d3 [automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev am: 289a72634b -s ours
am: d2a0448138 -s ours
am skip reason: subject contains skip directive

Change-Id: I5dac1e824a246811caacfbb65e2011ef957eeda0
2019-02-21 12:28:26 -08:00
Bill Yi 8acd3cfea6 [automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev am: 624bac2cd8 -s ours
am: 6c7f0252df -s ours
am skip reason: subject contains skip directive

Change-Id: I3d180cc20756e2d1cdb84962091917c6e41c759c
2019-02-21 12:28:04 -08:00
Bill Yi aba673012e [automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev am: a921223fe2 -s ours
am: ecce81d600 -s ours
am skip reason: subject contains skip directive

Change-Id: Ib24e686e22f6b35dac4cf4c47f9566cf4456ce79
2019-02-21 12:27:45 -08:00
Bill Yi 95c1c0df7b [automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev am: 01900e65fc -s ours
am: 151132139a -s ours
am skip reason: subject contains skip directive

Change-Id: If54c7cafbf92792da641a840a64d642cda4b37ad
2019-02-21 12:27:26 -08:00
Bill Yi 6255ceab19 [automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev am: e951835344 -s ours
am: 1513b865a7 -s ours
am skip reason: subject contains skip directive

Change-Id: Ib9f2f8a6631c4eaf7cca7688379393216aa681c2
2019-02-21 12:27:06 -08:00
Bill Yi bcf2e35cc9 [automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev am: 35ac417ae0 -s ours
am: 8c9163d180 -s ours
am skip reason: subject contains skip directive

Change-Id: I947826e9c2224d223d526c96c64dc4f5ca2c3251
2019-02-21 12:24:03 -08:00
Bill Yi ae2e603370 [automerger skipped] Import translations. DO NOT MERGE am: 9e73c487e4 -s ours
am: 1079e974a3 -s ours
am skip reason: subject contains skip directive

Change-Id: Icfb741e61c196da6ada12373682ed5ac16d045b2
2019-02-21 12:13:38 -08: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 3213f8bfa4 Merge "Import translations. DO NOT MERGE" 2019-02-21 19:23:21 +00:00
Bill Yi d2a0448138 [automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev
am: 289a72634b -s ours
am skip reason: subject contains skip directive

Change-Id: I4b8e3e2002bef629f14c741ffdf26f9f585ae4cf
2019-02-21 11:17:35 -08:00
Bill Yi 6c7f0252df [automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev
am: 624bac2cd8 -s ours
am skip reason: subject contains skip directive

Change-Id: I39a6eb25425d7d6a5d9f0b9b6c93d398aec3d7ce
2019-02-21 11:17:13 -08:00
Bill Yi ecce81d600 [automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev
am: a921223fe2 -s ours
am skip reason: subject contains skip directive

Change-Id: I27620645836d7e3e26894cbbff72e92cd1e54d9d
2019-02-21 11:16:51 -08:00
Bill Yi 151132139a [automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev
am: 01900e65fc -s ours
am skip reason: subject contains skip directive

Change-Id: I01f062132b5b6b40de3f532a0b4c48da14ffa0c9
2019-02-21 11:16:28 -08:00
Bill Yi 1513b865a7 [automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev
am: e951835344 -s ours
am skip reason: subject contains skip directive

Change-Id: I9b53ac21775b9611c5eb407f9619f51851b55aea
2019-02-21 11:16:11 -08:00
Bill Yi 8c9163d180 [automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev
am: 35ac417ae0 -s ours
am skip reason: subject contains skip directive

Change-Id: Iddece47182ff08386f7bcaa402c74eeaca57a693
2019-02-21 11:15:30 -08:00
Bill Yi 1079e974a3 [automerger skipped] Import translations. DO NOT MERGE
am: 9e73c487e4 -s ours
am skip reason: subject contains skip directive

Change-Id: I36af548ea6984fda2645809575e5b9566b163308
2019-02-21 11:13:23 -08:00