| Commit message (Expand) | Author | Age | Files | Lines |
* | Merge "[HW4] Move a reference to WordComposer out of LatinIME" |  Jean Chalard | 2014-06-26 | 1 | -0/+11 |
|\ |
|
| * | [HW4] Move a reference to WordComposer out of LatinIME•••Change-Id: I5436432c0da86ed1e33b3c9d40204f4ea013ff55
|  Jean Chalard | 2014-07-01 | 1 | -0/+11 |
* | | Merge "Fix a unit test" |  Jean Chalard | 2014-06-26 | 1 | -2/+4 |
|\ \
| |/
|/| |
|
| * | Fix a unit test•••When switching languages, we need to wait until the dictionary is
loaded to compute suggestions.
Change-Id: I7c32a900b297cd6302bfdc020842581315f3007f
|  Jean Chalard | 2014-07-01 | 1 | -2/+4 |
* | | [SD7] Actually check for script.•••...also implement the check for Hebrew and Arabic.
Bug: 15840116
Change-Id: Ia6433d7d98038ade64c171be4fe4b3f094111fac
|  Jean Chalard | 2014-07-01 | 1 | -2/+7 |
|/ |
|
* | [SD5(2)] Remove useless args•••Bug: 15840116
Change-Id: I1123426fbd9d420c1be64ccc917a5f870e70e6fa
|  Jean Chalard | 2014-07-01 | 1 | -2/+1 |
* | Revert "[SD5] Remove useless args"•••This reverts commit 1d300239612591879d535c20ade1f2712048170e that broke the build.
Bug: 15840116
Change-Id: I0a5fa7dea2b418d19df24b2b31ed96bf192d45c0
|  Ken Wakasa | 2014-07-01 | 1 | -1/+2 |
* | [SD5] Remove useless args•••Bug: 15840116
Change-Id: Ib3380cfc9d343c6f8953bba03af3801142bc3bdb
|  Jean Chalard | 2014-06-30 | 1 | -2/+1 |
* | [SD4] Restart suggestions on language change•••...otherwise we can't recompute the composition when we
change scripts.
This also fixes when we register that we need to take note
that the current subtype was used. Luckily this is a good
occasion for some cleanup that I've wanted to do for some
time: use InputTransaction for onTextInput (with the goal
to ultimately remove it entirely)
Bug: 15840116
Change-Id: Ie4f4f9157b66b79237eeb3db75535803124d3e19
|  Jean Chalard | 2014-06-30 | 1 | -10/+21 |
* | [SD3] Forward the script ID to where it will be used•••Bug: 15840116
Change-Id: If2073e76fed74ae6e1cdd7670013e0e985b0e630
|  Jean Chalard | 2014-06-27 | 1 | -11/+15 |
* | Merge "Find multiple previous word information to support n-gram." |  Keisuke Kuroyanagi | 2014-06-26 | 1 | -3/+4 |
|\ |
|
| * | Find multiple previous word information to support n-gram.•••Bug: 14425059
Change-Id: Ieace636334a9b2a094527341d4fcfc05958296c5
|  Keisuke Kuroyanagi | 2014-06-27 | 1 | -3/+4 |
* | | Merge "[HW1] Fix some bugs with event handling" |  Jean Chalard | 2014-06-24 | 1 | -1/+1 |
|\ \
| |/
|/| |
|
| * | [HW1] Fix some bugs with event handling•••With hardware events, we do have some events that
have both a keycode and a code point, so we need
a better way of distinguishing between auto-insert
keystrokes and others.
Change-Id: Ia23042989b4dca9d3a7d4a4c06bcebdabe324a7a
|  Jean Chalard | 2014-06-26 | 1 | -1/+1 |
* | | Merge "Make PrevWordsInfo have multiple words' information." |  Keisuke Kuroyanagi | 2014-06-24 | 1 | -1/+2 |
|\ \
| |/
|/| |
|
| * | Make PrevWordsInfo have multiple words' information.•••Bug: 14425059
Change-Id: I2bd6a872904a44b80f638a13d91a97559217cc1a
|  Keisuke Kuroyanagi | 2014-06-25 | 1 | -1/+2 |
* | | Don't commit a space before it's actually needed•••Bug: 15740318
Change-Id: Idad06cb2c18335a981d5e9dea7eccf5e7ea8f701
|  Jean Chalard | 2014-06-25 | 1 | -54/+57 |
* | | Some cleanup to accommodate a fix•••Also, this double tests for CODE_SPACE in the path going through
maybeDoubleSpacePeriod, but that's temporary.
Bug: 15740318
Change-Id: I0a6ace09cc791f0009157d3017675b9b3eb92145
|  Jean Chalard | 2014-06-23 | 1 | -7/+12 |
|/ |
|
* | Merge "Remove word from personalized dicts when it's canceled." |  Keisuke Kuroyanagi | 2014-06-19 | 1 | -3/+5 |
|\ |
|
| * | Remove word from personalized dicts when it's canceled.•••Bug: 15555552
Bug: 15552347
Change-Id: Ia4d8c79d079e3ce233d46d4bbad4fff1be5c5c39
|  Keisuke Kuroyanagi | 2014-06-20 | 1 | -3/+5 |
* | | Clear suggestions strip if a suggestion engine isn't attached•••Bug: 15709298
Change-Id: I1b3fff3152960d85060149727d7a3422fea8a0bd
|  Tadashi G. Takaoka | 2014-06-18 | 1 | -0/+2 |
|/ |
|
* | [CM2] Update beginning-of-sentence suggestions•••We need to update them after separator-space, and also when
the user presses shift and they are displayed.
Bug: 15554503
Change-Id: I5596163d5cd94d3cc5f6af10a1ab2cc74b6d4279
|  Jean Chalard | 2014-06-16 | 1 | -1/+4 |
* | [CM1] Let predictions be aware of capitalize mode.•••Bug: 15554503
Change-Id: If5e8c0d94ed26d929400ccbb0d45ac23dd98d180
|  Jean Chalard | 2014-06-16 | 1 | -0/+19 |
* | Remove mPrevWordsInfo•••This member has outlived its usefulness. It's not clear now that it
makes things really faster, but it does bring a lot of complexity
that we can avoid by removing it.
Change-Id: Ifbc8094a45b56b958fe165b1930f4cc358a97721
|  Jean Chalard | 2014-06-10 | 1 | -44/+10 |
* | When starting input, include the literal word in suggestions•••This change also includes a fix that has suggestions re-computed
when the typed word is included but no prior suggestions were
found in spans.
Bug: 2349475
Change-Id: Ic06e6ac492507126ffc1e96a5f396c971b567272
|  Jean Chalard | 2014-06-06 | 1 | -10/+13 |
* | Merge "Fix a bug on rotation with selection." |  Jean Chalard | 2014-06-06 | 1 | -3/+13 |
|\ |
|
| * | Fix a bug on rotation with selection.•••The symptom : when text is selected and the device is rotated,
sometimes the keyboard sets the word as being composed around
the start of the selection. Upon the next rotation this ends up
with the keyboard committing some text in place of the selection.
The cause : another bug in the framework with rotation >.>
The keyboard receives a call to startInput with a wrong cursor
position, namely one that does not represent a selection. The
keyboard sets a composition according to this wrong data. When
the keyboard is rotated again, it commits the text, which takes
the place of the selection.
The solution : actually when restarting input the keyboard
realizes that the cursor position is wrong. We cancel composition
at that time.
For robustness, this change also implements two other defensive
changes : upon call to onUpdateSelection, we actually realize
that the previous values were wrong, so we also fix it at that
time, and in addition, when rotating, we finishComposingText()
instead of commitText() which is less dangerous. Implementing
this later change also allows us to let less internal variables
from InputLogic escape to LatinIME, so it's also a good change
for design.
Bug: 14140799
Change-Id: Ib10de18e53e376ac1bbc8487e13d969828483346
|  Jean Chalard | 2014-06-06 | 1 | -3/+13 |
* | | Rename some boolean variables for readability•••Change-Id: I434cf507e68349b9893ac084645986d6b3d7da91
|  Tadashi G. Takaoka | 2014-06-05 | 1 | -2/+2 |
|/ |
|
* | Don't recapitalize just at the start of input•••Bug: 13283555
Change-Id: Iab0466425dc44779d110f2cd29d725d22eb04827
|  Jean Chalard | 2014-06-04 | 1 | -7/+5 |
* | Refactoring•••Rename `initialize' to `start' and `deactivate' to `stop' for ease
of understanding. It's completely bizarre that you can "deactivate"
a recapitalization and that will just restart a new one the next time
you press shift. Start and stop are easier to understand.
Change-Id: I455175aebfcfe11198c6c61bf2c6b19efc3f82df
|  Jean Chalard | 2014-06-04 | 1 | -7/+7 |
* | Make prevWord = null if the next word starts from a connector.•••This fixes PunctuationTests#
testAutoCorrectionWithSingleQuotesAround.
Bug: 14119293
Bug: 15334309
Change-Id: I604c21a21e89a5fc431fd56ab7b6ad03f4736b01
|  Keisuke Kuroyanagi | 2014-05-30 | 1 | -8/+10 |
* | Limit recapitalization for reasonable performance.•••At 100k text, it's reasonably fast (less than 1s on latest hardware).
Bug: 12913404
Change-Id: I426b918b2610af24364934a1c37a7314f1142ad0
|  Jean Chalard | 2014-05-30 | 1 | -9/+12 |
* | Merge "Remove LatinImeLogger and UsabilityStudyLogUtils" |  Tadashi G. Takaoka | 2014-05-29 | 1 | -40/+0 |
|\ |
|
| * | Remove LatinImeLogger and UsabilityStudyLogUtils•••This CL must be checked in together with Ie52007dc5c.
Bug: 15318007
Change-Id: Ie665f296e43b5485ae8ba7e949aa262794ee0dcc
|  Tadashi G. Takaoka | 2014-05-29 | 1 | -40/+0 |
* | | Fix: too many calls to getSuggestedWordsForTypingInput•••This reverts commit d941ea18 and builds on it to fix the behavior
of the broken cases.
It also fixes a small, related bug that probably has existed for
a very long time: predictions not displayed when cancelling
double-space-to-period.
Bug: 15148015
Change-Id: I1f9358f8b6f5804f831643611576be347e83999d
|  Jean Chalard | 2014-05-29 | 1 | -2/+11 |
|/ |
|
* | Remove researcher logger•••This CL must be checked in together with I5cc76807e3.
Bug: 15318007
Change-Id: I61423c3377ddc299fb332e742d6626c2e47145bb
|  Tadashi G. Takaoka | 2014-05-29 | 1 | -75/+1 |
* | Stop directly checking SuggestedWordInfo.mKind•••Bug: 15298959
Change-Id: Iba6eeb7981634e7ddb896404978b30f6efd6e72f
|  Keisuke Kuroyanagi | 2014-05-28 | 1 | -3/+3 |
* | Merge "Use whether it's exact match to detect distracters." |  Keisuke Kuroyanagi | 2014-05-26 | 1 | -1/+1 |
|\ |
|
| * | Use whether it's exact match to detect distracters.•••Bug: 13142176
Change-Id: Id5b7286d28897931f7bfe571be45d46ffeef4adf
|  Keisuke Kuroyanagi | 2014-05-26 | 1 | -1/+1 |
* | | Keep showing important notice when "show correction suggestions" is off•••When
1. The important notice message is shown on the suggestions strip.
2. And the "Show correction suggestions" settings is off.
we will keep showing the important notice message on the suggestion
strip.
Bug: 13741460
Change-Id: I411007ab1e5e6959b6cdba7a6601a84635259313
|  Tadashi G. Takaoka | 2014-05-26 | 1 | -1/+2 |
|/ |
|
* | Use Java 7 diamond operator•••Change-Id: If16ef50ae73147594615d0f49d6a22621eaf1aef
|  Tadashi G. Takaoka | 2014-05-24 | 1 | -5/+4 |
* | Merge "Introduce EMPTY_PREV_WORDS_INFO and BEGINNING_OF_SENTENCE." |  Keisuke Kuroyanagi | 2014-05-23 | 1 | -2/+3 |
|\ |
|
| * | Introduce EMPTY_PREV_WORDS_INFO and BEGINNING_OF_SENTENCE.•••Bug: 14119293
Change-Id: I5020e5f0aa64bc3e97b3a3c2c07a60c8b765ed64
|  Keisuke Kuroyanagi | 2014-05-23 | 1 | -2/+3 |
* | | Merge "Revert "Fix: too many calls to getSuggestedWordsForTypingInput"" |  Ken Wakasa | 2014-05-23 | 1 | -6/+3 |
|\ \
| |/
|/| |
|
| * | Revert "Fix: too many calls to getSuggestedWordsForTypingInput"•••This reverts commit 7aa895e2e3edb59620c28354c7d7746b93964b10.
Bug: 15148015
Change-Id: If39c4f8b897f247d4eb935923d55d81def4c8fb4
|  Ken Wakasa | 2014-05-23 | 1 | -6/+3 |
* | | Have DictionaryFacilitator in LatinIME.•••Bug: 13142176
Bug: 15094186
Change-Id: I9da67352ff2abcd289fa5885389895ced878a413
|  Keisuke Kuroyanagi | 2014-05-23 | 1 | -11/+14 |
* | | Merge "Fix: too many calls to getSuggestedWordsForTypingInput" |  Jean Chalard | 2014-05-22 | 1 | -3/+6 |
|\| |
|
| * | Fix: too many calls to getSuggestedWordsForTypingInput•••Bug: 15148015
Change-Id: Idcb729734bd62b537fb81acf8bdb5cae4470404c
|  Jean Chalard | 2014-05-22 | 1 | -3/+6 |
* | | Add beginning of sentence information in PrevWordsInfo.•••Bug: 14119293
Bug: 14425059
Change-Id: I65320920e840082b0b697bb621676716d0933e0c
|  Keisuke Kuroyanagi | 2014-05-21 | 1 | -16/+19 |
* | | Use PrevWordsInfo for get/add/remove n-gram(bigram) entry.•••Bug: 14119293
Bug: 14425059
Bug: 15102610
Change-Id: Ib482390f8d15b37d44a1a54e8c243a9eaec3f815
|  Keisuke Kuroyanagi | 2014-05-21 | 1 | -17/+21 |
|/ |
|