aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/compat/InputConnectionCompatUtils.java (unfollow)
Commit message (Expand)AuthorFilesLines
2011-04-08Fix suggestion strip layout•••This change also removes unused drawable and xml resources. Bug: 4181825 Change-Id: Ia723376bc5d40900a513df62e89cdfe35b2c859f Tadashi G. Takaoka14-159/+18
2011-04-08Remove redandant key from popup mini keyboard which has settings key•••Bug: 4196879 Change-Id: If0ed5cace2d4d0c1f0e225e1003d54c055690387 Tadashi G. Takaoka4-87/+56
2011-04-08Disable popup preview and long press on disabled key•••Bug: 4268147 Change-Id: Ibcb54791ef78737dd09d8a594b5a53b0909609d6 Tadashi G. Takaoka2-1/+6
2011-04-08Increase the horizontal gap between shift/delete and normal keys•••This change also adds capability to add horizontal padding to the keyboard. Bug: 4269094 Change-Id: I805e76b253a497079517c01bd2a976f8702f7e56 Tadashi G. Takaoka15-14/+34
2011-04-08Shrink sym_keyboard_voice_off_holo for phone•••Bug: 4225070 Change-Id: Ic61c3c0263158ed3429553b134f13e8e94f5f5b7 satok2-0/+0
2011-04-08Add logOnSeparator•••This is a supplement for I9abb8141f23100d Change-Id: I529d2a78f4fe630611db4cba830d933370c8c34f satok4-23/+42
2011-04-08Remove "settings" key popup from "slash" and "atmark" key•••Removing "settings" key popup from these keys when there's a dedicated "settings" key in the layout. This is followup chnage of I119528c0. Bug: 4196879 Change-Id: I742cc6d1d890c095610f1e8b9ac91a044ec540b7 Tadashi G. Takaoka1-23/+52
2011-04-07Import revised translations.•••Change-Id: I8c2fb2177e47ad50cf0ae1a191d2b8b4186c0700 Eric Fischer41-8/+92
2011-04-07Simplify the Key's on state transition•••Because handling shift locked state of alphabet keyboard is done by KeyboardSwitcher, there is no need to change the "on" state of Key when releasing the key. On the other hand, symbol and symbol shifted keyboard has fixed "on" state "ALT/MORE" key. This change also renames the attribute "isModifier" to "isFunctional". Change-Id: I082885bd2376ae26bdfc378c14add2b5d6be1d4e Tadashi G. Takaoka10-47/+34
2011-04-07Disable successive modifier key while sliding input•••When user starts sliding key input, sliding through successive modifier key will be ignored. Bug: 4181843 Depends: I082885bd2376ae26bdfc378c14add2b5d6be1d4e Change-Id: Ibe890b9cc1183dbe9f68a421650fcd97e7ff221c Tadashi G. Takaoka1-11/+33
2011-04-07Remove "settings key" popup from "comma key"•••Bug: 4196879 Change-Id: I119528c03526b47a1398d9efc2aa307eb0c07ffe Tadashi G. Takaoka1-5/+18
2011-04-07Fix popup key preview on tablet•••This change temporally enable popup key preview option on tablet. (config_enable_show_popup_on_keypress_option). Bug: 3286117 Change-Id: Iabbac5a333460e1ed2f8d05ba82f4bae81854b85 Tadashi G. Takaoka16-72/+36
2011-04-06Import revised translations. DO NOT MERGE•••Change-Id: Ica512df634b9152aac5bcd5f15d783110724fd7d Eric Fischer1-1/+1
2011-04-06Reinforce user-history based bigram use.•••- Have user-history based bigrams used as soon as they are entered, not after 6 times. - Limit bigram frequency to 255 (this limits the multiplier to 1.8, and has no effect on main dict bigrams which already have this limit) - Some TODO resolving bug: 4192129 Change-Id: I4777f1a58c43dd55381c4b01252d722ab3a70547 Jean Chalard2-19/+16
2011-04-01Add settings for theme, userfeedback and other settings (temporary)•••Change-Id: I063c48dbf021f5608c241a3543aa2628b5faaa40 satok2-80/+83
2011-04-01Revert all hdpi assets to gingerbread•••Bug: 4196962 - all hdpi assets are blurred. Change-Id: I4a589f99ead2b8db96f03c19771f083306276e61 satok128-0/+0
2011-04-01Enable VoiceInput even if there is no shortcut subtype supported•••Change-Id: I1d455348f56d73ecb942f22c2bbd03f240b489a6 satok6-11/+165
2011-04-01Disable Recorrection when APIs are not supported.•••Change-Id: I3b8fdc149d350215fd4852a50456824fe3fabe0b satok3-79/+39
2011-03-29Import revised translations. DO NOT MERGE•••Change-Id: I33a83686f71aa49855d807d580648f50ac4513da Eric Fischer5-35/+35
2011-03-29Import revised translations. DO NOT MERGE•••Change-Id: I9c0ccba49ec84860ad5390d4c5f878a48f873cfe Eric Fischer2-6/+6
2011-03-29Import revised translations. DO NOT MERGE•••Change-Id: I19cdfdaf6a4139dcc4100650dd23ca12e26ede2b Eric Fischer2-4/+4
2011-03-25Fix a NPE in InputMethodManagerCompatWrapper•••Change-Id: Ia7c9b7135ba38a8df29464f7776b51d412f71acb satok1-0/+3
2011-03-25Fix some compat bugs and add VoiceInputLoggerCompatUtils•••Change-Id: I54ed0853ed4423704a300977d7880678e066a6fb satok7-13/+65
2011-03-25Move a debug utility function to EditorInfoCompatUtils•••- imeOptionName Change-Id: I7a7ea9bee410cedc0ef9b3d2aa4df8260d7f6a35 satok3-24/+44
2011-03-25Added InputTypeCompatUtils•••Also Moved utilities related to InputType to InputTypeCompatUtils Change-Id: Iab8ff5389f624f2abe627ece2acb156b0e1285ef satok4-36/+108
2011-03-24Added InputConnectionCompatUtils and EditorInfoCompatUtils•••Change-Id: Ie69d5e90c4ee978d3ecb40b68e6466082569ca7a satok4-12/+141
2011-03-24Moved a functionality of setOverScrollMode to InputMethodServiceCompatWrapper•••Change-Id: Ie473c9fced9f0a8da5643390b44aa4b86128396d satok3-4/+27
2011-03-24Added VibratorCompatWrapper•••Change-Id: I7640f051873f42aa15337edc718ac95ec1c51698 satok3-7/+52
2011-03-24Renamed Proxy classes•••- VoiceConnector to VoiceProxy - VoiceInputConnector to VoiceInputWrapper - VoiceLoggerConnector to VoiceLoggerWrapper Change-Id: I908ddc590c8846cf5cbd80b9c0257cb65c638bde satok5-66/+66
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