aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Preliminary refactor"Jean Chalard2013-10-221-10/+13
|\
| * Preliminary refactorJean Chalard2013-10-221-10/+13
| | | | | | | | | | Bug: 11328842 Change-Id: I7c22e951fef9bc4443c6b64625e25f632f876ab1
* | Stopgap solution for a crash.Jean Chalard2013-10-221-1/+8
|/ | | | | | | | | This returns the wrong string, but since it's used for getting the previous word for bigrams, it only results in slightly worse suggestions quality. Bug: 11273655 Change-Id: I6ce5de2f76effc453ca691a654ab6bf17445b9e7
* Merge "Add a sequence number to SuggestedWords."Jean Chalard2013-10-223-56/+100
|\
| * Add a sequence number to SuggestedWords.Jean Chalard2013-10-223-56/+100
| | | | | | | | | | | | | | | | This allows testing for suggestion freshness in an asynchronous suggestions world. Bug: 11301597 Change-Id: Ic76cd17568598d8534aec81e037f9e37f52eb6b4
* | Fix a bug where autocaps would jam auto-commitJean Chalard2013-10-221-1/+1
|/ | | | | Bug: 11311002 Change-Id: I62955e364c9ffc75322cf05fa3ad7985f1d09259
* Cosmetic fixesKen Wakasa2013-10-214-36/+30
| | | | Change-Id: I44ac89edaba2e57bd1b7e091ff74b77a5e598f2f
* Change the block sizes for SparseTables.Yuichiro Hanada2013-10-181-4/+4
| | | | | | | This change saves about 240k bytes. Bug: 10941472 Change-Id: Ieb00e4dd3391cdb0d42d705f8d0a7b1421f516f9
* Merge "Fix: Suggested words from user history are invalid."Keisuke Kuroyanagi2013-10-181-9/+0
|\
| * Fix: Suggested words from user history are invalid.Keisuke Kuroyanagi2013-10-181-9/+0
| | | | | | | | | | | | | | | | - Suggestions form user history can contain invalid words. - isValidWord always returns false. Bug: 11139426 Change-Id: I6075b275603332ddb00f4a9284afcaa82d824270
* | Merge "Change the numbering order of terminal IDs."Satoshi Kataoka2013-10-181-1/+23
|\ \
| * | Change the numbering order of terminal IDs.Yuichiro Hanada2013-10-181-1/+23
| | | | | | | | | | | | Change-Id: I85a6b6e948ee0de012eef2f9f841240cbca63947
* | | (2/2) Implement insertWord in Ver4DictUpdater.Yuichiro Hanada2013-10-184-18/+256
|/ / | | | | | | Change-Id: I2328a9df0a009b564e8acaf4180f9b0c1ed0901a
* | Fix the name of the argument of writeString.Yuichiro Hanada2013-10-181-9/+8
| | | | | | | | Change-Id: I76916914f1402913daa56dd5387fe82e42287989
* | (1/2) Implement insertWord in Ver4DictUpdater.Yuichiro Hanada2013-10-187-26/+700
| | | | | | | | Change-Id: Ia3079d5ef00ca7d831c91fb9220ad9c17038c5a3
* | Fix a bug where autoshift would be ignored coming from emojiJean Chalard2013-10-171-0/+3
|/ | | | | Bug: 11123691 Change-Id: I36474e12e34af95051129840865015f85595411b
* Merge "Remove useless code."Jean Chalard2013-10-171-4/+1
|\
| * Remove useless code.Jean Chalard2013-10-161-4/+1
| | | | | | | | | | | | | | | | | | | | | | The only use of mDeleteCount is to implement delete acceleration. It's reset at each non-delete code point, and is guarded by a timer. Plus, ultimately we want to remove this completely : acceleration should be implemented by actually deleting stuff faster, not by deleting several code points at a time. Change-Id: Ia3144860b3aa2499034f2a2a7c81f32087af9598
* | Merge "Remove mIsExpectingUpdateSelection."Jean Chalard2013-10-172-25/+7
|\|
| * Remove mIsExpectingUpdateSelection.Jean Chalard2013-10-162-25/+7
| | | | | | | | | | Bug: 11226045 Change-Id: I043f90ba92989bd8307c978eb32630439f63a0b9
* | Add readVer4PtNodeInfo to Ver4DictDecoder.Yuichiro Hanada2013-10-172-28/+69
| | | | | | | | Change-Id: Ibffaf64a9bda1fb0779a9b53558ca56ed31660d3
* | Add ShortcutContentReader.Yuichiro Hanada2013-10-171-59/+64
| | | | | | | | Change-Id: I7c2d0d86d85775065a9bcb2b4a8463bb4969579e
* | Merge "Remove unneeded code."Jean Chalard2013-10-162-63/+3
|\|
| * Remove unneeded code.Jean Chalard2013-10-162-63/+3
| | | | | | | | | | | | | | | | | | | | We don't support LOG_FULL_TEXTVIEW_CONTENTS any more, nor do we have any plans to support it again in the future. This also is a prelude to removing mIsExpectingUpdateSelection. Bug: 11226045 Change-Id: Ib68c6daf52993b87225a7ea9e71a414caaecfdb7
* | Add SparseContentTableReader.Yuichiro Hanada2013-10-162-39/+198
| | | | | | | | Change-Id: I976afc5d320bc65835d659bae1d10d2cdc68262b
* | Fix Ver4DictDecoder.readAndFollowForwardLink().Yuichiro Hanada2013-10-161-4/+7
| | | | | | | | Change-Id: Ib527a376b693be21aebd4920ac804ee9b161eb96
* | Merge "Fix readAndFollowForwardLink."Ken Wakasa2013-10-161-1/+2
|\ \
| * | Fix readAndFollowForwardLink.Yuichiro Hanada2013-10-161-1/+2
| |/ | | | | | | Change-Id: Ifda44e6139a4a1bd065468a7f74cd9483b343644
* | Merge "Extract SparseTableContentWriter."Ken Wakasa2013-10-162-56/+93
|\ \
| * | Extract SparseTableContentWriter.Yuichiro Hanada2013-10-162-56/+93
| |/ | | | | | | Change-Id: I9a58e53317654f8a09fbe79044214de3e9c59eb7
* / Consolidate CharEncoding.writeString and BinaryDictIOUtils.writeString.Yuichiro Hanada2013-10-162-32/+9
|/ | | | Change-Id: I6f990fd84e7f08fd1149198c33d8bbf1cac8e078
* Merge "Revert "Revert "Add Swiss French and German keyboard layouts."""Ken Wakasa2013-10-152-573/+645
|\
| * Revert "Revert "Add Swiss French and German keyboard layouts.""Ken Wakasa2013-10-102-573/+645
| | | | | | | | | | | | | | | | | | This reverts commit 56402cf10a3a26ca7add62678d7e1ab3064feab7. I'll submit this on 10/16 after the final cut for Bayo. Change-Id: I0fe4ab64fd8dfa1e63e29adf00388743fca6a1ed bug: 11144401
* | mExpectingUpdateSelection was out of sync when nothing to delete.Ken Wakasa2013-10-151-10/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cherripick of I9c6a948331726a821bd3ccec9c1d02dec2c4703a (forward cherrypicking this because the automerger is stuck now.) This bug was leading to corrupted rendering of surrogate pairs in the following scenario. 1. Type some emojis 2. Move the cursor at the beginning of the text field 3. Hit backspace even though there's nothing to delete 4. Move the cursor after some emoji 5. Hit backspace The root cause of this issue was the out-of-sync mExpectingUpdateSelection if handleBackspace() gets called when the cursor reaches at the beginning of the TextView. In such case, mExpectingUpdateSelection shouldn't be set true because there's nothing to delete, so there will be no onUpdateSelection() calls associated with it. Due to this bug, the cache in RichInputConnection could get stale at step 4 described above. Then the following handleBackspace() that should delete a surrogate pair was not working correctly because of the stale cache. bug: 11181913 Change-Id: I1cbf444d8d105416e7de75c16d80b3797f470495
* | am 3a3bbf4a: am eed74b81: am c8383eda: Fix wrong commitText parameter in ↵Ken Wakasa2013-10-142-4/+14
|\ \ | | | | | | | | | | | | | | | | | | sendKeyCodePoint() * commit '3a3bbf4a38870ecc42b7f6fbd3a7cae20fe020a7': Fix wrong commitText parameter in sendKeyCodePoint()
| * | Fix wrong commitText parameter in sendKeyCodePoint()Ken Wakasa2013-10-132-4/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | Small optimization on generating a String instance from a single code point too. bug: 11181913 Change-Id: I0f905e4dc6ec7841092bb4d3d940daf3b2303f5b
* | | am 60fb5865: am 06e1bdaa: am 3e35e072: Merge "Make emoji separators" into ↵Ken Wakasa2013-10-112-9/+4
|\| | | | | | | | | | | | | | | | | | | | klp-dev * commit '60fb58654e33448651fea191ba22cfdc87e37466': Make emoji separators
| * | Merge "Make emoji separators" into klp-devKen Wakasa2013-10-112-9/+4
| |\ \
| | * | Make emoji separatorsJean Chalard2013-10-112-9/+4
| | | | | | | | | | | | | | | | | | | | Bug: 11163495 Change-Id: I3247b8d1bbd3406b29a30a25aebd932c63431943
* | | | am 40506273: am ac6d0c65: am 6d915037: Merge "Fix a bug where emojis would ↵Satoshi Kataoka2013-10-112-9/+15
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | remove the suggestion strip." into klp-dev * commit '405062733cfe066c4b9af719bfc36a9a516c9dd3': Fix a bug where emojis would remove the suggestion strip.
| * | | Merge "Fix a bug where emojis would remove the suggestion strip." into klp-devSatoshi Kataoka2013-10-112-9/+15
| |\ \ \
| | * | | Fix a bug where emojis would remove the suggestion strip.Jean Chalard2013-10-112-9/+15
| | | | | | | | | | | | | | | | | | | | | | | | | Bug: 11163495 Change-Id: I23d12c430125cc2a66a6e00715a4c609bb9e2bb1
* | | | | Merge "Add a time stamp for unigrams."Ken Wakasa2013-10-112-4/+21
|\ \ \ \ \
| * | | | | Add a time stamp for unigrams.Yuichiro Hanada2013-10-112-4/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 10920255 Change-Id: I26d2cce3c322a4ff39a614f8615f43fb7bd3baed
* | | | | | am 3f1c95db: am 331c84d7: am 5fe9ab1c: Merge "Fix the suggestion size." into ↵Jean Chalard2013-10-111-9/+26
|\ \ \ \ \ \ | | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | klp-dev * commit '3f1c95dbdc18453dc0cd6f847b33e01db1f1d75b': Fix the suggestion size.
| * | | | | Merge "Fix the suggestion size." into klp-devJean Chalard2013-10-111-9/+26
| |\ \ \ \ \
| | * | | | | Fix the suggestion size.Jean Chalard2013-10-111-9/+26
| | | |_|/ / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The available space was not computed correctly. This makes the decision to ellipsize/expand the middle suggestion correct. Also, the scale was not applied correctly in some cases. Finally, for some reason ellipsize does not work as we expect. I'm not sure how to get it to work like we want it to, but this works around the problem in a simple manner. Bug: 11158757 Change-Id: I083e7ac56e157f100923733e67b92a6368a526c9
| * | | | | Merge "Do not merge. Save / restore the last used emoji category" into klp-devSatoshi Kataoka2013-10-112-11/+25
| |\ \ \ \ \ | | |/ / / / | |/| | | |
| | * | | | Do not merge. Save / restore the last used emoji categorySatoshi Kataoka2013-10-112-11/+25
| | | |/ / | | |/| | | | | | | | | | | | | | | | | Bug: 11029983 Change-Id: I5547910c7b5dd7974292fc075af33568940f4e81
| * | | | Merge "Tweak vertical gap of Emoji palette. DO NOT MERGE" into klp-devKen Wakasa2013-10-101-2/+2
| |\ \ \ \