aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (unfollow)
Commit message (Collapse)AuthorFilesLines
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-24Add number password keyboard layout to phone (DO NOT MERGE)Tadashi G. Takaoka3-136/+235
Bug: 4479212 Change-Id: Ia0a284a365af99257ed47351bdd3387fd9a53eba
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-23Remove unnecessary executable permission from drawableTadashi G. Takaoka10-0/+0
Bug: 4436327 Change-Id: Ie8644396e1df8fbc16e4047808857c91aa2451ba
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-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-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-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-18Copy xlarge layout/values/drawable to large (DO NOT MERGE)Tadashi G. Takaoka50-0/+2942
Bug: 4442045 Change-Id: Iaec97c019eed8f035fef0e8f0b7604db7ecba2b7
2011-05-09Import revised translations. DO NOT MERGEEric Fischer7-13/+13
Change-Id: I7d3771cac30793818a12ddd57baf980d7495c87e
2011-05-09Include horizontal and vertical gap in the count of Key.isOnKeyTadashi G. Takaoka3-17/+20
This change considers that the point is on the key while sorting in proximity key detection. This change is the cherry-pick of I3ee91367. Bug: 4353949 Change-Id: I04fa0acf4d32c18bea9640b39a5c770466a37803
2011-04-29Import revised translations. DO NOT MERGEEric Fischer6-9/+9
Change-Id: Ifb14123f6b1f46cbfa8501696164db7b1ceb66f9
2011-04-14Import revised translations. DO NOT MERGEEric Fischer6-8/+8
Change-Id: I683ff5dde869ecfe1d0a20ee69ae55d53a91feb2
2011-04-06Import revised translations. DO NOT MERGEEric Fischer1-1/+1
Change-Id: Ica512df634b9152aac5bcd5f15d783110724fd7d
2011-03-29Import revised translations. DO NOT MERGEEric Fischer5-35/+35
Change-Id: I33a83686f71aa49855d807d580648f50ac4513da
2011-03-29Import revised translations. DO NOT MERGEEric Fischer2-6/+6
Change-Id: I9c0ccba49ec84860ad5390d4c5f878a48f873cfe
2011-03-22Import revised translations. DO NOT MERGEEric Fischer1-1/+1
Change-Id: Icac4b15118a9a49cac6d0c70e5783e64fa430782
2011-03-16Import revised translations. DO NOT MERGEEric Fischer2-7/+7
Change-Id: Ieb00b75f2eb2f9a85e11c1694d42d2ee449e29e0
2011-03-15Avoid the removal of high-ranking exactly typed candidates.Jean Chalard1-1/+14
It used to be the case that the scoring system turns up the same word that was entered with a different capitalization, but with a lower score than some other, more frequent word. To cope with this, there was code that would order such candidates in the first slot no matter what. This processing is now useless because fully matching words now have a huge boost that ensures they will get to the top of the list, before any non-fully matching word (which means, differing only by capitalization or accents). The bug that did happen with this was, if a fully-matching word got matched by several processing passes, and the (chronologically) later score affected to this word was weaker, it would result in the duplicate removal pass removing the stronger score. This in turn would mess with autocorrect. In an effort to keep the risk at a minimum for MR1, this change does not actually remove the useless code, but adds a check in the odd case to avoid the bad situation. Another change will remove the code for ICS release. bug: 4100269 Change-Id: I18c0575332981ffec0e257e26a360995838d521e
2011-03-15Import revised translations. DO NOT MERGEEric Fischer1-17/+17
Change-Id: I6eaad0ee53243ae5eece9bc6f8013eb77472e988
2011-03-10Import revised translations. DO NOT MERGEEric Fischer40-960/+480
Change-Id: I660c6bc3b40072e209fe31c3c86ad11ce7928a71
2011-03-08Add alphabet hint to number password layoutTadashi G. Takaoka2-10/+13
Bug: 4063047 Change-Id: I53e79edcb15d4da73a72d14a38224e80b612c115
2011-03-08Disable debug flag in TextEntryStateTadashi G. Takaoka1-1/+1
Bug: 4051276 Change-Id: I980c0dfefdf3ae70935aca9755a55d1c925a23f9
2011-03-07Tweak the demotion rate for a word with missing lettersatok1-1/+1
Bug: 4027223 Change-Id: Ie9a5552d2f41d60f433573fde52efc097f5143bf
2011-03-08Add whitelist dictionarysatok7-93/+278
Bug: 3447571 Change-Id: I538e4e706982129b666ca1ab1085f1b68b69f87f
2011-03-07Fix a bug that a word with only one missing word is not promotedsatok1-1/+1
Bug: 4027223 Change-Id: Icf7c5b917c18b565dca95b98b96c1c8e2963f540
2011-03-07Import revised translations. DO NOT MERGEEric Fischer2-4/+4
Change-Id: I2d90d6842d8572db68b3034917fa45e642c7f123
2011-03-04A bug fix for the mistyped space algorithmsatok4-9/+7
Bug: 3311719 -- also fixed compiler warnings Change-Id: I6941c0d02f10d67af88bc943748dde8d8783fabb
2011-03-04Add the suggestion algorithm of words with space proximitysatok7-45/+113
Bug: 3311719 Change-Id: Ide12a4a6280103c092fa0f563dd5b9e3f7f5c89b
2011-03-05Demote skipped characters matched words with respect to length.Jean Chalard4-16/+47
Words that matched user input with skipped characters used to be demoted in BinaryDictionary by a constant factor and not at all in those dictionaries implemented in java code. To represent the fact that the impact of a skipped character gets larger as the word is shorter, this change will implement a demotion that gets larger as the typed word is shorter. The demotion rate is (n - 2) / (n - 1) where n is the length of the typed word for n >= 2. It implements it for both BinaryDictionary and java dictionaries. Bug: 3340731 Change-Id: I3a18be80a9708981d56a950dc25fe08f018b5b89
2011-03-05Fix a NPE caused by a null typedWordKen Wakasa2-2/+1
bug: 3514797 Change-Id: Ie1056745ded1f848d1e4f70c5344d6969de509b0
2011-03-04Import revised translations. DO NOT MERGEEric Fischer1-2/+2
Change-Id: Icc96e318e240e58b07ec52e64fb640b3bc9f6443
2011-03-03Fix unit test helperTadashi G. Takaoka2-0/+5
Change-Id: I161b451404bbecb30d8e229004786b9e9882e41c
2011-03-04Fix a bug with umlaut processing.Jean Chalard3-27/+40
Issue: 3275926 Change-Id: Ibcb00aaea3ff05ad59ad4e8e54dd3caab5ab9bca
2011-03-03Cleanup Suggest to be able to be unit test readyTadashi G. Takaoka2-64/+66
Bug: 3414081 Change-Id: Ia76afac4b1a61b8953a215b7cbdb7557736f7b9c
2011-03-03Remove unneeded large-screen-specific translations.Eric Fischer1-122/+0
Change-Id: Ia583ff3a4674dab1a2dc5cad7d7166ec9311585a
2011-03-03Move the auto correction functionalities to AutoCorrection.javasatok3-66/+154
- Also removed a quick fix for 2nd or more suggestions. Change-Id: I7bf46a9cd6a727473e68836954fca160c9d853e6
2011-03-03Hide shortcut key when the shortcut IME is not enabledTadashi G. Takaoka4-13/+32
Bug: 3398726 Change-Id: I5e1bfc1fec9047c1c4e4f29fbf79f0fdf9356ffb
2011-03-02Continue swapping sentence separator and spaceTadashi G. Takaoka2-2/+1
Bug: 3504990 Change-Id: I3de44e9d9adb0bcafa2e59685c4cdc257716b1d6
2011-03-02Refactor TextEntryState not to use enumTadashi G. Takaoka2-224/+153
Bug: 3504990 Change-Id: Id1ae9715d9f9ba99702e4cd5c243026a84d6861d
2011-03-02Remove mIsApplicationSpecifiedCompletions flags from SuggestedWordsTadashi G. Takaoka3-14/+6
Bug: 3504990 Change-Id: Ib7588ab05fa8b8ab58bf3bea6ff1f644c53ebb94
2011-03-03Use translation of fallback umlauts digraphs for German.Jean Chalard8-56/+239
For German : handle "ae", "oe" and "ue" to be alternate forms for umlaut-bearing versions of "a", "o" and "u". Issue: 3275926 Change-Id: I056c707cdacc464ceab63be56c016c7f8439196c
2011-03-02Remain in previous state while sliding off from shift keyTadashi G. Takaoka5-32/+38
Bug: 3502290 Change-Id: I69b60051863c78727363ae63576c28d87fb71a3a
2011-03-02Enable re-correction even after revert auto-correctionTadashi G. Takaoka1-11/+3
This change removes the boolean flag mJustReverted. Because we preserve separator after canceling auto-correction according to bug#3230708, there is no need for this flag now. Bug: 3193810 Change-Id: Icea06ece569774b494ffa4ca4a899c898661cc19
2011-03-01Introduce timeout for "." shortcutTadashi G. Takaoka2-2/+24
Bug: 3294239 Change-Id: I1832be8b54cd4d55cd504a3e1e0434aa284f9592
2011-03-02Clear suggestion strip when the suggestion startsKen Wakasa2-1/+2
bug: 3488704 bug: 3480132 Change-Id: Ie895d2ad1b58dc65fe16d65baa6fccafd4a142bb
2011-03-01Update assets from designer-git repositoryTadashi G. Takaoka36-0/+0
This new assets has revised alpha value. Bug: 3451586 Change-Id: I8485044263b92111d882c4f88ca6a0e92c82f0ed