LatinIME/java/src/com/android/inputmethod/keyboard
lumark 87f14f1e18 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
Merged-In: I0ed6a079af1ed90c75fee1d36d5ce3ef3c41f8ed
2019-09-11 02:02:48 +00:00
..
emoji Migrated various apps under packages/inputmethods/LatinIME/ to androidx 2018-05-15 14:55:43 -07:00
internal Remove ALS from LatinIME. 2015-03-11 17:29:12 -07:00
Key.java Remove ALS from LatinIME. 2015-03-11 17:29:12 -07:00
KeyDetector.java Fix NPE in KeyDetector 2014-02-27 14:17:14 +09:00
Keyboard.java Create a new KeyboardLayout class to represent the layout. 2015-01-30 17:24:09 -08:00
KeyboardActionListener.java Move InputPointers and ResizableIntArray to common 2014-10-29 12:09:11 +09:00
KeyboardId.java Unicode 8.0 emoji additions to Google Keyboard. 2015-11-11 11:04:45 -08:00
KeyboardLayout.java Create a new KeyboardLayout class to represent the layout. 2015-01-30 17:24:09 -08:00
KeyboardLayoutSet.java Hide settings-key until the device is unlocked. 2016-01-07 06:37:13 +00:00
KeyboardSwitcher.java Create display context when switching IME to new display for AOSP IME 2019-09-11 02:02:48 +00:00
KeyboardTheme.java Remove BuildCompatUtils.VERSION_CODES_LXX 2014-10-22 01:29:58 +09:00
KeyboardView.java Add null analysis annotations to keyboard package 2014-11-27 12:37:38 +09:00
MainKeyboardView.java Remove ALS from LatinIME. 2015-03-11 17:29:12 -07:00
MoreKeysDetector.java Sort keys from top-left to bottom-right order 2014-04-21 18:36:11 -07:00
MoreKeysKeyboard.java Add null analysis annotations to keyboard package 2014-11-27 12:37:38 +09:00
MoreKeysKeyboardView.java Move util classes under common 2014-11-07 18:00:03 +09:00
MoreKeysPanel.java Remove unused MoreKeysPanel argument from Controller interface 2014-03-04 16:05:15 +09:00
PointerTracker.java Remove obsolete comment 2014-11-26 12:02:07 +09:00
ProximityInfo.java Create a new KeyboardLayout class to represent the layout. 2015-01-30 17:24:09 -08:00