maiacore android keyboard app or something
 
 
 
 
Go to file
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
common Convert to Android.bp 2018-10-31 21:49:02 -07:00
dictionaries Update dictionaries (possibly_offensive flag) 2014-10-31 14:49:24 +09:00
gradle/wrapper Experimentally Support Android Studio to build LatinIME 2018-07-25 18:08:28 -07:00
java Launch AOSP Keyboard Settings on the same display 2019-05-04 09:52:07 -07:00
native Merge "Move LatinIME and its lib to /product" am: 149b9d4f6e am: 84d156b1e6 2019-01-14 02:11:11 -08:00
tests Migrate packages/inputmethods/LatinIME to androidx.test 2018-12-13 19:06:42 -08:00
tools Support testing Direct Reply with EditTextVariations on API 24/25 2019-02-05 22:46:42 -08:00
.gitignore Experimentally Support Android Studio to build LatinIME 2018-07-25 18:08:28 -07:00
Android.bp Convert to Android.bp 2018-10-31 21:49:02 -07:00
CleanSpec.mk Move LatinIME and its lib to /product 2019-01-11 15:20:31 +00:00
MODULE_LICENSE_APACHE2 Move MODULE_LICENSE_APACHE2 to the project top dir 2018-11-19 12:11:31 -08:00
NOTICE Move MODULE_LICENSE_APACHE2 to the project top dir 2018-11-19 12:11:31 -08:00
OWNERS Remove paulduffin@ from OWNERS 2018-10-10 16:15:41 +01:00
build.gradle Migrate packages/inputmethods/LatinIME to androidx.test 2018-12-13 19:06:42 -08:00
gradlew Experimentally Support Android Studio to build LatinIME 2018-07-25 18:08:28 -07:00
gradlew.bat Experimentally Support Android Studio to build LatinIME 2018-07-25 18:08:28 -07:00