summaryrefslogtreecommitdiff
path: root/java/src/com/android/inputmethod/keyboard/MainKeyboardView.java
Commit message (Collapse)AuthorAgeFilesLines
* Remove ALS from LatinIME.Dan Zivkovic2015-03-111-9/+0
| | | | | | This fixes unit tests and brings us closer to a green build. Change-Id: Iffcc392eda4a7671a238b79cc7367320ca648725
* Remove shortcut support from LatinIME.Dan Zivkovic2015-02-111-8/+8
| | | | | | Note this change does not affect the native decoder interface. Change-Id: I73b7dc008a5acaf75a31a36a2d332b5afabd82d0
* Make LanguageOnSpacebarHelper as utility classTadashi G. Takaoka2014-12-111-6/+6
| | | | Change-Id: I546f3b1943999a41803222bd14f9ddd23aa87a51
* Add null analysis annotations to keyboard packageTadashi G. Takaoka2014-11-271-1/+1
| | | | Change-Id: I6f020ece3c45d584d413e4265d6d3fbdf1ea8bd8
* Merge "Fix possible NPE in MainKeyboardView"Tadashi G. Takaoka2014-11-271-2/+5
|\
| * Fix possible NPE in MainKeyboardViewTadashi G. Takaoka2014-11-201-2/+5
| | | | | | | | Change-Id: I1fc21a981d9f1740315763b5ca0c1024ece1fa4d
* | Refactor PointerTracker and MainKeyboardViewTadashi G. Takaoka2014-11-211-58/+32
|/ | | | | | This CL reorganize the key press/release state visual drawing code. Change-Id: I4aa10f57309ae2f81333a1e2bd863c23a7a41d82
* Rename StringUtils methods that handle title case manipulationTadashi G. Takaoka2014-11-191-3/+1
| | | | Change-Id: Iee0dd077a0423f110f4f8dad0f04933045baef2a
* Move util classes under commonJean Chalard2014-11-071-1/+1
| | | | | | | Also why did we have two copies of LocaleUtils >.> Bug: 18108776 Change-Id: I03b4403dfd51934e66b567f2f8b87da419cfb3ab
* Make DrawingProxy and TimerProxy as a top-level interfaceTadashi G. Takaoka2014-10-301-2/+2
| | | | Change-Id: Ia425f341255595f8f80c13b2aa409249f9ce4202
* Consolidate TimerHandler.Callbacks with PointerTracker.DrawingProxyTadashi G. Takaoka2014-10-301-18/+22
| | | | Change-Id: I654f7483d1c013ac2685a45af4eb2af15fa219ad
* Merge "Consolidate similar methods"Tadashi G. Takaoka2014-10-301-22/+29
|\
| * Consolidate similar methodsTadashi G. Takaoka2014-10-301-22/+29
| | | | | | | | | | | | | | | | This CL consolidates similar methods in MainKeyboardView. - startWhileTypingFadeinAnimation and startWhileTypingFadeoutAnimation - showSlidingKeyInputPreview and dismissSlidingKeyInputPreview Change-Id: I607ab74683820de2456af3e75663cf8cf358ab38
* | Fix dismiss key preview bug introduced by I658a5b16ccTadashi G. Takaoka2014-10-301-2/+2
|/ | | | Change-Id: I5248374dfe0504f6e64cc5d994e275d80364ec9d
* Remove DrawingHandlerTadashi G. Takaoka2014-10-291-31/+34
| | | | Change-Id: I658a5b16cca1e56f0b944009b8aef09e0a97a0db
* Remove DrawingHandler.Callbacks.dismissAllKeyPreviews()Tadashi G. Takaoka2014-10-291-8/+7
| | | | Change-Id: I2b11ca0dec0f3522648557a9a909f305cc4170fb
* Move StringUtils under common.Jean Chalard2014-10-281-1/+1
| | | | | Bug: 18108776 Change-Id: Ia46a4102a0e86e71118ca5e641f9f531998e166b
* Move Constants.java to the latin.common packageKen Wakasa2014-10-231-1/+1
| | | | | | | Our intention is to have classes of latinime-common under the common package as much as we can. Change-Id: I76efbbbe7bebf1a4aa943715cdff64f91675e20d
* [ML22] Improve the language on spacebar for SLSJean Chalard2014-10-101-2/+10
| | | | | Bug: 11230254 Change-Id: Ib54be1a2a77b6e80cdff1af89a7b4203ea859716
* Stop dimming main keyboard while showing more keys keyboardTadashi G. Takaoka2014-10-081-21/+0
| | | | | Bug: 17910364 Change-Id: Ibe76ee86a43c5939f48e45506c985b3f289eac7a
* [ML14] Forward the locale list to relevant places, againJean Chalard2014-10-061-0/+5
| | | | | | | | | | | | | | | | Diff: +++ b/java/src/com/android/inputmethod/keyboard/internal/KeyboardBuilder.java @@ -735,7 +735,7 @@ public class KeyboardBuilder<KP extends KeyboardParams> { private boolean matchLocaleCodes(TypedArray caseAttr, final Locale[] locales) { // TODO: adujst this for multilingual input - return matchString(caseAttr, R.styleable.Keyboard_Case_languageCode, locales[0].toString()); + return matchString(caseAttr, R.styleable.Keyboard_Case_localeCode, locales[0].toString()); } private boolean matchLanguageCodes(TypedArray caseAttr, Locale[] locales) { Change-Id: Icefac18dd6d5fea97f591177cf8df1ba6de7f4f0
* Revert "[ML14] Forward the locale list to relevant places"Ken Wakasa2014-10-031-5/+0
| | | | | | | | | | This reverts commit 15dbd38283fc9c8fdfd2540f1d94d4dbf2eabcb5. Bug: 11230254 Reverting due to unit test breakage. Change-Id: Icf29ba5c808c754515aef2d1b4162d72f606acfe
* [ML14] Forward the locale list to relevant placesJean Chalard2014-10-031-0/+5
| | | | | Bug: 11230254 Change-Id: Idf3ed27b396d63ade9800c72c5ce0ed613f5f669
* Fix checking a11y status just before calling an a11y methodTadashi G. Takaoka2014-09-251-2/+4
| | | | | Bug: 17035860 Change-Id: I9627d525a570ced085281b4db93fe6896081e818
* am ad4de3fc: am 9ca6658e: am 0f33e614: Implement Floating Action Button more ↵Tadashi G. Takaoka2014-09-081-3/+11
|\ | | | | | | | | | | | | keys keyboard * commit 'ad4de3fc819d658775eed470fc74ad76da5caad2': Implement Floating Action Button more keys keyboard
| * Implement Floating Action Button more keys keyboardTadashi G. Takaoka2014-09-081-3/+11
| | | | | | | | | | Bug: 15681452 Change-Id: I8484e4fe4d989b391f2b5230836dc9dfac218429
* | am 3ad86d91: am afa9d6d8: Merge "Add theme aware key popup preview ↵Tadashi G. Takaoka2014-09-021-6/+22
|\| | | | | | | | | | | | | animation" into lmp-dev * commit '3ad86d91f1e3d251635303e0fb9a83dce22efa3a': Add theme aware key popup preview animation
| * Add theme aware key popup preview animationTadashi G. Takaoka2014-09-021-6/+22
| | | | | | | | | | Bug: 15678343 Change-Id: I26e4d292deab37724387cc9ebc03033fcd698c60
* | Revert "Revert "[ML1] Introduce RichInputMethodSubtype""Jean Chalard2014-08-251-6/+5
| | | | | | | | | | | | | | | | 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-5/+6
| | | | | | | | | | | | This reverts commit 8ffe4bc9321e582a4d882f21e465d5886616f489. Change-Id: I9d4c98b0adfdb78b0f4d376f7691e50d1bd2228f
* | [ML1] Introduce RichInputMethodSubtypeJean Chalard2014-08-221-6/+5
|/ | | | | Bug: 11230254 Change-Id: Ic7a1bf938a5a186dcff527b556295aba2406e8b9
* Auto scale-X text of key popup previewTadashi G. Takaoka2014-08-121-0/+4
| | | | | Bug: 9978106 Change-Id: I335fa3117ac2af2cb8220c4827dd54c1a1da4c5c
* Fix some comments and rename method and parameter namesTadashi G. Takaoka2014-06-231-3/+3
| | | | | | This is a follow up change of I12139a925d and I0ac92c56bd Change-Id: Id6e9f4434fddd5d4274e06da5063606c2ffad932
* Fix dismissing more keys panel when hiding keyboardTadashi G. Takaoka2014-06-221-5/+1
| | | | | | | This issue was introduced by Id7002ecb7f. Bug: 15809493 Change-Id: Iaa51b7f40a54ccbafb45c6444d8bbd21c671f7af
* Merge "Refactor drawing preview classes"Tadashi G. Takaoka2014-06-201-8/+6
|\
| * Refactor drawing preview classesTadashi G. Takaoka2014-06-181-8/+6
| | | | | | | | Change-Id: I0779caa720e3013f055ab48900bed223747b3952
* | Dismiss more keys panel when hiding windowTadashi G. Takaoka2014-06-191-0/+5
|/ | | | | Bug: 15727301 Change-Id: Id7002ecb7f4eea7be3505f6f0235074264418221
* Refactor MoreKeysKeyboard.Builder a bitTadashi G. Takaoka2014-06-181-13/+18
| | | | Change-Id: I12139a925d59bb467df629cebc61423d61db1d2d
* Consolidate 3 public methods of key preview into oneTadashi G. Takaoka2014-06-181-6/+2
| | | | Change-Id: I0ac92c56bdb636998f7f5e20fba6830b4ac435fa
* Fix NPE by disabling key preview popup of Emoji paletteTadashi G. Takaoka2014-06-131-6/+6
| | | | | Bug: 15579928 Change-Id: I6bcf885f2c1aa37b337a85978409ccf41e459c2a
* Fix overwriting accessibility delegate in setKeyboardTadashi G. Takaoka2014-06-081-1/+3
| | | | | | | | | A keyboard accessibility delegate object should be a singleton for each keyboard view. Bug: 15437933 Bug: 15419386 Change-Id: Ia70853c644d950ea6130c1f209b89929b1cb1ee5
* Load KeyCodeDescriptionMapper class lazilyTadashi G. Takaoka2014-06-031-5/+3
| | | | Change-Id: I2cba2bb5b2f449ed29895365b9c6ca285a7640fe
* Create AccessibilityDelegate only when accessibility mode is onTadashi G. Takaoka2014-06-021-10/+16
| | | | Change-Id: I4cbae476d16723778b46ff765dd97832f279785f
* Remove LatinImeLogger and UsabilityStudyLogUtilsTadashi G. Takaoka2014-05-291-6/+0
| | | | | | | This CL must be checked in together with Ie52007dc5c. Bug: 15318007 Change-Id: Ie665f296e43b5485ae8ba7e949aa262794ee0dcc
* Remove researcher loggerTadashi G. Takaoka2014-05-291-25/+0
| | | | | | | This CL must be checked in together with I5cc76807e3. Bug: 15318007 Change-Id: I61423c3377ddc299fb332e742d6626c2e47145bb
* Use onHoverEvent instead of dispatchHoverEventTadashi G. Takaoka2014-05-271-10/+5
| | | | | | | | | This CL also refactors KeyboardAccessibilityDelegate a bit to be able to override on hovering methods that handle enter, move, and exit on a key. Bug: 12491371 Change-Id: I3c7e81ccb8729ae6e466c654efde0c18ed734bdf
* Use Java 7 diamond operatorTadashi G. Takaoka2014-05-241-3/+1
| | | | Change-Id: If16ef50ae73147594615d0f49d6a22621eaf1aef
* Separate MainKeyboardView specific accessibility codeTadashi G. Takaoka2014-05-201-3/+3
| | | | Change-Id: I0d73b4cf60145b6e34bd89f72eb49de3c686f5e3
* Refactor accessibility classes to be more genericTadashi G. Takaoka2014-05-201-8/+7
| | | | Change-Id: Ifad1905f304bccdc39f0d5fbcab8a6353e0b4f76
* Support 9-patch drawable for spacebar iconTadashi G. Takaoka2014-05-151-40/+24
| | | | | Bug: 14419121 Change-Id: I901ea2a5bfae870b3aae8fea3bc38d999b2354b8