Commit Graph

14322 Commits (0159a56eb0bd1bc36a9ea1837b31e6bb88e1f575)

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
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 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 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
Bill Yi 141c72a1dc Import translations. DO NOT MERGE
Change-Id: I48a6f3055d8dd3182ff98a6edace3a4e35b4326d
Auto-generated-cl: translation import
2019-02-21 06:20:27 -08:00
Bill Yi 49f35d15be Import translations. DO NOT MERGE
Change-Id: Icdaeac3123fef5ca97a44cc155d4f428138ae985
Auto-generated-cl: translation import
2019-02-21 06:17:12 -08:00
Bill Yi 58f382cb84 Import translations. DO NOT MERGE
Change-Id: Iaaf42624b7933d8a479a9eea71aedbc3711de6cb
Auto-generated-cl: translation import
2019-02-21 06:06:58 -08:00
Bill Yi ba59aeb8e1 Import translations. DO NOT MERGE
Change-Id: I3962401c95664f199216b443e27bf07871b20d07
Auto-generated-cl: translation import
2019-02-21 05:58:22 -08:00
Bill Yi 1a39f585b1 Import translations. DO NOT MERGE
Change-Id: If684531601502dce2fa4c0fe36a1af2086226faa
Auto-generated-cl: translation import
2019-02-07 20:57:21 -08:00
TreeHugger Robot a55797bfba Merge "Import translations. DO NOT MERGE" 2019-02-02 17:39:35 +00:00
TreeHugger Robot 5efe640eee Merge "Import translations. DO NOT MERGE" 2019-02-02 17:39:33 +00:00
TreeHugger Robot 90026f50fb Merge "Import translations. DO NOT MERGE" 2019-02-02 17:36:35 +00:00
TreeHugger Robot c4918159e8 Merge "Import translations. DO NOT MERGE" 2019-02-02 17:34:39 +00:00
TreeHugger Robot 0b66f7e9ff Merge "Import translations. DO NOT MERGE" 2019-02-02 17:32:37 +00:00
TreeHugger Robot f9bab82514 Merge "Import translations. DO NOT MERGE" 2019-02-02 17:29:40 +00:00
Bill Yi 21ac0441c7 Import translations. DO NOT MERGE
Change-Id: I58ea73335befe5324077a7775c4ff78f04ed1a4b
Auto-generated-cl: translation import
2019-02-02 00:51:47 -08:00
Bill Yi 3352776929 Import translations. DO NOT MERGE
Change-Id: I09408d72060cc69d3734647abe7969528539c1cc
Auto-generated-cl: translation import
2019-02-02 00:51:41 -08:00
Bill Yi 0bf41fa9bc Import translations. DO NOT MERGE
Change-Id: Ide4b5b729b9a7b482cfbd2aff914c3064f5ec668
Auto-generated-cl: translation import
2019-02-02 00:51:34 -08:00
Bill Yi 173fc8d243 Import translations. DO NOT MERGE
Change-Id: Ie30d0bb36cd7157921f3745fe722f7c0c458e92f
Auto-generated-cl: translation import
2019-02-02 00:51:27 -08:00
Bill Yi b56eb6676f Import translations. DO NOT MERGE
Change-Id: Id25f8e0d7b2bb7c47e9f04e6355a10f2da9f9b25
Auto-generated-cl: translation import
2019-02-02 00:51:21 -08:00
Bill Yi a6b9015e52 Import translations. DO NOT MERGE
Change-Id: I782e5d547025d56f98fc6a972c205367fa9e7bca
Auto-generated-cl: translation import
2019-02-02 00:51:13 -08:00
Bill Yi 0294f8c213 Import translations. DO NOT MERGE
Change-Id: I51b7669e416dce6ccf73724110d9ed446e0f2940
Auto-generated-cl: translation import
2019-02-02 00:51:05 -08:00
Bill Yi 3153a23cba Import translations. DO NOT MERGE
Change-Id: I9612b424937fd60ea265f2276d5a53ebe332afb9
Auto-generated-cl: translation import
2019-01-28 22:24:16 -08:00
Anton Hansson 575340c674 Merge "Move LatinIME and its lib to /product" am: 149b9d4f6e am: 84d156b1e6
am: d894eec1ee

Change-Id: Ib7cdb0007c22934f7736cd02c02e0f9358f889d4
2019-01-14 02:11:11 -08:00
Anton Hansson d894eec1ee Merge "Move LatinIME and its lib to /product" am: 149b9d4f6e
am: 84d156b1e6

Change-Id: I386b9b5ed6ba02a4cd00efb75804ffef24603a2c
2019-01-14 01:56:34 -08:00
TreeHugger Robot d9bca3f150 Merge "Import translations. DO NOT MERGE" 2019-01-12 06:15:26 +00:00
Bill Yi b4ca13697f Import translations. DO NOT MERGE
Change-Id: I57c8de2acc020fdb8d30f8cdc6f5b616acc98eab
Auto-generated-cl: translation import
2019-01-11 14:14:06 -08:00
Bill Yi b6b44c113b Import translations. DO NOT MERGE
Change-Id: I23b6acdfb44a25c8136764c6b1b254dd54e363a2
Auto-generated-cl: translation import
2019-01-11 14:13:56 -08:00
Anton Hansson 1c429e3a09 Move LatinIME and its lib to /product
This app is frequently overriden by proprietary apps
on shipping devices, so move it to /product along with
its jni library.

Bug: 122353713
Test: launch keyboard on aosp_arm64 emulator
Change-Id: Ied8c1e6133b67e28da76b0e48254e2e2e0ed15bf
2019-01-11 15:20:31 +00:00