aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2011-05-30Enable choosing a bigram prediction several times in a row.Jean Chalard2-11/+13
This change fixes a bug that prevented to choose a prediction several times in a row because the predictions would be replaced right away by punctuations. Please note several things about this change: - Recorrection is pretty much in the middle of being refactored. This change has no effect on recorrection itself, but may make existing strange behavior more obvious when moving the cursor for example. - The part of this change in Recorrection.java is not used in master at the moment because ongoing changes on recorrection result in the control never landing there, but would have been needed in the past and may be needed in the future. - This change may have adverse effects on performance which need to be evaluated. A comment in the code has also been written to this effect. - This does not fix bug 4466199, only addresses a pinpoint case of it to help evaluating the bigram predictions feature. Bug: 4466199 Change-Id: I7219e5aeb74dff9251d12b2a72f94448dbb3e63f
2011-05-25Use custom theme for Keyboard theme switchTadashi G. Takaoka25-446/+194
This change reduces the number of layout files and make these theme-generic. This might be very helpful to re-design suggestion strip. Bug: 4175031 Change-Id: Idca10a4aa0bf7ac496eedd1879311e59780a423b
2011-05-25Disable the legacy recorrection functionalities if the suggestion span is ↵satok2-9/+14
supported Bug: 4346045 Change-Id: Ib4594a9073b961038564bbcd601f9c290d153d5d
2011-05-25Initialize CandidateView in setInputViewTadashi G. Takaoka1-4/+8
When keyboard theme has been switched, input view will be replaced with new theme one and current CandidateView will get stale. The CandidateView must be reseted in setInputView. Change-Id: I36fd14280572d2d367cfef549d7705b3b321ba3e
2011-05-25Fix missing setService call for CandaiteViewTadashi G. Takaoka1-0/+1
This bug has been introduced by I95f379b9. Bug: 4486388 Change-Id: I23fd3abe05946d4709b4593efa4713cd19723479
2011-05-25Put SuggestionSpan at commitTextsatok4-46/+98
Bug: 4346045 Change-Id: Iaabdb8a148b2601bb9cbc2b08509adac164105a4
2011-05-25Fix missing initializartion of key preview positionTadashi G. Takaoka1-1/+1
This is followup of Iddab254c Change-Id: I2d8e68b696779b742d29fdcf03c5fb509cb0bd87
2011-05-25Enable long press even if the key is disabledTadashi G. Takaoka3-5/+5
Change-Id: Iddab254c7d6625bf44473109b4a52d2f7a163a27
2011-05-25Fix IllegalStateException when setting input viewTadashi G. Takaoka1-41/+40
This is followup change of I95f379b9. Bug: 4175031 Change-Id: Ibf3e3bd2524c9543ec6193cb6e59529b2c4df3b1
2011-05-25Fix arguments order of KeyboardId constructorTadashi G. Takaoka1-1/+1
Change-Id: I0b958f10e2146a3a70c9c0643f62ad48ae472631
2011-05-24Slightly lower the keyboard height on 7" landscape (DO NOT MERGE)Tadashi G. Takaoka1-1/+1
Bug: 4479212 Change-Id: Ie3b1d82ee659c5f67eede936c079e99c1a4451b9
2011-05-24Move CandidateView into input viewTadashi G. Takaoka13-134/+171
Bug: 4175031 Change-Id: I95f379b9943d1dcab1dc5527b6e5ac5abd58e280
2011-05-24Tweak the demotion rate for the mistyped space correctionsatok1-1/+1
Bug: 4402942 Change-Id: I7f5412b9fd2f1506f529cff0c3399d748c6ece92
2011-05-24Add number password keyboard layout to phone (DO NOT MERGE)Tadashi G. Takaoka3-136/+235
Bug: 4479212 Change-Id: Ia0a284a365af99257ed47351bdd3387fd9a53eba
2011-05-24Add missing IME_ACTION_NEXTTadashi G. Takaoka1-0/+3
Change-Id: I377042c1750dd97b922bcf40bffb4046e023f6bb
2011-05-24Fix reflection method invokationTadashi G. Takaoka1-3/+3
Either of Method.invoke, Field.get and Field.set can accept null as receiver. Change-Id: I4539dcc95a794f6ee84cf4e7aabf4e8f0206728f
2011-05-23Reorganize drawable for large and xlarge device (DO NOT MERGE)Tadashi G. Takaoka130-60/+60
Because the holo theme drawables have "holo" effect around 9-patch as fixed size image, so we need dedicated drawables for each sw600dp-mdpi and sw768dp-mdpi resolutions for visual designers. * drawable-mdpi (fallback resources) * drawable-sw600dp-mdpi (7" tablet, phone style keyboard, placeholder for now) * drawable-sw768dp-mdpi (10" tablet, tablet style keybaord) Note that: * Eventually sw600dp drawables will be updated by designers. * We need sw768dp drawable copies because, without these, 10" tablet will use updated sw600dp drawables wrongly. * We have to keep drawable-mdpi as final fallback resources. Bug: 4436327 Change-Id: I93db87ee99c2abb8d18e869e5411e3cb5bec1020
2011-05-23Rename filename of hint icons for numbers (DO NOT MERGE)Tadashi G. Takaoka32-120/+120
Bug: 4436327 Change-Id: I1f3bc846683edc4be666dce8ea89659225ef7301
2011-05-23Tweak the demotion rate of mistyped space correctionsatok1-1/+1
Bug: 4402942 Change-Id: I6e0421dfa99e261c72a901c9699fec864ab4b3c5
2011-05-23Remove CandidatesView related method call from voice imeTadashi G. Takaoka2-7/+7
Change-Id: I33ccf2c141d94437b175222b9e65c0b4e2671a35
2011-05-23Remove unnecessary executable permission from drawableTadashi G. Takaoka10-0/+0
Cherry-Pick: Ie8644396e1df8fbc16e4047808857c91aa2451ba Bug: 4436327 Change-Id: I6917876995f20361358b6e6577fc646795f04d7e
2011-05-23Remove unnecessary executable permission from drawableTadashi G. Takaoka10-0/+0
Bug: 4436327 Change-Id: Ie8644396e1df8fbc16e4047808857c91aa2451ba
2011-05-23Squash case for bigram insertion/lookup.Jean Chalard2-10/+25
Bug: 4464446 Change-Id: If7b6d73fb408d53f941c82ed4f47221e85c845d8
2011-05-23Rename resources with new scheme (DO NOT MERGE)Tadashi G. Takaoka56-0/+0
This change renames resources along with new naming scheme. * large to sw600dp (7" tablet uses phone keyboard layout) * xlarge to sw768dp (10" tablet) Bug: 4436327 Change-Id: I96678fa699d2abcb48022d8878557f1486e839aa
2011-05-21Fix Android Keyboard crash on hdpi deviceTadashi G. Takaoka11-0/+0
Cherry-pick: I9fcb970c214e92ad7711fbbf4a375a8c3c6d024b Bug: 4436327 Change-Id: I0d1831783cbff7b9056f84819fbcb8a4a9a34d5d
2011-05-21Fix Android Keyboard crash on hdpi deviceTadashi G. Takaoka11-0/+0
Change-Id: I9fcb970c214e92ad7711fbbf4a375a8c3c6d024b
2011-05-20Remove unused resources (DO NOT MERGE)Tadashi G. Takaoka320-173/+2
This change also syncs the drawables with Master. Cherry-pick: I2573786aac5fd8d543cf12d24c951b67c7353fd7 Bug: 4436327 Change-Id: I88dc0162033a1017040205590c0c34a5111b835a
2011-05-20Reload keyboard after SoftInputWindow size changedTadashi G. Takaoka10-59/+97
Bug: 4450008 Change-Id: Ic6c457db808d8e7479bfaa509192c07a384453e2
2011-05-20Remove manual config item controlling to show input language settingsTadashi G. Takaoka4-17/+9
Change-Id: I77f831c653567f2cf214a5b61107b25cca6d751d
2011-05-20Replace large device keyboard with phone style keyboard (DO NOT MERGE)Tadashi G. Takaoka77-1537/+2159
This change also fixes copyright comments. Bug: 4442045 Change-Id: I297a2c64e709fb0d613404e5f1de45d810f9de15
2011-05-20Fix copyright author from Google to AOSPTadashi G. Takaoka37-37/+37
Change-Id: Iaceedc783181e43af6dd48ece218a42eace66532
2011-05-19Fix Serbian (Cyrillic) keyboard layout (DO NOT MERGE)Tadashi G. Takaoka3-56/+44
Cherry-pick: Iae1d8e9752c355d08d7f3d0fe7057fce61ea702f Bug: 4406840 Change-Id: I5e0109b427093a459d2937809498985dc8409f97
2011-05-19Fix NPE in Key.isDigitPopupCharacter (DO NOT MERGE)Tadashi G. Takaoka1-1/+1
This is the cherry-pick Ie6e8d31e41010db27e2db415b577458b73a9f1a2 Bug: 4442045 Change-Id: I004b15858d3d69b336c66accd0e078f0eaec0a9a
2011-05-19Fix NPE in Key.isDigitPopupCharacterTadashi G. Takaoka1-1/+1
Change-Id: Ie6e8d31e41010db27e2db415b577458b73a9f1a2
2011-05-18Fix a bug on the calculation of the freq on the mistyped space error correctionsatok2-8/+17
Bug: 4402942 Change-Id: I0b611e3d0e8c25ca528ef7408c3949200e5cad85
2011-05-18Copy xlarge layout/values/drawable to large (DO NOT MERGE)Tadashi G. Takaoka50-0/+2942
Bug: 4442045 Change-Id: Iaec97c019eed8f035fef0e8f0b7604db7ecba2b7
2011-05-18Show full display names in the popup of the spacebar language swichersatok8-29/+47
- Multiply the speed of the slide Bug: 4427222 Change-Id: Ifd2de9843191296f0f311440ea7b8ab075c67d8d
2011-05-17Import revised translations.Eric Fischer41-25/+535
Change-Id: I8d37e4dc59fbb9fdb55597b04840e86838ae0650
2011-05-17Fix a bug in one of the methods to get a dictionary.Jean Chalard1-3/+7
One of the two methods for getting a dictionary from the dictionary pack had a bug and would not tolerate not getting an actual dictionary. This change fixes that. Change-Id: Id58bb27258494fb3aa60ec07a4eb27cfb5cc7279
2011-05-17Fix minKeyboardHeight of tabletTadashi G. Takaoka2-0/+2
Change-Id: I5520a2e1abdc24736cb7ef96badefc06bb78e2a3
2011-05-16Remove unused resourcesTadashi G. Takaoka202-146/+0
Bug: 4436327 Change-Id: I2573786aac5fd8d543cf12d24c951b67c7353fd7
2011-05-16Cleanup VoiceIME related drawableTadashi G. Takaoka22-0/+0
Bug: 4436327 Change-Id: I55d7ab043f32d51c32acfd11434214b79a7ae204
2011-05-14Fix NPEsatok1-1/+3
Change-Id: Ib9a000ead8be91fab815dda161fcb258f678c3f4
2011-05-13Fix missing max/minKeyboardHeight in es/pl/pt localeTadashi G. Takaoka3-3/+6
Change-Id: I7bb32aa918ed2f5f4785aaf070026fac1ae43592
2011-05-13Lower the key preview position a bit on phone layoutTadashi G. Takaoka2-1/+2
Change-Id: I90ded245ceb7e13d3e8a76d8c1cc0e7325ab6aab
2011-05-13Add advanced settings screenJean Chalard8-44/+123
Also add an option for popup dismissal delay so as to inaugurate the new screen. Besides, remove a path for options to escape from LatinIME and replace with a direct read from the settings. Change-Id: I7ec6e724262871fa6523506ecc39f65c5fbe34da
2011-05-13Fix null pointer exception in LatinIMEsatok1-8/+11
Change-Id: Ic4d60fe651bdc83771137c0f61f07c3879a3f1a1
2011-05-13Refactor KeyboardView constructorTadashi G. Takaoka1-79/+48
Change-Id: I1fd869c180c6c9f966936fce90bc031bc7824983
2011-05-13Fix a bug with dictionary add interface.Jean Chalard1-5/+2
Fix a bug where the "Touch again to save" message would not stay on screen, following a wrong fix for a problem where Gingerbread- would not display punctuation in the suggestion strip in WebTextView. Change-Id: I3556f83f867240ed7f16753450e6c975853208e5
2011-05-13Auto text sizing using fraction of key heightTadashi G. Takaoka7-22/+43
Bug: 4411676 Change-Id: I8f289dcebe577d277fe2ad6a8331d59f735cbada