| Commit message (Expand) | Author | Age | Files | Lines |
* | Support Turkish keyboard•••I left TODOs in Suggest.java because we must pay attention to locale
when changing character's case. Filed another Bug: 4769095 to track
that.
Bug: 4768050
Change-Id: I1ae2c4ffd2208403a8c2a25dd3a56b71dcefc826
|  Tadashi G. Takaoka | 2011-06-21 | 1 | -0/+3 |
* | Close dictionary appropriately•••The dictionary that extends ExpandableDictionary must be closed when
it becomes unused.
Bug: 4725930
Change-Id: Ib5d2c39771fb7010d303a26d1ea1c8e237c0101f
|  Tadashi G. Takaoka | 2011-06-20 | 1 | -28/+21 |
* | Implement expandable candidates pane•••This change removes horizontal scroll from candidates strip. Instead
of that this change introduces "fixed 3 items candidates strip" and
"expandable candidates pane".
Bug: 4175031
Change-Id: Ia367d9074436fdea76d3b653d81798ce2749170e
|  Tadashi G. Takaoka | 2011-06-14 | 1 | -1/+1 |
* | Add an option to use or not the contacts dictionary.•••Bug: 4586840
Change-Id: If62cd57e5ab661e6a51a5442d09bf0af8f08f263
|  Jean Chalard | 2011-06-13 | 1 | -1/+6 |
* | Create a dictionary collection and a dictionary factory.•••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
|  Jean Chalard | 2011-04-27 | 1 | -10/+8 |
* | Fix Eclipse warnings.•••This change is only there to fix warning issued by Eclipse.
It should have absolutely no impact on the program logic.
Change-Id: Ie0e242ac6c167297d33de19902340b0f6ecae9e1
|  Jean Chalard | 2011-04-26 | 1 | -1/+1 |
* | Use user-history bigrams when no input if available.•••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
|  Jean Chalard | 2011-04-22 | 1 | -16/+31 |
* | Check the availability of layouts for showing the input languages in the sett...•••Bug: 4316889
Change-Id: I746b3ff79c2a6cd4925fca1817d5b209623b5108
|  satok | 2011-04-21 | 1 | -1/+1 |
* | Move language-specific keyboard setting to resources.•••Some flag settings used to be stored in a keyboard layout extravalue setting. This
change:
- Introduces the capability of setting such specific flags in values/config.xml
- Retains the ability to use extravalues (for layout-specific settings), though
there is no more any such setting at the moment.
- Fixes a bug where loading a dictionary from outside does not initialize the flags.
- Moves Flag to another class.
Note: this needs I705ec68c to avoid breaking the build
Change-Id: Ia7703aae3215b06c0b3cb792821649806e8998c1
|  Jean Chalard | 2011-04-20 | 1 | -4/+4 |
* | Add 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 Chalard | 2011-03-18 | 1 | -2/+17 |
* | Refactor 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. Takaoka | 2011-03-16 | 1 | -4/+6 |
* | Add 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. Takaoka | 2011-03-16 | 1 | -59/+41 |
* | Avoid 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 Chalard | 2011-03-15 | 1 | -1/+14 |
* | Add whitelist dictionary•••Bug: 3447571
Change-Id: I538e4e706982129b666ca1ab1085f1b68b69f87f
|  satok | 2011-03-08 | 1 | -43/+53 |
* | Cleanup Suggest to be able to be unit test ready•••Bug: 3414081
Change-Id: Ia76afac4b1a61b8953a215b7cbdb7557736f7b9c
|  Tadashi G. Takaoka | 2011-03-03 | 1 | -59/+52 |
* | Move the auto correction functionalities to AutoCorrection.java•••- Also removed a quick fix for 2nd or more suggestions.
Change-Id: I7bf46a9cd6a727473e68836954fca160c9d853e6
|  satok | 2011-03-03 | 1 | -65/+49 |
* | Clear suggestion strip when the suggestion starts•••bug: 3488704
bug: 3480132
Change-Id: Ie895d2ad1b58dc65fe16d65baa6fccafd4a142bb
|  Ken Wakasa | 2011-03-02 | 1 | -1/+1 |
* | Remove next letters frequency handling•••Bug: 3428942
Change-Id: Id62f467ce4e50c60a56d59bf96770e799a4659e2
|  Tadashi G. Takaoka | 2011-02-17 | 1 | -20/+6 |
* | Add unit test helper method to BinaryDictionary and Suggest•••Bug: 3414081
Change-Id: Idee64010f2f423d3c7c548d0279c7bf287088762
|  Tadashi G. Takaoka | 2011-02-08 | 1 | -0/+7 |
* | Move and rename computeProximityThreshold•••Move and rename KeyboardView.computeProximityThreshold to
KeyDetector.getMostCommonKeyWidth. And make it public for unit test
use.
This is a part of multi-project change (If751659a, Idb18f362)
Bug: 3414081
Change-Id: If751659a53c7412f836d6d28866760ffe84b179b
|  Tadashi G. Takaoka | 2011-02-08 | 1 | -7/+7 |
* | Add debugging info for Latin IME.•••Add frequency of candidates in the candidates view when the debug
mode is active.
Bug: 3312867
Change-Id: Ie911f14ef11b2fa02af8f3a74302129f16ed0604
|  Jean Chalard | 2011-02-01 | 1 | -4/+28 |
* | Merge "Fix auto-correction threshold and promote full matched words" into hon... |  satok | 2011-01-26 | 1 | -1/+1 |
|\ |
|
| * | Fix auto-correction threshold and promote full matched words•••Bug: 3374359
Bug: 3278422
"zbe" will be auto corrected to "be" by fixing s-line
"teh" will be auto corrected to "the" by promotion of full matched words
Change-Id: I314c632820e4e0b1501edeca60ada205d291451f
|  satok | 2011-01-27 | 1 | -1/+1 |
* | | Fix safety net not to be enabled at aggressive autocompletion mode•••Bug: 3374359
Change-Id: I7b1dbeb64a87dda05397c236bb58da292f819471
|  satok | 2011-01-27 | 1 | -0/+4 |
|/ |
|
* | Dim previously suggested words•••Change-Id: Id673c03bfa22ea9ce1bedb5174d8309a37a2a460
|  satok | 2011-01-21 | 1 | -8/+8 |
* | Add a safety net for auto-correction.•••Bug: 3353956
Change-Id: I6a32632b2f986f0d9a07aa72f256a2c41cc09873
|  satok | 2011-01-19 | 1 | -7/+18 |
* | Fixes in close() in BinaryDictionary.•••Avoid using 'synchronized' in finalizer as well.
bug: 3340837
Change-Id: I9b28f54e4490ecb844ba33a379f71b625e4246a2
|  Ken Wakasa | 2011-01-17 | 1 | -4/+4 |
* | Load main dic in native•••Follow up to Id57dce51
bug: 3219819
Change-Id: I00e11ef21d0252ffa88c12dffb9c55b0f2e19a66
|  Ken Wakasa | 2011-01-07 | 1 | -15/+26 |
* | Consolidate main dictionary files.•••This change is a preparation for upcoming optimizations on dictionary file loading.
* We can consolidate dictionary files because we are no longer relying on Asset Manager.
* Stopping compressing dictionary files as planning to use mmap() on the region in the apk file.
* Probably we won't rely on Asset Manager. Instead we'll probably use offset and size obtained from AssetFileDescriptor.
Change-Id: Id57dce512fd3d2397a58628f8264bd824194da76
|  Ken Wakasa | 2011-01-05 | 1 | -1/+1 |
* | Suppress punctuation suggestions if not needed•••Bug: 3294256
Bug: 3284745
Change-Id: I77d54cbfcc2e809315bab59ecb808ae944982501
|  Tadashi G. Takaoka | 2010-12-22 | 1 | -1/+1 |
* | Fix auto correction threshold values array reference•••This change also removes unused argument from Suggest.getSuggestions().
Change-Id: I512f8695d22898bb906e136a66e0ee6b521cd1d1
|  Tadashi G. Takaoka | 2010-12-13 | 1 | -16/+14 |
* | Cleanup unused string resources•••This change also renames some "completion" to "correction".
Change-Id: I156dd7ccafe99a632721f20769d5f0ea5915a564
|  Tadashi G. Takaoka | 2010-12-12 | 1 | -5/+5 |
* | Introduce SuggestedWords class to represent suggestions list•••Change-Id: I81677a785640d37296be8b42c7a74bd0c00edf46
|  Tadashi G. Takaoka | 2010-12-12 | 1 | -7/+12 |
* | Remove LatinIME prefix from classes•••This change also cleanups preference key string constants
Change-Id: I58510f220a90d00d71a935731abeab87384675bb
|  Tadashi G. Takaoka | 2010-12-09 | 1 | -1/+1 |
* | Suggest excessive characters•••bug: 3193883
Change-Id: Iea7a0fce7ce62d8779a7c7e4613d50db30d82b07
|  satok | 2010-12-08 | 1 | -36/+7 |
* | Move some inner static class to top class in new package•••This change introduces new package com.android.inputmethod.keyboard
which hosts keyboard related classes.
Also adds missing @Override and @SuppressWarning("unused") annotation
Change-Id: I0317f5cfa317e13f3c77815f48ffc69b5d1ade05
|  Tadashi G. Takaoka | 2010-12-02 | 1 | -0/+1 |
* | Cleanup unused Java import•••This change also fixes wrong file mode.
Change-Id: Ifcf4c9444ddcdc62d2e4b394891d6eee135c1e8f
|  Tadashi G. Takaoka | 2010-11-29 | 1 | -5/+5 |
* | Capitalization for "Quick Fixes" words doesn't work•••bug: 3151706
Change-Id: I7770a1d26edb1ea72ee93396181953a724dcc4bf
|  Ken Wakasa | 2010-11-01 | 1 | -3/+19 |
* | Add an auto complete's threshold option.•••Change-Id: I3a6821ced8642ab8f954e79a25e31766e4a18eb8
|  Mitsuhiro Shimoda | 2010-10-05 | 1 | -2/+13 |
* | Capitalize the displayed text in the suggestion bar when all of the user type...•••bug:3014227
Change-Id: Ic453e2fde57ce51be00f3a506e1c9328103ca99a
|  Ken Wakasa | 2010-09-28 | 1 | -3/+9 |
* | Clean up LatinIME java•••- remove unused code
- add @Override
- change the inappropriate cast
Change-Id: Ib25b4939e5b4273794ab0f6349776b5b62d89894
|  satok | 2010-08-24 | 1 | -2/+0 |
* | DO NOT MERGE. Backport LatinIME from master to Gingerbread•••TODO: Cleanup will follow.
Change-Id: I4a68ba9f2f55760aa24187f1f13fdfa8a0b70963
|  satok | 2010-08-20 | 1 | -43/+196 |
* | Clarify licensing•••-use AOSP copyright instead of Google
-add NOTICE and tag file
Bug: 2548782
Change-Id: If50b2e9e9cc4b4876b0d047fc9f34e2d537a6da4
|  Jean-Baptiste Queru | 2010-04-05 | 1 | -1/+1 |
* | Don't auto-add when in suggest-only mode. Bug: 2521344•••Also don't highlight quickfixes when in suggest-only mode
In general, reduce the situations where words are auto-added. It was
too eagerly adding even words that were in the dictionary.
|  Amith Yamasani | 2010-03-24 | 1 | -5/+4 |
* | Remove popup for extension keyboard in landscape. bug: 2519903•••Also add a summary text in the input language list for languages with
a dictionary so that users don't feel cheated when they pick a language
that doesn't happen to have a dictionary. Remove greek as it isn't an
extension of the QWERTY keyboard.
|  Amith Yamasani | 2010-03-17 | 1 | -1/+1 |
* | Don't let the native code target be included twice when unbundling.•••Move java code to a different directory so that the unbundled
version doesn't try to compile the native code again.
Change-Id: I05cf9e643824ddc448821f69805ccb0240c5b986
|  Amith Yamasani | 2010-03-09 | 1 | -0/+378 |