summaryrefslogtreecommitdiff
path: root/java/src/com/android/inputmethod/latin/LastComposedWord.java
Commit message (Collapse)AuthorAgeFilesLines
* Move decoder specific constants to DecoderSpecificConstants.javaMohammadinamul Sheik2015-02-051-2/+2
| | | | Change-Id: Ie4d325b3152e1e7e424b8b436e222e194e4d9da0
* Move InputPointers and ResizableIntArray to commonJean Chalard2014-10-291-0/+1
| | | | | Bug: 18108776 Change-Id: Ie5c0430aa41a8d6c58bf510a10173223d7dfe9fe
* Move Constants.java to the latin.common packageKen Wakasa2014-10-231-0/+1
| | | | | | | Our intention is to have classes of latinime-common under the common package as much as we can. Change-Id: I76efbbbe7bebf1a4aa943715cdff64f91675e20d
* Rename PrevWordsInfo to NgramContext.Keisuke Kuroyanagi2014-09-291-3/+3
| | | | | Bug: 14425059 Change-Id: Id06a71681fa8b5e589e29fba10fe5c1cfed66984
* Use Java 7 diamond operatorTadashi G. Takaoka2014-05-241-1/+1
| | | | Change-Id: If16ef50ae73147594615d0f49d6a22621eaf1aef
* Use PrevWordsInfo for get/add/remove n-gram(bigram) entry.Keisuke Kuroyanagi2014-05-211-3/+3
| | | | | | | Bug: 14119293 Bug: 14425059 Bug: 15102610 Change-Id: Ib482390f8d15b37d44a1a54e8c243a9eaec3f815
* Revert "Use PrevWordsInfo for get/add/remove n-gram(bigram) entry."Ken Wakasa2014-05-201-3/+3
| | | | | | | | | | This reverts commit ff50b39176370ab80a33bfdcf9979603c08a88b3. Bug: 14119293 Bug: 14425059 Bug: 15102610 Change-Id: If278b4ab236e38d20d8cdc0761b0438911bd4ff9
* Use PrevWordsInfo for get/add/remove n-gram(bigram) entry.Keisuke Kuroyanagi2014-05-201-3/+3
| | | | | | | Bug: 14119293 Bug: 14425059 Change-Id: I12e9ba977c153b514c6591ab52940712fd0874e3
* [CB26] Remove useless variables.Jean Chalard2014-04-101-4/+2
| | | | | | | | This is nice for code simplicity, but it has a small adverse impact on performance. Bug: 13406701 Change-Id: I9316b3fe8d79b940fbd83cf1187c8c0d10b26c71
* Revert "[CB15] Remove a redundant variable."Jean Chalard2014-03-271-3/+5
| | | | | | This reverts commit 0de7a6d1a272d52a9544df1c693ae199ab5abc52. Change-Id: I327679b76a14cf9c3aec4b00b013b921408c32f9
* [CB15] Remove a redundant variable.Jean Chalard2014-03-271-5/+3
| | | | | | | | | This is a tiny bit slower, but probably unnoticeable. Still, it gains some performance in other places, saves memory, and more importantly makes for simpler code, so it's certainly better. Change-Id: Id1ab4f73f71acd73f5920bc729817abd22cf0d07
* [CB04] Add an event array to WordComposer.Jean Chalard2014-03-141-4/+11
| | | | | Bug: 13406701 Change-Id: I9ecd2709c8f1c678a85b0cfaf7c5ed4f78459821
* [IL56] Don't erase suggestions when reverting a commit.Jean Chalard2014-01-161-2/+2
| | | | | Bug: 12297051 Change-Id: Iffa1c98b8fe2b816c3ac6bc171037288107f637d
* Make emoji separatorsJean Chalard2013-10-111-6/+0
| | | | | Bug: 11163495 Change-Id: I3247b8d1bbd3406b29a30a25aebd932c63431943
* Refactor on UserHistoryDictionarySatoshi Kataoka2013-07-261-1/+1
| | | | | Bug: 9429906 Change-Id: I576a91643bdaf5017cc826ac2e07a74a9a275d60
* Move util classes to the latin/utils directoryKen Wakasa2013-06-241-0/+2
| | | | Change-Id: I1c5b27c8edf231680edb8d96f63b9d04cfc6a6fa
* Fix Apache license commentTadashi G. Takaoka2013-01-211-8/+8
| | | | Change-Id: Ic56167f952a7f4449da366e1e81610e72c966086
* Forward the capitalized mode to the positional info (D1)Jean Chalard2013-01-171-3/+6
| | | | | Bug: 7972124 Change-Id: I3c74f3b075e698b9e9dd1d2c7b6f173073539063
* Privatize a few constants in BinaryDictionary.javaKen Wakasa2012-12-171-1/+2
| | | | Change-Id: I7defaf1f577fd67e678cac83ff935e8181dd0a48
* Replace useless CharSequence to StringTadashi G. Takaoka2012-10-221-2/+2
| | | | Change-Id: Idc478f901185ee1b4912acc82d0cbc54fee4e991
* Cleanup: Make some classes as finalTadashi G. Takaoka2012-09-271-1/+1
| | | | Change-Id: I6009b3c1950ba32b7f1e205a3db2307fe0cd688e
* Allow Latin IME to cancel smiley-auto-correct consistenlyJean Chalard2012-08-291-6/+6
| | | | | | | | | | | | | This change makes Latin IME behave consistently with regards to other auto-correction cancellations in cases of auto-correction cancellation after smiley-triggered auto-correction. That is, pressing the smiley key when the keyboard signals it's about to auto-correct will get the auto-correction there plus a smiley, and pressing backspace will cancel the auto-correction, and pressing backspace again will delete the smiley. Bug: 7067593 Change-Id: Ia7eef70a5d06b8b9afa1f1fbb0ed1dbc21a3059f
* Add default capacity parameter to InputPointers' constructorTadashi G. Takaoka2012-07-191-1/+1
| | | | Change-Id: I02f23096f0682d30effe4dfc1ca57881a1e4aedc
* Cleanup (A57)Jean Chalard2012-07-061-2/+2
| | | | | | | We stopped cancelling manual picks a few weeks ago. This code is dead. Change-Id: I4032fcc3c95e9379f1839fe860a1b8a9bd7d0bc7
* Add input pointersSatoshi Kataoka2012-06-291-7/+7
| | | | Change-Id: I95300bf0a847fb86d026e846ff4ad723bb45284f
* Cancel adding user history bigram when autocorrection is cancelledsatok2012-05-241-2/+4
| | | | | Bug: 6465474 Change-Id: Ifbfe0ddc2ce5fab070939ede3db7bf03a8535a45
* ongoing cleanup 2satok2012-03-271-5/+3
| | | | Change-Id: I66b61cbe491cf8375144e834390beae3209a777d
* Rename cancelCommit to revertCommitJean Chalard2012-02-221-1/+1
| | | | | | | This wording is easier to understand, and it matches the other revert* functions. Change-Id: Ibc2ec79fb5a0f9bf508e5cdeb75e54abd9241d0c
* Rename cancelAutoCorrect to cancelCommit (A6)Jean Chalard2012-02-221-1/+1
| | | | | | | Also remove a test in debug mode that would check for absence of a situation which is now expected. Change-Id: Ia5be350bc98a604b3bf8f6057652c5534f6a19af
* Activate the code to cancel a manual pick (A5)Jean Chalard2012-02-221-2/+1
| | | | | | | This finally makes active the behavior described in Bug: 5968922 Change-Id: I363ed23270c3dea75411ea806011225097b5d07c
* Use the stored separator instead of reading it back (A3)Jean Chalard2012-02-211-0/+8
| | | | | | | | Now that we have stored our committing separator, we can use it directly instead of reading it back from the text view paying the IPC cost. This prepares for feature request #5968922. Change-Id: Ifeaa2d659cf12b91c89d28e6ff7d07a669258184
* Give LastComposedWord knowledge of the separator (A2)Jean Chalard2012-02-211-2/+7
| | | | | | | | | | This stores the separator that was used to commit the word in the LastComposedWord. It may be NOT_A_SEPARATOR if there was no separator (for example, the cursor moved causing a commit, or there was a manual pick). This is necessary to implement feature request #5968922. Change-Id: I5fcf19a78ec66d68d4df89418eaef13952588207
* Give LastComposedWord knowledge of the committed word (A1)Jean Chalard2012-02-211-5/+5
| | | | | | | | There is no point storing the prospective autocorrect - we are recomputing it anyway. The committed word however will be necessary to implement feature request #5968922. Change-Id: I588c18e1a5a1050a791d601de465f421ccbe36cd
* Fix a bug with common objects.Jean Chalard2012-02-061-0/+2
| | | | | Bug: 5961179 Change-Id: I452efc552c6ab390931f25557d7aee5a64bf054e
* Remove a useless member (A8)Jean Chalard2012-01-261-4/+2
| | | | | | It turns out this can be removed entirely. Change-Id: I6f23703cef1666311989a825285317eef696487f
* Straighten out resuming suggestion on kept word (A5)Jean Chalard2012-01-261-2/+9
| | | | | | | | | This is cleanup. This also introduces a "deactivated" state to the last committed word, that can be used for Bug: 5875776 Change-Id: I1855adb8ac8123f6d2c5365b0ae899145e5c3ba1
* Move some functionality into LastComposedWord (A3)Jean Chalard2012-01-261-0/+10
| | | | Change-Id: Ie0ea02a061dd0cb84db5f33113ff433584636bc7
* Add useful information to LastComposedWord (A2)Jean Chalard2012-01-261-1/+14
| | | | Change-Id: Idf47f2e2bdd1d6394fc4b1ab7df28d64a808da1e
* Add a class for previously composed data (A1)Jean Chalard2012-01-261-0/+44
Change-Id: I87498799e6a48b8fa65924a098bb0ceb7626dce1