aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/utils/ResourceUtils.java (follow)
Commit message (Expand)AuthorAgeFilesLines
* Fix bug: AOSP keyboard is shown incompletely in Android V landscape mode•••Root cause: The AOSP keyboard uses `DisplayMetrics#widthPixels` to calculate the keyboard width and draw keys. Since Android 15’s edge-to-edge enforcement, this property now returns the full screen width, including window insets. This results in an incorrectly large key width calculation. Fix: Subtract window insets including system bar and display cutout from the width. Change-Id: Iea01ba749a48145cf5b484dc22a570874b1b7ca4 Test: use `m LatinIME` to install the AOSP keyboard and test landscape mode manually Bug: 377594757 Ziqi Chen2024-11-261-2/+19
* Revert "Add keyboard margin options to place the keyboard dynamically."•••This reverts commit 8584db1461d286f8eb966c40eb0bc76e8c9df76a. Bug: 18675223 Bug: 18675476 Change-Id: I4e25d87ac261c44b1943df832115f8cca690103a Tadashi G. Takaoka2014-12-091-50/+5
* Add keyboard margin options to place the keyboard dynamically.•••Keyboard location and location can now be set in the debug options section. Change-Id: I87c5a1d679489e12dccf26632c399af28087629e Andy Wang2014-12-051-5/+50
* Add a preference to resize the keyboard height.•••The keyboard height is controlled by a slider in the debug preferences. Without access to debug preferences, this change is a no-op. Bug: 6867494 Change-Id: I984064ed1cab752876615f5ed582818474d6041b Andy Wang2014-10-301-0/+10
* Fix Javadoc and null analysis related warnings•••This CL also adds @SuppressWarning("unused" to java-overridable package. Bug: 18003991 Change-Id: If70527e30654384705d7a814f5efd181d9f539e1 Tadashi G. Takaoka2014-10-231-1/+1
* Use Java 7 diamond operator•••Change-Id: If16ef50ae73147594615d0f49d6a22621eaf1aef Tadashi G. Takaoka2014-05-241-4/+3
* Fix possible NPE while finding device override value from resource•••Bug: 12949735 Change-Id: Iffda08db413b3b3d338ab9bf625bb0968c2e48dd Tadashi G. Takaoka2014-02-101-41/+7
* Add debug settings for keypress popup animations•••Bug: 12928125 Change-Id: I49faab754c7d1dcf4a791dfc535d3a78b62ce67a Tadashi G. Takaoka2014-02-071-0/+4
* Reset to 9bd6dac4708ad94fd0257c53e977df62b152e20c•••The bulk merge from -bayo to klp-dev should not have been merged to master. Change-Id: I527a03a76f5247e4939a672f27c314dc11cbb854 Ken Wakasa2013-12-131-4/+4
* Add ResouceUtils.getDefaultKeyboardHeight•••Change-Id: I377f6a83ec86b0345b170e7ad995d4577220d0ad Tadashi G. Takaoka2013-08-071-0/+31
* Move util classes to the latin/utils directory•••Change-Id: I1c5b27c8edf231680edb8d96f63b9d04cfc6a6fa Ken Wakasa2013-06-241-0/+292