aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2011-05-31Adaptive keyboard width/position parserTadashi G. Takaoka3-23/+78
This change introduces the following features to Keyboard XML format. * "keyXPos" can specify the key X coordinate directly. * "keyXPos" can be negative. The X coordinate will be calcluated from the right edge of the keyboard toward left. * "keyWidth" can be zero to be filled up to the right side. * "keyWidth can be negative. The key will be filled up to both sides. * Spacer's horizontalGap is renamed as keyWidth, and can be inherited from key-style. * Spacer can have keyXPos attribute. Using these syntax, all keyboard layouts have been re-written. Cherry-Pick: I314b2e8ca2aa145ff9506cbf927140a15685af42 Bug: 4442045 Change-Id: I048fe5eaef020d8472ab577e9d326042bae2f3fa
2011-05-30Fix web input type judgmentTadashi G. Takaoka2-4/+8
Bug: 4490948 Change-Id: I71efb8f5784970f1d2a94da1d2eb852f7f11885f
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-28Rename resource folder according to new naming schemeTadashi G. Takaoka27-0/+0
Change-Id: I45a29d753103d82b625e55e78f1075497e94396f
2011-05-27Add number password keyboard layout to phoneTadashi G. Takaoka1-74/+111
Bug: 4479212 Change-Id: I230371632d5ba0d940e576a9b8b6668079990004 Cherry-pick: Ia0a284a3
2011-05-27Remove web mode and add webInput booleanTadashi G. Takaoka8-23/+50
Bug: 4490948 Change-Id: I6fe23c9ab4918eab6806cc621c4d6821c2e1baf9 Cherry-Pick: I4cd1af0b
2011-05-27Rename filename of hint icons for numbersTadashi G. Takaoka26-60/+60
Change-Id: Ibd844167199f5d884d97b8fe9f536f47fbe5bdcd Cherry-Pick: I1f3bc846
2011-05-26Import revised translations.Eric Fischer42-445/+1343
Change-Id: I03c7133e46f6067f1912e778b498bf1915f42441
2011-05-26Fix Russian keyboard input codeTadashi G. Takaoka1-1/+1
This is cherry pick from Honecyom-MR2 Iebeec413. Change-Id: I11b292fe4469f1d0232948b57a93cd0f0275c87d
2011-05-26Fix whitelistsatok3-9/+39
Bug: 4090049 Change-Id: I1d57ddafcacb895196c65acaae198dad7499983b
2011-05-26Add SuggestionSpan suggestion picked notification receiversatok3-11/+69
Bug: 4443922 Change-Id: I8a9dc5077ae06c6d0c39fd7fdd823fc4f4d05f45
2011-05-25Stop promoting auto dictionary words to the user dict.Jean Chalard2-17/+0
Also see change I5a57ecc8 which is another fix for the same problem. Bug: 3459274 Change-Id: Ica2bb5b5aa4362d538df3765559d676c1aab4a85
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