summaryrefslogtreecommitdiff
path: root/java/src/com/android/inputmethod/keyboard/KeyboardLayoutSet.java
Commit message (Collapse)AuthorAgeFilesLines
* Hide settings-key until the device is unlocked.Yohei Yukawa2016-01-071-0/+11
| | | | | | | | | | | | | | | | | | Starting in N, we are going to have new APIs to officially support the situation where apps need to run before the user has unlocked their device for the first time. For IME developers those APIs would be important not only because IMEs developers may want to support other apps that support that feature but also because IMEs developers have already needed to pay attention to the same situation where the IME is running so that the user can enter the initial password (e.g. for an encrypted device). Bug 11270326 is a perfect example of this scenario. Now we can disable settings-key until the device is unlocked by using the new API when running in Android N devices. Bug: 11270326 Change-Id: Ie1c6efa63b60b91430f1a78dde624d0f3dff3c69
* Delete user history files.Dan Zivkovic2015-03-111-1/+1
| | | | | | Bug 19669016. Change-Id: I8069fe561347851bf3c27423dbd8ba99d38c049e
* Refactor KeysCache to UniqueKeysCacheTadashi G. Takaoka2014-11-271-7/+5
| | | | Change-Id: I8e3c4705c705a1c6e05e9112211d7012912d7e41
* Add null analysis annotations to keyboard packageTadashi G. Takaoka2014-11-271-2/+7
| | | | Change-Id: I6f020ece3c45d584d413e4265d6d3fbdf1ea8bd8
* Add RichInputMethodSubtype.getKeyboardLayoutSetNameTadashi G. Takaoka2014-11-121-1/+1
| | | | Change-Id: I90cc74ee882e8aa2b243885d3b994223ca3b6f44
* Merge "Clean up KeyboardLayoutSet a bit"Tadashi G. Takaoka2014-11-071-28/+19
|\
| * Clean up KeyboardLayoutSet a bitTadashi G. Takaoka2014-11-061-28/+19
| | | | | | | | | | | | | | This CL moves getScriptId() from KeyboardLayoutSet.Builder to KeyboardLayoutSet. Change-Id: I13588467e3d03abb92120acb367f021ee3490a50
* | Move some methods out from SubtypeSwitcherTadashi G. Takaoka2014-11-061-2/+1
|/ | | | Change-Id: I89aaf87d7d0cc204b0ca0f61c2f64d15e2df848e
* Fix a wrong indentKen Wakasa2014-11-041-1/+1
| | | | Change-Id: Iaee83be85bb52c350dd08e4497732927b92eabcd
* Move Constants.java to the latin.common packageKen Wakasa2014-10-231-2/+2
| | | | | | | Our intention is to have classes of latinime-common under the common package as much as we can. Change-Id: I76efbbbe7bebf1a4aa943715cdff64f91675e20d
* Fix some compiler warningsTadashi G. Takaoka2014-10-211-3/+1
| | | | | | | | | | | | | | | | | | | | | This CL fixes the following compiler warnings. - Indirect access to static member - Access to a non-accessible member of an enclosing type - Parameter assignment - Method can be static - Local variable declaration hides another field or variable - Value of local variable is not used - Unused import - Unused private member - Unnecessary 'else' statement - Unnecessary declaration of throw exception - Redundant type arguments - Missing '@Override' annotation - Unused '@SuppressWarning' annotations Bug: 18003991 Change-Id: Icfebe753e53a2cc621848f769d6a3d7ce501ebc7
* [ML24] Add facilities to read the script of a subtypeJean Chalard2014-10-141-19/+67
| | | | | | | | ...or more exactly, the script of the keyboard layout set associated with a given subtype. Bug: 11230254 Change-Id: I82f5fc81ecffc561781816008c853be6ff9438dd
* Add allowRedundantMoreKeys attributeTadashi G. Takaoka2014-09-251-0/+4
| | | | | | | This CL also adds a couple of custom layout tests of Nordic languages. Bug: 10787354 Change-Id: I5e875d3f30863395511afa82f0a02deb093d3a6f
* Start showing the split keyboard layoutSandeep Siddhartha2014-09-171-5/+18
| | | | | | | | | | | Change [3/3] Added tests for Qwerty/en-US/split Parse the switch-case statement from KeyboardBuilder to use the right layout. Bug: 4968173 Change-Id: If4d6d71d5900525290268d8affa55dccf1ebd4f2
* Add a canSplitKeyboard attribute for specifying split keyboard layoutsSandeep Siddhartha2014-09-121-1/+7
| | | | | | | | | Change [1/3] This'll be used in conjunction with a user preference to split the keyboard when possible. Bug: 4968173 Change-Id: I7a05948d67b94a55024790115ae261d7fef7941a
* am 727cd740: am f2eadbb4: Clear keyboard cache when system locale is changedTadashi G. Takaoka2014-08-291-1/+9
|\ | | | | | | | | * commit '727cd74072d97af334fe8c0d18fa6a1e23629ccb': Clear keyboard cache when system locale is changed
| * Clear keyboard cache when system locale is changedTadashi G. Takaoka2014-08-281-1/+9
| | | | | | | | | | Bug: 17310080 Change-Id: I2b388772f269f1e7610a5bd32de80793da2df16e
* | Revert "Revert "[ML1] Introduce RichInputMethodSubtype""Jean Chalard2014-08-251-4/+4
| | | | | | | | | | | | | | | | This reverts commit a63d0a8ee6cb05bcddb69bf9a6018853d89d886a. This patch seems to be fine after all, but was submitted without its companion [ML1.1] patch causing a build breakage. Reverting the revert and submitting both at the same time seems like the right thing to do. Change-Id: Ib8fefa40b74dcee0edb025a52dac9b35c82d49df
* | Revert "[ML1] Introduce RichInputMethodSubtype"Jean Chalard2014-08-221-4/+4
| | | | | | | | | | | | This reverts commit 8ffe4bc9321e582a4d882f21e465d5886616f489. Change-Id: I9d4c98b0adfdb78b0f4d376f7691e50d1bd2228f
* | [ML1] Introduce RichInputMethodSubtypeJean Chalard2014-08-221-4/+4
|/ | | | | Bug: 11230254 Change-Id: Ic7a1bf938a5a186dcff527b556295aba2406e8b9
* Fix some unit tests.Jean Chalard2014-07-311-1/+1
| | | | | | | The default value for the script needs to be Latin, as we don't specify it in the files. Change-Id: I1275f13f1cd92f00dc5708748fefb4982f0a60b3
* Rename LatinImeLogger to DebugFlagsTadashi G. Takaoka2014-07-161-2/+2
| | | | | Bug: 15318007 Change-Id: Ic0268fd12865c9a692a5e7110a9beb76cb8b6d7f
* [SD3] Forward the script ID to where it will be usedJean Chalard2014-06-271-0/+4
| | | | | Bug: 15840116 Change-Id: If2073e76fed74ae6e1cdd7670013e0e985b0e630
* [SD2] Add support for a new tag Feature in KeyboardLayoutSetJean Chalard2014-06-271-0/+24
| | | | | Bug: 15840116 Change-Id: I3abbe4ce1ae573e9c5f1a8a96dc0056e8889d507
* Remove unused supportsSwitchingToShortcutIme attributeTadashi G. Takaoka2014-06-061-18/+12
| | | | Change-Id: I51c5247ac925a158facb79057f704b763b903552
* Use Java 7 diamond operatorTadashi G. Takaoka2014-05-241-5/+4
| | | | Change-Id: If16ef50ae73147594615d0f49d6a22621eaf1aef
* Add InputMethodSubtypeCompatUtils.isAsciiCapable()Tadashi G. Takaoka2014-02-171-2/+2
| | | | Change-Id: I8145f090486f6fe30ef1e992db374cfba0c31012
* Reset to 9bd6dac4708ad94fd0257c53e977df62b152e20cKen Wakasa2013-12-131-22/+20
| | | | | | The bulk merge from -bayo to klp-dev should not have been merged to master. Change-Id: I527a03a76f5247e4939a672f27c314dc11cbb854
* Consolidate voice input key options no.1Satoshi Kataoka2013-09-051-0/+4
| | | | Change-Id: I2f928522a0795f57b4133072f270d8fd2498cae9
* Fix cosmetic source code formattingTadashi G. Takaoka2013-08-151-1/+2
| | | | Change-Id: I33c14a20bc55b826082e468c0aecfa026ba5d9f3
* Remove redundant EditorInfo member from KeyboardLayoutSet.BuilderTadashi G. Takaoka2013-08-121-6/+4
| | | | Change-Id: I9bbba9c27d3d478421c094e6cd0e1da31fd4f4c8
* Move createKeyboardSetForSpellChecker to AndroidSpellCheckServiceTadashi G. Takaoka2013-08-071-42/+0
| | | | Change-Id: I4a9065e703e98ffed50f2a6d76ace938dfc26ddf
* Add ResouceUtils.getDefaultKeyboardHeightTadashi G. Takaoka2013-08-071-50/+11
| | | | Change-Id: I377f6a83ec86b0345b170e7ad995d4577220d0ad
* Remove orientation member from KeyboardIdTadashi G. Takaoka2013-08-071-6/+0
| | | | Change-Id: I2c16134a24088dbc30b74ae7c5bc578a9d84a960
* Small optimization for readabilityTadashi G. Takaoka2013-08-051-31/+32
| | | | Change-Id: I8a24fc0981e58a7dc30f0577c4415a1d3bc5ed4d
* Fix keyboard caching bug for testingTadashi G. Takaoka2013-08-051-1/+1
| | | | Change-Id: I00584a68d868f38c065bb6a41e8e5f4eafd44e7f
* Move subtype related utility class to utils packageTadashi G. Takaoka2013-07-241-4/+4
| | | | Change-Id: I3564796531ea85f2ebafde40cd822b806b8741df
* Move util classes to the latin/utils directoryKen Wakasa2013-06-241-4/+4
| | | | Change-Id: I1c5b27c8edf231680edb8d96f63b9d04cfc6a6fa
* Cache three main keyboards to improve average switch timeJean Chalard2013-06-111-4/+32
| | | | | | | | This typically improves the average loading time by about 35%, after the first time. Bug: 8689779 Change-Id: I7b0ab6b942af1d3250b9dcbf875f27f9f64692f3
* Fix running on device regression test and profile.Keisuke Kuroyanagi2013-05-201-0/+2
| | | | Change-Id: Ie16d9514092d6d6f42881b975420e5d1431b776c
* Consolidate dummy proximity info to the spell checker infoSatoshi Kataoka2013-05-081-3/+48
| | | | | | Bug: 8783170 Change-Id: I067486e5ec1ae7cdef8e2121392464ba71ee8add
* Remove unused device form factor valuesTadashi G. Takaoka2013-05-071-4/+1
| | | | Change-Id: I1ed88b842a3d45e5460dd387bfad4276c844096a
* Use XmlPullParser.getEventType()Tadashi G. Takaoka2013-03-261-5/+7
| | | | Change-Id: Ie423d3416639f81409cc920658c8088b7519b045
* Clean up XmlParserUtilsTadashi G. Takaoka2013-03-261-5/+5
| | | | Change-Id: I636e8f359d47f39e61a7f77e3e686f2721779b6f
* Fix off-device regression test buildTadashi G. Takaoka2013-01-291-1/+0
| | | | | Bug: 8093623 Change-Id: I775a8691bbedf58caef07d0b4af59c7444dd81be
* Remove {max,min}keyboardHeight attribute from KeyboardTadashi G. Takaoka2013-01-291-5/+37
| | | | | | This change removes a DisplayMetrics reference from KeyboardBuilder. Change-Id: I512694274e69e5281d5be47c3f938bcfd6571152
* Fix Apache license commentTadashi G. Takaoka2013-01-211-8/+8
| | | | Change-Id: Ic56167f952a7f4449da366e1e81610e72c966086
* Fix label of switch to symbols key when symbols has shortcut keyTadashi G. Takaoka2012-12-131-19/+7
| | | | | | | This change fixes the labels of switch to symbols key and switch back from more symbols key when symbols layout has shortcut key. Change-Id: I3fbbef2d929486d0f0542f4d89cb086d9f5bad82
* Add @UsedForTesting and @ExternallyReferenced annotationsTadashi G. Takaoka2012-10-221-1/+2
| | | | | Bug: 7268357 Change-Id: I0b7e0c19f04af9ae30874d0a4c26ad81bc80be8c
* Shortcut key is enabled on the no language keyoardTadashi G. Takaoka2012-10-171-4/+3
| | | | | Bug: 6617754 Change-Id: Id8336f152456367320de3151823691eebc2e02f6