aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Refactor KeyboardView and create MiniKeyboardViewTadashi G. Takaoka2011-05-094-186/+289
| | | | Change-Id: I8d68b944762ccde05020978f20b3742eb6ab945b
* Fix IndexOutOfBoundsException in LatinIME.setSuggestionsKen Wakasa2011-05-061-1/+1
| | | | | bug: 4369728 Change-Id: I7f8b09ecf7fb096bdff73b2d3575ed3779ed120d
* Merge "Straighten out magic space vs real spaces behavior."Jean Chalard2011-05-025-56/+50
|\
| * Straighten out magic space vs real spaces behavior.Jean Chalard2011-05-026-57/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Revert the suggestion update delay to the original value (100msec) for phones.Ken Wakasa2011-04-291-7/+13
| | | | | | | | | | | | | | This is actually a follow-up to I385f9eb2 bug: 4361287 Change-Id: I4c4a0a96a7fa28f4f96dd984453d2c9f3fa7d6c2
* | Include horizontal and vertical gap in the count of Key.isOnKeyTadashi G. Takaoka2011-04-293-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
* | Fix a bug where dead space would appear on the keyboard.Jean Chalard2011-04-281-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
* | Improve the architecture to support multiple dictionaries.Jean Chalard2011-04-285-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
* Merge "Fix snap back behavior for a quote mark input."Ken Wakasa2011-04-271-1/+5
|\
| * Fix snap back behavior for a quote mark input.Ken Wakasa2011-04-271-1/+5
| | | | | | | | | | | | Follow-up for I8168ce6a Change-Id: I63b04471c90d3d02de1bb8f092b5d57614cd8591
* | Rename a confusing variable.Jean Chalard2011-04-271-21/+21
|/ | | | | | | | mHasValidSuggestions -> mHasUncommittedTypedChars Bug: 4322591 Change-Id: If7df986af3cf087c8e7571fd88a55e2b2ccfa38a
* Use the new Utils.setSystemLocale method in the new code.Jean Chalard2011-04-271-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
* Create a dictionary collection and a dictionary factory.Jean Chalard2011-04-275-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
* Merge "Add a method to set the locale to Utils."Jean Chalard2011-04-275-25/+18
|\
| * Add a method to set the locale to Utils.Jean Chalard2011-04-275-25/+18
| | | | | | | | | | | | | | Add a setLocale method to Utils that returns the previous locale. Also unify all calls through the code. Change-Id: Ic850dc5df19fba00ed3601835652859b4321b544
* | Enable long press caps lockTadashi G. Takaoka2011-04-271-1/+1
| | | | | | | | | | Bug: 3319295 Change-Id: I413062c759a1d91c66fcbf5dd04050dfbf15094f
* | Merge "Release caps lock by double tap on shift key"Tadashi G. Takaoka2011-04-262-1/+27
|\ \
| * | Release caps lock by double tap on shift keyTadashi G. Takaoka2011-04-272-1/+27
| | | | | | | | | | | | | | | Bug: 3319295 Change-Id: Ie0cad06c7b1afac0f33af76128303517e9e7bddc
* | | Merge "Handle overflow properly in multiplyRate"satok2011-04-261-2/+4
|\ \ \
| * | | Handle overflow properly in multiplyRatesatok2011-04-261-2/+4
| |/ / | | | | | | | | | | | | Bug: 3401513 Change-Id: I8dd2523caa58bb51c378a01e160a58f9106ce9b8
* | | Merge "Fix quotation marks"Tadashi G. Takaoka2011-04-262-35/+94
|\ \ \
| * | | Fix quotation marksTadashi G. Takaoka2011-04-272-35/+94
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Merge "Shorter timeout to update auto caps state (100ms)"Tadashi G. Takaoka2011-04-261-1/+1
|\ \ \ | |_|/ |/| |
| * | Shorter timeout to update auto caps state (100ms)Tadashi G. Takaoka2011-04-261-1/+1
| |/ | | | | | | | | Bug: 4319726 Change-Id: I068279ddfbb79dfebb6ab845d97cccd62d9e052a
* | Merge "Fix getMiddleDisplayLanguage"satok2011-04-261-1/+1
|\ \
| * | Fix getMiddleDisplayLanguagesatok2011-04-261-1/+1
| |/ | | | | | | Change-Id: Ia73d74b122069197ac471879e5f1cee34f31b182
* | Fix Eclipse warnings.Jean Chalard2011-04-2610-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
* | Do not use contacts for bigram prediction.Jean Chalard2011-04-261-0/+8
|/ | | | | | bug: 4346034 Change-Id: Ibc3c27ca92ed61f1f689df3e90e2eb60fa0cbd33
* Merge "Display the language name on the spacebar if the full display locale ↵satok2011-04-252-12/+19
|\ | | | | | | name is too longer than the space bar"
| * Display the language name on the spacebar if the full display locale name is ↵satok2011-04-252-12/+19
| | | | | | | | | | | | | | too longer than the space bar Bug: 4329512 Change-Id: I477684747bf9e70a6909c25877fbe9e622571fd4
* | Merge "Refresh the dictionary when the language settings were changed on ↵satok2011-04-251-0/+5
|\ \ | | | | | | | | | Dogfood keyboard"
| * | Refresh the dictionary when the language settings were changed on Dogfood ↵satok2011-04-251-0/+5
| |/ | | | | | | | | | | | | keyboard Bug: 4339319 Change-Id: Id6361927f579797932c465988f6728191748f143
* / Disable sliding language switch on phone and number layoutTadashi G. Takaoka2011-04-251-2/+9
|/ | | | | Bug: 4331621 Change-Id: Id02c64bb2724a5f990d6dcc548a8d98a1034d531
* Narrower the language switch threshold to key width x 1.25Tadashi G. Takaoka2011-04-221-2/+2
| | | | Change-Id: I4ea9553bce34bc3783f03d1615c34b6abb153077
* Release the previous key if multi touch input is startedTadashi G. Takaoka2011-04-221-1/+1
| | | | Change-Id: Ib1205e67e900353976150e5ad58abfc92c3dfc21
* Fix repeat key behaviorTadashi G. Takaoka2011-04-222-18/+36
| | | | Change-Id: Ia7e5b2e9579aa0e5050857cdb14f16fa05a33621
* Merge "Clear spacebar sliding language switch diff"Tadashi G. Takaoka2011-04-221-0/+1
|\
| * Clear spacebar sliding language switch diffTadashi G. Takaoka2011-04-221-0/+1
| | | | | | | | Change-Id: If82540b6632476e049fa9c4b3122e9c053227d6e
* | Merge "Fix the spacebar language switcher"satok2011-04-221-0/+1
|\ \ | |/ |/|
| * Fix the spacebar language switchersatok2011-04-221-0/+1
| | | | | | | | Change-Id: I54711ff2014facefe3afd22e536045cd0ffe4955
* | Fix language switch previewTadashi G. Takaoka2011-04-223-8/+13
| | | | | | | | | | | | This change also makes the delay after key preview longer to 60ms. Change-Id: If7cf3b493824bb12e0bf44aa0bc3c186b15b51f6
* | Fix NPE on non-distict multitouch deviceTadashi G. Takaoka2011-04-221-2/+4
| | | | | | | | Change-Id: I6d8a05bf62e510d0556fa4831b3d510041cca63a
* | Move sliding language switch code to PointerTrackerTadashi G. Takaoka2011-04-226-122/+95
| | | | | | | | | | | | | | This change is hack and temporal. Big: 4328445 Change-Id: I0b8851e9f05390db20ddaa10f35cff1cc9f016da
* | Merge "Actually use the bigram prediction option."Jean Chalard2011-04-221-16/+21
|\ \
| * | Actually use the bigram prediction option.Jean Chalard2011-04-221-16/+21
| | | | | | | | | | | | | | | | | | | | | | | | This change also rename methods that should have been renamed in a previous commit (namely, the *SetBigramSuggestions family -> *UpdateBigramSuggestions) Change-Id: I18cac17ba2b93fcc011ea133324f2c7f3532946c
* | | Merge "Add an debug option to use spacebar switcher"satok2011-04-222-3/+15
|\ \ \ | |/ / |/| |
| * | Add an debug option to use spacebar switchersatok2011-04-222-3/+15
| |/ | | | | | | Change-Id: Icc483f097696a1c5a2a7ab037afce19c9cfe837f
* | Add an option for using bigram prediction.Jean Chalard2011-04-222-4/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change adds the option for bigram prediction under the option for bigram suggestion. The "prediction" option depends on the "suggestion" option. This change also reorders a tad bit the settings screen. Namely, it sticks both bigram options under a "bigram" category, and groups the options that did not have a group under a "other options", or misc, category. Finally this change also renames the internal name of the "text corrections" option category to "correction_category" instead of "prediction_category" which was misleading. Change-Id: I2d8787c8a391fd8202ed3a686c613494b7260a1e
* | Use user-history bigrams when no input if available.Jean Chalard2011-04-225-37/+168
| | | | | | | | | | | | | | | | This also fixes a small inconsistency upon clicking on whitespace twice in a row. Also add some unit tests for an introduced and an existing method. Change-Id: I1be2fb53c9624f4d0f5299009632cb4384fdfc15
* | Merge "Rename and reorganize key code"Tadashi G. Takaoka2011-04-214-15/+13
|\ \ | |/ |/|