aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2011-05-13Add advanced settings screenJean Chalard6-44/+102
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-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
2011-05-13Update the setting of re-correction when user changedsatok1-12/+32
Bug: 4401929 Change-Id: I5929e44f27ba057201110d814e9ec767d09c0ee7
2011-05-13Remove double high-reversed-9 quotation markTadashi G. Takaoka3-7/+14
Because current DroidSans font lacks double high-reversed-9 quotation mark '\u201f' glyph (Bug: 4368421), this change remove it from symbol keyboard popup mini keyboard. This change also removes corresponding double low-9 quotation marks as well. Bug: 4347045 Change-Id: I30d1493376efe5af98722e76999107de5dfcae3e
2011-05-12Fix the available input locales and moved Recorrectionsatok14-91/+225
Bug: 4409091 Change-Id: I6efd23ebb9528bf1bd35320057a0ea264c187451
2011-05-12Fix a bug where the locale of the keyboard app would end up wrong.Jean Chalard1-0/+2
Change-Id: I1f9172dd987f8c2ed9b2f3d16a494e4cd264ead7
2011-05-12Fix a bug where suggestions would not update in Froyo WebTextViewJean Chalard1-1/+4
Bug: 4396864 Change-Id: Ia45466319498ae7e35fe8a39b4e3a361d66ac2cc
2011-05-12Add minKeyboardHeight attribute to Keyboard layoutTadashi G. Takaoka32-38/+83
Bug: 4411676 Change-Id: I1f56ba58bacb90790f82326718bf9de95dba5d28
2011-05-12Revert "Added support for speaking keys through accessibility service."Tadashi G. Takaoka49-855/+13
This reverts commit dcade18113286a132a2f5fb508fdba836470c3fb. Bug: 4379983 Change-Id: I2448d8f03990a39a3e328a88904d82efc70241a2
2011-05-11Fix Serbian (Cyrillic) keyboard layoutTadashi G. Takaoka2-17/+20
Bug: 4406840 Change-Id: Iae1d8e9752c355d08d7f3d0fe7057fce61ea702f
2011-05-11Refactor settings flags.Jean Chalard2-257/+295
This needs Ic5bd9b45 to not break the build. Change-Id: I9684be89baba0f855f19c11d000c5638c04cc26e
2011-05-11Fix a bug where suggestion strip pick would reset magic spaceJean Chalard1-1/+2
Bug: 4391347 Change-Id: I93c3c821d3ab78a300edc3d251ce7b1ee0dc3958
2011-05-10Move re-correction codes to Recorrection.javasatok4-164/+205
Change-Id: I0641f333bbc7d4ac27361c97252c4591584efb9d
2011-05-10Fix suggestion strip geometryTadashi G. Takaoka5-13/+13
Bug: 4393288 Change-Id: I6cad1d186db25174a3f31a57975165e720b41266
2011-05-09Import revised translations. DO NOT MERGEEric Fischer7-13/+13
Change-Id: I7d3771cac30793818a12ddd57baf980d7495c87e
2011-05-09Move Recorrection functions to Recorrection.javasatok2-76/+151
Change-Id: I309d78c50074cd6fb02a9d6f51b675b158a56202
2011-05-09Refactor KeyboardView and create MiniKeyboardViewTadashi G. Takaoka14-199/+302
Change-Id: I8d68b944762ccde05020978f20b3742eb6ab945b
2011-05-09Improve magic space handling.Jean Chalard4-40/+73
Split symbols into: - Symbols that should swap themselves with a magic space. - Symbols that should remove the magic space. - Symbols that should transform the magic space into a real space. Also, have symbols inserted from the suggestion strip always consider the space before them to be magic. Also, do minor refactoring to remove useless variables or make clearer how to carry some symbol-related information. Bug: 4391347 Change-Id: Ie2308a62c8fef55e3610897c0f58943acb7aa8c9
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-05-06Tweak keyboard heights for phone, and key preview delay.Ken Wakasa3-14/+14
Change-Id: I1c5e6db2923ce256ae70347f17ab28ff3c700ef1
2011-05-06Add pl keyboard layoutsatok3-0/+42
Bug: 4394303 Change-Id: I0fa24829e1240549728d9b81af3e39a024725016
2011-05-06Fix IndexOutOfBoundsException in LatinIME.setSuggestionsKen Wakasa1-1/+1
bug: 4369728 Change-Id: I7f8b09ecf7fb096bdff73b2d3575ed3779ed120d
2011-05-02Import revised translations.Eric Fischer40-511/+277
Change-Id: I255568e425169188a3be66c56fc36434e0b325fb
2011-05-02Straighten out magic space vs real spaces behavior.Jean Chalard7-57/+53
Picking a suggestion inserts a space after the word. This change makes this space a magic space. Incidentally, do some minor cleanup: add CODE_DASH, CODE_SINGLE_QUOTE and CODE_DOUBLE_QUOTE to Keyboard and use them throughout the code, and remove a useless import directive in some unrelated file. Bug: 4319740 Change-Id: I245f396c34dd0af820bca91edc4ec363238a4ae4
2011-04-29Import revised translations. DO NOT MERGEEric Fischer6-9/+9
Change-Id: Ifb14123f6b1f46cbfa8501696164db7b1ceb66f9
2011-04-29Revert the suggestion update delay to the original value (100msec) for phones.Ken Wakasa3-9/+17
This is actually a follow-up to I385f9eb2 bug: 4361287 Change-Id: I4c4a0a96a7fa28f4f96dd984453d2c9f3fa7d6c2
2011-04-29Include horizontal and vertical gap in the count of Key.isOnKeyTadashi G. Takaoka3-25/+25
This change also reverts I8f6102d6 and considers that the point is on the key while sorting in proximity key detection. Bug: 4348994 Change-Id: I3ee913675e28da7e7b164805a7a683f0814b38b9
2011-04-28Fix a bug where dead space would appear on the keyboard.Jean Chalard1-1/+2
This change fixes a bug where there would be pixels on the keyboard that would not return a key although it's between two keys - or even right on top of one. This change makes it so that the closest key to the touch - within a certain threshold - is always returned, regardless of whether the touch is inside or not. Bug: 4348994 Change-Id: I8f6102d6787eb025cc3c50a26d3a475aeafc4b64
2011-04-28Improve the architecture to support multiple dictionaries.Jean Chalard5-30/+46
This change enables the interface to get multiple dictionaries from a dictionary pack. It only implements it to the end in the case of the proprietary method, as the open method needs still some working out, and the "inside the package" method does not need it. This change goes together with Iaa95bf36, and breaks the build without it. Bug: 1752028 Change-Id: I3ccfd696e8ef083ef9c074e1c3e4bb0bf2fcfd23
2011-04-27Import revised translations. DO NOT MERGEEric Fischer5-5/+5
Change-Id: I781027464664f612f90ae946e0a28ca51e3b19e7
2011-04-27Fix snap back behavior for a quote mark input.Ken Wakasa1-1/+5
Follow-up for I8168ce6a Change-Id: I63b04471c90d3d02de1bb8f092b5d57614cd8591
2011-04-27Rename a confusing variable.Jean Chalard1-21/+21
mHasValidSuggestions -> mHasUncommittedTypedChars Bug: 4322591 Change-Id: If7df986af3cf087c8e7571fd88a55e2b2ccfa38a
2011-04-27Use the new Utils.setSystemLocale method in the new code.Jean Chalard1-7/+3
The change list that introduced this code was created at the same time as the one that introduced the Utils.setSystemLocale method and didn't use it yet. Fix this. Change-Id: Ifdd2ad9f7dbb7f300bc255bc2e035ae893a9d410
2011-04-27Create a dictionary collection and a dictionary factory.Jean Chalard5-116/+254
The dictionary collection is a class complying to the Dictionary interface that acts as a front end to a collection of arbitrarily many dictionaries of any type. The dictionary factory is a helper class for creating various dictionaries and get some meta information about them. At the same time, this change makes the BinaryDictionary class not a singleton any more. This also needs I9afe61a9 to not break the build. Change-Id: I61fdcc4867fcda18342807bf1865e6e46979e5d5
2011-04-27Enable long press caps lockTadashi G. Takaoka1-1/+1
Bug: 3319295 Change-Id: I413062c759a1d91c66fcbf5dd04050dfbf15094f
2011-04-27Enable fast powersatok1-1/+1
Change-Id: I00a91381f63cde62d9e7cf7e17f75869294cf2df
2011-04-27Add a method to set the locale to Utils.Jean Chalard5-25/+18
Add a setLocale method to Utils that returns the previous locale. Also unify all calls through the code. Change-Id: Ic850dc5df19fba00ed3601835652859b4321b544
2011-04-27Release caps lock by double tap on shift keyTadashi G. Takaoka2-1/+27
Bug: 3319295 Change-Id: Ie0cad06c7b1afac0f33af76128303517e9e7bddc
2011-04-27Fix quotation marksTadashi G. Takaoka8-44/+146
This change * Allows snap back from symbols shifted to symbol layout. * Add "left single", "right single", "single low" and "single high reversed" quotation marks to popup characters of "single quote". * Add "double low" and "double high reversed" quatation marks to popup characters of "double quote". * Add "prime" and "double prime" to popup characters of "degree". * Disable non-ASCII key of symbol more layout on passowrd input. Bug: 4345054 Bug: 4347045 Change-Id: I8168ce6a74a9536e4966f7f9d1099ac0132925c7
2011-04-26Import revised translations.Eric Fischer41-82/+533
Change-Id: I71334fc9054623b29cf42188f259712f1619abf2
2011-04-26Handle overflow properly in multiplyRatesatok2-19/+48
Bug: 3401513 Change-Id: I8dd2523caa58bb51c378a01e160a58f9106ce9b8
2011-04-26Shorter timeout to update auto caps state (100ms)Tadashi G. Takaoka1-1/+1
Bug: 4319726 Change-Id: I068279ddfbb79dfebb6ab845d97cccd62d9e052a
2011-04-26Fix Eclipse warnings.Jean Chalard10-22/+15
This change is only there to fix warning issued by Eclipse. It should have absolutely no impact on the program logic. Change-Id: Ie0e242ac6c167297d33de19902340b0f6ecae9e1
2011-04-26Do not use contacts for bigram prediction.Jean Chalard1-0/+8
bug: 4346034 Change-Id: Ibc3c27ca92ed61f1f689df3e90e2eb60fa0cbd33
2011-04-26Fix getMiddleDisplayLanguagesatok1-1/+1
Change-Id: Ia73d74b122069197ac471879e5f1cee34f31b182
2011-04-25Display the language name on the spacebar if the full display locale name is ↵satok2-12/+19
too longer than the space bar Bug: 4329512 Change-Id: I477684747bf9e70a6909c25877fbe9e622571fd4
2011-04-25Refresh the dictionary when the language settings were changed on Dogfood ↵satok1-0/+5
keyboard Bug: 4339319 Change-Id: Id6361927f579797932c465988f6728191748f143
2011-04-25Disable sliding language switch on phone and number layoutTadashi G. Takaoka1-2/+9
Bug: 4331621 Change-Id: Id02c64bb2724a5f990d6dcc548a8d98a1034d531