summaryrefslogtreecommitdiff
path: root/core/java/android/inputmethodservice/Keyboard.java
Commit message (Collapse)AuthorAgeFilesLines
* Recycle obtained TypedArraysNikolas Havrikov2022-02-101-0/+1
| | | | | | Bug: 218835043 Test: make Change-Id: I2c19ca3b6e4773de533cceac6b5341ae964b4fd4
* Use new UnsupportedAppUsage annotation.Artur Satayev2020-01-061-1/+1
| | | | | | | | Existing annotations in libcore/ and frameworks/ will deleted after the migration. This also means that any java library that compiles @UnsupportedAppUsage requires a direct dependency on "unsupportedappusage" java_library. Bug: 145132366 Test: m && diff unsupportedappusage_index.csv Change-Id: I0c336de56bc4a041dc97ff9b7927f62f0b44b457
* Deprecate android.inputmethodservice.{Keyboard,KeyboardView}Yohei Yukawa2018-12-131-3/+8
| | | | | | | | | | | | | | | | | | | This CL deprecates the following two classes. * android.inputmethodservice.Keyboard * android.inputmethodservice.KeyboardView Most likely having these classes in the Android Framework does not make much sense anymore, because basically it is just one implementation of how keyboard-like UI can be implemented on top of public Android APIs. Source code of these classes have been available as part os AOSP. Thus it should not be that difficult for app developers to have their own copy of these classes in their project or re-implement a similar widget by themselves. Fix: 116815596 Test: make -j checkbuild Change-Id: Ie0cb0456c2cc4eacd4b188514508021774f60591
* Move some members to the "Q blacklist".Mathew Inwood2018-09-141-1/+2
| | | | | | | | | | | | | | Based on some analysis, these fields/methods are likely false positives. Set maxTargetSdk=P so that any apps using them are required to migrate off them in future. See the bug for more details. Exempted-From-Owner-Approval: Automatic changes to the codebase affecting only @UnsupportedAppUsage annotations, themselves added without requiring owners approval earlier. Bug: 115609023 Test: m Change-Id: I719b5c94e5b1f4fa562dd5d655953422958ad37e
* Add @UnsupportedAppUsage annotationsMathew Inwood2018-07-311-0/+5
| | | | | | | | | | | | | | | | For packages: android.inputmethodservice This is an automatically generated CL. See go/UnsupportedAppUsage for more details. Exempted-From-Owner-Approval: Mechanical changes to the codebase which have been approved by Android API council and announced on android-eng@ Bug: 110868826 Test: m Change-Id: Ia0c5584247aa586cb30a4e4dd2618ec7f92f90ed
* Fix JavaDoc error in I392166c77cd9dd2c432dc4f1274312f8355de02b.Yohei Yukawa2015-06-121-1/+2
| | | | | | | | Fix confirmed with 'make doc-comment-check-docs' Bug: 21446448 Change-Id: Ica4359b13ddbc790740cc22c95b9e002f7c8e4b8 (cherry picked from commit fd65287cfdab0d58bd43be6756b0e92b5c4b6e7b)
* Keyboard.Key#onReleased() should handle inside parameter.Yohei Yukawa2015-06-111-5/+15
| | | | | | | | | | | | | | | | | | | | The boolean parameter of Keyboard.Key#onReleased(boolean) has been somehow ignored since Capcake. With this CL, that method starts working as documented. Alternatively we could fix the issue when and only when the application's targetSdkVersion >= 23. We didn't do that because: - Although Keyboard.Key class is a public API, it is supposed to be used almost only by android.inputmethodservice.KeyboardView. The risk of unwanted compatibility problems is low. - Fixing that is beneficial for users because it actually fixes UX issue when applications/IMEs that still rely on KeyboardView run in Android M. - All the fields that are related to Keyboard.Key#onReleased are public fields so developers can easily work around anyway. Bug: 21446448 Change-Id: I392166c77cd9dd2c432dc4f1274312f8355de02b
* Add @ResourceInt annotations on APIsTor Norbye2015-02-181-2/+4
| | | | Change-Id: I119cc059c2f8bd98fd585fc84ac2b1b7d5892a08
* Fix 5335993, calculate correct size of lockscreen buttonsChet Haase2011-09-191-3/+43
| | | | | | | | | | | | The buttons on the lockscreen were sized at startup time, before the actual size of the keyboard's container (KeyboardView) was known. Also, horizontal/vertical gaps were not taken into account in calculating perecent sizes of the keys. This change causes resize events (including the first one where the container size is finally known) to recalculate the keys' sizes and positions according to correct sizing of the container and the keyboard's gaps. Change-Id: I5ba7a401226ed4b100e5739f3405388955d97997
* Fix 3374446: Allow multiple shift keys in Keyboard.Jim Miller2011-01-201-9/+24
| | | | | | | | | | | This fixes a bug introduced in 3c6dd8f9 because we now have two shift keys. The code now tracks a global state and looks for up to two shift keys. Update after review and added code to handle extra invalidate required by additional shift key. Change-Id: Ic1728dd0ceec089089cd1beca1b0b30565d6e658
* am a79433cb: am ecd43cca: Merge "Initialize Keyboard.Key attributes from ↵Tadashi G. Takaoka2010-09-171-3/+4
|\ | | | | | | | | | | | | | | | | parent Keyboard.Row" into gingerbread Merge commit 'a79433cb66c83b3a27e94e42aef95cbae752bcc5' * commit 'a79433cb66c83b3a27e94e42aef95cbae752bcc5': Initialize Keyboard.Key attributes from parent Keyboard.Row
| * Initialize Keyboard.Key attributes from parent Keyboard.RowTadashi G. Takaoka2010-09-171-3/+4
| | | | | | | | | | Bug: 3009940 Change-Id: I22ef3e507c31e46b7581e20bcdd6b5ebc750adfe
* | lock screen for xlargeJae Yong Sung2010-08-131-1/+24
|/ | | | Change-Id: Iab9f53609bf24be774752a9960aaaa654d7a614f
* Increase search radius for adjacent keys, to reduce unpredictability ofAmith Yamasani2009-08-131-1/+1
| | | | suggestions.
* * update all metrics data when updating density.Mitsuru Oshima2009-05-111-6/+6
| | | | | * Keyboard should use DisplayMetrics from Resource rather than getting it from WindowManager as the display metrics can differ under compatibility mode.
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+815
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-815/+0
|
* auto import from //branches/cupcake/...@132276The Android Open Source Project2009-02-191-0/+60
|
* auto import from //branches/cupcake/...@130745The Android Open Source Project2009-02-101-4/+3
|
* auto import from //branches/cupcake/...@125939The Android Open Source Project2009-01-091-5/+5
|
* Code drop from //branches/cupcake/...@124589The Android Open Source Project2008-12-171-0/+756