aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/compat/InputMethodServiceCompatWrapper.java (unfollow)
Commit message (Expand)AuthorFilesLines
2011-03-24Moved a functionality of setting touchableRegion to InputMethodServiceCompatW...•••Change-Id: I8b9fe507885ef5ae7cb09db93a977e23b1bbd0db satok3-2/+42
2011-03-24Added InputMethodInfoCompatWrapper•••Change-Id: I5f2970e986afbe3b0b24ccf819f57f524e83ef3f satok4-17/+82
2011-03-24Add comments and basic reformatting for new files.•••Ic4df2a9a introduced new keyboard layouts for Hebrew and Arabic. This change adds a comment to them alongside with trailing whitespace suppression. This change explicitly limits its scope to files introduced by Ic4df2a9a. It replaces I48927626 which has been deemed too reckless. Change-Id: Id6b0e47f0623ead0b4e42e57dae359231a2b97fc Jean Chalard5-16/+24
2011-03-23Add a first version of Hebrew and Arabic keyboard.•••The Arabic keyboard is more or less based on PC keyboard and other sources. It has no means to input diacritics at the moment. Some data for the Hebrew keyboard was already there, but not used. This change splits phone and tablet layout and consolidates the tablet one to something that seems sensible. It can't input diacritics either at the moment. Other shortcomings affect those keyboards. For example, normal Hebrew keyboards switch to capital QWERTY keyboard with shift on, as there are no capital Hebrew characters, but this version does not feature this. It should be mostly possible already to enter Arabic or Hebrew with these keyboards however. Change-Id: Ic4df2a9a77ffd03c4f9ee2c47e03c0f43f8e48ae Jean Chalard7-80/+422
2011-03-23Fix a bug that Voice IME is not triggered properly.•••Background: Both SubtypeSwitcher and VoiceConnector have an instance of VoiceInput. And VoiceConnector has a responsivity for setting VoiceInput to SubtypeSwitcher. But in case that VoiceInputConnector already has an instance of VoiceInput VoiceInputConnector doesn't set VoiceInput to SubtypeSwitcher. Change-Id: I42d0220e7d84a08e03f143213cc6eff87e7e79a6 satok1-1/+1
2011-03-23Remove a useless variable.•••Change-Id: Ifec283fcd397f7f42933220f19a807879ef6195e Jean Chalard1-1/+0
2011-03-23Add InputMethodServiceCompatWrapper for moving the callback from LatinIME.•••Change-Id: If6b0180c63738e5e78a20fe5b938ef50d62865d6 satok6-16/+100
2011-03-22Import revised translations. DO NOT MERGE•••Change-Id: Icac4b15118a9a49cac6d0c70e5783e64fa430782 Eric Fischer1-1/+1
2011-03-18Use reflections for classes related to InputMethodSubtype•••Change-Id: Ica53ce879c2b4c5eb47f757fb788a795a881c30e satok10-35/+333
2011-03-19Add -Werror flag to catch more warnings and errors•••Change-Id: I9c39ba24578931944aae8182918ed48a2e82eb39 Ken Wakasa5-27/+73
2011-03-18Import revised translations. DO NOT MERGE•••Change-Id: I09b8c4f7c9a0b89fe5c4da8202115dedaa237fc3 Eric Fischer4-6/+6
2011-03-18Add different ways of reading the dictionary file.•••This change adds basic support for an external dictionary provider. It adds methods for reading the dictionary itself from an asset in the dictionary provider package directly, obtaining the file name through the ContentProvider interface; it also adds a way of getting the data through an InputStream and copying the file locally. Incidentally this change also adds the code needed to listen for updating the dictionary provider package and reloading it in time. This change also goes hand-in-hand with Iab31db6e, which implements the small closed part of this. Issue: 3414944 Change-Id: I5e4fff99a59bb99dbdb002102db6c90e6cb41c8a Jean Chalard11-16/+497
2011-03-18Added CompatUtils for starting a language selector•••Change-Id: I158414efaff43d0c6abe1f9af83ed3425992dfb9 satok3-15/+61
2011-03-17Import revised translations.•••Change-Id: I02fb673c7b4f180fb60c5cb869c458b65820781a Eric Fischer3-24/+24
2011-03-16(Refactor 1) Moved voice related codes to deprecated/voice•••Change-Id: I008ac7099c815fb74a9ab374419617b336453f97 satok15-72/+142
2011-03-16Refactor BinaryDictionary a bit•••This changes: * Flag initialization code in BinaryDictionary to be more unit test friendly. * Removing unnecessary class hierarchy of LatinIME inner class WordAlternatives. * Formatting normalized score neatly. Change-Id: I9f10c093d4f36258fe883cf3fb10cbbda2770497 Tadashi G. Takaoka4-61/+49
2011-03-16Import revised translations. DO NOT MERGE•••Change-Id: Ieb00b75f2eb2f9a85e11c1694d42d2ee449e29e0 Eric Fischer2-7/+7
2011-03-16Add Utils.equalsIgnoreCase methods•••This change also corrects usage of "frequency", "priority" and "score" * Frequency is the relative probability in dictionary. * Score is the relative probability in suggestions. * Priority is kind a sorted score. Change-Id: Iafb135a4ecdb401cc505014a07c74dfcac44d699 Tadashi G. Takaoka7-86/+134
2011-03-15Avoid the removal of high-ranking exactly typed candidates.•••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 Jean Chalard1-1/+14
2011-03-15Import revised translations. DO NOT MERGE•••Change-Id: I6eaad0ee53243ae5eece9bc6f8013eb77472e988 Eric Fischer1-17/+17
2011-03-15Import revised translations.•••Change-Id: Idc65c5944dcfa576ee50facb6b1f82e2a7d7186f Eric Fischer40-966/+486
2011-03-10Import revised translations. DO NOT MERGE•••Change-Id: I660c6bc3b40072e209fe31c3c86ad11ce7928a71 Eric Fischer40-960/+480
2011-03-08Add alphabet hint to number password layout•••Bug: 4063047 Change-Id: I53e79edcb15d4da73a72d14a38224e80b612c115 Tadashi G. Takaoka2-10/+13
2011-03-08Disable debug flag in TextEntryState•••Bug: 4051276 Change-Id: I980c0dfefdf3ae70935aca9755a55d1c925a23f9 Tadashi G. Takaoka1-1/+1
2011-03-07Tweak the demotion rate for a word with missing letter•••Bug: 4027223 Change-Id: Ie9a5552d2f41d60f433573fde52efc097f5143bf satok1-1/+1
2011-03-08Add whitelist dictionary•••Bug: 3447571 Change-Id: I538e4e706982129b666ca1ab1085f1b68b69f87f satok7-93/+278
2011-03-07Fix a bug that a word with only one missing word is not promoted•••Bug: 4027223 Change-Id: Icf7c5b917c18b565dca95b98b96c1c8e2963f540 satok1-1/+1
2011-03-07Import revised translations. DO NOT MERGE•••Change-Id: I2d90d6842d8572db68b3034917fa45e642c7f123 Eric Fischer2-4/+4
2011-03-04A bug fix for the mistyped space algorithm•••Bug: 3311719 -- also fixed compiler warnings Change-Id: I6941c0d02f10d67af88bc943748dde8d8783fabb satok4-9/+7
2011-03-04Add the suggestion algorithm of words with space proximity•••Bug: 3311719 Change-Id: Ide12a4a6280103c092fa0f563dd5b9e3f7f5c89b satok7-45/+113
2011-03-05Demote skipped characters matched words with respect to length.•••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 Jean Chalard4-16/+47
2011-03-05Fix a NPE caused by a null typedWord•••bug: 3514797 Change-Id: Ie1056745ded1f848d1e4f70c5344d6969de509b0 Ken Wakasa2-2/+1
2011-03-04Import revised translations. DO NOT MERGE•••Change-Id: Icc96e318e240e58b07ec52e64fb640b3bc9f6443 Eric Fischer1-2/+2
2011-03-03Fix unit test helper•••Change-Id: I161b451404bbecb30d8e229004786b9e9882e41c Tadashi G. Takaoka2-0/+5
2011-03-04Fix a bug with umlaut processing.•••Issue: 3275926 Change-Id: Ibcb00aaea3ff05ad59ad4e8e54dd3caab5ab9bca Jean Chalard3-27/+40
2011-03-03Cleanup Suggest to be able to be unit test ready•••Bug: 3414081 Change-Id: Ia76afac4b1a61b8953a215b7cbdb7557736f7b9c Tadashi G. Takaoka2-64/+66
2011-03-03Remove unneeded large-screen-specific translations.•••Change-Id: Ia583ff3a4674dab1a2dc5cad7d7166ec9311585a Eric Fischer1-122/+0
2011-03-03Move the auto correction functionalities to AutoCorrection.java•••- Also removed a quick fix for 2nd or more suggestions. Change-Id: I7bf46a9cd6a727473e68836954fca160c9d853e6 satok3-66/+154
2011-03-03Hide shortcut key when the shortcut IME is not enabled•••Bug: 3398726 Change-Id: I5e1bfc1fec9047c1c4e4f29fbf79f0fdf9356ffb Tadashi G. Takaoka4-13/+32
2011-03-02Continue swapping sentence separator and space•••Bug: 3504990 Change-Id: I3de44e9d9adb0bcafa2e59685c4cdc257716b1d6 Tadashi G. Takaoka2-2/+1
2011-03-02Refactor TextEntryState not to use enum•••Bug: 3504990 Change-Id: Id1ae9715d9f9ba99702e4cd5c243026a84d6861d Tadashi G. Takaoka2-224/+153
2011-03-02Remove mIsApplicationSpecifiedCompletions flags from SuggestedWords•••Bug: 3504990 Change-Id: Ib7588ab05fa8b8ab58bf3bea6ff1f644c53ebb94 Tadashi G. Takaoka3-14/+6
2011-03-03Use translation of fallback umlauts digraphs for German.•••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 Jean Chalard8-56/+239
2011-03-02Remain in previous state while sliding off from shift key•••Bug: 3502290 Change-Id: I69b60051863c78727363ae63576c28d87fb71a3a Tadashi G. Takaoka5-32/+38
2011-03-02Enable re-correction even after revert auto-correction•••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 Tadashi G. Takaoka1-11/+3
2011-03-01Introduce timeout for "." shortcut•••Bug: 3294239 Change-Id: I1832be8b54cd4d55cd504a3e1e0434aa284f9592 Tadashi G. Takaoka2-2/+24
2011-03-02Clear suggestion strip when the suggestion starts•••bug: 3488704 bug: 3480132 Change-Id: Ie895d2ad1b58dc65fe16d65baa6fccafd4a142bb Ken Wakasa2-1/+2
2011-03-01Update assets from designer-git repository•••This new assets has revised alpha value. Bug: 3451586 Change-Id: I8485044263b92111d882c4f88ca6a0e92c82f0ed Tadashi G. Takaoka36-0/+0
2011-03-02Fix null token error•••bug: 3499746 Change-Id: I76bd745b0623f4736c6b0aaf0ab42fd4b7c4f349 Ken Wakasa1-1/+4
2011-03-01Import new assets from designer-git repository•••Change-Id: Ie07dc956ea5c40b760d511976e42f847f0f68f9f Tadashi G. Takaoka27-0/+0