• Home
  • History
  • Annotate
  • only in /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
History log of /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
2eea2d50079275675666a830ae7a4228fa512c1d 21-Nov-2013 Tadashi G. Takaoka <takaoka@google.com> Update Color Scheme summary explicitly

Bug: 11622614
Change-Id: I5464054425e4d688eaa39f96ba9a3a3c613c6f42
ettings/Settings.java
ettings/SettingsFragment.java
ea8f8da1acf4082b56cb461048d9038f634439be 15-Nov-2013 Tadashi G. Takaoka <takaoka@google.com> Fix unusual NPE after onDestroy

Bug: 11673978
Change-Id: I4d5268312911685ff1ca9483a62442a1a9686c62
atinIME.java
db86a6f271e5ca446382061f219928c5eb6b9f01 11-Nov-2013 Tadashi G. Takaoka <takaoka@google.com> Add keyboard color switch option

Bug: 11622614
Change-Id: I25aa1ff7376fe72fd94ab2cb7190c61d7a98a1af
atinIME.java
ettings/DebugSettings.java
e255d5c0f7a06dbdb8a35559b3f958f1e56fe07d 22-Nov-2013 Ken Wakasa <kwakasa@google.com> Merge "handleBackspace should always send KEYCODE_DEL for InputType.TYPE_NULL" into jb-ub-latinimegoogle-bayo
87cd39124a6e47f69e18f2495b0818fbe09a33b3 21-Nov-2013 Ken Wakasa <kwakasa@google.com> handleBackspace should always send KEYCODE_DEL for InputType.TYPE_NULL

This is a fix only for the Bayo branch because this part in master has
been changed.

The corresponding fix in master is I295eeb5f9f0f1f07e919bf54122d003be150a174

bug: 11797053
Change-Id: I779be039ebf992de5d246c7a9d9509623fc3c120
atinIME.java
db4f3730047c8a3e25e031aacc07bb02bc47c5ae 21-Nov-2013 Keisuke Kuroyanagi <ksk@google.com> Fix: PtNode array size writirng when array size > 127. DO NOT MERGE.

This is a manual cherrypick of Ib729ceedbc8ef837e50490439817b36039ae2b4e.

Bug: 11772864
Change-Id: I5ecbe729dbdd24e194e48b4d68b17af8549c4726
akedict/BinaryDictIOUtils.java
akedict/FormatSpec.java
akedict/Ver3DictEncoder.java
akedict/Ver4DictEncoder.java
3a9b2430a56cb2d774070bd8ecd661d0dfb82484 13-Nov-2013 Jean Chalard <jchalard@google.com> Fix many small nits.

...the interaction of which results in a very bad bug.

Bug: 11648854
Change-Id: I774489e384388f187e72b9ac091ab387c5e1a79a
atinIME.java
ichInputConnection.java
e4022137ee2db3c07115775d472858ab1b05aa1c 08-Nov-2013 Jean Chalard <jchalard@google.com> Remove an out-of-place check

Bug: 11584525
Change-Id: I76cc3e4ee21d62fbd56042adcf085efd5cafb53f
atinIME.java
8a1675379e03bd7830d35212fd987346927068a9 22-Oct-2013 Jean Chalard <jchalard@google.com> Stopgap solution for a crash.

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
ichInputConnection.java
5b5ed3d6092ea539d8cfebd786c63ec0c784040b 21-Oct-2013 Jean Chalard <jchalard@google.com> Fix a bug where autocaps would jam auto-commit

Bug: 11311002
Change-Id: I62955e364c9ffc75322cf05fa3ad7985f1d09259
uggest.java
6bc5acaa793e0311fcfa4a0f12c49ced6d792729 18-Oct-2013 Keisuke Kuroyanagi <ksk@google.com> Fix: Suggested words from user history are invalid.

- Suggestions form user history can contain invalid words.
- isValidWord always returns false.

Bug: 11139426
Change-Id: I6075b275603332ddb00f4a9284afcaa82d824270
ersonalization/DecayingExpandableBinaryDictionaryBase.java
c130be877987afe675869d2cbea9d5a49b4ad419 22-Oct-2013 Jean Chalard <jchalard@google.com> Add a sequence number to SuggestedWords.

This allows testing for suggestion freshness in an asynchronous
suggestions world.

In-advance cherrypick of Ic76cd17568598d8534aec81e037f9e37f52eb6b4
because there's a merge conflict.

Bug: 11301597
Change-Id: I4aec765a975298fcac30a48dede73d2622224fe5
atinIME.java
uggest.java
uggestedWords.java
b04404722729f2fa988c46c4d9080415332bbeb5 13-Oct-2013 Ken Wakasa <kwakasa@google.com> mExpectingUpdateSelection was out of sync when nothing to delete.

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
atinIME.java
cf5dfd2464d700f28fe7d8d48150d657274dd2ef 14-Oct-2013 Ken Wakasa <kwakasa@google.com> am 3a3bbf4a: am eed74b81: am c8383eda: Fix wrong commitText parameter in sendKeyCodePoint()

* commit '3a3bbf4a38870ecc42b7f6fbd3a7cae20fe020a7':
Fix wrong commitText parameter in sendKeyCodePoint()
c8383eda8bb05e25b22fe6d66100248f7d0e33fa 12-Oct-2013 Ken Wakasa <kwakasa@google.com> Fix wrong commitText parameter in sendKeyCodePoint()

Small optimization on generating a String instance from a single code
point too.

bug: 11181913

Change-Id: I0f905e4dc6ec7841092bb4d3d940daf3b2303f5b
atinIME.java
tils/StringUtils.java
fe97ff40836e71ef80c35d93367a54088586452e 11-Oct-2013 Ken Wakasa <kwakasa@google.com> am 60fb5865: am 06e1bdaa: am 3e35e072: Merge "Make emoji separators" into klp-dev

* commit '60fb58654e33448651fea191ba22cfdc87e37466':
Make emoji separators
eb7fa4dc6d1bd629a34adcf6423c534352d0b00c 11-Oct-2013 Satoshi Kataoka <satok@google.com> am 40506273: am ac6d0c65: am 6d915037: Merge "Fix a bug where emojis would remove the suggestion strip." into klp-dev

* commit '405062733cfe066c4b9af719bfc36a9a516c9dd3':
Fix a bug where emojis would remove the suggestion strip.
3e35e0727ce02e29ae498fb09ebc70df7e103d14 11-Oct-2013 Ken Wakasa <kwakasa@google.com> Merge "Make emoji separators" into klp-dev
6d91503727a6d5b4eb942c56ee3f640984ae31a4 11-Oct-2013 Satoshi Kataoka <satok@google.com> Merge "Fix a bug where emojis would remove the suggestion strip." into klp-dev
6fc15b9fc43c791e1fc96e1d5e812ed2e14995ea 11-Oct-2013 Jean Chalard <jchalard@google.com> Fix a bug where emojis would remove the suggestion strip.

Bug: 11163495
Change-Id: I23d12c430125cc2a66a6e00715a4c609bb9e2bb1
atinIME.java
401fb908f082d857bf9c972a6ab9318fad4bdf74 11-Oct-2013 Jean Chalard <jchalard@google.com> Make emoji separators

Bug: 11163495
Change-Id: I3247b8d1bbd3406b29a30a25aebd932c63431943
astComposedWord.java
atinIME.java
7abdab1c6fe693f11cc5ee385b2ff4d5a84cfaf4 11-Oct-2013 Ken Wakasa <kwakasa@google.com> Merge "Add a time stamp for unigrams."
3def959e4deda3d8cbc9a1a7518c335086e3d062 11-Oct-2013 Jean Chalard <jchalard@google.com> am 3f1c95db: am 331c84d7: am 5fe9ab1c: Merge "Fix the suggestion size." into klp-dev

* commit '3f1c95dbdc18453dc0cd6f847b33e01db1f1d75b':
Fix the suggestion size.
5fe9ab1cc680bed75160980f69f0a7d33f18fb5a 11-Oct-2013 Jean Chalard <jchalard@google.com> Merge "Fix the suggestion size." into klp-dev
be22a01df33d809a83c4bed402428f98fa47c370 11-Oct-2013 Ken Wakasa <kwakasa@google.com> Merge "Add resolveBigramPositions."
c0bd0a244d7e222de13f1a8454b4463183604b75 10-Oct-2013 Jean Chalard <jchalard@google.com> Fix the suggestion size.

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
uggestions/SuggestionStripLayoutHelper.java
7d3f53a1cbd209be50305b3315c239ae26eb0f27 11-Oct-2013 Satoshi Kataoka <satok@google.com> Do not merge. Save / restore the last used emoji category

Bug: 11029983
Change-Id: I5547910c7b5dd7974292fc075af33568940f4e81
ettings/Settings.java
6026a9581685b2d91fc5bd6cf33a506d5560c238 11-Oct-2013 Satoshi Kataoka <satok@google.com> Merge "Save / restore the last used emoji category"
6dc99dc20097dedc18861b264ae2566915cede64 11-Oct-2013 Satoshi Kataoka <satok@google.com> Save / restore the last used emoji category

Bug: 11029983
Change-Id: I1bec2c3c6b547de68562a818a8d6c9fef83787b7
ettings/Settings.java
c32962b8f1f9b7255fef84486b53cfc874835bbd 04-Oct-2013 Yuichiro Hanada <yhanada@google.com> Add a time stamp for unigrams.

Bug: 10920255
Change-Id: I26d2cce3c322a4ff39a614f8615f43fb7bd3baed
akedict/FormatSpec.java
akedict/Ver4DictEncoder.java
9514ed5c2a49e645e2d468f7191d54d77d9f127f 03-Oct-2013 Yuichiro Hanada <yhanada@google.com> Add the new format of bigram entries.

In new format, each bigram entry has flags (1 byte), a terminal id (3 byte),
a time-stamp (4 byte), a counter (1 byte) and a level (1 byte).

Bug: 10920255
Bug: 10920165
Change-Id: I0f7fc125a6178e6d25a07e8462afc41a7f57e3e1
akedict/AbstractDictDecoder.java
akedict/FormatSpec.java
akedict/Ver4DictDecoder.java
akedict/Ver4DictEncoder.java
7e6ac9d7270592944f04318ea1ae00e4bee28b19 10-Oct-2013 Jean Chalard <jchalard@google.com> Allow double-space-to-period after percent

Bug: 11158604
Change-Id: If8c94ef91ed58bb5028f51be7c8d9beb677436a4
onstants.java
atinIME.java
56402cf10a3a26ca7add62678d7e1ab3064feab7 10-Oct-2013 Ken Wakasa <kwakasa@google.com> Revert "Add Swiss French and German keyboard layouts."

This reverts commit 220ce8f269e8d2507a2a57ec919e48ddb6f496f8.

Sorry, but we are now in the week before the final cut for the next launch. We shouldn't be taking new features like this at this point. Let me revert this change for now. I'll re-revert this after the cut next week.

Change-Id: Ia8b00680c992ec526e6a858945f2380cbcdfdd55
tils/SubtypeLocaleUtils.java
220ce8f269e8d2507a2a57ec919e48ddb6f496f8 08-Oct-2013 Fredrik Roubert <roubert@google.com> Add Swiss French and German keyboard layouts.

There used to be two "Swiss" keyboard layouts, labelled fr_CH and de_QY,
available in LatinIME. They were, however, not actually Swiss layouts
but instead work-arounds to be able to get French or German with qwertz
or qwerty (instead of azerty and qwertz) layouts, respectively. These
were thus removed by commit f6972561fcb45310f18230ce217f0c6bb57e7eee
replacing them with the generic fr-qwertz and de-qwerty layouts instead.

Here, now, is a proper Swiss keyboard layout, following Swiss standards
for people accustomed to typing on Swiss keyboards, with the expected
tailorings for French and German.

Change-Id: I9feed752053ecc694c84db713284f69bc1daf155
tils/SubtypeLocaleUtils.java
a6a6abc81611023a0159fa678b731367d80d0aa6 09-Oct-2013 Satoshi Kataoka <satok@google.com> Fix the security related API change for PreferenceActivity

Bug: 10118761
Change-Id: I63501d6c2b5f561d7ab8b7362498665d805d5e1e
bout/AboutPreferences.java
ettings/DebugSettingsActivity.java
ettings/SettingsActivity.java
pellcheck/SpellCheckerSettingsActivity.java
tils/FragmentUtils.java
6862b8192df0c979ebf3a1fd566ede1b0dbd8a82 09-Oct-2013 Satoshi Kataoka <satok@google.com> Fix crash in AdditionalSubtypeUtils

Bug: 11136982

Change-Id: I9d022a178c47bad3566be4c0bd8ffbce0b14896d
tils/AdditionalSubtypeUtils.java
67c758f160b71a04c485a9a3e0b5a0d22c02eae7 09-Oct-2013 Yuichiro Hanada <yhanada@google.com> Add resolveBigramPositions.

Bug: 11073222
Change-Id: I680e4304c6ab701e9aa132e1e140d789097a53ae
akedict/DynamicBinaryDictIOUtils.java
83994ad66b337276c8ba18249a1c5d52540eeef3 09-Oct-2013 Satoshi Kataoka <satok@google.com> Merge "Fix the security related API change for PreferenceActivity"
64f64bdf58ebcfb412c810646eb12e22b586aa87 09-Oct-2013 Satoshi Kataoka <satok@google.com> Fix the security related API change for PreferenceActivity

Bug: 10118761
Change-Id: I63501d6c2b5f561d7ab8b7362498665d805d5e1e
bout/AboutPreferences.java
ettings/DebugSettingsActivity.java
ettings/SettingsActivity.java
pellcheck/SpellCheckerSettingsActivity.java
tils/FragmentUtils.java
dfaec34502e214b4f6a0ce8b91ccfa57f7c8d07f 09-Oct-2013 Jean Chalard <jchalard@google.com> Merge "Always call finishComposingText before recapitalization"
e306d292ebc2a753cb2546c306cb6abc47fb55f0 09-Oct-2013 Jean Chalard <jchalard@google.com> Merge "Remove a useless IPC call."
50f9ca4acd799c7ad2abd18fcdab2a895ed32dd7 09-Oct-2013 Satoshi Kataoka <satok@google.com> Fix crash in AdditionalSubtypeUtils

Bug: 11136982

Change-Id: I9d022a178c47bad3566be4c0bd8ffbce0b14896d
tils/AdditionalSubtypeUtils.java
f178685c110306d4fcf9fa1399b6d6d40ccddb76 08-Oct-2013 Jean Chalard <jchalard@google.com> Always call finishComposingText before recapitalization

Workaround for framework bug:
Bug: 10792236

Change-Id: I3706b9eed5223889791840e30660f8d17625cb70
atinIME.java
27d78643e886eadc6fc72b55e1642de81cd03f6e 08-Oct-2013 Jean Chalard <jchalard@google.com> Remove a useless IPC call.

This is not useful because we're going to call setSelection again
with different values on the connection right away.

Also a preliminary change for
Bug: 10792236

Change-Id: I46c6ef1fbb3624086099bf81afddb0ef5ae85661
atinIME.java
a701501cb67127f6a144f9cdbd62b8a97f37856f 08-Oct-2013 Satoshi Kataoka <satok@google.com> Merge "Reduce memory of emoji palette"
0e01df9baf3d9e2fc7b9a51b683ce6df6ff547dd 08-Oct-2013 Satoshi Kataoka <satok@google.com> Reduce memory of emoji palette

Bug: 10902556
Change-Id: I3c8da35a601de2bfb248292c7b59235fc1120988
atinIME.java
482aa129e4fa104708601672c9eff674d0a79cd4 08-Oct-2013 Jean Chalard <jchalard@google.com> Show the keyboard earlier when rotating.

Bug: 11107229
Change-Id: I0b36341d60b634a860eb13fafd0dc69fe734bdeb
atinIME.java
10581e68af1de7d0b5d2c88927ad7bbad7dad600 08-Oct-2013 Jean Chalard <jchalard@google.com> Make the sentence separator a resource.

This will help handing correctly the armenian full stop.

Bug: 10082781
Change-Id: Id7bb219ebd89daba203216eab362d1cc26a65a36
atinIME.java
ichInputConnection.java
ettings/SettingsValues.java
tils/CapsModeUtils.java
7712baa59baadccf2da64f8dc5d21621fba860af 07-Oct-2013 Jean Chalard <jchalard@google.com> Merge "Fix a possible IOOB"
ca9c3c06137af878607f16573585c72041a4b7bf 07-Oct-2013 Jean Chalard <jchalard@google.com> Fix a possible IOOB

We want to use StringUtils here, but it's full of references to
stuff not accessible host-side like JsonReader and TextUtils
and SettingsValues :/

Bug: 11061476
Change-Id: I3c0194979833ede283b4f9190335dba5376fe6fc
akedict/FusionDictionary.java
3c4e8cb693ce584ea1f87e354430c069cdd3da39 07-Oct-2013 Jean Chalard <jchalard@google.com> Call loadKeyboard later if it can't be called right away

Since loadKeyboard relies on the input connection being
available to give it the auto-caps state, but also can't
be called twice in a row because it needs to save and
restore its state and invalidates it after the restore,
we need to wait until we know we have a valid input
connection to call it.

Bug: 11107229
Change-Id: I1c7baf3215682df6f6ceb357bd37254f9e7418c7
atinIME.java
291ef1c9c304bc6eae352e08f4ca86854853ee29 07-Oct-2013 Satoshi Kataoka <satok@google.com> Merge "Clear the cache of subtypes in onStartInputViewInternal"
4be5f221e6019d67736266d35b68b8d5f8d06101 07-Oct-2013 Satoshi Kataoka <satok@google.com> Clear the cache of subtypes in onStartInputViewInternal

Bug: 11077905
Change-Id: I9495f13a20edca0e6153cd1a7a0ac6891f707c59
atinIME.java
86f7711407b65c341b38a9fb297c3e5f0532da26 07-Oct-2013 Jean Chalard <jchalard@google.com> Merge "Don't auto-correct to non-whitelist shortcuts"
f309f2288b0652df0b611ed3f86897c939e68d63 07-Oct-2013 Jean Chalard <jchalard@google.com> Don't auto-correct to non-whitelist shortcuts

Bug: 11076722
Change-Id: I0de10ab24d33ec31f45664fe92d80d5a7bec9c20
uggest.java
a6047aae941e0723367fa9c52157271eb405b6fb 07-Oct-2013 Jean Chalard <jchalard@google.com> Merge "Set the shortcut frequency correctly."
f3204eebb19f0f8fae9d6d81e7e2b430f29829a0 04-Oct-2013 Jean Chalard <jchalard@google.com> Set the shortcut frequency correctly.

14 is the right value.

Bug: 11076722
Change-Id: I95d404b540f7fbe4932d1f8498cde23f1df0314f
bstractDictionaryWriter.java
ontactsBinaryDictionary.java
ictionaryWriter.java
xpandableBinaryDictionary.java
xpandableDictionary.java
serBinaryDictionary.java
ersonalization/DecayingExpandableBinaryDictionaryBase.java
ersonalization/DynamicPersonalizationDictionaryWriter.java
tils/UserHistoryDictIOUtils.java
be4d85feb0b7aa65c9c0f09affe2583eb837cc2b 07-Oct-2013 Keisuke Kuroyanagi <ksk@google.com> Merge "Fix bug and Add large test for decaying dictionary."
cfb018ba6db78f2b33b54d4811f0bf166db29792 07-Oct-2013 Keisuke Kuroyanagi <ksk@google.com> Fix bug and Add large test for decaying dictionary.

- GC gets failure when the dictionary become empty.
- Useless unigrams are sometimes not removed.

Bug: 10197478
Change-Id: I8d1479c01efba61a81f03bc077da6bcb4797a940
inaryDictionary.java
df33982fce6312203ed7446926f31ed92a8ae1ca 07-Oct-2013 Jean Chalard <jchalard@google.com> Remove suggestions when string contains a period

This is not the right way to do it, but it's simple and will kill the
regression. We should investigate why the return values are
wrong in this case.

Bug: 10780091
Change-Id: I808727242c9cb1598df00a7426358dc3a658add4
pellcheck/AndroidSpellCheckerService.java
pellcheck/AndroidWordLevelSpellCheckerSession.java
423921ca131dd1f330599063d34acd714889edf1 04-Oct-2013 Jean Chalard <jchalard@google.com> Merge "Fallback on empty locales."
5db7eabafb75a595403309b74c86cba5d4d5486f 04-Oct-2013 Jean Chalard <jchalard@google.com> Merge "Accept double-space-period after emoji."
43a8a0c5270a54742dcfff9dc441cf2747cb4e06 04-Oct-2013 Jean Chalard <jchalard@google.com> Fallback on empty locales.

This is a very rare corner case.

Bug: 11072132
Change-Id: Iad2aa69511f7dc99105284a049c63f2f997b8ef0
atinIME.java
8142fd83a6ed8dd6741579f724ebda9e2b70dd01 04-Oct-2013 Jean Chalard <jchalard@google.com> Accept double-space-period after emoji.

This also includes a fix that allows this code to read surrogate
pairs in this processing.

Bug: 11070482
Change-Id: If5ef8d6863938252f09128b7e99ea07ece6e7019
atinIME.java
c01707db03c124ecab0c8ba14b4e4f2d24c973c9 04-Oct-2013 Ken Wakasa <kwakasa@google.com> Merge "Suppress exceptions that have always been happening."
fba1bd0ec4198fc227bffcdb9c90bb7a36baa5c8 04-Oct-2013 Ken Wakasa <kwakasa@google.com> Suppress exceptions that have always been happening.

Change-Id: I5f85a7a0f94ea9ecbe0c4a8caebcf551fa9c9669
ettings/SettingsValues.java
e4e0add9fb6e4eef506d22a1cbf877eae24bb1ba 01-Oct-2013 Yuichiro Hanada <yhanada@google.com> Add Ver4DictUpdater.

Change-Id: I986ab26faf535fc4bc98443053f534eced9d048f
akedict/Ver3DictUpdater.java
akedict/Ver4DictDecoder.java
akedict/Ver4DictUpdater.java
75d60e821ce09390253df21f2b83d45498567cb5 03-Oct-2013 Yuichiro Hanada <yhanada@google.com> Refactor BinaryDictIOUtilsTests.

Change-Id: I2208378b33038771b460abb33f9a690872e998e2
akedict/DictUpdater.java
14d31d464037c31e7f7d382a8a86f6acf4694b06 01-Oct-2013 Yuichiro Hanada <yhanada@google.com> Add AbstractDictDecoder.

Change-Id: Ie69d84e090f69dc3ea1f5de73ad8c954ecd2c6a7
akedict/AbstractDictDecoder.java
akedict/DictDecoder.java
akedict/DictUpdater.java
akedict/Ver3DictDecoder.java
akedict/Ver4DictDecoder.java
73b9d3b879c109a7b8487b609b0715ffe3090142 02-Oct-2013 Yuichiro Hanada <yhanada@google.com> Separate shortcut targets from the trie file.

Bug: 10920165
Change-Id: I340759eadbde7fb64cb3b9a3c619ee3a768cedf8
akedict/BinaryDictDecoderUtils.java
akedict/BinaryDictEncoderUtils.java
akedict/FormatSpec.java
akedict/Ver4DictDecoder.java
akedict/Ver4DictEncoder.java
864ee881bd2f4a5dbde8f31c68e7f89522c67db6 03-Oct-2013 Keisuke Kuroyanagi <ksk@google.com> Merge "Fix UserHistoryDictionaryTests."
11f7cae094720c3ab47e6c18772b1fc44e9e5372 03-Oct-2013 Keisuke Kuroyanagi <ksk@google.com> Fix UserHistoryDictionaryTests.

Bug: 6669677
Bug: 10667710

Change-Id: I6cdc6a6c9cacc7f276fda3a26ec31e3eb928471c
xpandableBinaryDictionary.java
ersonalization/DecayingExpandableBinaryDictionaryBase.java
3dd77a6d6696bb426b200b27adeb8be7e887a667 01-Oct-2013 Yuichiro Hanada <yhanada@google.com> Add SparseTableContentWriter to Ver4DictEncoder.

Bug: 10920165
Change-Id: I6372492e97297baad4c5aeeb3fb36dcccd7a944b
akedict/FormatSpec.java
akedict/Ver4DictDecoder.java
akedict/Ver4DictEncoder.java
d6e307a4b7933ad5efebc6b0d3b775c5ab5c0e6e 30-Sep-2013 Yuichiro Hanada <yhanada@google.com> Add DictUpdater.

Change-Id: Ic586e46e5a9f59de53d53e59886d635345940974
akedict/BinaryDictIOUtils.java
akedict/DictUpdater.java
akedict/DynamicBinaryDictIOUtils.java
akedict/Ver3DictDecoder.java
akedict/Ver3DictUpdater.java
9ecdb831db6c2fe7b476ab8bb23970d8056a8da6 03-Oct-2013 Satoshi Kataoka <satok@google.com> Fix the subtype id of the additional subtypes

Bug: 11032428
Change-Id: I5d422f1c15a582015770ef9a652348ca6eb8ab85
tils/AdditionalSubtypeUtils.java
d25cd26f1a18ebf385a9ce8aea1e9c7ba32bdfc7 02-Oct-2013 Keisuke Kuroyanagi <ksk@google.com> Merge "Try decaying user history at hourly intervals."
3aa8977cb28e3e4b5bfcb8998fa9e9ac9ae998a3 02-Oct-2013 Yuichiro Hanada <yhanada@google.com> Remove some unused variables.

Change-Id: Iaf1556fec194d17cb4318f2bdcc837f8d79449ef
akedict/BinaryDictDecoderUtils.java
akedict/BinaryDictEncoderUtils.java
akedict/DynamicBinaryDictIOUtils.java
akedict/SparseTable.java
akedict/Ver3DictEncoder.java
akedict/Ver4DictDecoder.java
akedict/Ver4DictEncoder.java
f36a97ab3abf7fb3766ed6ff553a2b6501d0908f 02-Oct-2013 Keisuke Kuroyanagi <ksk@google.com> Try decaying user history at hourly intervals.

Bug: 6669677

Change-Id: Ib465fa7e1a7f289a07843535ba89d0dd5259e803
xpandableBinaryDictionary.java
atinIME.java
ersonalization/DecayingExpandableBinaryDictionaryBase.java
ersonalization/DictionaryDecayBroadcastReciever.java
ersonalization/PersonalizationHelper.java
2dcb63375d9f6dbdbcd1334571f6e80b4d487771 02-Oct-2013 Ken Wakasa <kwakasa@google.com> Merge "Make SparseTable have multiple content tables."
cd7422f4dfe2bd5708acc6305a4f6dc83767685a 02-Oct-2013 Jean Chalard <jchalard@google.com> Merge "Fix a pernicious bug with caps."
f735117d36237f08fd7512789f922f18c6b1aa53 02-Oct-2013 Jean Chalard <jchalard@google.com> Fix a pernicious bug with caps.

What's happening here is, setAlphabetKeyboard sets the
keyboard to AUTOMATIC_SHIFTED and updates the keyboard, then
restoring the keyboard old state sets it back to UNSHIFTED without
updating it. When we finally know what the correct value is,
we try to set it to UNSHIFTED, but since that's already the currently
recorded state, it skips updating the keyboard forever.

The solution is to avoid setting the shift state without updating the
keyboard.

Bug: 10948582
Change-Id: Ic8670401e378f8284e851281f91a9ad93eac8e90
atinIME.java
c5182c9a4ae66e75df8c959bf625d08ef99f81d2 02-Oct-2013 Satoshi Kataoka <satok@google.com> Correspond to the security related API change for PreferenceActivity

Bug: 10118761
Change-Id: Ia7d1c6c526dae849f447c26387e96a4fb4d6042f
ettings/DebugSettingsActivity.java
ettings/SettingsActivity.java
pellcheck/SpellCheckerSettingsActivity.java
4284e9aae7ec5ff55b9bec34e89dab6bc0a76b32 01-Oct-2013 Yuichiro Hanada <yhanada@google.com> Make SparseTable have multiple content tables.

Bug: 10920165
Change-Id: Ie9008452ee292fb0b1fec66e2ffed228c4af6c3e
akedict/SparseTable.java
akedict/Ver4DictDecoder.java
akedict/Ver4DictEncoder.java
fa946d4a0f6329134ddbae9a3ce03f6d4009019b 01-Oct-2013 Jean Chalard <jchalard@google.com> Fix a test and crash with a better error message when reading

When there are too many bigrams, we stop reading the file,
so the file pointer is in an inconsistent place. This means we
have no idea what's going to happen next. It's better to crash
right away.

Change-Id: Id3b7b78cbe4fda3493b3c9c46758763e1ab5f6a3
akedict/Ver3DictDecoder.java
akedict/Ver4DictDecoder.java
459cd6f8ef3eaa561e47dd996ce537770ea8b37a 01-Oct-2013 Jean Chalard <jchalard@google.com> Implement the heuristic for auto-commit.

Bug: 9059617
Change-Id: I066abf018df5aaeabf415425dd822ebe233e6008
inaryDictionary.java
cc81a93b01cbcada13c3791fa5ba73a09ba7e092 01-Oct-2013 Ken Wakasa <kwakasa@google.com> Merge "Add skipPtNode to DictDecoders."
bc4926235dfff4758ca435362fe7a880d11b4f3b 01-Oct-2013 Yuichiro Hanada <yhanada@google.com> Add skipPtNode to DictDecoders.

Change-Id: I042ff041b68572182c87dc87db6a6aa2bbbefc6c
akedict/BinaryDictIOUtils.java
akedict/DictDecoder.java
akedict/Ver3DictDecoder.java
akedict/Ver4DictDecoder.java
126d758c1e8db969ad1c9e5d801f3075e2061cc1 01-Oct-2013 Keisuke Kuroyanagi <ksk@google.com> Merge "Quit blocking getSuggestion during GC."
bb57090f1da9d1fc5a0eda9b627d3f8c8b25ab42 30-Sep-2013 Jean Chalard <jchalard@google.com> Create the wiring for auto-commit confidence computation.

Bug: 9059617
Change-Id: I7e4e05ffa8c68cfebbe362a977fd176555cad12a
inaryDictionary.java
03cb8f751a7f35e9159c724a2d25528b86287b57 01-Oct-2013 Keisuke Kuroyanagi <ksk@google.com> Quit blocking getSuggestion during GC.

Bug: 10831272

Change-Id: I995c619dc18a9120a47f547d31045cb73a9353ec
inaryDictionary.java
xpandableBinaryDictionary.java
458fb52b985d9c4f37b82689b573d42f95487a32 30-Sep-2013 Alan Viverette <alanv@google.com> Merge "Speak auto-corrections for accessibility"
65330d2820f61aaad6094db6738017aa77a64581 30-Sep-2013 Keisuke Kuroyanagi <ksk@google.com> Merge "Implement simple dictionary decay."
fd02b2d6ee55d4aee7faab89a7a2b72764eafc47 30-Sep-2013 Keisuke Kuroyanagi <ksk@google.com> Implement simple dictionary decay.

Groundwork and implement simple decay.
Increment probability when typed and decrement probability
at GC.

Bug: 6669677

Change-Id: Ib12caead0cbeef4ce7808fe8ac0b00ee331523fe
ersonalization/DecayingExpandableBinaryDictionaryBase.java
ef084229f646853cff4eef55e2069eb4b93f14e6 30-Sep-2013 Keisuke Kuroyanagi <ksk@google.com> Merge "Use reentrant lock for main dictionaries."
3e6275634b2368bd5b891fabe750d01f71983f62 30-Sep-2013 Keisuke Kuroyanagi <ksk@google.com> Use reentrant lock for main dictionaries.

Bug: 10964805
Change-Id: Iaa9b79fc770d8ae2ec9d7c362c90c28bc9f65ea8
ictionaryFactory.java
eadOnlyBinaryDictionary.java
25f47828539f4af34b081afb4553e9e56fbcdbf3 30-Sep-2013 Ken Wakasa <kwakasa@google.com> Merge "Separate bigram entries from the trie file."
fd46e87da2e91583e0b0ab0dd7ffa5e329012861 19-Sep-2013 Yuichiro Hanada <yhanada@google.com> Separate bigram entries from the trie file.

Bug: 10920165
Change-Id: I42eb7f228994a56c2f31a1c83904c8c360b6d088
akedict/BinaryDictEncoderUtils.java
akedict/FormatSpec.java
akedict/SparseTable.java
akedict/Ver4DictDecoder.java
akedict/Ver4DictEncoder.java
d40a931a4d9ab6e49e6d8689f2087937ea168147 30-Sep-2013 Ken Wakasa <kwakasa@google.com> Merge "Change scopes of some methods in DynamicBinaryDictIOUtils."
c18510049a3422c88ed3ab3bbc64944c94a611fd 30-Sep-2013 Keisuke Kuroyanagi <ksk@google.com> Prepare dictionary decay.

Bug: 6669677
Change-Id: I8fbae190dd44a6bdbee7e9b6d3a16208322727f7
inaryDictionary.java
xpandableBinaryDictionary.java
dc4f357f6bfb9d0f9636523b835ff9fe3359314f 30-Sep-2013 Yuichiro Hanada <yhanada@google.com> Change scopes of some methods in DynamicBinaryDictIOUtils.

Change-Id: I1371d41760b38834d1d5ff40e682ac0a6fc9f2e9
akedict/DynamicBinaryDictIOUtils.java
1cf4789ba6abb5855392d542bb075c12d2d9b6a0 29-Sep-2013 Keisuke Kuroyanagi <ksk@google.com> Merge "Set header attributes for ExpandableBinaryDictionary."
5ed30a7660048ef4bf78077e77554c97786eae2b 27-Sep-2013 Keisuke Kuroyanagi <ksk@google.com> Set header attributes for ExpandableBinaryDictionary.

Bug: 6669677

Change-Id: I2462777eaa07600f1c774226adfc4f351882f523
bstractDictionaryWriter.java
ictionaryWriter.java
xpandableBinaryDictionary.java
atinIME.java
uggest.java
akedict/FormatSpec.java
ersonalization/DecayingExpandableBinaryDictionaryBase.java
ersonalization/DynamicPersonalizationDictionaryWriter.java
ersonalization/PersonalizationDictionaryUpdateSession.java
ersonalization/PersonalizationHelper.java
ersonalization/UserHistoryDictionary.java
ersonalization/UserHistoryPredictionDictionary.java
67319f92f31ca5b40e1f80f7b9ae63b9d8886f0e 27-Sep-2013 Alan Viverette <alanv@google.com> Speak auto-corrections for accessibility

BUG: 8669376
Change-Id: Id71b2c2835daa7a8c9d6c92c57a7e302551c289d
atinIME.java
8b580819a580527418ba96f1a7cda699bff772ba 27-Sep-2013 Keisuke Kuroyanagi <ksk@google.com> Merge "Add unigram/bigram counting."
31097a57cc6f8022abc0ea56f27147399f41b630 27-Sep-2013 Keisuke Kuroyanagi <ksk@google.com> Add unigram/bigram counting.

Bug: 6669677
Change-Id: I05ea2201d822dddf062b08c8467daa336760e16c
inaryDictionary.java
e74d4a184bbd06ddb607f81147ed827b9dd1ba17 27-Sep-2013 Keisuke Kuroyanagi <ksk@google.com> Stop reading dictionary while regenerating.

Bug: 10831272

Change-Id: Iead7268a9371b48d729a5f65074ccbc05f3185db
xpandableBinaryDictionary.java
b7dfacd31e894247ee2523f250dbadc06dd0bf4b 27-Sep-2013 Jean Chalard <jchalard@google.com> Merge "Send backspace as an event when TYPE_NULL."
de814ec0ec7f5b7674c5bb95694813c35af10fd6 27-Sep-2013 Jean Chalard <jchalard@google.com> Send backspace as an event when TYPE_NULL.

This is not enough to really fix behavior with TYPE_NULL,
but it does make things a bit better.

Bug: 10949594
Change-Id: Ia359f781cdd76a2e2c5a4c9f166025d81b931174
nputAttributes.java
atinIME.java
a328f538c34ad2dafdfa53642085cb1072224d80 27-Sep-2013 Yuichiro Hanada <yhanada@google.com> Fix PrioritizedSerialExecutor.

It was possible that fetchNextTasks() would be called by multiple
threads concurrently.
If it happens, some tasks in the task queues might be ignored.

Change-Id: Idc81c43c45e382da3850cc55b9a42c281548d2a8
xpandableBinaryDictionary.java
ersonalization/DynamicPersonalizationDictionaryWriter.java
tils/PrioritizedSerialExecutor.java
781feb748cc59d3d34e9b52553cac192f1699dce 26-Sep-2013 Yuichiro Hanada <yhanada@google.com> Remove unused methods.

Change-Id: I542db0c717c0bc05c8baa08f1e9db0a05946a99b
xpandableBinaryDictionary.java
e3e10317b0e5c02ea95eea0100ab696e9c928f36 26-Sep-2013 Keisuke Kuroyanagi <ksk@google.com> Merge "Create empty dictionary file in native code."
d188af70227ae7003fa410ccf4038a57825ae385 17-Sep-2013 Yuichiro Hanada <yhanada@google.com> Add SparseTable.

Bug: 10920165
Change-Id: I749dd0269e788799e30b10beb2671813d40ce15f
akedict/BinaryDictEncoderUtils.java
akedict/SparseTable.java
5ef6209656c51df0f0542d2a75c2df93c8d0f027 25-Sep-2013 Keisuke Kuroyanagi <ksk@google.com> Create empty dictionary file in native code.

Bug: 6669677
Change-Id: I46d23deee1fd091678f4593561cb8687eb815212
inaryDictionary.java
xpandableBinaryDictionary.java
akedict/FormatSpec.java
ersonalization/DecayingExpandableBinaryDictionaryBase.java
ersonalization/DynamicPredictionDictionaryBase.java
ersonalization/PersonalizationDictionaryUpdateSession.java
ersonalization/PersonalizationPredictionDictionary.java
ersonalization/UserHistoryDictionaryBigramList.java
ersonalization/UserHistoryPredictionDictionary.java
4350a93aa5447f92304bea3f8bbf00bbf6c35498 25-Sep-2013 Ken Wakasa <kwakasa@google.com> Merge "Fix the offdevice regression test build"
f56b82f80961a511765df206eee36229cbee6ed8 25-Sep-2013 Ken Wakasa <kwakasa@google.com> Fix the offdevice regression test build

Followup to If4e44eca3cdc5bb02cf2e0c8c44ecd4bf27fae57

bug: 10622489
Change-Id: If98b2c75725f8692f0c2b41c33e448086404479b
ichInputConnection.java
tils/SpannableStringUtils.java
tils/StringUtils.java
5fa96540456f172b6dbbefe45061738916915cbb 25-Sep-2013 Keisuke Kuroyanagi <ksk@google.com> Merge "Clear traverse sessions when closing."
6142068a3311e4f828bb2acb0e4f9469c29a083f 25-Sep-2013 Keisuke Kuroyanagi <ksk@google.com> Clear traverse sessions when closing.

Bug: 6669677
Change-Id: I859be934f0c60485e04cdc4cab288a18242fa04e
inaryDictionary.java
22c5c450fecb856100059f4e5b34b847fb0acfa7 12-Sep-2013 Yuichiro Hanada <yhanada@google.com> Make Ver4DictEncoder write an address table of terminal nodes.

Bug: 10920165
Change-Id: I86017456ea9fa5d6e12b57172c34f5ed4f88ef94
akedict/BinaryDictEncoderUtils.java
akedict/FormatSpec.java
akedict/Ver4DictDecoder.java
akedict/Ver4DictEncoder.java
2e58670da9687fd1fd28c322e03343957d11568c 24-Sep-2013 Keisuke Kuroyanagi <ksk@google.com> Quit using ExpandableDictionary.

Bug: 6669677
Change-Id: Ie90417fa9b726454fe729a665fcd549efabb9e94
inaryDictionary.java
xpandableBinaryDictionary.java
ersonalization/DynamicPredictionDictionaryBase.java
f068c6e656fae4516b6ac09b4e9cb8a7371a14c7 24-Sep-2013 Satoshi Kataoka <satok@google.com> Merge "Low memory mode in UserHistory"
97485273d7c5fdf9b05a7a1c1397cce9721a62d0 24-Sep-2013 Satoshi Kataoka <satok@google.com> Low memory mode in UserHistory

Bug: 8967766
Change-Id: Id40f54f4d9f43d1f796377983a5fc0ca3417e133
ersonalization/DynamicPersonalizationDictionaryWriter.java
f600923376afab0295b25451887450edaffeda7c 24-Sep-2013 Jean Chalard <jchalard@google.com> Merge "Tweak for armenian periods and commas."
933cc808d97a30ea482ee64ba17142db9ae76b1c 24-Sep-2013 Jean Chalard <jchalard@google.com> Tweak for armenian periods and commas.

Bug: 7963631
Change-Id: I2eb110949f3d3b7817dbd9448654954fdee39ac2
onstants.java
tils/CapsModeUtils.java
3d68b066626d7e58cbe2853cd186b1ad75b90259 12-Sep-2013 Jean Chalard <jchalard@google.com> Copy only the spans we are interested in.

The PARAGRAPH type of span is dangerous, as concatenating
CharSequences that contain it may crash. We also don't use
other spans than SuggestionSpans, so we don't copy them.

Bug: 10622489
Change-Id: If4e44eca3cdc5bb02cf2e0c8c44ecd4bf27fae57
ichInputConnection.java
tils/StringUtils.java
8f23c6f78b1a9e5c6dd5bbe7b949b2c1f138f4cd 24-Sep-2013 Jean Chalard <jchalard@google.com> Merge "Detect cases where rotation messes with initialization"
f1d8aa46f9172c2d8864d0d2161aa8220d036cc9 20-Sep-2013 Jean Chalard <jchalard@google.com> Detect cases where rotation messes with initialization

...and do a best effort to fix it.

Bug: 10323080
Bug: 10252066
Change-Id: Icb3c9fe85005406bdfce0b7bb143ba0a910a0ddb
onstants.java
atinIME.java
ichInputConnection.java
262b867200fa4ce6b17e05808e0f766a4fbe4f9a 20-Sep-2013 Jean Chalard <jchalard@google.com> Merge "Catch SQLiteException from remote processes"
d0cf6b7623f99f453724b7579e5a70333d06e9c9 20-Sep-2013 Jean Chalard <jchalard@google.com> Catch SQLiteException from remote processes

...to avoid catching fire when the Contacts or User dictionary
providers crash and burn.

Bug: 10200036
Change-Id: I73e9d126ce6d34ebc7e6ac03d94af1c12dde7eda
ontactsBinaryDictionary.java
serBinaryDictionary.java
be3be424a38ecb46bb24423be42ad290e896c6cc 20-Sep-2013 Jean Chalard <jchalard@google.com> Fix a bug that happens upon a race condition

Bug: 10848621
Change-Id: If5ff7f001e69af005a5ff9ab3e9f630b88a0a858
atinIME.java
tils/TextRange.java
280990bcb19dde8b5d8298fa0b8313e8167802b2 20-Sep-2013 Ken Wakasa <kwakasa@google.com> Merge "Address a couple more issues in Khmer layout"
814acafaeaf138a1c742b6549789f86e65910ce1 20-Sep-2013 Ken Wakasa <kwakasa@google.com> Address a couple more issues in Khmer layout

bug: 6910993
Change-Id: If866629268040cf7696d9667dbca66fac6a60374
tils/TypefaceUtils.java
1d1a3d52b8f12766c7d2c1f2033217fce502f49a 20-Sep-2013 Jean Chalard <jchalard@google.com> Merge "Fix a bug where null would be converted to "null""
8f02f1a118d36a1c4143b62f7e20727b2d2bf363 20-Sep-2013 Jean Chalard <jchalard@google.com> Fix a bug where null would be converted to "null"

It's unclear what the concrete effects of this are, but they are not
very strong. This only happens in corner cases, when the input
connection is not active - while rotating, for example.

Change-Id: I1d22459a6e94a8ecccb53cfcbc2d301b1d502204
ichInputConnection.java
baa3121704c4be8d883e58865fa643883a114b6b 19-Sep-2013 Satoshi Kataoka <satok@google.com> Update resources

Change-Id: Ia66f7181514ee1471e181e16d15622174cf72e79
ubtypeSwitcher.java
tils/AdditionalSubtypeUtils.java
a469743e331e57e3a03354f95268e4addf93b0e8 19-Sep-2013 Yuichiro Hanada <yhanada@google.com> Add showSuggestionStripWithTypedWord.

Bug: 10814472
Change-Id: I3a150124baf7a9b7889b033089a859ff9c11e206
atinIME.java
14087ba52c6b5b7acd25ee4a1ef1663ceb72bbf4 20-Aug-2013 Yuichiro Hanada <yhanada@google.com> Add Ver4DictDecoder.

Bug: 9618601
Change-Id: I43c5840505c6a847aaf4893a400392ccd45903c0
akedict/BinaryDictDecoderUtils.java
akedict/BinaryDictEncoderUtils.java
akedict/BinaryDictIOUtils.java
akedict/DictDecoder.java
akedict/FormatSpec.java
akedict/Ver3DictDecoder.java
akedict/Ver3DictEncoder.java
akedict/Ver4DictDecoder.java
40f66795a21b857276fd0601fd9bb54e58c947ee 05-Sep-2013 Keisuke Kuroyanagi <ksk@google.com> Quit skipping user history dictionary for gesture.

Bug: 6669677
Change-Id: Id4344f2a30e9827f210055d6c65ee7776d3a63e3
xpandableBinaryDictionary.java
uggest.java
8678062853291f46ea0b994375b251b6604c42a6 18-Sep-2013 Jean Chalard <jchalard@google.com> Merge "Fix an NPE."
08bc97f86fd82b51a59e1d0c6532b093c54dd3b5 18-Sep-2013 Jean Chalard <jchalard@google.com> Merge "Allow double-space-to-period after a plus char"
673275cbc6c6fbef3b33a7493f93470c8d953bef 18-Sep-2013 Jean Chalard <jchalard@google.com> Fix an NPE.

Apparently, it is possible that File#getPath() returns null.
In this case, we'll have a null AssetFileAddress and an NPE
later down the road.

Bug: 9944824
Change-Id: Id6ceac1cb55439660f9811cf0fe3b574200d5a20
inaryDictionaryGetter.java
ba99d8cd0b53ed45b3cb9469db430998018bd110 18-Sep-2013 Jean Chalard <jchalard@google.com> Allow double-space-to-period after a plus char

Bug: 10704936
Change-Id: I30fdaea648605ef7e7fea6c093581ed5c6de03f3
onstants.java
atinIME.java
957a2337eee3a075957d6c397396996febd78982 18-Sep-2013 Satoshi Kataoka <satok@google.com> Merge "Set EmojiCapable"
8837deab730658c67e64c92548168e4aaab1ebc2 18-Sep-2013 Satoshi Kataoka <satok@google.com> Merge "Fix Emoji recents"
ea7bfa5cd58c4ce0fed5d79c3118d5339ef4e66a 18-Sep-2013 Satoshi Kataoka <satok@google.com> Fix Emoji recents

Bug: 10538430

Change-Id: Ia2e423eb1843195b3c3218afc79a5820b8cd729b
onstants.java
tils/StringUtils.java
256937b475a8183ac8bfa7964188071497d4fe7d 18-Sep-2013 Ken Wakasa <kwakasa@google.com> Merge "Fix getChildrenPosition."
51f275d8be314dde33119ed0fdfef5d3ca70a251 18-Sep-2013 Satoshi Kataoka <satok@google.com> Set EmojiCapable

Bug: 10240645
Change-Id: I891309c2a82f8d10f8fdb0872403a7a235e27b5f
onstants.java
ubtypeSwitcher.java
tils/AdditionalSubtypeUtils.java
59418672a140db38b9f17fee6d7df399897fbb39 18-Sep-2013 Jean Chalard <jchalard@google.com> Merge "Don't resume suggestion on digits."
4ad4b9d976c4d269a4cce8373b284279b851c90c 18-Sep-2013 Keisuke Kuroyanagi <ksk@google.com> Merge "Fix contacts/user dictionary writing."
d0c87576ffad858b13063506b15ca96293319bdb 18-Sep-2013 Yuichiro Hanada <yhanada@google.com> Fix getChildrenPosition.

Change-Id: Ic39592dbf0d4e6d2e4879cdb1a95b65d46a57e92
akedict/BinaryDictEncoderUtils.java
0011ab4bf3df9e3fd2f5315309b6961b03ef4628 18-Sep-2013 Keisuke Kuroyanagi <ksk@google.com> Fix contacts/user dictionary writing.

Bug: 10743878
Change-Id: I5d61b7955ef69a635f994f01cc575fb23fdf942b
bstractDictionaryWriter.java
9465819cf6f2e6c2074daaae60c5efc0c170185e 18-Sep-2013 Keisuke Kuroyanagi <ksk@google.com> Merge "Add BinaryDictionary.getBigramProbabilityNative()."
f71e1db2da5f80f91b6aece5794c8cfff7c476c0 17-Sep-2013 Jean Chalard <jchalard@google.com> Don't resume suggestion on digits.

Bug: 10780016
Change-Id: I94fad06e4c71eddc96bdda1765925f98bed160f3
atinIME.java
4d02a2d44db94985c9f079cdd58c7c51d3e557ee 18-Sep-2013 Keisuke Kuroyanagi <ksk@google.com> Add BinaryDictionary.getBigramProbabilityNative().

Bug: 10197478
Change-Id: Id16e3ee22a17679c46cc7a0199a9e28065177aa3
inaryDictionary.java
e8f717943f7063444cd1c777e8dd03dc738f3c4a 17-Sep-2013 Jean Chalard <jchalard@google.com> Improve trailing quotes processing

Bug: 10445496
Change-Id: Ib7bd05aea59ae6c9b8ce31299ef2235521b0e350
uggest.java
060917ed9abff0e777e6b99e43cc4b826d1ac0c8 17-Sep-2013 Jean Chalard <jchalard@google.com> [AC9] Resize an array

It's not easy for native code to only output the first
result, so let's supply enough room for it to output all.

Bug: 9059617
Change-Id: Ie93b7e54284c8c5d01fdc15846cf52d3442287b6
inaryDictionary.java
5cab0eb75b430fe15f59f7af828416b6b087dbe8 17-Sep-2013 Jean Chalard <jchalard@google.com> Merge "[AC8] Restrict the suggestion strip to the correct part"
b1e98c2f4fbfc637db302e699a7a331691cf90a3 13-Sep-2013 Jean Chalard <jchalard@google.com> [AC8] Restrict the suggestion strip to the correct part

...for phrase gesture.

Bug: 9059617
Change-Id: Ic5c0616f28af4ba45ca72a5721d1926029adc1c5
atinIME.java
uggestedWords.java
d0246277fde27e9c40a270e206f1d106811e847f 17-Sep-2013 Keisuke Kuroyanagi <ksk@google.com> Prepare dictionary saving in native code.

Bug: 6669677

Change-Id: I0787f66409e2b183c6328fa05805945520e1e93a
inaryDictionary.java
e8754aba1c8f217e7ca828de25e0506ac58daa99 10-Sep-2013 Keisuke Kuroyanagi <ksk@google.com> [AC7] Actually auto-commit.

Bug: 9059617
Change-Id: I7e5d89a9037b9181a0a6456c12043b4bfda8fe4b
inaryDictionary.java
nputPointers.java
atinIME.java
tils/ResizableIntArray.java
73d607fb70b96954d109a3c1410719b59af2aacf 17-Sep-2013 Jean Chalard <jchalard@google.com> Merge "[AC5] Introduce the setting for phrase gesture."
f3f00006cbe2046abbad3a901b436d67497a40f9 16-Sep-2013 Satoshi Kataoka <satok@google.com> Save & restore emoji keyboard state

Bug: 10538430
Change-Id: I7982f53f5dfa44071e74da63826acffcdc2547e6
onstants.java
ettings/Settings.java
a37bee2805dc1533092a25f1ee6633b78bff0070 13-Sep-2013 Jean Chalard <jchalard@google.com> [AC5] Introduce the setting for phrase gesture.

Bug: 9059617
Change-Id: I6fa0f675f4edac10bd19228cd2f0c8fca97cebd6
ettings/Settings.java
ettings/SettingsValues.java
41aaff6cdf6cc1edb41ec222695bb6985e646d23 13-Sep-2013 Jean Chalard <jchalard@google.com> Merge "[AC4] Add native methods necessary for auto-commit"
24aad5a4d545e743fe43953c1a9d8141c022d355 20-Aug-2013 Jean Chalard <jchalard@google.com> [AC4] Add native methods necessary for auto-commit

Bug: 9059617
Change-Id: I7a47b0675446fc4f39628c60d16de9aea90d1b4d
inaryDictionary.java
ictionary.java
xpandableDictionary.java
atinIME.java
uggest.java
uggestedWords.java
ettings/SettingsValues.java
fbc7e61a3e04ddf0d4039b7b10e31e5639dde613 13-Sep-2013 Ken Wakasa <kwakasa@google.com> Merge "Add Ver4DictEncoder."
a099a3e341d8de0512c8bb8f4dbe352456f2a4a4 13-Sep-2013 Yuichiro Hanada <yhanada@google.com> Add shutdown and isTerminated to PrioritizedSerialExecutor.

Change-Id: Id185224d135c8571a39efe8a41a66ce769142903
xpandableBinaryDictionary.java
tils/PrioritizedSerialExecutor.java
a141d8ef7dcf8f942eb7bd4ca006f63da1744319 10-Sep-2013 Yuichiro Hanada <yhanada@google.com> Add Ver4DictEncoder.

Bug: 9618601
Change-Id: I161d2845906f07c1251deb8005fdffe49c5b7940
akedict/BinaryDictEncoderUtils.java
akedict/FormatSpec.java
akedict/FusionDictionary.java
akedict/Ver3DictEncoder.java
akedict/Ver4DictEncoder.java
898dbe3c29dc46707897f41dd37845ecaf310b92 04-Sep-2013 Satoshi Kataoka <satok@google.com> Fix emoji keyboard insets

Bug: 10541453
Change-Id: I16dd72c8c55cb5d21ad61a3307c0f3c5f16f460c
atinIME.java
40666017c99ca64c99d540bd21fb8a3d761a6b8d 12-Sep-2013 Jean Chalard <jchalard@google.com> Merge "Avoid recorrection in ex-password fields."
ce96d0d12f1e062f1e88930878f119725e6d04a4 12-Sep-2013 Jean Chalard <jchalard@google.com> Avoid recorrection in ex-password fields.

Bug: 10115839
Change-Id: I1f1025c9f28adfb6f5a63d5ba86e359f30c0963e
atinIME.java
a6dc3056ffefd40e8fa93060d096c80889e82633 12-Sep-2013 Ken Wakasa <kwakasa@google.com> Merge "Add getDictDecoder."
0e40cd0c40f2c731f91ccd0561e251262e5a2614 12-Sep-2013 Yuichiro Hanada <yhanada@google.com> Add getDictDecoder.

Bug: 9618601
Change-Id: I173100ac704c03f7d5d0d53477e83cab5d1110d4
inaryDictionaryGetter.java
akedict/BinaryDictIOUtils.java
akedict/DictDecoder.java
akedict/FormatSpec.java
akedict/Ver3DictDecoder.java
ersonalization/DynamicPredictionDictionaryBase.java
tils/UserHistoryDictIOUtils.java
4c2767857a02c9cf18a9579aa0391fd09b3fe411 12-Sep-2013 Keisuke Kuroyanagi <ksk@google.com> Change cache capacity depending on the dictionary size.

Bug: 10699291

Change-Id: I7042d4c1307da2d991d4dd10d637f18026acb996
inaryDictionary.java
icTraverseSession.java
be470f06e48e40a0def32e0f34e3ca48113937b5 11-Sep-2013 Yuichiro Hanada <yhanada@google.com> Hide DictBuffer from BinaryDictDecoderUtils.

Bug: 9618601
Change-Id: I87515bc1555bdfe09426a056ceda74d8e63eba82
akedict/BinaryDictDecoderUtils.java
akedict/BinaryDictIOUtils.java
akedict/DictDecoder.java
akedict/Ver3DictDecoder.java
87472f00382c36f475dcaa1932af70b482adf1c3 12-Sep-2013 Jean Chalard <jchalard@google.com> Remove changing a word when added to the dictionary

This code is now useless.
I thought it affected 9902905, but it seems it actually does not.
Still, it's dead code.

Bug: 9902905
Change-Id: Id9c90fbf88f015af47b2368b90d173c481647093
atinIME.java
serBinaryDictionary.java
tils/PositionalInfoForUserDictPendingAddition.java
76e431b315abb4fdf92f0843bad7bdb548ab68a8 12-Sep-2013 Keisuke Kuroyanagi <ksk@google.com> Merge "Use same session id for typing and gesture."
f1233b58c2d81b575c92339f146cfe0f73a992fa 11-Sep-2013 Keisuke Kuroyanagi <ksk@google.com> Use same session id for typing and gesture.

Bug: 10699291
Change-Id: I7c8a3a57e8d189b72a17e4b9c6831becee6ec146
uggest.java
7547a7042c2f38adbf880637af07b8d559488799 10-Sep-2013 Yuichiro Hanada <yhanada@google.com> Add writePtNode to DictEncoder.

Bug: 9618601
Change-Id: Ie4529444780edee8d0f0d5f23c5619c1a3344286
akedict/BinaryDictEncoderUtils.java
akedict/DictEncoder.java
akedict/Ver3DictEncoder.java
95bc256f419e9e47c26dfefd1ac31266dac2f344 10-Sep-2013 Yuichiro Hanada <yhanada@google.com> Add a flag to readDictioanryBinary in DictDecoder.

Change-Id: I356adb72047ebc43c924fbff1ff45e7460508a31
akedict/DictDecoder.java
akedict/Ver3DictDecoder.java
e193c5255d96d3971ee207b459a8a1e91c0d176c 10-Sep-2013 Yuichiro Hanada <yhanada@google.com> Revert Ida230ca42 and I6adf7d08f.

Change-Id: I2ddb250d5a473ea955a5171656974de7288a13f7
atinIME.java
ef073f402407b19f5be90ddf68beb874945e82be 09-Sep-2013 Yuichiro Hanada <yhanada@google.com> Use PrioritizedSerialExecutor instead of ReentrantReadWriteLock.

Change-Id: I003b769e408ebd692085a7e17fed6d9396876202
xpandableBinaryDictionary.java
ynchronouslyLoadedContactsBinaryDictionary.java
ynchronouslyLoadedUserBinaryDictionary.java
ersonalization/DynamicPredictionDictionaryBase.java
ersonalization/PersonalizationHelper.java
tils/PrioritizedSerialExecutor.java
40e91e45825d31ae0bc075466406a4330b8df9bf 10-Sep-2013 Ken Wakasa <kwakasa@google.com> Merge "Check the version of format options before writing."
8a06b26cb47278039f8306b93aa32830fab54468 10-Sep-2013 Yuichiro Hanada <yhanada@google.com> Check the version of format options before writing.

Change-Id: I3951e4395a2da225e240e856c23339b679e6155e
akedict/Ver3DictEncoder.java
e531c2241eb8d5a1462c43ce0deffaf6c769cc23 10-Sep-2013 Keisuke Kuroyanagi <ksk@google.com> Move a flag about switching dynamic update to java.

Bug: 6669677

Change-Id: I6aa99cae4a227f9202179c2873d13473a773e024
xpandableBinaryDictionary.java
acdabb25f4c92e2e39b5cb4620889e2548c5d14c 09-Sep-2013 Yuichiro Hanada <yhanada@google.com> Add AsyncResultHolder.

Change-Id: Icfa685bcda2f5c74f5649f09098d00b4bd321c5a
atinIME.java
tils/AsyncResultHolder.java
be9636115689689a1f60da35658cacf0df90608d 09-Sep-2013 Satoshi Kataoka <satok@google.com> Merge "Check contents in user history dictionary tests"
e5a35711b854aedeeea2f45105b941b9deee49bc 06-Sep-2013 Satoshi Kataoka <satok@google.com> Check contents in user history dictionary tests

Bug: 10667710

Change-Id: I45ebb08cb4ef9a9f6d2da31e2c50e740f88209c2
xpandableBinaryDictionary.java
xpandableDictionary.java
ersonalization/DynamicPersonalizationDictionaryWriter.java
ersonalization/DynamicPredictionDictionaryBase.java
ersonalization/UserHistoryDictionaryBigramList.java
70e81af72678d95c2a38412c478e06837a51c7cb 06-Sep-2013 Yuichiro Hanada <yhanada@google.com> Hide physical structure of the dictionary from BinaryDictEncoderUtils.

Bug: 9618601
Change-Id: I01b8da42058d7c05bf7f4e6d43718032c2ad12c5
akedict/BinaryDictEncoderUtils.java
akedict/DictEncoder.java
akedict/Ver3DictEncoder.java
cc2751ba03fad6af5da0a7b5d421963e040d690f 05-Sep-2013 Yuichiro Hanada <yhanada@google.com> Make commitCurrentAutoCorrection asynchronous.

Change-Id: Ida230ca4243347fb3ab9fda7de3a9a18f886cd1c
atinIME.java
37e0fd2ff04a2a87e421abea8bc407bd312dbfc6 08-Sep-2013 Keisuke Kuroyanagi <ksk@google.com> Revise TODO comment for I823912e3979829a.

Change-Id: I839d8cb4d45d7d17b7940d710a2fef5aeacc11ab
xpandableBinaryDictionary.java
773f2272421738b400c5eb24b36d36b9d3b29207 08-Sep-2013 Keisuke Kuroyanagi <ksk@google.com> Fix: wrong locking order.

Change-Id: I823912e3979829ad1e825cf91dc5e18f7f0f9cc3
xpandableBinaryDictionary.java
e7ac90034080b952aa41ade15a533bdf13d9090d 09-Sep-2013 Keisuke Kuroyanagi <ksk@google.com> Merge "Write forgetting curve flag."
563bcb511771579d272108f9659f85a71db98dab 06-Sep-2013 Yuichiro Hanada <yhanada@google.com> Rename write(|Signed)VariableAddress and to write(|Signed)ChildrenPosition.

Change-Id: Ib018bde346744b470a4fb13b0c57e3a633b8bb20
akedict/BinaryDictEncoderUtils.java
6156892b7e19aed29475c3ff6e439b05cf0b14c4 06-Sep-2013 Yuichiro Hanada <yhanada@google.com> Add computeChildrenPosition and simplify writePlacedNode.

Change-Id: Idcf0e056bf61e29844d4d0e91c482cd78c41704c
akedict/BinaryDictEncoderUtils.java
859b9eeaf0ed312d4d7a64ec16746f7d57d92396 06-Sep-2013 Keisuke Kuroyanagi <ksk@google.com> Write forgetting curve flag.

Bug: 6669677
Change-Id: Ic19aa3b69fb45d9638f9dcc8c3dd8a34aad41965
tils/UserHistoryDictIOUtils.java
b690c039271ad5ec5551cec4b73e796e9522ee45 05-Sep-2013 Satoshi Kataoka <satok@google.com> Merge "Optimize layout"
d6217a323cfa84928a61b2d84082457661ea0cdf 05-Sep-2013 Satoshi Kataoka <satok@google.com> Optimize layout

Bug: 9059539

Change-Id: Iabfd44daae1ef6da99a864859488a4f644240925
tils/DebugLogUtils.java
b1af47c8fe2f24c0056e96f0fd64968b891f8c50 04-Sep-2013 Yuichiro Hanada <yhanada@google.com> Add a callback to the arguments of commitCurrentAutoCorrection.

Change-Id: I6adf7d08fdc4382233a63304743207368db8058a
atinIME.java
80fe84b3a4808d5adb4e759f8d3807a3182ec5e5 05-Sep-2013 Satoshi Kataoka <satok@google.com> Merge "Consolidate voice input key options no.1"
21a89c1137cba469ad664a63259be370d1650a56 05-Sep-2013 Satoshi Kataoka <satok@google.com> Consolidate voice input key options no.1

Change-Id: I2f928522a0795f57b4133072f270d8fd2498cae9
ettings/Settings.java
ettings/SettingsFragment.java
ettings/SettingsValues.java
55f5f7a005c00ec764ed19647b245e48636a0440 22-Aug-2013 Yuichiro Hanada <yhanada@google.com> [Refactor] Add writeDictionaryHeader.

Change-Id: I69026c47ce1d23f5c39c99ace76fa6b96cd1ce1b
akedict/BinaryDictEncoderUtils.java
akedict/Ver3DictEncoder.java
663f5375d1bad660a1fdfb43a3fb8dd1c3f64008 05-Sep-2013 Yuichiro Hanada <yhanada@google.com> Add comments about how to calculate parent and children addresses.

Change-Id: Idf37d9a08a7b464a14c8755bedb755005e49ba33
akedict/FormatSpec.java
648088aa9ee9971ec08d6720cd383f555d18b93c 03-Sep-2013 Yuichiro Hanada <yhanada@google.com> Change GET_SUGGESTED_WORDS_TIMEOUT to 200.

Change-Id: Ia5aa0b7af16d7ad45c98d0c5a7dcabba76d19b67
atinIME.java
d6c947ef7bc8364cfd3f49d755e0677d4e93e58d 03-Sep-2013 Yuichiro Hanada <yhanada@google.com> Change GET_SUGGESTED_WORDS_TIMEOUT to 50.

Change-Id: I4d495a782ed1dea1c377837c6579ce5ff74086b5
atinIME.java
908fc4f1c324eac2a42a69680dbd196c5b9492f6 02-Sep-2013 Yuichiro Hanada <yhanada@google.com> Call getSuggestedWords asynchronously.

Change-Id: Ia8a21b53f4d12b759d9ef5a5181ed04875e4d198
atinIME.java
8616e4c03d79ce963e660107285d30093c6e8499 02-Sep-2013 Yuichiro Hanada <yhanada@google.com> Remove typedWord from the arguments of showSuggestionStrip.

Change-Id: Iddf33227982e65705b49c6a527286d8695878c90
atinIME.java
9666a228153bb2269da8983762bdd47e448f2cec 29-Aug-2013 Yuichiro Hanada <yhanada@google.com> Revert "Revert "Add onGetSuggestedWordsCallback.""

This reverts commit 78f707a142570c33bf5a7a3173f39d19103383ea.
Change-Id: I5dd4f2d40314002736226886477563f29a25079c
atinIME.java
uggest.java
acc886eeb47afbf7c2a5ce9535ffa06a0e2eeb73 30-Aug-2013 Ken Wakasa <kwakasa@google.com> Merge "Revert "Add onGetSuggestedWordsCallback.""
78f707a142570c33bf5a7a3173f39d19103383ea 30-Aug-2013 Ken Wakasa <kwakasa@google.com> Revert "Add onGetSuggestedWordsCallback."

This reverts commit 820c290a61e4067c9d8557af4c3160c866f70667.

Change-Id: I5c50731ff9f330c05c5841b8c65f16e28e67422c
atinIME.java
uggest.java
56e1b7e4f112a268371c84606e6f4239aef91333 29-Aug-2013 Ken Wakasa <kwakasa@google.com> Fix emoji view insets calculation

bug: 10541453
Change-Id: I605e657c94686c4974d162657a5e820798d20e8f
atinIME.java
5169937dd48d69e52e647662cb6fc3def5bf90d4 30-Aug-2013 Satoshi Kataoka <satok@google.com> Revert "Revert "Support Emoji keyboard""

Window resizing junkiness is addressed in I605e657c9468

This reverts commit aabc97233826da69edbadfc7c1465a505a1fe2ec.

Change-Id: I0bc0f1ad9a90799e643fe9ec35f5b4bbe94eee0d
atinIME.java
9f79cf6de4eac149ffb496bea34b9d091bed7bc4 30-Aug-2013 Ken Wakasa <kwakasa@google.com> Merge "Add onGetSuggestedWordsCallback."
2f95baaaf079e778f05ba4539a609a6df43fd342 30-Aug-2013 Ken Wakasa <kwakasa@google.com> Merge "Revert "Remove key preview backing view""
c160a3932f74fea72c5347798c001d4ae961864c 30-Aug-2013 Ken Wakasa <kwakasa@google.com> Revert "Remove key preview backing view"

This reverts commit 2dfcfc5013eee2fbd19a5830ff70943bd6c1bee2.

Change-Id: I96c691b2e9c92be456420196cd7361d03ea4f3e9
bug: 10541453
atinIME.java
uggestions/SuggestionStripLayoutHelper.java
uggestions/SuggestionStripView.java
aabc97233826da69edbadfc7c1465a505a1fe2ec 30-Aug-2013 Ken Wakasa <kwakasa@google.com> Revert "Support Emoji keyboard"

This reverts commit d7791a93b0dee268a9e97f06fe5abcf6082e0ed1.

Change-Id: I5ca4c0227f97540e8a22b487b5056dfa3611082b
atinIME.java
820c290a61e4067c9d8557af4c3160c866f70667 29-Aug-2013 Yuichiro Hanada <yhanada@google.com> Add onGetSuggestedWordsCallback.

Change-Id: Ib527d31f9c2dd6dc385cb2f767cd90d9d28a1b1b
atinIME.java
uggest.java
d7791a93b0dee268a9e97f06fe5abcf6082e0ed1 28-Aug-2013 Tadashi G. Takaoka <takaoka@google.com> Support Emoji keyboard

Bug: 6370846
Change-Id: I33ce8f952799c89929996a226ac17731a953ec2a
atinIME.java
fe87f5f41744a633a2ed91af9b171bda2637649e 28-Aug-2013 Keisuke Kuroyanagi <ksk@google.com> Pass additionalFeaturesOptions for getSuggestions().

This fixes null pointer exceptions that are caused when
getSuggestion() is called from spell checker.

Change-Id: Ifc9e7abb900e1a4646e33c91022effde439673e4
inaryDictionary.java
ictionary.java
ictionaryCollection.java
ictionaryWriter.java
xpandableBinaryDictionary.java
xpandableDictionary.java
atinIME.java
uggest.java
ynchronouslyLoadedContactsBinaryDictionary.java
ynchronouslyLoadedUserBinaryDictionary.java
ersonalization/DynamicPersonalizationDictionaryWriter.java
ettings/AdditionalFeaturesSettingUtils.java
ettings/NativeSuggestOptions.java
pellcheck/AndroidWordLevelSpellCheckerSession.java
pellcheck/DictionaryPool.java
c0f81463cb9e60df0289ac8012cbe632dcdfc487 28-Aug-2013 Tadashi G. Takaoka <takaoka@google.com> Merge "Add dummy Emoji subtype"
34cbcc1aed6655709766231395aaaed6e519642f 28-Aug-2013 Tadashi G. Takaoka <takaoka@google.com> Add dummy Emoji subtype

Bug: 6370846
Change-Id: I4fa3a6832fa316d0c6312d434be3c3ff02b52402
ubtypeSwitcher.java
tils/SubtypeLocaleUtils.java
f0c4575cf4128fb25bdf9eb844794e79ce01aa60 28-Aug-2013 Keisuke Kuroyanagi <ksk@google.com> Fix: Wrong file name for dynamic prediction dictionary.

Bug: 6669677
Change-Id: Id6f06a7423600d3f0604fab43d855826c20d0545
ersonalization/DynamicPredictionDictionaryBase.java
16ed1868a16455ef9f5485696309d518f80aea1c 27-Aug-2013 Tadashi G. Takaoka <takaoka@google.com> Fix build

Change-Id: I60a6ee4dff8203cd9a2ed8045df6a2d75e50c89d
uggestions/SuggestionStripLayoutHelper.java
08323cd597cd2c85eaf1ade9c98ee5fe9d8ecea2 27-Aug-2013 Tadashi G. Takaoka <takaoka@google.com> Add _gb to Gingerbread resources

Bug: 10415342
Change-Id: Id8caf5a972fe72b577dbf50dcd2cf739b2d35a32
uggestions/MoreSuggestionsView.java
78ab1bb661cedb8dcd90f1b2d410a0bd2486a9ba 26-Aug-2013 Keisuke Kuroyanagi <ksk@google.com> Merge "Make DynamicPred...Base extend ExpandableBinaryDictionary."
6e04d6593239e841f5dac0d3f32d613967c11e22 26-Aug-2013 Keisuke Kuroyanagi <ksk@google.com> Make DynamicPred...Base extend ExpandableBinaryDictionary.

Bug: 6669677
Change-Id: I06afad35d3eb73510c34d10cd4116f5bcf934f7c
xpandableBinaryDictionary.java
xpandableDictionary.java
atinIME.java
ersonalization/DynamicPersonalizationDictionaryWriter.java
ersonalization/DynamicPredictionDictionaryBase.java
ersonalization/PersonalizationDictionaryHelper.java
ersonalization/PersonalizationHelper.java
ersonalization/PersonalizationPredictionDictionary.java
ersonalization/UserHistoryDictionaryBigramList.java
ersonalization/UserHistoryPredictionDictionary.java
d5a3c593dba3475f5e72b1fbe53cee5ed17a7529 23-Aug-2013 Yuichiro Hanada <yhanada@google.com> Remove a broken dictionary file when fail to read a dictionary file.

Bug: 10434720
Change-Id: Ibdf05a39113538546b8fcf9d59af7dddf7ca27fc
akedict/BinaryDictDecoderUtils.java
akedict/Ver3DictDecoder.java
b50a7a4bc718f3611ac1e97a940d5a59b4b0133e 23-Aug-2013 Yuichiro Hanada <yhanada@google.com> Simplify computeActualNodeArraySize.

Change-Id: I128d02866c2cc70c42263496927327b8a2130139
akedict/BinaryDictEncoderUtils.java
2232a7080644f91932d92d37282a3a6be129217f 23-Aug-2013 Yuichiro Hanada <yhanada@google.com> Clean up unused imports.

Change-Id: I7147ca237b99399e79210852aa5bf5a01101d779
tils/DictionaryInfoUtils.java
752a33640c0160a2f836f716bf60e4991c07da1c 23-Aug-2013 Yuichiro Hanada <yhanada@google.com> [Refactor] Add DictDecoder.readUnigramsAndBigramsBinary.

Change-Id: I259db91d837c67cbcb3b6dc504b21dca23a6a5be
akedict/BinaryDictIOUtils.java
akedict/DictDecoder.java
akedict/Ver3DictDecoder.java
tils/UserHistoryDictIOUtils.java
bb5b84a82630bc2309c9ae866d43c7934768bb2e 23-Aug-2013 Yuichiro Hanada <yhanada@google.com> [Refactor] Add DictDecoder.getTerminalPosition.

Change-Id: I9d04f64a58f5481cbb64cf1c09b5c485dd4176b4
akedict/BinaryDictDecoderUtils.java
akedict/BinaryDictIOUtils.java
akedict/DictDecoder.java
akedict/DynamicBinaryDictIOUtils.java
akedict/Ver3DictDecoder.java
800225e0b19c8a368fe74f6b73b40a01340a0c0f 26-Aug-2013 Ken Wakasa <kwakasa@google.com> Merge "Rename CharGroup to PtNode."
576f625ee1b22e26baab46cc4ad3138e901383e2 22-Aug-2013 Yuichiro Hanada <yhanada@google.com> Rename CharGroup to PtNode.

Bug: 10233675
Change-Id: I7b0eb07d195cd386cd0d9e97cd59bf48fcf24107
akedict/BinaryDictDecoderUtils.java
akedict/BinaryDictEncoderUtils.java
akedict/BinaryDictIOUtils.java
akedict/CharGroupInfo.java
akedict/DictDecoder.java
akedict/DynamicBinaryDictIOUtils.java
akedict/FormatSpec.java
akedict/FusionDictionary.java
akedict/PtNodeInfo.java
akedict/Ver3DictDecoder.java
958f84320deeb2c16aea159e8b76930198ae546c 26-Aug-2013 Keisuke Kuroyanagi <ksk@google.com> Merge "Introduce DynamicDictionaryWriter for dynamic dictionary."
8f4d5d5f23fd45a88da1fc394475abe8b3e6f415 23-Aug-2013 Yuichiro Hanada <yhanada@google.com> Fix getDictionaryFileHeader.

Change-Id: I5186f41b0f38eb08f4154f7b3de7ffc2119fc44b
akedict/BinaryDictIOUtils.java
tils/DictionaryInfoUtils.java
87a72f50c23a4ef357ae623eabc2af16d02466ae 23-Aug-2013 Keisuke Kuroyanagi <ksk@google.com> Introduce DynamicDictionaryWriter for dynamic dictionary.

Bug: 6669677
Change-Id: Ifcbeb88b908f2301ac062b411a95c8b38d24b90e
xpandableBinaryDictionary.java
xpandableDictionary.java
ersonalization/DynamicPersonalizationDictionaryWriter.java
e9a10ff0f026b5ec458f116afc7a75806574cbcd 22-Aug-2013 Yuichiro Hanada <yhanada@google.com> Add DictDecoder.readDictionaryBinary.

Bug: 10434720
Change-Id: I14690a6e0f922ed1bab3a4b6c9a457ae84d4c1a4
inaryDictionaryGetter.java
akedict/BinaryDictDecoderUtils.java
akedict/BinaryDictIOUtils.java
akedict/DictDecoder.java
akedict/Ver3DictDecoder.java
ersonalization/DynamicPredictionDictionaryBase.java
d4528b88e132ce2f25e45455a073b81385fcbd81 22-Aug-2013 Satoshi Kataoka <satok@google.com> Refactor personalization dictionary

Bug: 9429906
Change-Id: I1fa4b045b21687e96de101a97e9593b0884d626f
ersonalization/PersonalizationDictionaryHelper.java
ersonalization/PersonalizationDictionaryUpdateSession.java
1b50a42b7c80f3cd355b818cf02e6e843a636deb 23-Aug-2013 Yuichiro Hanada <yhanada@google.com> Fix addWord.

Change-Id: Ib71dbd5954f44ca80733fa4b1048c829e1df138a
xpandableDictionary.java
4929f8516c2b3582805e25e69d2b0b5a71bae53f 22-Aug-2013 Ken Wakasa <kwakasa@google.com> Merge "Fix writePlacedNode."
aa4168ee09e8bff6d4a27041566fe79f71cdbcf5 22-Aug-2013 Yuichiro Hanada <yhanada@google.com> Fix writePlacedNode.

Change-Id: I1d6b086f1d9f0dbd8d74f964e29ae62c533af978
akedict/BinaryDictEncoderUtils.java
akedict/Ver3DictDecoder.java
366c0c5198f43279f4671a196556124f41297c0c 22-Aug-2013 Satoshi Kataoka <satok@google.com> Register personalization dictionary

Bug: 9429906
Change-Id: Ic754dd8da67446dfb1ebf44aa3d5ab0804298ca0
atinIME.java
uggest.java
ersonalization/DynamicPredictionDictionaryBase.java
ersonalization/PersonalizationDictionary.java
ersonalization/PersonalizationDictionaryHelper.java
ersonalization/PersonalizationDictionaryUpdateSession.java
e301085a70c9e5816fd98fb7d0fec3b2790b9359 21-Aug-2013 Yuichiro Hanada <yhanada@google.com> Move findWordByBinaryDictReader to BinaryDictIOUtilsTests.

Change-Id: I443238fd816dea9650dcbbeb3ea757f9674fa52f
akedict/BinaryDictEncoderUtils.java
akedict/BinaryDictIOUtils.java
ersonalization/DynamicPredictionDictionaryBase.java
tils/UserHistoryDictIOUtils.java
fef693ea983eb4aacd3d1830e5d7608ede8ad451 22-Aug-2013 Ken Wakasa <kwakasa@google.com> Merge "Add DictEncoder."
c922c8a504ab31aae26193f1bf319bf9f91406a5 20-Aug-2013 Yuichiro Hanada <yhanada@google.com> Add DictEncoder.

Change-Id: I41049b9118b58838e5dedf8e5618d939ca70c5ef
bstractDictionaryWriter.java
ictionaryWriter.java
akedict/DictEncoder.java
akedict/Ver3DictEncoder.java
a09e43ef6e5541162f6e1f789e86f7289a678b45 22-Aug-2013 Kurt Partridge <kep@google.com> Merge "Fix cursor state bug"
6c94a18a2847bfa0943c8154a459bd00dc961f2c 22-Aug-2013 Kurt Partridge <kep@google.com> Fix cursor state bug

InputConnection#finishComposingText() should not change the position of the cursor,
so neither should it change its internal expectation of the cursor's position.

Change-Id: Ib3d39a5743cd1e8e356f438b04a5c30279430b2a
ichInputConnection.java
f9233e0b98469a7e9e9a863d491a33593dba4bff 21-Aug-2013 Ken Wakasa <kwakasa@google.com> Merge "Make readPtNode be called with the address from the beginning of the file."
558e34c7bd8b146695ce1dbda6ed9933ddd19300 21-Aug-2013 Yuichiro Hanada <yhanada@google.com> Make readPtNode be called with the address from the beginning of the file.

Change-Id: I8939fdfb4f79e55bcd7393633784effb30df3f8f
akedict/BinaryDictDecoderUtils.java
akedict/BinaryDictIOUtils.java
akedict/DictDecoder.java
akedict/Ver3DictDecoder.java
17cc396972d6ba805ec31f8e4964de0e106f41fb 21-Aug-2013 Satoshi Kataoka <satok@google.com> Merge "Fix build"
b1552723ee3eac35eb66d492a516ad933997c2b3 21-Aug-2013 Satoshi Kataoka <satok@google.com> Fix build

Change-Id: I0c0be463552a37cecfb9a403e0723b1799fb8120
ersonalization/PersonalizationDictionarySessionRegister.java
f739807a3f4dc02ebbd219a2f88f03a593b39a7a 21-Aug-2013 Satoshi Kataoka <satok@google.com> Merge "Add onDestroy to PersonalizationDictionarySessionRegister"
a306e087536ea82c97deb4a022730e2cdf5d2c35 20-Aug-2013 Yuichiro Hanada <yhanada@google.com> Rename BinaryDictEncoder to BinaryDictEncoderUtils.

Change-Id: I4dabf17da7003b1d8204a83dbd10e5be6e8fd805
ictionaryWriter.java
akedict/BinaryDictEncoder.java
akedict/BinaryDictEncoderUtils.java
akedict/BinaryDictIOUtils.java
akedict/DynamicBinaryDictIOUtils.java
tils/UserHistoryDictIOUtils.java
107a5f6fb81a91a98fecd4c291aabb421e963291 20-Aug-2013 Yuichiro Hanada <yhanada@google.com> Add PtNodeReader.

Change-Id: Ic918822fc1b3a8a7c39ffbcf7defde2c5bf888db
akedict/BinaryDictDecoderUtils.java
akedict/BinaryDictIOUtils.java
akedict/DictDecoder.java
akedict/DynamicBinaryDictIOUtils.java
akedict/Ver3DictDecoder.java
3c8f22880f62cb76a91fee3b6965c561b12118c2 21-Aug-2013 Satoshi Kataoka <satok@google.com> Add onDestroy to PersonalizationDictionarySessionRegister

Bug: 9429906
Change-Id: Ibf8efd7302da2c27ac59e62b0393f1eec03dc136
atinIME.java
ersonalization/PersonalizationDictionarySessionRegister.java
77827e7b3bb0e76ef4d39eae01fd83fe3c4f06b2 21-Aug-2013 Jean Chalard <jchalard@google.com> Merge "Don't start composing on dash."
1f39d36458d09bfdfcf05ee0fcf7fc6116582099 20-Aug-2013 Tadashi G. Takaoka <takaoka@google.com> Remove unnecessary alpha attributes of SuggestionStripView

Change-Id: I78701403d7bd21928c4b459bb336a565f386ebcc
uggestions/SuggestionStripLayoutHelper.java
2448159ad4bf900c1aba10dbfe51dd5479d40e38 21-Aug-2013 Jean Chalard <jchalard@google.com> Don't start composing on dash.

Bug: 10403176
Change-Id: I9f969ab9b772dc5ba2015c494b4f98a8864277c4
atinIME.java
2c7a3e0405b71101e5f4ce85ef9697036782c860 20-Aug-2013 Jean Chalard <jchalard@google.com> Merge "[AC3] Start calling the methods for auto-commit."
c10d76f28c23fb068674699a63d563b3710b3cba 20-Aug-2013 Jean Chalard <jchalard@google.com> Merge "[AC2] Reference a dict rather than a string in suggestion infos"
3f15c41d88c1060642cec87f02c3cdfd5b4c1cb8 20-Aug-2013 Jean Chalard <jchalard@google.com> Merge "[AC1] Add a memory of where to cut the first word."
66a870cb538ab4a6da9b9e3134fcca79120c1c5f 20-Aug-2013 Jean Chalard <jchalard@google.com> [AC3] Start calling the methods for auto-commit.

Bug: 9059617
Change-Id: I190a4baf2fa831b70e00e129b5dfaa8c9c32b3a0
ictionary.java
atinIME.java
uggestedWords.java
e8ef09567077211da034a77b457fd5f87e70f6f0 20-Aug-2013 Jean Chalard <jchalard@google.com> [AC2] Reference a dict rather than a string in suggestion infos

Bug: 9059617
Change-Id: Ic17bc0fd5d812268fd37d7fd35b4e9ebfb95fa5e
inaryDictionary.java
ictionary.java
xpandableDictionary.java
atinIME.java
uggest.java
uggestedWords.java
ettings/SettingsValues.java
ef1e363016623ccf409c8c270f2c1e35a67734c9 19-Aug-2013 Jean Chalard <jchalard@google.com> [AC1] Add a memory of where to cut the first word.

Bug: 9059617
Change-Id: I931b6d1eb49f9f7dd7d5b18956e35751d1b2b631
inaryDictionary.java
xpandableDictionary.java
atinIME.java
uggest.java
uggestedWords.java
ettings/SettingsValues.java
33f5f0df8b458269177d8f984d1050c0a20001c2 20-Aug-2013 Satoshi Kataoka <satok@google.com> Merge "Add a functionality to boost scores of personalization dictionary"
d6ddb96ee887b75b02abb10fc64fe17fc83a6545 20-Aug-2013 Satoshi Kataoka <satok@google.com> Add a functionality to boost scores of personalization dictionary

Bug: 9429906
Change-Id: I1518c5cbc7d41188e7dc6a35d226da277ed5913f
atinIME.java
ettings/DebugSettings.java
ettings/Settings.java
ettings/SettingsValues.java
tils/UserHistoryForgettingCurveUtils.java
065aad9501ae446aee5d73450c01dc21b8f3242a 20-Aug-2013 Yuichiro Hanada <yhanada@google.com> Add DictDecoder.

Change-Id: Ia1c32f21fe07081ce04d093660e18146b93275a4
akedict/BinaryDictIOUtils.java
akedict/DictDecoder.java
akedict/Ver3DictDecoder.java
112257e40f6f6d914fac1c3a45f39a770693b386 20-Aug-2013 Yuichiro Hanada <yhanada@google.com> Rename BinaryDictDecoder to Ver3DictDecoder.

Change-Id: Ibf9b95b658df6e2c2218bdb62e2380f326a03832
inaryDictionaryGetter.java
akedict/BinaryDictDecoder.java
akedict/BinaryDictDecoderUtils.java
akedict/BinaryDictIOUtils.java
akedict/DynamicBinaryDictIOUtils.java
akedict/Ver3DictDecoder.java
ersonalization/DynamicPredictionDictionaryBase.java
tils/UserHistoryDictIOUtils.java
66004ce2de1579d8ae1fb3411ce98f1e9e37cf8b 20-Aug-2013 Yuichiro Hanada <yhanada@google.com> Remove populateOptions.

Change-Id: I1a1830aaa8ea586b68fc34ff3a27ae52b810e8af
inaryDictionaryGetter.java
akedict/BinaryDictDecoder.java
akedict/BinaryDictDecoderUtils.java
akedict/BinaryDictIOUtils.java
akedict/DynamicBinaryDictIOUtils.java
akedict/decoder/HeaderReader.java
22f01a42fcd91dae2a4e723e2477a480a11daa8e 19-Aug-2013 Satoshi Kataoka <satok@google.com> Add a functionality to clear and flush prediction dictionary

Bug: 9429906
Change-Id: I84ec444e9d46a0080dc3450b8ab32bfb99407cfe
ersonalization/DynamicPredictionDictionaryBase.java
ersonalization/PersonalizationDictionaryUpdateSession.java
77bce05e6f6e3a988253f9305ae22e51f56f5b1a 19-Aug-2013 Yuichiro Hanada <yhanada@google.com> [Refactor] Rename BinaryDictReader and BinaryDictDecoder.

BinaryDictReader -> BinaryDictDecoder.
BinaryDictDecoder -> BianryDictDecoderUtils.

Change-Id: Iadf2153b379b760538ecda488dda4f17225e5f37
inaryDictionaryGetter.java
akedict/BinaryDictDecoder.java
akedict/BinaryDictDecoderUtils.java
akedict/BinaryDictEncoder.java
akedict/BinaryDictIOUtils.java
akedict/BinaryDictReader.java
akedict/DynamicBinaryDictIOUtils.java
akedict/decoder/HeaderReader.java
akedict/decoder/HeaderReaderInterface.java
ersonalization/DynamicPredictionDictionaryBase.java
tils/ByteArrayDictBuffer.java
tils/ByteArrayWrapper.java
tils/UserHistoryDictIOUtils.java
c8fb03e6a8859f29a51ca6aefdd9a5be9101bd3f 19-Aug-2013 Tadashi G. Takaoka <takaoka@google.com> Merge "Save and restore Row attributes using stack"
bcd173dfa12ce3e47c047a7d8567a30d214c0449 19-Aug-2013 Tadashi G. Takaoka <takaoka@google.com> Save and restore Row attributes using stack

Change-Id: I5cb402060946a711384ee53fa1caaeac86aa10cc
tils/CollectionUtils.java
6484a4f8869d79992e899207a33f9377cf5fdb9b 19-Aug-2013 Satoshi Kataoka <satok@google.com> Consolidate onDictionaryClosed

Bug: 9429906
Change-Id: I51eef4c321cc268eac1c8dfd6561ab6e716a1fb0
ersonalization/PersonalizationDictionarySessionRegister.java
ersonalization/PersonalizationDictionaryUpdateSession.java
0e6fcf2bf6b8adda2cc3ae00eda843625d03d54c 16-Aug-2013 Satoshi Kataoka <satok@google.com> Rename Personalization dictionary register functions

Bug: 9429906
Change-Id: Ibdce8db61ab6cc5922765e7ed8b7f2c718759de8
ersonalization/PersonalizationDictionarySessionRegister.java
c8ac8da4e46ffb73c175d882af86d135084abe95 19-Aug-2013 Keisuke Kuroyanagi <ksk@google.com> Merge "Prepare ExpandableBinaryDictionary to make it updatable"
979f9f99394535c81a3b7eaa6f947a04d9ad7b3c 19-Aug-2013 Satoshi Kataoka <satok@google.com> Merge "Consolidate hex string utils"
3894a5599baf217f036ddfb9f4ac2ac0b4d7a2de 16-Aug-2013 Satoshi Kataoka <satok@google.com> Consolidate hex string utils

Change-Id: Id4f4a287e3a2790b22bff7ad4a4617bf2ee82884
tils/StringUtils.java
a83e25642f1eae1412d85ce72f27601edd0ac10d 19-Aug-2013 Ken Wakasa <kwakasa@google.com> Merge "Add HeaderReaderInterface."
d794b42f983a4f9563ef0334ed0b8f9cb44e084d 13-Aug-2013 Yuichiro Hanada <yhanada@google.com> Add HeaderReaderInterface.

Change-Id: I298f86b70d18cd08b240509b6f757c72e1a59ffe
akedict/BinaryDictDecoder.java
akedict/BinaryDictIOUtils.java
akedict/BinaryDictReader.java
akedict/DynamicBinaryDictIOUtils.java
akedict/decoder/HeaderReaderInterface.java
8aaae56cf6694ec75043be56f1c7812a343b24d5 19-Aug-2013 Yuichiro Hanada <yhanada@google.com> Fix unit test.

Change-Id: Ib104d5de71c2ab1a07921b407c74c21b0409d9af
xpandableBinaryDictionary.java
ersonalization/PersonalizationPredictionDictionary.java
ersonalization/UserHistoryPredictionDictionary.java
606a056b530c566f3397b8083f83288fe255bff8 16-Aug-2013 Ken Wakasa <kwakasa@google.com> Merge "Make BinaryDictIOUtils and DynamicBinaryIOUtils use BinaryDictReader."
3a73b37b30d922ea742dc69d676d66c1e8101140 13-Aug-2013 Yuichiro Hanada <yhanada@google.com> Make BinaryDictIOUtils and DynamicBinaryIOUtils use BinaryDictReader.

Change-Id: I191dfe0e05ff3c2c5af99e8beebbb73b097748a3
akedict/BinaryDictIOUtils.java
akedict/DynamicBinaryDictIOUtils.java
e32475611ce52671802ca8d2f9694bbb82c4b120 16-Aug-2013 Jean Chalard <jchalard@google.com> Merge "Support languages that don't use spaces."
c239a34262358e51aedb15f2e315bbe9bcd57c4b 15-Aug-2013 Jean Chalard <jchalard@google.com> Support languages that don't use spaces.

Thai is an example.

Bug: 10138062
Change-Id: Ib9a8264c77ed42b4256432d7c8a60d08575dcdc7
atinIME.java
ettings/Settings.java
ettings/SettingsValues.java
c2f2d0d211fe4c765cda7a770004d061ff2b7711 16-Aug-2013 Ken Wakasa <kwakasa@google.com> Merge "Limit the number of waiting UpdateBinaryTask to at most 1."
e72c4e5fc7531f23f5806efed91aafe5d1ba2d1f 16-Aug-2013 Yuichiro Hanada <yhanada@google.com> Remove a static buffer for thread safety.

Change-Id: I335c35eb182ff63abb8a5b04c053a98d44b7c6ce
akedict/BinaryDictDecoder.java
c8db6f21e936b819a0b818f44eae0d2bc44433c9 16-Aug-2013 Keisuke Kuroyanagi <ksk@google.com> Prepare ExpandableBinaryDictionary to make it updatable

Bug: 6669677

Change-Id: Iaa6100f58de78d104e19c7a3c41d67e7826264f9
bstractDictionaryWriter.java
ontactsBinaryDictionary.java
ictionaryWriter.java
xpandableBinaryDictionary.java
serBinaryDictionary.java
ersonalization/PersonalizationDictionary.java
0d70bcc821c22f7001b66f4c7b83842661b8391e 16-Aug-2013 Yuichiro Hanada <yhanada@google.com> Limit the number of waiting UpdateBinaryTask to at most 1.

Change-Id: Ia588d8f29ab58983ea5321ff8c63ad273c33eab3
ersonalization/DynamicPredictionDictionaryBase.java
ersonalization/UserHistoryPredictionDictionary.java
47bac6ebf237435faaf3913e353a6230e0299cb3 16-Aug-2013 Ken Wakasa <kwakasa@google.com> Merge "Remove unnecessary caching."
6e26cc3f5d7f3f7d2f2f28e53bc9986d6236df79 16-Aug-2013 Yuichiro Hanada <yhanada@google.com> Remove unnecessary caching.

Change-Id: Ic4ccab9d344b30b72fca1503827eec1c628fa4ac
akedict/BinaryDictDecoder.java
21dddb1462df8f32b40365dbb27930ae6c8113b8 16-Aug-2013 Jean Chalard <jchalard@google.com> Merge "Rename Node to PtNodeArray"
af30cbf0ee8370763edf22822ea34a282e882084 16-Aug-2013 Jean Chalard <jchalard@google.com> Rename Node to PtNodeArray

Bug: 10247660
Change-Id: I1a0ac19f58f96adb5efac5fd35c6404831618c99
ictionaryWriter.java
akedict/BinaryDictDecoder.java
akedict/BinaryDictEncoder.java
akedict/BinaryDictIOUtils.java
akedict/DynamicBinaryDictIOUtils.java
akedict/FormatSpec.java
akedict/FusionDictionary.java
tils/UserHistoryDictIOUtils.java
283cf9cfc9ea8aaf437849ca469f13f029de3ed5 16-Aug-2013 Satoshi Kataoka <satok@google.com> Add hex string utils

Bug: 9429906
Change-Id: I3267d1d86122ab471c3e63008c73e9f9b758fc8e
ersonalization/PersonalizationDictionaryUpdateSession.java
ettings/Settings.java
tils/StringUtils.java
33fce975c976424e923455e8f948f1ebe494a2cd 15-Aug-2013 Ken Wakasa <kwakasa@google.com> Merge "[Refactor] Divide BinaryDictInputOutput into BinaryDictEncoder and BinaryDictDecoder."
94460eba11019ec4658c42b4bcc0379d70f41770 15-Aug-2013 Yuichiro Hanada <yhanada@google.com> [Refactor] Divide BinaryDictInputOutput into BinaryDictEncoder and BinaryDictDecoder.

Change-Id: I7c3269d77e3e3b567e459dcaa1bc029903941744
inaryDictionaryGetter.java
ictionaryWriter.java
akedict/BinaryDictDecoder.java
akedict/BinaryDictEncoder.java
akedict/BinaryDictIOUtils.java
akedict/BinaryDictInputOutput.java
akedict/BinaryDictReader.java
akedict/DynamicBinaryDictIOUtils.java
tils/ByteArrayWrapper.java
tils/UserHistoryDictIOUtils.java
840e42d7f387d149b58ecea9b5960b7c875b5aa2 15-Aug-2013 Tadashi G. Takaoka <takaoka@google.com> Merge "Add getters and copy constructor to Key class"
7dc60f9db729e93cb591492574a436418c553ebf 12-Aug-2013 Tadashi G. Takaoka <takaoka@google.com> Add getters and copy constructor to Key class

Change-Id: I78eb96dcc26378926dc63acbfeb4828cbd44435d
ordComposer.java
e7870a2c0d817e6548eb00c80278b9f7b86c1a5b 11-Aug-2013 Jean Chalard <jchalard@google.com> Add an initial JNI interface to dicttool.

Bug: 10100269
Change-Id: I883992c2033e7d9e7c754c0bf653767728b221b6
akedict/BinaryDictInputOutput.java
dc83fe37baafe1afe5410499d58d80a29b7cb1da 15-Aug-2013 Ken Wakasa <kwakasa@google.com> Merge "Revert "[Refactor] Divide BinaryDictInputOutput into BinaryDictInputUtils and BinaryDictOutputUtils.""
117f18e844f83036f3523aa2e721894bac16739d 15-Aug-2013 Ken Wakasa <kwakasa@google.com> Revert "[Refactor] Divide BinaryDictInputOutput into BinaryDictInputUtils and BinaryDictOutputUtils."

This reverts commit 4c63d0614e7ed7aea4bcbab3a17090d841661d92.

Change-Id: I1fa277d720bab4d895259df7d6d82eebfa5eb6c5
inaryDictionaryGetter.java
ictionaryWriter.java
akedict/BinaryDictIOUtils.java
akedict/BinaryDictInputOutput.java
akedict/BinaryDictInputUtils.java
akedict/BinaryDictOutputUtils.java
akedict/BinaryDictReader.java
akedict/DynamicBinaryDictIOUtils.java
tils/ByteArrayWrapper.java
tils/UserHistoryDictIOUtils.java
f74ddfbb06dbdd74fefee49bd63f2c1b9f61ad13 15-Aug-2013 Ken Wakasa <kwakasa@google.com> Merge "[Refactor] Divide BinaryDictInputOutput into BinaryDictInputUtils and BinaryDictOutputUtils."
4c63d0614e7ed7aea4bcbab3a17090d841661d92 14-Aug-2013 Yuichiro Hanada <yhanada@google.com> [Refactor] Divide BinaryDictInputOutput into BinaryDictInputUtils and BinaryDictOutputUtils.

Change-Id: I0d476abe763c11ba9005152f928e8dccf15ac9de
inaryDictionaryGetter.java
ictionaryWriter.java
akedict/BinaryDictIOUtils.java
akedict/BinaryDictInputOutput.java
akedict/BinaryDictInputUtils.java
akedict/BinaryDictOutputUtils.java
akedict/BinaryDictReader.java
akedict/DynamicBinaryDictIOUtils.java
tils/ByteArrayWrapper.java
tils/UserHistoryDictIOUtils.java
a38a15ddc0aa314578828de29bba51cfcf39c8de 15-Aug-2013 Satoshi Kataoka <satok@google.com> Merge "tiny refactor"
1aae34873c28d9aaecedc607dc22b69de41edced 15-Aug-2013 Satoshi Kataoka <satok@google.com> tiny refactor

Change-Id: I776432b6c41cf8dee71fbd1565a6f3da9d762f9e
ersonalization/UserHistoryDictionaryBigramList.java
1db93c9c0420d7d944e0ddef95d25de0738c3030 14-Aug-2013 Yuichiro Hanada <yhanada@google.com> [Refactor] Move some helper methods to BinaryDictIOUtils.

Change-Id: Ib817a975dc1f82241f732b236c44b042fda25b3c
akedict/BinaryDictIOUtils.java
akedict/BinaryDictInputOutput.java
akedict/DynamicBinaryDictIOUtils.java
be4d38e61fe96409764405af66cade5a609d6e1d 14-Aug-2013 Satoshi Kataoka <satok@google.com> Merge "Fix test breakage"
2b39fab829ec93f7764d178167ac8d67e6e36491 14-Aug-2013 Satoshi Kataoka <satok@google.com> Fix test breakage

Change-Id: I10bd8fcc68711a039e000f715d7a65ae42095965
tils/StringUtils.java
5654a1f21e3858969d56d81ed82768bd3e99bcb5 14-Aug-2013 Satoshi Kataoka <satok@google.com> Merge "Fix a debug functionality for the personalization prediction"
8e398e21477d5526ab2892d8ea431a6295f8e2d7 14-Aug-2013 Ken Wakasa <kwakasa@google.com> Merge "Move some methods in BinaryDictIOUtils to DynamicBinaryDictIOUtils."
d09ad2e3683a25a4fb461dfcf3e6f4d92a5822dd 14-Aug-2013 Satoshi Kataoka <satok@google.com> Fix a debug functionality for the personalization prediction

Bug: 9429906

Change-Id: I10d39e1f8758dcb64c9c0111d516e3abfe81b04e
uggest.java
3edb62c69b76fb4619bd45cc4df49ee90664ce7b 14-Aug-2013 Yuichiro Hanada <yhanada@google.com> Move some methods in BinaryDictIOUtils to DynamicBinaryDictIOUtils.

Change-Id: I9ba55582c533fef0eb3e60c46bf23c8b16ee1ff4
akedict/BinaryDictIOUtils.java
akedict/DynamicBinaryDictIOUtils.java
92038bcacd5210c667e67f7046a6675e085868b6 14-Aug-2013 Satoshi Kataoka <satok@google.com> Merge "Add a method to import one bigram and string utilities"
f795f2b7899fc62d8e96ac064265bf3d44b25704 14-Aug-2013 Ken Wakasa <kwakasa@google.com> Merge "Add FusionDictionaryBufferFromWritableByteBufferFactory."
0766f13391b9b442ba6cdc7c28fabca83a2756db 14-Aug-2013 Ken Wakasa <kwakasa@google.com> Merge "Move some constants in BinaryDictInputOutput to FormatSpec."
665592774c1d5ec90abbe772d4303fe8d8fe8089 14-Aug-2013 Yuichiro Hanada <yhanada@google.com> Move some constants in BinaryDictInputOutput to FormatSpec.

Change-Id: I6b12faf35b65238b9a64c82d4d1a6050f980e72e
akedict/BinaryDictIOUtils.java
akedict/BinaryDictInputOutput.java
akedict/FormatSpec.java
bdef628a35222d7894c5f5916f94e6c3a8ef89bb 14-Aug-2013 Tadashi G. Takaoka <takaoka@google.com> Merge "Add empty key background type"
ed5582ec651ffc106c8fba64d138adbec359c63e 14-Aug-2013 Tadashi G. Takaoka <takaoka@google.com> Merge "Thin out audio and haptic feedback while key repeat"
4ee953125af53d8b49e958e50f0002f002776d36 14-Aug-2013 Satoshi Kataoka <satok@google.com> Add a method to import one bigram and string utilities

Bug: 9429906
Change-Id: I73bbf65985196d62470552c576bb076a7cb95008
ersonalization/PersonalizationDictionaryUpdateSession.java
tils/StringUtils.java
5fd8b7ebd5c75e64a1288cb4b697ecaf7161b93c 14-Aug-2013 Jean Chalard <jchalard@google.com> Merge "Add looksValidForDictionaryInsertion"
af5fbe70ac9eff6979f444c3d938d28a0ec76ebd 14-Aug-2013 Jean Chalard <jchalard@google.com> Add looksValidForDictionaryInsertion

...and test it.

Also at the same time, add a facility to create a SettingsValues for
test, and some minor performance improvement to surrounding
methods.

Change-Id: I13b629ae14755c244af2a9406a7e9b4a4a16090f
atinIME.java
ettings/SettingsValues.java
tils/StringUtils.java
ab16237e69061bb0aa7f882e48e5d93459c22ef3 12-Aug-2013 Tadashi G. Takaoka <takaoka@google.com> Thin out audio and haptic feedback while key repeat

Bug: 6522943
Change-Id: Id60f256ab0f8741578eda276116817fa48917325
udioAndHapticFeedbackManager.java
atinIME.java
uggestions/SuggestionStripView.java
fdfc8ad2d09d3b475df22ba22fca8593a63ae9f5 14-Aug-2013 Jean Chalard <jchalard@google.com> Merge "Re-evaluate auto-caps earlier."
e18439d5c78efa14b2861f6bd4a38285388655e4 14-Aug-2013 Tadashi G. Takaoka <takaoka@google.com> Add empty key background type

Change-Id: I9b07c58a9b70ae0228f87e1f066ca8cd959b4f03
uggestions/MoreSuggestions.java
4bc74d19ef72a919e09611e7d7b0d2d3d9e00a30 14-Aug-2013 Jean Chalard <jchalard@google.com> Merge "Delete surrogate together."
b2d954cad6d4be0f66c7764dbb1ae095107dcbac 14-Aug-2013 Jean Chalard <jchalard@google.com> Delete surrogate together.

Stop deleting them one after the other, it makes no sense. We
can know in advance if we should delete two of them, so let's
use that.

Bug: 6526420
Change-Id: Ifa2263cbde8fedc78bb750b84d4acd3f979774ea
atinIME.java
b7e782d8689c4071388cff073bbc9ae9309ba312 14-Aug-2013 Jean Chalard <jchalard@google.com> Re-evaluate auto-caps earlier.

We have all we know to re-evaluate auto-caps in this case.
We don't need to wait until we get the callback from TextView.

Bug: 10287972
Change-Id: I87e4e26cd193a001f91fe852ffc5a8f728db2449
atinIME.java
1162c0537d48fcec6dd5dc02594a16d24b4d1008 14-Aug-2013 Jean Chalard <jchalard@google.com> Merge "Remove dead code"
bbc8a930f706d16e45dce2376ea388a0fd74bb7a 13-Aug-2013 Yuichiro Hanada <yhanada@google.com> Add FusionDictionaryBufferFromWritableByteBufferFactory.

Change-Id: I23de0a178e7f11f2cf301fd433cde60c6152055b
akedict/BinaryDictReader.java
d81b9d0276a428fea3ae34dc2881eb649938b0e3 14-Aug-2013 Jean Chalard <jchalard@google.com> Remove dead code

isComposingWord() is actually defined as size > 0, so this test
can never be false.

Change-Id: If71afae6f0b16bff46178f0fae3244597354fecb
atinIME.java
e18fdf804acdc7cd8db19c2a03adecc44d71f1ef 14-Aug-2013 Jean Chalard <jchalard@google.com> Merge "Fix a bug with surrogate pairs"
a74ae9c451a057e7580737df328d5a972fee17af 14-Aug-2013 Jean Chalard <jchalard@google.com> Fix a bug with surrogate pairs

Bug: 10316781
Change-Id: I528c59c8823cda11975cb01b0ae59f12cfadef3b
atinIME.java
ae59ce026213cd9c92f8202ccb2a337e6495119d 13-Aug-2013 Ken Wakasa <kwakasa@google.com> Merge "Remove audio and haptic feedback while key repeating"
3feacba1eb43fb906f50581df19ff2e468642ca8 12-Aug-2013 Yuichiro Hanada <yhanada@google.com> Add BinaryDictReader.

Bug: 9618601

Change-Id: Ief07fa0c3c4f7f5999a3fafcef4e47b6b6fd8143
akedict/BinaryDictIOUtils.java
akedict/BinaryDictInputOutput.java
akedict/BinaryDictReader.java
ersonalization/DynamicPredictionDictionaryBase.java
tils/UserHistoryDictIOUtils.java
7242bf1a159b909db8a7c74e786e2391a4361d85 13-Aug-2013 Ken Wakasa <kwakasa@google.com> Merge "Make readHeader check the header size before using it."
b7bb9c97224f34253e9bcefa1f1a6b2fdb776bbe 13-Aug-2013 Yuichiro Hanada <yhanada@google.com> Make readHeader check the header size before using it.

Change-Id: I5dc3e2b674f7343ef57317fde6bdb7349a7fe04c
akedict/BinaryDictInputOutput.java
d1d607287de4d0060a862aa19cb128b7c256767c 13-Aug-2013 Tadashi G. Takaoka <takaoka@google.com> Remove audio and haptic feedback while key repeating

Bug: 6522943
Change-Id: Iad1b11172e47bfbae2b4129361a56b9d793f8f62
atinIME.java
310f8a0f066aa75f6e75d33f01d0ac27b1986813 13-Aug-2013 Satoshi Kataoka <satok@google.com> Call onDictionaryReady

Bug: 9429906

Change-Id: Ifc538b38b7d37469aecccd32a7e3f95a90558be7
ersonalization/DynamicPredictionDictionaryBase.java
1b7c1cd513c53e1d1f07a328405c71509a0ecb6c 12-Aug-2013 Satoshi Kataoka <satok@google.com> Merge "Add PersionalizationDictionaryRegister"
8c4fcb108fb0da7544edf32ccafd7eb8a0178200 11-Aug-2013 Satoshi Kataoka <satok@google.com> Add PersionalizationDictionaryRegister

Bug: 9429906
Change-Id: Ibd4d5cedb371c0b4ee1342a3e6d221c9e34c2402
atinIME.java
ersonalization/DynamicPredictionDictionaryBase.java
ersonalization/PersonalizationDictionaryHelper.java
ersonalization/PersonalizationDictionarySessionRegister.java
ersonalization/PersonalizationDictionaryUpdateSession.java
66a63db2d5c1613bdaa106f0c2830972e39f9f4e 12-Aug-2013 Ken Wakasa <kwakasa@google.com> Merge "Rationalize how to use AdditionalFeaturesSettingUtils"
4a2f6a22167e336d2d21c51280de4e876b4a8f06 10-Aug-2013 Ken Wakasa <kwakasa@google.com> am 25402fd5: am 724db044: Deallocate gesture trail bitmap when unneeded further

* commit '25402fd5309891884a843528d47f6b4646341a3f':
Deallocate gesture trail bitmap when unneeded further
02938c6baf21a6e34a7bb4b3e814d9c830bf7c7d 09-Aug-2013 Ken Wakasa <kwakasa@google.com> Rationalize how to use AdditionalFeaturesSettingUtils

It should be called regardless of the gesture input being enabled or not

Change-Id: I223a823ef18389227fc04d000cc7bf750797ba31
ettings/SettingsFragment.java
724db044957eb3544323c9814cbb4f20e81b8594 09-Aug-2013 Ken Wakasa <kwakasa@google.com> Deallocate gesture trail bitmap when unneeded further

Follow up to I5bc980c4dc41bc304be3c190934c1f7c55c9d244

bug: 8967766
Change-Id: I7b916daa5269cfde359a77555e8ffadf0e4a8f92
atinIME.java
ettings/SettingsValues.java
2dfcfc5013eee2fbd19a5830ff70943bd6c1bee2 08-Aug-2013 Tadashi G. Takaoka <takaoka@google.com> Remove key preview backing view

This change re-origanizes view hierarchy of IME's input view.

Change-Id: I9d0a07692d0f41de3345d207366393bcd5424f7e
atinIME.java
uggestions/SuggestionStripLayoutHelper.java
uggestions/SuggestionStripView.java
cfcf6660fc369fefd4028451334a9c2eda9bc4e5 09-Aug-2013 Ken Wakasa <kwakasa@google.com> Reinstate a call to UsabilityStudyLogUtils#writeChar()

The usability study mode has been broken.

bug: 10251399
Change-Id: Iaa301241f102f412fa073f0d8b897a4c8b265a9c
tils/UserLogRingCharBuffer.java
7ec9db2c34ee6bec2cbff6cf05cee9bf3c2f7122 08-Aug-2013 Yuichiro Hanada <yhanada@google.com> Remove the code and comments about version 1 format.

Change-Id: I827052f234eeaa4dbcfd37da69a99866896a158b
inaryDictionaryGetter.java
akedict/BinaryDictInputOutput.java
akedict/FormatSpec.java
5c057b32414fab5f5d8267f8fc8b4230b54d4cca 08-Aug-2013 Satoshi Kataoka <satok@google.com> Merge "Fix unit tests."
7d1ae52ded0deca6b2674df0273ec852ad36319f 08-Aug-2013 Yuichiro Hanada <yhanada@google.com> Fix unit tests.

Change-Id: Ic0013089625e112aaccc888d462330640ef7cc6f
akedict/FormatSpec.java
96b444d4292f0834c94b8d56ae124a6d6a947bd3 08-Aug-2013 Tadashi G. Takaoka <takaoka@google.com> Merge "Remove processMotionEvent from MoreKeysKeyboardView"
1181c5acbc6bd8834551d8fadca55d41c886a6d8 08-Aug-2013 Satoshi Kataoka <satok@google.com> Merge "Fix to follow the field naming conventions."
33482a9b9ccf605c63fab7c9b8273a240bbc2035 01-Aug-2013 Tadashi G. Takaoka <takaoka@google.com> Remove processMotionEvent from MoreKeysKeyboardView

Change-Id: I5373df4a7c82f964f99acf70325bba8702111a75
uggestions/SuggestionStripView.java
b6d48c4c0b464b88d25f05b1735cee55a657217e 08-Aug-2013 Keisuke Kuroyanagi <ksk@google.com> Make user and contacts dict use ver3 format.

Bug: 6669677
Change-Id: I6a20eed2c8afdd1c16ada5bf85067864c7cd2a7f
ictionaryWriter.java
71ffcc63326305fcd315a139cc0093019a641091 08-Aug-2013 Yuichiro Hanada <yhanada@google.com> Fix to follow the field naming conventions.

Change-Id: I9b41b5f34e93a3f291a352cd85c5ac257beaa9ab
ersonalization/DynamicPredictionDictionaryBase.java
4456d1a8c18a4c674c8394570550f2977f5f117b 08-Aug-2013 Jean Chalard <jchalard@google.com> Merge "Have double-space-to-period cancel leave a single space"
522d13c302e360cd4984b9164a9fc81bdc64feac 07-Aug-2013 Jean Chalard <jchalard@google.com> Have double-space-to-period cancel leave a single space

Bug: 8911898
Change-Id: Ifb4bb63c14dc960d0a53f1511908830093cca012
ichInputConnection.java
083a40b291dbd4d63aabbcb4a1dc1ca27bb46863 07-Aug-2013 Tadashi G. Takaoka <takaoka@google.com> Merge "Move createKeyboardSetForSpellChecker to AndroidSpellCheckService"
15b80c4ec264d8fcc457988bc695453093e6f577 07-Aug-2013 Tadashi G. Takaoka <takaoka@google.com> Merge "Add ResouceUtils.getDefaultKeyboardHeight"
204e7b140171a0a8b954cf508da139e93c3b2b2c 07-Aug-2013 Tadashi G. Takaoka <takaoka@google.com> Move createKeyboardSetForSpellChecker to AndroidSpellCheckService

Change-Id: I4a9065e703e98ffed50f2a6d76ace938dfc26ddf
pellcheck/AndroidSpellCheckerService.java
3897a43940eca9c400e542c76d2c790f2c48eb8c 07-Aug-2013 Tadashi G. Takaoka <takaoka@google.com> Add ResouceUtils.getDefaultKeyboardHeight

Change-Id: I377f6a83ec86b0345b170e7ad995d4577220d0ad
tils/ResourceUtils.java
c05b3b56cc6af7ae33983792b8601c869d2ff4aa 07-Aug-2013 Satoshi Kataoka <satok@google.com> Merge "Add a session for the personalization dictionary"
80aa7197b47a693ecd75910479970d3279041164 05-Aug-2013 Satoshi Kataoka <satok@google.com> Add a session for the personalization dictionary

Bug: 9429906
Bug: 4192129

Change-Id: I361ab380edeee5a8a8b364df3f9f4ab202b79105
atinIME.java
ersonalization/DynamicPredictionDictionaryBase.java
ersonalization/PersonalizationDictionary.java
ersonalization/PersonalizationDictionaryHelper.java
ersonalization/PersonalizationDictionaryUpdateListener.java
ersonalization/PersonalizationDictionaryUpdateSession.java
8ba8798290388ed740f0ca4f01e74b11847b6d44 06-Aug-2013 Tadashi G. Takaoka <takaoka@google.com> Merge "Consolidate forwardTouchEvent with dispatchTouchEvent"
cc38bfb5d3bc48fae1a789d35441e96fd3d0d63c 06-Aug-2013 Tadashi G. Takaoka <takaoka@google.com> Merge "Add emoji icon and code as a groundwork"
b127d882854d81a47473b344a1e5f277866bbf22 05-Aug-2013 Tadashi G. Takaoka <takaoka@google.com> Add emoji icon and code as a groundwork

The emoji switching key icon asset should be updated. The icons in
this change are just borrowed from Hangout.

Bug: 10179862
Bug: 6370846
Change-Id: Icea26d2cf2ac6a6df9beb4c98f646dbe309bdcd9
onstants.java
atinIME.java
88f840d2a2a3b30cd65f10d9bc38902d8423da93 06-Aug-2013 Tadashi G. Takaoka <takaoka@google.com> Consolidate forwardTouchEvent with dispatchTouchEvent

Change-Id: Ib73962acff72be0a78a3565028572ad694fb8501
nputView.java
52d220e71b2840b35d143afd248fe33e2cfebe91 06-Aug-2013 Tadashi G. Takaoka <takaoka@google.com> Remove unnecessary suggestion strip container

Change-Id: I3710e1fe1574c0f69f7f448619e939fb45e9b8d3
nputView.java
atinIME.java
c0a732f0320b0d125610adf23d14d742860b5fd3 05-Aug-2013 Tadashi G. Takaoka <takaoka@google.com> Remove CODE_RESEARCH

Instead of CODE_RESEARCH, special outputText ".research." is used to
invoke a research feedback dialog.

Change-Id: Ic95c956ab4f2b5f0c3f2205c9bbcdcfb67db5d6e
onstants.java
atinIME.java
28a148681ee754cdbc7767c7af3450c747bc855f 05-Aug-2013 Tadashi G. Takaoka <takaoka@google.com> Small cleanup

Change-Id: I7dce7373b371f1ed5a985815f5d43fb6c6ee1f84
onstants.java
atinIME.java
33592d1bee77f25321d6912f5f9f5fdd9e495885 02-Aug-2013 Satoshi Kataoka <satok@google.com> Merge "Add a debug preference for using only personalization dictionary"
ba2f4f84cab1e5910968b93e26f1c2f08c8642b3 02-Aug-2013 Jean Chalard <jchalard@google.com> Merge "Fix a concurrency bug."
10d66669c7e794f45427ea2aaccc3c6c3915df91 02-Aug-2013 Jean Chalard <jchalard@google.com> Fix a concurrency bug.

This probably only ever happens in tests, but still, that's
the right thing to do.

Bug: 10139031
Change-Id: I259be9e7306162e19faf738a093a77762f2e7675
ettings/Settings.java
d7491e6e817e8954d15aa91300d209fb7e8bf384 02-Aug-2013 Satoshi Kataoka <satok@google.com> Add a debug preference for using only personalization dictionary

Bug: 9429906
Change-Id: I2003060c7065e736d42f3b3303fbba549358dd18
uggest.java
ettings/DebugSettings.java
ettings/Settings.java
60586b57cf4ca4af16cf9a9261aaba9490f128bc 01-Aug-2013 Satoshi Kataoka <satok@google.com> Connect the personalization dictionary

Bug: 9429906
Bug: 4192129
Change-Id: I9c9f3ed7699f74339ad92be6dcddb8a52c377545
atinIME.java
uggest.java
ersonalization/PersonalizationDictionaryHelper.java
552a4b84f87452f2df6a3b85bcb6ef33547f70ca 31-Jul-2013 Tadashi G. Takaoka <takaoka@google.com> Merge "Add UsabilityStudyLogUtils.writeMotionEvent"
567e7f05c131505c24dcad1ea04be09a59512c02 31-Jul-2013 Satoshi Kataoka <satok@google.com> Add the personalization prediction dictionary

Bug: 9429906
Bug: 4192129
Change-Id: I0663de025405b2c92eebd528339b82baec97e2ce
ersonalization/PersonalizationPredictionDictionary.java
853d0fd122ab8fd06ee50217d5f7ff960614a144 31-Jul-2013 Satoshi Kataoka <satok@google.com> Refactor the personalization dictionary

Bug: 9429906
Bug: 4192129
Change-Id: I9f094bc5a6ce4652e310e090f1536e43f1f24ad1
ersonalization/DynamicPredictionDictionaryBase.java
ersonalization/PersonalizationPredictionDictionary.java
ersonalization/UserHistoryPredictionDictionary.java
883bd364eb7905af94c470540950f055094f0d87 31-Jul-2013 Ken Wakasa <kwakasa@google.com> Merge "Deallocate gesture trail bitmap when unneeded"
c8814e20b7b0ed5f7e11292480e89152618dd862 30-Jul-2013 Ken Wakasa <kwakasa@google.com> Deallocate gesture trail bitmap when unneeded

This frees up 1.7MB on Nexus 4 (occam), and 900KB on occam_svelte while
LatinIME goes to background.
The keyboard bring-up speed feels acceptable on both devices.

bug: 8967766
Change-Id: I5bc980c4dc41bc304be3c190934c1f7c55c9d244
atinIME.java
3b1eb886582a6bfab63cee24323f0b139d70087f 31-Jul-2013 Satoshi Kataoka <satok@google.com> Merge "Refactor the user history dictionary"
1439130442f099ebc898856cb8e505e8b5ae976e 31-Jul-2013 Satoshi Kataoka <satok@google.com> Refactor the user history dictionary

Bug: 9429906
Bug: 4192129

Change-Id: If53bc3220627802d82ab7c396d0aabdb658573fa
ersonalization/PersonalizationPredictionDictionary.java
ersonalization/UserHistoryPredictionDictionary.java
30977a151e15e30f5385a349e92fb770b987435f 31-Jul-2013 Tadashi G. Takaoka <takaoka@google.com> Add UsabilityStudyLogUtils.writeMotionEvent

Change-Id: I41ee6d1879dc937e1554fedfc603d9bb5bec40f2
tils/UsabilityStudyLogUtils.java
2d7e92735478115330be21b4fe250eea6e2f71b8 30-Jul-2013 Jean Chalard <jchalard@google.com> Fix inconsistencies with mSuggest.

This should fix some NPEs, but they are so unlikely that we never
see them.

Bug: 10065412
Change-Id: I2aefea1f52024405cc3fda9106fea41a02aaf4d8
atinIME.java
87d06afc66db68f0b30b36593095511314793517 31-Jul-2013 Satoshi Kataoka <satok@google.com> Refactor on the user history dictionary

Bug: 9429906
Bug: 4192129
Change-Id: I1a2bfe96e18119d30a72290aa48746f77a021018
atinIME.java
uggest.java
ersonalization/PersonalizationDictionaryHelper.java
ersonalization/PersonalizationDictionaryUpdateListener.java
ersonalization/PersonalizationPredictionDictionary.java
ersonalization/UserHistoryDictionary.java
ersonalization/UserHistoryDictionaryBigramList.java
ersonalization/UserHistoryPredictionDictionary.java
8d46ea915645361856a0b3df3db1c83888cb39ff 31-Jul-2013 Jean Chalard <jchalard@google.com> Merge "Fix some warnings"
7d654d8cae47f50127021918c24201bb1f0e9a06 31-Jul-2013 Jean Chalard <jchalard@google.com> Merge "Fix inconsistency with mutable settings."
561c4474046a665b5b4b06a2a09d31db92c39aab 31-Jul-2013 Jean Chalard <jchalard@google.com> Merge "Fix a problem where settings were not renewed correctly."
93445b4821e9e8ecc7dd52f1a5d5316c7eec2654 30-Jul-2013 Jean Chalard <jchalard@google.com> Fix some warnings

Change-Id: I7290cd1fb675a1b85b9b6ac2d464c932b5bca1dd
inaryDictionaryGetter.java
akedict/BinaryDictIOUtils.java
akedict/FusionDictionary.java
ersonalization/PersonalizationDicitonary.java
ersonalization/PersonalizationDictionary.java
ersonalization/PersonalizationPredictionDicitonary.java
ersonalization/PersonalizationPredictionDictionary.java
ettings/DebugSettings.java
ettings/SettingsValues.java
serdictionary/UserDictionaryAddWordFragment.java
tils/CsvUtils.java
tils/UsabilityStudyLogUtils.java
f8c1aefd90fced4edec4eaa8d4a9ded0edc5ccf3 31-Jul-2013 Jean Chalard <jchalard@google.com> Merge "Clarify the expected cursor position in RichInputConnection."
aa108f1d7fbc8a2f92860a58b759c98ed5b804cf 30-Jul-2013 Jean Chalard <jchalard@google.com> Clarify the expected cursor position in RichInputConnection.

Change-Id: I4d36a23567415c3a293a588b51b46006256c148f
ichInputConnection.java
323a7aae6c23cbaf7a2827a6bad2234bc084f0ce 30-Jul-2013 Satoshi Kataoka <satok@google.com> Merge "Fix the title of the personal dictionary settings"
8befd36c6528bc4264c8a1a322673c307cf40cd1 30-Jul-2013 Satoshi Kataoka <satok@google.com> Fix the title of the personal dictionary settings

Bug: 8976598
Change-Id: I9e07ff9e06449e2093b9ba8d6f28a030c69756bc
serdictionary/UserDictionaryAddWordContents.java
serdictionary/UserDictionaryAddWordFragment.java
c5c226c4243509c67af84d89e50013eaa3cc6033 29-Jul-2013 Jean Chalard <jchalard@google.com> Fix inconsistency with mutable settings.

Change-Id: I0550044199273cecb6f5713aa2e43ae16319cd47
atinIME.java
ettings/Settings.java
ettings/SettingsValues.java
74bcc911ea477415edc19eca829dbba9ab1b2464 29-Jul-2013 Jean Chalard <jchalard@google.com> Fix a problem where settings were not renewed correctly.

Bug: 10065412
Change-Id: Id05284f45466cd5b2697a695c3d1bdfbf3cc1f24
atinIME.java
ab2d273133a8fe2e1e0a66952d74127629394a4c 30-Jul-2013 Satoshi Kataoka <satok@google.com> Merge "Fix the displayed name of the personal dictionary"
5123427532c1f219be0f333cfeb822c95eabc039 29-Jul-2013 Satoshi Kataoka <satok@google.com> Fix the displayed name of the personal dictionary

Bug: 8976598
Change-Id: I11dd73c8c23b05288c5f417352dc4cc99d489b95
serdictionary/UserDictionarySettings.java
serdictionary/UserDictionarySettingsUtils.java
b60e65a0cce9f20ee5e633921732785f99fffd2e 29-Jul-2013 Ken Wakasa <kwakasa@google.com> Rename a variable for SettingsValues

Change-Id: Icb4155532ea8724791c9194e8dc75ce32b6e8b16
atinIME.java
d9f0c1e02065d457dc004fc26054fa75432e6661 29-Jul-2013 Jean Chalard <jchalard@google.com> Merge "Fix an NPE"
5408fec63a52015af9eefe3042eb1c435912195b 29-Jul-2013 Jean Chalard <jchalard@google.com> Fix an NPE

Also make mSuggest private for more security.

Bug: 10045657
Change-Id: I712505e4d2a2606efff5d09ba9b4c656f9e7c7a9
atinIME.java
fb9f448b8d3ffc3b7d573e340772c38a77523ac4 29-Jul-2013 Satoshi Kataoka <satok@google.com> Merge "Add personalization dictionary helper"
d45e4b6e5bf8d9a7edf95e400b2ce6e7b49b41e1 26-Jul-2013 Satoshi Kataoka <satok@google.com> Add personalization dictionary helper

Bug: 9429906
Bug: 4192129

Change-Id: Ic618b0b09a54ed46b20633bd4c1c570d4ac775af
atinIME.java
ersonalization/PersonalizationDictionaryHelper.java
ersonalization/UserHistoryDictionary.java
654b0a9c16b133019d5c68548d799a44164e7724 26-Jul-2013 Jean Chalard <jchalard@google.com> Merge "Small optimization"
e7903101eaa72f54c78887f09bdb385ce526f1ac 26-Jul-2013 Jean Chalard <jchalard@google.com> Merge "Use cached data for getTextBeforeCursor."
0a064a5d88c5cdc03f8ef13a2f7b6b506b9cbdfa 26-Jul-2013 Jean Chalard <jchalard@google.com> Small optimization

Bug: 8864306
Change-Id: Ic8eecd64eff6a1150a90b9f5ec9ebbc5f1d2a6a9
ichInputConnection.java
8c6537edbd9e80b2d7169ecd31b1f0efbd1f9f20 26-Jul-2013 Jean Chalard <jchalard@google.com> Use cached data for getTextBeforeCursor.

Bug: 8864306
Change-Id: Ia146f711f1de4336d7e3363208ab92eba856f5e1
ichInputConnection.java
2a8c75fc4313b44f3fde50ab964bc59c2227b174 26-Jul-2013 Satoshi Kataoka <satok@google.com> Merge "Add a place holder of the personalization dictionary"
5c15b8f442c726f54d4b1b297d74292549e23100 26-Jul-2013 Satoshi Kataoka <satok@google.com> Add a place holder of the personalization dictionary

Bug: 9429906
Bug: 4192129

Change-Id: Ieacd0559e0bf286c5933e9dba716289303f533d6
ictionary.java
ersonalization/PersonalizationDicitonary.java
ersonalization/PersonalizationDictionaryUpdateListener.java
ersonalization/PersonalizationPredictionDicitonary.java
ersonalization/UserHistoryDictionary.java
38e9802690bbb96a00762ce5d172c5a37716fe1d 26-Jul-2013 Jean Chalard <jchalard@google.com> Merge "Revert "Very simple refactoring""
c6a07e16a5801189aabfe6a2efabb61914763204 26-Jul-2013 Jean Chalard <jchalard@google.com> Revert "Very simple refactoring"

This reverts commit f712dc9a4f17ee4a6916b0f477e89d1bc34a4d70.
It turns out this refactoring is not useful after all.

Change-Id: I0145c907b3cc5ac9a30a59abcd719cb546c9bd3a
ichInputConnection.java
0dd23544ffec1ae50c4b56fced22b47e7772f5ed 26-Jul-2013 Jean Chalard <jchalard@google.com> Merge "Very simple refactoring"
ffcbbaf12788a9fc9398607a548e552d7d2bf05e 25-Jul-2013 Satoshi Kataoka <satok@google.com> Refactor on UserHistoryDictionary

Bug: 9429906
Change-Id: I576a91643bdaf5017cc826ac2e07a74a9a275d60
inaryDictionary.java
onstants.java
xpandableBinaryDictionary.java
xpandableDictionary.java
astComposedWord.java
atinIME.java
ichInputConnection.java
uggest.java
serHistoryDictionary.java
serHistoryDictionaryBigramList.java
ordComposer.java
akedict/BinaryDictIOUtils.java
akedict/FormatSpec.java
akedict/FusionDictionary.java
ersonalization/UserHistoryDictionary.java
ersonalization/UserHistoryDictionaryBigramList.java
tils/UserHistoryDictIOUtils.java
f712dc9a4f17ee4a6916b0f477e89d1bc34a4d70 25-Jul-2013 Jean Chalard <jchalard@google.com> Very simple refactoring

Bug: 8864306
Change-Id: I5c9b118cb6a8eb59efc52d5534b10fcab93182d6
ichInputConnection.java
c34933828efc2fcb711be4bb7b2b9d7508c4e311 25-Jul-2013 Tadashi G. Takaoka <takaoka@google.com> Merge "Cancel all ongoing event when onFinishInputView"
5c095e59f679f726df1b6655fbbd73e310ac0dec 25-Jul-2013 Tadashi G. Takaoka <takaoka@google.com> Cancel all ongoing event when onFinishInputView

Bug: 9334755
Change-Id: If0c2ac49a50f4a529aefeca603569f9413367469
atinIME.java
21c6d23dcd546cd988864dae086d383cd45d82cf 25-Jul-2013 Tadashi G. Takaoka <takaoka@google.com> Merge "Add MoreKeysPanel argument to Controller methods"
0e08d70fe52737582b6c83dbf48aaf4d83063566 25-Jul-2013 Tadashi G. Takaoka <takaoka@google.com> Add MoreKeysPanel argument to Controller methods

Bug: 9334755
Change-Id: I5a7104f4c98982f11fb4e060fa83c21bfc360558
uggestions/SuggestionStripView.java
15c41a61ad6ad0281542ec4700eaf42fd7cdba0c 25-Jul-2013 Tadashi G. Takaoka <takaoka@google.com> Merge "Remove boolean return value of dismissing more keys panel"
09e4530ca75d4664eb72708face83b466839c522 25-Jul-2013 Tadashi G. Takaoka <takaoka@google.com> Remove boolean return value of dismissing more keys panel

Bug: 9334755
Change-Id: Ic29ab69cfbf9007e98fe67695f1854b4876eb976
uggestions/SuggestionStripView.java
e408bbb5bf67fa4b5a2846eeb60cb266e29358d9 25-Jul-2013 Jean Chalard <jchalard@google.com> Merge "Fix a bug with multiple word insertion."
23a3fd5bfacc54fd3841bb080460c91be4006051 25-Jul-2013 Jean Chalard <jchalard@google.com> Fix a bug with multiple word insertion.

This is a port of I5202bc52

Bug: 7903831
Change-Id: I3eb526de01a1f5b51212166e39b98de1d71e9eaf
serdictionary/UserDictionaryAddWordContents.java
serdictionary/UserDictionaryAddWordFragment.java
5563dc3ad51a350f67ad857991aa97623a0084b8 25-Jul-2013 Satoshi Kataoka <satok@google.com> Show all languages if user enables multiple subtypes

Bug: 8976598
Change-Id: I1c3c1ede1235f696eafb3a68ec5c29479768dd0f
serdictionary/UserDictionaryList.java
289df0ecadb5b6320d8e1f484bf9decc1b726e53 25-Jul-2013 Jean Chalard <jchalard@google.com> Merge "[FD4] Separate cached address before/after update for groups"
cecb63c2c9968b209258e491c218b86792050dfc 24-Jul-2013 Tadashi G. Takaoka <takaoka@google.com> Merge "Make RunInLocale as top-level class"
9ef59af7ceda6facf37b382dfa504b9f3b3f9845 24-Jul-2013 Tadashi G. Takaoka <takaoka@google.com> Merge "Move subtype related utility class to utils package"
25de86a6a26232964937872f203f065dd9f9faa4 10-Jul-2013 Jean Chalard <jchalard@google.com> [FD4] Separate cached address before/after update for groups

This should fix bug#8526576 for good.

Bug: 8526576
Change-Id: I473aad26b69d64efa09d2ec9d8e69f29f5cf4819
akedict/BinaryDictInputOutput.java
akedict/FusionDictionary.java
429db8d61e608d5330345412a1e014383a5d2886 11-Jul-2013 Jean Chalard <jchalard@google.com> [FD3] Split stackNodes into two methods.

In the future we need to have a method that computes only
from the size, as we used to have, to initialize the cached
addresses, and a much simpler and faster method to copy
the cached sizes.

Bug: 8526576
Change-Id: I6a5a790303ab8f3bf957c7ca266eb12da7c1ad9e
akedict/BinaryDictInputOutput.java
0c3a9b549c3ff9bdf47c52cf59347f7e111dd183 24-Jul-2013 Tadashi G. Takaoka <takaoka@google.com> Make RunInLocale as top-level class

Change-Id: I07ed606b7aba098a5be85533e5baff300b21fb44
ettings/Settings.java
ettings/SettingsValues.java
tils/LocaleUtils.java
tils/RunInLocale.java
tils/SubtypeLocaleUtils.java
a410cb48eab0cd75aa27e20f60e47a29a59fb9ff 24-Jul-2013 Tadashi G. Takaoka <takaoka@google.com> Move subtype related utility class to utils package

Change-Id: I3564796531ea85f2ebafde40cd822b806b8741df
dditionalSubtype.java
ichInputMethodManager.java
ubtypeLocale.java
ubtypeSwitcher.java
serBinaryDictionary.java
ettings/AdditionalSubtypeSettings.java
ettings/Settings.java
ettings/SettingsFragment.java
tils/AdditionalSubtypeUtils.java
tils/SubtypeLocaleUtils.java
5526d138fe76e7d19a58ab68c9ba7a0354172daa 24-Jul-2013 Jean Chalard <jchalard@google.com> Merge "[FD2] Separate cached address before/after update for nodes."
b9eb32679f27b28051fdd0c5e7cc59805f0bf20f 23-Jul-2013 Ken Wakasa <kwakasa@google.com> Cosmetic fix for the copyright header

Change-Id: I2a93ac21571d1f6255a72a1a238b03dbb95108de
serdictionary/UserDictionarySettings.java
db341afc65f85280ffa1aa0f2ca61da374b4c177 23-Jul-2013 Ken Wakasa <kwakasa@google.com> Fix wrong copyright header comment

Change-Id: I75ffbc0508c00f7ac8004b764667a174b6ab0b63
serdictionary/UserDictionarySettings.java
91cbe3566d21e1ae11c1409ae62c0c0a9614dec6 10-Jul-2013 Jean Chalard <jchalard@google.com> [FD2] Separate cached address before/after update for nodes.

Bug: 8526576
Change-Id: Ib9f8594a9e12dc75eba296faff2612c4bd7483d3
akedict/BinaryDictInputOutput.java
akedict/FusionDictionary.java
e6c51847426121246cc8b48f42f8f5668db71cdb 23-Jul-2013 Tadashi G. Takaoka <takaoka@google.com> Fix NPE in SubtypeLocale.getSubtypeDisplayName

This change moves the methods that create the subtype display name for
spacebar from MainKeyboardView to SubtypeLocale class, and
consolidates SpacebarTextTests with SubtypeLocaleTests.

Bug: 9962955
Change-Id: Ifa0a08ff80bc30753a213c2feb471599ca63fa66
ichInputMethodManager.java
ubtypeLocale.java
ubtypeSwitcher.java
1676b8387f753212da2642f6caf6b838e649d827 22-Jul-2013 Jean Chalard <jchalard@google.com> Merge "Fix a bug when moving the pointer in a > 48 chars word"
5fa2202e36a84bd5808fa10ca25c9179acb1b173 17-Jul-2013 Jean Chalard <jchalard@google.com> Fix a bug when moving the pointer in a > 48 chars word

Bug: 9892261
Change-Id: I9db20c5b20a0764bd9f5b5e2bdc98180bbb9ec15
ordComposer.java
a7d2fc6befa1b16883200a653fc01deb4d94944d 21-Jul-2013 Ken Wakasa <kwakasa@google.com> Move settings related classes to "settings"

Change-Id: Id170dbfe2dcfc93130b7be4a84615940403ec37f
dditionalSubtypeSettings.java
udioAndHapticFeedbackManager.java
inaryDictionary.java
inaryDictionaryFileDumper.java
ebugSettings.java
ebugSettingsActivity.java
xternalDictionaryGetterForDebug.java
ileTransforms.java
atinIME.java
ativeSuggestOptions.java
ichInputConnection.java
ichInputMethodManager.java
eekBarDialogPreference.java
ettings.java
ettingsActivity.java
ettingsFragment.java
ettingsValues.java
serHistoryDictionary.java
ebug/ExternalDictionaryGetterForDebug.java
ettings/AdditionalFeaturesSettingUtils.java
ettings/AdditionalSubtypeSettings.java
ettings/DebugSettings.java
ettings/DebugSettingsActivity.java
ettings/NativeSuggestOptions.java
ettings/SeekBarDialogPreference.java
ettings/Settings.java
ettings/SettingsActivity.java
ettings/SettingsFragment.java
ettings/SettingsValues.java
etup/LauncherIconVisibilityManager.java
etup/SetupWizardActivity.java
tils/AdditionalFeaturesSettingUtils.java
tils/FileTransforms.java
tils/UserLogRingCharBuffer.java
b03447e1af950888d901fccbd2cc3e3b4a11ef98 18-Jul-2013 Ken Wakasa <kwakasa@google.com> Move a couple classes to the utils package

Change-Id: Ia14a2011d79bad7cd02697b9254705f6e2099442
utoCorrection.java
yteArrayWrapper.java
atinIME.java
uggest.java
serHistoryDictionary.java
uggestions/SuggestionStripLayoutHelper.java
tils/AutoCorrectionUtils.java
tils/ByteArrayWrapper.java
257750d988b2f6499d5f7b2439c8f46df9ea3369 10-Jul-2013 Jean Chalard <jchalard@google.com> [FD1] Move parents' address computation outside

There is no need to do it repeatedly in this loop: it's
clearer and faster to do it at the end only.

Bug: 8526576
Change-Id: I707571179c89479830891ec6d4fd06a9fffed7c1
akedict/BinaryDictInputOutput.java
6455172a707a1137eb15db8073774982db9dd1fa 15-Jul-2013 Tadashi G. Takaoka <takaoka@google.com> Distinguish key press in repeat key

Bug: 9859367
Change-Id: Iad643f9785b193e1918a8363de4fefc3b7558bdf
atinIME.java
4944827e0fdb5657a7f9305c317464edb0ef2b08 16-Jul-2013 Keisuke Kuroynagi <ksk@google.com> Merge "Add methods for dynamic updating binary dictionary."
cfbb7fbd48125909ed61e58500e56b06afc12709 09-Jul-2013 Keisuke Kuroynagi <ksk@google.com> Fix: Read lock is wrongly used for gutSuggestions.

Bug: 9737865

Change-Id: I017f80b46c5dc48c40f2de7c4d516a042992feb4
xpandableBinaryDictionary.java
58b2a6372fd0404e27bbe137bbac18bbdf70e153 08-Jul-2013 Ken Wakasa <kwakasa@google.com> Merge "Update ExpandableDictionary.BASE_CHARS[]"
d0ca62678de4b07c28adeec329bec0274b6a1d86 05-Jul-2013 Ken Wakasa <kwakasa@google.com> Update ExpandableDictionary.BASE_CHARS[]

This should be the same as CharUtils::BASE_CHARS[] in the native code.

Change-Id: I72ed4a43fd5c26a4439ef791b6b1cf703845c3a1
xpandableDictionary.java
ccf4a310279b13bbf0b6aac76a0878178c1dfb7d 05-Jul-2013 Tadashi G. Takaoka <takaoka@google.com> Move TypefaceUtils and ViewUtils to utils package

Change-Id: Iccd47c27670248c43de9a539c1951111d7733111
uggestions/MoreSuggestions.java
uggestions/SuggestionStripLayoutHelper.java
tils/TypefaceUtils.java
tils/ViewLayoutUtils.java
4be6198cb73cc24e10834153c4e049644ed187e3 05-Jul-2013 Tadashi G. Takaoka <takaoka@google.com> Reorganize Utils class

Change-Id: I7294d1547def5dcfcae9d1d53b277cb3cc9f2d18
ebugSettings.java
atinIME.java
ettingsFragment.java
uggestedWords.java
pellcheck/SpellCheckerSettingsFragment.java
uggestions/MoreSuggestions.java
uggestions/SuggestionStripLayoutHelper.java
tils/ApplicationUtils.java
tils/LatinImeLoggerUtils.java
tils/UsabilityStudyLogUtils.java
tils/UserLogRingCharBuffer.java
tils/Utils.java
72c2feb57369527b5f0d2b89505f94503978b928 05-Jul-2013 Tadashi G. Takaoka <takaoka@google.com> Use TimeUnit instead of DateUtils for readability

Bug: 9550800
Change-Id: I087205530a5dbcff4bf08f48f4aa7068aae93215
tils/DictionaryInfoUtils.java
tils/UserHistoryForgettingCurveUtils.java
cb13d11c0af95b0621c012be9c01e04a463e40c5 04-Jul-2013 Jean Chalard <jchalard@google.com> Add a trace.

Emit a trace when a new dictionary is copied to LatinIME
successfully, not just when it fails. That will help diagnosing
some problems by being able to ensure this step succeeded
looking at the log.
This does not happen often (like, maybe 3 times at device
activation, and once every few weeks afterwards), so I think
the extra line in the log is more than acceptable.

Change-Id: I1674bc22d950a7be801076c5aa7e8bbebccab14b
inaryDictionaryFileDumper.java
49910a9d774120479d89f537c7e1b4d43e6f153a 04-Jul-2013 Keisuke Kuroynagi <ksk@google.com> Merge "Fix: release lock in UserHistoryDictionary."
65db0262659562d4893e34b9e905e57c11fa3557 04-Jul-2013 Keisuke Kuroynagi <ksk@google.com> Fix: release lock in UserHistoryDictionary.

Change-Id: I050c252910c6b5b0a79cd2d52c525679f2d6091d
serHistoryDictionary.java
f8d2796724b67ffb7e02c033ae15183a0d58febe 04-Jul-2013 Keisuke Kuroynagi <ksk@google.com> Add methods for dynamic updating binary dictionary.

Bug: 6669677
Change-Id: I7e681ceec2af712214a647630350cb20be6b0354
inaryDictionary.java
edd1992ed329a84f0e9ef7056fda99f78eeb92b4 04-Jul-2013 Keisuke Kuroynagi <ksk@google.com> DictionaryWriter to abstract binary dictionary writing.

UserHistoryDictionary should become to use ExpandableBinaryDictionary.

Bug: 6669677

Change-Id: I6831c7dd2d84207d1a8f51ba15d52e0a72205d0c
bstractDictionaryWriter.java
ontactsBinaryDictionary.java
ictionaryWriter.java
xpandableBinaryDictionary.java
serBinaryDictionary.java
0b1c08bf5aad0c6775acb1acb7048191854851ab 03-Jul-2013 Keisuke Kuroynagi <ksk@google.com> Use ReentrantReadWriteLock in ExpandableBinaryDictionary.

Bug: 6669677

Change-Id: I2acde0517d5ed5cbd7b7149709e35fc36651335d
xpandableBinaryDictionary.java
f87e8f7ec1efb93398d909c67468d716b0248fe7 02-Jul-2013 Tadashi G. Takaoka <takaoka@google.com> Handling key repeat by emulating key press and code input

This change also eliminates a reference of
AudioAndHapticFeedbackManager from KeyboardSwitcher and MainKeyboard.

Bug: 6522943
Change-Id: Iac42ec8ff00c66deb76a660ffc07477923a58959
onstants.java
atinIME.java
ichInputConnection.java
e5a3b77664db1ecfd95601a806649f063eb604d3 01-Jul-2013 Jean Chalard <jchalard@google.com> Merge "Move Range out of RichInputConnection and rename it."
109ba3ace3815a7650a9fb0485b187968ddf8c29 01-Jul-2013 Keisuke Kuroynagi <ksk@google.com> Merge "Regenerate old version dictionaries using new format."
675bcf191c3cdb5ba5af70efb9357ffceb389c2e 25-Jun-2013 Jean Chalard <jchalard@google.com> Move Range out of RichInputConnection and rename it.

Range has grown a bit too big to stay an internal class.

Change-Id: Ic3fbc48a5d10776eedd7559c4d696e5926b88288
atinIME.java
ichInputConnection.java
tils/TextRange.java
a62b5b22eff2c1842fe1e0a4ea949e1e004de40b 01-Jul-2013 Keisuke Kuroynagi <ksk@google.com> Regenerate old version dictionaries using new format.

Bug: 9617181
Change-Id: I228a3eac959f81b38e4092015e8e3c429d46fa60
inaryDictionaryGetter.java
xpandableBinaryDictionary.java
f0af452ce261590b5978a1bb679ce27b71f9dc70 25-Jun-2013 Jean Chalard <jchalard@google.com> Do not re-resume suggestion if it's not needed.

This is much better interface-wise. It eliminates all blinking
of the line in the practice.

Bug: 8874148
Bug: 8864306
Change-Id: I87754e44784327c2e9c8b162d598d145e20668e8
atinIME.java
ordComposer.java
a5e28acf634988f7589e4b1f07962863f15a991a 28-Jun-2013 Jean Chalard <jchalard@google.com> Merge "Fix a bug where AOSP Latin IME would not fill dictionaries"
555c4236db885532e51d8a26d715608b2b738c1b 27-Jun-2013 Jean Chalard <jchalard@google.com> Fix a bug where AOSP Latin IME would not fill dictionaries

There is no reason not to contact the dictionary provider
when we don't have internet permission or when the URL
is empty. It knows how to handle both these cases.

Bug: 9388602
Change-Id: I30c4540551ad2f5e527d3acd1842bbd749feca89
inaryDictionaryFileDumper.java
inaryDictionaryGetter.java
e04794cbbeafec7463a91554d7c069deacddc744 27-Jun-2013 Jean Chalard <jchalard@google.com> Fix some warnings

Mostly remove unused imports

Change-Id: If8ceffdfad79b78194094527759f5c334746973e
inaryDictionaryGetter.java
ebugSettings.java
ettingsValues.java
4ded1af21097652dcd0750d9b3f2f24df2904e25 27-Jun-2013 Satoshi Kataoka <satok@google.com> Improve the language list in the personal dictionary

Bug: 9117704
Change-Id: I26e6f8369a3c7ffa4bb651b4b5a3e6f004121983
serdictionary/UserDictionaryList.java
ec69a259c60b89cfe5157dc6b43aa17f2f60d6ca 27-Jun-2013 Satoshi Kataoka <satok@google.com> Merge "Open an API in ExternalDictionaryGetterForDebug"
a2bfd46adf6aca5864be3d6ef2204bc18008e9c9 27-Jun-2013 Satoshi Kataoka <satok@google.com> Use internal personal dictionary settings on JBMR2 or before

Bug: 9117704
Change-Id: I7e20b03daa23b59211235183cf48d933e32845e4
ettingsFragment.java
serdictionary/UserDictionaryList.java
bd84a00fc140d2d02b8eafbf6c94c009da62c9cd 27-Jun-2013 Satoshi Kataoka <satok@google.com> Open an API in ExternalDictionaryGetterForDebug

and extend it

Change-Id: Id2ba8dd8928a6327d3b31eb35f7cc314e2d31050
xternalDictionaryGetterForDebug.java
2bbd78ab0a0e6eb15c22365d03f58ccbcaff51e6 27-Jun-2013 Jean Chalard <jchalard@google.com> Merge "Ignore spans that are not the right size."
2f7f6257b66fc1ed19b600f3d55902fd0de2e338 24-Jun-2013 Jean Chalard <jchalard@google.com> Ignore spans that are not the right size.

Bug: 8839763
Bug: 8862327
Change-Id: I5d49c86edcbc0fc1b2b147856437cfbadd678377
atinIME.java
ichInputConnection.java
6c0e4121376e9ce0b96d656f3aea3bfd80f2215e 26-Jun-2013 Jean Chalard <jchalard@google.com> Merge "Resume suggestion at start input"
a690f3bc40268ccee20c44c7e359890b34eb2a8a 26-Jun-2013 Jean Chalard <jchalard@google.com> Merge "Readability improvement"
173f74bb18016ccab3e5fad4c86c5201add41c30 26-Jun-2013 Jean Chalard <jchalard@google.com> Merge "Fixing follow-up to I548d899b"
fb72890ac6cea2b39a0dbd401ebee6b42323e5f3 25-Jun-2013 Jean Chalard <jchalard@google.com> Readability improvement

Change-Id: I2f350145f333ba1fa4eb20027b0f41107c2df02c
atinIME.java
7fcf304c974d52a816b3375f22e714798fe308e5 26-Jun-2013 Jean Chalard <jchalard@google.com> Fixing follow-up to I548d899b

I548d899b introduced a new method to fix a sync miss between
the cursor position and the cached cursor position, but did not
take into account that it should also update the cached text
before and after the cursor in this case and that there was
already a method for doing this.

Change-Id: I31bd741893207c822827304e77791b1159774e1a
atinIME.java
ichInputConnection.java
5bf1be71629607e7206e6203489cf742d2f8ed79 25-Jun-2013 Keisuke Kuroynagi <ksk@google.com> Add jni methods for dynamically handling a dictionary.

Bug: 6669677
Change-Id: I8a26623adbb41a78e3c023c652be635c635e3b47
inaryDictionary.java
2f69348d5190f65c9e2c50812fca7d6c4f397bf8 25-Jun-2013 Jean Chalard <jchalard@google.com> Resume suggestion at start input

Bug: 9568410
Change-Id: I65468268f8613c863fa7f3a497b64656da0a221c
atinIME.java
fd0945b0da3e53109afc346432a7a8b40d715a0f 25-Jun-2013 Ken Wakasa <kwakasa@google.com> Merge "Make UserLogRingCharBuffer an external class"
9419e02fd98e044136bf8888ad9781900ba42469 25-Jun-2013 Ken Wakasa <kwakasa@google.com> Make UserLogRingCharBuffer an external class

Change-Id: I9d506995337d64ec11c72939a8d739423ee46efa
atinIME.java
ettings.java
tils/UserLogRingCharBuffer.java
tils/Utils.java
333362adfc2a6a3df980a23ea58eceea5f695b46 25-Jun-2013 Jean Chalard <jchalard@google.com> Merge "Fix the one-suggestion case."
d7d5ff1f99f103438290f3045df185c502c4b60b 25-Jun-2013 Jean Chalard <jchalard@google.com> Fix the one-suggestion case.

When there is only one suggestion, this code does
not work. The reason for that is, it's not homogeneous
at all and takes indices of one thing into another.

Not completely related to b/8839763, but realized
working on this and needed to have it addressed.

Bug: 8839763
Change-Id: I422730cc7eebb69ff421a171025af0390ebcdf92
uggestions/SuggestionStripLayoutHelper.java
38b542629adb4e79cb08f6324f82307784e3da0f 25-Jun-2013 Keisuke Kuroynagi <ksk@google.com> Merge "Add a parameter isUpdatable to the constructor of BinaryDictionary."
981717da4c414caee57ba98596f9bc634a97f74f 25-Jun-2013 Keisuke Kuroynagi <ksk@google.com> Add a parameter isUpdatable to the constructor of BinaryDictionary.

Bug: 6669677
Change-Id: I6bc25131afd97112e3bbde036a81ab559a9a6460
inaryDictionary.java
ictionaryFactory.java
xpandableBinaryDictionary.java
12ef7d37021e2f99de5cc15826cc6dcd3250c41a 25-Jun-2013 Ken Wakasa <kwakasa@google.com> Merge "Cleanup under the utils package"
03118a276014cd44d44d0d46f4f39622765e8e0c 25-Jun-2013 Ken Wakasa <kwakasa@google.com> Cleanup under the utils package

Change-Id: If2f7bd1346cc5085bf57645830f0faac44d017e4
ichInputConnection.java
ubtypeLocale.java
tils/DebugLogUtils.java
tils/LogUtils.java
tils/Utils.java
8bc0b51369822b50c701cfe5a6ec612e5c94f75a 25-Jun-2013 Keisuke Kuroynagi <ksk@google.com> Merge "Allow mmapping dictionary file in writable mode in openNative."
f3b62900c7bcb0d6434f45ec7b467b7b4bad6f9a 25-Jun-2013 Keisuke Kuroynagi <ksk@google.com> Allow mmapping dictionary file in writable mode in openNative.

Bug: 6669677
Change-Id: I447668932de118b158fa029ddc977b3f3cc06cb8
inaryDictionary.java
10585620bdfad418f6c093ab4bfd8efaa2d84abf 25-Jun-2013 Jean Chalard <jchalard@google.com> Merge "Fix a bug in the cached cursor pos, and simplify selection handling"
cdf774122d29754d91aac162f7e7416b65583ea9 24-Jun-2013 Jean Chalard <jchalard@google.com> Merge "Fix a small bug"
bfaf349c3554e11af8227a5f0807a74107a93069 24-Jun-2013 Ken Wakasa <kwakasa@google.com> Load the native lib eagerly

in the hope of avoiding UnsatisfiedLinkError. This is definitely not a
confident fix as we still don't know the root cause of the issue.

bug: 9325110
Change-Id: I1abf8031b98509f63fce6a2d069d497895ea712c
atinIME.java
bc1813186df823e4e1a5aabceb3198674387061e 24-Jun-2013 Ken Wakasa <kwakasa@google.com> Merge "Move util classes to the latin/utils directory"
ca52e1ca5abf8d233e901f76e5d443c427602316 24-Jun-2013 Jean Chalard <jchalard@google.com> Fix a small bug

SpannableStrings are not the only type of Spanned, they are
only the mutable kind. SpannedString is the immutable one.
Spanned is the correct class to use there.

Bug: 8839763
Bug: 8862327
Change-Id: Ic5e6199a51f22368914f2748ac2d0d1ca6a33f78
atinIME.java
e28eba5074664d5716b8e58b8d0a235746b261eb 23-Jun-2013 Ken Wakasa <kwakasa@google.com> Move util classes to the latin/utils directory

Change-Id: I1c5b27c8edf231680edb8d96f63b9d04cfc6a6fa
dditionalFeaturesSettingUtils.java
dditionalSubtype.java
dditionalSubtypeSettings.java
inaryDictionary.java
inaryDictionaryFileDumper.java
inaryDictionaryGetter.java
oundedTreeSet.java
apsModeUtils.java
ollectionUtils.java
ompletionInfoUtils.java
ontactsBinaryDictionary.java
oordinateUtils.java
ebugSettings.java
icTraverseSession.java
ictionaryCollection.java
ictionaryFactory.java
ictionaryInfoUtils.java
ictionaryPackInstallBroadcastReceiver.java
xpandableBinaryDictionary.java
xpandableDictionary.java
xternalDictionaryGetterForDebug.java
eedbackUtils.java
nputAttributes.java
nputPointers.java
nputTypeUtils.java
ntentUtils.java
niUtils.java
astComposedWord.java
atinIME.java
ocaleUtils.java
etadataFileUriGetter.java
ativeSuggestOptions.java
ositionalInfoForUserDictPendingAddition.java
ecapitalizeStatus.java
esizableIntArray.java
esourceUtils.java
ichInputConnection.java
ichInputMethodManager.java
ettings.java
ettingsFragment.java
ettingsValues.java
taticInnerHandlerWrapper.java
tringUtils.java
ubtypeLocale.java
uggest.java
uggestedWords.java
argetPackageInfoGetterTask.java
serBinaryDictionary.java
serHistoryDictIOUtils.java
serHistoryDictionary.java
serHistoryDictionaryBigramList.java
serHistoryForgettingCurveUtils.java
tils.java
mlParseUtils.java
etup/SetupWizardActivity.java
pellcheck/AndroidSpellCheckerService.java
pellcheck/AndroidSpellCheckerSession.java
pellcheck/AndroidWordLevelSpellCheckerSession.java
pellcheck/DictionaryPool.java
pellcheck/SpellCheckerSettingsFragment.java
uggestions/MoreSuggestions.java
uggestions/SuggestionStripLayoutHelper.java
uggestions/SuggestionStripView.java
serdictionary/UserDictionaryAddWordContents.java
serdictionary/UserDictionaryList.java
tils/AdditionalFeaturesSettingUtils.java
tils/BoundedTreeSet.java
tils/CapsModeUtils.java
tils/CollectionUtils.java
tils/CompletionInfoUtils.java
tils/CoordinateUtils.java
tils/CsvUtils.java
tils/DictionaryInfoUtils.java
tils/FeedbackUtils.java
tils/InputTypeUtils.java
tils/IntentUtils.java
tils/JniUtils.java
tils/LocaleUtils.java
tils/LogUtils.java
tils/MetadataFileUriGetter.java
tils/PositionalInfoForUserDictPendingAddition.java
tils/RecapitalizeStatus.java
tils/ResizableIntArray.java
tils/ResourceUtils.java
tils/StaticInnerHandlerWrapper.java
tils/StringUtils.java
tils/TargetPackageInfoGetterTask.java
tils/UserHistoryDictIOUtils.java
tils/UserHistoryForgettingCurveUtils.java
tils/Utils.java
tils/XmlParseUtils.java
e8c4b99e5665c6c19793df6c2490ee4bf281bf63 20-Jun-2013 Jean Chalard <jchalard@google.com> Refactor text range to be able to get spans larger than the word

This changes how the Range class stores its data, but not its
functionality. It also improves encapsulation a bit.

Bug: 8839763
Bug: 8862327
Change-Id: I5bd583b3fc96a99b93a2632882d8fd587c03ab76
atinIME.java
ichInputConnection.java
b7a2fd16a139046587daaf44fdf73fed95cf6248 21-Jun-2013 Jean Chalard <jchalard@google.com> Merge "Defer disk-intensive tasks until after the keyboard is shown"
673c727b7a42e2cee2df4415111bfa94a0a2df3b 13-Jun-2013 Jean Chalard <jchalard@google.com> Defer disk-intensive tasks until after the keyboard is shown

Bug: 8689779
Change-Id: Ia78d3540f44ec0028c3246a8e0163e9ecf061ecf
atinIME.java
e5dee0af4ae991988919b2c5b80c10a94b26884e 21-Jun-2013 Jean Chalard <jchalard@google.com> Fix a bug in the cached cursor pos, and simplify selection handling

The documentation for setComposingRegion states explicitly
that it does not move the cursor. This is just a bug.
This does not have any ill effects right now, but it will have
in later changes if not fixed.

As for the selection handling, the specific test that this code
removes used to serve a purpose, but it does not any more because
the code using the value has been much sanitized. Now the variable
can just take the obvious value, and become so self-explanatory
that the comments are unnecessary.

Change-Id: I548d899b38776bd3ab5f5361aab0d89d98f12e73
atinIME.java
ichInputConnection.java
9b570b5e62581f41c40c4558d95c77ad5896934c 21-Jun-2013 Tadashi G. Takaoka <takaoka@google.com> Fix punctuations strip

Bug: 9508186
Change-Id: I8f0fbf4e0578cf9116d4c57e7e5747d38c89387e
uggestions/SuggestionStripLayoutHelper.java
uggestions/SuggestionStripView.java
93f74bafbb7e3fde207575a87c197c59f32411bd 20-Jun-2013 Jean Chalard <jchalard@google.com> Merge "Add tests to dicttool test."
23d4eb55ba0271d56519b16c76eebbeb3e0774a9 20-Jun-2013 Jean Chalard <jchalard@google.com> Add tests to dicttool test.

Bug: 8526576
Change-Id: Idd6f9cd076d5915361c68f5c29afbba67dd54eba
yteArrayWrapper.java
serHistoryDictIOUtils.java
serHistoryDictionary.java
c90181d6aa42c4c0b56ccc21528dcef84d186c53 18-Jun-2013 Tadashi G. Takaoka <takaoka@google.com> Use system default key press volume

Bug: 9475973
Change-Id: I6ae825b161dde69e19b52d73fb9aa782e2aa7423
ettingsFragment.java
af69a14c9684ef6f7a14e60cb635f96db530f6e7 18-Jun-2013 Tadashi G. Takaoka <takaoka@google.com> Use system default vibration pattern

Bug: 9468462
Change-Id: Ifa46a56873c10888da8eaa2782fe07ef138a141b
ettingsFragment.java
3be8263035b69226aba90fe1f1e4e4c3484ffe3d 18-Jun-2013 Tadashi G. Takaoka <takaoka@google.com> Get value text from ValueProxy

As a preparation to show "system default" in the settings. LatinIME
can't know the actual system default value.

Bug: 9468462
Change-Id: I0b7898d1ca29ded7a619dd636d2ad16eb0db292e
eekBarDialogPreference.java
ettingsFragment.java
2a81943d162383cc6e9d9429bf3f7949c994a8ba 13-Jun-2013 Jean Chalard <jchalard@google.com> Fix a bug with recapitalization

This is a shameful bug :/

Bug: 9410367
Change-Id: I54ddbcd0323fa2c11fbd2aa8a1b3d2e07f6e83c8
ecapitalizeStatus.java
14718ab898e2f23b078b9f25aa234c1e673517c7 14-Jun-2013 Kurt Partridge <kep@google.com> Merge "Log score, kind, and sourceDict for manual suggestion and gesture"
6233ee3633da9489e29bcf86327af28249bd1834 13-Jun-2013 Jean Chalard <jchalard@google.com> Fix a bug with long user dict entries

Bug: 9410958
Change-Id: I966e452c6dbdcb444abbb6ffb316849a7c85a73b
serdictionary/UserDictionaryAddWordContents.java
fc98325c61e5df3845f3d2b4906b0af301204b73 13-Jun-2013 Kurt Partridge <kep@google.com> Log score, kind, and sourceDict for manual suggestion and gesture

b/9422713

Change-Id: I4880fad6a5b10d09ca11b63311f14862bee724e5
atinIME.java
27d9c6f795a0856c401b3d4189f60be71bac0e98 13-Jun-2013 Jean Chalard <jchalard@google.com> Merge "Cache subtype lists reasonably."
e72d1a07b6c52e3bcc7f099c81a14dab2fadf459 12-Jun-2013 Kurt Partridge <kep@google.com> Merge "Allow downloadable dictionaries in development builds"
ff6445ed0eac57f9daf573178ffe9f4e1e2b246a 11-Jun-2013 Jean Chalard <jchalard@google.com> Cache subtype lists reasonably.

This will spare a lot of IPC for Latin IME at the cost of very little
retained memory.
This improves the loading by potentially a lot - between 15 and 30%
when the layout is cached (which should now be the case almost every
time), and half that if it's not. More importantly, it makes the
load time less sensitive to high device load, which is one of the
sore points.

Bug: 8689779
Change-Id: I2e07736f1a92c38eed0e203bc690761a181da8b9
atinIME.java
ichInputMethodManager.java
2a1a463e2e7cb9b6f129eb2ac368dfdd41f4c152 12-Jun-2013 Kurt Partridge <kep@google.com> Adjust settings for development-only versions

Change-Id: I4f08632d97f182d312edc82bda3c3897a71099ad
ettingsFragment.java
fe95e7b1bf06c26f71d3e2899fcdf63647d9f670 07-Jun-2013 Satoshi Kataoka <satok@google.com> Merge "Fix possible NPE"
77f63c8ac64c46de36002fd62c71f1eeebcaf2ac 05-Jun-2013 Tadashi G. Takaoka <takaoka@google.com> Don't use RichInputMethodManager in setup wizard

In setup wizard, InputMethodManager may not be able to be aware that
this IME is installed, especially just after the IME is installed via
GooglePlay app and hit the open button on the app to launch the setup
wizard.

Bug: 9299618
Change-Id: I00c8544178b41074253d49ae9481996ec56593d2
ichInputMethodManager.java
etup/LauncherIconVisibilityManager.java
etup/SetupActivity.java
etup/SetupWizardActivity.java
6c8136d1574f7e72eae951ee80f885d008c8e4c4 07-Jun-2013 Satoshi Kataoka <satok@google.com> Fix possible NPE

Bug: 9314901
Change-Id: Id80f59df38ae72766b097fd1c23326fedd302439
ettingsFragment.java
254b484e75c059f7cf13d29b6bb312a07823597f 06-Jun-2013 Tadashi G. Takaoka <takaoka@google.com> Defer getting no language subtype

Bug: 9318351
Change-Id: I55338c001070655a3f90df3dbe1351bd4180d520
ubtypeSwitcher.java
6910032972524541314249fb2a6c2202ac813845 06-Jun-2013 Jean Chalard <jchalard@google.com> Merge "Use an iterator to remove stuff from an ArrayList."
0dc422e0c7bbb5f2f5ea52dc87e3caf36b545e6b 06-Jun-2013 Jean Chalard <jchalard@google.com> Use an iterator to remove stuff from an ArrayList.

Silly me >.>

Bug: 9306154
Change-Id: Ic00e9d6a31cd1d7aacefe68b7be9c2199e297b0d
ictionaryInfoUtils.java
efd26bb3192722c2980098a6f36dff6006e8896a 06-Jun-2013 Kurt Partridge <kep@google.com> Allow downloadable dictionaries in development builds

Bug: 9305379

Change-Id: Iab32753070a056d3861a45aa898911b7ab67dfb6
inaryDictionaryGetter.java
atinIME.java
ettingsFragment.java
f6a1a7652473778ff2e52754f29f7822a9b482db 06-Jun-2013 Satoshi Kataoka <satok@google.com> Merge "Fix a possible NPE"
6f9c6f2c64e6983b85adfe97335b5feb99a9937f 06-Jun-2013 Satoshi Kataoka <satok@google.com> Fix a possible NPE

Bug: 9301208
Change-Id: Id120c99ab9ef698d16cf7b8beea30c98c95d23a1
ettings.java
cbd219a761079007b297c7d0cc1ca5d93420b0c9 05-Jun-2013 Tadashi G. Takaoka <takaoka@google.com> Move Base64Reader to utils package

Change-Id: Id46898c5cae268f05850d79938929b7707f27320
tils/Base64Reader.java
9d4e25182699f383e38f37fbff69bc2a7c9304bf 05-Jun-2013 Tadashi G. Takaoka <takaoka@google.com> Merge "Add CsvUtils that conform to RFC 4180"
3ceeb6bcc607b421fd6984c70664bcfd30bde1c2 23-May-2013 Tadashi G. Takaoka <takaoka@google.com> Add CsvUtils that conform to RFC 4180

Bug: 9070153
Change-Id: I66e55dd2f30fddfeb849edb97bc1cbda6b126d92
tils/CsvUtils.java
0bfc2bc419e7e758c6ce17b5fb959687f583551a 05-Jun-2013 Tadashi G. Takaoka <takaoka@google.com> Merge "Add CODE_CAPSLOCK for long press shift key"
9552badf3c24d2098d227b0ddca0721b928a10b1 22-May-2013 Tadashi G. Takaoka <takaoka@google.com> Add CODE_CAPSLOCK for long press shift key

This change utilizes the no panel auto more key feature to implement
long press shift key for shift lock.

Change-Id: I3995d25dc35aea3c67b5aa29299815462eff9cad
onstants.java
atinIME.java
cbc7acb6f521fb680564a4fc6132c1913491de77 03-Jun-2013 Tadashi G. Takaoka <takaoka@google.com> Merge "Expand suggestion strip when center suggestion is long"
9ff7354d78e0ae6e09661c0907c12c3b67a8ed08 03-Jun-2013 Tadashi G. Takaoka <takaoka@google.com> Clear previous suggestions when gesture typing starts

Bug: 8651076
Change-Id: Ic65ed3e3696409edea4e35080c11e4d1869a5a7e
atinIME.java
043273b00fb0f42761a38eb53c9911ef022dd5ae 31-May-2013 Tadashi G. Takaoka <takaoka@google.com> Expand suggestion strip when center suggestion is long

Bug: 9059710
Change-Id: I7fa2658cc6442e86f69c991f1e99db6fb1ef909c
uggestions/SuggestionStripLayoutHelper.java
72ac390ce64fe2825ac59029402e5f372303c8c3 03-Jun-2013 Tadashi G. Takaoka <takaoka@google.com> Fix ArrayIndexOutOfBoundException

Change-Id: I243fc4965365680615eed834efe9ae0240e7f2a8
uggestions/SuggestionStripLayoutHelper.java
743302888b25235683c61aade88498d224d0c170 03-Jun-2013 Kurt Partridge <kep@google.com> Merge "Uncommit separator LogUnits"
3d2094627223dd76436e6460f43956c57053524e 03-Jun-2013 Kurt Partridge <kep@google.com> Merge "Uncommit LogUnits when reverting textInput"
4efb5c3b65733f985081146e018f7d4a3740c728 03-Jun-2013 Kurt Partridge <kep@google.com> Merge "Remove uncommit on reverting batch input"
bdff287a0dd8443c202ca34b8cd2058ccba2a403 01-Jun-2013 Kurt Partridge <kep@google.com> Uncommit separator LogUnits

Now that separators have their own LogUnits, they must be uncommitted
from the LogBuffer when backspacing over them.

Bug: 9088919

Change-Id: Ib36cc94939b93abe18850a06bced17caf8aaa5b9
atinIME.java
720840851d268ab8ebf134feae275d43d533953e 01-Jun-2013 Kurt Partridge <kep@google.com> Uncommit LogUnits when reverting textInput

Bug: 9088919

Change-Id: I17187aa0afc1c3e9d32269c65f66cfb3a08663cb
atinIME.java
4165ef031fbcd1c6e4f64d6190be99d1aa6df067 01-Jun-2013 Kurt Partridge <kep@google.com> Remove uncommit on reverting batch input

Currently when the user reverts a batch input, a LogUnit is uncommitted
from the LogBuffer. It should not be, because the LogUnit containing the
batch input is never committed in the first place (it is only committed
to the LogBuffer when a key is pressed or a new batch input is entered).

Bug: 9088919

Change-Id: I323af453ce082437a663ccae977b21b775a964bc
atinIME.java
f61999caba1fa720c6817da8b6fc129d16b9a954 31-May-2013 Jean Chalard <jchalard@google.com> Merge "Make it easy to open several dictionaries from tests"
a0c3e02d7168dd4cee4cad51491537dadb0362cc 30-May-2013 Tadashi G. Takaoka <takaoka@google.com> Refactor SuggestionStripLayoutHelper a bit

Bug: 9059710
Change-Id: Ief12029bad75d4dc78090ab97555aece01b873de
uggestedWords.java
uggestions/MoreSuggestions.java
uggestions/SuggestionStripLayoutHelper.java
uggestions/SuggestionStripView.java
1562fc91f015616f900b82bb44e6f1493be92c5a 31-May-2013 Jean Chalard <jchalard@google.com> Make it easy to open several dictionaries from tests

Bug: 9127175
Change-Id: I3f1840ee73b364df26dfddb5acb10001e0f2cb61
ssetFileAddress.java
ictionaryFactory.java
uggest.java
723391c9451f906ed786ba3418611846dfe9f3f5 31-May-2013 Tadashi G. Takaoka <takaoka@google.com> Merge "Tidy up Utils class a bit"
e6125db98d9e61841a4bde791ff0d9aed151f126 31-May-2013 Kurt Partridge <kep@google.com> Merge "Catch a permission exception"
d63f756013de6455a9a8b0c3675de214bb95a430 30-May-2013 Kurt Partridge <kep@google.com> Catch a permission exception

This change catches a SecurityException if the DictionaryProvider is
unavailable.

Change-Id: I4f2d87327c40765383d8847fd4e934b3cf799488
inaryDictionaryFileDumper.java
cbb99c60bef13bbe00846aa556d7b8db162e7716 30-May-2013 Tadashi G. Takaoka <takaoka@google.com> Tidy up Utils class a bit

Change-Id: Idc2feb84a902a6cbb7265d1efe06c34e7d63c2c7
tils.java
7097aa2d3d2fc4d314edebb43edc8a0552517630 30-May-2013 Tadashi G. Takaoka <takaoka@google.com> Merge "Cleanup unreadable variable names"
d67db32b30a2d77e5e5733d62d6265c34c380947 30-May-2013 Tadashi G. Takaoka <takaoka@google.com> Merge "Separate SuggestionStripLayoutHelper for readablity"
1a50999ed9cfbffa03b8e034ec67f06a8e5c68ba 30-May-2013 Jean Chalard <jchalard@google.com> Merge "Tell the text view we reset state on finish input"
e90d039e0cf192d36caaac72b457b5e3b0d9c3c5 30-May-2013 Jean Chalard <jchalard@google.com> Fix two strict mode warnings.

Bug: 9052555
Change-Id: I86e90488679a78a9f6e901b640025619293765a0
inaryDictionaryFileDumper.java
500a9752b1e61885f37b0fb26f09dfdd65da4e5e 30-May-2013 Tadashi G. Takaoka <takaoka@google.com> Cleanup unreadable variable names

Change-Id: Ic97687c58e25e4b0c6833cc25d10854f5f513081
uggestions/SuggestionStripLayoutHelper.java
uggestions/SuggestionStripView.java
653603b7253d96c7fad674ed301de5bc8050b68c 30-May-2013 Tadashi G. Takaoka <takaoka@google.com> Separate SuggestionStripLayoutHelper for readablity

Change-Id: I82c749c6837c3af7ae290f4cd92f5426ca58b5c7
uggestions/SuggestionStripLayoutHelper.java
uggestions/SuggestionStripView.java
68d9cb62e2ed0954d9bfa51e95c35ea69feaeb27 29-May-2013 Jean Chalard <jchalard@google.com> Tell the text view we reset state on finish input

This should be done in onFinishInput rather than onFinishInputView
but for an unknown reason onFinishInput never comes.

Bug: 9113167
Change-Id: Iafb40846a3ed8fad78bfc160d17cd431f81fe891
atinIME.java
d99abf8cb119ff2cb4e7d975001a939cc48d7112 23-May-2013 Tadashi G. Takaoka <takaoka@google.com> Delete shared preference entry when user select default value

Change-Id: I3fbafd9024c26a99d87376f5d5e359e03988a30f
eekBarDialogPreference.java
ettingsFragment.java
39bd6ea0dce5b7f18c337a7299520b78caa92b9c 28-May-2013 Tadashi G. Takaoka <takaoka@google.com> Merge "Rename StringUtils.parseCsvString to KeySpecParser.splitKeySpecs"
dbed20ad8d48e9b42b52c522c54bfd9e62553f7a 28-May-2013 Tadashi G. Takaoka <takaoka@google.com> Rename StringUtils.parseCsvString to KeySpecParser.splitKeySpecs

Change-Id: I16e3f3ebc43772cfd96c824afeddfd225404b857
onstants.java
ettingsValues.java
tringUtils.java
d69e4191b748c475bf5056cf0d39e1ca191a5417 28-May-2013 Tadashi G. Takaoka <takaoka@google.com> Merge "Refactor suggestion strip layout methods a bit"
389d308fffd6cef1c9167b2dc1ea7305ff2d09e5 25-May-2013 Tadashi G. Takaoka <takaoka@google.com> Refactor suggestion strip layout methods a bit

Bug: 9059710
Change-Id: I8dc698c1d61ca51b65b232e6c586472588a4accb
uggestions/SuggestionStripView.java
4c2ac9ee5f8a5814c3e9802f7ac3a3d4d4e0d66c 28-May-2013 Tadashi G. Takaoka <takaoka@google.com> Merge "Rename commaConcatinatedText to commaSplittableText"
c47bc30db84ecdf340a1faffafa2e9a9d5dd9d6a 28-May-2013 Tadashi G. Takaoka <takaoka@google.com> Rename commaConcatinatedText to commaSplittableText

This is a follow up of I5a32882a08.

Change-Id: I9f0cda2167811f6bba2af042fbde0a821b4cfecd
dditionalSubtype.java
nputAttributes.java
tringUtils.java
68cf2cd93101cf1531c77bbadf0b956d83b7cd76 28-May-2013 Tadashi G. Takaoka <takaoka@google.com> Merge "Check all regexp patterns in ResourceUtils.getDeviceOverrideValue"
e168a3c2a5c9b3e1db13507521a3eb6d8a2579ee 28-May-2013 Keisuke Kuroyanagi <ksk@google.com> Merge "Adding additional feature settings."
4c75ea858ab3d1175daaa03744d9693dcc15dd8d 23-May-2013 Tadashi G. Takaoka <takaoka@google.com> Check all regexp patterns in ResourceUtils.getDeviceOverrideValue

This change also fixes a regexp error of Galaxy S III.

Change-Id: I42a4780bbfd2b083f4e27e61ec513aa875907344
esourceUtils.java
07e56e76a77ee4164201b7f48aa6f7c8d69a81b9 28-May-2013 Satoshi Kataoka <satok@google.com> Merge "Implement KIND_OOV_CORRECTION"
1b100610b31261a10e1bab46801ddfb0fbbf76f4 28-May-2013 Keisuke Kuroyanagi <ksk@google.com> Adding additional feature settings.

Change-Id: I9fec0c03b7da9ce0305b494193f4cfe3fca144f3
dditionalFeaturesSettingUtils.java
inaryDictionary.java
ativeSuggestOptions.java
ettingsFragment.java
ettingsValues.java
ersonalization/AccountUtils.java
1b46738796eafa2dc062f4a93b0ea42023945737 28-May-2013 Tadashi G. Takaoka <takaoka@google.com> Rename "csv" in StringUtils to "commaConcatenatedText"

Change-Id: I5a32882a088e4ff5bfe973a86465d6ff839113d9
dditionalSubtype.java
nputAttributes.java
tringUtils.java
3d97b95b90a1c40a22981d563e12cfe86f60ae71 28-May-2013 Satoshi Kataoka <satok@google.com> Implement KIND_OOV_CORRECTION

Bug: 9127749
Change-Id: I96db15a3138e6b522c4c6ad16cc7faad577d3772
atinIME.java
uggestedWords.java
28b6262b542bbebfb660ad022957e88f8633b484 25-May-2013 Keisuke Kuroyanagi <ksk@google.com> Merge "Passing options to native suggestion method."
740d829092c1900e713293e805ae333e29cb2dd0 24-May-2013 Tadashi G. Takaoka <takaoka@google.com> Merge "Use localized toLowerString in AutoCorrection.isValidWord"
94027c7201a376107a35ec78cd21db1905662601 24-May-2013 Tadashi G. Takaoka <takaoka@google.com> Use Locale.ROOT for locale neutral operations

Bug: 9112465
Change-Id: I6cd63007287b5a1a57cfbabff35d53f66fc5620e
ocaleUtils.java
uggest.java
618407ab7e94680f3942fc10287c56fcadcf8a46 24-May-2013 Tadashi G. Takaoka <takaoka@google.com> Use localized toLowerString in AutoCorrection.isValidWord

Bug: 9112465
Change-Id: I63eb4115f393444560e80220d4c90f0f7101b934
utoCorrection.java
atinIME.java
uggest.java
ebe0544fc83f0f6796e5b0a019222b727a8eb6b3 24-May-2013 Tadashi G. Takaoka <takaoka@google.com> Remove redundant method AutoCorrection.isInTheDictionary

Change-Id: I0737fb0b68f411f4db06014f2d94804935808922
utoCorrection.java
uggest.java
50db5f0fffdc35e9fe0bed27e7d630d571727e06 24-May-2013 Keisuke Kuroyanagi <ksk@google.com> Passing options to native suggestion method.

Change-Id: I6da180cfa1b9e5aa39600e78e3bc41209a40f583
Signed-off-by: Keisuke Kuroyanagi <ksk@google.com>
inaryDictionary.java
ativeSuggestOptions.java
6f9105383a56c9ae15e35d3abf19c33d1efe5636 22-May-2013 Tadashi G. Takaoka <takaoka@google.com> Remove unnecessary methods of KeyboardSwitcher

Change-Id: Idd3647bb1a1d40df8bb89eda715d45427a58d0cd
atinIME.java
uggestions/SuggestionStripView.java
db7d4da3e5e51662ae561632ad104473d1f825c4 22-May-2013 Tadashi G. Takaoka <takaoka@google.com> Clean up IntentCompatUtils a bit

Change-Id: I803aa6c2160bfa1ffe992b28e7eb6e8a320c9762
etup/LauncherIconVisibilityManager.java
d96f63d2ed2dfcdfe8c83ed8b9020c2aae5b351d 21-May-2013 Jean Chalard <jchalard@google.com> am e2bee5b1: am ede3db51: Merge "Fix a crash on a secondary user" into jb-mr2-dev

* commit 'e2bee5b134aaefc69a680be8ea65e2d7640b3ead':
Fix a crash on a secondary user
ede3db51f0fb16559c27aa29a7cf07784bb9431c 21-May-2013 Jean Chalard <jchalard@google.com> Merge "Fix a crash on a secondary user" into jb-mr2-dev
05ea7c5d0233d2ba703de1123e99f81938badf66 21-May-2013 Jean Chalard <jchalard@google.com> am 167ba345: am 89fe1f50: Add a method to work around apps broken by recorrection

* commit '167ba3459b0ce02b9add12ade9388bd2b1e6eb62':
Add a method to work around apps broken by recorrection
10e8b9397717cc04b9a2aaee4b91f9d7ccbbf8e6 21-May-2013 Satoshi Kataoka <satok@google.com> Fix a crash on a secondary user

Bug: 9054063
Change-Id: I092ab6e0077578d0aca57d2e41dfbc00b46e1ba4
ichInputMethodManager.java
etup/LauncherIconVisibilityManager.java
0013f97dddb581b0ac506a867ebb95705e929479 21-May-2013 Jean Chalard <jchalard@google.com> am 5906b05b: am 7058b02a: Extract a new class for app-specific workarounds.

* commit '5906b05bb50c0a67bd4f03fcfae41db3daefe0bc':
Extract a new class for app-specific workarounds.
89fe1f50881180730e451cbe6ec4d1f8dc67acf1 15-May-2013 Jean Chalard <jchalard@google.com> Add a method to work around apps broken by recorrection

Bug: 8944307
Change-Id: I8986622554f30aaf4f595099c4ab5652b75c972c
atinIME.java
7058b02a9c798c21b169b778be2befc7739f4e9b 15-May-2013 Jean Chalard <jchalard@google.com> Extract a new class for app-specific workarounds.

Bug: 8944307
Change-Id: Iaff9dd03d3d856a6bdaa2b16c4e71e95cd2b6349
ictionaryPackInstallBroadcastReceiver.java
atinIME.java
argetApplicationGetter.java
argetPackageInfoGetterTask.java
500dea6ad45d82d745902103067885f58b42fddf 17-May-2013 Kurt Partridge <kep@google.com> Fix punctuation logging

Punctuation is currently put into the same LogUnit as the
following word. This is counter-intuitive and makes
post-processing more complicated.

This change causes punctuation to be put into its own
LogUnit.

A tricky case is the phantom space. A phantom space is
inserted right before other text, whose MotionEvents have
already been collected and inserted into mCurrentLogBuffer.
Phantom spaces are handled by creating their own LogUnit and
inserting it into the LogBuffer right before
mCurrentLogBuffer is shifted in.

Change-Id: I102d7cd93982ad37ba0abb6c1ac0f66b85b5f95d
atinIME.java
17b63ba588598d0bd6f643d3a8cb385c75d2c163 16-May-2013 Kurt Partridge <kep@google.com> Merge "Remove unnecessary commit/uncommit"
b1e37e4a478a577c59930767148e50f8f45af21f 15-May-2013 Jean Chalard <jchalard@google.com> am f1dcf725: Merge "Don\'t process recorrection or resets when not shown"

* commit 'f1dcf725061b3e61e40540566a5385cf4934f424':
Don't process recorrection or resets when not shown
atinIME.java
25f0c8089eecfcded7f41c66453bd874ba92219a 15-May-2013 Tadashi G. Takaoka <takaoka@google.com> am 96a9f357: Merge "Fix unintentional setup step advance in orientation change"

* commit '96a9f357c7e2a059687926cd7cd52ac5d06bc65e':
Fix unintentional setup step advance in orientation change
etup/SetupWizardActivity.java
7fe675440e5ecc3da872803dae60bec8bd66c9e5 15-May-2013 Tadashi G. Takaoka <takaoka@google.com> am 769427cf: Adjust aspect ratio of setup image

* commit '769427cff24944958f5f1f6179090a86444f3eab':
Adjust aspect ratio of setup image
etup/SetupWizardActivity.java
f1dcf725061b3e61e40540566a5385cf4934f424 15-May-2013 Jean Chalard <jchalard@google.com> Merge "Don't process recorrection or resets when not shown"
c9aaba125365cf767356a4bea442153e95bbf6a1 14-May-2013 Jean Chalard <jchalard@google.com> Don't process recorrection or resets when not shown

Bug: 8954116
Change-Id: Ica27dbfc570643bb81e6cdf34cc7c796ea080d71
atinIME.java
9b4a883e0961652e60f7934d3b92074f47f7bc23 15-May-2013 Tadashi G. Takaoka <takaoka@google.com> Fix unintentional setup step advance in orientation change

Bug: 8159728
Change-Id: I53e7d7c8fb5cc231ea94474b091e550f77ae8dab
etup/SetupWizardActivity.java
769427cff24944958f5f1f6179090a86444f3eab 14-May-2013 Tadashi G. Takaoka <takaoka@google.com> Adjust aspect ratio of setup image

Bug: 8159728
Change-Id: I578014912fa63c4c9b4c2c89aeae7ffec836b06c
etup/SetupWizardActivity.java
993acbaaa27505c8b1b95b66caf70ee98145b55c 14-May-2013 Kurt Partridge <kep@google.com> Remove unnecessary commit/uncommit

When the user reverts a commit, this causes the committed
word to be changed. The user usually then goes back to edit
that word. Going back to edit causes an uncommit, so that
the editing actions are added onto the LogUnit containing
the operations used to construct the word.

But currently, reverting also involves its own
commit/uncommit pair, with the caller performing the
uncommit, and the commit happening inside the revert
command. This may have been necessary in the past, when
revert was called in different situations, but is
unnecessary now. Furthermore, the guarding conditions are
currently such that the uncommit doesn't always undo the
effects of the commit, corrupting the log output.

Change-Id: I74af41f4f1db2fcabfa496dcc4a2d7bd0af19b3a
atinIME.java
8b56ad7814455f3b5e1c012aea9a5e02153ab199 14-May-2013 Tadashi G. Takaoka <takaoka@google.com> Merge "Revise welcome screen video and still image"
7348d9fb72bf9e85fbbf8ffd8328d4c26f1c8d0c 14-May-2013 Tadashi G. Takaoka <takaoka@google.com> Revise welcome screen video and still image

Bug: 8159728
Change-Id: Ief8d7197879d24ccef529e975c23d6f11c7aa458
etup/SetupWizardActivity.java
d6d70e7325d9667e2780a150015802af232e997d 14-May-2013 Ken Wakasa <kwakasa@google.com> Merge "Revert "Fix isSuggestionsStripVisible when keyboard hidden""
3efa36f6aab4d3fd970f87a72805e647213105eb 14-May-2013 Ken Wakasa <kwakasa@google.com> Revert "Fix isSuggestionsStripVisible when keyboard hidden"

This reverts commit cb0d1c4c584f3f47da3f630441b7de1e741584e0

Change-Id: Ie2c8e01c25bd051b6157e8f32ab84392a0c7252a
bug: 8954116
atinIME.java
41016acacfa21354f59ed51db1f85ea3d99bf6a4 13-May-2013 Tadashi G. Takaoka <takaoka@google.com> Back to previous keyboard layout by canceling sliding input

Bug: 8915171
Change-Id: Iabdeb7920f67f89246087c3ee06240406ecfbc3d
atinIME.java
cb0d1c4c584f3f47da3f630441b7de1e741584e0 14-May-2013 Jean Chalard <jchalard@google.com> Fix isSuggestionsStripVisible when keyboard hidden

When the keyboard is hidden, the suggestion strip is
never visible.

Bug: 8954116
Change-Id: I9f242d07b49ad60b625a22429bb013251e814905
atinIME.java
b121538e0c68e0cefded2075ff3b7fb0750e2b44 13-May-2013 Tadashi G. Takaoka <takaoka@google.com> Tune maximum keypress duration to 100 milliseconds

Bug: 8556975
Change-Id: If7839c5764f7a269243a9570c0b7782b6f7ee73b
eekBarDialogPreference.java
b5f67e7faf498eac634be0cfd2b8d4ac7e9a3b76 13-May-2013 Tadashi G. Takaoka <takaoka@google.com> Add device specific keypress vibration duration database

Bug: 8556975
Change-Id: I11260a64dc13c102bac7a9742dc66f2b05fd32de
esourceUtils.java
18184eacb149f1b12b859ff8631340a9f73bf8ac 13-May-2013 Tadashi G. Takaoka <takaoka@google.com> Support regular expression for condition pattern

Bug: 8556975
Change-Id: Iffc53d6a40dd77860434c5f7f4f59af5cd1ba92b
esourceUtils.java
d69fa0a09af7e9a524751dac1522c951abd92530 13-May-2013 Tadashi G. Takaoka <takaoka@google.com> Support multiple condition for getDeviceOverrideValue

Bug: 8556975
Change-Id: I29d3a305b6ac3d8e3620c6d8592d85047d62bf48
esourceUtils.java
tringUtils.java
565ced4546420e9e17c7747f9e207ca6773598e3 10-May-2013 Tadashi G. Takaoka <takaoka@google.com> Merge "Refactor StringUtils.findPrefixedString to findValueOfKey"
6d3d2ae0647792c60728b916e25321e93f6f971f 10-May-2013 Tadashi G. Takaoka <takaoka@google.com> Refactor StringUtils.findPrefixedString to findValueOfKey

Bug: 8556975
Change-Id: I275c99db8a0d10594a5a8c0c27ebc1a87495c307
esourceUtils.java
tringUtils.java
4705c0fa7ca9527f6a3d7cb47542de734a56337d 09-May-2013 Tadashi G. Takaoka <takaoka@google.com> Fix screen flash when launching settings activity

Bug: 8336068
Change-Id: I90a0f259129a3f3319b158b060154cc43960c234
etup/SetupWizardActivity.java
2b5c9726f4a7d24497fc1df17c6ce57188c99cab 09-May-2013 Tadashi G. Takaoka <takaoka@google.com> Introduce another activity to launch setup wizard

Bug: 8336068
Change-Id: I35b94dd87c5b01d3e927da8f918a5398dd565d33
etup/SetupActivity.java
etup/SetupWizardActivity.java
9ed322b40f70bee4f08032dfe1fe902062d1f42c 09-May-2013 Tadashi G. Takaoka <takaoka@google.com> Keep SetupActivity alive to check re-launching from launcher

Bug: 8336068
Change-Id: I183b8e3fd1b3898d5f8dbbb13a0c93c64341fc38
etup/SetupActivity.java
b902109000bcef184e69daac7dc3906fc969791e 09-May-2013 Satoshi Kataoka <satok@google.com> Fix usages of getEnabledInputMethodSubtypeList

Bug: 8450279
Change-Id: Ib8433442ae6ca6c28da2652bff687cdeaf7c196e
ichInputMethodManager.java
ubtypeSwitcher.java
71d52474fd380f967287cd5eee0084791463d162 08-May-2013 Jean Chalard <jchalard@google.com> Merge "Optimizations and safeguards."
9f9cc032773a528b4eb6e036db0c37ff45385cce 08-May-2013 Jean Chalard <jchalard@google.com> Optimizations and safeguards.

- Don't call finishComposingText when useless.
- Add safeguards against calling setComposingRegion when the
data returned by the editor is inconsistent.
- Cancel pending recorrection messages when new messages arrive.

Bug: 8842941
Bug: 8845001
Change-Id: I939701033cf5c2bbd85871ecf83e329021ddeb91
atinIME.java
ichInputConnection.java
5648054667c89d1a61c6792ef226eabedb30443d 08-May-2013 Satoshi Kataoka <satok@google.com> Add account e-mail addresses to the user dictionary

Bug: 8683365
Change-Id: Id72540c515e61c3dd854892599645dd6d22b496d
ontactsBinaryDictionary.java
ersonalization/AccountUtils.java
faa94a2d0abfc8e0f03799dd5f0f2125e44b0bfd 08-May-2013 Satoshi Kataoka <satok@google.com> Merge "Add owner's info to the dictionary"
fc6d4a5412c83ff2bd59d514b8970a5ee56e9f17 08-May-2013 Satoshi Kataoka <satok@google.com> Add owner's info to the dictionary

Bug: 8683365
Change-Id: I1c30eac128b4172526423ebeeb45bc6cee7fb67b
ontactsBinaryDictionary.java
6435c80087b1c698e025b7be809d6236fcdd9e64 08-May-2013 Satoshi Kataoka <satok@google.com> Merge "Fix an issue on the transition between the setup and the settings"
331d256f2127e1145985c273e3bc61c6fad12361 07-May-2013 Tadashi G. Takaoka <takaoka@google.com> Fix an issue on the transition between the setup and the settings

Bug: 8853220

Change-Id: I99b6c46d900e9391f77986d1ae6e3edeaeff01e5
etup/SetupActivity.java
f59c4f6840f82892397752b558251eb71f125d3a 08-May-2013 Satoshi Kataoka <satok@google.com> Fix labels in the personal dictionary settings

Bug: 8855738
Bug: 8853764
Change-Id: I03383bb5d6d72645f511cc6175dec747eb13a840
serdictionary/UserDictionaryAddWordFragment.java
serdictionary/UserDictionarySettings.java
244a24e3685f3fc1d0cbfaf375ad137f917740c2 07-May-2013 Satoshi Kataoka <satok@google.com> Consolidate dummy proximity info to the spell checker info

Bug: 8783170

Change-Id: I067486e5ec1ae7cdef8e2121392464ba71ee8add
ordComposer.java
pellcheck/AndroidSpellCheckerService.java
pellcheck/AndroidWordLevelSpellCheckerSession.java
pellcheck/DictAndKeyboard.java
pellcheck/DictAndProximity.java
pellcheck/DictionaryPool.java
pellcheck/SpellCheckerProximityInfo.java
2afe88b8d76eb148e533d416a1893e5645813392 07-May-2013 Jean Chalard <jchalard@google.com> Merge "Unify space-adding on gestures."
e8b9b3547145c5f706eede949e6c1c1ddcc9f857 07-May-2013 Jean Chalard <jchalard@google.com> Unify space-adding on gestures.

This is much simpler, and more correct.

Bug: 8808497
Change-Id: I7a56bf9d6d9fb481f898b7a9f5898a86c11b34c0
atinIME.java
a9dd74cf3f47f55a6fe33ef7d54c0ac7cb2ae4c7 07-May-2013 Satoshi Kataoka <satok@google.com> refactor spell checker

Change-Id: Ie7bea23f2ac54f03572e77c31ba7cb3d5e8f8d2f
pellcheck/AndroidWordLevelSpellCheckerSession.java
a5be033d4a7a141615e7d784f9218a476a10e018 02-May-2013 Tadashi G. Takaoka <takaoka@google.com> Preserve setup wizard step while orientation change

Bug: 8159728
Change-Id: I596f59749443b8878b5613285f0fe793d449cdbd
etup/SetupActivity.java
83757d439ea15c5304a048868edb16d5ef7fd5cb 01-May-2013 Jean Chalard <jchalard@google.com> Merge "Pass blockOffensiveWords as a parameter"
2dbb5957e3c8354fa9bcb1e08c7ce81387b7fe25 01-May-2013 Jean Chalard <jchalard@google.com> Pass blockOffensiveWords as a parameter

Bug: 8773353
Change-Id: Ic1019742ce7ff6e4f7fff4d2729f8ab52d841488
inaryDictionary.java
ictionary.java
ictionaryCollection.java
xpandableBinaryDictionary.java
xpandableDictionary.java
atinIME.java
uggest.java
ynchronouslyLoadedContactsBinaryDictionary.java
ynchronouslyLoadedUserBinaryDictionary.java
pellcheck/AndroidWordLevelSpellCheckerSession.java
pellcheck/DictionaryPool.java
1490b534162cc5f99e2a1ed93c63a1fa4045e5ca 01-May-2013 Ken Wakasa <kwakasa@google.com> Cleanup -- follow up to Ief04a4abb6dc1f79660a2e419c9c5e271802b5a1

Change-Id: Icb89c5119a67edaa019d5f7645b734cfcfc29041
pellcheck/AndroidSpellCheckerService.java
1641a4a4576e73bbf0218178c885f448d669b472 01-May-2013 Satoshi Kataoka <satok@google.com> Merge "Fix Google spell checker tests"
d5781eef628c2cd4ac38029040746daa4679d637 01-May-2013 Satoshi Kataoka <satok@google.com> Fix Google spell checker tests

Bug: 8613307

Change-Id: Ief04a4abb6dc1f79660a2e419c9c5e271802b5a1
niUtils.java
pellcheck/AndroidSpellCheckerService.java
6f7905ae757c30ac0f8080f025b88afc61a6f6b1 01-May-2013 Tadashi G. Takaoka <takaoka@google.com> Introduce MoreSuggestionsListener class

Bug: 8694255
Change-Id: I9420a7cb1983c6211f58d13b3b11db4347c3f99b
uggestions/MoreSuggestions.java
uggestions/MoreSuggestionsView.java
uggestions/SuggestionStripView.java
47a66b12ec49179a09642bf48a0d2bd49d9f3458 01-May-2013 Tadashi G. Takaoka <takaoka@google.com> Override View.drawableStateChanged to detect state_pressed

Unlike on JB, View.setPressed(boolean) is never called when the view
is pressed on ICS. To detect a pressed state of the view, we need to
override View.drawableStateChanged() and check the drawable state
contains state_pressed.

Bug: 8159728
Change-Id: I481051364d6f3d1370742723c3ce19d898ea5463
etup/SetupStartIndicatorView.java
7b2114a4283ccd90a937b14145c11125824cd1bd 30-Apr-2013 Tadashi G. Takaoka <takaoka@google.com> Display still image when device can't play welcome video

Note that the still image in this change is a placeholder and must be
replaced by final asset.

Bug: 8159728
Change-Id: I4f5a28e0af711edacbc87c2ee64508f34f67f0da
etup/SetupActivity.java
019c38060d8479e26895f94e00fa53586ce28a70 01-May-2013 Jean Chalard <jchalard@google.com> am ace3f3c5: am 25c90e6d: Merge "Don\'t do recorrection when suggestions are off." into jb-mr2-dev

* commit 'ace3f3c5d56f5b4a58e8dc400fec1bb8c7b17a63':
Don't do recorrection when suggestions are off.
aa3a96f3a1c5aeacefdfd6e6a33e58c9d9c49553 30-Apr-2013 Jean Chalard <jchalard@google.com> Don't do recorrection when suggestions are off.

Bug: 8767981
Change-Id: If5c775e488b91ae03ecce2673c99918ac8134928
atinIME.java
a0b62ece8383d8fae96287cc333e2165e29d21e0 30-Apr-2013 Ken Wakasa <kwakasa@google.com> Merge "Cleanup an unused return value"
ad46c9e0e08da6072c5342eb8ff361b5369c7174 30-Apr-2013 Tadashi G. Takaoka <takaoka@google.com> Catch error while playing welcome video

Bug: 8159728
Change-Id: Ic8eea7993f12395d6eca6db8d5529803251a9fee
etup/SetupActivity.java
0d6c87d113e56f8d701ec9ab6197a48b908d1f6d 30-Apr-2013 Ken Wakasa <kwakasa@google.com> Cleanup an unused return value

Change-Id: I974964aa3cc24b5480e57bd38c197fe7a49acaa4
inaryDictionaryFileDumper.java
inaryDictionaryGetter.java
5aa14c26361b3f45be7c0746f0db4ffbdc41b75d 30-Apr-2013 Satoshi Kataoka <satok@google.com> Fix the title of the fragment of the personal dictionary

This change is corresponding to I9b8bab21b144385bc2386e7fcb

Bug: 8600958
Change-Id: I0a0cf37d0a11c14a51dc63b2e4371facb34514d0
ettingsFragment.java
c5ebc792d6f786a6dd46eafdc7895faa5cb9259a 29-Apr-2013 Jeff Sharkey <jsharkey@android.com> Avoid leaking AssetFileDescriptor.

Change-Id: Iac388c8aefc684980cb4c7131fb47319f6073eb3
inaryDictionaryGetter.java
be06bce18be0e1feddf0a1e8095875e00c1ece90 26-Apr-2013 Tadashi G. Takaoka <takaoka@google.com> Merge "Get rid of janky black box before the movie starts"
732c93815aecb9066b0b371774b8fc6e88699144 26-Apr-2013 Tadashi G. Takaoka <takaoka@google.com> Get rid of janky black box before the movie starts

Bug: 8159728
Change-Id: I1d0a01a05b3b694d21fdfdc246d1329ab829908d
etup/SetupActivity.java
c03aaa1bde589f582daa83f1ecdc66ce8a4691b2 26-Apr-2013 Jean Chalard <jchalard@google.com> Merge "[ZF2] Read settings for profanity filtering."
adbafa1a9b5adfa21884cc8fc7e73d61ab08d3c8 26-Apr-2013 Satoshi Kataoka <satok@google.com> Merge "Support ICS on the user dictionary settings"
dcef94165b256c2bc8d3a05e2fe0caf0795c7155 25-Apr-2013 Satoshi Kataoka <satok@google.com> Support ICS on the user dictionary settings

Bug: 8600958
Change-Id: I50e9228afc7b04147eb7c4734d3145abe8859a30
ettingsFragment.java
serdictionary/UserDictionaryAddWordContents.java
serdictionary/UserDictionaryAddWordFragment.java
serdictionary/UserDictionaryList.java
serdictionary/UserDictionarySettings.java
82e476b1885294645bf4f89441e1deea2baf113b 26-Apr-2013 Tadashi G. Takaoka <takaoka@google.com> Keep task stack when invoking settings from setup wizard

Bug: 8336068
Change-Id: If1df32595f72285b2dad16e28b4429b7b6059839
etup/SetupActivity.java
bb61293675234f6e5e1312db70618be985b37a83 22-Apr-2013 Jean Chalard <jchalard@google.com> [ZF2] Read settings for profanity filtering.

Bug: 7226877
Change-Id: Ie0c713e1eba1529c0b288a1e5011023a79bedd6b
inaryDictionary.java
ettings.java
ettingsValues.java
99e998286d71cf698d0a809a29b15d1a231ebbb1 22-Apr-2013 Jean Chalard <jchalard@google.com> [ZF1] Check profanity in Java rather than in native

Bug: 7226877
Change-Id: Ib6c32bfee9977c27dbf7e1e590b2b00d9ceb7301
inaryDictionary.java
uggestedWords.java
43590149a5c2073a9fc8e3ed6afbf21fb017193e 25-Apr-2013 Jean Chalard <jchalard@google.com> Work around a bug in older DownloadManager versions.

This adds a number to the extension.

Note that for DownloadManager to keep this, the server
needs to send it a mime type it does not recognize. Right
now, it does not recognize application/json so it's okay,
but we'd do well to remove the content/type header from
the server to prevent problems.

Bug: 8467516
Change-Id: Ic484f66ac3f67c36f59f2c0bcb8c7fdeb6e8590d
ebugSettings.java
tils.java
a995bf4031dd19ff9c17dd4bf7969c713dc16dcf 25-Apr-2013 Jean Chalard <jchalard@google.com> Put temp files within app files

Bug: 8715614
Change-Id: I307d83923070994525cf0d27aad403e881a89314
inaryDictionaryGetter.java
ictionaryInfoUtils.java
30f0f3a92a9244b8a0a0dbf03126955206958fff 25-Apr-2013 Satoshi Kataoka <satok@google.com> Merge "Implement a functionality to add an entry to the user dictionary"
a79ba8a3d6dbdee777f156449c436fd3a4a57feb 24-Apr-2013 Satoshi Kataoka <satok@google.com> Implement a functionality to add an entry to the user dictionary

Bug: 8600958

Change-Id: Ic472500406b9d54ec4052c490ee7cef62fc4e52a
ettingsFragment.java
serdictionary/UserDictionaryAddWordContents.java
serdictionary/UserDictionaryAddWordFragment.java
serdictionary/UserDictionaryList.java
serdictionary/UserDictionaryLocalePicker.java
serdictionary/UserDictionarySettings.java
46913aedb43af4d0f735ec80095bea031d344710 24-Apr-2013 Tadashi G. Takaoka <takaoka@google.com> Merge "Add next axction to setup wizard"
b5d33059e063c69c730ac5b0b9bbbd8dc5272c0c 23-Apr-2013 Tadashi G. Takaoka <takaoka@google.com> Add next axction to setup wizard

Bug: 8159728
Change-Id: Ia37ab32b63e4eda29bf1411719d00846525c278f
etup/SetupActivity.java
b35aa487fd7241322d53079bc1c477b2e18dc055 24-Apr-2013 Satoshi Kataoka <satok@google.com> Merge "Make aggressive threshold really aggressive"
70f2762e285fe85676de4270edee97de54674879 24-Apr-2013 Satoshi Kataoka <satok@google.com> Make aggressive threshold really aggressive

Bug: 8701480
Change-Id: If8242cfe61f3e56712fd6e25e36858cff7f0d177
ettingsValues.java
e918bf07a0562183d84ed04d8224a4ea732056ce 24-Apr-2013 Tadashi G. Takaoka <takaoka@google.com> Refactor SetupStepGroup

Bug: 8159728
Change-Id: I1ab846d0910aacbd2f979289d72bafea8a8e0378
etup/SetupActivity.java
etup/SetupStepIndicatorView.java
480284e28a26218bb615f981314196c4e205cae7 23-Apr-2013 Tadashi G. Takaoka <takaoka@google.com> Merge "Add edit personal dictionary settings menu"
c3f4783649b0f818a8b37a9d2b2a2e5b5f37f894 19-Apr-2013 Jean Chalard <jchalard@google.com> Add an additional ID to the client info.

Bug: 8651863
Change-Id: I748f35726d72ede926d5b06ed87ff029317f1ac3
inaryDictionaryFileDumper.java
etadataFileUriGetter.java
9b4e3db1afb9cfb089aa81e87075cdc8e2740a87 22-Apr-2013 Satoshi Kataoka <satok@google.com> Legal notice

Bug: 8533258
Change-Id: I00e4916f86f29dd476c51a65e8fa5a6c136fd179
ebugSettings.java
eedbackUtils.java
ettings.java
ettingsFragment.java
tils.java
4f2535398a627e82509a996f616d03aa7f4a75c7 15-Apr-2013 Tadashi G. Takaoka <takaoka@google.com> Add edit personal dictionary settings menu

Bug: 8600958
Change-Id: I303adfbe25a56cc9b5ee9f3b5169a5bca0ad6c4a
ettings.java
ettingsFragment.java
508ab248758c167400c2a868d6d6a2e24ddb717b 22-Apr-2013 Tadashi G. Takaoka <takaoka@google.com> Merge "Implement IMM.switchToNextInputMethod() for ICS"
85629debaaaa576047a4f01430411f0d7b41762d 17-Apr-2013 Tadashi G. Takaoka <takaoka@google.com> Implement IMM.switchToNextInputMethod() for ICS

Bug: 8633367
Change-Id: Ifc0f97b1fdf5e5cc3601c24a503058c4822478dc
ichInputMethodManager.java
f0e579a1715e93708923273a84a97d61dc84031b 22-Apr-2013 Jean Chalard <jchalard@google.com> Don't kill suggestions with native score < 1

Change-Id: I954856b7fec0b91e19a467f2a87978d49caa639d
inaryDictionary.java
68e4de1e78c62802fb18be120d58646ca35fe320 18-Apr-2013 Tadashi G. Takaoka <takaoka@google.com> Add welcome screen to setup wizard

This is a preliminary implementation because the welcome screen video
is just a placeholder.

Bug: 8159728
Change-Id: I6a2459a266babec2f078fc393b18c77b0b7992a8
etup/SetupActivity.java
etup/SetupStartIndicatorView.java
fcefabf9abafc867ae858160169bb1cd19981e07 18-Apr-2013 Tadashi G. Takaoka <takaoka@google.com> Groundwork to implement landscape and welcome screen

Bug: 8159728
Change-Id: I05ff6578980ec2e210ebb482ea51b1600e74a4f4
etup/SetupActivity.java
16ec2e1155a0152c6ded42bc8941b90b7cd08d35 19-Apr-2013 Tadashi G. Takaoka <takaoka@google.com> Merge "Add finish action to setup wizard"
192743a6aea378163d4ad47037ee16509b1d7b2a 18-Apr-2013 Tadashi G. Takaoka <takaoka@google.com> Add finish action to setup wizard

Bug: 8159728
Change-Id: I1578fc31875a1edbfea213fb5e1a1b464d02e941
etup/SetupActivity.java
ff078041e7829e1a0d4537c395dad0cf9c4d7f51 19-Apr-2013 Jean Chalard <jchalard@google.com> am f1dde6a1: am 758c74fe: Merge "Fix an NPE in recorrection" into jb-mr2-dev

* commit 'f1dde6a1bf659d182db5a2645515cc1efe74459c':
Fix an NPE in recorrection
e5cbdfe1b83032c6ea212dd95c3968c522baa1d1 19-Apr-2013 Jean Chalard <jchalard@google.com> am 3629605b: am 77226ed0: Merge "Fix an NPE in recapitalize" into jb-mr2-dev

* commit '3629605b7c14b5eea498ef9588f4fef788ef454c':
Fix an NPE in recapitalize
758c74fe82683aef08d93a935433c027a7bc21a7 19-Apr-2013 Jean Chalard <jchalard@google.com> Merge "Fix an NPE in recorrection" into jb-mr2-dev
77226ed006ba32228cd5db19031e04d13d87b27e 19-Apr-2013 Jean Chalard <jchalard@google.com> Merge "Fix an NPE in recapitalize" into jb-mr2-dev
ae7d1530b48e31266dbe8c6c5f33481853092170 19-Apr-2013 Jean Chalard <jchalard@google.com> Fix an NPE in recorrection

Also, theoretically, we don't want to retrieve older suggestions if
there are no results for a recorrection - that would look random.
This bug addresses this too.

Bug: 8657919
Change-Id: I44f36d34a708a968ab71fa0592da57f4c97d4b7f
atinIME.java
3bdf341ea001cef70da803749e17484d19a9726a 19-Apr-2013 Jean Chalard <jchalard@google.com> Fix an NPE in recapitalize

Bug: 8657736
Change-Id: I459d1c200826c1c394f8207475ecf60a4f356793
atinIME.java
1f6e06cf9244cdd8803ee653f948e169c190b067 19-Apr-2013 Tadashi G. Takaoka <takaoka@google.com> Merge "Make setup wizard step number highlighted when activated"
b84c0468e4a9d21ef78215d1b7320e955f06a832 17-Apr-2013 Tadashi G. Takaoka <takaoka@google.com> Make setup wizard step number highlighted when activated

Bug: 8159728
Change-Id: I62ccbebaae0a0c4a93ad7c155fc3020a7f357f3c
etup/SetupActivity.java
3a18ae70ccdce702478bcb7c7d238373b460b014 18-Apr-2013 Jean Chalard <jchalard@google.com> am a5d2da82: am d91268ad: Initialize dictionaries at onStartInputView

* commit 'a5d2da82a6a4486a4ef74e51ddd1c875f4c2d935':
Initialize dictionaries at onStartInputView
d91268ad9fb69b4733044b4e466e1d33f6c4725f 17-Apr-2013 Jean Chalard <jchalard@google.com> Initialize dictionaries at onStartInputView

Bug: 8344402
Change-Id: I41b8440f0d72a66fde3f6feb0db8239c9bb10ea3
atinIME.java
uggest.java
d794f5ae2aee44b9ce75cd675cb7138cd9a4ea82 17-Apr-2013 Tadashi G. Takaoka <takaoka@google.com> Update setup wizard icons

Bug: 8159728
Change-Id: Ia5a14a35292b43dc1eaa2d4edd65134040355149
etup/SetupActivity.java
464202047d6813e7559ceb8e73aceae0b15da1d9 17-Apr-2013 Tadashi G. Takaoka <takaoka@google.com> Add user feedback to setup action labels and icons

Bug: 8159728
Change-Id: I46c77c31973ae492c2a12291f2e0b154f64d26c9
etup/SetupActivity.java
47a78aeb4d28e80810348e50677a2caa655cd606 17-Apr-2013 Tadashi G. Takaoka <takaoka@google.com> Merge "Finalize setup wizard strings and mark as translatable"
8712ac7945c14e9c1d695bcfa2bc6a6bebcfd8b4 17-Apr-2013 Tadashi G. Takaoka <takaoka@google.com> Finalize setup wizard strings and mark as translatable

Bug: 8159728
Change-Id: I9f6f04b09b2cefdb7ece76a4f3c39ab56d0c8fab
etup/SetupActivity.java
bb5deb82b5c68775dc6537757c03eba1504c0bb4 17-Apr-2013 Tadashi G. Takaoka <takaoka@google.com> Fix singleton/utility classes initialization in SettingsFragment

This is a follow up of Ide3cd3acba.

Bug: 8632344
Change-Id: Iafe51798a1a74eff5d8fcd6f0117d16b419d447d
ettingsFragment.java
ubtypeSwitcher.java
888a194cf19a2cd828511b7041fd2667944ea7ad 17-Apr-2013 Tadashi G. Takaoka <takaoka@google.com> Fix missing AudioAndHapticFeedbackManager initialization

Bug: 8632344
Change-Id: Ide3cd3acba3987317cff709fa591eadaa71834e8
ettingsFragment.java
73ec85b8ad3102ce1c7e6013be73afe83475e589 15-Apr-2013 Jean Chalard <jchalard@google.com> Don't insert automatic spaces when text looks like a URL

This is about as ad-hoc as it gets, but then again, what we want
is probably as ad-hoc as it gets.
All URL boxes I know of double as search bars, and not adding
automatic spaces there sucks (e.g. in Chrome URL bar).
And in other boxes actually you don't want to add a space if
it looks like a URL. QSB isn't even a search box, and it behaves
like this.

So I think this is actually the right answer to the problem.

Bug: 7062925
Change-Id: Ib09472b34644fd5bf2dc84bb97cedeeba28bcd02
onstants.java
ontactsBinaryDictionary.java
nputTypeUtils.java
atinIME.java
ichInputConnection.java
tringUtils.java
pellcheck/AndroidWordLevelSpellCheckerSession.java
78d658734dc426ca2170fcdee74819c1f8171b78 16-Apr-2013 Jean Chalard <jchalard@google.com> Merge "Don't recapitalize on shift while on symbol layout"
1f523646303b935e3d5031e75a4c74f4ecd96b97 15-Apr-2013 Jean Chalard <jchalard@google.com> Don't recapitalize on shift while on symbol layout

Change-Id: Ibf2cdedf510c296561bb5eeb6ff18c3414d6d6f4
atinIME.java
8094bf45d73a5f7257076afc97d91d6708ee03c4 15-Apr-2013 Jean Chalard <jchalard@google.com> Match the keyboard state to the recapitalize state.

Bug: 7657025
Change-Id: I2f8fe7fc4596a498322ba5ccabbd0c18a2bc36cf
atinIME.java
ecapitalizeStatus.java
e259b9f57de4b3b95f5bef0d1a1566753805c926 16-Apr-2013 Jean Chalard <jchalard@google.com> Merge "Clean up RecapitalizeStatus"
fd15686ae915d9a95f1b6d52b1fc720bf745d77c 16-Apr-2013 Jean Chalard <jchalard@google.com> Merge "Fix an NPE"
b794e904a3586ac5f2d31fb24d5a1a8f9aa964b8 15-Apr-2013 Jean Chalard <jchalard@google.com> Clean up RecapitalizeStatus

Change-Id: Ib4d002f90cd3a0e9ad4c04b883b0c1f05ada3ccf
atinIME.java
ecapitalizeStatus.java
a024ac6b206316a96d472d4e2dd3ef1a22e05eac 16-Apr-2013 Jean Chalard <jchalard@google.com> Merge "Fix an NPE"
2b42ad0eaa5398853fd7d87a2580226d784a55eb 15-Apr-2013 Jean Chalard <jchalard@google.com> Fix an NPE

Bug: 8620678
Change-Id: Ia91761f33518a010b2844d34523cadece261c67e
atinIME.java
7be3ca2ccfe05f6659dbbac84de9ff1be4d92e3d 15-Apr-2013 Jean Chalard <jchalard@google.com> Fix an NPE

Bug: 8620758
Change-Id: I39f07939ebb6148a48aae5b915ee807002a5b02d
atinIME.java
5fca38c538bd57639f70332b7f73919acac18a86 15-Apr-2013 Jean Chalard <jchalard@google.com> Merge "Small performance improvement / minor bugfix"
b76ce1251ee78067ebdc349ea94ea145d87488c4 15-Apr-2013 Jean Chalard <jchalard@google.com> Merge "Remove a useless function"
bc501647fd5b7af741c65d62a18797e5cf656593 15-Apr-2013 Jean Chalard <jchalard@google.com> Remove a useless function

Bug: 8583091
Change-Id: I9195d68e44e9a282e25ccd2978d7b4088f600170
tringUtils.java
1e5bbe4ce85db23528772d1b706149bb563c3ac7 15-Apr-2013 Jean Chalard <jchalard@google.com> Small performance improvement / minor bugfix

The only place where it's used is checked for nullity.
Also, it's possible, also difficult, to match a different
recapitalize with the old code, triggering a bug that
this fixes.

Change-Id: I717d6df489025c75d1caca290a9086c3b39a9306
atinIME.java
a5a2f3e3c77ebf2e1bb74b08c8587c15b9711ac8 14-Apr-2013 Jean Chalard <jchalard@google.com> Remove gesture suggestions with an INT_MIN score

Bug: 7980115
Change-Id: I8de31068992aec712eaad132857d9dc61f28e30a
uggest.java
033958330dbfed19ea15379ff5d9a0a52aa375ff 15-Apr-2013 Jean Chalard <jchalard@google.com> Merge "Have Latin IME re-capitalize a selected string"
2995abe7aadd483aa57a9b088740d46ac07bbe46 03-Dec-2012 Jean Chalard <jchalard@google.com> Have Latin IME re-capitalize a selected string

Upon pressing Shift, if there is currently a selected string, have
Latin IME change its capitalization.
This does not yet have the keyboard mode follow the mode - the change
is complicated enough as is.

Bug: 7657025
Change-Id: I54fe8485f44e04efd72c71ac9feee5ce21ba06f2
atinIME.java
ecapitalizeStatus.java
ichInputConnection.java
ettings.java
0e9ee4d3bf75459560670ca5c28ff4c4f7c346fb 10-Apr-2013 Jean Chalard <jchalard@google.com> If there are no suggestion span, recompute suggestions.

Bug: 8084810
Change-Id: I1743c09c43ca6835bb2f607684b037bf17d36335
atinIME.java
uggestedWords.java
ordComposer.java
059e084e983ce4a1440dc065f5167d278d8939e7 15-Apr-2013 Jean Chalard <jchalard@google.com> Merge "Reject a previously user-refused suggestion."
d40f3f6bc1bcf07800fbee0468fe90d307ca28bb 12-Apr-2013 Jean Chalard <jchalard@google.com> Reject a previously user-refused suggestion.

If the user gestures a word, then hits backspace in
disapproval, and gestures about the same thing again,
make sure that we don't suggest the same thing again.

Bug: 7549311
Change-Id: I793bc4df7c3841fa8f2f4146707c26e873f374c1
atinIME.java
uggest.java
ordComposer.java
216fb6a0429162b2c6ee108d11117bbf4f7cc350 15-Apr-2013 Tadashi G. Takaoka <takaoka@google.com> Remove unnecessary harmful finish() from SettingsActivity

Bug: 8560722
Change-Id: I825b135bd13aca17e712330660978b834648dbc3
ettingsFragment.java
29105a725de0f1aeab5159f955da8a9875054701 15-Apr-2013 Tadashi G. Takaoka <takaoka@google.com> Add preference dependency to gesture input related options

Bug: 8613600
Change-Id: I279d3264080aede59203205c45763c7f8ff08ae6
ettingsFragment.java
e2af9b7eb519126e67fb054e8bd5064049958feb 15-Apr-2013 Tadashi G. Takaoka <takaoka@google.com> Merge "Reset vertical correction when more suggestions are in modal mode"
51c38a441a09a4920703e765cb26179e7a80f029 14-Apr-2013 Tadashi G. Takaoka <takaoka@google.com> Reset vertical correction when more suggestions are in modal mode

Bug: 8605150
Change-Id: Iadbebfb80e765c97e58e8524eb87419f2a9e41d4
uggestions/MoreSuggestionsView.java
uggestions/SuggestionStripView.java
c2e9c511cbc4bd374d3a0680c58da60043ef21c3 14-Apr-2013 Jean Chalard <jchalard@google.com> Fix Binary dict tests

There are two problems here. The first one is the tests would send
an invalid unicode character. Although we could want dicttool to
handle this more gracefully, it's fine for now.

The second problem is much more serious. If a node has more than
128 children, then the java code will crash trying to read the
dictionary back because of a bug that this change fixes. In
theory, it's possible that happens when we try to load the user
history dictionary back from the disk - native code is not affected
so there is no other point that may cause a problem.
In the practice, that means you'd need to have 129 words with a
common prefix (including empty string) but all different after
this. It's almost impossible with Google Keyboard since there are
only so many keys on the keyboard that you can make a word out
of, and then again you'd have to do it repeatedly until it
actually enters the user history dictionary, wait for it to get
saved on the disk.
The bad news is, if you manage to get this far, the keyboard will
crash every time and won't be able to get up until you clear
data for the package.
The good news is, the dictionary itself is not corrupted and only
the reading code is wrong. So updating to a newer version would
actually even recover from this situation.

All in all, considering how almost-impossible this is to trigger,
I don't think even a single user actually did hit this bug.

Bug: 8583091
Change-Id: Iabb2a7f47cbd9ed3193d2a3487318d280753e071
akedict/BinaryDictInputOutput.java
2cd1136b8ebedc7cf939d7d7546ed753191f8677 12-Apr-2013 Jean Chalard <jchalard@google.com> Merge "Remove the dialog to insert words to the dictionary."
91bcf5eb5dcf1f2ff66cfda90832db21bce7e330 12-Apr-2013 Jean Chalard <jchalard@google.com> Merge "Restart suggestions when the cursor moves."
02ce3dc2d11aba2b521f85223af1f870207b81dc 10-Apr-2013 Jean Chalard <jchalard@google.com> Fix a bug with bad application completions

Bug: 8561056
Change-Id: I91fb0ac76dabfc841bafc0e2c0ea9f63e6f604f9
ompletionInfoUtils.java
atinIME.java
ichInputConnection.java
6a114fa700d3ca73c608e1291b74bbbdd5a1a7b7 10-Apr-2013 Jean Chalard <jchalard@google.com> Restart suggestions when the cursor moves.

This uses the old suggestions. It does not try to recompute
new suggestions if there are no old suggestions yet: this is
coming in a later change.
If there are no suggestions, this shows the word itself
as a suggestion.

Bug: 8084810
Change-Id: I4c2e25df0ff3673be1825f57a0c19a9d23d47a48
ictionary.java
atinIME.java
ichInputConnection.java
ettings.java
uggestedWords.java
ordComposer.java
d24f93971292451c7a16456fecb8eff5deaa2c37 12-Apr-2013 Jean Chalard <jchalard@google.com> Merge "Make shortcut-only user dict entry non-words."
fb5869e9ff378d6834d0eaf970543a2f417c4103 12-Apr-2013 Jean Chalard <jchalard@google.com> Merge "Add a class to encapsulate getting the metadata URI"
6a2a4b8e4d0dee1564e59632b07a131d55d949d8 12-Apr-2013 Jean Chalard <jchalard@google.com> Make shortcut-only user dict entry non-words.

Bug: 7369456
Change-Id: Iecd6f6d617f31bd2aa6749516711aeb1f0549622
ontactsBinaryDictionary.java
xpandableBinaryDictionary.java
serBinaryDictionary.java
1a51833828569d76cbbc4865ccef8cc7f529dd68 12-Apr-2013 Jean Chalard <jchalard@google.com> Remove the dialog to insert words to the dictionary.

Bug: 8562529
Change-Id: Ibd853f0cb995e7fb35f8730eafcef73ead58c869
atinIME.java
serBinaryDictionary.java
8987cccf89fe54b42125f9b05069152db91e31f7 11-Apr-2013 Jean Chalard <jchalard@google.com> Add a class to encapsulate getting the metadata URI

Bug: 8376173
Change-Id: Icaac8ad412e0180c44e6a955943e3b208981b2ea
inaryDictionaryFileDumper.java
etadataFileUriGetter.java
b5d5190debf667b0faf034f73822b4cee923a36c 11-Apr-2013 Jean Chalard <jchalard@google.com> Merge "Add some utility functions."
1cbb0b8f2a745acf8d792e6ceafbe111816869bd 05-Apr-2013 Jean Chalard <jchalard@google.com> Add some utility functions.

Bug: 7657025
Change-Id: I4889721b5348c77ed56c5157557e9988dea48a02
tringUtils.java
f67a38819792cac8b48be4443e4de110767fc29a 11-Apr-2013 Tadashi G. Takaoka <takaoka@google.com> Merge "Add TypefaceUtils"
08ae0d5ca03ed455827e82222df249d1cafb5d71 10-Apr-2013 Tadashi G. Takaoka <takaoka@google.com> Add TypefaceUtils

Change-Id: I2d939bc1e3279253902b28ff12bbf7861716b64d
uggestions/MoreSuggestions.java
uggestions/MoreSuggestionsView.java
uggestions/SuggestionStripView.java
6d0027a46ab1b63c329b0a15d98844c374c862ab 11-Apr-2013 Tadashi G. Takaoka <takaoka@google.com> Merge "Use SparseIntArray instead of TreeMap<Integer, Integer>"
3722f0877e1a8032b0cce71778832b80c269abfb 11-Apr-2013 Jean Chalard <jchalard@google.com> Merge "Fix two bugs in dicttool"
ca0fdbbe2ec4d282ef14154d6994271d62e6b2ba 10-Apr-2013 Jean Chalard <jchalard@google.com> Fix two bugs in dicttool

Both bugs only affect debug mode. One has the wrong object tested
with equals, the other has the iteration failing in some cases.

Change-Id: Ie9100d257a3f9e3be340cf3e38116f63417bdc1a
akedict/FusionDictionary.java
fb3e805722975c39a47e29cfe6c27dd8a8f30701 10-Apr-2013 Jean Chalard <jchalard@google.com> Merge "Fix a bug where a space would not be inserted before a gesture"
30b8004b562bd43c8e42a838012fbab104bb0eab 10-Apr-2013 Jean Chalard <jchalard@google.com> Fix a bug where a space would not be inserted before a gesture

Bug: 8583675
Change-Id: I14924fef5663f48481994c02c56be45f9f85be65
atinIME.java
ce811f50d2cfa1cb5586d60943cfc10a28dffccc 10-Apr-2013 Tadashi G. Takaoka <takaoka@google.com> Use private lock object instead of synchronized method

Change-Id: Ifc62bacbd0583a7d102009681a94bdd9ccff7d47
atinIME.java
99b93d17d53c2d587c45373831b327f7851ec0a8 10-Apr-2013 Jean Chalard <jchalard@google.com> Fix a bug where autocorrection status would be wrong.

Change-Id: Ic220129dc59f585164dbf63591cd1c96de17fe6f
apsModeUtils.java
tringUtils.java
ubtypeLocale.java
uggest.java
pellcheck/AndroidSpellCheckerService.java
pellcheck/AndroidWordLevelSpellCheckerSession.java
262d5bd9f964d7fb18d96ec2ccf821b042aa3a3a 10-Apr-2013 Tadashi G. Takaoka <takaoka@google.com> Don't override EXTRA_SHOW_FRAGMENT if exists

Bug: 8541190
Change-Id: I37d3de12558efd55f157389d2e0b51fc83dc5da1
ettingsActivity.java
10af4b6e45689cba9bdc8c22f1bb76bf8bd2516b 10-Apr-2013 Tadashi G. Takaoka <takaoka@google.com> Merge "Separate StringUtils.capitalizeFirstCharacter"
d20c5a78e2819c21ecc5dff04bc82e9078c79dd4 09-Apr-2013 Tadashi G. Takaoka <takaoka@google.com> Separate StringUtils.capitalizeFirstCharacter

Bug: 8582061
Change-Id: Iac8f65defdd92d7df533bdf0e2937ad897d96363
tringUtils.java
ubtypeLocale.java
f606fd855425eba365c8dcc8463a61c4a77d6539 10-Apr-2013 Tadashi G. Takaoka <takaoka@google.com> Hide Setup Wizard icon for stock keyboard

Bug: 8581647
Change-Id: Id530f1a33a5c919f4a732ec0d545dfbe76e56316
ettings.java
ettingsFragment.java
869ea1e5556953eb6ead244cec318f03985308a8 21-Mar-2013 Tadashi G. Takaoka <takaoka@google.com> Use SparseIntArray instead of TreeMap<Integer, Integer>

Change-Id: I56a64228a5fd85d440d0d08ac67cba8bf2e5690d
pellcheck/SpellCheckerProximityInfo.java
4fdfce6dcc35310de9235cf9c529d0b17b5c2a8c 10-Apr-2013 Tadashi G. Takaoka <takaoka@google.com> Merge "Refactor SpellCheckerProximityInfo as extending ProximityInfo"
19dcd154932b8aef07f371bdda7f879a70c3c3c8 09-Apr-2013 Jean Chalard <jchalard@google.com> Merge "Offer to add any OOV typed word to the dictionary."
ddafcf82dcfa0f978bd7fe8b658ace7671d9d8d7 09-Apr-2013 Jean Chalard <jchalard@google.com> Merge "Fix bugs and add tests"
9310f42a36eabe99ed7dcd3b835d6cdaa3c6fdca 04-Apr-2013 Jean Chalard <jchalard@google.com> Offer to add any OOV typed word to the dictionary.

That includes gestures, which used not to work.

Bug: 8532637
Change-Id: I04606565d7000faadf954c4a806c39d4d162a2c1
atinIME.java
uggestions/SuggestionStripView.java
d117c1a11635d6389f63ce939f5f15c7cc6a0bba 09-Apr-2013 Kurt Partridge <kep@google.com> Merge "Do not record log split time when handling separator"
d17c8bd9297607e7318ad2470ae72a27b1d28ec1 08-Apr-2013 Ken Wakasa <kwakasa@google.com> Update comments

Change-Id: I6aef328ec9041666cc168c8323bed04d39591b71
pellcheck/AndroidWordLevelSpellCheckerSession.java
c87449497cb54c092cfd46037320fedf1c4504b6 04-Apr-2013 Jean Chalard <jchalard@google.com> Fix bugs and add tests

Change-Id: I6b56b91ace57f4a49584b5dceb71b145859f839e
tringUtils.java
7d3836d63a2eb4b79c4ad93cdae4f1f61cdb518e 04-Apr-2013 Jean Chalard <jchalard@google.com> Move a generic string utility to StringUtils

Change-Id: I9cc2e9a7ac0b3346af40bcb083f939333336cf09
tringUtils.java
pellcheck/AndroidSpellCheckerService.java
pellcheck/AndroidWordLevelSpellCheckerSession.java
6e3f30726621ff9b64977d67ba9df955024efa04 21-Mar-2013 Tadashi G. Takaoka <takaoka@google.com> Refactor SpellCheckerProximityInfo as extending ProximityInfo

Change-Id: I544eec9d661796d57749dbaa2163bc1e2a891353
pellcheck/AndroidSpellCheckerService.java
pellcheck/SpellCheckerProximityInfo.java
ecb59eff90c6cfd8d3e6ae31961d7f27f8c9eac9 02-Apr-2013 Jean Chalard <jchalard@google.com> Revert "[DO NOT MERGE] Activate hardware keyboard handling"

This reverts commit c741f1f83b98293bf0040b6b81e95b75ecf3f6bc
DO NOT MERGE is ignored and this is merged anyway :(

Change-Id: Ie044cdfc6021933379ec97ad7346c5c8591f70bf
efine/ProductionFlag.java
c741f1f83b98293bf0040b6b81e95b75ecf3f6bc 02-Apr-2013 Jean Chalard <jchalard@google.com> [DO NOT MERGE] Activate hardware keyboard handling

Change-Id: Ifdec9338a454291621b2b87c899f5d4301480b27
efine/ProductionFlag.java
636b8c4231424bd57672aac20cf48f22c496d62a 26-Mar-2013 Kurt Partridge <kep@google.com> Do not record log split time when handling separator

Previously handleSeparator() caused the ResearchLogger to mark the time at which a LogUnit should be
broken. However, this causes the motion data associated with a separator to be associated with the
LogUnit of the previous word. This change corrects this bug.

Change-Id: I8b4d4fa6de2a013de9e2a28bb668c446a07f1957
atinIME.java
0c0ab2b4d9303274c26ef70f7228f2d54e2d59f5 01-Apr-2013 Kurt Partridge <kep@google.com> Merge "Reorder ResearchLogger call"
0745fe83d4033bdeec807a12fea1da29b41c8a99 01-Apr-2013 Jean Chalard <jchalard@google.com> am b8869ec1: am 0fcc4960: Deactivate hardware keyboard handling.

* commit 'b8869ec1e39c1751825841e790d21fc854dca9ce':
Deactivate hardware keyboard handling.
0fcc4960bcd037b7e1482098f85342743eb2ddee 01-Apr-2013 Jean Chalard <jchalard@google.com> Deactivate hardware keyboard handling.

Bug: 8000119

Change-Id: I021481343d6d87efd8ff6110e9aa0906a1a3d11d
efine/ProductionFlag.java
43341ba04298f9548e3ee6f37403eaf333dfa3bc 01-Apr-2013 Jean Chalard <jchalard@google.com> Merge "Ask the client to make itself known when it's not"
76d5f512f99700a963aa20a02590833e37221bff 28-Mar-2013 Jean Chalard <jchalard@google.com> Ask the client to make itself known when it's not

Upon invoking the settings of the dictionary pack with an unknown
client, we now launch an intent to ask the client to make itself known.
This change also includes the code that receives this intent and
acts upon it.

Bug: 8492879
Change-Id: I2c6496dea845646961ecafcf64e282cb93ee91dc
inaryDictionaryFileDumper.java
ictionaryPackInstallBroadcastReceiver.java
065f126f1d91b8b2647cbe185a55ac8e771cb32d 01-Apr-2013 Jean Chalard <jchalard@google.com> Merge "Fix two nasty bugs with surrogate pairs."
a411595b169c1f136d09d114a458def1f99f91d9 01-Apr-2013 Jean Chalard <jchalard@google.com> Fix two nasty bugs with surrogate pairs.

The important bug is in findWordInTree. The problem, which is
not obvious, is that we were calling codePointAt() with the
code point index in the string, instead of the char index.
The other bug this change fixes was harmless in the practice,
because it's in the iteration which is only used for debug and
pretty printing purposes. It's very similar in that it would
substract a length in code point to a length in chars and
truncate a StringBuilder at that length, so it would fail in a
quite similar manner. This changes the meaning of the "length"
attribute in Position, but it's clearer this way anyway.

Bug: 8450145
Change-Id: If396f883a9e6449de39351553ba83f5be5bd30f0
akedict/FusionDictionary.java
740da0d8d0b29297fba75f4b63ccff28fc1f4a14 29-Mar-2013 Jean Chalard <jchalard@google.com> Fix an NPE

Also remove an unused method and make 2 private variables
final.

Bug: 8461093
Change-Id: I676d93fda28e82eb5a6978f2e7ad5a0add2cbecf
ichInputConnection.java
f463b45d8e0f6603446496b38aaf45db7e4bb5dd 27-Mar-2013 Satoshi Kataoka <satok@google.com> Merge "Fix Possible NPE"
2cdf5351aa11cc87494c5a86664b8bcd6f77d433 27-Mar-2013 Satoshi Kataoka <satok@google.com> Merge "Fix possible SIOOBE"
33306acfa4bac666290323712b6d0a3ccbedffee 26-Mar-2013 Satoshi Kataoka <satok@google.com> Fix possible SIOOBE

Bug: 8461021

Change-Id: I8b0385610b80b5a672ec380935c485a0e01ae984
xpandableDictionary.java
cb25e1fe3740122fd52921c41711f4204ad257fd 26-Mar-2013 Kurt Partridge <kep@google.com> Reorder ResearchLogger call

Previously, ResearchLogger#onWordFinished() was called with an outdated parameter value for
isBatchMode, causing it to report false even for gestures. This changes fixes this problem.

Change-Id: Ifcabee236ba5fe20376ad882155d3f3142cd7613
atinIME.java
ef103e1f2e0a94e9445dd9b55516dcf59b05ee2f 26-Mar-2013 Kurt Partridge <kep@google.com> Merge "Close ResearchLogger upon onFinishInputView"
435cccb2c5869099be0fae07a103219410e3d2f1 25-Mar-2013 Satoshi Kataoka <satok@google.com> Fix Possible NPE

Bug: 8448448
Change-Id: Ibe89c9abd24c4debb33a69c372eadf2afb09ea1c
serHistoryDictIOUtils.java
0b3271010fe6e438d57a5d4504e021e001bb9f5e 26-Mar-2013 Satoshi Kataoka <satok@google.com> Merge "Fix possible NPE"
d17b69ec000adc02f057fa69055411fd5438885f 25-Mar-2013 Tadashi G. Takaoka <takaoka@google.com> Clean up XmlParserUtils

Change-Id: I636e8f359d47f39e61a7f77e3e686f2721779b6f
mlParseUtils.java
87bc3a4a62b28f9c64ced813a9af531a563b6cd9 20-Mar-2013 Kurt Partridge <kep@google.com> Close ResearchLogger upon onFinishInputView

Previously, ResearchLogger#stop() was called both in
LatinIME#onFinishInputView() and in LatinIME#onWindowHidden(). This
resulted in multiple logs being written.

Since onFinishInputView is the more reliable of the two (it is called
in InputMethodService#onDestroy; onWindowHidden is not), the code now
uses onFinishInputView as a stopping signal.

Change-Id: Iae4b8c3bdab226027624eeab19b3737367e4a108
atinIME.java
a17dccbfc624c991ca054a5436519e74e0a60b54 25-Mar-2013 Satoshi Kataoka <satok@google.com> Fix possible NPE

Bug: 8457109
Change-Id: I321fbef53e20a7c36ef4bd9f544b50abe6a52be9
atinIME.java
fb658d6c531de8cfd55e4d36bffc9ccabc401f94 24-Mar-2013 Tadashi G. Takaoka <takaoka@google.com> Fix possible ArrayIndexOutOfBoundsException

Bug: 8461864
Change-Id: Icd8f4f51ec064461c08d00c1c58bedf5fbae2553
ubtypeLocale.java
3c8117c88fc738f841ac43f5a88602a99b901fee 22-Mar-2013 Satoshi Kataoka <satok@google.com> Fix appname

Bug: 6789579
Change-Id: Ic4694e36e0846af95fa8dcdef919be251983b528
atinIME.java
ettingsFragment.java
tils.java
pellcheck/SpellCheckerSettingsFragment.java
242c066dde910097d286082fd255d04e5aa684cb 22-Mar-2013 Satoshi Kataoka <satok@google.com> Use correct appname resource

Bug: 6789579
Change-Id: Id11435a28d6c5b6c72867814e23f5e62429080f8
etup/SetupActivity.java
a462cd80ae9d07cea596c61c54d7b1b2ba6c6645 19-Mar-2013 Satoshi Kataoka <satok@google.com> Support feedback

Bug: 8143554
Change-Id: If0a6bafc94da040f97f27c6d046fb58bed9fd615
eedbackUtils.java
ettings.java
ettingsFragment.java
8e005f2989de98cd284f1f5210f4c9d8d658e5e7 19-Mar-2013 Jean Chalard <jchalard@google.com> am 1061bfdb: Break dependencies to allow offdevice tests to build

* commit '1061bfdb34bbcb63bf0046eec42313d264ac33fa':
Break dependencies to allow offdevice tests to build
6d90a10a343723b8613fd22d323c586ecc33b284 19-Mar-2013 Jean Chalard <jchalard@google.com> am 0cc0544a: Merge the dictionary pack in Latin IME.

* commit '0cc0544a2995c7eb54a830ae54db60af89d4073d':
Merge the dictionary pack in Latin IME.
1061bfdb34bbcb63bf0046eec42313d264ac33fa 19-Mar-2013 Jean Chalard <jchalard@google.com> Break dependencies to allow offdevice tests to build

Change-Id: Ia9a2e8f0672b3f72943f26fb15de1d3c7c5ce7f1
inaryDictionary.java
inaryDictionaryFileDumper.java
ictionaryPackInstallBroadcastReceiver.java
atinIME.java
0cc0544a2995c7eb54a830ae54db60af89d4073d 15-Mar-2013 Jean Chalard <jchalard@google.com> Merge the dictionary pack in Latin IME.

Bug: 8161354
Change-Id: I17c23f56dd3bc2f27726556bf2c5a9d5520bd172
inaryDictionary.java
inaryDictionaryGetter.java
ictionaryPackInstallBroadcastReceiver.java
ettingsFragment.java
pellcheck/AndroidSpellCheckerSession.java
pellcheck/AndroidWordLevelSpellCheckerSession.java
841c295f3c99214f45924434d9c0bb5b4760578d 19-Mar-2013 Tadashi G. Takaoka <takaoka@google.com> resolved conflicts for merge of 5b048292 to master

Change-Id: I67ebab46954cd7b8e3e79e7fed523bafb15f8835
9c3860ce461c3791891bf667edc77fe798c8d332 18-Mar-2013 Ken Wakasa <kwakasa@google.com> Rename ProductionFlag.IS_EXPERIMENTAL to USES_DEVELOPMENT_ONLY_DIAGNOSTICS

bug: 8393568
Change-Id: Ie5edf44a3627aca9416145aff56bf05bbf2a05f3
inaryDictionaryGetter.java
atinIME.java
ichInputConnection.java
ettingsFragment.java
efine/ProductionFlag.java
uggestions/SuggestionStripView.java
f8325ec4bb83f91d53949562556652bff315f088 18-Mar-2013 Jean Chalard <jchalard@google.com> am 5cb0560b: Merge "Access the dictionary pack only if have INTERNET permission" into jb-mr2-dev

* commit '5cb0560b000f37b3fb3937f01b6d3e928afef57a':
Access the dictionary pack only if have INTERNET permission
5cb0560b000f37b3fb3937f01b6d3e928afef57a 18-Mar-2013 Jean Chalard <jchalard@google.com> Merge "Access the dictionary pack only if have INTERNET permission" into jb-mr2-dev
ce487bcf33be39eed4ed56e6b98603cc87fda2eb 18-Mar-2013 Jean Chalard <jchalard@google.com> Access the dictionary pack only if have INTERNET permission

Bug: 8161354
Change-Id: I68ee3acb2955a017d25666cc2dad791798f9064a
inaryDictionaryGetter.java
62ed594c373e172ba7b32d099911b318dcbfc7b2 18-Mar-2013 Satoshi Kataoka <satok@google.com> am e0e67373: Refactor parameters by naming convention

* commit 'e0e67373735918c78eaeaf24f127e1d28816aa29':
Refactor parameters by naming convention
e0e67373735918c78eaeaf24f127e1d28816aa29 18-Mar-2013 Satoshi Kataoka <satok@google.com> Refactor parameters by naming convention

Change-Id: I8bda8075b33f656ecbec08320afcd864b620fe77
inaryDictionary.java
3268a44e1cde2f4e14d01ac62e2e1a6e9a70a601 15-Mar-2013 Tadashi G. Takaoka <takaoka@google.com> am a5067333: Disable the header list of DebugSettingsActivity

* commit 'a50673330e012f6cca02b83eca1c047b8da319e0':
Disable the header list of DebugSettingsActivity
a50673330e012f6cca02b83eca1c047b8da319e0 15-Mar-2013 Tadashi G. Takaoka <takaoka@google.com> Disable the header list of DebugSettingsActivity

This change addresses the issue that the debug settings on 10-inch
tablet doesn't show up.

Change-Id: I60540cf21276869a3ca81b7b0154056ce7d93ff1
ebugSettingsActivity.java
ettingsActivity.java
fb606c6277fdf7385bf8ce876102bda016465e8f 14-Mar-2013 Tadashi G. Takaoka <takaoka@google.com> am f0864b1d: Merge "Clean up StaticInnerHandlerWrapper a bit" into jb-mr2-dev

* commit 'f0864b1d95411ce9886a5ade13f42cb17f578828':
Clean up StaticInnerHandlerWrapper a bit
f0864b1d95411ce9886a5ade13f42cb17f578828 14-Mar-2013 Tadashi G. Takaoka <takaoka@google.com> Merge "Clean up StaticInnerHandlerWrapper a bit" into jb-mr2-dev
1ab33383f983082621084a65a168101e5fb526e0 14-Mar-2013 Tadashi G. Takaoka <takaoka@google.com> am 0d5f214a: Fix NPE found in monkey test

* commit '0d5f214aa774ab0ab7c17521984caae11c9f4c2b':
Fix NPE found in monkey test
41e60bf6dd533d1641b64ebeecd3148dd396c370 13-Mar-2013 Tadashi G. Takaoka <takaoka@google.com> Clean up StaticInnerHandlerWrapper a bit

Change-Id: Ib07efe6da1eb2f0fd9ef68ca71502c98f7e19f4b
taticInnerHandlerWrapper.java
0d5f214aa774ab0ab7c17521984caae11c9f4c2b 13-Mar-2013 Tadashi G. Takaoka <takaoka@google.com> Fix NPE found in monkey test

Bug: 8383127
Change-Id: Ifd70acabe118b477f103937c7f1e99e38e210833
etup/SetupActivity.java
f5caf5be994f8b7885f4e434e25019fd847ca927 14-Mar-2013 Tadashi G. Takaoka <takaoka@google.com> am 601a8582: Merge "Move checking non-persistent checkbox to onResume" into jb-mr2-dev

* commit '601a8582d0f761a85b6eb16e7a6b78402f6f2599':
Move checking non-persistent checkbox to onResume
0b2512017edb0161d51643560cd41dac9b1a1559 13-Mar-2013 Satoshi Kataoka <satok@google.com> am 0ab44b21: Merge "Make isInternal mutable" into jb-mr2-dev

* commit '0ab44b21bd6ef5e9fde329b25dfd84f6ca5c0825':
Make isInternal mutable
8067b769f1229e447872f8b03df44b228a662561 13-Mar-2013 Jean Chalard <jchalard@google.com> Merge "[DO NOT MERGE] Deactivate H/W keyboard handling" into jb-mr2-dev
601a8582d0f761a85b6eb16e7a6b78402f6f2599 13-Mar-2013 Tadashi G. Takaoka <takaoka@google.com> Merge "Move checking non-persistent checkbox to onResume" into jb-mr2-dev
0ab44b21bd6ef5e9fde329b25dfd84f6ca5c0825 13-Mar-2013 Satoshi Kataoka <satok@google.com> Merge "Make isInternal mutable" into jb-mr2-dev
756791e6bf80c1fd86f9a236f4ba8da770a7305f 13-Mar-2013 Satoshi Kataoka <satok@google.com> Make isInternal mutable

Change-Id: Ib81ceba801be0ac7ef65c4eadd1ec8599e80dacc
atinIME.java
ettings.java
ettingsFragment.java
ettingsValues.java
efine/ProductionFlag.java
24cea7f1fb6be4143560239169e6e807ccd57594 13-Mar-2013 Tadashi G. Takaoka <takaoka@google.com> Move checking non-persistent checkbox to onResume

Bug: 8336068
Change-Id: I07e67a6aee24a239a21e6fc69eb2ec741b9a5b2b
ettingsFragment.java
92eaa6fc7cbab62394930d1bfe62ceb604128d0d 12-Mar-2013 Jean Chalard <jchalard@google.com> [DO NOT MERGE] Deactivate H/W keyboard handling

For MR2, LatinIME should not be handling hardware keyboard
events. The feature is still work in progress.

Change-Id: I56ff18bff84ba6b5a6bc3f8829b42eaf33b72554
efine/ProductionFlag.java
2d9b7f60dd8c8dfdf89fd3a9eb41296a58df3a22 08-Mar-2013 Svetoslav Ganov <svetoslavganov@google.com> am af37cbb4: Merge "Announce keyboard mode changes as a WINDOW_STATE_CHANGED event." into jb-mr2-dev

* commit 'af37cbb44ef40fcd15fa02456c9abda8021847ce':
Announce keyboard mode changes as a WINDOW_STATE_CHANGED event.
c2ee72a214fef46bc02ce486220365bbefd78714 07-Mar-2013 Alan Viverette <alanv@google.com> Announce keyboard mode changes as a WINDOW_STATE_CHANGED event.

Bug: 8165295
Change-Id: Ie416f6cdb68377f3e06f30e9b6363c38ba2a602d
atinIME.java
dc89d76f6b94991be42e42336afa1e9c26ab9e94 06-Mar-2013 Kurt Partridge <kep@google.com> Merge "Make some methods visible for testing"
25343124dd3da2edd9f3f5c84ee9e27851d6e873 04-Mar-2013 Kurt Partridge <kep@google.com> Make some methods visible for testing

bug: 8302967

multi-project commit with Icf915abb57ef00840ee93b67a25db42ba51f1c38

Change-Id: I105bda5bdff871508140fb99487dddbf17992790
tils.java
249c887008272b9f9f01bad8ae83c204eceba6f3 05-Mar-2013 Tadashi G. Takaoka <takaoka@google.com> am 84fa8043: Merge "Add show setup wizard icon preference settings" into jb-mr2-dev

* commit '84fa8043e6bef47378b3fc32c277e33034d5c174':
Add show setup wizard icon preference settings
2e1b55f7969c67d7467aa8bdc1e0a82a856cbc88 04-Mar-2013 Tadashi G. Takaoka <takaoka@google.com> Add show setup wizard icon preference settings

Bug: 8239067
Change-Id: If6106a3632d3abad3e22ce29f1351525a5152ec7
ettings.java
ettingsFragment.java
etup/LauncherIconVisibilityManager.java
75e6fb68e91b440707b399b22fbcfcd67760a949 28-Feb-2013 Kurt Partridge <kep@google.com> Clean up PREF_USABILITY_STUDY_MODE

- Refer to a common default value in DebugSettings
- Make PREF_USABILITY_STUDY_MODE independent of the ResearchLogger
- ResearchLogger uses its own preference through ResearchSettings

multi-project commit with Ie0df836c9d779eba484b522666ec357f4e234823

Change-Id: I88547a2f619db6e7364abbbec12f9f76855dd11a
ebugSettings.java
atinImeLogger.java
b094372bd68b2f1b1e62c48cc18503a60b6686b7 14-Feb-2013 Kurt Partridge <kep@google.com> Remove MainLogBuffer#setSuggest()

multi-project commit with Ia98b1406fc2ee11a96893c77ea58d800fece7624

Change-Id: I8bc3d07b83dbe7d8fc56a618de07dade7f510b13
atinIME.java
578e71e28b8c95974ef7492a08d732735255c61d 01-Mar-2013 Tadashi G. Takaoka <takaoka@google.com> am 99b0dc6f: Merge "Add setup wizard launcher icon" into jb-mr2-dev

* commit '99b0dc6f0d18f5fdd8634e8fa533bf1b3f81a538':
Add setup wizard launcher icon
99b0dc6f0d18f5fdd8634e8fa533bf1b3f81a538 01-Mar-2013 Tadashi G. Takaoka <takaoka@google.com> Merge "Add setup wizard launcher icon" into jb-mr2-dev
1ffdaafd836b6cfff78774432268b380ef6b25b5 26-Feb-2013 Tadashi G. Takaoka <takaoka@google.com> Add setup wizard launcher icon

The setup wizard icon will be hidden if the Android Keyboard is in
system image.

Bug: 8239067
Change-Id: Ib0c0c9e3a0954512c3e03e42a661cdf86eff0dca
etup/LauncherIconVisibilityManager.java
etup/SetupActivity.java
31747ba7874f57fe6b259e8744e42dbfe02a8d40 01-Mar-2013 Jean Chalard <jchalard@google.com> am abaf5827: Separate suggestions from SuggestionView

* commit 'abaf5827e7a7f5f6c5d8d98e03e6b9528b0c9351':
Separate suggestions from SuggestionView
abaf5827e7a7f5f6c5d8d98e03e6b9528b0c9351 26-Feb-2013 Jean Chalard <jchalard@google.com> Separate suggestions from SuggestionView

This is a cleanup change, but it's also necessary for

Bug: 8152758
Change-Id: Id6ba06243f573fdb856f87d1df03277c9f2e5e71
atinIME.java
uggestions/SuggestionStripView.java
424a976e58ea40e44f28ac4b6aacc4656a4c1377 27-Feb-2013 Kurt Partridge <kep@google.com> Merge "Ensure Preference listener is unregistered"
7e2c1e69bf5782db8f358c9baeb518130aad0315 27-Feb-2013 Kurt Partridge <kep@google.com> Ensure Preference listener is unregistered

Change-Id: I1a4d1e7bc45fc30cb1b63ea6020f0eee6e804333
atinIME.java
183fe8003163702a0ba9487d6fde2a7c025ab91a 26-Feb-2013 Tadashi G. Takaoka <takaoka@google.com> Small cleanup of RunInLocale

Change-Id: Ib588e67da2c88345fc4eb51587b07ebfa434e0bb
ocaleUtils.java
0f3c05cd6bee664e5ccaf632c35c34017eb1c5e9 23-Feb-2013 Jean Chalard <jchalard@google.com> Merge "Send the dictionaries descriptions to the dict pack"
c6799ffeab17d3e0dc54a1718dad9890e5493ae0 23-Feb-2013 Jean Chalard <jchalard@google.com> Send the dictionaries descriptions to the dict pack

Bug: 8255795
Change-Id: I12a5922f50c2d2e3aa639457abcc1483e6a48721
ictionaryInfoUtils.java
akedict/FormatSpec.java
76ead0ead06ab1c09c698247c19d1d2f4bd35d23 23-Feb-2013 Jean Chalard <jchalard@google.com> Fix a possible crash

If the dictionary ID, as indicated in the metadata, is
less than three chars long, it crashes LatinIME.
Of course we don't have such dictionary IDs in the current
metadata, but it's still better to be able to handle
the case gracefully ^^;

Change-Id: I60cdf6f8ecce9f4d44b42ddd5d157aebff9a4163
inaryDictionaryGetter.java
aefaec3c5fc4b9aa3126ae0a7f32133c0423e7e2 23-Feb-2013 Jean Chalard <jchalard@google.com> Remove a cluttering log

Bug: 8175067
Change-Id: I9a104a32ba2b3b52a5dfa250f8c642abd6169cc0
serHistoryDictionary.java
8b4023c4d631d7ac240d8a30702c212b33595e0b 23-Feb-2013 Jean Chalard <jchalard@google.com> Merge "Tiny cleanup"
2521edec09373b2810093462c89221a2aca9e369 23-Feb-2013 Jean Chalard <jchalard@google.com> Fix a bug with the passed dictionary id

We used to make the dictionary that we passed to the
dictionary pack as an initial value based on the locale.
This is wrong - it should be read from the dictionary.
This change fixes that.

Bug: 7005813
Change-Id: Ib08ed31dd9c216f6f7b9c6c3174ca514bf96e06f
ictionaryInfoUtils.java
akedict/FormatSpec.java
da0d771fe9e58da56e8107c1a6cb5ac5b1c6b64e 23-Feb-2013 Jean Chalard <jchalard@google.com> Tiny cleanup

Change-Id: I5d7150a4abb3a498e790f41af569093217cb8b43
inaryDictionary.java
4e4f88127b6a75302fac3a004e41fff1899a773f 19-Feb-2013 Jean Chalard <jchalard@google.com> Fix how the Enter action is decided

This unifies the software and hardware keyboard code
under a single decision process that works.

Bug: 8129303
Bug: 8152758
Change-Id: I7574c563d5f957d57bfe62fe5e3eec59a519d335
onstants.java
nputTypeUtils.java
atinIME.java
07296cf7fffad7282aee24d9313636cf64ffb178 21-Feb-2013 Tadashi G. Takaoka <takaoka@google.com> Merge "Use WordComposer.addKeyInfo for testing"
46878544ec894fd3db368e183404a01c3e3ecc92 14-Feb-2013 Tadashi G. Takaoka <takaoka@google.com> Add preliminary setup wizard

Bug: 8159728
Change-Id: I30d9cd637fb1d2e64588550e0aa4387bc1f7e6e5
etup/SetupActivity.java
etup/SetupStepIndicatorView.java
5701a6647f43eaa1eb4cb84c9c063d8440fe24ce 20-Feb-2013 Tadashi G. Takaoka <takaoka@google.com> Use WordComposer.addKeyInfo for testing

Change-Id: I500654e7a26717aa5547942357e56060afb72969
ordComposer.java
d4cbc4fd078cbb23be4eafe1cb82a8a470fca3a0 14-Feb-2013 Jean Chalard <jchalard@google.com> Implement getting data files with protocol v2

This also does it for deleting them
Bug: 8167342
Bug: 6789534
Change-Id: I1823f98508881f109a667146d3608003f87aa4cb
inaryDictionaryFileDumper.java
4beaab2a88ce616bdc8ca35248d65c1b649943a9 14-Feb-2013 Jean Chalard <jchalard@google.com> Merge "Determine the protocol version of the dictionary pack"
cb0beaf3f10558065f23317984eba0f10c251869 14-Feb-2013 Tadashi G. Takaoka <takaoka@google.com> Add placeholder of keyboard setup wizard

Bug: 8159728
Change-Id: I5552e9d0ffa8f94d183e76378d55bba6f718adfe
etup/SetupActivity.java
b1f27a2e264199e104be51464f50f258454059d5 13-Feb-2013 Jean Chalard <jchalard@google.com> Determine the protocol version of the dictionary pack

...for query.

Bug: 8167342
Change-Id: Ieb8e5b31c4b62bf507593c4631e31799aad5f267
inaryDictionaryFileDumper.java
a9df97278016716af2446d98454a8fb3219eef65 13-Feb-2013 Jean Chalard <jchalard@google.com> Clean up dictionary pack presence test.

This method is much cleaner and much more readable.

Change-Id: I8055c169ef7c4453ab45c463704bd56a6080da4f
inaryDictionaryFileDumper.java
fdb1ca560e426e67c60c7f7324bc52022b1b3f07 12-Feb-2013 Tadashi G. Takaoka <takaoka@google.com> Merge "Separate caps mode related utils to CapsModeUtils"
ce6bcdd1a547c9874f05a08074cafdfea16196d6 12-Feb-2013 Tadashi G. Takaoka <takaoka@google.com> Separate caps mode related utils to CapsModeUtils

Change-Id: I32700c434b296bb3fd39e040c2dda1fe90667daf
apsModeUtils.java
atinIME.java
ositionalInfoForUserDictPendingAddition.java
ichInputConnection.java
tringUtils.java
2c2942dd4bdea8581191866e2f06a0fa9dec18ed 12-Feb-2013 Tadashi G. Takaoka <takaoka@google.com> Merge "Move parseCsvString to StringUtils"
b3fd70118119e736209173d34053974e61f936d8 12-Feb-2013 Tadashi G. Takaoka <takaoka@google.com> Move parseCsvString to StringUtils

Change-Id: I602f33991ca57b6057ec2defe01573552b322857
onstants.java
ettingsValues.java
tringUtils.java
1c5b2a41ecf118a2d0103bba7747c35329b2e0ee 12-Feb-2013 Jean Chalard <jchalard@google.com> Cleanups

Follow-up to Idc6f419a

Change-Id: I4aae8f4e19f27a0a309879dc19af6e40906d58c5
inaryDictionaryGetter.java
xpandableBinaryDictionary.java
serHistoryDictIOUtils.java
pellcheck/AndroidWordLevelSpellCheckerSession.java
8018051022419819de6b857f3c6ed2a5da518568 12-Feb-2013 Jean Chalard <jchalard@google.com> Some cleanups

Improve a slew of logging statements, and put commands that we don't
expect to need protecting against exceptions out of a try {} block.

This is a followup to Id3dc510a

Change-Id: Idc6f419ac095b5b0f2d6862d58926ef888cb34e6
inaryDictionaryFileDumper.java
82441e60e242681f2ea0d6e97105f819e3bd5071 11-Feb-2013 Jean Chalard <jchalard@google.com> Remove unnecessary whitespace

This is a cleanup followup to Id3dc510a

Change-Id: Ie64395eb4b6218fd8c73cacddeed2fba1df65d26
inaryDictionaryFileDumper.java
b2eac474ff82d0dad41991cd0f1ae80a58f01be2 11-Feb-2013 Jean Chalard <jchalard@google.com> Don't try to issue delete() commands on missing provider

Bug: 8173622
Change-Id: Id3dc510ae3535169b5290e87075cb2f433a1f603
inaryDictionaryFileDumper.java
3623ad238c3fa76f36cb54de63bd31cf320befb4 03-Feb-2013 Jean Chalard <jchalard@google.com> [B14] Implement sending the dictionary list.

Bug: 7005813
Change-Id: Ic3ef69510d2b385d0d403191b2f701b6527d0166
inaryDictionaryFileDumper.java
ictionaryInfoUtils.java
6ecb4c4dcc9cededd94f9c010add9889f590def1 02-Feb-2013 Jean Chalard <jchalard@google.com> [B11] Implement reset and passing of the URL to the dict pack

Bug: 7601410
Bug: 7595195
Change-Id: I78cf04dce7c1e64de6725d32317de288a83bd39d
inaryDictionaryFileDumper.java
afe889a83d43afe23d22d28a443b051bb115f023 06-Feb-2013 Jean Chalard <jchalard@google.com> Merge "[B9] Pass the client id parameter for dict info requests"
298b4240f84344bbcd70b72dfb20806ba93ffd22 05-Feb-2013 Tadashi G. Takaoka <takaoka@google.com> Separate IntentUtils from CompatUtils

Change-Id: I373ae7ad26eee44cc8e9720314f6a53b811d0021
dditionalSubtypeSettings.java
ntentUtils.java
atinIME.java
8192b4a6efe568b7809cb7c39392dac7f3924932 02-Feb-2013 Jean Chalard <jchalard@google.com> [B9] Pass the client id parameter for dict info requests

Bug: 6789534
Change-Id: Ie3ea75b19ae4da2dea531e0077c58742a9502bc6
inaryDictionaryFileDumper.java
f1acb0e52d2a104861cc2ee4cc3adcb9e0a81f3b 01-Feb-2013 Jean Chalard <jchalard@google.com> Make some strings private

Change-Id: I0ffdbcf6bede86a3cdcb3a0e4ec263398502617c
inaryDictionaryFileDumper.java
5ea4365f077f59341430e00ed34a5d74b7877931 31-Jan-2013 Jean Chalard <jchalard@google.com> Merge "Create methods in LatinIME to make the current dict lists"
af4a7e8c4b2a41e9be48965133ab489cc9484764 29-Jan-2013 Jean Chalard <jchalard@google.com> Create methods in LatinIME to make the current dict lists

Bug: 7005813
Change-Id: I82232af8e3071333b6fd01e4453b6b3c0a3ddb1f
inaryDictionaryGetter.java
ictionaryInfoUtils.java
xternalDictionaryGetterForDebug.java
akedict/BinaryDictIOUtils.java
akedict/FormatSpec.java
3c67f6a2d020a6e1d85abc32e1d1477439f917f4 31-Jan-2013 Jean Chalard <jchalard@google.com> Merge "Add a way to know externally if we're installing a new dict"
01a4ebcd88f8a7001aac2f7f45293ceab717a30d 31-Jan-2013 Jean Chalard <jchalard@google.com> Add a way to know externally if we're installing a new dict

That helps tests know when to wait and when to declare the
dictionary actually not usable.

Bug: 7925814
Change-Id: Ic963c1206c43e3cde39ac4214a0d601f4fc6c03b
uggest.java
f3731188e5ee46c0bee7e9366528c826289a91bb 22-Jan-2013 Kurt Partridge <kep@google.com> [Rlog27] Add replay capability

- Add support for replaying log files to the ResearchLogger. This will let
users preview data that they choose to upload.
- When the user explicitly requests that the system record their action, it
will record everything up to, and including, the motion involved in shutting
off the recording. This change also removes the stop-recording motion
commands.

Change-Id: Ib1df383bbf1881512cb111fab9f6749c25e436ba
atinIME.java
d515f134f726c432c0bab5600e7b31ed989fb1b5 29-Jan-2013 Jean Chalard <jchalard@google.com> Refactoring

This creates a new DictionaryInfoUtils class and moves a bunch
of static methods there for later usage.

Change-Id: Iecb0643e6029a7be36bd6cb36aa918c40e6d8c6a
ssetFileAddress.java
inaryDictionaryFileDumper.java
inaryDictionaryGetter.java
ictionaryFactory.java
ictionaryInfoUtils.java
xternalDictionaryGetterForDebug.java
8630cd9d1708d42b3ed5d07d89ade2f3c1f85e47 25-Jan-2013 Tadashi G. Takaoka <takaoka@google.com> Remove keyboard layout description on the spacebar

Bug: 8056376
Change-Id: I33f07e7a044c2b5fc20de40c7a9777dab493e41c
ubtypeLocale.java
f77e9d7e3adcd89c00243f4215bebb3ece3b59dd 25-Jan-2013 Kurt Partridge <kep@google.com> Merge "Initialize ResearchLogger later to avoid NPE"
5228745ae025571d25062e12f5aedcd71ad08ebb 25-Jan-2013 Jean Chalard <jchalard@google.com> Merge "Remove pending update messages upon starting a gesture"
a280e56014dd15321ecc96a65f18dbd0c0b210f6 25-Jan-2013 Jean Chalard <jchalard@google.com> Remove pending update messages upon starting a gesture

Bug: 8064307
Change-Id: Ia623ab81b6d12eedc6b20bc4c1ce34ce72d5832f
atinIME.java
ce875664e0564f3e26d130a4d3e8b8e9a2e8a368 22-Jan-2013 Tadashi G. Takaoka <takaoka@google.com> Clean up Settings and SettingsFragment a bit

Change-Id: I93bf3cb1ea7e8fc09f4ad34b0bdd74f5f5ff1a68
ettings.java
ettingsFragment.java
ettingsValues.java
63bc2795967ddf99d3ac57e61153f8b2faa649ac 24-Jan-2013 Kurt Partridge <kep@google.com> Initialize ResearchLogger later to avoid NPE

Change-Id: I1b817dfbdc319ac9bbf2f08e094a007849ce767f
atinIME.java
52a0d491b4cf72d55997410fa80af3de89c66422 24-Jan-2013 Tadashi G. Takaoka <takaoka@google.com> Merge "Add preliminary graphics of sliding key input preview"
ff961ddf8c58df569c97684bfd83a01b2a9470aa 24-Jan-2013 Tadashi G. Takaoka <takaoka@google.com> Add preliminary graphics of sliding key input preview

Bug: 7548583
Change-Id: Idde6a62f9e64458055c99c893b71c02d1adc7b04
atinIME.java
ettings.java
ettingsValues.java
12f2fc71f7faec34623826ba5c2156ca51046aeb 24-Jan-2013 Tadashi G. Takaoka <takaoka@google.com> Merge "Display custom input style name in system locale"
8203f7afe7c885e185f8633a89960a78a69ac647 23-Jan-2013 Tadashi G. Takaoka <takaoka@google.com> Display custom input style name in system locale

Bug: 8032166
Change-Id: Ib9a6b63c4d540ce377892fb865e53abdd8adec16
dditionalSubtypeSettings.java
ettingsFragment.java
ubtypeLocale.java
f0b5fddcb8e0bef38eca38c8502bebefc8849485 24-Jan-2013 Tadashi G. Takaoka <takaoka@google.com> Clean up SettingsFragment a bit

Change-Id: Ic0727003f2645f0c38200b67bb2f4046249c6273
ettingsFragment.java
edb5c4638b139d6908ceea724120e5a24b21c249 23-Jan-2013 Kurt Partridge <kep@google.com> Merge "[Rlog81a] Determine correction type of words"
9d514af466915928ce20acf7cb42dfa1bf67c3c2 23-Jan-2013 Tadashi G. Takaoka <takaoka@google.com> Merge "Refactor SubtypeLocale to hold Resources"
9dc85a673e6eb7c7f0c829e90e3f9fd744af3022 23-Jan-2013 Tadashi G. Takaoka <takaoka@google.com> Merge "Configurable key long press timeout"
cc5e4a444524f73a112d7223d7940d41cf60d1f4 17-Jan-2013 Tadashi G. Takaoka <takaoka@google.com> Configurable key long press timeout

The default long presss timeout is 300msec (previous timeout was
400ms).

Bug: 7600340
Change-Id: Ia8b64784ac03588631cfcbad30e021d74f3fd0d8
ettings.java
ettingsFragment.java
ettingsValues.java
f1074c508e70b3489dc85c036f7ed49d3196ba47 23-Jan-2013 Satoshi Kataoka <satok@google.com> Throw exception when invalid time stamps are detected in debug mode

Change-Id: I360b5bd09869bc85ab3bccb8a43a20fed0035d9b
nputPointers.java
4b3cae9b0cbd5bf30a1c8da383ff247f9c2afc5a 23-Jan-2013 Tadashi G. Takaoka <takaoka@google.com> Refactor SubtypeLocale to hold Resources

Change-Id: Ia667bc2d406d66c87215dd3b9569f36f4642cfe0
dditionalSubtypeSettings.java
ettingsFragment.java
ubtypeLocale.java
ubtypeSwitcher.java
40651c8cf7d4296927f9c49aaa57bcfc7b5372ca 23-Jan-2013 Tadashi G. Takaoka <takaoka@google.com> Fix activity flags to launch settings activity

This change adds the following flags to the intent to lauch settings activity.
- Intent.FLAG_ACTIVITY_RESET_TASK_IF_NEEDED
- Intent.FLAG_ACTIVITY_CLEAR_TOP

Bug: 8055342
Change-Id: I85284409bbba3fd284442e5ac4c7a55e58ad15ec
atinIME.java
0c16a5c6eef645fd536671994e0b4f05864ac338 15-Jan-2013 Kurt Partridge <kep@google.com> [Rlog81a] Determine correction type of words

Heuristic to determine whether a word was a typo correction or a complete
replacement by examining a correction to see if it falls within the list of
suggested words of the original.

Change-Id: Ieec4861a811e96aef0d14622e662b589ef8b4772
atinIME.java
f008a11ccef84916197b0031a8ed3353c87c10f1 22-Jan-2013 Tadashi G. Takaoka <takaoka@google.com> Merge "Cache MoreKeysKeyboard instead of container view of it"
a729377395967f7652d93992cbcf50cd2ff522d1 22-Jan-2013 Tadashi G. Takaoka <takaoka@google.com> Cache MoreKeysKeyboard instead of container view of it

This change also cleans up MoreKeysPanel related stuff.

Bug: 8047165
Change-Id: I4f2211e00c7d08469a7413568db039c1c597fb3c
ollectionUtils.java
uggestions/MoreSuggestionsView.java
uggestions/SuggestionStripView.java
8028c1c523b2b7a83ca3f887818bdf9399f20f9b 22-Jan-2013 Tadashi G. Takaoka <takaoka@google.com> Merge "SeekBarDialogPreference supports minValue and stepValue"
c053293484cd872ee305703886f09c66876fbae7 21-Jan-2013 Tadashi G. Takaoka <takaoka@google.com> SeekBarDialogPreference supports minValue and stepValue

Change-Id: I7aaeeb2db85103708747ae318610bd4896ef96fd
eekBarDialogPreference.java
6c22439bf80da08576e86c1282afc5cfa431e235 22-Jan-2013 Ken Wakasa <kwakasa@google.com> Remove MAX_PROXIMITY_CHARS_SIZE_INTERNAL

Change-Id: I18a997503de4033b5341b564145bca862a872098
inaryDictionary.java
onstants.java
08d9c996dc31e767aca5c31df7ede80a36361060 21-Jan-2013 Kurt Partridge <kep@google.com> Merge "[Rlog81b] Log more data with handleSeparator"
8aa9963a895f9dd5bb1bc92ab2e4f461e058f87a 21-Jan-2013 Tadashi G. Takaoka <takaoka@google.com> Fix Apache license comment

Change-Id: Ic56167f952a7f4449da366e1e81610e72c966086
dditionalSubtype.java
dditionalSubtypeSettings.java
ssetFileAddress.java
udioAndHapticFeedbackManager.java
ackupAgent.java
inaryDictionary.java
inaryDictionaryFileDumper.java
inaryDictionaryGetter.java
oundedTreeSet.java
onstants.java
ontactsBinaryDictionary.java
ebugSettings.java
ebugSettingsActivity.java
ictionary.java
ictionaryCollection.java
ictionaryFactory.java
ictionaryPackInstallBroadcastReceiver.java
xpandableBinaryDictionary.java
xternalDictionaryGetterForDebug.java
ileTransforms.java
nputAttributes.java
nputPointers.java
nputTypeUtils.java
nputView.java
astComposedWord.java
atinIME.java
ocaleUtils.java
ositionalInfoForUserDictPendingAddition.java
esizableIntArray.java
ichInputConnection.java
eekBarDialogPreference.java
ettings.java
ettingsActivity.java
ettingsFragment.java
ettingsValues.java
uggest.java
uggestedWords.java
argetApplicationGetter.java
serHistoryDictIOUtils.java
serHistoryDictionary.java
ordComposer.java
ordListInfo.java
mlParseUtils.java
efine/JniLibName.java
efine/ProductionFlag.java
akedict/BinaryDictIOUtils.java
akedict/BinaryDictInputOutput.java
akedict/CharGroupInfo.java
akedict/FormatSpec.java
akedict/FusionDictionary.java
akedict/MakedictLog.java
akedict/PendingAttribute.java
akedict/UnsupportedFormatException.java
akedict/Word.java
pellcheck/AndroidSpellCheckerService.java
pellcheck/AndroidSpellCheckerSession.java
pellcheck/AndroidSpellCheckerSessionFactory.java
pellcheck/AndroidWordLevelSpellCheckerSession.java
pellcheck/DictAndProximity.java
pellcheck/DictionaryPool.java
pellcheck/SpellCheckerProximityInfo.java
pellcheck/SpellCheckerSettingsActivity.java
pellcheck/SpellCheckerSettingsFragment.java
uggestions/MoreSuggestions.java
uggestions/SuggestionStripView.java
b56260b8917233a902c8cce45364850afc0b99b2 18-Jan-2013 Jean Chalard <jchalard@google.com> [AD4] Actually copy the file in place.

This finally makes it work.

Bug: 7702011

Change-Id: I3508c88567f79598e4d1dff561b6ba7dc5c3808f
inaryDictionaryFileDumper.java
inaryDictionaryGetter.java
ebugSettings.java
xternalDictionaryGetterForDebug.java
bde94dd96f6dbceeb0a00cb02dfc8064bd6c46fa 21-Jan-2013 Jean Chalard <jchalard@google.com> Merge "[AD3] Implement the interface to choose a local dictionary"
375982106bf073971fccd14b2c65ec8e089bb2ae 21-Jan-2013 Tadashi G. Takaoka <takaoka@google.com> Move PointerTracker.DrawingProxy to MainKeyboardView (step 2)

Change-Id: If15d5ee683b8026d1871a3fe438dba498944faa7
atinIME.java
fbc5e9b33469f989a745003c8e242c3f002ed165 18-Jan-2013 Jean Chalard <jchalard@google.com> [AD3] Implement the interface to choose a local dictionary

Bug: 7702011
Change-Id: Id3b9c58dbbf5097e4d6ce986d20924eae19f9690
ebugSettings.java
xternalDictionaryGetterForDebug.java
akedict/FormatSpec.java
d9449ccf3ce9e5eabb022aed6a45bba680bce115 21-Jan-2013 Tadashi G. Takaoka <takaoka@google.com> Move MoreKeysPanel.Controller implementation to MainKeyboardView

Change-Id: Iffa298d51ca21a7dcd1e77c633217532d96d2cf5
uggestions/SuggestionStripView.java
80375649d36c3e3aeec3a266827bb2d66d95d0f7 15-Jan-2013 Kurt Partridge <kep@google.com> [Rlog81b] Log more data with handleSeparator

Change-Id: I4b2ebaa2398ac2f669e1e009e00842e55979e866
atinIME.java
1d15fe7e51075e77b7cb477cf8de6569b8eefa2f 18-Jan-2013 Jean Chalard <jchalard@google.com> [AD2] Add a helper method to read an arbitrary dict header

Bug: 7702011
Change-Id: Ib88f6dc222892831ae6932635b65fd2595b16b43
akedict/BinaryDictIOUtils.java
babc71ee30e1e119dff3a2272a0de3aa793ecda6 18-Jan-2013 Jean Chalard <jchalard@google.com> Merge "[AD1] Add an option to read an arbitrary dictionary."
9058bc0df40c1124d7140bacf39bf6cf547ecb79 18-Jan-2013 Jean Chalard <jchalard@google.com> [AD1] Add an option to read an arbitrary dictionary.

Bug: 7702011
Change-Id: I76f52dd3fdb22824fc243ab3845ceec610469c81
ebugSettings.java
2fc4d422e72cf88bd4b0e30bce2a9815b7856b8e 17-Jan-2013 Jean Chalard <jchalard@google.com> Deactivate h/w keyboard when not an internal build.

The implementation is not really ready yet, so we want to
disable it for normal builds for now.
This goes together with Ic1edc6ed

Bug: 7987492
Change-Id: Id81f417e200c118f24424943823665f0b8bd6849
atinIME.java
efine/ProductionFlag.java
d5e869ced838454ede1d813d6a289fafc31b0665 18-Jan-2013 Jean Chalard <jchalard@google.com> Merge "Track handled events to consistently return handled status (C1)"
976a42b873215a669fe22709960aa1259292d75c 17-Jan-2013 Jean Chalard <jchalard@google.com> Track handled events to consistently return handled status (C1)

Bug: 5037589
Change-Id: I92d5be669420f0b2fdeb8fcf85aefd3961bf84b4
atinIME.java
f420e506a07e61d6f396e7f2c0e440054570e646 18-Jan-2013 Tadashi G. Takaoka <takaoka@google.com> Merge "Add SeekBarDialogPreference"
2df0cf2c5a0142a4274bafee6cd53540ac7a1ce9 18-Jan-2013 Tadashi G. Takaoka <takaoka@google.com> Add SeekBarDialogPreference

This change removes SeekBarDialog class.

Change-Id: I437b1e554a5af264b8031ebe05b8250a831c8d3b
udioAndHapticFeedbackManager.java
eekBarDialog.java
eekBarDialogPreference.java
ettingsFragment.java
81a4b7f48e0649c1b984fd25398f45ce813f7cbf 18-Jan-2013 Jean Chalard <jchalard@google.com> Merge "Fix a bug in gesture after a dash or apostrophe"
889a5e1430a87ae5dc2c0e537b3f09462e081cc9 18-Jan-2013 Jean Chalard <jchalard@google.com> Merge "Reset forgotten members (D3)"
e3ec5fcc88513a4141577e5b2001b3896e111232 11-Jan-2013 Jean Chalard <jchalard@google.com> Fix a bug in gesture after a dash or apostrophe

It would insert a space when it shouldn't when composing a
word ending in either dash or apostrophe and gesturing right
away.

Bug: 7889078
Change-Id: Ib3e2f6f5e551888cc081b464a641e2deac6f5ef7
atinIME.java
5a6b4f953eb036c2d3e42316d0d62045686d2b30 18-Jan-2013 Jean Chalard <jchalard@google.com> Merge "Insert into user dict in lower case if auto-caps (D2)"
e6a9655a0362bebccdf0d51ebc3579573617c95a 17-Jan-2013 Kurt Partridge <kep@google.com> Merge "Consolidate SuggestedWords.getWordInfo and .getInfo"
b5ac8ef5864ab198c26da55f4134f6e550d37015 17-Jan-2013 Kurt Partridge <kep@google.com> Consolidate SuggestedWords.getWordInfo and .getInfo

Change-Id: I959cf049f550b7be3ec002281ca7457e566b0214
uggestedWords.java
8914555776a4d3dfd6afc4926a69169ca1c82a0e 17-Jan-2013 Jean Chalard <jchalard@google.com> Reset forgotten members (D3)

Only resetting mCapitalizedMode is enough to fix bug#8013488,
but we may as well correctly reset both fields.

Bug: 8013488
Change-Id: Icb0d7c5b1e93368e8eb7848aa9137b45d5d3531e
ordComposer.java
96845ecff62ac5a1131ce3eb8e6a06d3298dd984 16-Jan-2013 Jean Chalard <jchalard@google.com> Insert into user dict in lower case if auto-caps (D2)

Also recapitalize afterwards if the word has been changed.

Bug: 7972124
Change-Id: I9306580bb4ed0ffa80cc4559ce1abcd2034d1905
atinIME.java
ositionalInfoForUserDictPendingAddition.java
tringUtils.java
serBinaryDictionary.java
c665cbee7f136ea3cf334262f8dc1e7621f2004f 17-Jan-2013 Jean Chalard <jchalard@google.com> Merge "Forward the capitalized mode to the positional info (D1)"
15ea1d40967c25ab27849e1d8c0acf55d8f07e29 17-Jan-2013 Jean Chalard <jchalard@google.com> Merge "Simplify the space-before and space-after logic."
ae3b96b26ef86a9f342b4aeb2047abdaac5e57a5 11-Jan-2013 Jean Chalard <jchalard@google.com> Simplify the space-before and space-after logic.

Bug: 7889078
Bug: 7268000
Change-Id: I6c77b8c9e60ef69f02526b407124d2f5d02818ee
atinIME.java
ichInputConnection.java
ettingsValues.java
40c59727cf3c1b07a60c28f8df64876eb8ea03e3 17-Jan-2013 Tadashi G. Takaoka <takaoka@google.com> Merge "Add default button to vibration/volume settings dialog"
1b1fa7a18b7baeb8fbdb3fb7ed46cf13a75fbac1 17-Jan-2013 Tadashi G. Takaoka <takaoka@google.com> Merge "SeekBarDialog supports neutral and dismiss listener"
b6b7f5e39e9ea1bf9a05203c536327a6be7e7214 16-Jan-2013 Jean Chalard <jchalard@google.com> Forward the capitalized mode to the positional info (D1)

Bug: 7972124
Change-Id: I3c74f3b075e698b9e9dd1d2c7b6f173073539063
astComposedWord.java
atinIME.java
ositionalInfoForUserDictPendingAddition.java
ordComposer.java
d818f1e3b6220ca9a981c39728af510d4a38ba6f 15-Jan-2013 Jean Chalard <jchalard@google.com> Stop relying on the soft keyboard to get the editor action.

Bug: 7969231
Change-Id: I9848c63c4c51550b5dc53c981eafa74e7fa95197
nputTypeUtils.java
atinIME.java
9579936bcf6bc5cecee315c5e40a30af77f47dfd 11-Jan-2013 Kurt Partridge <kep@google.com> [Rlog67] Renaming clarification

ResearchLogger.latinIME_handleSeparator wasn't doing anything really specific to
the separator, so its implementation has been renamed according to its role.

Change-Id: I24e8691c7dc440dd067e96d23e50463683e17cfc
atinIME.java
dcfceaff1b18b102d7fe875b48b84c24cbd822d9 15-Jan-2013 Jean Chalard <jchalard@google.com> Distinguish action-enter/shift-enter/enter

Bug: 7969231
Change-Id: I75d495ee1ea126da9be4e269ee990ee0a97793c1
onstants.java
atinIME.java
5db594abbad2d9e8d2cf1aa6e417aa50ffc5dfc1 11-Jan-2013 Ken Wakasa <kwakasa@google.com> Remove MAX_WORD_LENGTH_INTERNAL

Change-Id: Ie11ff000675601acff5fbb00e9e9f48eb32c5071
inaryDictionary.java
onstants.java
icTraverseSession.java
5b611e184b44e479855ca45acd132ab9c592ba52 14-Jan-2013 Kurt Partridge <kep@google.com> Merge "[Rlog63] Log whether a manual suggestion is a prediction"
939e3f3152f7c2a1593b5ab4161597f4fe73315c 14-Jan-2013 Kurt Partridge <kep@google.com> Merge "[Rlog59d] Pass separatorString through revertCommit"
31156c816e57fc1824f32f26f0301bc21a402774 10-Jan-2013 Kurt Partridge <kep@google.com> [Rlog59d] Pass separatorString through revertCommit

Change-Id: I5ef20476318979f99f543f9300cf6198d18f6244
atinIME.java
ef3936bc5470360144c3efc4dab9ef24a57c1e34 10-Jan-2013 Kurt Partridge <kep@google.com> [Rlog59c] More detailed logging of backspace

- Normal delete events are recorded
- Includes number of characters deleted for both batch and normal delete

Change-Id: I422da3ddc94fa0ccd6c7586eaacf14c62dd16679
atinIME.java
343a852cd95a051bc54658d4cc78037361053f1f 12-Jan-2013 Kurt Partridge <kep@google.com> Merge "[Rlog59b] Log CodeInput and KeyCode properly"
3338703a2fe8fa3ae549e1d884d9fb5a579a7f74 11-Jan-2013 Kurt Partridge <kep@google.com> [Rlog63] Log whether a manual suggestion is a prediction

Change-Id: Ia6f793611d4b18aecb1a635655af5edb639e1ecf
atinIME.java
5523a6818d77cd198e349f075bb1bb5acaff5b71 11-Jan-2013 Kurt Partridge <kep@google.com> Merge "[Rlog59a] Split logUnits correctly around separators"
f6870cc82ddf394e94155322fcc7e4e2256bea66 11-Jan-2013 Ken Wakasa <kwakasa@google.com> Remove BinaryDictionary.MAX_PREDICTION and MAX_SPACES, and rename MAX_WORDS to MAX_RESULTS

Change-Id: Iab2a422b367e7521f346481c7fe5e2575f2e9de3
inaryDictionary.java
ictionaryFactory.java
xpandableBinaryDictionary.java
uggest.java
99931201d0258ec93bd47de6f6f53ad59709bd85 10-Jan-2013 Kurt Partridge <kep@google.com> [Rlog59b] Log CodeInput and KeyCode properly

- Fix function calls to happen at more resilient times
- In the case of phantom spaces, ensure that the logStatement goes to the
correct logUnit

Change-Id: Ida8f6eba1e4f33d9f9b4735316e3c6316ed316c0
atinIME.java
d8590857bdff7f30a93af07aef0362d9f7460a5a 09-Jan-2013 Jean Chalard <jchalard@google.com> Fix spell checker subtype list.

Remove the subtypes that don't get a dictionary any more in AOSP.
Also prepare for all downloadable-dictionary supported subtypes.

Bug: 7673670
Change-Id: I5b754a791233c270237b8f7e5e2208f7282ad294
pellcheck/AndroidSpellCheckerService.java
pellcheck/AndroidWordLevelSpellCheckerSession.java
pellcheck/SpellCheckerProximityInfo.java
90aaa2d0a59227e948aefc5fbc4c875dae006ccf 10-Jan-2013 Kurt Partridge <kep@google.com> [Rlog59a] Split logUnits correctly around separators

Change-Id: I65ecdead7e7bdeb8a5f1748e27068ddbd5d3ce00
atinIME.java
75e69753b709c19d5a23baf88ec3ac2576ee9c24 09-Jan-2013 Kurt Partridge <kep@google.com> [Rlog57b] fix logging of reverts

Change-Id: I07c817061a0cc060197e0fea45195ca07a9bf276
atinIME.java
2ef0d3bf8db57ebebcb1c10f5b378a36b33ba1eb 10-Jan-2013 satok <satok@google.com> Merge "fix possible NPE in DebugSettings"
e8b4fd264476c59dbfc997ce645f077e64d8f0c8 10-Jan-2013 satok <satok@google.com> fix possible NPE in DebugSettings

Change-Id: I44ec5bd3b2a00087603316f14d732164dbcf399f
ebugSettings.java
d9c7a6b9b32c52b773165f7e177b3511cdc21d2f 10-Jan-2013 Jean Chalard <jchalard@google.com> Merge "Move a method to a utility class (C1)"
9c75ad1adec6e7ce2f2b202795fc23e0a4ac5617 10-Jan-2013 Jean Chalard <jchalard@google.com> Merge "Fix international tests"
a80b8fc98f321920bc045bb5fd9952680d0e439e 10-Jan-2013 Tadashi G. Takaoka <takaoka@google.com> Merge "Show final suggested word when batch input is finished"
50d902ac6fd018131bd7044dd968bb99e0fdba7b 10-Jan-2013 Tadashi G. Takaoka <takaoka@google.com> Show final suggested word when batch input is finished

This change moves dismiss timer of gesture floating preview text from
PreviewPlacerView to KeyboardView.

Bug: 7967461
Change-Id: I0ca5beddc93cb4bc4a405f914d217d37b997402b
atinIME.java
433f54ce9079588cb5b5c4ba4a9fd1a9f3e17eff 10-Jan-2013 Tadashi G. Takaoka <takaoka@google.com> Merge "Remove unused variables"
912ad4614f4bd10d871b16b5307fed1405f8c1e2 09-Jan-2013 Jean Chalard <jchalard@google.com> Fix international tests

Tests have been broken again by recent changes to subtype
choice within Latin IME. This fixes the problem and all tests
pass again.

This change also includes a small fix to one test that was
checking for something irrelevant.

Change-Id: I6a03dea24f99b0d2ad84c4161a8413f3060bb811
ubtypeSwitcher.java
a7a7f4e00277b2d3c1c38d2b6fe558e177e1e8d2 09-Jan-2013 Tadashi G. Takaoka <takaoka@google.com> Add default button to vibration/volume settings dialog

Change-Id: I7beb4517314efdefeb47d91b14a6b02c3075c19f
ettings.java
ettingsFragment.java
ettingsValues.java
88df3d9239a714f6cda82a25cce35844d4d4dfb4 10-Jan-2013 Tadashi G. Takaoka <takaoka@google.com> SeekBarDialog supports neutral and dismiss listener

Change-Id: I652fd1a383ef4074c04d03a37ebc779d229474e6
eekBarDialog.java
ettingsFragment.java
f11c4a9aeb9b08d6c0c29861c3d9832334834d90 10-Jan-2013 Kurt Partridge <kep@google.com> Merge "[Rlog50] capture bigrams properly even with deletions"
1aa547d94a379691ecca994d92bf3c2f212bad13 09-Jan-2013 Tadashi G. Takaoka <takaoka@google.com> Remove unused variables

Change-Id: I508679c2ad21b2624760d37a9503e21733964d4c
ettings.java
ettingsValues.java
3727a3fd6137c3552dc299f60b1f1df41cb47059 10-Jan-2013 Tadashi G. Takaoka <takaoka@google.com> Merge "Clean up public helper methods of SettingsValues"
3b95eaf70b0a11b1c6e0c52361fe738b4a4b2ace 24-Dec-2012 Kurt Partridge <kep@google.com> [Rlog50] capture bigrams properly even with deletions

multi-project commit with Ia4ec213e8356897807cb6a278fccdbaa945732f0

Change-Id: Ib3fe886dc889954a31586ab81d00a21d8d55efd2
atinIME.java
ichInputConnection.java
8da9c337db1a99d4cf55ec41df1f7b6a933453e9 09-Jan-2013 Jean Chalard <jchalard@google.com> Move a method to a utility class (C1)

This is a preparatory change to fix bug 7969231

Change-Id: I44604ae75192a17b4e75a01f3e3d679d4901299e
nputTypeUtils.java
516b63db2866f144a00ec7e1e6c29cb0865f5ff3 09-Jan-2013 Jean Chalard <jchalard@google.com> Fix a race condition with backspaces

And add a test to make sure it stays not-broken.

Bug: 7946604
Change-Id: I996da3d5507d591ec25a13fb57434f39843f1df5
atinIME.java
d3b0ecec22cda883150851dced32c1eda2910a66 08-Jan-2013 Tadashi G. Takaoka <takaoka@google.com> Clean up public helper methods of SettingsValues

Change-Id: I6c6087580b67f497eaaf16900f8df7a4a895b8e3
dditionalSubtypeSettings.java
udioAndHapticFeedbackManager.java
atinIME.java
ichInputMethodManager.java
ettings.java
ettingsFragment.java
ettingsValues.java
serHistoryDictionary.java
8315e8168b135599237f5493f72e667f39503006 09-Jan-2013 Tadashi G. Takaoka <takaoka@google.com> Merge "Clean up debug related preference keys"
9bad176ebe4f6520db188b5498efbbf7e5fc2c4f 08-Jan-2013 Kurt Partridge <kep@google.com> Merge "[Rlog32] ResearchLogger segment motion data around gestures correctly"
b7fb16e8ccbdd867221109e48a3a5b804f87b80d 08-Jan-2013 Kurt Partridge <kep@google.com> Merge "[Rlog27] Refactor LogBuffer"
a5ff9f0c77005769f92ca1131882bb4e3ca18980 08-Jan-2013 Tadashi G. Takaoka <takaoka@google.com> Clean up debug related preference keys

Change-Id: Ib7129692c673b3bce253120ee709e0253aeafa52
ebugSettings.java
ff0735ada807239abeb4c6105b7d01d2bcea0aed 08-Jan-2013 Tadashi G. Takaoka <takaoka@google.com> Make Settings class singleton to manage SettingsValues

Change-Id: Id30828a141de86d9bcf8bce586d2adb468cc59e1
atinIME.java
ettings.java
ettingsValues.java
8873b5ae31a5541913af40af6862542055e39ef8 08-Jan-2013 Tadashi G. Takaoka <takaoka@google.com> Merge "Rename Settings to SettingsFragment"
4b852d60447901ce2f6e9ffe03a35f44fbb96f44 08-Jan-2013 Tadashi G. Takaoka <takaoka@google.com> Merge "Consolidate VibratorUtils with AudioAndHapticFeedbackManager"
cbee8a33d58f438b1e616947df282944c0046498 08-Jan-2013 Tadashi G. Takaoka <takaoka@google.com> Rename Settings to SettingsFragment

Change-Id: If5bc53efc67be507663091de0f569f604c03e719
ettings.java
ettingsActivity.java
ettingsFragment.java
b17b88742528d09eaa36adb3dae5348b99c234e0 08-Jan-2013 Tadashi G. Takaoka <takaoka@google.com> Consolidate VibratorUtils with AudioAndHapticFeedbackManager

Change-Id: Ica4e3193f369330da62a259c718b779ddf9fbde5
udioAndHapticFeedbackManager.java
atinIME.java
ettings.java
ettingsValues.java
ibratorUtils.java
c79493a15fdc58415a4968cb05cbe3d2d934d78e 07-Jan-2013 Jean Chalard <jchalard@google.com> Adjust the used frequency of the user dictionary words.

Bug: 7656666
Change-Id: I4b271af636f6103cb5287336229581365841d778
serBinaryDictionary.java
99f31896454eff3789e00949dcce83f6914fe3f4 31-Aug-2012 Kurt Partridge <kep@google.com> [Rlog32] ResearchLogger segment motion data around gestures correctly

multi-project commit with I684ba5fed8c653777942e6b0366113ca40dfa37c

Change-Id: Id3804e6cfa97b4cdde212b8eebc413f76fa4772c
atinIME.java
ichInputConnection.java
28de7223e62fd43d59cbf91fb2422c94e32e9ab0 08-Jan-2013 Xiaojun Bi <bxj@google.com> Merge "[mdfp] Refactoring Gesture Floating Preview Text Code"
d52730a2d7a6e98245719ce5c53bcf4b3a3ba1c9 19-Dec-2012 Xiaojun Bi <bxj@google.com> [mdfp] Refactoring Gesture Floating Preview Text Code

This change moves gesture preview text code from PreviewPlacerView.java
to separate classes.

Change-Id: Id8d17eff38e714c3b06aafd0b24985a9bd2d2f52
atinIME.java
f90fc105ab1159f43f536bcacdd1224c2c05bacb 07-Jan-2013 Tadashi G. Takaoka <takaoka@google.com> Simplify singleton class initialization

Change-Id: I16a27f2ed6ea66184bfdc9903180372cd7ea2fd1
dditionalSubtypeSettings.java
atinIME.java
atinImeLogger.java
ichInputMethodManager.java
b6ca354431367b625daf9fff5fbe4b1f5ef996ab 06-Jan-2013 Ken Wakasa <kwakasa@google.com> Small code cleanups

Multi-project commit with I249d5fbe

Change-Id: Ia28c4e970992aa1299a30e604eaa5d096655c3a5
dditionalSubtype.java
onstants.java
ictionaryCollection.java
atinIME.java
ositionalInfoForUserDictPendingAddition.java
ichInputConnection.java
ubtypeLocale.java
serBinaryDictionary.java
serHistoryDictIOUtils.java
serHistoryDictionaryBigramList.java
tils.java
akedict/BinaryDictInputOutput.java
akedict/FusionDictionary.java
f677681330143e3e50871222d33ade594e6348ce 07-Jan-2013 Jean Chalard <jchalard@google.com> Fix double input of chars typed on a h/w keyboard

Bug: 7939324
Change-Id: I11b7af54893cb645f8a06266a0b0ba95dd0b02f9
atinIME.java
f77dd424b077a7f8ff547c09cb94d0dc7f0daed7 23-Dec-2012 Kurt Partridge <kep@google.com> [Rlog27] Refactor LogBuffer

Cleanup and prepare for replaying

Change-Id: Ie09e912c6e9c0d7375168c575ccf1cfd9375dd31
atinIME.java
fa7f08b37327c825baf0a6455d6f7fdf8b37da57 27-Dec-2012 Tadashi G. Takaoka <takaoka@google.com> Set default audio and haptic feedback settings

- Default keypress volume is set to 0.2f in resource.
- Default keypress vibration duration is set to 10 msec in resource.

Bug: 7055329
Change-Id: I83bd6288d171d9787d52e2b02e4e5305f1435681
esourceUtils.java
ettingsValues.java
tringUtils.java
a2982dd5a7b44a388464b5885366e52c2f828b43 27-Dec-2012 Tadashi G. Takaoka <takaoka@google.com> Refactor to add SeekBarDialog

Change-Id: Id8e08a1d5ec5efb2baf96a2634111619fcb9fd4e
udioAndHapticFeedbackManager.java
eekBarDialog.java
ettings.java
864db4b0dad32a2e949f2e4396d9cf5a234fcefd 28-Dec-2012 Jean Chalard <jchalard@google.com> A small simplification.

It's useless to setAutoCorrection(getTypedWord()). Every time the
contents of the word composer are altered, the auto-correction is
reset, and at use time if it's null then the typed word is used
anyway.

Change-Id: I0870657a1ab3f456f376995b27e70703f7a5d23a
atinIME.java
997cba7decce9694b3c2f9487deb9710ebb19595 26-Dec-2012 Jean Chalard <jchalard@google.com> Start committing hardware events (B4)

Essentially this does activate auto-correction with a hardware
keyboard, although a lot of things are still left to implement.
No proximity is used yet which means only missing and excessive
letters are considered. Dead keys are not handled. No combiner
is supported. No suggestions are displayed. Resuming suggestions
does not work correctly with a hardware key (because the view
holds a temporary hardware event 'onKeyPreIme' and the event
from the IME won't be handled until this is handled which won't
happen until after the IME said that it did handle the event).

Bug: 5037589
Change-Id: Idcb5c7b26d56717ed772d53c062362807f11cdae
onstants.java
atinIME.java
0abc48218ee90b1d8df77dfa131ce05fbaba7121 27-Dec-2012 Jean Chalard <jchalard@google.com> Rename some confusing variables

Change-Id: Ib0de800599ae7f12c86270a627616d5b52366414
ichInputConnection.java
5bde3a61633556afb16481680daefc7cabbf5890 27-Dec-2012 Jean Chalard <jchalard@google.com> Fix an old bug in getting a word from the connected view.

In this test, it's impossible that start < 0 so the test is useless.
I'm not sure what the cursor test was for, but it's very old code, and
it seems the assumption was either misled or doesn't hold any more:
testing for the absolute cursor position against the length of the
word against the cursor makes no sense.

The net result of this was that when the cursor index got large
enough, resuming suggestion would not work any more.

Bug: 7586467
Change-Id: I3462082374fe9579bec7698f4d424de6ff5f2ded
ichInputConnection.java
f483225397ddbd130b415c26909fa47d24fac97a 26-Dec-2012 Tadashi G. Takaoka <takaoka@google.com> Get rid of current subtype and system locale cache from SubtypeSwitcher

Bug: 7675452
Change-Id: I2121f56964b6d25e8d40f5b8ec67eeae527b2117
atinIME.java
ubtypeSwitcher.java
4aff3bf0eaf4aec38c1d8576fdfc85a9eaa1c544 23-Dec-2012 Kurt Partridge <kep@google.com> Clean up unnecessary uses of toString()

Leftover from changing variables from CharSequence to String

Change-Id: I4db43fcb075aa37bf9c5b2a23bad0e4c2d718379
atinIME.java
f763dc5915d394378bdcdc90cc0b238e66926b8b 28-Aug-2012 Kurt Partridge <kep@google.com> [Rlog24] ResearchLogger detect word boundaries in callers above commitText

multi project commit with I5847d4aba97a7224ae170a7153811c5a11816449

Change-Id: Ie6fbf6f19f0193451fe6f3ddf9d4ef1637a35db1
atinIME.java
ichInputConnection.java
13b1be988d49818c48949d2534ffe31ed8475cfb 23-Dec-2012 Kurt Partridge <kep@google.com> Merge "Log LatinIME.commitCurrentAutoCorrection()"
226377e65aabe3922c47a4e40f7d846d346c55d5 22-Dec-2012 Kurt Partridge <kep@google.com> Log LatinIME.commitCurrentAutoCorrection()

Change-Id: Ic46c91374ae0177cafad4579d28d6980af0d8d3a
atinIME.java
ab9f4fd35932a6f513f36d14dc77f559209b1131 22-Dec-2012 Kurt Partridge <kep@google.com> Merge "[Rlog7] ResearchLog improve gesture tracking"
f1ce54891f54b4b75a7662fe08204e9d50e54e55 13-Aug-2012 Kurt Partridge <kep@google.com> [Rlog7] ResearchLog improve gesture tracking

- count how many times a gesture is deleted
- count num chars entered by gesture
- change name of fns to reflect capturing gesture information when setting composing text

Change-Id: I1b8ebf9cfcf304e0efd827c8b8e28a4010199728
atinIME.java
4c2b6923c3f6c1c1afa2e039848f0c5cdc7529d3 20-Dec-2012 Kurt Partridge <kep@google.com> Merge "[Rlog11] ResearchLogger printable code for research key"
af348131270d5865865df32f1768311a8f26a5cb 29-Aug-2012 Kurt Partridge <kep@google.com> [Rlog11] ResearchLogger printable code for research key

Change-Id: Ifac7a801ea8534191a9258871d3d7f91e942788b
onstants.java
94ac7a38516635d552c54bdcb5785e7d60fe2188 19-Dec-2012 Kurt Partridge <kep@google.com> Merge "Add ProductionFlag.IS_EXPERIMENTAL_DEBUG"
cff28c5d5db3e0c3e97149519a3f705150aeb224 06-Dec-2012 Jean Chalard <jchalard@google.com> Add skeleton classes for hardware event flow (B1)

Bug: 5037589
Change-Id: Id8eea0e2bd00dd339a1efb4b0542e4c091a84195
atinIME.java
45239029ceb876462e0d3f654c6b24ac9a9ed8af 19-Dec-2012 Ken Wakasa <kwakasa@google.com> Remove trailing spaces

Change-Id: I260b85ef9e91d17f97d6e405d2d92a65b443df44
ackupAgent.java
akedict/FusionDictionary.java
0aafbcf879a31afc8361078bd9574915d95694c0 18-Dec-2012 Kurt Partridge <kep@google.com> Add ProductionFlag.IS_EXPERIMENTAL_DEBUG

The IS_EXPERIMENTAL_DEBUG flag gives a single place to turn off all debugging flags that might be
set and to also enforce privacy controls. Currently only used in the research package.

multi-project commit with I9275a7c8e40bf56106447a02d3056655329074b3

Change-Id: If769fe3a633f33963ca49e8ddf01ab24a30b6fd2
efine/ProductionFlag.java
ce8b139124b703ef4409520a721b77a6879cc82c 18-Dec-2012 Kurt Partridge <kep@google.com> Merge "[Rlog5] ResearchLogging change from onFinishInput to onFinishInputView"
8432c1317a0c827e1ee20dab8d0f90de6eb6d4b0 18-Dec-2012 Kurt Partridge <kep@google.com> Merge "[Rlog3] improve stat recording"
606058f777de394d38b364a655cff36ccaf0d5d2 13-Aug-2012 Kurt Partridge <kep@google.com> [Rlog5] ResearchLogging change from onFinishInput to onFinishInputView

Change-Id: I7d3bcfe647249e0b8a14ac3d67460c2684f16d8c
atinIME.java
48160f9d847c0246883bc81599613b1ebe2652a6 10-Aug-2012 Kurt Partridge <kep@google.com> [Rlog3] improve stat recording

Change-Id: Ie3b70e6eadc2a9af5ef45ddfad6a3398cea7bfe8
atinIME.java
c5da4365fbe6ff23a8db381ee7de6fa43fd7086b 18-Dec-2012 Kurt Partridge <kep@google.com> Merge "[Rlog2] ResearchLogging fix multi-space logging"
3370dc82370f5397bafdaeba395e3dfc8b8adf3a 10-Aug-2012 Kurt Partridge <kep@google.com> [Rlog2] ResearchLogging fix multi-space logging

multi-space logging should look like single-space logging, missing a few minor log statements
(SuggestionUpdates, SetComposingText)

multi-project commit with I2af842348c2f2b8f7271ac5b63def245e83df24d

Change-Id: Icd3187c0d0377255f82787afffea657c14345803
ichInputConnection.java
fbe83245c9392aadbda6f47b514b047094e2182f 17-Dec-2012 Ken Wakasa <kwakasa@google.com> Clean up SuggestionSpanUtils for API level 14+

Change-Id: Iadc235524341b48e7618e9ce05907c786409e004
uggestionSpanPickedNotificationReceiver.java
96b22200beb98fd1a6288f4cf53e38611a09cdd0 17-Dec-2012 Ken Wakasa <kwakasa@google.com> Privatize a few constants in BinaryDictionary.java

Change-Id: I7defaf1f577fd67e678cac83ff935e8181dd0a48
inaryDictionary.java
xpandableBinaryDictionary.java
xpandableDictionary.java
astComposedWord.java
ichInputConnection.java
serHistoryDictionary.java
ordComposer.java
f21a491ad80c99063e461056ce3cb0eaca1a41e2 17-Dec-2012 Tadashi G. Takaoka <takaoka@google.com> Show last valid suggestions when gesture typing gets no suggestion

Bug: 7679566
Change-Id: Ie68c7698144c7576b5814ee35664309bcfdcbf0f
atinIME.java
b808188b2f331c3003c045fb4d25037e56f63ce0 17-Dec-2012 Tadashi G. Takaoka <takaoka@google.com> Show last valid suggestions when tap typing gets no suggestion

Bug: 7872809
Change-Id: Ib5a255de7968aba214249c1b934327d248a15efd
atinIME.java
8c15e91344a5e97ca069200070745c4384f40750 15-Dec-2012 Ken Wakasa <kwakasa@google.com> resolved conflicts for merge of d48d6fee to master

Change-Id: I21141956135debe737453dba87617671b1716d0a
d48d6feedd18f0fe334e8f167c5b0ff240a402ea 14-Dec-2012 Jean Chalard <jchalard@google.com> am db6f21c6: am 18d688c9: Use the amended user dictionary word for insertion

* commit 'db6f21c6792fe07a733572e1d4978f46b5462c35':
Use the amended user dictionary word for insertion
18d688c94bb8e1e26de2d12445cb3096c6126f75 13-Dec-2012 Jean Chalard <jchalard@google.com> Use the amended user dictionary word for insertion

When the user edits a word before adding it to the user
dictionary, the keyboard should replace whatever was
committed before with the amended version.

Bug: 7725834
Change-Id: I1a417be6c5a86d6a96bc2c76aca314ad8f1202a9
atinIME.java
ositionalInfoForUserDictPendingAddition.java
ichInputConnection.java
serBinaryDictionary.java
uggestions/SuggestionStripView.java
edbb65be3e5e391affbf47e134422ac1d1a4ae13 14-Dec-2012 Tadashi G. Takaoka <takaoka@google.com> Reset composing state at onFinishInputView

Bug: 7709817
Change-Id: Icac0b8cb28209d98d291d8f00be55e33af5bf696
atinIME.java
ac69ab400d1ea4f90b4ca24486d62212decf1069 10-Dec-2012 Tom Ouyang <ouyang@google.com> Refactor more keys menu framework (part 3)

Make it possible to re-enter gesture input even after triggering the long-press
menu. This is useful for new users who may pause at the start of a word. Works
for both single and bi-manual gestures.

Bug: 7595193
Change-Id: Ieaecfd5385ed6c10ae9347b99c2e35a0de5e895d
uggestions/SuggestionStripView.java
1f4f404e1f753db5cbe675e0088064e3c64e0953 14-Dec-2012 Tom Ouyang <ouyang@google.com> Merge "Refactor more keys menu framework (part 2)"
35580bad6f3da3b204653825bbb6871563e70728 03-Dec-2012 Tom Ouyang <ouyang@google.com> Refactor more keys menu framework (part 2)

- Integrate pointer tracking between more keys menu, more suggestions menu, and main keyboard.
- Adds multi-touch support for more keys menus. Long press with one finger and select keys with another finger.

Bug: 7508007

Change-Id: I394f28cd79e342d6bcfea573af72aa33b9def00f
uggestions/MoreSuggestionsView.java
uggestions/SuggestionStripView.java
f1b464da31365c112877a35dff849daee1dbb88a 11-Dec-2012 Jean Chalard <jchalard@google.com> Remove a useless member

Change-Id: Id13e0aeec6ec3655d6bb0edc7f8f7821e7dc5a36
akedict/BinaryDictInputOutput.java
pellcheck/AndroidSpellCheckerService.java
12939572f3abd7847b5e604f8c5f041d60e1c823 08-Dec-2012 Tadashi G. Takaoka <takaoka@google.com> Remove unused suggestion preview stuffs

Change-Id: Ida5668f4eba1783d96e02001a64ae713f98176b7
uggestions/SuggestionStripView.java
fa2d543785c52f639ad3157c57420f58a199c550 03-Dec-2012 Tom Ouyang <ouyang@google.com> Refactor more keys menu framework (part 1)

Eliminate use of slower popup window for rendering the more keys menu and more suggestions menu.
These menus are now drawn directly on the preview placer view.

Change-Id: I40638724a6ffde2be4b5d0341d2a5db7ff7be930
atinIME.java
uggestions/MoreSuggestionsView.java
uggestions/SuggestionStripView.java
8e2b34cdb24adb1563cc296a4741be7391fa24e9 06-Dec-2012 Tadashi G. Takaoka <takaoka@google.com> Cancel batch input when orientation has been changed

Bug: 7665231
Bug: 7662486
Change-Id: I7b6095026dbf1b9b2f6d3b29f2ab83c462ab374e
atinIME.java
2da886651874b2588f18f800417ba858ac93d88b 06-Dec-2012 Jean Chalard <jchalard@google.com> Remove a couple Eclipse and Android Lint warnings

Change-Id: I0c29c5d2abcbf80759b996d34b534deb083cd7d3
ebugSettings.java
atinIME.java
ichInputConnection.java
serHistoryDictIOUtils.java
serHistoryDictionary.java
tils.java
akedict/BinaryDictInputOutput.java
akedict/FusionDictionary.java
2b6a1fed767080aaa71acbd591d30b9f436b0499 04-Dec-2012 Ken Wakasa <kwakasa@google.com> Method/variable/resource names clean up for the double-space period

bug: 7664717
Change-Id: I914aa588b863c442c2d360221e3fa0f4c42640e7
atinIME.java
b4a9a6debae5428d243d20d127268b4ffa94a1af 04-Dec-2012 Jean Chalard <jchalard@google.com> Merge "Fix wrong misspelling reports of fully capitalized words"
95bfb8ac474d242f7abe83709df5c853a6d08619 04-Dec-2012 Jean Chalard <jchalard@google.com> Fix wrong misspelling reports of fully capitalized words

Two flavors of words would be wrongly reported as misspelled
by the android spell checker when they are written in all
upper case letters:
- Words containing a quote or a dash or any other non-letter
- Words that need the first letter to be capitalized

Bug: 7659216
Change-Id: Ibc5d261945ffcbb8a858d4c73b7c62cef6671abf
pellcheck/AndroidSpellCheckerService.java
pellcheck/AndroidWordLevelSpellCheckerSession.java
139bd83f0c552e3fdb5f763b5f6fe25ad138802b 04-Dec-2012 Ken Wakasa <kwakasa@google.com> Add a new option for the double-space period functionality

bug: 6934756

Change-Id: I94b2d08cac6533e96031d8e97f347e9b5fd72859
atinIME.java
ettings.java
ettingsValues.java
84f5816cf1ce1431eb48919ba68edd9dd380d0f6 03-Dec-2012 Tadashi G. Takaoka <takaoka@google.com> Merge "Groundwork for sliding key input preview"
547b638194c05f971003edb06c3c6c489a76da5f 28-Nov-2012 Tadashi G. Takaoka <takaoka@google.com> Groundwork for sliding key input preview

Bug: 7548583
Change-Id: Id807af31f581c08ff8074ed1f6766337bea9469f
oordinateUtils.java
16e9d343c4ab0d4260f9baaabf13593f8946368f 30-Nov-2012 Satoshi Kataoka <satok@google.com> Merge "Tweak beeline speed"
b5fc0e02d04550d39bfa98c2dde805f1c1d3f9a3 30-Nov-2012 Tadashi G. Takaoka <takaoka@google.com> Cancel update batch input timer when gesture typing has been canceled

Bug: 7594165
Change-Id: I9dc42919bd196c249c79668570004d3f541cc9ec
atinIME.java
6ae8dd4343445d2df4444388b605d2aa930fa2a0 22-Nov-2012 Satoshi Kataoka <satok@google.com> Tweak beeline speed

Change-Id: I77bbd5e1888281e838d87824dc04a574b1a7ecb7
ebugSettings.java
359c35e0f6e534d096efc1d9f2ff585139e3b3ac 28-Nov-2012 Tadashi G. Takaoka <takaoka@google.com> Add CoordinateUtils class

Change-Id: I23784117f77da54ee2a0670e65d86e26d762a687
oordinateUtils.java
uggestions/MoreSuggestionsView.java
85e397cd1060f3878d9a55373b7409641175179a 28-Nov-2012 Tadashi G. Takaoka <takaoka@google.com> Set additional subtypes before getting current subtype

Bug: 7594188
Change-Id: I1977acb7189f8eb186b9b20a3e5b64b4aaabf191
dditionalSubtypeSettings.java
atinIME.java
ichInputMethodManager.java
ettingsValues.java
b3f789799a2983a9c97288686f11dfab369243c0 22-Nov-2012 Tadashi G. Takaoka <takaoka@google.com> Cancel gesture typing by sliding out from keyboard

Bug: 7594165
Change-Id: I7849d763e49b57716e8418fb8b6f90eca3a5d2ec
atinIME.java
e36af707c8a8705ebd19fcc359c51181f7ebd171 21-Nov-2012 Jean Chalard <jchalard@google.com> resolved conflicts for merge of b7e6bbae to master

Change-Id: Ic02809190721472d138532d2189328519117e042
b7e6bbaebcfc0707890cd17a15f70688a01217a7 21-Nov-2012 Jean Chalard <jchalard@google.com> am 3acd0c7a: am f732f4dd: Merge "Only add spaces automatically when appropriate." into jb-mr1.1-dev

* commit '3acd0c7a9f4a5f17897a4fe51b023d6f14ba7ef0':
Only add spaces automatically when appropriate.
f732f4ddccb679369b2fd2e43582b3b15aecfa1d 21-Nov-2012 Jean Chalard <jchalard@google.com> Merge "Only add spaces automatically when appropriate." into jb-mr1.1-dev
e44ce053e724e74effc52cb2343082ce1c595073 21-Nov-2012 Tadashi G. Takaoka <takaoka@google.com> am 8a5b176f: am fd1267e3: Add Spanish United States keyboard (DO NOT MERGE)

* commit '8a5b176f655a46f1c575886a7d3a3c1120c91b29':
Add Spanish United States keyboard (DO NOT MERGE)
c82c0d0ef2126e6afd5c7ea74bb4bc3384a90fca 20-Nov-2012 Jean Chalard <jchalard@google.com> Merge "Fix variation dumping."
4d0fa3177994fd52297819b69f98ebd272eb800f 19-Nov-2012 Jean Chalard <jchalard@google.com> Fix variation dumping.

Variations are not flags - they should not be OR'd in this way.
Only one variation may be active at a time.

Change-Id: I9d3d4c8fc04af56c914c65f9c55f1e7b9517fc68
nputAttributes.java
ec60d60078b4837b657dc207bdbde1748749199e 13-Nov-2012 Jean Chalard <jchalard@google.com> Only add spaces automatically when appropriate.

Correctly check the variations to determine if we should
add automatic spaces (in manual picks and gestures) or not.

Bug: 7164981
Change-Id: I19e25af839b4062c217113cd804b1473912f22a5
nputAttributes.java
nputTypeUtils.java
atinIME.java
ettingsValues.java
76d4ffeebfd084913a8c1b7433dff48f5b2063df 19-Nov-2012 Tadashi G. Takaoka <takaoka@google.com> Add Spanish United States keyboard

The subtype locale name on the spacebar will be suppressed when only
one subtype is enabled and
- Subtype locale is equal to the system locale.
or
- Subtype language is equal to the system language but the subtype is
implicitly enabled.

Thus the "es_ES" system locale chooses "es" subtype keyboard
implicitly but the keyboard doesn't have the subtype name on its
spacebar.

This change also removes Spanish Latin America keyboard.

Bug: 7531804
Change-Id: Ib929e8235d643c0ba039eb010e18ab721a734e15
dditionalSubtypeSettings.java
ichInputMethodManager.java
ubtypeLocale.java
ubtypeSwitcher.java
fd1267e396d62694958569e35d0edfbc6b6ac7d3 19-Nov-2012 Tadashi G. Takaoka <takaoka@google.com> Add Spanish United States keyboard (DO NOT MERGE)

Bug: 7531804
Change-Id: Idd66ee30e5228260540308a97c930185b48e775f
dditionalSubtypeSettings.java
41a2c10e72e02ce9215c867a67b87ecfcc725149 17-Nov-2012 Ken Wakasa <kwakasa@google.com> resolved conflicts for merge of 4ad92578 to master

Change-Id: I29ad9f0ba357e39889e30c9ebfcf61f9d08ee4ef
4ad92578dde88ad6442152c86dbfd8b107fbd550 17-Nov-2012 Ken Wakasa <kwakasa@google.com> am 7acd310d: am f9ff4fb5: Merge "Revert "Only add spaces automatically when appropriate."" into jb-mr1.1-dev

* commit '7acd310d02f060f3e3e29000db902dffb6b0df9c':
Revert "Only add spaces automatically when appropriate."
f9ff4fb5da5971bd02eec491a497006540e1438a 17-Nov-2012 Ken Wakasa <kwakasa@google.com> Merge "Revert "Only add spaces automatically when appropriate."" into jb-mr1.1-dev
5986931fcb0137a2a1f4886bb9498026bdf8eb68 17-Nov-2012 Ken Wakasa <kwakasa@google.com> Revert "Only add spaces automatically when appropriate."

This reverts commit 6ce66d1c7d4a5be9c6ed33e4f881994283d5eee9

Change-Id: I90004a5fea0bc7999ecf8742f883ff4dac264d8a
bug: 7565414
nputAttributes.java
nputTypeUtils.java
atinIME.java
ettingsValues.java
ea23a2855757074197671cab4211c547a8f92f30 16-Nov-2012 Marco Nelissen <marcone@google.com> resolved conflicts for merge of 6f42cf1d to master

Change-Id: I054bb0cfba9de06473100010a76e2f3d9c2c1180
3a9f84a197887ef9ab44c925f79863a707e6bffc 16-Nov-2012 Jean Chalard <jchalard@google.com> am 8c470f16: am 5dee6e69: am 187e683a: Merge "Fix a bug with some text fields" into jb-mr1.1-dev

* commit '8c470f16db291e257ac538bd0ac2a9354d34010c':
Fix a bug with some text fields
fe9ec6bc7d58464f3117c3fe9372c2994861998b 16-Nov-2012 Ken Wakasa <kwakasa@google.com> Remove unused variables

Change-Id: Ia5079368a1bc86ccdf0052445dc6945041c0abca
inaryDictionary.java
ictionary.java
xpandableDictionary.java
6f42cf1deeeeb8be2060afc02204dac28b275119 16-Nov-2012 Jean Chalard <jchalard@google.com> am 3dd4548e: am 191d49ae: Merge "Only add spaces automatically when appropriate." into jb-mr1.1-dev

* commit '3dd4548ec6105ca774e84ab3223bdbcea1e4902e':
Only add spaces automatically when appropriate.
191d49ae8a0f4bb10724b83d9424d80f08ac7181 16-Nov-2012 Jean Chalard <jchalard@google.com> Merge "Only add spaces automatically when appropriate." into jb-mr1.1-dev
6ce66d1c7d4a5be9c6ed33e4f881994283d5eee9 13-Nov-2012 Jean Chalard <jchalard@google.com> Only add spaces automatically when appropriate.

Bug: 7164981
Change-Id: Id672104a0fda99c52923913fb0e40c3a1ead4787
nputAttributes.java
nputTypeUtils.java
atinIME.java
ettingsValues.java
8c470f16db291e257ac538bd0ac2a9354d34010c 15-Nov-2012 Jean Chalard <jchalard@google.com> am 5dee6e69: am 187e683a: Merge "Fix a bug with some text fields" into jb-mr1.1-dev

* commit '5dee6e69f1de114df1f258fdc62559237989dc75':
Fix a bug with some text fields
187e683aea117fde1ad2de2d0cdd18c3fd4ce7f4 15-Nov-2012 Jean Chalard <jchalard@google.com> Merge "Fix a bug with some text fields" into jb-mr1.1-dev
0dfb89b41ef876e163afd37b854b37386502d49e 15-Nov-2012 Tadashi G. Takaoka <takaoka@google.com> am eea28db3: am d4886ff5: am 929bfdd0: Merge "Update shift state only when input field is restarted" into jb-mr1.1-dev

* commit 'eea28db3333a734bf73e688b8335245929d5f322':
Update shift state only when input field is restarted
eea28db3333a734bf73e688b8335245929d5f322 15-Nov-2012 Tadashi G. Takaoka <takaoka@google.com> am d4886ff5: am 929bfdd0: Merge "Update shift state only when input field is restarted" into jb-mr1.1-dev

* commit 'd4886ff5419003c3bf996939ba87e4b49bcdbfae':
Update shift state only when input field is restarted
dda024cf300cfc69125a8812d565df4f512e64f5 15-Nov-2012 Tadashi G. Takaoka <takaoka@google.com> am 428d1b64: am 4826c3ff: Merge "Fix language switch key behavior (DO NOT MERGE)" into jb-mr1.1-dev

* commit '428d1b6469b5bc9041c35a7e1ee1476d5aacedd7':
Fix language switch key behavior (DO NOT MERGE)
929bfdd059df5bb0340a3b22a3feff211f03798e 15-Nov-2012 Tadashi G. Takaoka <takaoka@google.com> Merge "Update shift state only when input field is restarted" into jb-mr1.1-dev
d0725a68421203ae42d78ceed57767a5204e858e 14-Nov-2012 Tadashi G. Takaoka <takaoka@google.com> Update shift state only when input field is restarted

Bug: 7482766
Change-Id: Ifdfa110c44b95acfbcd3e0aa34f675c70b7d7285
atinIME.java
4a3d4620fc773d710c8a529ad7742d0a6ea3fff2 14-Nov-2012 Tadashi G. Takaoka <takaoka@google.com> Merge "Fix language switch key behavior"
d62be28515481910bbf4d2e05df89ebb33f54e0e 12-Nov-2012 Tadashi G. Takaoka <takaoka@google.com> Fix language switch key behavior (DO NOT MERGE)

Bug: 7075923
Change-Id: If139411db4aa65eed64337bf2a79387cfcd04496
atinIME.java
1931c1cab1c2b077030210f2dd7a1839da7211bc 02-Oct-2012 Tadashi G. Takaoka <takaoka@google.com> Fix language switch key behavior

Bug: 7075923
Change-Id: I306e1ff5d9f873541e84e1fafb64b9473947f623
atinIME.java
ichInputMethodManager.java
1ee6e14507efd6a85fb6af93d558fb01e097860c 14-Nov-2012 Satoshi Kataoka <satok@google.com> Hide statustics logging option

Change-Id: I1ee258948a8335af7996f9e3afcc0508adbb1ac0
ebugSettings.java
00c0010ccf2de188743cb8f7364b8ba8b9faf7f8 13-Nov-2012 Jean Chalard <jchalard@google.com> Fix a bug with some text fields

Not sure when this happens exactly, but it is possible that
InputConnection#getTextBeforeCursor returns null. This
happens for example upon rotating the screen with the
composing field empty in Gmail.
In this case, StringBuilder#append will convert the null
pointer into the string "null", which is sure better than a
crash, but can have a number of bad side-effects, like
auto-caps not working.

Bug: 7533034
Change-Id: Ia1cfab432c13a12ff1c2f013c59bac05a587f553
ichInputConnection.java
372f9da4f9b6ea78227fbb48033c1a5b36d0abca 14-Nov-2012 Jean Chalard <jchalard@google.com> am 18ff5612: am f592270a: am 7648b37d: Merge "Make sure all FDs are correctly closed." into jb-mr1.1-dev

* commit '18ff56125345746e288118d177fcabf3c079ead3':
Make sure all FDs are correctly closed.
18ff56125345746e288118d177fcabf3c079ead3 14-Nov-2012 Jean Chalard <jchalard@google.com> am f592270a: am 7648b37d: Merge "Make sure all FDs are correctly closed." into jb-mr1.1-dev

* commit 'f592270a0f092c5ef52bbb0f24c8873f46e75503':
Make sure all FDs are correctly closed.
7648b37d1e4cf3799288f85cc9c5f67b515e24c4 14-Nov-2012 Jean Chalard <jchalard@google.com> Merge "Make sure all FDs are correctly closed." into jb-mr1.1-dev
5c32b6da4400c85db2245de3bc18c91d495ce1c5 13-Nov-2012 Jean Chalard <jchalard@google.com> Make sure all FDs are correctly closed.

In this kind of series of calls, it's possible that an outer call to a
constructor fails, but the inner succeeded.
Example:
try {
is = new A(new B());
} finally {
if (null != is) is.close();
}
In this case, if new B() succeeds but new A() throws an
exception, is stays null and the intermediate object is never
closed. This is what was happening in this instance.

Bug: 7377336
Change-Id: I3fae9fec1135244982fcf5098c76d93f3e0f2add
inaryDictionaryFileDumper.java
80d7d32424dd856a2f55fea981a5a511a09d2ee9 13-Nov-2012 Jean Chalard <jchalard@google.com> am d2116eb2: am 7d34763e: am fac619a3: Merge "Don\'t restrict reset composing state to non-identical setText" into jb-mr1.1-dev

* commit 'd2116eb2ea7d08e81b7efe5e342772ffcd8a7efc':
Don't restrict reset composing state to non-identical setText
1b909c2846cfe55910c791904afd493f2519dd85 13-Nov-2012 Jean Chalard <jchalard@google.com> Resolve conflicts for merge of 3a9ba17f to master"

Change-Id: I8a1a84a81745a708f63e4211267c4afc3a6b8e49
d2116eb2ea7d08e81b7efe5e342772ffcd8a7efc 13-Nov-2012 Jean Chalard <jchalard@google.com> am 7d34763e: am fac619a3: Merge "Don\'t restrict reset composing state to non-identical setText" into jb-mr1.1-dev

* commit '7d34763e23cb49c8c96dbf9b4c613e17098dd919':
Don't restrict reset composing state to non-identical setText
3a9ba17fd24602f39b3108f641d076ae91890a77 13-Nov-2012 Jean Chalard <jchalard@google.com> am a13a8a58: am 0e84041b: Refactor all phantom-space-inserted spaces in one place

* commit 'a13a8a58e05ecd3f9eccdc47ceca972a814d247e':
Refactor all phantom-space-inserted spaces in one place
fac619a34c8101cac504db500d74114dc8768372 13-Nov-2012 Jean Chalard <jchalard@google.com> Merge "Don't restrict reset composing state to non-identical setText" into jb-mr1.1-dev
0e84041bf740590230198fa845d8c45acd4cb586 12-Nov-2012 Jean Chalard <jchalard@google.com> Refactor all phantom-space-inserted spaces in one place

Bug: 7164981
Change-Id: If1635c212b2d5d9cf51f5fb074f3b20dd7ec7b2a
atinIME.java
61cc2a33911ff2a8115ce727c8cac6d73d989c42 09-Nov-2012 Jean Chalard <jchalard@google.com> Don't restrict reset composing state to non-identical setText

Bug: 7497063
Change-Id: Ifbd5c37408131867458fd921bdef46ef90d81478
atinIME.java
eaaee2864752bdedde4875e1e71ff174a2ef1828 12-Nov-2012 Tadashi G. Takaoka <takaoka@google.com> Merge "Enhance ImfUtils to InputMethodManagerWrapper class"
6fbbab3b8442ad010c53dc53a09535f7b0ef0323 09-Nov-2012 Tadashi G. Takaoka <takaoka@google.com> Enhance ImfUtils to InputMethodManagerWrapper class

Change-Id: I6ff86ee819a446dd3ed5f9c3400d23564027b020
dditionalSubtypeSettings.java
mfUtils.java
atinIME.java
ichInputMethodManager.java
ettingsValues.java
ubtypeSwitcher.java
21177c1afed4c04f436acbd1116568051167c899 08-Nov-2012 Tadashi G. Takaoka <takaoka@google.com> Remove gesture typing settings when disabled by configuration

Bug: 7506408
Change-Id: I4de53ace170d5ddc9779f42ac344c4190c80a019
ettings.java
01d47b809617aee03e240a6b4b41013269547bc1 09-Nov-2012 Jean Chalard <jchalard@google.com> Fix a logic flaw.

This test is seriously wrong : although we do have a method that
does exactly the right thing, this looks at a very specific, unrelated
variable state in hope it happens to be set only in the relevant
cases by the play of logic.
I don't think this changes anything concretely, as the assumption
was probably true in the practice ; still, this code is very hard to
read and prone to unexpected breakage.

Change-Id: I77ab576f90762429fcc752df31ed30e1c81871dc
atinIME.java
710d06cea91a8e6bf04a27f0bcd88d76a5cc5acd 08-Nov-2012 Ken Wakasa <kwakasa@google.com> Suppress dictionary pack support when IS_EXPERIMENTAL is true

Change-Id: If8813cb989c1fa8744a3bf36e8514ced3c8f46a3
inaryDictionaryGetter.java
atinIME.java
ettings.java
c43ff6f66c1a3a36ae46654d57a78ee9bde3ba3e 08-Nov-2012 Tadashi G. Takaoka <takaoka@google.com> Remove gesture typing settings when disabled by configuration

Bug: 7506408
Change-Id: I4de53ace170d5ddc9779f42ac344c4190c80a019
ettings.java
43f579e9f69fa8a55c6e65d3d78206094f0c9fe5 08-Nov-2012 Ken Wakasa <kwakasa@google.com> am 4eef5101: am aa5d6fe0: am 9cc22c45: am 5d2556b9: Reset the IME if requested by the app.

* commit '4eef51016adc4e103fa65d944a0ab31527ddced8':
Reset the IME if requested by the app.
5d2556b93286f5f1d7d829b586b84a8b7ae55743 06-Nov-2012 Ken Wakasa <kwakasa@google.com> Reset the IME if requested by the app.

Specifically, reset the KeyboardState to the main Alphabet layout in
LatinIME.onStartInputViewInternal() if a keyboard layout set doesn't get
reloaded in the method.

Please note TextView.setText() calls up resetInput(), then the IME should
reset with it.

bug: 7482086

Note that bug: 6851364 needs to be revisited.

Change-Id: I5d448c10963d3dd952dd13cb587085ec7b014e69
atinIME.java
ffb0c093d1f60025478e6542b3b75fcefbf08d6c 01-Nov-2012 Tadashi G. Takaoka <takaoka@google.com> Merge "Move isInvalidCordinates() method to Constants class"
24ab8055aaae75bcb80c686efc2046a301ebb6ad 31-Oct-2012 Tadashi G. Takaoka <takaoka@google.com> Move isInvalidCordinates() method to Constants class

Change-Id: Iad1464c299ad6055af1db1ff7978e5cd9a14750f
onstants.java
atinIME.java
20dd1bc090abdd3e88855fe54b1865949aa1168d 29-Oct-2012 Tadashi G. Takaoka <takaoka@google.com> Cosmetic source code formating change

Change-Id: I3a53b49afab70dfb13f12027070635da6001eb79
onstants.java
1e61493c50082264caaef862df02b1ccc84dc396 29-Oct-2012 Ken Wakasa <kwakasa@google.com> Use 32-bit code points for suggestions output

This is a multi-project commit with Ic43dd666

bug: 6526418
Change-Id: I39c1acb4e91d04cd8a4ec5a943c8cf575da75ebc
inaryDictionary.java
51a0ef8c59ea590b6e5e80a82fc75bf244084270 31-Oct-2012 Jean Chalard <jchalard@google.com> Add a plumbing option to dicttool info.

Also align the `porcelain' option to the diff command
that was used mistakenly.

Bug: 7388665
Change-Id: Ic0e1b98c62ce37b2e909384a0370af4458563703
akedict/FusionDictionary.java
c7318bbc0b47662799d2f7a01e5b53edb43ebf2a 29-Oct-2012 Tadashi G. Takaoka <takaoka@google.com> Fix possible NPE

Bug: 7398904
Change-Id: I6b7aba7a9bf52ca494cb4390b19525c98790bd49
atinIME.java
cfbfb1c50a18234c5415a9897f62b0d456036885 29-Oct-2012 Tadashi G. Takaoka <takaoka@google.com> Remove reference of android.util.Log in Constants class

This is a follow up of Iee01d4d2.

Change-Id: I0bcd349d317d9f7d40ef0574e72c640f9f990c5d
onstants.java
7947eaf47522c0193dc29bcf417e172b63e9e4a6 29-Oct-2012 Tadashi G. Takaoka <takaoka@google.com> Merge "Move code point constants from Keyboard to Constants class"
240871ecafde7834ebb4270cd7758fc904a5f3a7 29-Oct-2012 Tadashi G. Takaoka <takaoka@google.com> Move code point constants from Keyboard to Constants class

Change-Id: Iee01d4d2b916d0b584531104ac865ae6e6370a3d
udioAndHapticFeedbackManager.java
onstants.java
ontactsBinaryDictionary.java
xpandableDictionary.java
atinIME.java
ichInputConnection.java
tringUtils.java
uggest.java
ordComposer.java
f41389a74b02a01f7383b1a872db5fa65e81fa1e 29-Oct-2012 Jean Chalard <jchalard@google.com> Remove warnings

Thanks Eclipse

Change-Id: I88e3979ed22be5d8be5a5accdde417c6b1a8bf2d
akedict/BinaryDictIOUtils.java
akedict/BinaryDictInputOutput.java
akedict/FusionDictionary.java
a23e3330798a3ade6d2f4f5a94b71746feb1b948 29-Oct-2012 Jean Chalard <jchalard@google.com> Implement the word-level diff (A9)

Bug: 7388857
Change-Id: I4c4560d4f4b579936a44cdf409a4c27300b65610
akedict/FusionDictionary.java
6067b9e1bd26e3914c3fd21862e6dfe91c208551 26-Oct-2012 Satoshi Kataoka <satok@google.com> am ef5f88f3: am 5e118c4c: am 60dea36d: Assuming that NO_EXTRACT_UI mode is NO_FULSCREEN

* commit 'ef5f88f33e432284c958fafe18f891a10f77e1f9':
Assuming that NO_EXTRACT_UI mode is NO_FULSCREEN
60dea36dafc4a567b948b5175bcca776b08fdfad 25-Oct-2012 Satoshi Kataoka <satok@google.com> Assuming that NO_EXTRACT_UI mode is NO_FULSCREEN

Bug: 7393485
Bug: 7272829
Change-Id: I873e8d99486c734e76484526631a90fc55e91c86
atinIME.java
47cac57e4593f47e753410e4199e84e458d6de6f 25-Oct-2012 Jean Chalard <jchalard@google.com> Finish up the "info" command in dicttool. (A6)

Bug: 7388857
Change-Id: I704f12a6be76ce1644ec5e8dd3b667f112e9c04a
akedict/FormatSpec.java
akedict/FusionDictionary.java
b3c98901c5fc1460b54cdf27d74405f27c88e74b 23-Oct-2012 Jean Chalard <jchalard@google.com> Add auto detection and decoding of dictionary files. (A2)

Bug: 7388852
Change-Id: I25e755fc15f5b383acc046f668e9681efa4f0c2f
akedict/BinaryDictInputOutput.java
akedict/FusionDictionary.java
ddb0bcc051c1e9f2706f3702f0bb3135e4352f7b 24-Oct-2012 Jean Chalard <jchalard@google.com> Fix a bug where a bigram would be ignored

Bug: 7403386
Change-Id: I89f495d07f7059a9f1ccd97d487c2f2657a8ebd2
akedict/FusionDictionary.java
5e5be5a2d2f09e885d3bba7f208781b6c7dab650 23-Oct-2012 Jean Chalard <jchalard@google.com> Merge "Return the correct bigram frequency"
c59c7419878d91852420bcc6663e7dc6aaf446fd 22-Oct-2012 Jean Chalard <jchalard@google.com> Return the correct bigram frequency

The "correct" bigram frequency is now returned by the reading
code. However, as the binary format represents the frequency
in a lossy manner, the frequency is not guaranteed to be the
exact same as the one in the source text format - only a close
enough value. It is however the exact same value seen by the
native code.

Bug: 7395653
Change-Id: I49199ef18901c671189912b3550623e9643baedd
akedict/BinaryDictInputOutput.java
1e0cc86b6f77e69273f41f6f291af25968a790f6 23-Oct-2012 Jean Chalard <jchalard@google.com> Fix the build.

It seems this change snuck out from a previous version.

Change-Id: I9c33d51273732b1d55bfd60f0957184c86fa88ab
inaryDictionaryFileDumper.java
c7020f54f97cdf846274addbad77a5f6294e9e5e 23-Oct-2012 Jean Chalard <jchalard@google.com> Merge "Add reader and writer for the combined dict format."
9bb4eebf48f3e15bcdfe37d73f26693bd4eaf0f4 22-Oct-2012 Jean Chalard <jchalard@google.com> Add reader and writer for the combined dict format.

This introduces a new textual format for the dictionary that combines
words, bigrams and shortcuts to avoid complexity. It is also extensible
to n-grams to fool-prof for the future, and easier to read than XML.

Bug: 7388540
Change-Id: I942bbad51bd0c905a5a54c278667563fd6dd66ec
inaryDictionaryFileDumper.java
751f3dc0e1247d22503a23688f22957fc1abcef0 23-Oct-2012 Jean Chalard <jchalard@google.com> am 6fe6f38d: am d39e6435: am f960eb18: Don\'t put spaces after characters that don\'t take one

* commit '6fe6f38d8af09b24e40a6e01eae919820cd04c16':
Don't put spaces after characters that don't take one
f960eb186d63aa4f9fecd22f036fc8724d39d949 23-Oct-2012 Jean Chalard <jchalard@google.com> Don't put spaces after characters that don't take one

Bug: 7393639
Change-Id: I1245a7b5077e554642838d6856ce269ca7f91988
atinIME.java
ettingsValues.java
7f77aed5070981ffa5ccb88b233664962c712f40 22-Oct-2012 Tadashi G. Takaoka <takaoka@google.com> Merge "Replace useless CharSequence to String"
15f6d4ae34664ea3d92827a2c3003198c0bac70b 03-Oct-2012 Tadashi G. Takaoka <takaoka@google.com> Add @UsedForTesting and @ExternallyReferenced annotations

Bug: 7268357
Change-Id: I0b7e0c19f04af9ae30874d0a4c26ad81bc80be8c
inaryDictionary.java
xpandableDictionary.java
nputPointers.java
atinIME.java
uggest.java
serHistoryDictIOUtils.java
serHistoryDictionary.java
akedict/BinaryDictIOUtils.java
akedict/BinaryDictInputOutput.java
pellcheck/SpellCheckerProximityInfo.java
bc464e2952e102219f0b977fc1e9140ad5bd03e4 03-Oct-2012 Tadashi G. Takaoka <takaoka@google.com> Replace useless CharSequence to String

Change-Id: Idc478f901185ee1b4912acc82d0cbc54fee4e991
utoCorrection.java
inaryDictionary.java
ontactsBinaryDictionary.java
ictionary.java
ictionaryCollection.java
xpandableBinaryDictionary.java
xpandableDictionary.java
astComposedWord.java
atinIME.java
ichInputConnection.java
tringUtils.java
uggest.java
uggestedWords.java
ynchronouslyLoadedContactsBinaryDictionary.java
ynchronouslyLoadedUserBinaryDictionary.java
serBinaryDictionary.java
serHistoryDictionary.java
ordComposer.java
pellcheck/AndroidSpellCheckerService.java
pellcheck/AndroidWordLevelSpellCheckerSession.java
pellcheck/DictionaryPool.java
uggestions/MoreSuggestions.java
uggestions/SuggestionStripView.java
5faf41951929301af80026bc3191812ef874fd5a 15-Oct-2012 Tadashi G. Takaoka <takaoka@google.com> Suggestion strip will honor haptic feedback settings of keyboard

Bug: 7313372
Change-Id: I427da8de68be3d2a78e810556340b96ab4edcc2d
uggestions/SuggestionStripView.java
8e360c68f1861a70fdb91652334efa513e25fcd2 15-Oct-2012 Tadashi G. Takaoka <takaoka@google.com> Move AudioAndHapticFeedbackManager from LatinIME to KeyboardSwitcher

Bug: 7313372
Change-Id: I9bd3275f57ed3f5c2c4a95768443af505513ee97
udioAndHapticFeedbackManager.java
atinIME.java
c5dc32ac592b874f674d5c4ef803a939d51ea9a3 17-Oct-2012 Jean Chalard <jchalard@google.com> am b37e87e7: am 63b3fc0d: am 15142588: Merge "Have "no whitespace before cursor" upon gesture trigger phantom space" into jb-mr1-dev

* commit 'b37e87e7d50725f20a6b2f8484fc25cc7db3134f':
Have "no whitespace before cursor" upon gesture trigger phantom space
15142588244a10b241f5d3691f80b6540f3f3fc3 17-Oct-2012 Jean Chalard <jchalard@google.com> Merge "Have "no whitespace before cursor" upon gesture trigger phantom space" into jb-mr1-dev
e91d495c53a2606962159cfddada2b7a5e206c4c 16-Oct-2012 Jean Chalard <jchalard@google.com> Have "no whitespace before cursor" upon gesture trigger phantom space

Bug: 7359291
Bug: 7357758
Bug: 7197651
Change-Id: Ia805a87e922739ae0a06978a3bf00d91c94b6c51
atinIME.java
ichInputConnection.java
788c885aa54cb6aa9adc69f638098969ced6f83f 17-Oct-2012 Tadashi G. Takaoka <takaoka@google.com> am 344a7fef: am 658e935b: am c0bc3369: Merge "Fix more suggestions text width calculation" into jb-mr1-dev

* commit '344a7fef5bd101e2d1c4278cc35de2862f28a456':
Fix more suggestions text width calculation
fa3d984d1bd87316357f06f06494dd62f8813bae 17-Oct-2012 Jean Chalard <jchalard@google.com> am 60211f0d: am 2631fe4c: am 6686e63f: Honor automatic shift turned off for gestures

* commit '60211f0d250ca931788d32d5a69c880f75ef7d49':
Honor automatic shift turned off for gestures
c0bc3369555435c677804b652b5fb36faf3602e5 17-Oct-2012 Tadashi G. Takaoka <takaoka@google.com> Merge "Fix more suggestions text width calculation" into jb-mr1-dev
bdc8b9e42b90e1fdf8e15d7ee5c0d319934fec0a 16-Oct-2012 Tadashi G. Takaoka <takaoka@google.com> Fix more suggestions text width calculation

Bug: 7345983
Change-Id: Ic1554db98e7aaf032eb90a98c0c37c7c789461b5
uggestions/MoreSuggestions.java
uggestions/MoreSuggestionsView.java
6686e63f2158eff07e39ff002ba211d0578f2a4f 16-Oct-2012 Jean Chalard <jchalard@google.com> Honor automatic shift turned off for gestures

Bug: 7354129
Change-Id: Ia02336e8cea2f04b629edbe74b7815cce0d7fad6
atinIME.java
01e0913ad20b24cc2b7b4dc2f4cbac03ccd4bc0e 12-Oct-2012 Jean Chalard <jchalard@google.com> Make a better choice for the temporary file

Change-Id: I745bb285b6b52875c8d2b3a94deb962352f9754e
inaryDictionaryFileDumper.java
inaryDictionaryGetter.java
b0aa9606aede0466139567af63f18182a240ea8c 11-Oct-2012 Ken Wakasa <kwakasa@google.com> am 726e98b7: am c1a1937c: am 2220aeed: Merge "Put temporary files under a separate directory." into jb-mr1-dev

* commit '726e98b7378987b2cfe46ea5395692640b108e83':
Put temporary files under a separate directory.
66c90cd2ae49c49da8aeda5ab1d86bd9b76434c7 11-Oct-2012 Jean Chalard <jchalard@google.com> Put temporary files under a separate directory.

Bug: 7328003
Change-Id: Ibe5278ea209d149f87fd08785c77b17e3859948e
inaryDictionaryFileDumper.java
inaryDictionaryGetter.java
06636bf96a86130a53f299a4ed3436415392f885 09-Oct-2012 Ken Wakasa <kwakasa@google.com> am 0081681e: am c44314b4: am dc38a343: Merge "Use a freq of 1 instead of 0 for non-word shortcuts." into jb-mr1-dev

* commit '0081681e346ce5c958e5eef264caa3f257b094c5':
Use a freq of 1 instead of 0 for non-word shortcuts.
99b84b42f9517cbf7856aec93a6d5de30daaa325 09-Oct-2012 Jean Chalard <jchalard@google.com> Use a freq of 1 instead of 0 for non-word shortcuts.

Also fix a spelling mistake in a comment

Bug: 7301525
Change-Id: I4437403dce620fed03871485ee04f13c51ce34fc
inaryDictionaryGetter.java
b02ee3d67a1884b6ff59cc16c29a476845c0694f 08-Oct-2012 Ken Wakasa <kwakasa@google.com> Make use of the NELEMS and KEYCODE_SPACE macro. Also, remove an unused parameter.

Change-Id: I3c7e6c59990c92b0d5e2fb80493e8673cdd37b09
inaryDictionary.java
fc62882591e9a6f25105b9d67db62469b0043348 06-Oct-2012 Ken Wakasa <kwakasa@google.com> Fix a small typo

Change-Id: I813d97b9453f8aa7aae99bd165336b1e5a81dc6a
atinIME.java
792980d4aa4d0d91a5acfcbaba3f4471f1d2c073 05-Oct-2012 Tadashi G. Takaoka <takaoka@google.com> Avoid calling switchToLastInputMethod when other IMEs are in effect (DO NOT MERGE)

Bug: 7299050
Change-Id: Ife6721a5fcbc4872bd36ffd8a8b81b04d73aebec
atinIME.java
d2579c4832325bb703e275674706886dce50915d 05-Oct-2012 Yuichiro Hanada <yhanada@google.com> fix writeCharGroup.

Change-Id: Ib841afaba0a20c3b300eb7d3e9133243f9f3ae58
akedict/BinaryDictIOUtils.java
feac8a91f9f79c5c4edc33387910856d8704fb38 05-Oct-2012 Ken Wakasa <kwakasa@google.com> am 933e7c37: am 37c8f8b5: am 20f07e33: Merge "Unlink an old file before moving the new file over it" into jb-mr1-dev

* commit '933e7c3770c00a9eea43c447d96daec1ada62041':
Unlink an old file before moving the new file over it
20f07e335df4155df2176e6124389a98e25aecf7 05-Oct-2012 Ken Wakasa <kwakasa@google.com> Merge "Unlink an old file before moving the new file over it" into jb-mr1-dev
daff19bc29b11c95022b0250816bcafe8ad4d26c 04-Oct-2012 Jean Chalard <jchalard@google.com> am d173ed18: am bf6c8bd8: am 3f7fe829: Merge "Always consider a new line the start of a sentence" into jb-mr1-dev

* commit 'd173ed18e44ea5cdc48d5f620bb91efcd3ed5174':
Always consider a new line the start of a sentence
2699b45dbc22b56d57690fcc8b4592e0371b8710 04-Oct-2012 Jean Chalard <jchalard@google.com> Always consider a new line the start of a sentence

Bug: 7282523
Change-Id: I10a73e99efdfe6acb9a16819694b98c6714fd451
tringUtils.java
3c6d9fe14840fd2c455ec65b6481ed78f99a5460 01-Oct-2012 Yuichiro Hanada <yhanada@google.com> Add insertWord.

bug: 6669677

Change-Id: Ide55a4931071de9cd42c1cddae63ddd531d2feba
akedict/BinaryDictIOUtils.java
akedict/BinaryDictInputOutput.java
akedict/FusionDictionary.java
c15726482eee1fe9eb5c84e337ae5d40735da2d3 04-Oct-2012 Jean Chalard <jchalard@google.com> Unlink an old file before moving the new file over it

This is unlikely to be relevant to this bug, but just in case.

Bug: 7274972
Change-Id: I56b31b377af16cc2c15ceb90a19792bed3aab367
inaryDictionaryFileDumper.java
c3a98ca306d5d6a3dfce3585b73f7431dbf90bfc 03-Oct-2012 Yuichiro Hanada <yhanada@google.com> Add writeNode.

Change-Id: I088bb6ea43ce0841d725e48b677d429e1155569d
akedict/BinaryDictIOUtils.java
akedict/BinaryDictInputOutput.java
akedict/FormatSpec.java
38712ff27d8dccd9127cf85c94ee2c6fd91832b5 03-Oct-2012 Yuichiro Hanada <yhanada@google.com> Add updateParentAddresses.

Change-Id: Iac210131b7c003ef363e1138bf22f777a37c6a89
akedict/BinaryDictIOUtils.java
akedict/BinaryDictInputOutput.java
a853356b82e2dc74962243e3143c0ff7a33f3c20 03-Oct-2012 Yuichiro Hanada <yhanada@google.com> Add isDeletedGroup.

Change-Id: I83f09c068868e5e6e1b46f494a6ef957f0b466d8
akedict/BinaryDictIOUtils.java
akedict/BinaryDictInputOutput.java
akedict/FormatSpec.java
7223cc2ef1d7fd4ad4ab62166114b36ce7313c55 03-Oct-2012 Yuichiro Hanada <yhanada@google.com> Add MAX_BIGRAMS_IN_A_GROUP.

Change-Id: I128d5deb8e523045d7ad77d7a8fd3db944f71238
akedict/BinaryDictInputOutput.java
akedict/FormatSpec.java
69c787f3b74b24fa027bec4022ed572e2c1090f3 03-Oct-2012 Satoshi Kataoka <satok@google.com> am 96717371: am e8825ce3: am 1fd10ea2: Merge "Throw illegal argument exception in BinaryDictionary::editDistance" into jb-mr1-dev

* commit '967173711f17ba30d3608881f501985f07fef4fd':
Throw illegal argument exception in BinaryDictionary::editDistance
1fd10ea22cb7ac8fb8182bdcb1fea594de9dcf2e 03-Oct-2012 Satoshi Kataoka <satok@google.com> Merge "Throw illegal argument exception in BinaryDictionary::editDistance" into jb-mr1-dev
66d955ad711d4a1248157056a1d3d643af19fd3f 03-Oct-2012 Satoshi Kataoka <satok@google.com> Throw illegal argument exception in BinaryDictionary::editDistance

Bug: 7276803
Change-Id: Icd9bdec0a04179a29d00336819d205627f77b71a
inaryDictionary.java
c6ff7c42d9aeafe2b2d21a34be10f1e9a450153a 03-Oct-2012 Tadashi G. Takaoka <takaoka@google.com> Add SuggestedWords.isEmpty() method

Change-Id: I0fcb104a6a81aee4b99f5ee848eba7495630dc7d
atinIME.java
uggestedWords.java
uggestions/SuggestionStripView.java
3e5a3c18bebbfb56012383411b24ee81ffde09cb 03-Oct-2012 Tadashi G. Takaoka <takaoka@google.com> Add final modifier to the classes under suggestions sub-package

Change-Id: I19fc8eaac1aebef9cf4deb004e78484ff9a1e7ca
uggestions/MoreSuggestionsView.java
uggestions/SuggestionStripView.java
5f5f7825e741b3a599490592b3955f95d2a9225f 03-Oct-2012 Tadashi G. Takaoka <takaoka@google.com> am 4d009dbc: am ace7d128: am d445b56c: Fix possible NPE caused while monkey test

* commit '4d009dbc514cd77eb22e4162e4ae7ea852e1b77e':
Fix possible NPE caused while monkey test
4ad4ff618f5102148d73e3c04d809942bcf16f86 02-Oct-2012 Yuichiro Hanada <yhanada@google.com> Add makeCharGroupFlags.

Change-Id: Id2c580f21b77f66a97c5fbdf4542fdafe6c43614
akedict/BinaryDictInputOutput.java
akedict/FormatSpec.java
d445b56ce14152b30143302899790af255691148 03-Oct-2012 Tadashi G. Takaoka <takaoka@google.com> Fix possible NPE caused while monkey test

Bug: 7269036
Change-Id: I9054b33ad3c8996cac3ee5f0e9c01ba8ceea4971
atinIME.java
ordComposer.java
c3aea8ea9f695712dd67edde21176753f890f33c 02-Oct-2012 Tadashi G. Takaoka <takaoka@google.com> Merge "Avoid calling switchToLastInputMethod when other IMEs are in effect"
aec5cc84760b47661ccc5a0c938368d3798be6b4 02-Oct-2012 Tadashi G. Takaoka <takaoka@google.com> Avoid calling switchToLastInputMethod when other IMEs are in effect

Bug: 7268389
Change-Id: I4d960cbf063002b4dc0ea813c966366b56c0346d
atinIME.java
fe3fb2502dad6a5935f5226f2310d33dc0fde6a1 02-Oct-2012 Tadashi G. Takaoka <takaoka@google.com> am 58e1be74: am de102ede: am 15281adb: Show gesture floating preview text by default

* commit '58e1be74a989637b0b71ebf990ed1b3c9a21e7af':
Show gesture floating preview text by default
15281adbc1580262888aba6fc73bbbe7fa9e0de8 02-Oct-2012 Tadashi G. Takaoka <takaoka@google.com> Show gesture floating preview text by default

Bug: 7244214
Change-Id: Ib4ab810ef50798828dd10c39a8077466165772e4
ettings.java
ettingsValues.java
37688ae8c16f5989750c295d08291a5a58cb22d0 01-Oct-2012 Jean Chalard <jchalard@google.com> am 86db54df: am 137203d4: am 574b80aa: Remove debug prints.

* commit '86db54df74b821a15f7a3081c3737f8a63f91214':
Remove debug prints.
7f438aa12f683ac15c8c8e60ca852412d00128db 01-Oct-2012 Yuichiro Hanada <yhanada@google.com> Make writeCharGroup return a size of a new group.

bug: 6669677

Change-Id: I56f6a07b04b08443f2c052927404318c2018fc9d
akedict/BinaryDictIOUtils.java
00e1d421c2a5ff0062979c342dc2b80b43f74bd3 01-Oct-2012 Ken Wakasa <kwakasa@google.com> Merge "Add writeCharGroup."
fb7e08ea8f40ebb4ac57e443f837043e7b57fd87 28-Sep-2012 Yuichiro Hanada <yhanada@google.com> Add writeCharGroup.

bug: 6669677

Change-Id: I36792ba9c511a5148c963096cc93ca8c2e0ee04e
akedict/BinaryDictIOUtils.java
akedict/BinaryDictInputOutput.java
574b80aacee95df26e85e6b78876a73d7076a672 01-Oct-2012 Jean Chalard <jchalard@google.com> Remove debug prints.

Bug: 7226098
Change-Id: Ibacb740022a6af56c9d555d6797dd402a89f6ca4
atinIME.java
ichInputConnection.java
7339a62a1368b632c0cedaf1d876a0e8590a47ed 01-Oct-2012 Tadashi G. Takaoka <takaoka@google.com> Fix NPE observed only by monkey test

Bug: 7258660
Change-Id: I286c704b32efeada8505d953438f2595166f7e8f
uggestions/MoreSuggestions.java
uggestions/SuggestionStripView.java
99501896f51a051c09ec345177d78554cdd60fd1 28-Sep-2012 Tadashi G. Takaoka <takaoka@google.com> am 9925e487: am 6052a81e: Merge "Fix gesture detection algorithm" into jb-mr1-dev

* commit '9925e487b345e4a63d3dc25e3bf156e0fbfbb04d':
Fix gesture detection algorithm
58fe5a421f3334641209300c5bc60c0e6a842220 27-Sep-2012 Tadashi G. Takaoka <takaoka@google.com> Fix gesture detection algorithm

This change also
* Introduces adaptive gesture detecting threshold for time domain in addition to length domain.
* Tunes the parameters for detecting gesture after fast typing.
* Fixes a bug in dismissing gesture floating preview text.
* Cleanup debug messages

Bug: 7218902
Change-Id: Iafccd872c6efe0c3b5ae65fa40b04c80d9f139c7
atinIME.java
f3aed3ea26b49cdf54e0b69c707ebd092ac45f97 28-Sep-2012 Yuichiro Hanada <yhanada@google.com> Add updateChildrenAddress.

Change-Id: Ic06a755d85612476e719e580469dc1cd9447286c
akedict/BinaryDictIOUtils.java
akedict/BinaryDictInputOutput.java
7a7d117aa7e7157ed429d68c4797218476151d8d 28-Sep-2012 Yuichiro Hanada <yhanada@google.com> Ignore the broken file.

bug: 7249561

Change-Id: If001bf75ef12b4d342a77e54706c7fed90c89afb
serHistoryDictIOUtils.java
a28a05e971cc242b338331a3b78276fa95188d19 27-Sep-2012 Tadashi G. Takaoka <takaoka@google.com> Cleanup: Make some classes as final

Change-Id: I6009b3c1950ba32b7f1e205a3db2307fe0cd688e
dditionalSubtypeSettings.java
ssetFileAddress.java
udioAndHapticFeedbackManager.java
utoCorrection.java
ackupAgent.java
inaryDictionary.java
inaryDictionaryFileDumper.java
inaryDictionaryGetter.java
oundedTreeSet.java
ebugSettings.java
ebugSettingsActivity.java
icTraverseSession.java
ictionaryCollection.java
ictionaryFactory.java
ictionaryPackInstallBroadcastReceiver.java
xpandableDictionary.java
ileTransforms.java
nputAttributes.java
nputPointers.java
nputView.java
astComposedWord.java
atinIME.java
atinImeLogger.java
esizableIntArray.java
ichInputConnection.java
ettingsActivity.java
ubtypeLocale.java
ubtypeSwitcher.java
uggest.java
uggestedWords.java
uggestionSpanPickedNotificationReceiver.java
ynchronouslyLoadedContactsBinaryDictionary.java
ynchronouslyLoadedUserBinaryDictionary.java
argetApplicationGetter.java
serHistoryDictIOUtils.java
serHistoryDictionary.java
serHistoryDictionaryBigramList.java
serHistoryForgettingCurveUtils.java
ordComposer.java
ordListInfo.java
mlParseUtils.java
akedict/BinaryDictIOUtils.java
akedict/BinaryDictInputOutput.java
akedict/CharGroupInfo.java
akedict/FormatSpec.java
akedict/FusionDictionary.java
akedict/MakedictLog.java
akedict/PendingAttribute.java
akedict/UnsupportedFormatException.java
akedict/Word.java
pellcheck/AndroidSpellCheckerService.java
pellcheck/AndroidSpellCheckerSession.java
pellcheck/AndroidWordLevelSpellCheckerSession.java
pellcheck/DictAndProximity.java
pellcheck/DictionaryPool.java
pellcheck/SpellCheckerProximityInfo.java
pellcheck/SpellCheckerSettingsActivity.java
pellcheck/SpellCheckerSettingsFragment.java
uggestions/MoreSuggestions.java
uggestions/MoreSuggestionsView.java
uggestions/SuggestionStripView.java
84d858ed5e187eb9d4b56b593e1d9287f762bbca 20-Aug-2012 Yuichiro Hanada <yhanada@google.com> Use BinaryDictInputOutput to save UserHistoryDictionary.

bug: 6669677

Change-Id: I08193c26f76dbd48168f8ac02c1b737525bfc7b2
serHistoryDictIOUtils.java
serHistoryDictionary.java
akedict/BinaryDictIOUtils.java
2aea34fb31f1a8a5fe24cccd1b9aab4908f2f8e2 26-Sep-2012 Yuichiro Hanada <yhanada@google.com> Add updateParentAddress.

bug: 6669677

Change-Id: I353f8ae53720cdf7a809271a28cb703709609f53
akedict/BinaryDictIOUtils.java
2ee70804e92b17016a2f042c4f6b0e94b5d23e88 25-Sep-2012 Yuichiro Hanada <yhanada@google.com> Add moved char groups.

bug: 6669677

Change-Id: I372f841044fe8e076a50a80ac10b715e5f8fd4eb
akedict/BinaryDictIOUtils.java
akedict/BinaryDictInputOutput.java
akedict/FormatSpec.java
a161bdac885fc8e5f0063d33b055b0a6ecdefbdb 25-Sep-2012 Yuichiro Hanada <yhanada@google.com> add capacity to FusionDictionaryBufferInterface.

bug: 6669677

Change-Id: I4627093811a19c46ce13fe351d1db63cbd78cf4a
serHistoryDictIOUtils.java
akedict/BinaryDictInputOutput.java
93d7c6233fb6b867d51a9eeb54b951fe3a377ea8 25-Sep-2012 Yuichiro Hanada <yhanada@google.com> Make getTerminalPosition read linked-list nodes.

bug: 6669677

Change-Id: I599d276f430efe23d402695c325e23906b7705b3
akedict/BinaryDictIOUtils.java
8ec0064c49e80945dbe1bb31129eb890478b7e06 20-Sep-2012 Yuichiro Hanada <yhanada@google.com> Make children addresses and parent addresses use signed addresses.

Signed addresses are used only in version 3 with dynamic update.

bug: 6669677

Change-Id: Iadaeab199b5019d2330b4573c24da74d64f0945e
akedict/BinaryDictInputOutput.java
akedict/FormatSpec.java
0eef4b1e6f607500020c3460bb09339032143505 24-Sep-2012 Jean Chalard <jchalard@google.com> Merge "Add suggestion span upon starting a gesture." into jb-mr1-dev
6a58bb7ac95e804f87c4e88b5eb970d28210518e 24-Sep-2012 Jean Chalard <jchalard@google.com> Add suggestion span upon starting a gesture.

Bug: 7196761
Change-Id: If60cb809b205159ced1887f94b7caf9775fcf3bb
atinIME.java
88985bfa2e8e05e7974fc3c275076888e98f1b5d 24-Sep-2012 Jean Chalard <jchalard@google.com> Merge "Fix a bug where the cursor pos wouldn't be tracked correctly" into jb-mr1-dev
72c5d328882976a0b4ae8b01a872ff5ae4d10547 24-Sep-2012 Jean Chalard <jchalard@google.com> Fix a bug where the cursor pos wouldn't be tracked correctly

This would cause
Bug: 7208199

Change-Id: I8474985bfe349e1530b27bc98842937627bbe4e0
atinIME.java
6efe788494195fb8a57a2317cfa35e01ae7fda13 24-Sep-2012 Jean Chalard <jchalard@google.com> Set punctuation suggestions at start if activated

Bug: 7218468
Change-Id: I9f8c1f13dc26cedb95b65279a34a825021dfa72a
atinIME.java
65ef26081b78f52960ad520f997b3e79dcbb8528 24-Sep-2012 Jean Chalard <jchalard@google.com> Merge "Fix a race condition with shift" into jb-mr1-dev
fff8613df04af17bf56db866075b220d1ef0fbe8 24-Sep-2012 Jean Chalard <jchalard@google.com> Fix a race condition with shift

Bug: 7062092
Change-Id: Ie1984673e9ffc9291d9650ec38ce99031ad93585
atinIME.java
82d9deaaf252cd20f8918adbc7a4b9b8f2647c38 21-Sep-2012 Yuichiro Hanada <yhanada@google.com> Combine mHasParentAddress with mHasLinkedListNode into mSupportsDynamicUpdate.

bug: 6669677

Change-Id: I82799af199358420f09ac34fc005091e202c5d3b
akedict/BinaryDictIOUtils.java
akedict/BinaryDictInputOutput.java
akedict/FormatSpec.java
3088e0c9e97cee4763d1563eb847691adc1da317 21-Sep-2012 Tadashi G. Takaoka <takaoka@google.com> Merge "Fix gesture start detection algorithm" into jb-mr1-dev
02a67200fc25d1be9dfbc35e3bb4b59bef28f386 20-Sep-2012 Tadashi G. Takaoka <takaoka@google.com> Fix gesture start detection algorithm

Bug: 7032858
Change-Id: I9f4d939fa87fdead4c5a5921338a16cd0a59b7ac
inaryDictionary.java
serHistoryDictionary.java
8ae8c761493867be7364806cdc4d7103a46dc181 21-Sep-2012 Satoshi Kataoka <satok@google.com> Cleanup settings

bug: 7200189

Change-Id: Ibfd9254670cde5f4b2b693cc9334ee2845bede59
ebugSettings.java
ettings.java
ettingsValues.java
66597f5e5f3249f418665c1990fb539d2f5565d5 20-Sep-2012 Yuichiro Hanada <yhanada@google.com> Add deleteWord.

bug: 6669677

Change-Id: I1a5b90ee05e5cffd74a5c140384a3e37c79e7e70
akedict/BinaryDictIOUtils.java
akedict/BinaryDictInputOutput.java
73779f7631d41f16f89c62cae09a1b27d8189dc3 19-Sep-2012 Yuichiro Hanada <yhanada@google.com> Make readUnigramsAndBigramsBinary read linked-list nodes.

Change-Id: I07ae036b0b06e71d7a18f2bf11e4692cd4213568
akedict/BinaryDictIOUtils.java
d36245fad292ea660ca49f38a3ec36e07727dda5 19-Sep-2012 Yuichiro Hanada <yhanada@google.com> Add getTerminalPosition.

Change-Id: If04d779db23b1aea2cc12e5e9b8cecfcb35a5737
akedict/BinaryDictIOUtils.java
akedict/BinaryDictInputOutput.java
akedict/FormatSpec.java
b4e74cfc87ccb0523da18cb9fe30a6d08d1a04e2 20-Sep-2012 Jean Chalard <jchalard@google.com> Auto correct on gesture when typed word is 1 char long

Bug: 7178462
Change-Id: I779d8ee4a957a9d1fdcc80d33257a98965dec7b8
atinIME.java
bfcd2b3fc0ae7269396d4f694827928630b89d59 20-Sep-2012 Tadashi G. Takaoka <takaoka@google.com> Merge "Change to "Show language switch key" option" into jb-mr1-dev
1a4aa7e307e6090011449446c2c6770b6a0cc987 20-Sep-2012 Tadashi G. Takaoka <takaoka@google.com> Change to "Show language switch key" option

This change deprecates "Suppress language switch key".

Bug: 7037410
Change-Id: I1bc90877b4d2ee9364728959fd680dcb5b22ecbf
ettings.java
ettingsValues.java
01a5a7d061f392a31f7bd3d8f1a19ec37f1b5435 19-Sep-2012 Satoshi Kataoka <satok@google.com> Merge "Clear cache of user dic" into jb-mr1-dev
17f7b406aa976ea147497dccac8e80c3aaaae370 19-Sep-2012 Satoshi Kataoka <satok@google.com> Clear cache of user dic

Change-Id: Iec2793de3fff7bf15f68f82a50331de7742b7049
pellcheck/AndroidWordLevelSpellCheckerSession.java
567204a1409dc65e3e1f127b00c1e66c136d148f 19-Sep-2012 Tadashi G. Takaoka <takaoka@google.com> Merge "Show gesture floating preview text is off by default" into jb-mr1-dev
4f8e451d0c5bb522eedc00a30f7b519ccfe5b704 19-Sep-2012 Tadashi G. Takaoka <takaoka@google.com> Show gesture floating preview text is off by default

Bug: 7043127
Change-Id: Icabf080f43a5934fef3824919bb03229522d5e5a
ettings.java
ettingsValues.java
caf15c3c678dc9e95b1bcdc33ee0cb10182f171c 19-Sep-2012 Jean Chalard <jchalard@google.com> Merge "Fix a bug that would persist caps lock state" into jb-mr1-dev
8eb206528971404272a4bac81fc69ee91cf12c9d 19-Sep-2012 Satoshi Kataoka <satok@google.com> Merge "Log for geometric input" into jb-mr1-dev
ad0642cf258ca9b123f74ca0ae8bf970792908f1 18-Sep-2012 Jean Chalard <jchalard@google.com> Fix a bug that would persist caps lock state

...with regards to suggestions. It's much simpler to look at
whether the word is actually all capitalized or not.

Bug: 7113544
Change-Id: Idc0e77b2f812964e650ade0e32b9d4c09228cb74
ordComposer.java
87cecf7db61536d9f7ec07fe198d37a11b6c8407 19-Sep-2012 Satoshi Kataoka <satok@google.com> Log for geometric input

Change-Id: Ia0f0e38086b0be70cf2d04fc6fae48358f16e74f
atinIME.java
atinImeLogger.java
uggest.java
tils.java
65feee12e5889601e375d92dfdf5f8e8fbb05092 19-Sep-2012 Yuichiro Hanada <yhanada@google.com> Make BinaryDictIOUtils.

Change-Id: I45830235ee738233e8eb2bd91d659705b698f58c
serHistoryDictIOUtils.java
akedict/BinaryDictIOUtils.java
akedict/BinaryDictInputOutput.java
c2fdf0dfbf1c43f7ed8fdf3d91576bbf71146ef3 14-Sep-2012 Yuichiro Hanada <yhanada@google.com> Make readNode read linked list nodes.

Change-Id: Ia5eaae0653179b2eb74c53b0823beaf80377a389
akedict/BinaryDictInputOutput.java
a149c53c8ebe1b2acb7ee92eac51ccdc364162e7 18-Sep-2012 Yuichiro Hanada <yhanada@google.com> add limit to FusionDictionaryBufferInterface.

Change-Id: Ic9ff717a9751023d47b02ff3b9d1fbf3115c2501
serHistoryDictIOUtils.java
akedict/BinaryDictInputOutput.java
a0ebb28d151fbdff529a17d4d021b1c1988639b2 19-Sep-2012 Jean Chalard <jchalard@google.com> Merge "Fix a bug with capitalizations (A15)" into jb-mr1-dev
3bf113f0ea19c5d80c75e304a12fc8d98448d22f 19-Sep-2012 Jean Chalard <jchalard@google.com> Merge "Mark 2 resolved TODOS as such (A14)" into jb-mr1-dev
c9923430ed94ff83abb759e231fbe3dd976de952 19-Sep-2012 Jean Chalard <jchalard@google.com> Merge "Support the gesture + phantom space case (A13)" into jb-mr1-dev
b686df15fcc95611c524318359fe9ecb4fd6f74c 18-Sep-2012 Yuichiro Hanada <yhanada@google.com> Add a new flag for linked list nodes.

Change-Id: Ib2f194775cfe5ab05481ac95cd709d6e8e8dd3c6
akedict/BinaryDictInputOutput.java
akedict/FormatSpec.java
bf45dc4860ab28e97c3e7d116a642802fe960239 18-Sep-2012 Yuichiro Hanada <yhanada@google.com> Make writePlacedNode write the linked-list node.

Change-Id: I60feda815ea08cf73300fccca1ae12b97550f116
akedict/BinaryDictInputOutput.java
061d225fb1d110695b396a470d9ae6a9a3331003 13-Sep-2012 Yuichiro Hanada <yhanada@google.com> Add a new option to FormatOptions.

Change-Id: I8bf089bea5de46570a5e81fb1ea3ab22c07eeee1
akedict/FormatSpec.java
e55785e682351f5379427b50cb6001b540024ced 18-Sep-2012 Satoshi Kataoka <satok@google.com> New flag for the internal settings

Change-Id: I81e69a6cda833a0d2c59a73388321ed11e0bd5b3
ettings.java
efine/ProductionFlag.java
2040090b46e3639ac0ee303d06e099c8d5195eb5 18-Sep-2012 Satoshi Kataoka <satok@google.com> Merge "Log touch timing" into jb-mr1-dev
f8b35b9b04ae91f3a4991ea3ff745c68a17297c6 17-Sep-2012 Satoshi Kataoka <satok@google.com> Log touch timing

Change-Id: I45ce16c3194fac6da98486a986d23318347cad3a
atinImeLogger.java
tils.java
75b3f81fe1bfd99083b872eb370219cb97212367 18-Sep-2012 Jean Chalard <jchalard@google.com> Fix a bug with capitalizations (A15)

When only one character has been typed, we should not take that
as a strong symbol that everything should be upper-cased.

Change-Id: I4e3a3223269e6763e3594baeaa844daa79a624ed
ordComposer.java
e4783f95b2ad9f46ece34103cbe4d8eb5ea8afca 14-Sep-2012 Jean Chalard <jchalard@google.com> Mark 2 resolved TODOS as such (A14)

Change-Id: Ifbb731f5c825675436d079db4ffbae657d71f8da
atinIME.java
d461bfd6601dfb6d4a4f78be0ff129597af895ff 14-Sep-2012 Jean Chalard <jchalard@google.com> Support the gesture + phantom space case (A13)

Bug: 6950087
Change-Id: I198699f6e687ac74c35b9edfe469dce880d9ecaf
ichInputConnection.java
717d4938b534eab96f20bba57973f1371b6aff64 18-Sep-2012 Jean Chalard <jchalard@google.com> Merge "Remove useless code (A12)" into jb-mr1-dev
ed471316122d865ef0918812defb8cc2b1e9b36e 18-Sep-2012 Jean Chalard <jchalard@google.com> Merge "Fix a bug with surrogate characters" into jb-mr1-dev
6c721b5f68ee20e6d78ddd4f383fb8651827b726 18-Sep-2012 Jean Chalard <jchalard@google.com> Fix a bug with surrogate characters

This is a pretty bad bug :/

Bug: 7013840
Change-Id: I12c7cfa4fa9d56b2c1fee6e6222c64fe20b88fa3
akedict/FusionDictionary.java
b128b1cdfee1956dff2cefc6d5308706a7fc186f 18-Sep-2012 Jean Chalard <jchalard@google.com> Merge "Take space state into account for caps (A11)" into jb-mr1-dev
5822323514e9fe3956ce8339f4e2a801afd6b6c0 14-Sep-2012 Jean Chalard <jchalard@google.com> Remove useless code (A12)

All this code is done inside the StringUtils or RichInputConnection
classes, where it's more logical. Since the IPC call is entirely
gone now, it's no use having these guards inside Latin IME.

Change-Id: Id324567e7458aed12b6f21d7114be3bd39725f15
atinIME.java
90a91272447fd64bc54e06f08f45b11c45930767 14-Sep-2012 Jean Chalard <jchalard@google.com> Take space state into account for caps (A11)

Bug: 6950087
Change-Id: I8a1bca24db64b4dd54db8ac74d90cf43cbdddab6
atinIME.java
ichInputConnection.java
tringUtils.java
8adc0154e6a1412e8b2a7ba5b2a67650062e0dbf 13-Sep-2012 Yuichiro Hanada <yhanada@google.com> Remove populateOptions(final ByteBuffer buffer).

Change-Id: Ifc4c64c9cffe4f343c5a604c192db010a1792acc
inaryDictionaryGetter.java
akedict/BinaryDictInputOutput.java
65e4970026fd0e7964796c0e252b6d71632b634c 18-Sep-2012 Yuichiro Hanada <yhanada@google.com> Fix hackCanUseDictionaryFile.

Bug: 7169473

Change-Id: I575aaa350042af076a8da5756993cdae9e73422c
inaryDictionaryGetter.java
252da38fcd1a40b8c308d6754d644064032094f9 14-Sep-2012 Jean Chalard <jchalard@google.com> Take locale into account for caps (A10)

Bug: 4967874
Change-Id: Ic7ce7b2de088308fa00865c81246c84c605db1e5
atinIME.java
ichInputConnection.java
tringUtils.java
da8aca6002c1b12cf935f38486eb92d7f57137d4 14-Sep-2012 Jean Chalard <jchalard@google.com> Merge "Fix comment warnings (A9)" into jb-mr1-dev
32c8704c21e069ccdc092cd0d732360b4ee08f92 14-Sep-2012 Jean Chalard <jchalard@google.com> Merge "Remove an unused function (A8)" into jb-mr1-dev
5cb9b70a3a84a20d64e3ffb2ba2bd79ea07500de 14-Sep-2012 Jean Chalard <jchalard@google.com> Merge "Fix abbreviations processing for English (A7)" into jb-mr1-dev
a3f06baa57e679571add40bda26b556eb493318c 14-Sep-2012 Jean Chalard <jchalard@google.com> Merge "Do not auto-correct upon starting a gesture." into jb-mr1-dev
6e65ff80012048d7b85f16744f9c8e1c5ed1516d 14-Sep-2012 Jean Chalard <jchalard@google.com> Fix comment warnings (A9)

Thanks Eclipse

Change-Id: Ie2b83f1ec7ab38a76155f8c264e3944685ae934d
tringUtils.java
50e61b86287fbb4cf76c26c22ac05fe07a659fe2 14-Sep-2012 Jean Chalard <jchalard@google.com> Remove an unused function (A8)

Change-Id: I0578068946d32192c4faf14b3e86624b7301c7d9
tringUtils.java
2c0d91628733ab502a47f6a60411b1f7e3d0b9a2 13-Sep-2012 Jean Chalard <jchalard@google.com> Fix abbreviations processing for English (A7)

It's still incorrect for non-English languages.

Bug: 4967874
Change-Id: I3d4379265f72e1c0435eba90ab878a80bbcf55ce
tringUtils.java
b29efecd26986e17d73f7226e8ac694e116601ba 14-Sep-2012 Jean Chalard <jchalard@google.com> Merge "Fix a bug with open parens and some other chars" into jb-mr1-dev
7e4ad33a655a3b7fdaf45163a93bc5ac0d0ea696 14-Sep-2012 Jean Chalard <jchalard@google.com> Fix a bug with open parens and some other chars

A space would be inserted after an open parenthesis if
it's typed after a manual pick.

Bug: 7167687
Change-Id: Ic49d09c34747117ccfbdbb8c66f634d88d4a45b0
atinIME.java
e8db06fc023eed076776185e8148d491493a18d9 14-Sep-2012 Jean Chalard <jchalard@google.com> Merge "Replace immediate values with named constants for characters (A6)" into jb-mr1-dev
d8060650333783e46f2fc9b18ae9dd73e9900df0 14-Sep-2012 Jean Chalard <jchalard@google.com> Merge "Simplification again (A5)" into jb-mr1-dev
f035649cb612be8b80892c510bbc137a615719b4 12-Sep-2012 Tadashi G. Takaoka <takaoka@google.com> Asynchronously look up dictionary for gesture input

Bug: 7149248
Change-Id: Icba2db73508b89a85828ae9e196ab618e5e6c280
atinIME.java
uggest.java
eda096538b4cfe7f31a347aa7dd43d239fe21c4a 14-Sep-2012 Jean Chalard <jchalard@google.com> Do not auto-correct upon starting a gesture.

We decided to revert this UI decision after negative feedback.
Indeed, if you use to gesture but tap just one word, chances
are it's because you know you do NOT want a dictionary word.

Bug: 6965241
Change-Id: I85fdfab3c1cf1d3c0fd3e95908e01bdf56bccbba
atinIME.java
35dc8cf223f1e9c8939092139f7acba5c06a1ded 13-Sep-2012 Jean Chalard <jchalard@google.com> Replace immediate values with named constants for characters (A6)

Change-Id: I6248f9f3ff99003ab62be22eac673df0f7f5c015
tringUtils.java
e94c2766909df750cc4937a9fd3275f1471ec96e 13-Sep-2012 Jean Chalard <jchalard@google.com> Simplification again (A5)

Change-Id: Id3ba200e06244e6d13cf57d346001d61f85ef1a2
tringUtils.java
6f8dfd92b1b19eb3e3f3bfd2cd837c6b70b50c33 13-Sep-2012 Jean Chalard <jchalard@google.com> Simplify the code some more (A4)

Change-Id: I1b1763ceefda6357dc698195928d0f16bc425830
tringUtils.java
33a226f897f20d7cc623ad6facc17bf0382426a1 14-Sep-2012 Jean Chalard <jchalard@google.com> Merge "Small simplification (A3)" into jb-mr1-dev
cc958dd96eef65fddbc48185c2e88ab18504a377 14-Sep-2012 Yuichiro Hanada <yhanada@google.com> Refactor BinaryDictInputOutput.

Change-Id: Idb4b635fcac70cc988e0dd3ce3bf121fba12099c
akedict/BinaryDictInputOutput.java
5fbe3764ae074a7bb79dfa78d3ed67d437a49700 13-Sep-2012 Jean Chalard <jchalard@google.com> Small simplification (A3)

Change-Id: I2ea9566ce5cb1fbccd33a42836244a899365de6a
tringUtils.java
d7fdc730c302c182cc34dd03018b4185df912727 13-Sep-2012 Jean Chalard <jchalard@google.com> Merge "Simplify a call, and add comments (A2)" into jb-mr1-dev
3d54e1c1eccf58e184c065ebe78f0f467cd04606 13-Sep-2012 Jean Chalard <jchalard@google.com> Simplify a call, and add comments (A2)

Since the function has to be modified heavily but does a lot
of non-trivial work, add a wealth of comments explaining what
it does and why so as to facilitate understanding the changes
to come.

Bug: 4967874
Change-Id: I6c21aea15f161d807035f279dfb7d1b98b3e9144
ichInputConnection.java
tringUtils.java
2427f578c8fafa85f3f9f74c00384f785e489bcf 13-Sep-2012 Jean Chalard <jchalard@google.com> Merge "Import TextUtils.getCapsMode to fix it internally (A1)" into jb-mr1-dev
378728920bec5e43138573acb8473093e674fde9 13-Sep-2012 Jean Chalard <jchalard@google.com> Merge "Make onUpdateSelection much more resilient to race conditions." into jb-mr1-dev
9d1c73ffd88cd1bfef3de048b0b3a9a7dfbcfa70 10-Sep-2012 Jean Chalard <jchalard@google.com> Import TextUtils.getCapsMode to fix it internally (A1)

This should have on effect at all on behavior,
except an increase in performance.

Bug: 4967874
Bug: 6950087
Change-Id: Ie2b51efefe84ca767f5dc8e3b80bfef7e1faab3d
atinIME.java
ichInputConnection.java
tringUtils.java
5ed88457bf9ef3305d4a5aa4ac05b513433ad0dd 11-Sep-2012 Jean Chalard <jchalard@google.com> Make onUpdateSelection much more resilient to race conditions.

This is pretty much as strong as it gets. It should be
impossible to get false positives and nearly impossible to
get true negatives with this new code.

Bug: 6981089
Change-Id: Ia32ab62f89c5943f0be169b979abab652e67bf5b
atinIME.java
ichInputConnection.java
1a347723c5ad4a71076df67f3af3b702db205719 12-Sep-2012 Yuichiro Hanada <yhanada@google.com> Move FormatOptions and FileHeader to FormatSpec.

Change-Id: I232e35598635113bf2c81825669c744aadc79efe
xpandableBinaryDictionary.java
serHistoryDictIOUtils.java
akedict/BinaryDictInputOutput.java
akedict/FormatSpec.java
81d97eec0e77e72cce606f9c9f96091c0b348190 11-Sep-2012 Yuichiro Hanada <yhanada@google.com> Move constants and comments.

Change-Id: Ifd66bda7d528827ba61c60531121ea206a2325be
inaryDictionaryGetter.java
akedict/BinaryDictInputOutput.java
akedict/FormatSpec.java
18fc3bf4c453fe106be254eeb7aefb4a4a7154ba 12-Sep-2012 Jean Chalard <jchalard@google.com> Merge "Make Latin IME aware of its surrounding text." into jb-mr1-dev
28d765ed901bfd1e736056db1cd807c13ef88c35 10-Sep-2012 Jean Chalard <jchalard@google.com> Make Latin IME aware of its surrounding text.

This is a preparatory change for
Bug: 4967874
Bug: 6617760
Bug: 6950087

Change-Id: I3abf8e45c0d02c42491421f108370220134b9602
atinIME.java
ichInputConnection.java
8d031a63b4d59d4d8670b4310dd9e18a0e03435a 11-Sep-2012 Yuichiro Hanada <yhanada@google.com> Add put method to FusionDictionaryBufferInterface.

Change-Id: Iac0b35d2da05e81237d105e8fe13c56d16038de1
serHistoryDictIOUtils.java
akedict/BinaryDictInputOutput.java
8c06a468e0bffa5cedc7d782be4754da70d9a657 10-Sep-2012 Jean Chalard <jchalard@google.com> Stop auto-correcting non-whitelisted one-char strings

Bug: 7134017
Change-Id: I75cf474dedafda3e1683dd8f7740c13aafdcf5ab
utoCorrection.java
uggest.java
e55b644aefbefb4ac79308c9a59116e69a9c53a2 03-Sep-2012 Yuichiro Hanada <yhanada@google.com> Add new binary dictionary format.

Change-Id: Ia99411d4009857d5e420ca87ef8acf1f1826d3ed
akedict/BinaryDictInputOutput.java
akedict/CharGroupInfo.java
akedict/FusionDictionary.java
60af4f03a82e8af71e1eb56cd4caed567c003fd4 09-Sep-2012 Ken Wakasa <kwakasa@google.com> Fix dicttool_aosp build

Change-Id: Iabcf420b4120e3d275fdbcb23939a0ab6052ddf0
onstants.java
eae7b293e4a854819aa0de663066cd0b6cdd52e7 07-Sep-2012 Yuichiro Hanada <yhanada@google.com> Check the length of the word when add to FusionDictionary.

Change-Id: Id98d18e90a8b83b597507728b467f56888c8fd12
inaryDictionary.java
onstants.java
akedict/BinaryDictInputOutput.java
akedict/FusionDictionary.java
be5db53a09a705575e3902769b44d687142f6a83 06-Sep-2012 Yuichiro Hanada <yhanada@google.com> Add tests for readDictionaryBinary with byte array.

Change-Id: I2c2815e9d4867687fb3f5b0c661e6162b88c0a0c
serHistoryDictIOUtils.java
83dfe0fd8c7e2bce2717930dbf8732f5414ee39d 04-Sep-2012 Yuichiro Hanada <yhanada@google.com> Add FormatOptions.

Change-Id: Ibad05a5f9143de1156b2c897593ec89b0a0b07e7
xpandableBinaryDictionary.java
serHistoryDictIOUtils.java
akedict/BinaryDictInputOutput.java
ac25fcac717b0d28dfb2cd5c8ecd4fde839c4eeb 04-Sep-2012 Jean Chalard <jchalard@google.com> Display punctuation suggestions on cursor move

...if punctuation suggestions are requested.

Fixes the symptom, but not the root cause of
Bug: 6981089

Change-Id: I683a7451c99457829cb4e5a762f43548ff89a535
atinIME.java
2e4713a54ed38a18f39ef0d52431459c8210dc40 04-Sep-2012 Ken Wakasa <kwakasa@google.com> Merge "Check the length of the word when add to userhistory." into jb-mr1-dev
848331222ea15d928faa1dd9422f5efba6be5092 04-Sep-2012 Tadashi G. Takaoka <takaoka@google.com> Use string-array resource to define predefined-subtypes

Bug: 6809603
Change-Id: Icafe4652ec17844838b28c04977deb88bcb9aa8f
dditionalSubtype.java
dditionalSubtypeSettings.java
ettingsValues.java
dd435b305e1b69817c8f714572e6161f66111997 04-Sep-2012 Yuichiro Hanada <yhanada@google.com> Check the length of the word when add to userhistory.

Change-Id: I7f2fe1771eed6b610704892b24f8a0283a779162
serHistoryDictionary.java
f2789819bd005b5b0581e8439601b5501306327d 03-Sep-2012 Ken Wakasa <kwakasa@google.com> Cosmetic fixes and a bug fix in UnigramDictionary::testCharGroupForContinuedLikeness().

This change has actually been extracted from a change work in progress I4fe423834b8131fb122251892c98228a6e08ba25

Change-Id: I52568fa09da2ea22be7f8bfe9676b7cd73c31fa4
uggestedWords.java
akedict/FusionDictionary.java
8251036616dc30db9ad1a981cc5af5843d474647 03-Sep-2012 Jean Chalard <jchalard@google.com> Match calls in I8a70e43b for Icbe60bdf

Change-Id: I3a9eaaa018cd338ca8d9aa09c0fa58800b637e19
serHistoryDictIOUtils.java
2035b946a38dd072119a9771252aef3667f08f68 03-Sep-2012 Jean Chalard <jchalard@google.com> Merge "Reinstate the shortcut-only attribute" into jb-mr1-dev
72b1c9394105b6fbc0d8c6ff00f3574ee37a9aaa 31-Aug-2012 Jean Chalard <jchalard@google.com> Reinstate the shortcut-only attribute

Also add the blacklist attribute

Bug: 7005742
Bug: 2704000
Change-Id: Icbe60bdf25bfb098d9e3f20870be30d6aef07c9d
xpandableBinaryDictionary.java
akedict/BinaryDictInputOutput.java
akedict/FusionDictionary.java
akedict/Word.java
666a4338026866df1f18dd6b3f968c3788943e4c 16-Aug-2012 Yuichiro Hanada <yhanada@google.com> add UserHistoryDictIOUtils.

Change-Id: I8a70e43b23f65b5fd5f0ee0b30a94ad8f5ef8a8a
serHistoryDictIOUtils.java
akedict/BinaryDictInputOutput.java
9bbc7ec052e3cb0a575fd56e5d8ddbc172841f6e 31-Aug-2012 Kurt Partridge <kep@google.com> Merge changes Ifb983c35,I0b947421 into jb-mr1-dev

* changes:
ResearchLogger clean up splash screen
ResearchLogger no longer offers option to disable logging
58eb4d9f27595202927150766d198a0bff15efad 27-Jul-2012 Kurt Partridge <kep@google.com> ResearchLogger no longer offers option to disable logging

Bug: 6188932
Change-Id: I0b9474216080f3820438c09f89b0b6c6c102c69d
atinIME.java
b2a43a2ed4df8c3cacf21168cd742e30fa37e964 29-Aug-2012 Yuichiro Hanada <yhanada@google.com> add readUnigramsAndBigramsBinary.

Change-Id: I7967f11211221d4877bf0a0c30183af885f45390
akedict/BinaryDictInputOutput.java
35ff94547c16c84c5b6fafdae0b4a683be782b97 30-Aug-2012 Tadashi G. Takaoka <takaoka@google.com> Separate inner classes of keyboard package out under internal package

Change-Id: Ia3969bd5ddec5aa5d81d05ad4cf676d818587922
uggestions/MoreSuggestions.java
ded498d4a4eca6492e5ab0997dc57530854b28fa 30-Aug-2012 Jean Chalard <jchalard@google.com> Merge "add readHeader." into jb-mr1-dev
62ed9011002817cc78f3a1de39a1171cb136176a 30-Aug-2012 Yuichiro Hanada <yhanada@google.com> add readHeader.

Change-Id: I5be5d62a63ca897e36fe93200ffdca6befb363aa
akedict/BinaryDictInputOutput.java
61bc66b324f94a7b29b5388101cb622bf243d19e 29-Aug-2012 Tadashi G. Takaoka <takaoka@google.com> Revert "Revert "Fix key letter size of 5-rows Thai keyboard""

This reverts commit 7a5ca9982fae2c17df4e597d2c54c81782946ed1.
Depends: Ia4fa5046b3106e2710b9d5df1a6cc5f2cf995ec7

Change-Id: I0b9d0125380efe898943dc26ae884378145c44a3
esourceUtils.java
b590d69e1f184912a0214a06ffc34a61b8413c56 30-Aug-2012 Tadashi G. Takaoka <takaoka@google.com> Merge "Revert "Revert "Move resource related methods to ResourceUtils""" into jb-mr1-dev
d2a81ab9bd0de920b520398bfe10d2e042bc758d 30-Aug-2012 Ken Wakasa <kwakasa@google.com> Merge "Add FusionDictionaryBufferInterface." into jb-mr1-dev
92821614fd80112527e133f069e31ee48250314f 29-Aug-2012 Tadashi G. Takaoka <takaoka@google.com> Revert "Revert "Move resource related methods to ResourceUtils""

This reverts commit bfc02a7005ab9a2950cbe09a13a88e4edcbb051e.

Change-Id: Ife4c0312ea3260211b1b5ee39b239e8e9d7db67e
Depends: I3d862515568be36d5aa80d12e7e5c0a9bf4d06a6
esourceUtils.java
uggestions/SuggestionStripView.java
bfc02a7005ab9a2950cbe09a13a88e4edcbb051e 29-Aug-2012 Ken Wakasa <kwakasa@google.com> Revert "Move resource related methods to ResourceUtils"

This reverts commit 160dc0f98e513819a6ebf11a2d65cdc851389344

Change-Id: Ic5a3d9c70b8f6f2993d8455799945ec2633cad66
esourceUtils.java
uggestions/SuggestionStripView.java
f5c4ff481782831329593760b000f0543680930a 29-Aug-2012 Yuichiro Hanada <yhanada@google.com> Add FusionDictionaryBufferInterface.

Change-Id: I8640c994231d5f46bc6e074ce8a5bf5344fed0aa
akedict/BinaryDictInputOutput.java
160dc0f98e513819a6ebf11a2d65cdc851389344 29-Aug-2012 Tadashi G. Takaoka <takaoka@google.com> Move resource related methods to ResourceUtils

Change-Id: I14535b030e58363315dd2daecaaef4edd6990cd9
esourceUtils.java
uggestions/SuggestionStripView.java
1e11c44d1b5f9ddf593c5407cb14c458be0056f2 29-Aug-2012 Tadashi G. Takaoka <takaoka@google.com> Make utility classes final

Change-Id: Ic4f69b4c8da33c9fca50d6829724179310c2f875
ollectionUtils.java
mfUtils.java
nputTypeUtils.java
niUtils.java
ocaleUtils.java
esourceUtils.java
tringUtils.java
serHistoryForgettingCurveUtils.java
tils.java
ibratorUtils.java
mlParseUtils.java
4fa01ee570cf4d4aab3a7cdca5246d8f119ac6f1 29-Aug-2012 Jean Chalard <jchalard@google.com> Merge "Allow Latin IME to cancel smiley-auto-correct consistenly" into jb-mr1-dev
a05a0f20776b4c33f41f043f1bff245331937580 27-Aug-2012 Jean Chalard <jchalard@google.com> Allow Latin IME to cancel smiley-auto-correct consistenly

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
astComposedWord.java
atinIME.java
tils.java
ordComposer.java
9879f65651a748e4c0a45715eb7d5663652f1127 29-Aug-2012 Tadashi G. Takaoka <takaoka@google.com> Add ResourceUtils

Change-Id: Ia198f8d95eae8c007623cd52d73cc1528d22fee9
esourceUtils.java
ettingsValues.java
tils.java
95c486cdf39ffbda72e6696057d27623c60e8ac2 29-Aug-2012 Tadashi G. Takaoka <takaoka@google.com> Merge "Move some methods from Utils to LocaleUtils class" into jb-mr1-dev
0023a57eeaac2efd3d3eb7592a7a893e157806bb 29-Aug-2012 Tadashi G. Takaoka <takaoka@google.com> Move some methods from Utils to LocaleUtils class

Change-Id: I4a834549c2ea96ac30d7e2cb692d69af219cab1a
ocaleUtils.java
ettingsValues.java
tils.java
237f5e4f9b984d58199916396ba68dc9958235de 29-Aug-2012 Tadashi G. Takaoka <takaoka@google.com> Remove unused methods from Utils class

Change-Id: I209b75f1cca381610f25cd219f35ea62b9762be2
tils.java
43d3f0fa3bd804e9795d31025b78a4696d46f0a2 28-Aug-2012 Jean Chalard <jchalard@google.com> Merge "Auto-correct after smileys and gestures." into jb-mr1-dev
ef2bfad5903fb55adca61dbea51984fbc7e4375f 28-Aug-2012 Tadashi G. Takaoka <takaoka@google.com> Use TypedArray.getFraction to read percentile values in resource

Change-Id: Ifc8b024d190efba4cd536fd639621e841eb9970e
uggestions/SuggestionStripView.java
6c70b9200340537d05ff8932d7cd990269eb486d 27-Aug-2012 Jean Chalard <jchalard@google.com> Auto-correct after smileys and gestures.

Bug: 6936790
Bug: 6965241
Change-Id: I1f61327eb5591960c280e425df9cd86b9c52f5d6
atinIME.java
5cc596160a7df3547d81487e1a556f5d47cd7d70 24-Aug-2012 Jean Chalard <jchalard@google.com> Merge "Use ByteBuffer when reading FusionDictionary from file." into jb-mr1-dev
d4fe7fda303ff937d2e44c15dde9d90cbf59376b 21-Aug-2012 Yuichiro Hanada <yhanada@google.com> Use ByteBuffer when reading FusionDictionary from file.

Change-Id: Ia71561648e17f846d277c22309ac37c21c67a537
inaryDictionaryGetter.java
akedict/BinaryDictInputOutput.java
64a26b4389abb273afff7699a8c86596defd85bf 23-Aug-2012 Tadashi G. Takaoka <takaoka@google.com> Fix bug in InputPointers.append

Change-Id: I39825757bbae32b66c4b61cb6c4fbcaa2e0c9c47
nputPointers.java
64ee09610024eb1436c51f9c9ef9fc3f77239d73 23-Aug-2012 Tadashi G. Takaoka <takaoka@google.com> Add toString method to InputPointers and ResizableIntArray

Change-Id: I835ee131855bef8233cf2672e2fb288b939148a6
nputPointers.java
esizableIntArray.java
d573bad5bdd83236efee9cac76898ed138fbe53c 22-Aug-2012 Kurt Partridge <kep@google.com> Merge "ResearchLogging capture full n-gram data" into jb-mr1-dev
50e7501722427aabdd280201e5e1bbfaeac76fab 22-Aug-2012 Tadashi G. Takaoka <takaoka@google.com> Merge "Fix SubtypeSwitcher initialization path" into jb-mr1-dev
9fc6af325ec91a1a22c0679d374c0c3d6d03d9ac 22-Aug-2012 Tadashi G. Takaoka <takaoka@google.com> Fix SubtypeSwitcher initialization path

This change also removes the reference of LatinIME from
SubtypeSwitcher.

Bug: 7026856
Change-Id: I78a266f3682b11f09b49bbcdcdb6aee713e6af37
atinIME.java
ubtypeSwitcher.java
bf653996eab40e2c66cfd2eaeb48ed5175b78455 03-Aug-2012 Kurt Partridge <kep@google.com> ResearchLogging capture full n-gram data

- Captures complete motion data for all words in an n-gram.
- Also filters n-grams properly; if any word in the n-gram is not
in the dictionary, it is not included.
- Simplify ResearchLog to not require explicit state
- Added LogBuffer class MainLogBuffer class to allow n-gram-level decisions
about privacy.
- Moved LogUnit out from ResearchLogger

multi-project change with Ic70ccb6c2e11eb02d887821434b44daa3eb7a3e2

Bug: 6188932
Change-Id: I731d6cff6539e997874f723b68bdb0d9b651b937
atinIME.java
ecfbf4625c8afd9cde7b79e0c7846b87e20f79e9 22-Aug-2012 Tadashi G. Takaoka <takaoka@google.com> Add static construct method for SparseArray

Change-Id: I6da97f6ea23578318f403bb5d64c30b1663c69ee
inaryDictionary.java
ollectionUtils.java
1f05cf6dab45c21d1ed334247929434d97c40584 21-Aug-2012 Tadashi G. Takaoka <takaoka@google.com> Remove GCUtils utility class

Change-Id: Ia666aeb10c155d69763faf7f01ceca113b9b4653
atinIME.java
tils.java
f8528914375be9bd4520444faa1bcd4381a4ee80 22-Aug-2012 Tadashi G. Takaoka <takaoka@google.com> Merge "Remove KeyboardSwitcher reference from ResearchLogger" into jb-mr1-dev
07d485d7051a27e727163dc406cb0ef9a5eae2cc 22-Aug-2012 Jean Chalard <jchalard@google.com> Merge "Fix a silly bug." into jb-mr1-dev
c3f78c9057a5710898feaf8027659484477e5821 21-Aug-2012 Tadashi G. Takaoka <takaoka@google.com> Remove KeyboardSwitcher reference from ResearchLogger

Change-Id: I671a83c19977fda358c8e8a730e22ee155f65512
atinIME.java
32f6503a27fd91ae2e72ab49b0f67dcb0ee76566 21-Aug-2012 Jean Chalard <jchalard@google.com> Fix a silly bug.

This would prevent user history to work at all.

Bug: 7023638
Change-Id: I5d8867a07fb8859325d274e956ae667c094d0ac1
xpandableDictionary.java
5f282ea9e4a4590fcbab6e27d5fca7dacbb40a6a 21-Aug-2012 Tadashi G. Takaoka <takaoka@google.com> Add CollectionUtils class to create generic collection easily

Change-Id: I6b4de9187e122298e5e9cd8ddc9070d062df6a89
dditionalSubtype.java
dditionalSubtypeSettings.java
inaryDictionary.java
inaryDictionaryFileDumper.java
inaryDictionaryGetter.java
ollectionUtils.java
ictionaryCollection.java
ictionaryFactory.java
xpandableBinaryDictionary.java
xpandableDictionary.java
ocaleUtils.java
ettingsValues.java
tringUtils.java
ubtypeLocale.java
uggest.java
uggestedWords.java
serHistoryDictionary.java
serHistoryDictionaryBigramList.java
tils.java
pellcheck/AndroidSpellCheckerService.java
pellcheck/AndroidSpellCheckerSession.java
pellcheck/DictionaryPool.java
pellcheck/SpellCheckerProximityInfo.java
uggestions/SuggestionStripView.java
94e7f4bef970431f509a806d1b92b19fc3b5ce7d 02-Aug-2012 Kurt Partridge <kep@google.com> ResearchLogger log RichInputConnection

Move many ResearchLogger data collection points to RichInputConnection.
By collecting data here, developers do not have to remember to keep the
ResearchLog consistent with calls to the RichInputConnection.

In addition, some unnecessary log points were removed, and the ResearchLogger
is now independent of LatinImeLogger.

multi-project change with I05496cfd762e9a41c42c50099143f1efc0a3d8a2

Bug: 6188932
Change-Id: I424abb2e437901262a9620255493916b7c3ff74b
atinIME.java
ichInputConnection.java
8b6b5592cb2f3789fade5a6e04a328788e61a292 21-Aug-2012 Jean Chalard <jchalard@google.com> Merge "Treat all caps for gesture input." into jb-mr1-dev
324cc1dbe60a39b65989356067a03f2ff9fb1a86 21-Aug-2012 Jean Chalard <jchalard@google.com> Merge "Tell the shift mode to the word composer." into jb-mr1-dev
1eba97d92fb5caa4f23425837b6680ccc2a23ae8 21-Aug-2012 Jean Chalard <jchalard@google.com> Treat all caps for gesture input.

Bug: 6950087
Change-Id: I9f2271780600572c9befa96c7ad98494c554dd2b
uggest.java
ordComposer.java
adbd9ae105e06287b59379d7f7127d95fd0663f4 21-Aug-2012 Jean Chalard <jchalard@google.com> Tell the shift mode to the word composer.

Bug: 6950087
Change-Id: Ifab9d6d075af398c6468d081216488712f8a53fb
atinIME.java
uggest.java
ordComposer.java
ac78633be28e8990fc3b3a8de192c80966e746e3 21-Aug-2012 Tadashi G. Takaoka <takaoka@google.com> Rename and consolidate some constants

Change-Id: I7863936cca18b28bf0117afcbcf544a5fd7f185d
inaryDictionary.java
onstants.java
xpandableDictionary.java
atinIME.java
ordComposer.java
pellcheck/AndroidWordLevelSpellCheckerSession.java
pellcheck/SpellCheckerProximityInfo.java
6785b9072762e15bb49657ce7b7d228dab76e44a 21-Aug-2012 Tadashi G. Takaoka <takaoka@google.com> Remove touch coordinate from pickSuggestionManually

Change-Id: I33b1b4bc6fdfd263c4b2bb7125c07b4bddcf3c9f
atinIME.java
uggestions/SuggestionStripView.java
48643b0e0d73703f4b3357add9f793d521eedf96 20-Aug-2012 Kurt Partridge <kep@google.com> Merge "Revert "ResearchLogger log RichInputConnection"" into jb-mr1-dev
adb591e75b9a28b0a9af1a35a366ecaa33f56abb 20-Aug-2012 Kurt Partridge <kep@google.com> Merge "Revert "ResearchLogging capture full n-gram data"" into jb-mr1-dev
35c11842a78e272ac4f61bfc58b96826c833f104 20-Aug-2012 Kurt Partridge <kep@google.com> Revert "ResearchLogger log RichInputConnection"

This reverts commit 1964ffb3f43f0ada429d13b41bd22b90a97fa9fc

Change-Id: Ie43e7ac828faa91e1824a255bb3ecf6c8222d4e8
atinIME.java
ichInputConnection.java
3d3590874926ff92009ed0b4f114c6e5a8ee7394 20-Aug-2012 Kurt Partridge <kep@google.com> Revert "ResearchLogging capture full n-gram data"

This reverts commit 221e756fd7d585f0eb75377b851f23cad24ccd7f

Change-Id: Iefc4e4e27ddc925d4a4634627b0467bd4ee2a66e
atinIME.java
752c53760cd963c2bd88f327d032b6b92e1bd793 20-Aug-2012 Kurt Partridge <kep@google.com> Merge changes I568c90d4,I4667f8f6 into jb-mr1-dev

* changes:
ResearchLogging capture full n-gram data
ResearchLogger to track simple statistics
461f1942f94b00a9c75d882cdf9d82c1a758b22b 20-Aug-2012 Kurt Partridge <kep@google.com> Merge "ResearchLogger log RichInputConnection" into jb-mr1-dev
cb2362cee1a6700fb15730e12a62ae2004baae4f 20-Aug-2012 Tadashi G. Takaoka <takaoka@google.com> Merge "Make some usages of SparseArray thread-safe" into jb-mr1-dev
8ce351a8275f0ad73cdd642e8b46a430b072e8ef 20-Aug-2012 Tadashi G. Takaoka <takaoka@google.com> Make some usages of SparseArray thread-safe

This is a follow up of I39d9bf1a7c272eb16d6ed4698f52457579b40f10.

Change-Id: Ic3288e491175f9a85679a21064093f9db5a65466
inaryDictionary.java
1aed102d4cfa02befcf3d1377ab94bdb412c8862 20-Aug-2012 Jean Chalard <jchalard@google.com> Merge "Fix capitalization, part 1" into jb-mr1-dev
4c6db0592ec121793389c6b90c3094be8dfb58a7 20-Aug-2012 Jean Chalard <jchalard@google.com> Merge "Remove the whitelist dictionary." into jb-mr1-dev
04d6649d295c59a0bbbad3f123606cf28d9f3b61 20-Aug-2012 Jean Chalard <jchalard@google.com> Merge "Remove access to the whitelist class." into jb-mr1-dev
13822d2b056543de5a54b5ed338ca2cc250d8287 17-Aug-2012 Jean Chalard <jchalard@google.com> Hack to skip reading an outdated binary file.

Bug: 7005813
Change-Id: Ie0d8d4b2d5eb147838ca23bdd5ec1cecd4f01151
inaryDictionaryGetter.java
akedict/BinaryDictInputOutput.java
fb087a95f9dd1898d5a81ffe8642f36db44efc0c 20-Aug-2012 Jean Chalard <jchalard@google.com> Fix capitalization, part 1

The case this fixes is typing "Ah.\n" in gmail for example

Bug: 6950087
Change-Id: Ia4bf3a57dde49b9c9d47d315e9f85b7ffc7ee6e3
atinIME.java
221e756fd7d585f0eb75377b851f23cad24ccd7f 03-Aug-2012 Kurt Partridge <kep@google.com> ResearchLogging capture full n-gram data

DO NOT MERGE

- Captures complete motion data for all words in an n-gram.
- Also filters n-grams properly; if any word in the n-gram is not
in the dictionary, it is not included.
- Simplify ResearchLog to not require explicit state
- Added LogBuffer class MainLogBuffer class to allow n-gram-level decisions
about privacy.
- Moved LogUnit out from ResearchLogger

multi-project change with Ie2bc79fd7fe6b951b24771e94b8d4ca21989af65

Bug: 6188932
Change-Id: I568c90d4af07e7c759c1e7fc64b716bd8c7b4ae5
atinIME.java
1964ffb3f43f0ada429d13b41bd22b90a97fa9fc 02-Aug-2012 Kurt Partridge <kep@google.com> ResearchLogger log RichInputConnection

Move many ResearchLogger data collection points to RichInputConnection.
By collecting data here, developers do not have to remember to keep the
ResearchLog consistent with calls to the RichInputConnection.

In addition, some unnecessary log points were removed, and the ResearchLogger
is now independent of LatinImeLogger.

multi-project change with Ib71f841044ec1072610ab5638a5edfce29b7c05b

DO NOT MERGE

Bug: 6188932
Change-Id: I9ec7500a5b18bfe1a5a5bb1e5bf21c43351fc59e
atinIME.java
ichInputConnection.java
e46d12927ee2717788248b05f00b751beaf2a02a 17-Aug-2012 Ken Wakasa <kwakasa@google.com> Fix NPE in LatinIME.addToUserHistoryDictionary()

bug: 7007063
Change-Id: Ie3e2f77dcbc597dda0c0df9a970336e5aac0edba
atinIME.java
72c0f4de1dfaaa1e404f46da48d7c91f28b76f74 17-Aug-2012 Ken Wakasa <kwakasa@google.com> Merge "add reconstructBigramFrequency" into jb-mr1-dev
c0a75c8ecbd373c4eaee4f866e4080c0b800470b 16-Aug-2012 Yuichiro Hanada <yhanada@google.com> add reconstructBigramFrequency

Change-Id: Iff20dcb9ca0d6064bb118247887fe24b812c0c61
serHistoryDictionary.java
akedict/BinaryDictInputOutput.java
aa27635a8a234b23d6db0957ab398443498eb558 17-Aug-2012 Jean Chalard <jchalard@google.com> Reword a confusing comment

Bug: 7005645
Change-Id: Ifd942b3ce242aeeec512e132e1cee31329e994b1
akedict/BinaryDictInputOutput.java
46fc768e54e3d52003645494552f9e686f28f20f 17-Aug-2012 Jean Chalard <jchalard@google.com> Remove the whitelist dictionary.

The functionality now lives in the binary dictionary.

This finalizes work on
Bug: 6906525

Change-Id: Id106d871e8afdf9afa886d2a30bea87ff89f2d24
utoCorrection.java
ictionary.java
uggest.java
hitelistDictionary.java
pellcheck/AndroidSpellCheckerService.java
3e43e6998e03cbdfc5a67c42003afcd36891c02f 17-Aug-2012 Jean Chalard <jchalard@google.com> Remove access to the whitelist class.

...which becomes useless. It will be entirely removed in an
upcoming change.

Change-Id: I2f1d27f1eceda79454b01f21e057b98f2953131a
uggest.java
228674f6c7ce8891ca6b358db94da921712d9960 17-Aug-2012 Jean Chalard <jchalard@google.com> Merge "fix findWordInTree." into jb-mr1-dev
0d35c159fefd7591c2ab9d5037c32d1804024197 17-Aug-2012 Yuichiro Hanada <yhanada@google.com> fix findWordInTree.

Change-Id: I8f42df28f76188677db9d4e55885e1fc6a40b53f
akedict/FusionDictionary.java
3083b4b77d51b28749a819d4e01a09ec558956e4 17-Aug-2012 Jean Chalard <jchalard@google.com> Merge "Fix a debug method" into jb-mr1-dev
cc1062cfd06fe2e79c7bfc9318be6eb68da811dd 17-Aug-2012 Jean Chalard <jchalard@google.com> Fix a debug method

Change-Id: Icf78fb0d5f7caea78f053fffd1ecd4289629964a
inaryDictionary.java
bc44ad77e50a9f5ca2dab2c5153971b23c33fa2c 16-Aug-2012 Ken Wakasa <kwakasa@google.com> Merge "fix findWordInTree." into jb-mr1-dev
66f338983bb9cb04a0d94a4729330b1c8ff01c93 16-Aug-2012 Yuichiro Hanada <yhanada@google.com> fix findWordInTree.

Change-Id: I9d81c815494a0670afa81219ad7bad82274d997e
akedict/FusionDictionary.java
91c64902b038976ae44d69dae7818f2c7adde863 15-Aug-2012 Jean Chalard <jchalard@google.com> Merge "Refresh editor info when the text field attributes changes." into jb-mr1-dev
e234aed4288efd7b4336f3755a958c25a1540b98 15-Aug-2012 Jean Chalard <jchalard@google.com> Refresh editor info when the text field attributes changes.

For some reason we get a "restarting" flag from the browser
some times when the input field is different. The attributes
however are not the same, so we can detect that and reload
appropriately.

Bug: 6946793
Change-Id: I6762dae6f41db690497b026a707d9cc89c840b34
nputAttributes.java
atinIME.java
ettingsValues.java
cd0e0048881eb854a4d1524c2d54d6b9bb00f614 15-Aug-2012 Jean Chalard <jchalard@google.com> Merge "Ensure #offer always actually offers something." into jb-mr1-dev
653dbfb8ed4dfa17b2d10865a04185b1e15f4e43 15-Aug-2012 Jean Chalard <jchalard@google.com> Ensure #offer always actually offers something.

This will allow remaining requests after a call to terminate
correctly.

Bug: 6963142
Change-Id: Iff67058bb8a39f2f1b468d3894861e8125de6659
pellcheck/AndroidWordLevelSpellCheckerSession.java
pellcheck/DictionaryPool.java
3979f060f0650cbc117eee0307d05fb0be78c6f2 14-Aug-2012 Satoshi Kataoka <satok@google.com> Step 28-A Introduce the session Id to getSuggestion

Change-Id: I39d9bf1a7c272eb16d6ed4698f52457579b40f10
inaryDictionary.java
icTraverseSession.java
ictionary.java
uggest.java
05384933097c1e9c35e8be5c03757d072e5ffa46 15-Aug-2012 alanv <alanv@google.com> Fix the build.

Change-Id: I744f6232e81981ab694d3d1e92bab5fd6efa46c0
atinIME.java
dd7f79097af10aa448ec10128f261cbadf4842ac 14-Aug-2012 Charles Chen <clchen@google.com> Merge "Change accessibility event type for app-driven speech." into jb-mr1-dev
e30c05800fa463ef622132b0df466f5455281fc1 14-Aug-2012 Jean Chalard <jchalard@google.com> Preemptive anti-deadlock device

We don't know of any actual bug in the implementation of the
pool that may result in a deadlock, but this still implements
a means out of a deadlock if one ever arises anyway. It's
meant to improve the resilience of the spell checker.

Bug: 5441027
Change-Id: I689491090792dbb89110ee56631965c5bb2dc712
pellcheck/AndroidWordLevelSpellCheckerSession.java
pellcheck/DictionaryPool.java
5d6b8e181811e10b38dd30f4ba33757bb2162552 14-Aug-2012 Jean Chalard <jchalard@google.com> Fix a bug that would prevent spell checking

java.lang.ArrayIndexOutOfBoundsException:
[I offset=0 length=528 src.length=512
com.android.inputmethod.keyboard.ProximityInfo
.setProximityInfoNative(Native Method)
com.android.inputmethod.keyboard.ProximityInfo
.createSpellCheckerProximityInfo(ProximityInfo.java:85)
com.android.inputmethod.latin.spellcheck.AndroidSpellCheckerService
.createDictAndProximity(AndroidSpellCheckerService.java:411)

The array was too small with respect with the passed size.

Change-Id: I7777d7aecd17375d3fbf82854a66eb7a5a289ce6
pellcheck/SpellCheckerProximityInfo.java
bcec82de66f52655593dc233346f11468f5077a0 12-Aug-2012 Ken Wakasa <kwakasa@google.com> Clean up constructors

And, use C++ style casts and use float math functions rather than double ones to save memory space.

Also, stop using FloatMath and NativeUtils as standard Math methods are faster now.
See http://code.google.com/p/android/issues/detail?id=36199 and https://android-review.googlesource.com/40700

multi-project commit with I4259fb5ab8a15ac5760a7f04fc8f4c860529f04a

Change-Id: I0b81cff8c91769f7559a59b9528c75a5aabb4211
ativeUtils.java
serHistoryForgettingCurveUtils.java
847c8dfe17c31c88d869ae469194edf574c9a474 10-Aug-2012 satok <satok@google.com> Fix JNI

Change-Id: If134baf52e78fbe18b78611a23870f5d10c80955
inaryDictionary.java
icTraverseSession.java
5f312c9c1546da9f73d02f911d3365da4ff658fb 10-Aug-2012 alanv <alanv@google.com> Change accessibility event type for app-driven speech.

Bug: 6614400
Change-Id: I0ef309b7f3f35bf37b4664ea599c9e6ffb1a4ab8
atinIME.java
f3850e554389dc3012584f9d81a4f2d3d4c89e44 10-Aug-2012 Ken Wakasa <kwakasa@google.com> Use JNI Region calls also in getSuggestions()

Change-Id: I9cc0208397c202aeb6f7b5bb5ad59e00c5afbd80
inaryDictionary.java
f6c2200890012708709964fb1a8933ed1c3e7dd8 10-Aug-2012 Satoshi Kataoka <satok@google.com> Workaround to stop init dict traverse session

Change-Id: I3d46c54a96a9fc0359ef75b9d2f8590b44164a8b
icTraverseSession.java
7b258e512dc2a8c821eb9f435e5719b8a967b441 10-Aug-2012 Jean Chalard <jchalard@google.com> Accept whitelisted entries from any source.

...not only the WhitelistDictionary.

Bug: 6906525
Change-Id: I7f181eb6936ec17bbccdc4e736fd09292af24e9c
uggest.java
caed149b67be378adf49f3db16a2cfbb8dd15d84 10-Aug-2012 Jean Chalard <jchalard@google.com> Optimization & Simplification

It's useless to do the whitelist lookup twice. Also, putting
this test out of this method will allow whitelist entries to
come from other sources.

Bug: 6906525
Change-Id: I4afe678cae6556d16642d155ce770fbf4e61ad49
utoCorrection.java
uggest.java
dc2fb6bc6d0c071b8023d62291becf2e2d59535c 10-Aug-2012 Jean Chalard <jchalard@google.com> Merge "Pass the type from native code all the way to Java." into jb-mr1-dev
926ef06a1ef8a0f8e01baa26c23172b93012d2b1 10-Aug-2012 Jean Chalard <jchalard@google.com> Pass the type from native code all the way to Java.

Bug: 6906525
Change-Id: I057390d47a223450e22d8338509e22c28fc0d5f6
inaryDictionary.java
e9f3e182e4b3217282831fd8805958270b4dbba3 09-Aug-2012 Satoshi Kataoka <satok@google.com> Add arguments for dic traverse session

Change-Id: I8776ad528eeea9a5fc4dcf394ca13bb80c04fb6d
inaryDictionary.java
icTraverseSession.java
5bb420627520412a621121f5c21da123f6a4cb1c 09-Aug-2012 Ken Wakasa <kwakasa@google.com> Use more JNI Region calls

Change-Id: I371db517ff4749c0b7e5bdb4362e6310c91a24dc
inaryDictionary.java
9d29871605515ac0f6071882213a90bc75dfd9ba 08-Aug-2012 Satoshi Kataoka <satok@google.com> Add reset method for dic travserse session

Change-Id: Ia3dd924f92549da2cf8302ef77c629902d4f275b
icTraverseSession.java
2be2d776649c9c0b3914135794ab7a7e92e753f9 09-Aug-2012 Tadashi G. Takaoka <takaoka@google.com> Update dictionary availability at onStartInputView

This is a follow up of I7901c0f9489b4deb79314c2c903b138611bfd78e

Change-Id: I38c22e886db247c402a964e3ddd10b09a461151c
atinIME.java
9abea49dd4f3428acb60f35ea7a8ff53aa2e2af7 09-Aug-2012 Tadashi G. Takaoka <takaoka@google.com> Merge "Fix NPE and don't call UI API from non-UI thread" into jb-mr1-dev
8335c59ea7715f3dbc6625f128a7a038f314a89f 08-Aug-2012 Tadashi G. Takaoka <takaoka@google.com> Fix NPE and don't call UI API from non-UI thread

This change also reverts I29ec3e9f10484f30288fac76f0c45b3707bc2259

Bug: 6956969
Bug: 6891020
Bug: 6947253
Change-Id: I7901c0f9489b4deb79314c2c903b138611bfd78e
atinIME.java
60d4961f346dadf274f49e0f15c87dcffe8f5820 08-Aug-2012 Satoshi Kataoka <satok@google.com> Merge "Pass traverse session" into jb-mr1-dev
9127811493b9288a0ca385e75db68520b197dea2 08-Aug-2012 Satoshi Kataoka <satok@google.com> Pass traverse session

Change-Id: I84bfaaa406e3f51421c08a7ee8f9576ebdba54d4
inaryDictionary.java
icTraverseSession.java
181567f9c76a0b03250211bf7b53a66473bf704e 08-Aug-2012 Satoshi Kataoka <satok@google.com> Merge "Add traverse session" into jb-mr1-dev
c4e4dfe17dd60d200b851d228ce718543900a1fc 08-Aug-2012 Satoshi Kataoka <satok@google.com> Add traverse session

Bug: 6942265

Change-Id: I384cf701f5ee44c4b1037e5b8ddfa3d570286f55
inaryDictionary.java
icTraverseSession.java
79eefda0d3ab5e03c2d012ed8ea1898004781871 08-Aug-2012 Tadashi G. Takaoka <takaoka@google.com> Add SuggestInitializationListener to BinaryDictionary.resetMainDict()

Change-Id: I4c01f172ddb2ca60fa6e604384610c90b76e5457
atinIME.java
uggest.java
27e48447a449d2eb534dfa2dc07060727e1a8fb0 07-Aug-2012 Tadashi G. Takaoka <takaoka@google.com> Lingering gesture floating preview text a bit

Bug: 6936095
Change-Id: I873343e9aa6afdf6bdb223795f03232509b012a7
atinIME.java
7a13975700574c42ff1e9cfff5934f00ffb3c802 06-Aug-2012 Tadashi G. Takaoka <takaoka@google.com> Cleanup unused import and dead code

Change-Id: Ife877620561d29a8f25602916420741186104617
ictionary.java
tils.java
dba77186f78a9c8b449cc0def5153586ef3f81f9 06-Aug-2012 Tadashi G. Takaoka <takaoka@google.com> Fix duplicate getSuggestions() call for main dictionary

Change-Id: I092480063452505cdf03dbd83b9c64e535822931
ictionaryCollection.java
b27959741a25b900641a6acbf927625dbc68ddd3 06-Aug-2012 Tadashi G. Takaoka <takaoka@google.com> Fix Utils.getStackTrace()

Change-Id: Iaf160af32bb77b3ad5929cb5ee8eccd01165bdf6
tils.java
0a524de3df86e3039acba40b69ccba67ec484a41 06-Aug-2012 Tadashi G. Takaoka <takaoka@google.com> Separate updateSuggestionStrip from commitTyped

The commitTyped() called updateSuggestionStrip(), and that led to call
Suggest.getSuggestedWordsForTypingInput() even after a batch input was
started because WordComposer.commitWord() reset the batch input state.

Bug: 6932442
Change-Id: If645b1ef0343aa1e21ca71a9275b40c6c3be13df
atinIME.java
15b28432bab6b530d82ba01e0ef6a19cd1a4c698 03-Aug-2012 Jean Chalard <jchalard@google.com> Merge "Cleanup unused code" into jb-mr1-dev
8ee4b35c7010c6e8f792e49a88dc4e908f7230fc 03-Aug-2012 Jean Chalard <jchalard@google.com> Cleanup unused code

The Italian dictionary has been amended to contain words that
include apostrophes, and accordingly the apostrophe is now
excluded from word separators in Italian.
This code was only used for Italian, and in the general case
it does the wrong thing; it was only needed by limitations of
the old dictionary.

Bug: 6929108
Change-Id: I7ff4615e01899a1cebed2c4c51679cd0746740fe
atinIME.java
54e84a00fc032ba566cbda41feafa71de77e1c43 03-Aug-2012 Jean Chalard <jchalard@google.com> Make a makedict command for dicttool (A3)

This behaves exactly as the old makedict command. Further
changes will redirect the calls to makedict to this, so as
to consolidate similar code.

Groundwork for
Bug: 6429606

Change-Id: Ibeadbf48bec70f988a15ca36ebf5d1ce3b5b54ea
akedict/FusionDictionary.java
akedict/Word.java
3f80541844672a7625eb298adc6141ecf14bb883 03-Aug-2012 Jean Chalard <jchalard@google.com> Merge "Fix an OOB exception" into jb-mr1-dev
4c976aceeef7238cabbbb29f5793b4e805d087e5 03-Aug-2012 Jean Chalard <jchalard@google.com> Fix an OOB exception

Not sure exactly how this can happen, but at least this should
prevent us from crashing.

Bug: 6920884
Change-Id: I451864756b48c5cb5e98b06edee917d88766d77f
xpandableDictionary.java
622d6a5b1b3d6a9140765b868abf1cdf412bc4f3 02-Aug-2012 Tadashi G. Takaoka <takaoka@google.com> Using hardware accelerated drawing

When Canvas has been hardware accelerated, don't use offscreen bitmap.

Bug: 6872994
Change-Id: I1121f76377991692bc29ebeedbfbfa1b2a12dbb7
atinIME.java
fb955693d4bb0c8d39092250a4208e385b8a31a7 02-Aug-2012 Ken Wakasa <kwakasa@google.com> Enable hardware accelerated drawing for SoftInputWindow of LatinIME

Taking advantage of Ib6a8bda46223ce1153f32834daf02a820d16136e

bug: 6872994
Change-Id: I799b25b6509980dd9f039bead9bc926b42cbb040
atinIME.java
f68fe7a9c9262a3591eeba61f34a91855a34c930 27-Jul-2012 Jean Chalard <jchalard@google.com> Don't forward phantom space state on stripper input

Bug: 6890540
Change-Id: I923b24e3bc17e7b923be4940ad739b58dca24a1f
atinIME.java
ca57f5ba40b587a7a7f8a023aca65e1b2127b2a6 30-Jul-2012 Tadashi G. Takaoka <takaoka@google.com> Move gesture preview parameters to KeyboardView attributes

Change-Id: Iff9d6b485e202656fc869f3ff4d94575ad2c186f
atinIME.java
47e2bf329882ea45294ea6e6dd80b4d4eb3789e6 27-Jul-2012 Tadashi G. Takaoka <takaoka@google.com> Add advanced options to turn on/off the gesture trail and text preview

Bug: 6883053
Change-Id: I601718afb37289108b45ef68626c7c315edca35d
atinIME.java
ettings.java
ettingsValues.java
79d4c70b93577c73f7570db94fd92b9ecc1ee5cb 27-Jul-2012 Jean Chalard <jchalard@google.com> Merge "Don't auto-correct when there are digits." into jb-mr1-dev
e7c471a52f38c48cd38e412d88901bddb6f903a9 27-Jul-2012 Jean Chalard <jchalard@google.com> Don't auto-correct when there are digits.

Bug: 6667462
Change-Id: I796655f57c71c9f50ae6e38dd08b71df3998dbcf
uggest.java
ordComposer.java
6fc72cae206b67e2dbcc4c6a853a355995d068be 26-Jul-2012 Jean Chalard <jchalard@google.com> Fix a bug with autocaps

Port of Iece016f4

Bug: 6886405
Change-Id: I148c296d8a3841c40b6748e73ed2b0fff473b627
atinIME.java
aa906c36aa31f51a38083e337f4307b49f133054 25-Jul-2012 Jean Chalard <jchalard@google.com> Handle correctly the restarting argument

Bug: 6851364
Change-Id: Ie939a43b8527a76aec213b702d3d850717f22a81
atinIME.java
941f222c21809bc3926b8238aae10d660b5b9bfa 26-Jul-2012 Tadashi G. Takaoka <takaoka@google.com> Merge "Remove unused setProximityCorrectionEnabled() methods"
e55d78ab0cf8d27d6c22fd5fbc78714af8d6cc12 26-Jul-2012 Ken Wakasa <kwakasa@google.com> Stop swallowing an UnsatisfiedLinkError

Change-Id: I37d61274e1527229befabae2c392fd78e279b807
niUtils.java
c4376db0f015e1c2f0eb6283cc275b2da03cbb19 25-Jul-2012 Tadashi G. Takaoka <takaoka@google.com> Remove unused setProximityCorrectionEnabled() methods

Change-Id: I03aa6608ee435b36377de41684162b303740f571
atinIME.java
2f81757c3a5eb50d41ce19fb534f72cbf607a997 20-Jul-2012 Tom Ouyang <ouyang@google.com> Add dynamic floating preview for incremental gesture recognition.

Change-Id: I7ba7ac24aa96a0ff19267997c5b58853079bc6dc
atinIME.java
0657b9698a110f8e895448d829478982ce37b6d1 23-Jul-2012 Tadashi G. Takaoka <takaoka@google.com> Update gesture mode state when dictionary gets available

Bug: 6860204
Change-Id: I840b7bf1983ab92fa4e0b180129176539e96409f
atinIME.java
369e54cc338d8115d63138663b882f56208d7ec3 24-Jul-2012 Tadashi G. Takaoka <takaoka@google.com> Add Suggest initialization finish listener

Bug: 6860204
Change-Id: I1e4c03c99415cd9bdea5a8556ff4093c33f0f508
atinIME.java
uggest.java
506259396fc976e9726d7be8b611e2798473277d 23-Jul-2012 Tadashi G. Takaoka <takaoka@google.com> Merge "Update gesture suggestions even when suggestions strip is off"
7575ac70546c6a19331102a7719337614f5e3a0f 23-Jul-2012 Tadashi G. Takaoka <takaoka@google.com> Update gesture suggestions even when suggestions strip is off

Bug: 6852483
Change-Id: I873ae0f2e3bc863e989629f8bc0cc90ee33a4920
atinIME.java
c0f0ceeccfa5c110037a7b782c7ffabd42b81e65 23-Jul-2012 Jean Chalard <jchalard@google.com> Merge "Fix a bug with the 'add to dict' hint popping up too much"
491d451e382a8e7d42937a96e4e06ada483e57b5 23-Jul-2012 Jean Chalard <jchalard@google.com> Fix a bug with the 'add to dict' hint popping up too much

Not having a main dictionary is not sufficient reason to display
the hint. If the user already added the word to the dictionary then
we shouldn't be displaying it again, even if we don't have a main
dictionary for the current language.

Bug: 6829798
Change-Id: I6b081f51c82ef395fe2e394fd3167363e743ea6f
atinIME.java
259905ba901add520de56715200fb67fab818764 23-Jul-2012 Tadashi G. Takaoka <takaoka@google.com> Rename suggestion strip related methods

Change-Id: I942692bbc2e577482f353d875405c4658a1102fc
atinIME.java
4702671ea4feb0c79a879e2e3013afdd6ed800b1 23-Jul-2012 Tadashi G. Takaoka <takaoka@google.com> Rename SuggestionsView to SuggestionStripView
nputAttributes.java
nputView.java
atinIME.java
uggestions/MoreSuggestions.java
uggestions/MoreSuggestionsView.java
uggestions/SuggestionStripView.java
uggestions/SuggestionsView.java
c8e45ddb032554f4e9d4411d8ef47d98db62d77b 23-Jul-2012 Tadashi G. Takaoka <takaoka@google.com> Rename LatinKeyboardView to MainKeyboardView

Change-Id: I8f3123b8d727c7beb72e226f80c17794f89c8b60
atinIME.java
3c233bf1a5003c478a27964758afe2ca581d3d8b 19-Jul-2012 Kurt Partridge <kep@google.com> ResearchLogger feedback form

- also cleaned up RLog menu

multi-project commit with If0fd4fef89d390073e6939d5188ed5696866cb33

Bug: 6188932
Change-Id: I4f66f13bd366b4e8bde742ccd0704f812c6d33f9
atinIME.java
6b966160ac8570271547bf63217efa5e228d4acc 20-Jul-2012 Kurt Partridge <kep@google.com> ResearchLog refactor

- new package: com.android.inputmethod.research

multi-project commit with Ic0a5744f3160d13218addd589890623c0d120ffc

Bug: 6188932

Change-Id: Icf8d4a40a5725401799be6e209a640d99a5f34c4
atinIME.java
esearchLog.java
esearchLogger.java
ichInputConnection.java
ettings.java
uggestions/SuggestionsView.java
7519091f7c15c50a9a1e50d82fa92400335852ec 20-Jul-2012 Tadashi G. Takaoka <takaoka@google.com> Use ResizableIntArray in GestureStroke

Change-Id: I034e80df03c7c6c0895fdf2c03763627d410d425
nputPointers.java
62b8dddb6ddb057555a1665759f9cf197e480c9f 20-Jul-2012 Tadashi G. Takaoka <takaoka@google.com> Add gesture input enable settings

Bug: 6845325
Change-Id: I3165465b0b280e32a9288da16abb75baa67288dc
ettings.java
ettingsValues.java
528738341d856a6d51f4fba302311e4a54eee3f4 20-Jul-2012 Tom Ouyang <ouyang@google.com> Merge "Add gesture trail feedback."
4daf32b6c0358f0273a99b622a259ecdf6b44fa4 19-Jul-2012 Tom Ouyang <ouyang@google.com> Add gesture trail feedback.

Change-Id: I32709fac0dec3165678a052aa286e2fb3d90721b
onstants.java
2f6a90ac31746e8371590efcc96eb1953905c7d3 20-Jul-2012 Tadashi G. Takaoka <takaoka@google.com> Merge "Implement ResizableIntArray.fill"
7abdcf1ed3113d3c121f6ff1b87a7464f079e141 19-Jul-2012 Tadashi G. Takaoka <takaoka@google.com> Implement ResizableIntArray.fill

Change-Id: I570641bc2f32d016c247db6c065a138d8235ab8c
esizableIntArray.java
732edc1ff18689ff69fd9d0a89a7dd401998884b 20-Jul-2012 Tadashi G. Takaoka <takaoka@google.com> Merge "Fix NPE where the current subtype is null"
d6a18cdedb74a76e00c50af48eb7d5743358823f 20-Jul-2012 Tadashi G. Takaoka <takaoka@google.com> Fix NPE where the current subtype is null

Bug: 6847999
mfUtils.java
ubtypeSwitcher.java
48ded4e3b1205628fc82874d92ac7ab1f1f7f79f 20-Jul-2012 Kurt Partridge <kep@google.com> Merge "ResearchLogger: make logging more reliable (esp on startup)"
c49c85f835ecd14d09abb6d88c85a3303c566741 19-Jul-2012 Tadashi G. Takaoka <takaoka@google.com> Implement ResizableIntArray.setLength and .get

This change revises ResizableIntArrayTests as well.
esizableIntArray.java
0df487678eca58bd4732cfd2b6fd03b3c712eb48 18-Jul-2012 Kurt Partridge <kep@google.com> ResearchLogger: make logging more reliable (esp on startup)

Bug: 6188932
Change-Id: I692e427ba2e6da7bb15f48208304c4a034392a22
atinIME.java
esearchLog.java
esearchLogger.java
ettings.java
9370ab9adad3b4bc3af8bde52b6422b8d2b873e7 19-Jul-2012 Tadashi G. Takaoka <takaoka@google.com> Make ScalableIntArray public as ResizableIntArray

Change-Id: Ibbbc117214912ffa192c694bde5b7d55154f40c4
nputPointers.java
esizableIntArray.java
57f7de0ba664187e13bcea5adff7f5f65eddd823 18-Jul-2012 Tadashi G. Takaoka <takaoka@google.com> Add default capacity parameter to InputPointers' constructor

Change-Id: I02f23096f0682d30effe4dfc1ca57881a1e4aedc
nputPointers.java
astComposedWord.java
ordComposer.java
9580c467f96c542c66af86a2c376612ba4d91434 18-Jul-2012 Tadashi G. Takaoka <takaoka@google.com> Consolidate GestureTracker into PointerTracker

Change-Id: Ib28fae10493a9142ba4dff6cf57f52c59766b209
nputPointers.java
10102f02af1216cfca115d1742740f567b909e2c 18-Jul-2012 Tadashi G. Takaoka <takaoka@google.com> Change the batch input methods of KeyboardActionListener

This change also removes the reference of SuggestedWords from
GestureTracker and KeyboardActionListener.

Change-Id: I25ef8756007986abf99a931afd665bbfe6fa387f
atinIME.java
5e53542489e94338c45ecd864fc796142a3985b5 16-Jul-2012 Kurt Partridge <kep@google.com> Merge "delete old ResearchLog files"
81dae8d015f63834b2ded44424636b625ece7736 14-Jul-2012 Kurt Partridge <kep@google.com> delete old ResearchLog files

cleans out the local directory of files that may have persisted
accidentally because of system crashes, etc. default lifetime is
curently 1 day.

Bug: 6188932
Change-Id: I4b51169d6dd0eddb6bf8b661165f88e63782ce7d
esearchLogger.java
73c5dbd9d262159af3475273b79babe292c75d76 13-Jul-2012 Kurt Partridge <kep@google.com> researchLog records versionCode, versionName

Bug: 6188932
Change-Id: I3d8502a5397035be5287ea720599e3fda4c669d6
esearchLogger.java
eea34598bf63f670f47d7b3f37b6436921e5fe02 12-Jun-2012 Tom Ouyang <ouyang@google.com> Merging minimal gesture input

Change-Id: Iee6ae48bb6309c2867b5d2e344fe7d86dfabd654
atinIME.java
uggest.java
ordComposer.java
e9808694fecbf7be776cd5cf8ec0333e158286b1 13-Jul-2012 Jean Chalard <jchalard@google.com> Fix a bug where the word composer is not correctly reset

...upon commit

Change-Id: I1fea87cb4c133a0884329eb9b61bf3053c36cd1b
ordComposer.java
7247bff6d6d488640ac752127148e7746c43469d 13-Jul-2012 Tadashi G. Takaoka <takaoka@google.com> Fix InputPointers.append

Change-Id: I6995f9b2ed00b9f948e1299e576a5e24725d58f8
nputPointers.java
c7387a4fd065ad6782b0705e56f9556ac9cf127f 12-Jul-2012 Jean Chalard <jchalard@google.com> Add values for suggestion types (A120)

Also, use it in getBigrams.

Change-Id: Ia0be9b57d1b7effcd8a936e01e957d1195b39c68
uggestedWords.java
6931df9c17aaeb04288f937cabf956c1b9eb0cc9 11-Jul-2012 Jean Chalard <jchalard@google.com> Pass an array to output suggestion types (A119a)

This needs the matching A119b change to not break the build.
The array is passed, but not used yet.

Bug: 6166228
Change-Id: Ia91d658461d989ee8c94e9b31bb06f4a36f4c5b6
inaryDictionary.java
2c5cf744e554cbe0872f1b3e18cbd1383b0189f9 11-Jul-2012 Jean Chalard <jchalard@google.com> Increase encapsulation (A118)

showSuggestions is only ever called by updateSuggestionsOrPredictions.
It only feels natural that, when called with a 0-sized or null
suggestion list, it clears the suggestions.

Change-Id: I5b52bc9151afca1bb6c6f0a7f81e3255add92177
atinIME.java
1343d27de30c4010c54576d6c8bbb052c7630cbe 11-Jul-2012 Jean Chalard <jchalard@google.com> Readability improvement (A117)

Change-Id: I6f8bb05a23edb40a079da60b7136170ec9043282
uggest.java
24a63b5537ea4872ec10676d147ddccabda6a1f6 11-Jul-2012 Jean Chalard <jchalard@google.com> Simplification (A116)

Change-Id: I97cf92a7b0dabc251dd241b24978ea00d1e5f047
utoCorrection.java
uggest.java
f5b55cb70c9d6012e1aa2b201c4785530afab168 11-Jul-2012 Jean Chalard <jchalard@google.com> Compute variables closer to where they are used (A115)

This improves locality, it's better for readability/performance

Change-Id: Ibb1efaf86e362dd2c9398722d0da2144df96b333
uggest.java
2549b4978e5b0460d0f34a5e4016374ac2198753 11-Jul-2012 Jean Chalard <jchalard@google.com> Cleanup (A114)

Change-Id: I7e24e0aeae7c004cae310ae9f46cf90dac2d4d14
uggest.java
02f1c1534c2060aaea7a9a020ce87f6c5ff5d8e0 11-Jul-2012 Jean Chalard <jchalard@google.com> Cleanup (A113)

If not composing a word, then consideredWord is always the empty
string.
Hence, it's never whitelisted, but it's also always "NotAWord",
so isWhitelistedOrNotAWord returns always true, so
allowsToBeAutoCorrected is always true. Which means that
isPrediction implies allowsToBeAutoCorrected == true.
Thus, !isPrediction && !allowsToBeAutoCorrected is strictly
equivalent to !allowsToBeAutocorrected.

Change-Id: I4ad7a7c3447851c539646d97cf55ff065e6ee115
uggest.java
ae13061245e6a82863416456a461207d871a89ff 11-Jul-2012 Jean Chalard <jchalard@google.com> Simplification (A112)

If we are not composing a word, that isFirstCharCapitalized
and isAllUpperCase are guaranteed to return false.

Change-Id: Ic4a0be9574acf4653c729a9594f963f5bcf0c757
uggest.java
d8afa2fbe13adf9f512fd294056a884a0edb0573 11-Jul-2012 Jean Chalard <jchalard@google.com> Remove the ultimate code duplication (A111)

Change-Id: I7c76613df8f148feb02765f187db3ca6dc577977
uggest.java
3b57631b60c696d407a73e7594f6ab2418932229 11-Jul-2012 Jean Chalard <jchalard@google.com> Resolve a TODO: bury some implementation detail in native (A110)

The fact that prediction does not accept a null argument is an
implementation detail, it should not be visible to Java code.

Change-Id: I3a156b323b6db9353de898d33f3f7c81751cecb1
inaryDictionary.java
uggest.java
18d76afa911f5b236901eed6eba48a801dfdaafa 11-Jul-2012 Jean Chalard <jchalard@google.com> Remove an unused method (A109)

Change-Id: Ib785b7e8c554d030395e2c0ca92edb44eb2b245f
inaryDictionary.java
251f302985bc491f4dd54983e9c69c5dc76cb834 10-Jul-2012 Jean Chalard <jchalard@google.com> Stop using a redundant method (A108)

Change-Id: Iffc0bae0a273419e7c50d69526c0c8e402c6461c
inaryDictionary.java
6a5d17cd2f55cdab01900af8933cb71b97b73a29 11-Jul-2012 Jean Chalard <jchalard@google.com> Remove a useless parameter (A106)

Change-Id: Ic0ecea22212fd1a098a3a168da460374e446f4a3
inaryDictionary.java
b7d7c5a369cef80d4319de8e433501ab25b49615 11-Jul-2012 Jean Chalard <jchalard@google.com> Make a constant really constant (A104)

Change-Id: Ied1f9f96a574b1e6a8ee0a71bfb1604d9c962e1c
inaryDictionary.java
e4e7e5fc82eca67330765510ad0bd29caeb7a1bb 10-Jul-2012 Jean Chalard <jchalard@google.com> Cleanup (A103)

Change-Id: Ib5ebddfdb87ef71a2f8d859fb45d3ac78040e97a
inaryDictionary.java
5e21ea1a3553000529c288acdf6d6a4b165bedc5 11-Jul-2012 Tadashi Takaoka <takaoka@google.com> Revert "Workaround to avoid a bug in the batch input bigram dictionary lookup"

This reverts commit 1250cdeab2da2c7f7d9c732a816dbc36e49fd61a
inaryDictionary.java
1250cdeab2da2c7f7d9c732a816dbc36e49fd61a 11-Jul-2012 Tadashi G. Takaoka <takaoka@google.com> Workaround to avoid a bug in the batch input bigram dictionary lookup

Change-Id: I8a5641c88c45918d6bed81a0b03efdcff0b380c5
inaryDictionary.java
9c09fd02eb98ebb938e8033371c7e0d4c5ce2f52 10-Jul-2012 Jean Chalard <jchalard@google.com> Inline a method to be able to factorize code (A102)

Change-Id: I121071f80c8af3c1053968dc76aaeca3352ca9a8
inaryDictionary.java
d6c610400e910ef2870371439c7d940842a1b73d 10-Jul-2012 Jean Chalard <jchalard@google.com> Inline a wrapper method (A101)

Change-Id: I6ce856ff49a8f8c696851b2487590704010fc758
inaryDictionary.java
eb1443883f0b645459976f2d0471ccbb42ee946e 11-Jul-2012 Tadashi G. Takaoka <takaoka@google.com> Support batch input

Change-Id: Ibe63212fe71cdebb5b897bc5018ae75b2a87555a
inaryDictionary.java
21e5759e8ebab7bdb5c40976df48e16918df6212 11-Jul-2012 Jean Chalard <jchalard@google.com> Merge "Small readability improvement (A100)"
27207eaa046327652f03efd29e5f94e27034f5b7 11-Jul-2012 Jean Chalard <jchalard@google.com> Merge "Pull up some common code again (A99)"
722b00275dbed9910a10daefeaeb0b8390437d43 11-Jul-2012 Jean Chalard <jchalard@google.com> Merge "Pull up some identical code (A98)"
8b166465b0fb07e3271a13c9880c9d0ecb41418d 11-Jul-2012 Jean Chalard <jchalard@google.com> Merge "Inline a method to avoid confusion (A97)"
fd9b485111a37293f8660c0123fd145e3fd988b6 11-Jul-2012 Jean Chalard <jchalard@google.com> Merge "Remove parameters for easier inlining (A96)"
0b329fd0d1f67b7f473e7ecfb5462ebb4ddd5fb8 11-Jul-2012 Jean Chalard <jchalard@google.com> Merge "Pull up some more common code (A95)"
a5acd68caacb223b34f3b86f141c91c21d93c604 11-Jul-2012 Jean Chalard <jchalard@google.com> Merge "Pull up common code in the caller (A94)"
0d54692ce4a2af1a2acb1c4fe4f3492613103d8f 11-Jul-2012 Kurt Partridge <kep@google.com> Merge "intentional logging"
82d5ed6fcda59f27b2016bdf744d4c1372da9d3c 10-Jul-2012 Jean Chalard <jchalard@google.com> Small readability improvement (A100)

Change-Id: I6340748654a95d203ed43ceb9a7e6468b5b8ab1c
inaryDictionary.java
860a9f85ff7f2753b7e1bed2e00f86de8eca68e1 10-Jul-2012 Jean Chalard <jchalard@google.com> Pull up some common code again (A99)

Change-Id: I9e9f5664bb12bb25d74c8a076a6ee1024c708145
inaryDictionary.java
8eaeb60e7fe930b810dbf5826c40dedf3d328e44 10-Jul-2012 Jean Chalard <jchalard@google.com> Pull up some identical code (A98)

Change-Id: I6c265956394cf49e74b0256dfa5af06fe6b30467
inaryDictionary.java
e77f2996ea4eca42fbb46d0ce0a6055233b21c38 10-Jul-2012 Jean Chalard <jchalard@google.com> Inline a method to avoid confusion (A97)

Change-Id: I3c3ffcd3d40493f4bfa0f6596f923b3430e605aa
inaryDictionary.java
cfae32c610e829d88cf618c721e1e3217dd09024 10-Jul-2012 Jean Chalard <jchalard@google.com> Remove parameters for easier inlining (A96)

Change-Id: Ied2e291393609300173681e26e82b7dd36b41bd0
inaryDictionary.java
ea98e026f1ad7732279aec6d06107f46ea0af93d 10-Jul-2012 Jean Chalard <jchalard@google.com> Pull up some more common code (A95)

Change-Id: I3ac7ee823471a6d1da8031e064bce38b0e5a8f5c
inaryDictionary.java
b4b93dbf3e0912ba26c5c34abba7a5b94c74138c 10-Jul-2012 Jean Chalard <jchalard@google.com> Pull up common code in the caller (A94)

Change-Id: I84b97886280eca75d5f2b7546f20f8b1bced55bc
inaryDictionary.java
223d671ffcfe182130742c8a48185b9362acc6f9 29-Jun-2012 Kurt Partridge <kep@google.com> intentional logging

- separate ResearchLog from ResearchLogger
- fix abort menu to explicitly indicate re-enabling of logging
- auto flush entries every 5s
- conform to new suggestedWords class

multi-project change with I9fe1f8fe59d5891daa4ca84af157f36fb1bb17dc

Bug: 6188932

Change-Id: I7e99390f934481c6ed9cea2b259944583edda5bb
atinIME.java
esearchLog.java
esearchLogger.java
6f233f7ba1ee924844154515dda208bb9b34acb5 10-Jul-2012 Jean Chalard <jchalard@google.com> Remove useless member variables (A93)

Change-Id: Iff0a0e8835f4d630b51a15c0d91881437094e785
inaryDictionary.java
2ae75ed56be5d08979d832cf3ddec16dc61e8dcf 10-Jul-2012 Jean Chalard <jchalard@google.com> Start converging two identical methods (A92)

Change-Id: I3c85a80610fde664a328f5606d0724f00d445ebe
inaryDictionary.java
d82dcdc9246b340c4b355e34efc6079f3278efa6 10-Jul-2012 Tadashi G. Takaoka <takaoka@google.com> Add batch input dictionary lookup

Change-Id: I4da3c976838e8eb56c9ec80aafaaf54d759b7981
inaryDictionary.java
uggest.java
ordComposer.java
5e573a1f0a63c017c7b0e4c4314235bd87c9363c 10-Jul-2012 Jean Chalard <jchalard@google.com> Remove a useless parameter (A91A)

Change-Id: I1d1758048649ef337875a5141d825569af7ad38c
atinIME.java
uggest.java
f5943153ad2ba611feec916119dca2343a1ef6de 09-Jul-2012 Jean Chalard <jchalard@google.com> Cleanup old methods (A90)

Change-Id: I5435cef8ac6be523934ffa394952cb120c8e89d6
inaryDictionary.java
ictionary.java
ictionaryCollection.java
xpandableBinaryDictionary.java
xpandableDictionary.java
ynchronouslyLoadedContactsBinaryDictionary.java
ynchronouslyLoadedUserBinaryDictionary.java
serHistoryDictionary.java
hitelistDictionary.java
b30d2185f24e3d531f5d46249e7c97391705e469 09-Jul-2012 Jean Chalard <jchalard@google.com> Implement the common Dictionary interface (A89)

This will de-duplicate a lot of existing code.

Change-Id: Idaffb2fde23b9741f057bcb2ecb3dde9d12ea5c5
inaryDictionary.java
ictionary.java
ictionaryCollection.java
xpandableBinaryDictionary.java
xpandableDictionary.java
a69f12a246b6c047faf7002a57b1cebc3721d731 09-Jul-2012 Jean Chalard <jchalard@google.com> Reduce method visibility (A88)

Change-Id: I29d6afbcba0998558c9b19287a460d9f0e410994
inaryDictionary.java
ictionary.java
ictionaryCollection.java
xpandableBinaryDictionary.java
xpandableDictionary.java
ynchronouslyLoadedContactsBinaryDictionary.java
ynchronouslyLoadedUserBinaryDictionary.java
serHistoryDictionary.java
hitelistDictionary.java
0f57bdc0e5d1ecebc00bff36d5ce544f343b5589 09-Jul-2012 Jean Chalard <jchalard@google.com> Factorize code (A87)

Why was this copy-pasted :(

Change-Id: I6a537c56425ad039d7301a5fe1e0485784f07914
xpandableDictionary.java
4e42e378fa41cfacf2c393a9428d75f6c6a0d7a8 09-Jul-2012 Jean Chalard <jchalard@google.com> Move stuff around for readability (A86)

Change-Id: I5f4a18e43f3012acf96978d625325bf7c69c9c80
xpandableDictionary.java
82009901eaa1fd0da95b25c900f8ff12fda9e679 09-Jul-2012 Jean Chalard <jchalard@google.com> Add a consolidated method to the Dictionary interface (A85)

Change-Id: I5d79021e69cc738e3013e31764ab0a59e15decdf
ictionary.java
uggest.java
pellcheck/AndroidWordLevelSpellCheckerSession.java
2a37fb9d30848aee42757546e8478cb7a9e45bc6 10-Jul-2012 Jean Chalard <jchalard@google.com> Refresh the cached single quotes count on commit

Change-Id: I9df5cf95c14da2e11ac709ca5e32dc7db3b02c37
ordComposer.java
a9632d8173eaee56985a7d40d5f035778276eef3 10-Jul-2012 Jean Chalard <jchalard@google.com> Merge "Enhance behavior consistency (A84)"
184c5529174ac8e466f5f206267c88044598be79 10-Jul-2012 Jean Chalard <jchalard@google.com> Merge "Refactoring for whitelist (A83)"
b53e96813c971910327db86b3df5ef241c1efa28 10-Jul-2012 Jean Chalard <jchalard@google.com> Merge "Refactoring (A82)"
50d1b7902f8a8115a542a27b5f1141d6d9193273 10-Jul-2012 Jean Chalard <jchalard@google.com> Merge "Fix a bug with suggestion behavior (A81)"
a4d346c37a85cafbf4db0007765ba154ed78b84f 10-Jul-2012 Jean Chalard <jchalard@google.com> Merge "Cleanup visibility in LatinIME (A80)"
c677b0071d51a277413079b30f2215605637aa6b 09-Jul-2012 Jean Chalard <jchalard@google.com> Enhance behavior consistency (A84)

Use the word the same way for suggestion and prediction. It makes
little logical sense that the trailing single quotes be removed
for suggestion lookup but not for prediction lookup.

Change-Id: I0de4b5f7c5b4c1b4ba1817ff9653d7c03967146d
uggest.java
1c6693a219d546816d70fd092f887b73a8041ea3 09-Jul-2012 Jean Chalard <jchalard@google.com> Refactoring for whitelist (A83)

Avoid special casing the whitelist dictionary by having it implement
the interface it pretends it implements

Change-Id: I8b873cb0f3fe13cefd32c8cb756a25c8ae16a2b4
uggest.java
hitelistDictionary.java
fb6eeeb35ad593926da9b7dc57335f0ba591570c 09-Jul-2012 Jean Chalard <jchalard@google.com> Refactoring (A82)

The user history dictionary should be the one knowing it does not suggest words
beyond 2 characters, not Suggest.

Change-Id: Ie85ec6116eb495e0c7f51108e4620c5ae536f4bf
uggest.java
serHistoryDictionary.java
966efe48891cbdd364d94f1e72fa0435ab8f2b77 09-Jul-2012 Jean Chalard <jchalard@google.com> Fix a bug with suggestion behavior (A81)

Bug: 6788235
Change-Id: I5a4212872e0fd3f9e80168fd3abd5c2b3bc4110f
uggest.java
a5bb353de92a6a6d010ba1695b9dd22b3a617b77 08-Jul-2012 Jean Chalard <jchalard@google.com> Cleanup visibility in LatinIME (A80)

Many methods were public but could have been private: change them
to private. Also, add a comment above public methods that don't
come from the IMF to make it clearer why they are necessary.

Change-Id: I574154b015d09c0f8542b81763f497691afdc3c1
atinIME.java
7fcad7b9b614f43ea974d1bff84b609838ef1f75 10-Jul-2012 Satoshi Kataoka <satok@google.com> Separate ICS-dependent code from the spell checker service

Bug: 6789576
Change-Id: Ia768258f6fa121c7a7757093eb8a20e665580865
pellcheck/AndroidSpellCheckerSession.java
pellcheck/AndroidWordLevelSpellCheckerSession.java
b98414f8fd80db409cc0021ebea0e1492846d7a4 10-Jul-2012 Jean Chalard <jchalard@google.com> Merge "Remove useless code (A79)"
29540b25f060b92f4fbb3b273c9ef7bb5da5ee8e 10-Jul-2012 Jean Chalard <jchalard@google.com> Merge "Simplification (A78)"
728c0cb251b4a7b7d6d048efc1b0e8cec5ace9e5 06-Jul-2012 Jean Chalard <jchalard@google.com> Remove useless code (A79)

We postUpdateSuggestionStrip right away anyway - this only
makes the suggestion strip blink

Change-Id: I2ebd933e9a4c804ef1e8c62ccdaf4953a98a792e
atinIME.java
09fdd30e5261990ace636c52a8330d4c5dbb364b 06-Jul-2012 Jean Chalard <jchalard@google.com> Simplification (A78)

Change-Id: I622503af858ef419e94a17f182253cb03da00462
atinIME.java
74620f449ef73eb929f926778a32a595796d0622 10-Jul-2012 Satoshi Kataoka <satok@google.com> Merge "Create AndroidSpellCheckerSessionFactory"
37b19ffe6c9d8335cc0e1c1c50f5b08c778b287c 10-Jul-2012 Satoshi Kataoka <satok@google.com> Create AndroidSpellCheckerSessionFactory

Bug: 6789576
Change-Id: I6de1e1aa64cf14f38ecb250579418bc518f0d838
pellcheck/AndroidSpellCheckerService.java
pellcheck/AndroidSpellCheckerSession.java
pellcheck/AndroidSpellCheckerSessionFactory.java
759778a751662df55086a3d4e7ee8a98ad656d36 10-Jul-2012 Satoshi Kataoka <satok@google.com> Merge "Separate SpellCheckerSession from SpellCheckerService"
84ed0966417d93b07c4da2b295244b160d223ce9 10-Jul-2012 Satoshi Kataoka <satok@google.com> Separate SpellCheckerSession from SpellCheckerService

Bug: 6789576
Change-Id: I7c55d36afad7ef6046353b3c9e849a54a6dc83ae
pellcheck/AndroidSpellCheckerService.java
pellcheck/AndroidSpellCheckerSession.java
fed702a0ad42dc4f8376057187a834c2493e5bd9 10-Jul-2012 Jean Chalard <jchalard@google.com> Merge "Move a test (A77)"
75e605f7ca723dc215ac7946234af6bc29b83d27 10-Jul-2012 Jean Chalard <jchalard@google.com> Merge "Pull up common code in the consolidated method (A76)"
c466cd3f9902ef999573a3d07a125f08a8908c5a 06-Jul-2012 Jean Chalard <jchalard@google.com> Move a test (A77)

Change-Id: I417bd5f1318696aaa39fee18f3e750ea5c231f6b
atinIME.java
32f5384fc955f1e9fa8613ca86081f1bf4ccc421 06-Jul-2012 Jean Chalard <jchalard@google.com> Pull up common code in the consolidated method (A76)

Change-Id: I3ebecec37b49e139c243cf9da8bfe491e7ddada1
atinIME.java
80973dc76f7870ab69958434512c7f2f5e4bd3b0 10-Jul-2012 Tadashi G. Takaoka <takaoka@google.com> Merge "A little optimization of InputPointers.copy"
2ad6d12a30cc9f8189936431651dc543db726cfe 10-Jul-2012 Tadashi G. Takaoka <takaoka@google.com> A little optimization of InputPointers.copy

Change-Id: Id83b34e076ef91e06d7c1dd2b3ee7bb64d01b8cb
nputPointers.java
24e8a06f98b1f566332fff3fe804dc5b1401a05e 10-Jul-2012 Jean Chalard <jchalard@google.com> am 949d2ae5: am 4bcf70c9: Fix a bad interaction with mmap

* commit '949d2ae5788977c5e87e35e1bd1770f54ac88f5b':
Fix a bad interaction with mmap
7389c601e34dc96807aa1c3c0fef30b77198ca58 09-Jul-2012 Tadashi G. Takaoka <takaoka@google.com> Merge "Add InputPointers.append() method"
1087c53f5a6ced093eb4e71f88cff19e89819d73 09-Jul-2012 Tadashi G. Takaoka <takaoka@google.com> Add InputPointers.append() method

Change-Id: Id2b0e242f7e9ce0ca888067857f8b64c02fde84e
nputPointers.java
e4498929b070cdd673c69450e316e2932e334fd5 06-Jul-2012 Jean Chalard <jchalard@google.com> Simple refactoring (A75)

Change-Id: Id19efc5d279616da52667fa70326b86aba70d4a0
atinIME.java
d579f1aefc8d02254db297ffd6d8f9dbdcab0637 05-Jul-2012 Jean Chalard <jchalard@google.com> Consolidate methods that do the same thing (A74)

Change-Id: I6e7c3aba2b40ecefa483c9680978bc806368e96e
atinIME.java
ichInputConnection.java
347a80f793c2b3e132b48d87918e331352b142f4 05-Jul-2012 Jean Chalard <jchalard@google.com> Tiny refactoring (A73)

If !mWordComposer.isComposingWord(), then mWordComposer.getTypedWord()
will always return an empty string.

Change-Id: Ife66d0abc44c743cbc30d31724e833cda168fd5c
atinIME.java
7a422a0142a025a66078fb9971bf15f8b9c89f38 05-Jul-2012 Jean Chalard <jchalard@google.com> Cleanup again (A72)

Change-Id: Id3765bf9826cc2c7ca70158cda53c75dc58f51c6
atinIME.java
37eaa24b5a48f5c80bb9ee0fdea477559a2bed1b 05-Jul-2012 Jean Chalard <jchalard@google.com> Simplification (A71)

Change-Id: I7a91d84291bea581ecc8ec5b29b9a87ccec76e7d
atinIME.java
dc1b84d96cf7fc4ee21cf7df8a12bc7913ffd64e 05-Jul-2012 Jean Chalard <jchalard@google.com> Defer testing composition to a later time (A70)

This is not exactly the same logically speaking, because it's
theoretically possible that the composing state changed in between
the message enqueueing and it's retrieval. However in the practice,
if the composing state changed the message *must* have been
cancelled and resent, else the behavior breaks. So this actually
is more robust, and removes some obscure requirements on the
calling code.

In the practice, it should also make the cancelUpdateSuggestionStrip
message useless, although this change does not yet remove it.

Change-Id: I75141920ce64e38e2f92e9c02b6c979936eee9a9
atinIME.java
a6757f400a7a1acc66b2c64f4aa84137dd4395cd 06-Jul-2012 Jean Chalard <jchalard@google.com> Code simplification (A69)

Change-Id: I2a77e437795fbbea47fd2e604ee6c26f8d0e458a
atinIME.java
8f9c9377fc8944c9e96e6dcf661f0d673c23b83f 06-Jul-2012 Jean Chalard <jchalard@google.com> Consolidate two methods (A68)

Change-Id: I4b91414190b3786065ebd962a76299b605e5797e
atinIME.java
146bd2e456befc2132e10e0c6cf3eb19ed70051a 05-Jul-2012 Jean Chalard <jchalard@google.com> Pass the value we really want to pass to update functions (A67)

Change-Id: Ica9b875d119dea2f8dc237fd63e5b4eaa5e1c400
atinIME.java
60dbe0be43ce8d8e1254c9c80d9fc012c0c28bdf 05-Jul-2012 Jean Chalard <jchalard@google.com> Preparative change to pass a boolean with known value (A66)

Change-Id: Iff03fe7c4a8eec17c00a2fe99197e0cf21a0630a
atinIME.java
853f4221ab573f085f629bb297b39a9f257362bd 09-Jul-2012 Jean Chalard <jchalard@google.com> Merge "Remove useless processing (A65)"
6b4ce58fc6216b9befd0567b56522ee32f2471a2 06-Jul-2012 Tadashi G. Takaoka <takaoka@google.com> Remove unused WordComposer.init method

Change-Id: I46c6a6e1c1536599cb909bf81297001b238f2ec8
ordComposer.java
36311cacd68865f9705d8c62c24f7b007688b33b 06-Jul-2012 Tadashi G. Takaoka <takaoka@google.com> Merge "Extend onTextInput to be able to inject suggestions"
4be03befe3cf771a33448367f50c517dc01ced21 04-Jul-2012 Tadashi G. Takaoka <takaoka@google.com> Extend onTextInput to be able to inject suggestions

Change-Id: I1061da0edfdb05c64c5711717d4ef9fa9681e568
atinIME.java
a3dee0d06279054a1f18643e15bff94c74fdcfa0 06-Jul-2012 Jean Chalard <jchalard@google.com> Merge "Fix a bug where spaces would be forgotten"
4fde56b8182514bcae64d76488724d2a64a73f14 06-Jul-2012 Jean Chalard <jchalard@google.com> Fix a bug where spaces would be forgotten

Bug: 6785706
Change-Id: Ic7bf242ef058d116b986d47ad197b6d2802e2342
atinIME.java
8e36e5102e9ac294a0e64ca14920d38ba19e6eb3 05-Jul-2012 Jean Chalard <jchalard@google.com> Remove useless processing (A65)

We just resetted the composing state - updating suggestions
is sure to yield no results. We may as well not call
updateSuggestions at all.
We should however still cancel any lingering timer from a
previous input field, to avoid this useless processing.

Change-Id: Ic1a19d577903d792bb797c837cc517ea8d430e75
atinIME.java
449be371aee91594bc6ee09479af0cc20bcfcea9 05-Jul-2012 Jean Chalard <jchalard@google.com> Refinement (A64)

Change-Id: I7c16e28ffce4fe0965b756bf2b00ee63b77dd039
atinIME.java
43193ad60f623a00c2ba2eb4c666353418979923 05-Jul-2012 Jean Chalard <jchalard@google.com> Remove useless code (A63)

If the separator is not a space, then we will always call
setPunctuationSuggestions and reset the suggestion strip anyway.
If the separator is a space, then the cursor has a space on
the left, which means isCursorTouchingWord depends only on
whether it touches a word on the right. If we were displaying
the "add to dictionary hint", it means a suggestion was just
chosen, so it had to be displayed, and that requires a composing
word and no non-separator at the right of the cursor.

In the end, if we go through this postUpdateSuggestions call,
we are sure we will reset the suggestions later in this method,
either by calling postUpdateBigramPredictions, or
setPunctuationSuggestions.

Change-Id: I95d5f77a5d0ac6d1a6ced8d67d6ac8f650db4a32
atinIME.java
8ba33c1a494db5ef3cce17754f4d6981532074a0 05-Jul-2012 Jean Chalard <jchalard@google.com> Simplification (A62)

Change-Id: I606270a0387787445b7cd6b94e4830bfc144b49e
atinIME.java
66a2e96fb442f6517beace6670dc956acd16da38 05-Jul-2012 Jean Chalard <jchalard@google.com> Remove useless code (A61)

Just after this, clear() will be called, removing the suggestion
strip from the screen. It will later be displayed again through
onStartInputView, which will update its content.

Change-Id: I15c23ad2adecab76b0791d7fc222d15b6533f3bd
atinIME.java
b1dc8ad5f244337f91fcdac2a17078f5b9239cb7 04-Jul-2012 Jean Chalard <jchalard@google.com> Simplification (A60)

Change-Id: I99e912d3edfc7dd3f17ee835331d5fcba976750c
atinIME.java
663dbfd1cc0c88fe65dd56946cbbbade455da9ac 04-Jul-2012 Jean Chalard <jchalard@google.com> Simplification & UI improvement (A59)

The responsivity is better like this. This does not seem to
feel slow as the previous comment seemed to indicate.

Also remove a stale comment.

Change-Id: I4e7bf9fe28716e112db182e44b3fa88ee4526bb4
atinIME.java
746e014eb54f0d6278b948868dff4863bfe85ad8 04-Jul-2012 Jean Chalard <jchalard@google.com> Show predictions in the right cases (A58)

After reverting an auto-correct we always have a separator after
the previously inserted word, and the cursor is never touching
a word. Showing predictions is the right thing to do, while
calling postUpdateSuggestions will invariably yield an invariably
blank suggestion strip, which is not very helpful.

Likewise, after we pick a suggestion, we should be showing the
predictions unless showing the addToDictionary hint. There was
a bug here in the corner case that the word would be a candidate
for user dictionary, but the user dictionary provider is not
available: in this case we should be showing predictions, but
we were showing an unhelpful empty suggestion bar.

Change-Id: I287bb5eb4af762bd5a433e85e185fab6d203e91a
atinIME.java
0e9e7e337defe97d4ede8c59d0e925f5401f9292 05-Jul-2012 Jean Chalard <jchalard@google.com> Cleanup (A57)

We stopped cancelling manual picks a few weeks ago. This code
is dead.

Change-Id: I4032fcc3c95e9379f1839fe860a1b8a9bd7d0bc7
astComposedWord.java
atinIME.java
29eeef75ec6987f7cd82c70ba162376b77e4fde5 06-Jul-2012 Jean Chalard <jchalard@google.com> Merge "Fix a bug where the caps mode would not be changed"
f254e3fec7744dc1eb2cc09ac157986c3b2b5408 04-Jul-2012 Jean Chalard <jchalard@google.com> Fix a bug where the caps mode would not be changed

Bug: 6766059
Change-Id: I378f9d35c4904c4f373260bda5863235d833eb31
atinIME.java
ichInputConnection.java
d81e7d24d384a2bb1aeda65d9b423e4b1d23f185 05-Jul-2012 Jean Chalard <jchalard@google.com> Simplification (A56)

If suggestion and prediction messages both happen to be in
the queue, the latest one will win (update the suggestion strip
later than the other, overwriting any previous suggestions).
So when we enqueue either one, it is always safe to cancel
all messages of both types.

Change-Id: Iad9dd06d08c49f60cac16b88edcc9531a18ec02e
atinIME.java
414f14436e4fa6a8a8bb888d20b50a4d82e9e34c 05-Jul-2012 Jean Chalard <jchalard@google.com> Remove an unused method (A55)

Change-Id: I9974b88923b85cd6bec74f7607067c660f36f040
atinIME.java
esearchLogger.java
c84f178cd9b3c3c2d49b7957cb1aab6ea026f3e4 05-Jul-2012 Jean Chalard <jchalard@google.com> Merge "Remove a useless method, rename another. (A54)"
92d2f7e03b9fb0487c64cb3b7b958768066640f6 05-Jul-2012 Tadashi G. Takaoka <takaoka@google.com> Merge "Initialize SubtypeLocale from Settings"
792e7ddc2493f700852f8a37dd81cdb0157c136b 05-Jul-2012 Jean Chalard <jchalard@google.com> Merge "Remove a redundant test (A53)"
9636735c0a082d4b23a9ffbd39bd86ed1f6f023c 05-Jul-2012 Jean Chalard <jchalard@google.com> Merge "Small simplification (A52)"
21524c755c97f93f451bbdf4106bf2906aa31ea9 05-Jul-2012 Jean Chalard <jchalard@google.com> Merge "Put some more code in common (A51)"
71d7fc91b70085c0857dee2b8165e0f4d17e9d62 05-Jul-2012 Jean Chalard <jchalard@google.com> Merge "Pull up a common variable into the wrapping method (A50)"
ac3ad6ef9f78eae844b47bd12e313966e522096c 05-Jul-2012 Jean Chalard <jchalard@google.com> Merge "Factorize some common code (A49)"
d6ac0443f0250281872fd889c81d8cbd71e72736 04-Jul-2012 Tadashi G. Takaoka <takaoka@google.com> Initialize SubtypeLocale from Settings

Bug: 6781106
Change-Id: I22f04af4fabf93346ab6f72c1841f096afaccb96
ettings.java
ubtypeLocale.java
15d35321702a3ef308d7804f5cd16494feeb3ae7 05-Jul-2012 Tadashi G. Takaoka <takaoka@google.com> Merge "Fix tab key's navigation behavior"
3d8e7a62fc6182c12ca28c29ceeee52ed4b9eea7 05-Jul-2012 Jean Chalard <jchalard@google.com> Remove a useless method, rename another. (A54)

Change-Id: If36b5375b04f68deeb72bcece3cb8d37aed57f59
atinIME.java
uggestions/SuggestionsView.java
078336603617f6c9cc4f917eb81c299a8cf8ab11 05-Jul-2012 Jean Chalard <jchalard@google.com> Remove a redundant test (A53)

Change-Id: If711074fdcb586e35d02e421c845f2c9024ca718
atinIME.java
4cba560dbbd8696673642d1a10d2d433418e54e2 29-Jun-2012 Jean Chalard <jchalard@google.com> Small simplification (A52)

Change-Id: I56bc5b9b584de5a14b41fc32c19f7fefb3b12e88
atinIME.java
ea80794dd43d44fe53884b4b8f4567af3d0e8331 29-Jun-2012 Jean Chalard <jchalard@google.com> Put some more code in common (A51)

Change-Id: If1589e29728df20713c75e08df7f47f0de9202d4
atinIME.java
cbfd2e1fdb83a2fc315b5b6351221f3d65afe25a 29-Jun-2012 Jean Chalard <jchalard@google.com> Pull up a common variable into the wrapping method (A50)

Change-Id: I0b62098308169b5c44ced25ffb902766e3732fbf
atinIME.java
7ed22f1f72dfa14b13ad6775617fd9e89f0ca224 29-Jun-2012 Jean Chalard <jchalard@google.com> Factorize some common code (A49)

Also add some comment to clarify what's happening inside those
methods

Change-Id: I5b9b1e105b3145f0b050f35d12c5b6ca6e4a4d8c
atinIME.java
b28934adac63504010f20e94e3dc8d0035cc5b9c 05-Jul-2012 Tadashi G. Takaoka <takaoka@google.com> Fix tab key's navigation behavior

Bug: 6435484
Change-Id: Iffe459c117ad438e96ec6f5c7e64fb80b32d227e
nputAttributes.java
atinIME.java
ettingsValues.java
e47c728dd517a150fe19340aebcfbd170f61f9f9 29-Jun-2012 Jean Chalard <jchalard@google.com> Add a wrapper to updateSuggestions / Predictions (A48)

The goal is to have those converge, as they contain almost 100%
duplicated code.

Change-Id: I6921791d47efce9fb396efd9626839d706664a91
atinIME.java
7b40c682778a544cf61b211e74b74961ff6e1206 29-Jun-2012 Jean Chalard <jchalard@google.com> Refactoring which will help with future changes (A47)

Change-Id: Ibc2d28f9f95966f77d4d7bdf9ae4688baaed5989
atinIME.java
e9a86e2cdb58dd8d5601138294521e966d164520 28-Jun-2012 Jean Chalard <jchalard@google.com> Search bigrams for the lower case version of the word (A46)

...if there aren't any for the exact case version.

Bug: 6752830
Change-Id: I2737148b01ba04a64febe009ceb2ef53c265d224
uggest.java
serHistoryDictionaryBigramList.java
4bcf70c93106f17e3119fcb4c7ec9eaff6d54e4c 04-Jul-2012 Jean Chalard <jchalard@google.com> Fix a bad interaction with mmap

Bug: 6761221
Change-Id: I7e6d98dc9d7cb34a6163c3957e401ff97abb975c
inaryDictionaryFileDumper.java
ac3bd96192e12cbd4c943382d3bf74e266ac1764 04-Jul-2012 Tadashi G. Takaoka <takaoka@google.com> Merge "Remove WordComposer.add(int, int, int, KeyDetector) method"
5c641a9f59735f0eaa772bde027993275b1bdfd7 04-Jul-2012 Tadashi G. Takaoka <takaoka@google.com> Remove WordComposer.add(int, int, int, KeyDetector) method

Change-Id: Ie6af46acba18a2d1cf3ddd1578d60ded4c90f89a
atinIME.java
ordComposer.java
pellcheck/AndroidSpellCheckerService.java
5c98206dc5e85860b2bf42f0cf042db08bc50b9b 04-Jul-2012 Tadashi G. Takaoka <takaoka@google.com> Merge "Use Keyboard.getKey"
adc80eef1533189ca2f3bcb08126d4db3f5bfbbd 04-Jul-2012 Tadashi G. Takaoka <takaoka@google.com> Use Keyboard.getKey

Change-Id: I722b9e981389f660db928b7fd5ced1b82371fbf3
ordComposer.java
040aa28ed4aba2ca2e53694e7186b92afe5a5477 04-Jul-2012 Tadashi G. Takaoka <takaoka@google.com> Merge "Get rid of redundant CharSequence member from SuggestedWordInfo"
f3897fb54e4e587f7d32514bebb2227c2c233f0f 04-Jul-2012 Tadashi G. Takaoka <takaoka@google.com> Get rid of redundant CharSequence member from SuggestedWordInfo

Change-Id: Ie8792f4f5d3593c25c992fc72cf219daeaa70beb
uggestedWords.java
c5e911c06b2ab21d3fd2026a307727dccdca911c 28-Jun-2012 Jean Chalard <jchalard@google.com> Consolidate a method inside another (A45)

It's simpler to check the safety net directly inside the
function that checks for auto-correction threshold.

This introduces one very slight change in behavior. The value
checked by the safety net is not any more the "typed word" but the
"considered word", the difference being any possibly appended
single quotes.
E.g. the user types "this'''" : the typed word is "this'''" but
the considered word is "this".
This change in behavior can be considered a bugfix.

Change-Id: Ia7ab4bc933183dfbd41bb00328e4c0b5ab76bc63
utoCorrection.java
uggest.java
f72b8f5662afb42b08eb88e92731d52f99df13e3 28-Jun-2012 Jean Chalard <jchalard@google.com> Move the safety net function to AutoCorrection (A44)

Change-Id: Iec791d061f237f60992dd6048c4a37b46f4cb9aa
utoCorrection.java
uggest.java
uggestions/SuggestionsView.java
accd63f35f629891a864686721647a5dcedec130 04-Jul-2012 Jean Chalard <jchalard@google.com> Merge "Refactoring (A43)"
b87b23eb754453093288e1198f9b3f85dcdfa83a 03-Jul-2012 Jean Chalard <jchalard@google.com> Merge "Remove useless code (A42)"
6547f43666899d21de0260cb121acd513f8883a7 03-Jul-2012 Jean Chalard <jchalard@google.com> Merge "Clarify some code and fix a bug (A41)"
d6496c091392481850c7d0103b19bc9619459d08 02-Jul-2012 Jean Chalard <jchalard@google.com> Merge "Fix a bug with the user dictionary locale."
d113fd0be47f89b796990f1e71a756f5ceedcfad 02-Jul-2012 Jean Chalard <jchalard@google.com> Fix a bug with the user dictionary locale.

We internally use the string "zz" to mean no locale, but
the user dictionary service does not understand that and
words added with this locale pitifully end being added to
a "zz" user dictionary, which makes no sense to the user.
This change fixes things so that words added when the
keyboard is in a "no locale" layout, the words are added
to the global, all-locales user dictionary.

Bug: 6645306
Change-Id: Iec3cdd1fe3d5bc43427a43ef9ae9bf89e12be1f2
serBinaryDictionary.java
4ca05e24747896348ea1d4431fa0cd442552f33e 28-Jun-2012 Jean Chalard <jchalard@google.com> Refactoring (A43)

Change-Id: Ib0b6f36999518096819ada2f19365767cb5f9931
uggest.java
7ad088a4cf5593a2c72e143f10ba2e7ffed8bb09 28-Jun-2012 Jean Chalard <jchalard@google.com> Remove useless code (A42)

If allowsAutoCorrected is false, there is no point in making
hasAutoCorrection true, since in the only place where we use
it again, it's &&'ed with allowsAutoCorrected !

Well that was extremely obscure, good thing refactoring allowed
to realize this was useless >.>

Change-Id: I34936d445f1ced17c7bd04a9524bf608f9e8b9c8
uggest.java
90d300c770b1697af5b715e55fa87d97e22588d2 28-Jun-2012 Jean Chalard <jchalard@google.com> Clarify some code and fix a bug (A41)

The test against hasMainDictionary is a test to know if we should
auto-correct or not. Its result should be recorded in
hasAutoCorrection, not in allowsToBeAutoCorrected.

Actually, this value being inserted in allowsToBeAutoCorrected was
causing a bug that nobody noticed: when typing in a language with
no dictionary, the word in the middle of the suggestion strip would
always be bold, as if it was going to auto-correct to itself !
This change fixes this bug.

Change-Id: Ia1f08efd7089b9c5cbede910c5b0951d83e698d2
uggest.java
2631e3b1954eb0f9ddd637f8ad89fd0eff495c77 28-Jun-2012 Jean Chalard <jchalard@google.com> Small refactoring (A39)

Change-Id: I3c45b5a6571f986acc7adb3a8fe17b210303f7ea
uggest.java
79f531784818115241c660f71f25cbba520d566c 28-Jun-2012 Jean Chalard <jchalard@google.com> Match calls for future consolidation (A38)

Change-Id: I2b2ab99e801fa8b4b30eab16a8aefb8cfe104ba9
uggest.java
cd288620ea92580152afe4a6cfe20622a2aeba41 28-Jun-2012 Jean Chalard <jchalard@google.com> Make the autocorrection scheme more straightforward (A37)

Change-Id: I4833ca7e057b8c1f1f22390673cbca0d2433b1bd
uggest.java
uggestedWords.java
aba432bf8d27cb9709f0410ca8ca234c6065567a 28-Jun-2012 Jean Chalard <jchalard@google.com> Remove a duplicate method (A36)

Bug: 6705473
Change-Id: Ib6260034b09739b60071e90a018b2dc6be3815d7
atinIME.java
uggestedWords.java
84074cf503f67737bcfd335a775553763bd8e033 28-Jun-2012 Jean Chalard <jchalard@google.com> Update log and make a variable private (A35).

Change-Id: Ib4a8f41dc5941bce46402e1a41a6c21dccb0601f
esearchLogger.java
uggestedWords.java
1842fbba93ed810468d24818f1350845d7d06a3c 28-Jun-2012 Jean Chalard <jchalard@google.com> Remove old debug code that has been long broken (A34)

Change-Id: I9b5a0e34529724984aad1e2bf99b3e00f8ed0dd7
uggestions/SuggestionsView.java
105069a15ff0d2ca9efdc7125a46d29b69c44e9a 29-Jun-2012 Satoshi Kataoka <satok@google.com> Merge "Add input pointers"
71538b08e4e08d556f700ad344562ca2c7b74d82 29-Jun-2012 Satoshi Kataoka <satok@google.com> Add input pointers

Change-Id: I95300bf0a847fb86d026e846ff4ad723bb45284f
inaryDictionary.java
xpandableDictionary.java
nputPointers.java
astComposedWord.java
ordComposer.java
1b2e2d893d45ba394a2aff419d8212d9f59eba87 28-Jun-2012 Jean Chalard <jchalard@google.com> Add a more synthetic variable (A33)

The goal here is to disambiguate TypedWordValid and
HasAutoCorrectionCandidate. Ultimately, HasAutoCorrectionCandidate
will disappear.

Bug: 6705473
Change-Id: I1acbd0a5efc7f4bf7b0bdb12839fe3d84e9d1dda
uggestedWords.java
9011b89f4ea0d73f1ad78b2dd0a6557b950fddd9 28-Jun-2012 Jean Chalard <jchalard@google.com> Remove cruft (A32)

Change-Id: I35c2ba4caf6be4ba0449e11c0597ae8e468c0e6e
uggest.java
2cda148fd5aa047dca6dfd5d78db548a7a8e2bc0 28-Jun-2012 Jean Chalard <jchalard@google.com> Simplification (A31)

Change-Id: I9e4d030974ccec1a6256de6ca87610870e404149
uggest.java
deb2d88245ddfda6b8012c9a3a5d95246233fbae 28-Jun-2012 Jean Chalard <jchalard@google.com> Small refactoring (A30)

Change-Id: I41b413986a3c5bb6697bb7bbced17ed1e361913c
uggest.java
0a63111821b9377bf37d18f26a9e09618bec128d 28-Jun-2012 Jean Chalard <jchalard@google.com> Remove a useless parameter (A29)

Change-Id: I52625e707abf61da9b95e542f0814c66b532f483
atinIME.java
ettingsValues.java
uggest.java
uggestedWords.java
4f444410f29315d7c7baf9d4e33acf912d0fa876 28-Jun-2012 Jean Chalard <jchalard@google.com> Remove a useless variable (A28)

Change-Id: I1058123d233540fb72a94028987a43740224f635
esearchLogger.java
uggestedWords.java
f4267c052160d8865399a758ce9d60916ed783ec 28-Jun-2012 Jean Chalard <jchalard@google.com> Fix a small bug (A27)

TypedWordValid and AllowsToBeAutoCorrected are almost the
same thing; the difference is whether the word is also a
whitelist entry or not. In this case, TypedWordValid was
the right one to test.

Change-Id: I695fe5b9f6bbe9d3ba314c646da3a25742c9f4ed
atinIME.java
9e0af5773649140b5cf3f70c6def207c5a06627c 28-Jun-2012 Jean Chalard <jchalard@google.com> Optimization (A26)

Change-Id: I1d7790289635729645995fb8c38868259ab1b3be
uggest.java
7a94cbd2a488d2ff3a4c0b6a4e846d9380600d2e 28-Jun-2012 Jean Chalard <jchalard@google.com> Remove useless code (A25)

isWhitelistedOrNotAWord takes an 'ignoreCase' argument. By looking
at the contents of the wordcomposer here, there is only one case
where its output will be different : when the word is typed with a
capital, but the lower case version exists in the dictionary.
E.g. the user typed "This".

In this case, isWhitelistedOrNotAWord in line 235 will return false
instead of true, so the test will score a true instead of a false,
so hasAutoCorrection may be true instead of false in this specific
case and that's the only case where it's different.

But in this case, allowsToBeAutoCorrected is certain to be false,
which means the result will not have changed if hasAutoCorrection
was true in the first place. So in the end this change is sure not
to change the behavior.

Change-Id: Ic41cf959c20c19165f84d9b8ff006731fa595d84
uggest.java
b3cfde2cbb96951b1202c70b9961f340bdf495d0 28-Jun-2012 Jean Chalard <jchalard@google.com> Add a few comments for future reference (A24)

Change-Id: Ia356130b8a95ec9cf676bc6be05d801c13f14b64
uggest.java
e398c6c024ecf507232948a2b3e862b4a27a1a84 28-Jun-2012 Jean Chalard <jchalard@google.com> Rename a method for readability (A23)

Change-Id: I6f569322e645d36bc82fddf4ec2fd621972e3b47
utoCorrection.java
uggest.java
ea578f6b1dbcf04ffcc9c673f72a38ed2cfecdfc 28-Jun-2012 Jean Chalard <jchalard@google.com> Revert a test for readability (A22)

Change-Id: I1df4cef5ae2736a22273843dce67f0012181bfd3
uggest.java
19d02c19d0af940af358f6f91abb314330a3c60e 28-Jun-2012 Jean Chalard <jchalard@google.com> Remove a useless variable (A21)

Change-Id: I901e6b0e2b994128da19d68233b9f68bb308cb95
uggest.java
4d5e7235c566345a54121bfe5e53f58df1274352 28-Jun-2012 Jean Chalard <jchalard@google.com> Remove a useless variable (A20)

Change-Id: Ifc37462f5243563693c8cd7cbeb401ff054daa52
uggest.java
739683dcfb27c68b88eeacdfd486812321fc6b5a 28-Jun-2012 Jean Chalard <jchalard@google.com> Rename a method for readability (A19)

Change-Id: I0b8c06d1fd0bfb3caf363c048acc7048abed1752
utoCorrection.java
uggest.java
31b346aac6dc04a2445a17d156906cc308c7e0d4 28-Jun-2012 Jean Chalard <jchalard@google.com> Remove a useless test (A18)

allowsToBeAutoCorrected always returns false if the word is empty.
This is because the whitelist never contains an empty string,
and isValidWord returns false if the word is empty.

Change-Id: I34ecc2a1563aea6db5b2f12796f251f6598576a2
uggest.java
b01cdb975a0001a5d4bdc66e6ae451f2deab439d 28-Jun-2012 Jean Chalard <jchalard@google.com> Inline a method (A17)

This will allow us to remove unnecessary processing

Change-Id: I251dfdaffb077906186686ebe65fd82e1e360bd2
utoCorrection.java
uggest.java
42dde06782be3c958af222ae284e58baf629ff61 28-Jun-2012 Jean Chalard <jchalard@google.com> Make a function a one-liner (A16)

...to better inline it

Change-Id: I88496b8f18b81f0c05e4bbf2d1039de1f93e0c25
utoCorrection.java
a96a11949fc396a2b2e65071a972062bb435cf74 28-Jun-2012 Jean Chalard <jchalard@google.com> Inline a simple method (A15)

Change-Id: Ib74fcbf33c680bf02c39a9896e30e3afbcfd149a
utoCorrection.java
uggest.java
074c90af98487f94bac26d9463020e883b26f358 28-Jun-2012 Jean Chalard <jchalard@google.com> Inline a method (A14)

The new code is worse than the old one, but this is a necessary
step to make things prettier.

Change-Id: If6e8a139bb85e6920c749743c78792a22a8acb45
utoCorrection.java
uggest.java
1333579b4b4f392c73409b9a3fbfb428a0f8a9ed 28-Jun-2012 Jean Chalard <jchalard@google.com> Don't special-case 1-letter words (A13)

There is no reason to prevent 1-letter words to auto-correct
to themselves, or to dictionary words. Don't do it.

Change-Id: Iceada847ae632336026ada29afed0353cd9c51b5
utoCorrection.java
d426941ee8fd3f0bed5b26cbcf3780169054574d 28-Jun-2012 Jean Chalard <jchalard@google.com> Fix a theoretical bug (A12)

If a word is a dictionary word but still has no suggestion,
this method should return true. In the practice, it makes
no difference since a word without suggestion won't be changed
anyway.

Change-Id: Ib1f5ef254b7da7e5cedb2f973529ad431beb93f9
utoCorrection.java
9701b360d9a44a06a20554e8998007a614b1622d 28-Jun-2012 Jean Chalard <jchalard@google.com> Rename a terribly-named method for clarity (A11)

Change-Id: Id180000404dc6929d80f98c0e9cd2026230ad2d1
utoCorrection.java
6b911c27a3b572caf11f195bc76924c25f94617d 29-Jun-2012 Jean Chalard <jchalard@google.com> Merge "Small readability improvement (A10)"
f89a75134b03bd2675c85249a184c09f83c6f80c 28-Jun-2012 Jean Chalard <jchalard@google.com> Small readability improvement (A10)

Change-Id: Iba326921711e1c4eab38264e66b6b44a64fec398
uggest.java
305326e789c3a89517855cc5a023ed1aa3074dc0 28-Jun-2012 Jean Chalard <jchalard@google.com> Refactoring and add debug prints (A9)

Change-Id: I46497bff107f0def0dfa2b043b20d9a0b0cde040
atinIME.java
5110e2cb5115bc7d8337a63427b895eeb74c9cd5 28-Jun-2012 Jean Chalard <jchalard@google.com> Optimization (A8)

Change-Id: I2b9e8cc6a13fd9af84a5189e4d3fbb2b05c68d46
uggest.java
4847a27f74964a8f04bb40c8520d72096f69f7e7 28-Jun-2012 Jean Chalard <jchalard@google.com> Cleanup (A7)

Change-Id: Iba97e0062b702c005ab3ff9ce59f181d19ab7c98
uggest.java
ed83d4b14366b9799bf94c3f3486dc14ebd15d0f 28-Jun-2012 Jean Chalard <jchalard@google.com> Stop special-casing a single suggestion (A6)

Treat it like the others

Change-Id: Ic24e40ada0e75773c3ece9470ab61c350697be5d
uggest.java
251bb70f087c396afc504a8d0f0221c890e88571 28-Jun-2012 Jean Chalard <jchalard@google.com> Cleanup (A5)

Change-Id: I06134145b47c46bbc6c340ca539f34a01e2ca163
utoCorrection.java
uggest.java
4c4e3a094908842905cde8eb381d55357c0bb555 28-Jun-2012 Jean Chalard <jchalard@google.com> Transform the whitelist suggestion like the others (A4)

...instead of having a different code path

Change-Id: Icd177e2151e45d25300000d4b63d4fba1f52b6a8
uggest.java
33b3805e79ab168500ac3bba2c349ef6ea0755f5 28-Jun-2012 Jean Chalard <jchalard@google.com> Small refactoring (A3)

This will help make upcoming changes clearer

Change-Id: Ida8d4935f7315e5da6007ad364124694da3112d0
uggest.java
b7cdafd78a7e97c70ceaa3349197eb012e69cc3f 27-Jun-2012 Jean Chalard <jchalard@google.com> Don't pass everything to a function that needs only the head (A2)

Change-Id: Ic367836202ab8071c1a9a02eaf0651b0da947d51
utoCorrection.java
uggest.java
09b30ac95472195c37e5d32838dc3734c0310937 28-Jun-2012 Jean Chalard <jchalard@google.com> Merge "Use a TreeSet to sort suggestions instead of doing it by hand (A1)"
2d2e3480338b97b55f1a22bf2bfe89c52ba866e2 27-Jun-2012 Jean Chalard <jchalard@google.com> Use a TreeSet to sort suggestions instead of doing it by hand (A1)

Change-Id: I16ba39321107e87ad48a99c2410a15995a66f23c
oundedTreeSet.java
uggest.java
69527d4d6092c068ec8b5724a74e5659c3757017 28-Jun-2012 Tadashi G. Takaoka <takaoka@google.com> am 5e5cf045: am 7f7947c9: Keep subtypes in method.xml the same as pre-JellyBean

* commit '5e5cf045ca6debafcc29ae1c47afda4a3a152326':
Keep subtypes in method.xml the same as pre-JellyBean
7f7947c97b141cbb338c5164e9e19d1ac9ff3d1c 27-Jun-2012 Tadashi G. Takaoka <takaoka@google.com> Keep subtypes in method.xml the same as pre-JellyBean

This change prevents Android Keyboard subtypes being mistakenly
disabled when upgrading from pre-JellyBean to JellyBean.

Bug: 6750906
Change-Id: I05de6c512e7aa17356e415476e5248986c7d4253
ubtypeLocale.java
10abf10c1fd3782389cbec1aec7b91855a7b5154 27-Jun-2012 Jean Chalard <jchalard@google.com> Convert local members to local variables

Change-Id: I852787986c79502a4de7effe9c8281a4cf2d519d
uggest.java
3ecb2747b3b46991a0fb8e1573d689611ecbd1cc 27-Jun-2012 Jean Chalard <jchalard@google.com> Optimization.

It's useless to do this for all suggestions including those
that will be ousted from the list.

Change-Id: I7bd63d783e21984a269e4b1ae17e9b9d8c0859e3
uggest.java
3705ef407b654e818d4ec8854f08495bca4688d9 27-Jun-2012 Jean Chalard <jchalard@google.com> Read the suggestion type from the suggestion

...instead of dirtily passing it from the dictionary loop

Change-Id: I92ddbd7451609b69f6d4dc31bf89d614423b2016
uggest.java
24eec0fa680f97e64d1fa0df754acbad95ed9a76 27-Jun-2012 Jean Chalard <jchalard@google.com> Remember the source dictionary for each suggestion.

Change-Id: I3c63372bd5572a479a67eaecfe8c8ea1cabc70d9
inaryDictionary.java
ictionary.java
xpandableDictionary.java
ettingsValues.java
uggest.java
uggestedWords.java
d8f0caa406a0ca1df488baeb3af05528085755b7 27-Jun-2012 Jean Chalard <jchalard@google.com> Move constants to a better place.

Change-Id: I5c27a3ed99b17f850e26a8503de16f001c7111c1
utoCorrection.java
ontactsBinaryDictionary.java
ictionary.java
ictionaryFactory.java
uggest.java
serBinaryDictionary.java
serHistoryDictionary.java
hitelistDictionary.java
089c11a08665d3670be9ca1678ac06545ecfcd6f 27-Jun-2012 Jean Chalard <jchalard@google.com> Cleanup

Change-Id: I575f22330bf6881af1d9a35f22b51b7bf2198113
uggest.java
b5afd3de0c20bce40a600357a15e8e8df0e62420 27-Jun-2012 Jean Chalard <jchalard@google.com> Remove unused stuff.

Change-Id: Ifd0d5b6978f76b841574a6e10157c32d0cd656b6
atinIME.java
uggest.java
serHistoryDictionary.java
05efe576f976f5fa280f8d523f2935c15cbb9bd1 27-Jun-2012 Jean Chalard <jchalard@google.com> Cleanup the dictionary type.

Stop storing an int in each of the different class types, and
just store a string in the top class.

Change-Id: I2af1832743e6fe78e5c1364f6d9cc21252bf5831
inaryDictionary.java
ontactsBinaryDictionary.java
ictionary.java
ictionaryCollection.java
ictionaryFactory.java
xpandableBinaryDictionary.java
xpandableDictionary.java
atinIME.java
ynchronouslyLoadedContactsBinaryDictionary.java
serBinaryDictionary.java
serHistoryDictionary.java
hitelistDictionary.java
c356df8e08581f7f9f92c15031b8dc3e46e9255a 27-Jun-2012 Jean Chalard <jchalard@google.com> Merge "Update the prototype of onAddSuggestedWord - calling side."
e55c23e4b0b8d9d66349a3b275d0fa1540d7450a 27-Jun-2012 Ken Wakasa <kwakasa@google.com> Small cleanups

Change-Id: Ic1a198ab1b4f0323fde9e4245729fd0e6011b914
ontactsBinaryDictionary.java
uggestedWords.java
ordComposer.java
32ff2504a0574bf9d697161abba3a422a292a75b 27-Jun-2012 Jean Chalard <jchalard@google.com> Update the prototype of onAddSuggestedWord - calling side.

We want to get rid of all those IDs in Latin IME.

Change-Id: Ibe08100a5e2976c80abb049889233b4047a686f3
ictionary.java
atinImeLogger.java
uggest.java
2db27bcd06dc56f93ed92e056a7f7dc2e0e2dcf0 27-Jun-2012 Jean Chalard <jchalard@google.com> Merge "Use binarySearch instead of a hand-written linear search"
78a8d5b6bcbfd9be93e384cada85ecf51fd0b91b 27-Jun-2012 Jean Chalard <jchalard@google.com> Merge "Implement a comparator for SuggestedWordInfos."
56beb9e3219ae2138b96874aec6f2439180b3507 26-Jun-2012 Jean Chalard <jchalard@google.com> Use binarySearch instead of a hand-written linear search

Yay.

Change-Id: Icf686eb2d675da959f19edc856b521e6288dcea3
uggest.java
9da0027b386c23b83c2f9b0121bc15fa15306e3a 26-Jun-2012 Jean Chalard <jchalard@google.com> Implement a comparator for SuggestedWordInfos.

Change-Id: Ic4b0ae05cd98a1aec5806c5e4b744158e73aea7a
uggest.java
30447239e81ebc4d3634eb9f7212e572e1934c6a 27-Jun-2012 Kurt Partridge <kep@google.com> Merge "only output every kth word to log"
4ef01c51f8fc063647c7497dabe1a1d76e87c324 27-Jun-2012 Jean Chalard <jchalard@google.com> Merge "Remove some special casing"
e961188e9fd4f4365c6c745c8d3d838dd7dfe6a0 21-Jun-2012 Kurt Partridge <kep@google.com> only output every kth word to log

multi-project CL with Ib5b544b9b2d8b0e4419238976b2e274e5ac564f8

Bug: 6188932
Change-Id: Iea68cf36924d6fda126130a98431a6ce02ba251e
esearchLogger.java
7e49a2b6b8ad341d467d47adf45c58d22f4a05c6 26-Jun-2012 Jean Chalard <jchalard@google.com> Remove some special casing

This special casing is useless. If the word is the same as what
user typed, the scoring algorithm already ensures that it comes
out at the top. Actually, as is written in a comment here, code
executed later is actively relying on this suggestion having
the top score ! There is no need to test it for equalness and
inserting it at the top then.

Change-Id: I263a6de59b77ec72a2dcbb933361b8e16fca0681
uggest.java
a3f5f51ec4aeb438fc4ad408c085b463ed3f8c82 26-Jun-2012 Jean Chalard <jchalard@google.com> Fix a bug where a log would mysteriously not work

Change-Id: I5ca77ed65e95a6d357215c0e730238fb463986bb
uggest.java
22657dcba07fc54919020119408cb71d187a14fd 26-Jun-2012 Jean Chalard <jchalard@google.com> Optimization.

We already had that computed

Change-Id: I2a9742eaee2e9db1f73aeddda7bae7e237b4d15c
uggest.java
ec8b27fe49bd0a149cf7dcd36d1b0d966b03a3b5 26-Jun-2012 Jean Chalard <jchalard@google.com> Cut out a method for clarity

Change-Id: I1dc668698a5cd840297e713a26a525f5e32d35d6
uggest.java
5953dc93cfe5eea3f03d439956d48d50fef990e3 26-Jun-2012 Jean Chalard <jchalard@google.com> Avoid string conversions when possible.

Change-Id: Ibf5f3e40da55998364d0d835ecf283f32c80fcf5
uggest.java
bed514bd902d9736edcbfe03d37d8cced2bb03a3 26-Jun-2012 Jean Chalard <jchalard@google.com> Simplify a method call.

Change-Id: Ieede787a13cef79353f13af52488ef3732ac9850
uggest.java
9433ce86b702bf33ff6d1bd020266ffcb7b133ea 26-Jun-2012 Jean Chalard <jchalard@google.com> Refactor and squash long-standing bugs (A2)

This is awesome.
- Improve performance by stopping useless string/array conversions.
- Simplify method interface.
- Fix localization bugs - we now know our locale
- Fix bugs with surrogate code points

Bug: 4769095
Change-Id: I8a8ee224b713429ee0a4ce5bd52f1b63378cf56f
uggest.java
8e17f6d93a3b079eab41450539b9890763fb6e3f 26-Jun-2012 Jean Chalard <jchalard@google.com> Remember the locale in the Suggest object (A1)

This will be necessary for uppercasing and titlecasing words
correctly.

Change-Id: I0f446a4c82bc482240ff730a2ad6586a61571d6b
uggest.java
6cad198d9c02646d6bab9ec683f99680b111c659 26-Jun-2012 Jean Chalard <jchalard@google.com> Remove a useless member (A2)

Change-Id: Ia727ffc2946352bbf79e0c97684f8fa98f428cef
uggest.java
0da9a7c094ed29f680f1ab9d4a27194a84c593c3 26-Jun-2012 Jean Chalard <jchalard@google.com> Convert a member to a local variable (A1)

Change-Id: I9eab910989443704f83711cf4fb0070c5987a13a
uggest.java
f05392f213b1c6df0b139e641054f4064af32bb7 26-Jun-2012 Jean Chalard <jchalard@google.com> Remove an unused method (A22)

Change-Id: I2195f365df1799c8b3b2a53670d1df535ab1a742
uggest.java
6234be1fe76740c458781b633f4ac66edd8ea84f 26-Jun-2012 Jean Chalard <jchalard@google.com> Simplification and optimization (A20)

Change-Id: Ia837e553ccfe67cd4303096290194a5186df059b
uggest.java
77e95e60bbfacb08d2298813af36d281a96661a6 26-Jun-2012 Jean Chalard <jchalard@google.com> Preparation for a simplification (A19)

Change-Id: I4605a571faf5fbc68b18ce525d6019600bfa8cf7
uggest.java
0a7944653105f257d99e9db2d90b2bfc932ee765 26-Jun-2012 Jean Chalard <jchalard@google.com> Remove a meaningless separation (A18)

Change-Id: I267177044c7d7b0d9119839a11057b2bbf41f75f
uggest.java
pellcheck/AndroidSpellCheckerService.java
61e7ec658710eca3fd03af39b52b4a87eabcdd4c 26-Jun-2012 Jean Chalard <jchalard@google.com> Remove the Callback interface for simpler code. (A17)

Bug: 6252660
Bug: 6166228
Bug: 2704000
Bug: 6225530

Change-Id: I009b54fc2e73cadca6734bdca074d033e81f6a2b
ictionary.java
uggest.java
pellcheck/AndroidSpellCheckerService.java
2f1b6c9ea438841fc2a7262a0593739c3dc82782 21-Jun-2012 Jean Chalard <jchalard@google.com> Remove the callback argument to getBigrams() (A16)

Bug: 6252660
Bug: 6166228
Bug: 2704000
Bug: 6225530
Change-Id: I7457ac04f8cd4019fb86c986725aae3de1b1a65e
inaryDictionary.java
ictionary.java
ictionaryCollection.java
xpandableBinaryDictionary.java
xpandableDictionary.java
uggest.java
pellcheck/AndroidSpellCheckerService.java
60eed92dc37e59403142ac35bdf676ae7ceac298 21-Jun-2012 Jean Chalard <jchalard@google.com> Remove the callback argument to getWords() (A15)

Bug: 6252660
Bug: 6166228
Bug: 2704000
Bug: 6225530
Change-Id: I919bf70a1213ab5d7c7a9e5715bd72a6e257148b
inaryDictionary.java
ictionary.java
ictionaryCollection.java
xpandableBinaryDictionary.java
xpandableDictionary.java
uggest.java
ynchronouslyLoadedContactsBinaryDictionary.java
ynchronouslyLoadedUserBinaryDictionary.java
2225b3bace388ba0b8789254da09fb9f6a6250e3 21-Jun-2012 Jean Chalard <jchalard@google.com> Do away with Utils#addAllSuggestions (A14)

It's not used any more.

Change-Id: Id9da40fdbf7078f3ac647d1368237d6601f5a2ba
inaryDictionary.java
xpandableDictionary.java
tils.java
pellcheck/AndroidSpellCheckerService.java
d9df8094e625c92f6a66ebe9048afc7f88c14b33 21-Jun-2012 Jean Chalard <jchalard@google.com> Neutralize AndroidSpellChecker.SuggestionsGatherer#addWords (A13)

Bug: 6252660
Bug: 6166228
Bug: 2704000
Bug: 6225530
Change-Id: Ia54e1e44e1fd4e8ba2c9316928c0595cbe3f933c
pellcheck/AndroidSpellCheckerService.java
783047602295819c89e489e707cabfedf6dd6dd4 19-Jun-2012 Jean Chalard <jchalard@google.com> Neutralize Suggest#addWords (A12)

Bug: 6252660
Bug: 6166228
Bug: 2704000
Bug: 6225530
Change-Id: Id923367342a62a650a5f1d38e2fa0e913030dca8
uggest.java
fd998bd37a6373beb858d8d3c859c69b65776d4d 26-Jun-2012 Jean Chalard <jchalard@google.com> Refactoring (A11)

Change-Id: I86bd7587dd80773a51ba6db312ba55dc41e7c8c7
uggest.java
64dad2d5a958acf2bc53cce5cade4b8e2b34c05f 26-Jun-2012 Jean Chalard <jchalard@google.com> Remove an unused method and inline another (A10)

Change-Id: Ifd71ce79711b0c15c7764e97351dbb1b8e4c0c2d
uggest.java
28eeb35d149468514a65379e9d0d1672cf26981e 26-Jun-2012 Jean Chalard <jchalard@google.com> Merge the interface of two methods that do the same thing (A9)

Change-Id: Ia5701d713d0fd5bb646b54a03a1a5602dad0a9e6
atinIME.java
uggest.java
d82898c5a91f8aa69d5dc594b7a9290b8be1247a 12-Jun-2012 Jean Chalard <jchalard@google.com> Change the return type of getWords and getBigrams (A8)

This only returns stuff, but it doesn't change yet how the data
is really passed. It merely adds a way of getting the same data.
Later, the old way will be removed.

Change-Id: If3a064de362175fc5a6781b7a97b65d8730aaf3c
inaryDictionary.java
ontactsBinaryDictionary.java
ictionary.java
ictionaryCollection.java
xpandableBinaryDictionary.java
xpandableDictionary.java
ynchronouslyLoadedContactsBinaryDictionary.java
ynchronouslyLoadedUserBinaryDictionary.java
bda7eaa63aace64f3d40eae3affaf281591ffa66 12-Jun-2012 Jean Chalard <jchalard@google.com> Remove dependency on WordCallback from BinaryDictionary (A7)

Bug: 6252660
Bug: 6166228
Bug: 2704000
Bug: 6225530
Change-Id: I8245698fbd170e0f5cbad3c0109774bcaddc0614
inaryDictionary.java
17111afcd6315d7bfd8d9dd0f3d207d6aec1576c 26-Jun-2012 Jean Chalard <jchalard@google.com> Remove useless code and storage (A6)

This is only used as temporary storage to be then added to
the other variable, relying on the fact that it is hopefully
sorted. It's better to just add it right away to the final
storage.

Change-Id: I5da702ac9dc579593ab21feb2021a01e5dfdf4dc
uggest.java
5e0545d69dc07c9f127bbb305062f817f2ccd352 26-Jun-2012 Jean Chalard <jchalard@google.com> Remove a duplicate processing (A5)

This filtering is already done in native code. It's useless (and
costly) to do it again here.

Change-Id: Ide6794d7a8682a881f097f33e222f10d30f297bd
uggest.java
fac8a16c6f45cf1e5b2cff3c75bd390430929cf3 26-Jun-2012 Jean Chalard <jchalard@google.com> Merge "Remove another dependency to WordCallback (A4)"
3ec249c6d13c1afb290e1c1a81ef54588bf4369e 26-Jun-2012 Kurt Partridge <kep@google.com> Merge "fix IllegalOutOfBoundsException"
01106f6a10ef2c6c8a338cb256e0799f7aca853b 25-Jun-2012 Kurt Partridge <kep@google.com> fix IllegalOutOfBoundsException

StringUtils.toCodePointArray() had thrown IllegalOutOfBoundsException if
passed an empty string. change to just return an empty int[].

Bug: 6188932
Change-Id: Ic41c628c0d407f49fc98cd48cb7ea13d8d5bdd77
tringUtils.java
d7b9e8f503cd0f4616506ed891efd468dfdbef0e 12-Jun-2012 Jean Chalard <jchalard@google.com> Remove another dependency to WordCallback (A4)

Bug: 6252660
Bug: 6166228
Bug: 2704000
Bug: 6225530
Change-Id: I5b277124dc9244e78c4a1f4d542a55071eb479bd
xpandableDictionary.java
9f78eed456471241a73352b205e0f29ccc36e269 25-Jun-2012 Ken Wakasa <kwakasa@google.com> Remove "Key popup dismiss delay" when "Popup on keypress" is suppressed

bug: 6714783
Change-Id: Idf674e8e1af80642f2c53f7ae5c03e21c9e04292
ettings.java
73680097996ea2ddbca3f84144a00ce3ba66b763 25-Jun-2012 Satoshi Kataoka <satok@google.com> Change JNI for Gesture

Change-Id: I774a0052038d16677f60f7efa11fd266cb5f3088
inaryDictionary.java
ictionary.java
ictionaryFactory.java
xpandableBinaryDictionary.java
xpandableDictionary.java
uggest.java
tils.java
pellcheck/AndroidSpellCheckerService.java
5a73d72265b22a0832fb9faa2c835ba55aa0b932 25-Jun-2012 Jean Chalard <jchalard@google.com> Merge "Refactoring and groundwork to fix a bug with older apps"
c3ebf1a43a6202c9992773722ff1eed7088b9a91 25-Jun-2012 Jean Chalard <jchalard@google.com> Refactoring and groundwork to fix a bug with older apps

This has a good, although small, impact on performance : it removes
a two-way IPC call in a most frequent case, while possibly adding
one in a rather unfrequent and less critical case.

Also, this fixes a bug with surrogate pairs. This specific branch
of code now correctly handles surrogate pairs.
Aside from this, it should have no impact on behavior.

However, since it does delay access to the previous character in
the text view by a two-way IPC call, it actually goes a long way
toward fixing bug#6668226. It is not really a fix and the race
condition still exists, but this change makes it much, much
harder to hit.

Bug: 6668226
Change-Id: Id11cc6a0b7488d6bd392227cafdcf3a8d4c62f6c
ichInputConnection.java
a316a159842f4b08b328adad7490184ecc56394e 25-Jun-2012 Jean Chalard <jchalard@google.com> Merge "Tentatively remove a dependency on WordCallback (A3)"
dc01bd5ea4cc552ccf8f0d8efcc1efdf4ee1a98a 25-Jun-2012 Jean Chalard <jchalard@google.com> Merge "Improve compatibility for ICS."
2cf265b3457b4627100fc5707346aa6a5bcd982f 22-Jun-2012 Satoshi Kataoka <satok@google.com> Merge "Fix possible NPE from a concurrent problem in LatinIME"
e6a39d5677216dcdea5aa64df6744449ca1c11d7 22-Jun-2012 Kurt Partridge <kep@google.com> Merge "Allow punctuation through privacy filter"
33d9f9b6dbafba97d5f46b021727b9d797906baa 19-Jun-2012 Kurt Partridge <kep@google.com> Allow punctuation through privacy filter

Also cleaned up the privacy code a bit.

multi-project commit with Change-Id: Ic0919a6929ebb2623ff4124f7adc96d9e5f8df3c

Bug: 6188932
Change-Id: Id470fe7cc6e4a8fb01f1ea5b178a74cd27d59218
esearchLogger.java
1b71ff00a23ede8d527266a31d44de018f8a7616 21-Jun-2012 Jean Chalard <jchalard@google.com> Merge "Update an outdated comment"
9997b44846906e4a71be393694e37bf5fef86db5 21-Jun-2012 Jean Chalard <jchalard@google.com> Improve compatibility for ICS.

ICS didn't have a SHORTCUT column in the user dictionary.
If running on a build under JellyBean, we should not ask
for it lest we crash.

Bug: 6600617
Change-Id: Iac0cbcc63c10064f01e2d51eec5931fd9cdd0922
serBinaryDictionary.java
83f4a9866ab68ac452a57fa0c91d9fdf7aff8dda 21-Jun-2012 Jean Chalard <jchalard@google.com> Cleanup, part 10 : remove from the code obsolete options (C10)

Change-Id: Id0806ad3dc7ccb632713eebaca76f0bab26ece5d
ettings.java
7c406ed655be0b6a12c1792d810504a32ec878fd 12-Jun-2012 Jean Chalard <jchalard@google.com> Tentatively remove a dependency on WordCallback (A3)

Bug: 6252660
Bug: 6166228
Bug: 2704000
Bug: 6225530
Change-Id: Id5a59eaec2aeefa0ba4524420a8e035d383f6545
xpandableDictionary.java
uggestedWords.java
tils.java
e8bb8351d6f09f461851af619cabe5fcd2f66c0a 16-Jun-2012 Jean Chalard <jchalard@google.com> Cleanup, part 9 (C9)

Change-Id: Ifb15553824915d0634aea83689302c2418b093f3
atinIME.java
ettingsValues.java
ca6b7d52650917b92bf00e092ddad25d9f3f2537 16-Jun-2012 Jean Chalard <jchalard@google.com> Cleanup, part 8 (C8)

Change-Id: Iecc9b3d43c191614c2951408e14085cb77eefd4d
atinIME.java
ettingsValues.java
2f3a694e29ad5a63052a2f963327855fee099f55 16-Jun-2012 Jean Chalard <jchalard@google.com> Cleanup, part 7 (C7)

Change-Id: I662be9d3b31fb9e157722f38cab1e6fb8a1152ab
atinIME.java
ettingsValues.java
0e8b1db948f47693c5e5863b4cb8d1b022f491b4 19-Jun-2012 Jean Chalard <jchalard@google.com> Merge "Cleanup, part 6 (C6)"
c03bd090ea9f5e610d5380a5e0b70f3c60d9b6fe 19-Jun-2012 Jean Chalard <jchalard@google.com> Merge "Cleanup, part 4 (C4)"
bd765d33556def42c41a6f36298f28feb01af8e4 19-Jun-2012 Jean Chalard <jchalard@google.com> Merge "Cleanup, part 3 (C3)"
67b9337b6cc478973d2c628fb5686583ce339bf0 18-Jun-2012 Satoshi Kataoka <satok@google.com> Fix possible NPE from a concurrent problem in LatinIME

Bug: 6620746
Change-Id: Icc18de92d7edc6888c712c2cf5ce479a65f8bfad
atinIME.java
b0561ae98063f83684706886490ba5670138fccc 16-Jun-2012 Jean Chalard <jchalard@google.com> Remove a member (B5)

The new call in the test ensures getCurrentInputEditorInfo actually
works.

Change-Id: I2ee407bd9927d22db537d12f339e2b977a38054a
atinIME.java
64e52051cfa62523c3f09c61a9dae34198470792 12-Jun-2012 Jean Chalard <jchalard@google.com> Simplification (B4)

Change-Id: Id5abf722a533980ed2d89381dbddc0a71b6f5b6b
ettingsValues.java
fe53e5c060dc4fd0acdfdffcadba94f9bb6062c3 12-Jun-2012 Jean Chalard <jchalard@google.com> Move a settings method to SettingsValues (B3)

Change-Id: Ibfa27bd919c92be219c4d107b3ace008ca80a19f
atinIME.java
ettingsValues.java
8b538807a3f014aea21aa707b1d945e442589614 18-Jun-2012 Jean Chalard <jchalard@google.com> Merge "Make a variable final (A2)"
0176faf6c03a8e988b9085e7ac8e8fd6c1dc0b07 18-Jun-2012 Jean Chalard <jchalard@google.com> Merge "Add a kind to the suggestion for bookkeeping (A1)"
1c3c0ff1c3aa6c6ee59ac4641d1d3042964dc0b9 18-Jun-2012 Jean Chalard <jchalard@google.com> Merge "Cleanup, part 2 (C2)"
65b7bcb045cff0d1d11e94819a215bf25be22111 18-Jun-2012 Jean Chalard <jchalard@google.com> Merge "Cleanup, part 1 (C1)"
6080f6878b10916013a8a5e1d5f58f8041452c56 16-Jun-2012 Kurt Partridge <kep@google.com> Remove non-dictionary words and digit touch data.

Output to the ResearchLogger is now queued and only flushed if the word
the user was working on is a dictionary word.

multi-project commit with Ic713ec00777fbdcf4a937b3c77b995257e100fc7

Bug: 6188932
Change-Id: I9de15227ff51be23083d9096f1c1b3d83802fff7
ictionary.java
ictionaryCollection.java
atinIME.java
esearchLogger.java
uggest.java
4b91046759b49108f750b0b4a58ed8cd74e155dc 17-Jun-2012 Kurt Partridge <kep@google.com> Merge "Replace digits in ResearchLogger"
a696781c2b18d8002275aa89e07fa7379661d025 15-Jun-2012 Kurt Partridge <kep@google.com> Replace digits in ResearchLogger

Digits may represent personally identifying information. They are
now replaced with a non-identifying symbol.

multi-project commit with I07d1cfdc45f6086f67af45775f4ed12da1833aca

Bug: 6188932

Change-Id: Ifda8079e6c1f29b5f8af34c6d1fccf5770f164ca
esearchLogger.java
c5f1d998c28b12a446c356419cf2b5fe4cc63207 16-Jun-2012 Jean Chalard <jchalard@google.com> Cleanup, part 6 (C6)

Change-Id: I184f3a336278559df255c5d600a98fbba468a243
uggest.java
9b233ecef2e6fce4024caa4da4b88d75edfd7b00 16-Jun-2012 Jean Chalard <jchalard@google.com> Cleanup, part 4 (C4)

Change-Id: I2821ae71ec49e4b6b512157d17b80198f74321e4
atinIME.java
ettingsValues.java
uggest.java
5475e92b3fb33dd7d6b021ddcbe1ca593112b5c8 16-Jun-2012 Jean Chalard <jchalard@google.com> Cleanup, part 3 (C3)

Change-Id: Ib0be8dc26b6fa366a3dabeea940d466602073244
atinIME.java
ettingsValues.java
uggest.java
71dc2804269f81a4b50c54b42cce3859106d326b 16-Jun-2012 Jean Chalard <jchalard@google.com> Cleanup, part 2 (C2)

Change-Id: I860f41807e9bc2e38b6ad84e1527fc8707a9aa40
ettingsValues.java
6883153dd074e2c5c373b2ac2c4fed72ee330c03 16-Jun-2012 Jean Chalard <jchalard@google.com> Cleanup, part 1 (C1)

Change-Id: I2b1ddd836aaf6bfc0bd2befb78f98239ffcdbb22
ettingsValues.java
4a5cb5c36a6a385ec0036981a0e93b0253e884b0 16-Jun-2012 Jean Chalard <jchalard@google.com> Update an outdated comment

Change-Id: I3d02dc8597ed14d998caeaa056813353e2d7ec1a
atinIME.java
dca729fddd69f03d8eaca238c62478a7fd77db96 12-Jun-2012 Jean Chalard <jchalard@google.com> Move final attributes to SettingsValues (B2)

Bug: 6675475
Bug: 6677394
Change-Id: I4a26efb9226d3f909f331c4d2e47cd83a05c011e
atinIME.java
ettingsValues.java
3d44f489b321f7586af4af8f281550a45653f50a 12-Jun-2012 Jean Chalard <jchalard@google.com> Inline a method for simplicity (B1)

This has a confusing name and is a one-liner

Change-Id: I954a648a8413e38a535c2b81e4b171e1bdc9f1c2
atinIME.java
0998c48ac30294b7b6b70257b390962e930b59e1 12-Jun-2012 Jean Chalard <jchalard@google.com> Make a variable final (A2)

This is never changed, and probably doesn't need to be.
It's public because it's going to be used elsewhere in a future
change

Change-Id: Iec8d65859c470de5e1fb0b05533356fbc3b8e91b
uggest.java
e7d2ee3ec310a3991f07d20994871bb0dc84941a 12-Jun-2012 Jean Chalard <jchalard@google.com> Add a kind to the suggestion for bookkeeping (A1)

This will help for debug as well as serve as groundwork for
Bug: 6252660
Bug: 6166228
Bug: 2704000
Bug: 6225530

Change-Id: I74d0a7b943fb22c514ad79dc064d69ddf336d3ef
ettingsValues.java
uggest.java
uggestedWords.java
23cec44376f8e538611019cb0d82eeee0f643d4e 15-Jun-2012 Kurt Partridge <kep@google.com> Merge "No logging of passwords."
a19c5e63804e6cffac5771b9749aad6c441e5e21 15-Jun-2012 Jean Chalard <jchalard@google.com> resolved conflicts for merge of be82f297 to master

Change-Id: If49ca384ea0ac415a75f8ea1bad77dc6719cb04d
1cef91e4818790ea5419a6ad9ff6e36ac535c763 14-Jun-2012 Kurt Partridge <kep@google.com> No logging of passwords.

Bug: 6188932
Change-Id: Ibf60ec99c50da3675bf89858624218e6cc3eb1d2
esearchLogger.java
cf6e923b181a38762520fe94bc3f70c5ef400e1f 14-Jun-2012 Jean Chalard <jchalard@google.com> am 42ecf39d: am 002e43ea: Merge "Remove irrelevant options." into jb-dev

* commit '42ecf39d04df9eb02e57cf29e63552bc04092857':
Remove irrelevant options.
775d8dcaebbfdf8eba641c1673cfca8f57e87e29 14-Jun-2012 Tadashi G. Takaoka <takaoka@google.com> am de1d88eb: am 32f4ceb2: Dismiss more suggestions panel when suggestions strip is closed

* commit 'de1d88eb4199160899d227f2c679215e16410c42':
Dismiss more suggestions panel when suggestions strip is closed
7cbd0478cfb66f406bb04c3b5c79da37b2263d66 14-Jun-2012 Jean Chalard <jchalard@google.com> Merge "Do not display punctuation suggestions when bigrams are on." into jb-dev
002e43ead02268ee17033289ab3043511505856b 14-Jun-2012 Jean Chalard <jchalard@google.com> Merge "Remove irrelevant options." into jb-dev
d5b765b3bbceb80b2e145ac7f4d66acbadd1ee4f 14-Jun-2012 Jean Chalard <jchalard@google.com> Do not display punctuation suggestions when bigrams are on.

Bug: 6310401
Change-Id: I9d31c48e287aceedaf2f4c5129031ddb31402451
atinIME.java
uggestions/SuggestionsView.java
78573f2e8a7dbf67e16fa4dd531f33cba0df7ff5 14-Jun-2012 Jean Chalard <jchalard@google.com> Fix an NPE

This code is temporary until we get rid of this member.

Bug: 6662963
Bug: 6667091
Change-Id: I1d970d2a97992507e86c5b94978a2543fe42b375
atinIME.java
15121cff3785f179e79b1b82753a145ffd913ea5 14-Jun-2012 Jean Chalard <jchalard@google.com> Remove irrelevant options.

Bug: 6667355
Change-Id: I39b6db17fb52e80f510cf6462f41d9cb1f8e0341
ettings.java
ettingsValues.java
32f4ceb2434b6f204cf8152b406d0f9a642feb73 14-Jun-2012 Tadashi G. Takaoka <takaoka@google.com> Dismiss more suggestions panel when suggestions strip is closed

This change fixes possible NPE as well.

Bug: 6658028
Change-Id: I8706808d1002b7b0b95930fd9b08568f08645da6
uggestions/MoreSuggestionsView.java
uggestions/SuggestionsView.java
d2f210dbe2c3562151f85ec25c45858462fd08ed 14-Jun-2012 Satoshi Kataoka <satok@google.com> am d9c702d2: am 5caaf1b9: Merge "Do not add profanity to user history bigram dicitonary" into jb-dev

* commit 'd9c702d2ff017452f0264f2be12b6bffd6204e4a':
Do not add profanity to user history bigram dicitonary
68c650fb2a3b26d4000e849f96f0664598c95470 13-Jun-2012 Satoshi Kataoka <satok@google.com> Do not add profanity to user history bigram dicitonary

Change-Id: I864c4206e3e6cde4d6ed687a9759e98901e16b9a
atinIME.java
9d71748ba48dbc8793f3e1ecddf5fd31b8e59613 08-Jun-2012 Jean Chalard <jchalard@google.com> Fix an occurrence of nested batch edits.

This is harmless, but against policy.
Also, rework the checking code to be more readable, give more
information, and be called for all relevant methods - and not
for informative methods, which are not required to be in a
batch edit.

Change-Id: I03fa8b2e7d68a6a133f86be8a214671750c29256
atinIME.java
ichInputConnection.java
tils.java
c7564a787ea3d6722d763575928cd2631fda6277 08-Jun-2012 Jean Chalard <jchalard@google.com> Optimization

This is much faster. It doesn't create messages, it doesn't post
stuff in a queue, it doesn't delay execution of other messages.
Also, it decouples the timer from the functionality of the Handler
so this can be pulled up in another change to consolidate with
mLastKeyTime or so.

Change-Id: I9044fc031373e66b9b40eee8025633613d0945dc
atinIME.java
72b358aa90191c10892612768e3595bc3a1ccb2d 08-Jun-2012 Jean Chalard <jchalard@google.com> Small optimization.

This will avoid some two-way IPC calls.

Change-Id: If9eb3e99b3d08346aadd4bbed2a1761f8c2527b9
atinIME.java
84bb18f4c959355cc88a8d18db0e7466f93e4267 12-Jun-2012 Satoshi Kataoka <satok@google.com> resolved conflicts for merge of ee78e780 to master

Change-Id: I88a4996bdd17c5378a67781d8075eff311670c3b
58d9e46ce0594989eb7a89be15b29472351cb01f 12-Jun-2012 Jean Chalard <jchalard@google.com> Merge "Consolidate a test."
5e50eec57070feeb3d21575ed7003a6b2939f7e5 12-Jun-2012 Kurt Partridge <kep@google.com> Merge "Check inputs to ResearchLogger"
e86054e5c2e4734d87d2fbf1eeba8c75fc888df0 08-Jun-2012 Jean Chalard <jchalard@google.com> Consolidate a test.

Stop using the numerical value, use the actual method

Change-Id: Iffa7f2d21a0471c7862afd3234cc9c5dd86feb2e
atinIME.java
65fc909e13134d34e87d5d75ff4cdd46fb9cebf0 12-Jun-2012 Kurt Partridge <kep@google.com> Check inputs to ResearchLogger

to avoid NPEs.

Bug: 6188932
Change-Id: I377ceaac867df879dc7984dae44e96b369858cca
esearchLogger.java
140adf204bdf68e25a760b371516e23f6ac51cf2 08-Jun-2012 Jean Chalard <jchalard@google.com> Consolidate auto-correction settings.

For some reason, there were several ways, not exactly identical,
to get this setting. The ones that used mAutoCorrectionEnabled
would kick in when the input field was specifying no correction,
so it would be a little strange (although harmless in the practice
because the settings set in this way would not get used later,
because the correct test would be done at that time).

Also perform a very small refactoring

Change-Id: Ica9f32b238d98009ae1852d3c1e940398f5d341c
atinIME.java
ettingsValues.java
2010aad741bc1a7266913bcb8b8348d6e401c95b 08-Jun-2012 Jean Chalard <jchalard@google.com> Move two methods in a more appropriate place

Change-Id: I512b04e23490413a44b1ca0517102fe2d9138df3
atinIME.java
ichInputConnection.java
ettingsValues.java
a32eb2721390d5964c83c787ad30fd3f61b936b0 08-Jun-2012 Jean Chalard <jchalard@google.com> Move an editing method to the RichInputConnection

Change-Id: Ie143ad008ca8deb1c5034cb80ec1cb28a6b0682d
atinIME.java
ichInputConnection.java
243e370fcb1c2cb8608614206075ecdbe79a6372 08-Jun-2012 Jean Chalard <jchalard@google.com> Move a member call out of the way

Change-Id: I5da48442c0b39aaff817c3b6d067a9b13fda0643
atinIME.java
747cf0435a7e978dfd43c30bd931b56146c3d852 08-Jun-2012 Jean Chalard <jchalard@google.com> Move two editing utility methods to RichInputConnection

Change-Id: If8d03bea1b6369cb3043da6321048d052995d664
atinIME.java
ichInputConnection.java
70a046f8ca20c350e894e2c390482b8352090944 12-Jun-2012 Jean Chalard <jchalard@google.com> Merge "Rename mSettingsValues to mCurrentSettings"
64913d72bcb8891d56e7e7d0adb8c161c6656947 12-Jun-2012 Jean Chalard <jchalard@google.com> Merge "Move suggestion strip visibility to SettingsValues"
15c0090e88e0b9cbe6bae2f1e0626ed4ddf4e41a 12-Jun-2012 Jean Chalard <jchalard@google.com> Merge "Accept a null input attributes for reading settings."
f4bc4412561c9e75b5b0f6f4590e9a99a7e0747c 12-Jun-2012 Jean Chalard <jchalard@google.com> Merge "Move the correction mode to SettingsValue and make it final"
6a71f0610c137c613a5fa44a658f31e9f4ec5525 10-Jun-2012 satok <satok@google.com> Fix UserHistoryBigram data contention in UserHistoryDictionary

Bug: 6637614
Change-Id: I34d26563e59d3b09bf35b8173dac5645ccb6a39f
serHistoryDictionary.java
411a98afb93df99ac3e7546a52cc0a26c7bfe064 11-Jun-2012 Jean Chalard <jchalard@google.com> Merge "Consolidate updateCorrectionMode() calls"
297e6d590bd957577c335aa8713a786145a70288 08-Jun-2012 Jean Chalard <jchalard@google.com> Rename mSettingsValues to mCurrentSettings

...for readability. After all, it makes sense that "current settings"
is a "SettingsValues", while it's harder to understand why we'd
manipulate an object named "SettingsValues".

Change-Id: Ide9a17b970a6cc00b80b9a217f986268c739c662
atinIME.java
d2736972598eda61a8e40a3d5b26156136e78d66 08-Jun-2012 Jean Chalard <jchalard@google.com> Move suggestion strip visibility to SettingsValues

Change-Id: If34112c69acd5122d87554043d87d8f4dbdf5d15
atinIME.java
ettingsValues.java
01e3b014bb97e649ff4cf5a58ce8285f7d800cc8 08-Jun-2012 Jean Chalard <jchalard@google.com> Accept a null input attributes for reading settings.

Change-Id: I11a8e1aca3541c35d2b39b27716687fcd8ff3dc6
atinIME.java
ettingsValues.java
4b9e6ee6fb408e2793e9ead5de2d6b45270d1f0d 08-Jun-2012 Jean Chalard <jchalard@google.com> Move the correction mode to SettingsValue and make it final

At last this guy is final, at last

Change-Id: I76911f8d47493f8a1719f75fc7e949be5d7da1a2
atinIME.java
ettingsValues.java
379118307661851e781cbc2acdb52de8abd813b3 08-Jun-2012 Jean Chalard <jchalard@google.com> Consolidate updateCorrectionMode() calls

Change-Id: I43c0505e9a1652bfc568f23b787fc68a5c5e9220
atinIME.java
e7b34b9f867b64eabc3606e5ef21e26eda8de0f6 08-Jun-2012 Ken Wakasa <kwakasa@google.com> Add NativeUtils.powf()

Change-Id: I0339f39d49bc6390d098017f32d92c776974e03e
ativeUtils.java
serHistoryForgettingCurveUtils.java
bbbdab12be748cdc2158f0e04bbb5478052ecd89 08-Jun-2012 Jean Chalard <jchalard@google.com> Move some editing methods to RichInputConnection.

Change-Id: I8527776a4bd8236a85bb77f9791f9b76977ad181
atinIME.java
ichInputConnection.java
e091982868476845acbcc8eff2ae3cad6de8776c 08-Jun-2012 Jean Chalard <jchalard@google.com> Straighten batch edits, pass 1

Change-Id: I73acfee9098a87b9cde8aca720586ec748b2a82f
atinIME.java
02308bec632a5df23325c916bffec5def16b22b4 08-Jun-2012 Jean Chalard <jchalard@google.com> Merge RichInputConnection with EditingUtils

Change-Id: I9982ff325bef56694402caef28a77683c52ccd71
ditingUtils.java
atinIME.java
esearchLogger.java
ichInputConnection.java
5475b38328171a0841ae18074bd45380ec567e90 08-Jun-2012 Jean Chalard <jchalard@google.com> Make a wrapper for the input connection.

The goal is to simplify the code in LatinIME.java as well as having
a handy place to put debug calls to see interaction with TextView.

Change-Id: I255227e7e7343e0c2f3dcd1f185e5020d6186732
atinIME.java
ichInputConnection.java
c33a5428bed2f64b2a52ad118f5869df6a7e7ba9 08-Jun-2012 Jean Chalard <jchalard@google.com> Merge "Small performance tweak"
67fd0c240d7c37b06e05333347fd17acf59fadf8 08-Jun-2012 Jean Chalard <jchalard@google.com> Remove deprecated classes.

Should we maybe rename back *BinaryDict* to *Dict* in another
change for simplicity?

Change-Id: I8f7dcb78b9bdf1a13ce403a997fbb8619f2b453b
ontactsDictionary.java
atinIME.java
uggest.java
ynchronouslyLoadedContactsDictionary.java
ynchronouslyLoadedUserDictionary.java
serDictionary.java
pellcheck/AndroidSpellCheckerService.java
d10c473347c7e21c383c56786c9eb96fd6513a5c 08-Jun-2012 Jean Chalard <jchalard@google.com> Small performance tweak

Change-Id: Icd540742073d49d12e70b2d8bd99aaf7ccb5802d
serHistoryForgettingCurveUtils.java
akedict/BinaryDictInputOutput.java
7214617622fce8f3fea6620e782c16336260a2a3 08-Jun-2012 Jean Chalard <jchalard@google.com> Remove a slew of Eclipse warnings.

Change-Id: I03236386aea13fbd4fb8eaeee18e0008aa136502
xpandableDictionary.java
atinIME.java
esearchLogger.java
ettingsValues.java
serHistoryDictionary.java
serHistoryForgettingCurveUtils.java
tils.java
akedict/BinaryDictInputOutput.java
d418580a7185754df3c9d3c65a5cd529b4bc5e25 07-Jun-2012 Ken Wakasa <kwakasa@google.com> Fix typo

Change-Id: I264f829c1584a37995dbc5ee4ba6b6783d5d4834
atinIME.java
6b8a70105f5e41ad346a1c53cbb1d1559579c313 07-Jun-2012 Tadashi G. Takaoka <takaoka@google.com> am e4da18e2: am 6348c54f: Merge "Initializing member variable before it is referenced" into jb-dev

* commit 'e4da18e27916f770fcd704032d30534d287d67c6':
Initializing member variable before it is referenced
1e96cc1f519c8c9fed3c04bc8dbb9d2cca1a58eb 07-Jun-2012 satok <satok@google.com> am 674c51a0: am ec2981a4: Fix a bug on upgrading user history scheme

* commit '674c51a01117b73dd25473195f92fb0c0158da26':
Fix a bug on upgrading user history scheme
6348c54ffd1d39be44ce42d7d2eb068cba508dbc 07-Jun-2012 Tadashi G. Takaoka <takaoka@google.com> Merge "Initializing member variable before it is referenced" into jb-dev
40582ab43851857c8bae126a9c593ccb0ced7f98 07-Jun-2012 Tadashi G. Takaoka <takaoka@google.com> Initializing member variable before it is referenced

Bug: 6584882
Change-Id: I1f76388fa8cc16171bc3fc60c935ddcf0a7c4e92
serHistoryDictionary.java
ec2981a487b91a682caade486700d8b2377a5c52 07-Jun-2012 satok <satok@google.com> Fix a bug on upgrading user history scheme

Bug: 6626700
Change-Id: I3190d7404e45e704be79ee2031e79b18475feb8c
serHistoryDictionary.java
serHistoryForgettingCurveUtils.java
11dc22d964e1ff7c1b270ac7a7be94e09bb72939 07-Jun-2012 Tom Ouyang <ouyang@google.com> Merge "Contacts binary dictionary updates with change in keyboard locale."
2e8aa0600293875c620ba7b650010cb30ec023c1 06-Jun-2012 Tom Ouyang <ouyang@google.com> Contacts binary dictionary updates with change in keyboard locale.

Bug: 6616436
Change-Id: I8d66a37f295134c5b9875b2a305a9be7442bd75d
ontactsBinaryDictionary.java
atinIME.java
c8a120f97029f912f55e2dace5ad7363e028e3bb 07-Jun-2012 Jean Chalard <jchalard@google.com> am eead5492: am 769cecf7: Close spell-checking dictionaries in a background thread

* commit 'eead5492615f0b05ef85ca1f88d3a41ce3f8d496':
Close spell-checking dictionaries in a background thread
769cecf7e79dc6e2a98e527bdb9943bef9a42396 06-Jun-2012 Jean Chalard <jchalard@google.com> Close spell-checking dictionaries in a background thread

Bug: 6584677
Change-Id: Ifd9b0f995f4e0cf4d35a7ecde767826ab976f0b8
pellcheck/AndroidSpellCheckerService.java
9b300f0caa978f4fc103c34b9be0165a49a2e24b 07-Jun-2012 Kurt Partridge <kep@google.com> Merge "add research log ui control"
724bc479f7d796d6ce5d5e200216bea855b818b2 04-Jun-2012 Kurt Partridge <kep@google.com> add research log ui control

- lets users flag a particular time in the research log
- lets users delete the log for this session

also makes the UsabilityLog setting control whether the ResearchLog logs or not.

multi-project commit with I89067e7d3b8daca7179333f1dbe82224c26920fe

Bug: 6188932
Change-Id: I89864ef3ab53b0efe1ea8d75247be08712f0c399
atinIME.java
esearchLogger.java
91c8c4f3a7a6c624f156fd1862525a2dadf062c3 06-Jun-2012 Satoshi Kataoka <satok@google.com> am e08cfda1: am 5a8d2fd1: Merge "Cache UserHistoryDictionary for each language" into jb-dev

* commit 'e08cfda1ebea693c56681816076c419f23c51076':
Cache UserHistoryDictionary for each language
5a8d2fd1d353b2039f0d340301f9dac779cb4e64 06-Jun-2012 Satoshi Kataoka <satok@google.com> Merge "Cache UserHistoryDictionary for each language" into jb-dev
a836808f8b6b4cf3d5ff2cf93f079763fca86abb 06-Jun-2012 Satoshi Kataoka <satok@google.com> Cache UserHistoryDictionary for each language

Bug: 6603257
Change-Id: I73b65e921cff8337a00594525f67f6aec2178881
atinIME.java
serHistoryDictionary.java
serHistoryDictionaryBigramList.java
21b782cf22b0d8de669d7c973059a5a2bd3d0b68 06-Jun-2012 Satoshi Kataoka <satok@google.com> Merge "Cache bigram results in Android SpellChecker"
547bc0cf0404d983248cc253525ccad16706e57d 05-Jun-2012 Satoshi Kataoka <satok@google.com> Cache bigram results in Android SpellChecker

Bug: 6610579
Change-Id: I255c068f64f99ee80abda49153ed8ea009ca8ad3
pellcheck/AndroidSpellCheckerService.java
6b3b37da97a5198acd4a31387108e0c512cd37e2 06-Jun-2012 Kurt Partridge <kep@google.com> Merge "Change constants in ResearchLogger"
876711930d79e3cb4a0fc265ba1d8e6c8018b7a7 06-Jun-2012 Tadashi G. Takaoka <takaoka@google.com> am 2eb5eb4d: am be2fef4d: Merge "Fix backing view height calculation in landscape orientation" into jb-dev

* commit '2eb5eb4d447cb326b4c10cff2cae64df4e431ffd':
Fix backing view height calculation in landscape orientation
b94f4cc71c5cbf84d07166efa42991ba96d93c73 06-Jun-2012 Tadashi G. Takaoka <takaoka@google.com> Fix backing view height calculation in landscape orientation

This logic has been dropped by Ib814c07f.

Bug: 6610497
Change-Id: Id89ad3280b73a31d8c9c6826e9ee297791624db1
atinIME.java
5235e0cd9118bdb425dbfa9180d831c8ae6b9fb4 05-Jun-2012 Jean Chalard <jchalard@google.com> am c750f9eb: am a6166d37: Fix a bug where Latin IME crashes on spell checker request

* commit 'c750f9eb5398a30b207891e6858863f493875199':
Fix a bug where Latin IME crashes on spell checker request
f93551f77b459f50329bd4008f2f70e7e67c3787 05-Jun-2012 Tom Ouyang <ouyang@google.com> am 18c4137c: am 7f7739fe: Merge "Fix a bug where the spellcheck is using the old non-binary contacts dictionary" into jb-dev

* commit '18c4137c878c18de24a406b861ddb2a735e02f7d':
Fix a bug where the spellcheck is using the old non-binary contacts dictionary
037cf8c8a52ed925ea9bb0b4ea0dcdcf52145ad8 05-Jun-2012 Satoshi Kataoka <satok@google.com> am 7394fc43: am 0e134e6b: Merge "Avoid redundant access to DB" into jb-dev

* commit '7394fc43028ef6e28579921c30915bd8a9c9c990':
Avoid redundant access to DB
c1cbcf949d0283764ad7c3bae4641ce4d1896208 05-Jun-2012 Jean Chalard <jchalard@google.com> am 9252fc1b: am dd487247: Merge "Read the script correctly" into jb-dev

* commit '9252fc1b88df0c8bd3870546d1c8ca7681e435d3':
Read the script correctly
f739119f3ff54d7c37b67b873373b236a45e47e4 04-Jun-2012 Kurt Partridge <kep@google.com> Change constants in ResearchLogger

Bug: 6188932
Change-Id: I3c6a3fb3e8fb139e16322e544f12bc3294cdaf1c
esearchLogger.java
a6166d3776c810e51789bfdc19e4823acd4a2f18 05-Jun-2012 Jean Chalard <jchalard@google.com> Fix a bug where Latin IME crashes on spell checker request

Bug: 6611183
Change-Id: I8a879feb598e1ac55d73f9cb27e54aa533d3a010
ynchronouslyLoadedContactsBinaryDictionary.java
pellcheck/AndroidSpellCheckerService.java
7f7739fee82d6f2c240d0ed44e8948d09158f13a 05-Jun-2012 Tom Ouyang <ouyang@google.com> Merge "Fix a bug where the spellcheck is using the old non-binary contacts dictionary" into jb-dev
0e134e6be83928a6c36df231c429f3d0766f1afa 05-Jun-2012 Satoshi Kataoka <satok@google.com> Merge "Avoid redundant access to DB" into jb-dev
dd4872474a8dacf410b9b4810a8d82adcd995dff 05-Jun-2012 Jean Chalard <jchalard@google.com> Merge "Read the script correctly" into jb-dev
faf0059f35301bede63619d1f6e7b2c3a7fea97b 04-Jun-2012 Tom Ouyang <ouyang@google.com> Fix a bug where the spellcheck is using the old non-binary contacts dictionary

Bug: 6607023
Change-Id: I6dc120dea23052a0841e281c20706bfb21fd9876
pellcheck/AndroidSpellCheckerService.java
a8c13e7942ed88f58b534f2f853dafb804a72894 04-Jun-2012 Satoshi Kataoka <satok@google.com> Avoid redundant access to DB

Bug: 6603257
Change-Id: I2e8017f9e2e222aeab0a80faa239ce83d3b212ad
serHistoryDictionary.java
serHistoryDictionaryBigramList.java
b1f3c24c6326ad63b4fcad4014c20161984e40ef 04-Jun-2012 Jean Chalard <jchalard@google.com> Read the script correctly

The script of a language presumably does not depend on the
country variant. This was how it was made but it was later
forgotten and the full locale was registered.

Bug: 6542210
Change-Id: Iebc90c546f9c8caf89f8aa6c6a7c4733e5bcba48
pellcheck/AndroidSpellCheckerService.java
9895b815a8acefd26f2865f803fefed1deafb60d 04-Jun-2012 Tadashi G. Takaoka <takaoka@google.com> am e2832daf: am 8cf3654a: Merge "Use calculated backing view height instead of the view\'s height" into jb-dev

* commit 'e2832daf4c289f94d68c546c485fc06bbf6aefd6':
Use calculated backing view height instead of the view's height
bc5b89cdff7065b7eab0b9f230b37084d9a6446f 04-Jun-2012 Tadashi G. Takaoka <takaoka@google.com> Use calculated backing view height instead of the view's height

This change removes the work around that was introduced by If4f24500.

Bug: 6596131
Change-Id: Ib814c07fdac7d0aa0d7fbc2764fda1af42b82ad5
atinIME.java
4a9e5d2c95c9aaf7f99f473d530e7eadaff619bf 02-Jun-2012 Ken Wakasa <kwakasa@google.com> am a8b7451b: am 027448e0: Remove an unnecessary thread.

* commit 'a8b7451b31872d217cd61b7d0e6fbbf7221781c8':
Remove an unnecessary thread.
027448e08a3df50a2ae9513d972fa60b047f6766 02-Jun-2012 Ken Wakasa <kwakasa@google.com> Remove an unnecessary thread.

bug: 6584677

While looking at bug 6584677, we found that LatinIME always spawns an unnecessary thread
for Usability Study Mode. We don't assume this change will address the root cause of the
bug, but we'd like to remove any suspicious noises in bugreports.

Change-Id: Ie47d104f6cd77ec2ad164f13b4212cb4a70bcf1d
tils.java
083fb024d7a6cb5a18af3965ba5cc16b8f19822c 01-Jun-2012 satok <satok@google.com> am e6560252: am 72cd8466: Merge "Fix NPE in user history bigram dictionary" into jb-dev

* commit 'e656025282c0da28ed80b2604949092dbc5fb72e':
Fix NPE in user history bigram dictionary
4f96bb4520de3610ae94da96b98e507ca7b76362 01-Jun-2012 satok <satok@google.com> Fix NPE in user history bigram dictionary

Bug: 6584882
Change-Id: Id0162bffc4f0f36239cdc68383f8a47d7a957397
atinIME.java
76dbab8eb8e3fcece356801338f48e4c2d0a233e 01-Jun-2012 Kurt Partridge <kep@google.com> Merge "Include version number in log output."
58caa775a700e99d18cdca922861f1882bf8d1f4 31-May-2012 Kurt Partridge <kep@google.com> Include version number in log output.

Bug: 6188932
Change-Id: I1039a3ad317d207599f30fe578bdf814c80d6852
esearchLogger.java
b012f45242f8bdc2e1d73165e2cd9942e092c9a5 31-May-2012 Jean Chalard <jchalard@google.com> am bb104678: am 6f0cd9ba: Fix a possible NPE.

* commit 'bb10467863ff531c5cbee8ffd72845a91e487e72':
Fix a possible NPE.
6f0cd9ba6df3f254d4f5bfc5ac11e354e858b713 31-May-2012 Jean Chalard <jchalard@google.com> Fix a possible NPE.

This NPE's at least in unit tests.

Change-Id: I255ac5fec9502e4e5bd18cba1211cdf46c6cafc8
argetApplicationGetter.java
3d7312af5b7265bc98738c0d1143cdbbedd541a6 30-May-2012 Jean Chalard <jchalard@google.com> am 40bab488: am 4f78f8cb: Merge "Remove a vibration-related option when there\'s no vibrator" into jb-dev

* commit '40bab488cb70875f46e29f595d577cc6cc4a9264':
Remove a vibration-related option when there's no vibrator
c7f2878cf5d507cce19adbe7dcb75f359366ccd9 30-May-2012 Jean Chalard <jchalard@google.com> Remove a vibration-related option when there's no vibrator

Bug: 6567160
Change-Id: I1b5d425ffb64b2d7390cd0b7be0825f6aca17f41
ettings.java
30ff0898fd574348541b7e6b224ea91e629208b6 30-May-2012 Kurt Partridge <kep@google.com> Merge "Fixes to json output"
86fcadde5d1ca69e4d93dc7cf5e72c763a32ac84 29-May-2012 Kurt Partridge <kep@google.com> Fixes to json output

- booleans and numbers in SharedPreferences not quoted as strings
- removed redundant logging from KeyboardState
- json output for KeyboardId
- remove unnecessary logging of LatinImeLogger.onStartView() and PointerTracker checking keyboardlayoutchange
- fix to day-of-month part of uuid

Multi-project commit with Idb8f190214f852ab2b58df49f9e514dc7fcbecbb

Bug: 6188932

Change-Id: I67b4a0b34aa26c2804e2b3ee2136614f0ec8181a
esearchLogger.java
609ce32a4da5cc5160c16d4c6f7398e845fe6675 29-May-2012 Tom Ouyang <ouyang@google.com> am 126ed424: am 1ed017ef: Fix performance issue when there are no contacts in the dictionary dictionary.

* commit '126ed42415a4dc3841e8981a23cbe8a22a9e2213':
Fix performance issue when there are no contacts in the dictionary dictionary.
1ed017ef0e271ed3f3c212def6cc6ba95b14e780 25-May-2012 Tom Ouyang <ouyang@google.com> Fix performance issue when there are no contacts in the dictionary dictionary.

Bug: 6551480
Change-Id: I8681a1bd82423c612af2d012f9b872501d8c201d
ontactsBinaryDictionary.java
xpandableBinaryDictionary.java
c5d4362b59e98c07846e90cd2514ab9802bdfbad 29-May-2012 Satoshi Kataoka <satok@google.com> am 408fa1ac: am 961e676b: Merge "Set level 1 as the initial value of the valid words" into jb-dev

* commit '408fa1ac48a3eb6f378274d5dd0e490da0f453ae':
Set level 1 as the initial value of the valid words
c88f61215c5b9ca6e0cc3f776e3b7da19eec9cae 29-May-2012 Satoshi Kataoka <satok@google.com> Set level 1 as the initial value of the valid words

Bug: 4192129
Change-Id: I867e78ce79c78977d08e8b66881a25b6fe5bf41f
utoCorrection.java
inaryDictionary.java
ictionary.java
ictionaryCollection.java
xpandableDictionary.java
atinIME.java
serHistoryDictionary.java
serHistoryForgettingCurveUtils.java
9a989492db2a2aaf1e499dd49299fc3239ac5d7e 29-May-2012 Satoshi Kataoka <satok@google.com> am 40ab25ca: am 51705efc: Merge "Add a JNI to get the frequency" into jb-dev

* commit '40ab25cab0e723f34dc2f1442f414761149b2338':
Add a JNI to get the frequency
2f854e170c9fde47cae804145f90d164cdb5ceb8 29-May-2012 Satoshi Kataoka <satok@google.com> Add a JNI to get the frequency

Bug: 4192129
Change-Id: I3f220f5a10114d4eb23956148076cf76220bda0f
inaryDictionary.java
a62f6e363d3a835e92f9fb8781fb726161f0f97f 29-May-2012 Satoshi Kataoka <satok@google.com> am d882aead: am bd40b94f: Merge "Optimize the store of bigram list" into jb-dev

* commit 'd882aeadb07d16ed887c71895577faabbd635ff3':
Optimize the store of bigram list
bd40b94f965b1602bea35fd92f2f05d524f9ab3b 29-May-2012 Satoshi Kataoka <satok@google.com> Merge "Optimize the store of bigram list" into jb-dev
bc5688506229bd5cd5e6f4dcdc73c21dc6b80ecb 28-May-2012 Satoshi Kataoka <satok@google.com> Optimize the store of bigram list

Bug: 4192129

Change-Id: Idcc62e4f9696b56b1d7013891b2da37b1784423e
serHistoryDictionary.java
serHistoryDictionaryBigramList.java
serHistoryForgettingCurveUtils.java
1963e46080d4cc3fd911a3fe19f92de33032bed0 29-May-2012 Satoshi Kataoka <satok@google.com> am 7317a257: am 24c4d626: Merge "Fix NumberFormatException" into jb-dev

* commit '7317a257e553c6ecc7adb4211a0370d502bfa0fe':
Fix NumberFormatException
48255b174736bd67480595317d87add5bc90ccdf 29-May-2012 Satoshi Kataoka <satok@google.com> Fix NumberFormatException

Bug: 6567496
Change-Id: Ib0d9fab8496c8c856b94cce5812a263efbcb724f
tils.java
1c6994268382ea6732b4b4541fa4da715096cf12 28-May-2012 satok <satok@google.com> am fff5cd6f: am aa064139: Merge "Forget user history" into jb-dev

* commit 'fff5cd6f767e248ecb5b30ea39cb9a22a476b953':
Forget user history
aa0641394b7ffc16c462c5d9cc269d1f5114748f 28-May-2012 satok <satok@google.com> Merge "Forget user history" into jb-dev
fd53b8cc2b78acd7e33f4dc39cfc2faaea92f0f8 18-May-2012 satok <satok@google.com> Forget user history

Bug: 4192129

Change-Id: Ic98398e5383093a1c24373849eadc48fc4d3626f
ontactsDictionary.java
xpandableDictionary.java
atinIME.java
ettings.java
ettingsValues.java
serHistoryDictionary.java
serHistoryForgettingCurveUtils.java
tils.java
1a31b4e484e33cdeba8676b09a7afc9738d1f027 28-May-2012 Jean Chalard <jchalard@google.com> am fac23787: am bed613cf: Merge "Simulate hardware enter/delete events if the app targets < 16" into jb-dev

* commit 'fac23787bbd7723acba4e7e344aa6f799d9584f6':
Simulate hardware enter/delete events if the app targets < 16
bed613cf11914f2510478fd4754a0802863ce4af 28-May-2012 Jean Chalard <jchalard@google.com> Merge "Simulate hardware enter/delete events if the app targets < 16" into jb-dev
4e1a558ee8d7747b71dba5aac86a7c9003d6f57d 25-May-2012 Jean Chalard <jchalard@google.com> Simulate hardware enter/delete events if the app targets < 16

This will make text input buggy on all apps until they target
JB or superior.

Bug: 6537051
Change-Id: I726347db8c84d1582ad1962d3a910e698389e08c
atinIME.java
6d7ac8a4ef9d0ed4688a6d8b12764e58b611c58e 25-May-2012 Jean Chalard <jchalard@google.com> am 250f6a44: am 123017cc: Merge "Wipe the application cache selectively" into jb-dev

* commit '250f6a44a7585d61175ec983f9afd43081cd636f':
Wipe the application cache selectively
f27ac2733cc00b7f5f8c7a840027001a5e8a2702 25-May-2012 Jean Chalard <jchalard@google.com> am d45e334f: am 7707e045: Merge "Cache application info." into jb-dev

* commit 'd45e334f5a73d2cc36800a81e1bbf881e633f026':
Cache application info.
123017cc74eddf16698889539f6274025ee30155 25-May-2012 Jean Chalard <jchalard@google.com> Merge "Wipe the application cache selectively" into jb-dev
7707e0459ff54edc701f7f84dd222861c62445c7 25-May-2012 Jean Chalard <jchalard@google.com> Merge "Cache application info." into jb-dev
64766fbcaabd57f6dbd303126f5021a38590a9fc 25-May-2012 Jean Chalard <jchalard@google.com> am 6691bd67: am 9b93817b: Merge "Get information about the target application." into jb-dev

* commit '6691bd675a555163aa59c2ac791c6138c1d8a32c':
Get information about the target application.
0dfbde09b2f88488b05bf7c871f7e31f95c5877b 25-May-2012 Tadashi G. Takaoka <takaoka@google.com> am 41cf0ced: am b6c314e4: Merge "Clean up some compiler warnings" into jb-dev

* commit '41cf0ced38912c5f4a6d11a88c0deb4ac4d01860':
Clean up some compiler warnings
9b93817b7facad2510f54d419fc11bccfaf09012 25-May-2012 Jean Chalard <jchalard@google.com> Merge "Get information about the target application." into jb-dev
93ebf74bae44728e0d5f7e738ea28376187a876e 25-May-2012 Tadashi G. Takaoka <takaoka@google.com> Clean up some compiler warnings

Change-Id: I604da15e65fc3cf807ec4033df4e4cd5ef0196fc
ontactsDictionary.java
ictionary.java
ictionaryFactory.java
xpandableDictionary.java
esearchLogger.java
serDictionary.java
akedict/BinaryDictInputOutput.java
akedict/FusionDictionary.java
pellcheck/AndroidSpellCheckerService.java
eb696d288ea19d3d64f932fd017da7d7187ba6e1 25-May-2012 Jean Chalard <jchalard@google.com> Wipe the application cache selectively

Bug: 6537051
Change-Id: I839d0a98c729f3604582946d70c0140a5cff7dcf
ictionaryPackInstallBroadcastReceiver.java
argetApplicationGetter.java
1b1243d61fd682d804e61de6a1eccbf0e8ba78b2 25-May-2012 Jean Chalard <jchalard@google.com> Cache application info.

Bug: 6537051
Change-Id: Ieca891235df0d697bdeb0510651b703654fdef38
atinIME.java
argetApplicationGetter.java
b224b60c94d85f30de93f66685adf06e662618c0 25-May-2012 Jean Chalard <jchalard@google.com> Get information about the target application.

Bug: 6537051
Change-Id: I9fe7a07b5ddf2a423d5764840753ea70544206f1
atinIME.java
argetApplicationGetter.java
5ea26193a231593a8c89312b4c1eeeec73108b37 24-May-2012 Jean Chalard <jchalard@google.com> am d8b3e5c6: am 0c207144: Merge "Fix a bug with a concurrent modification of a map." into jb-dev

* commit 'd8b3e5c69f4de663c748c82155fc3b8854119826':
Fix a bug with a concurrent modification of a map.
1b06b59e28743b713947947437ea5b312477f808 24-May-2012 Jean Chalard <jchalard@google.com> Fix a bug with a concurrent modification of a map.

Bug: 6538848
Change-Id: I1a8422356d9909213e53cfdc8c5bcc12eb48f19d
utoCorrection.java
uggest.java
35dacc8e78b8b6929f8aac05d77fa2c4118018eb 24-May-2012 Jean Chalard <jchalard@google.com> am 9b98c4a8: am 69897af2: Merge "Add new locales for the spell checker." into jb-dev

* commit '9b98c4a8ce496fa45b8ad6e7da57063c79d1d9e4':
Add new locales for the spell checker.
69897af20db8fc0cb7cbf3d218cc1760ee200c43 24-May-2012 Jean Chalard <jchalard@google.com> Merge "Add new locales for the spell checker." into jb-dev
d527a15ec44089930dd23c9e20b8672024a4555b 23-May-2012 Jean Chalard <jchalard@google.com> Add new locales for the spell checker.

Bug: 6533167
Change-Id: I1581e8446b1af5dc3679e01be16d4fc34af725cc
pellcheck/AndroidSpellCheckerService.java
fe36e7fd9b0692acbe7af24e54e261fc8ca2d2d0 24-May-2012 Tadashi G. Takaoka <takaoka@google.com> am 9c239184: am 49afe45d: Fix build

* commit '9c239184530be37fa806cf37a4f19ae0bc824aec':
Fix build
49afe45d8ea09dd51bbe27f10b0210adf37cdb3f 24-May-2012 Tadashi G. Takaoka <takaoka@google.com> Fix build

Follow up of I7822adf407

Change-Id: Iac75c0f2ff2482bce1305c54cb25b708037db6c6
dditionalSubtype.java
516b785ce03fb7dba1b9305e2635e9d41c9a5a66 24-May-2012 Tadashi G. Takaoka <takaoka@google.com> am bc48a8f7: am c60a846e: Fix NPE in Settings.updateCustomInputStylesSummary

* commit 'bc48a8f7ab0d9003a9c97ceb7d85bcf0502785a6':
Fix NPE in Settings.updateCustomInputStylesSummary
c60a846e219ead1a40307d1a562013c38ea81b9d 24-May-2012 Tadashi G. Takaoka <takaoka@google.com> Fix NPE in Settings.updateCustomInputStylesSummary

Change-Id: I7822adf407046098f97bf60da9382910c0a40209
dditionalSubtype.java
8822d5a346d4b5d2f5c689bb78d660c3ff28fe98 24-May-2012 satok <satok@google.com> am 60b2d84d: am 1e1235fe: Merge "Support bigram suggestions in Android spell checker" into jb-dev

* commit '60b2d84d82ce8fd4a7bf4592d5229ee2436a675c':
Support bigram suggestions in Android spell checker
1e1235feeb5454dc8dd76d68dbf634b35d2d20f2 24-May-2012 satok <satok@google.com> Merge "Support bigram suggestions in Android spell checker" into jb-dev
315d731d8f11929b6202020475a477024067c1f1 23-May-2012 satok <satok@google.com> Support bigram suggestions in Android spell checker

Bug: 6136291
Change-Id: Ic278153f95b23e9aa180d1d6b5960785766d96e5
pellcheck/AndroidSpellCheckerService.java
6d6c070eba85da2c213c1454ff1d6f3dc49a81d9 24-May-2012 satok <satok@google.com> am 925212ff: am c54d558e: Cancel adding user history bigram when autocorrection is cancelled

* commit '925212ff4b3d6ff4182a94a133c0e4a4f23dd6aa':
Cancel adding user history bigram when autocorrection is cancelled
c54d558e2e70bdfb2c1078cae7b88440d421dc67 23-May-2012 satok <satok@google.com> Cancel adding user history bigram when autocorrection is cancelled

Bug: 6465474
Change-Id: Ifbfe0ddc2ce5fab070939ede3db7bf03a8535a45
xpandableDictionary.java
astComposedWord.java
atinIME.java
serHistoryDictionary.java
ordComposer.java
bf52a18806e39da33fbd926d9c3b368f7a46dfd1 23-May-2012 Jean Chalard <jchalard@google.com> am a6f86554: am 0b6b6ee5: Merge "Notify the dictionary pack about copy failures" into jb-dev

* commit 'a6f865541bb1f0db7d179d77d6c4fe10a22dc109':
Notify the dictionary pack about copy failures
0b6b6ee542c0e143868538acdf5b161013c0b1de 23-May-2012 Jean Chalard <jchalard@google.com> Merge "Notify the dictionary pack about copy failures" into jb-dev
3abac7e28e9fbfc96b146abc0028fb5a2a5973da 23-May-2012 Jean Chalard <jchalard@google.com> Notify the dictionary pack about copy failures

Bug: 6532896
Change-Id: I57f7b1a400222c89776f9bff652a7da4470232c5
inaryDictionaryFileDumper.java
ced9f4e385b524b83b910bedcffedb508f3d17ad 23-May-2012 Tadashi G. Takaoka <takaoka@google.com> am 0673e941: am 4cba9f58: Merge "Remove unused private method Suggest.searchBigramSuggestion" into jb-dev

* commit '0673e941eb26b491f53bbbb2bbdc49bfd07ff973':
Remove unused private method Suggest.searchBigramSuggestion
4cba9f58d46e390ccdff0450cd4bf7be1d106b5a 23-May-2012 Tadashi G. Takaoka <takaoka@google.com> Merge "Remove unused private method Suggest.searchBigramSuggestion" into jb-dev
7555c3bb18230ce1e76d77e13183f3a17975f019 23-May-2012 Jean Chalard <jchalard@google.com> am 41531cfb: am ff4c037c: Merge "Remove an updated dictionary that changed locales" into jb-dev

* commit '41531cfb7413b22267b17359a76fc47432152d57':
Remove an updated dictionary that changed locales
ff4c037c9dc3533bcaa131fd0405fb8aeea60af4 23-May-2012 Jean Chalard <jchalard@google.com> Merge "Remove an updated dictionary that changed locales" into jb-dev
b9e2bce95e955b6393c25226ab62fa44d24b904a 23-May-2012 Jean Chalard <jchalard@google.com> Remove an updated dictionary that changed locales

When a dictionary changes locale, we need to remove the file
that corresponds to the old version. It has a different path
than the new one, so we have to search for it explicitly.

Bug: 6540631
Change-Id: Ie9d63ba636651fe90f8fbb9627b7265ac7b34ccd
inaryDictionaryFileDumper.java
inaryDictionaryGetter.java
b5db270962f03abd6ba416e3fddf02356e8b7ce9 23-May-2012 Tadashi G. Takaoka <takaoka@google.com> Remove unused private method Suggest.searchBigramSuggestion

Change-Id: I077c4c019676fefb8eac6042bd7db1b7ab33ca03
uggest.java
307b882c09c4f9bae53b4aeaa8bfb7d57ee88854 23-May-2012 Tadashi G. Takaoka <takaoka@google.com> am e0e7bba1: am 24ce3645: Merge "Fix RuntiomeException when no custom input style is defined" into jb-dev

* commit 'e0e7bba154cdc22cf603687eeb8a46e7b57e2eb6':
Fix RuntiomeException when no custom input style is defined
24ce36458690b34e7315556094b6943003cc490e 23-May-2012 Tadashi G. Takaoka <takaoka@google.com> Merge "Fix RuntiomeException when no custom input style is defined" into jb-dev
d6e238fc33e9f3fd280460de1069d24526a23271 23-May-2012 Tadashi G. Takaoka <takaoka@google.com> Fix RuntiomeException when no custom input style is defined

Bug: 6524480
Change-Id: I6bceea9fe07095b9ff3ed25c5677a82fa5d4086a
dditionalSubtype.java
008b528cbd52fbd8180da56e6e4d251d1a503293 23-May-2012 Jean Chalard <jchalard@google.com> am c4f66d32: am 6c034901: Fix an NPE

* commit 'c4f66d3233159ee224dd0b30dd117fe539af2be6':
Fix an NPE
6c0349012eb0edad56b6b89defebb922bbddbb34 23-May-2012 Jean Chalard <jchalard@google.com> Fix an NPE

Bug: 6538761
Change-Id: Id85486ee93437cfec7db421d5c7f2d7980a7e32e
atinIME.java
8ccc875754dba1260e9565ae97046ab9c92b9f0e 22-May-2012 Kurt Partridge <kep@google.com> Merge "switch ResearchLogger output to json."
906857430b20cb947c72b2319136747a7c3c1fac 22-May-2012 Jean Chalard <jchalard@google.com> am 37105e86: am 09c4909c: Merge "Remove a high surrogate after a delete if any" into jb-dev

* commit '37105e8636fc84f9e903581443730a0bf6692996':
Remove a high surrogate after a delete if any
978c96aa995015658070346b60826a3a34fdaf84 22-May-2012 Jean Chalard <jchalard@google.com> Remove a high surrogate after a delete if any

Bug: 6526328
Change-Id: Iae70cad7b3c114bc13af48ae0eadd52ab88e8471
atinIME.java
07cd1e1731a07ae014a78db59b518ff0dbce3e35 14-May-2012 Kurt Partridge <kep@google.com> switch ResearchLogger output to json.

use multiple logging files, clean up internal nested class structure.

multi-project commit with I1813b6710ef586d96cf8936662f58b870040d6e5

Bug: 6188932
Change-Id: I438790e28f74747c4c1a48a20c1942a0fd818b6c
atinIME.java
esearchLogger.java
c6f4d16826320bf8e3aba258b3068fedd51e050d 22-May-2012 Tom Ouyang <ouyang@google.com> am b9c597a7: am 2798c85c: Fix cursor leak in ContactsBinaryDictionary

* commit 'b9c597a72d2e20a23351a832916cea7353f4fc41':
Fix cursor leak in ContactsBinaryDictionary
2798c85c0f77fdf4f12eccfe241f84ddec3de994 22-May-2012 Tom Ouyang <ouyang@google.com> Fix cursor leak in ContactsBinaryDictionary

Bug: 6529131
Change-Id: I86493705fbf069ba7a6c43581cfbd1bcc27ff1ba
ontactsBinaryDictionary.java
d4577f738b11f191fd319c3763ab2fd0dbd278ae 21-May-2012 Tadashi G. Takaoka <takaoka@google.com> am 82ffc9fe: am 16950d65: Reset automatic upper case when chroding key is pressed

* commit '82ffc9fe5f7255c902e371bb5353bdef97205fd6':
Reset automatic upper case when chroding key is pressed
1e18869be6509dc0cb1960e872a7396b5271eb94 21-May-2012 Tadashi G. Takaoka <takaoka@google.com> am 2eb4565b: am fc0a0015: Mark UserDictionary and ContactsDictionary as deprecated

* commit '2eb4565ba33d158520eba693abe3bb263853104e':
Mark UserDictionary and ContactsDictionary as deprecated
865df41ba840603e86dc8011c16af339e13b71bc 21-May-2012 Tadashi G. Takaoka <takaoka@google.com> am 647827cc: am 78e3977e: Get rid of unused CODE_HAPTIC_AND_AUDIO_FEEDBACK

* commit '647827cc0171f7dc5d425dea5754fca3df49d036':
Get rid of unused CODE_HAPTIC_AND_AUDIO_FEEDBACK
1c8d9a33bb250b6ec35de5d93caad75bc36a4281 21-May-2012 Ken Wakasa <kwakasa@google.com> am 1dbfbc60: am fd08b439: Tiny comment update to reflect what the class does more accurately.

* commit '1dbfbc60e7e385455f07ad4c11c34addda5c4902':
Tiny comment update to reflect what the class does more accurately.
cfec078d8b567362bd6d04f8e5957826a06a7feb 21-May-2012 Tom Ouyang <ouyang@google.com> am 4bdb2bf3: am e1128687: Merge "Change to a binary version of the expandable user dictionary." into jb-dev

* commit '4bdb2bf3b9cceb99736a736de42088fcf3bd1a0f':
Change to a binary version of the expandable user dictionary.
6fbb8c8fc3f7ff1096477e3c8ea15fb295d42637 21-May-2012 Tadashi G. Takaoka <takaoka@google.com> am 628a5745: am 75c60bf3: Merge "Change auto caps mode argument to int type" into jb-dev

* commit '628a5745e19d227cdff2370704a4958e2791eb5a':
Change auto caps mode argument to int type
ef04186ce832149da113073c20b06b8993276dd9 21-May-2012 satok <satok@google.com> am 9a06a1e9: am 468ac358: Merge "Add utils for forgetting curve" into jb-dev

* commit '9a06a1e9eab191838a623aa074c65fd77a2ac7d9':
Add utils for forgetting curve
45befb946fd64fa5afd2f7e72b2052e721720256 21-May-2012 Jean Chalard <jchalard@google.com> am 9ad774d1: am 91492993: Merge "Close batch edit" into jb-dev

* commit '9ad774d1f68bf3d2a4c38e5b4c3a2fa03e371eff':
Close batch edit
9d0c15d9b4b635707a91f8750056a3ccd01be2d2 21-May-2012 Tadashi G. Takaoka <takaoka@google.com> am da3ba3e2: am 8ec3a42d: Merge "Check duplicated entry of "custom input style"" into jb-dev

* commit 'da3ba3e2549cc69c360fede58b7e170d92e67b0a':
Check duplicated entry of "custom input style"
c95097f8efddaef3185233f931a935c5e85be418 21-May-2012 Jean Chalard <jchalard@google.com> am b7ee6484: am 6139016b: Merge "Fix a bug where the previous word would not be read correctly" into jb-dev

* commit 'b7ee64844c373a80969d3b98a31e56ecbdfc8bc7':
Fix a bug where the previous word would not be read correctly
8717ad4cbd1698810335d7e758e073a33a968422 21-May-2012 Jean Chalard <jchalard@google.com> am 79daef2e: am 71b047e3: Merge "Don\'t deactivate the LastComposedWord on shift" into jb-dev

* commit '79daef2e9b29b67048cd052b33c88675a0c62220':
Don't deactivate the LastComposedWord on shift
16950d65c323f99507d97cb7f0403dc653e2506c 16-May-2012 Tadashi G. Takaoka <takaoka@google.com> Reset automatic upper case when chroding key is pressed

Bug: 6501446
Change-Id: Idc3b88b5370c0d7968cc388885e9066f922cfcf3
atinIME.java
fc0a0015f8859dc6c218af69f154687fab031fe9 21-May-2012 Tadashi G. Takaoka <takaoka@google.com> Mark UserDictionary and ContactsDictionary as deprecated

Bug: 6473962
Change-Id: I14477f99f67aedf756d9387ec1d50ef57a1c079e
ontactsDictionary.java
serDictionary.java
78e3977e90a9946a057dfb628f99683e386015bd 20-May-2012 Tadashi G. Takaoka <takaoka@google.com> Get rid of unused CODE_HAPTIC_AND_AUDIO_FEEDBACK

Bug: 6523953
Change-Id: Ibea6c74d00e956116f492a3bedfe40e580b4c316
atinIME.java
fd08b4390ec3a2ccd030579903e6a1d523b2e7ed 20-May-2012 Ken Wakasa <kwakasa@google.com> Tiny comment update to reflect what the class does more accurately.

Change-Id: I9eab3b5d387a5bf5d9b7fce4c1618170a7f34727
uggestions/SuggestionsView.java
e1128687b101e6bda47e8dc2b8fcb5a3519a8ccf 18-May-2012 Tom Ouyang <ouyang@google.com> Merge "Change to a binary version of the expandable user dictionary." into jb-dev
553e2f19c1607080ff874cb642237f947809cdb3 18-May-2012 Tadashi G. Takaoka <takaoka@google.com> Change auto caps mode argument to int type

Bug: 6501446
Change-Id: I3f7bc0fc39edd29ebf96107c3d43b9ccc9b8022e
onstants.java
atinIME.java
esearchLogger.java
607a9244861ee22c25aaea6ffdfa19fccf497b0b 17-May-2012 satok <satok@google.com> Add utils for forgetting curve

Bug: 4192129
Change-Id: Iebb7ac355e1c1891da31c33754315bd76a61889b
serHistoryForgettingCurveUtils.java
d4cacb1e41263ea4d78e7328f9d7ee173b79c4ea 18-May-2012 Jean Chalard <jchalard@google.com> Close batch edit

This does the same thing as Ie30e1aff but differently

Bug: 6512086
Change-Id: I47ae990510d3f657abd45ad5f0e325d93dec83c0
atinIME.java
f6adff6227a15af105dbf39c57213a24bf16780b 23-Apr-2012 Tom Ouyang <ouyang@google.com> Change to a binary version of the expandable user dictionary.

Bug: 6435677
Change-Id: If83409f699608d443796e64a3c65692ae81b98e6
ontactsBinaryDictionary.java
xpandableBinaryDictionary.java
atinIME.java
ynchronouslyLoadedContactsBinaryDictionary.java
ynchronouslyLoadedUserBinaryDictionary.java
ynchronouslyLoadedUserDictionary.java
serBinaryDictionary.java
serDictionary.java
pellcheck/AndroidSpellCheckerService.java
8ec3a42d2bb93fc6b06236411a9876215792412d 17-May-2012 Tadashi G. Takaoka <takaoka@google.com> Merge "Check duplicated entry of "custom input style"" into jb-dev
749b2a388edc3e86e4af1208740caccb7e39b7cd 16-May-2012 Tadashi G. Takaoka <takaoka@google.com> Check duplicated entry of "custom input style"

Bug: 6495488
Change-Id: Ia6c2421cb0e7c1793d4dfe18acd07fd6f8c5d797
dditionalSubtypeSettings.java
mfUtils.java
ubtypeSwitcher.java
6139016b2b51ccfbd31079064804c1a61a6ff87e 17-May-2012 Jean Chalard <jchalard@google.com> Merge "Fix a bug where the previous word would not be read correctly" into jb-dev
6e5ca890504f96844ba2585be4a3b50786213228 17-May-2012 Jean Chalard <jchalard@google.com> Fix a bug where the previous word would not be read correctly

Bug: 6510002
Change-Id: Id30f67e0ca6f7a6fbbbd07922ae19e416c5ef55e
ditingUtils.java
125de3dfdf548359de890247907f2e6f430008ec 17-May-2012 Jean Chalard <jchalard@google.com> Don't deactivate the LastComposedWord on shift

Bug: 6495116
Change-Id: Ib86de02a1216146082bf58a033982ac37fefffe1
atinIME.java
ac067f2db73f8c15819edf765f33bd340eea522f 16-May-2012 satok <satok@google.com> am 0028ed36: Use "float" instead of "double"

* commit '0028ed3627ff4f37a62a80f3b2c857e373cd5090':
Use "float" instead of "double"
0028ed3627ff4f37a62a80f3b2c857e373cd5090 16-May-2012 satok <satok@google.com> Use "float" instead of "double"

Change-Id: I93ed4d88ede4058f081dd8d634b00dfff4e96d07
utoCorrection.java
inaryDictionary.java
ettingsValues.java
uggest.java
pellcheck/AndroidSpellCheckerService.java
080bc96786af391d508d2d2f91a407db71345539 16-May-2012 satok <satok@google.com> am f837b57b: Merge "Reorder suggestions result according to auto correction threshold" into jb-dev

* commit 'f837b57bf51b2767ec62a6140b28d84383ad75b1':
Reorder suggestions result according to auto correction threshold
f837b57bf51b2767ec62a6140b28d84383ad75b1 16-May-2012 satok <satok@google.com> Merge "Reorder suggestions result according to auto correction threshold" into jb-dev
db1939dbaa1de59eaf5693e2c89b02b323e9aac8 15-May-2012 satok <satok@google.com> Reorder suggestions result according to auto correction threshold

Bug: 5413904
Change-Id: I3aa3a8109ba45d2129b58d8242866fd3dd3473cb
uggest.java
b6d040c57fdb8c7758c2e0e84e1cb241ce4e2455 16-May-2012 Tadashi G. Takaoka <takaoka@google.com> am b8b9ed81: Merge "Show dialog to guide the user to input subtype enabler" into jb-dev

* commit 'b8b9ed8187d7d472e7803dd82e68fce7a5816d8e':
Show dialog to guide the user to input subtype enabler
50e373943d79f2442abe9d937c1d92e4bef614dd 16-May-2012 Tadashi G. Takaoka <takaoka@google.com> am bd85efd5: Merge "Set divider icon\'s alpha value on the fly" into jb-dev

* commit 'bd85efd5fb70496b05aa7a3dd7646dca894a9464':
Set divider icon's alpha value on the fly
b8b9ed8187d7d472e7803dd82e68fce7a5816d8e 16-May-2012 Tadashi G. Takaoka <takaoka@google.com> Merge "Show dialog to guide the user to input subtype enabler" into jb-dev
bd85efd5fb70496b05aa7a3dd7646dca894a9464 16-May-2012 Tadashi G. Takaoka <takaoka@google.com> Merge "Set divider icon's alpha value on the fly" into jb-dev
93661b3b353e40dd851c439b7c6dae8b058e8d52 16-May-2012 Jean Chalard <jchalard@google.com> am ed49e4d8: Merge "Stop meaningless bigram computations" into jb-dev

* commit 'ed49e4d82e3050bcf0e96babb40ce908d03f87f2':
Stop meaningless bigram computations
ed49e4d82e3050bcf0e96babb40ce908d03f87f2 16-May-2012 Jean Chalard <jchalard@google.com> Merge "Stop meaningless bigram computations" into jb-dev
1f2d0aa6c9b343848ee51e5bc13ccaaadf3ba4fe 16-May-2012 Tadashi G. Takaoka <takaoka@google.com> Set divider icon's alpha value on the fly

Bug: 6183494
Change-Id: I61a0c7617648d9c52e5001b3479afa0ab4913adc
uggestions/MoreSuggestions.java
7566448ddf6ed2dd3ddfc6b2b366669ed3669e83 15-May-2012 Tadashi G. Takaoka <takaoka@google.com> Show dialog to guide the user to input subtype enabler

Bug: 6370433
Change-Id: Ic5777c1d95fe2ce9f48c72b8cc05c7ac250f4cdf
dditionalSubtypeSettings.java
12fbdfb6f906c6d4b02c5a946e4b418fcbfad035 16-May-2012 Jean Chalard <jchalard@google.com> am fbecbe84: Merge "Don\'t auto-correct when there is no main dictionary." into jb-dev

* commit 'fbecbe8474338c237ee6758efe516fad1d58429c':
Don't auto-correct when there is no main dictionary.
fbecbe8474338c237ee6758efe516fad1d58429c 16-May-2012 Jean Chalard <jchalard@google.com> Merge "Don't auto-correct when there is no main dictionary." into jb-dev
f0e12a969974987f1b97929886c6ebe6a685c538 16-May-2012 Jean Chalard <jchalard@google.com> Don't auto-correct when there is no main dictionary.

Bug: 6502485
Change-Id: I5803b0db8552867110587a1140fc03fc2e0eccef
ictionaryCollection.java
ictionaryFactory.java
uggest.java
pellcheck/AndroidSpellCheckerService.java
fcb81e31710f7d37a6f063882bfc62a03e64e446 15-May-2012 Tadashi G. Takaoka <takaoka@google.com> am b4b3e80f: Merge "Fix empty custom input style entry appears after orientation change" into jb-dev

* commit 'b4b3e80f1124eaefc4218fbd03a2af2dc4fece17':
Fix empty custom input style entry appears after orientation change
edcc32802f40b664f87233844cfe1659c0659373 15-May-2012 Jean Chalard <jchalard@google.com> am 2bbdac53: Merge "Use a formula packing more information into 4 bits field" into jb-dev

* commit '2bbdac539a7dc5478fd2f28d748b0dcf29eb1dd7':
Use a formula packing more information into 4 bits field
848081ad8bd190ec522a0617af4eb593ccd370e6 15-May-2012 Jean Chalard <jchalard@google.com> am 8dced70b: Merge "Read and use user dictionary shortcuts." into jb-dev

* commit '8dced70b062744a2c27e0cf6dcd0787cf598a97c':
Read and use user dictionary shortcuts.
d9c4aa83e15470275e0ce6e82f3c3af7bbcc73ec 15-May-2012 satok <satok@google.com> am 76218b96: Merge "Do not set "SuggestionSpan"s for suggestions from the next word predicition" into jb-dev

* commit '76218b966a6a712f3baa72d95c6d125d414cdbd4':
Do not set "SuggestionSpan"s for suggestions from the next word predicition
d09d3598d069007edd0162083d9936d2dabe4322 15-May-2012 Jean Chalard <jchalard@google.com> am a9aeb6f3: Merge "Small optimization" into jb-dev

* commit 'a9aeb6f3ccd2964d79c287860bd660d9f19c8917':
Small optimization
bc740afba3478a6c447e8812895cee096510936b 15-May-2012 Jean Chalard <jchalard@google.com> am b1120fe7: Merge "Small optimizations" into jb-dev

* commit 'b1120fe79ac40717b2b91ba60608b2c9f735c368':
Small optimizations
47fedb89930c7450885040ab4192f29df8d1f252 15-May-2012 Jean Chalard <jchalard@google.com> am f5ac6c72: Merge "More optimizations" into jb-dev

* commit 'f5ac6c725a0e12c1ed796de9f255103b957e1724':
More optimizations
16c34b1bc5192059eb47986b142a4ac1ced1a468 15-May-2012 Jean Chalard <jchalard@google.com> am f184e73d: Merge "Some more obvious optimizations" into jb-dev

* commit 'f184e73dd77464c53cbfe2815916e826cd32f318':
Some more obvious optimizations
ee2fc381bae908c935f3fcebf2bf8309cbbe605c 15-May-2012 Jean Chalard <jchalard@google.com> am 78df7181: Merge "Some obvious optimizations to makedict" into jb-dev

* commit '78df7181ff150596aa62591bfda6255c6517aa59':
Some obvious optimizations to makedict
0320c526c22df6e5b7d829089ed07ab19101b638 15-May-2012 Kurt Partridge <kep@google.com> Merge "include text context in researchLogger"
b4b3e80f1124eaefc4218fbd03a2af2dc4fece17 15-May-2012 Tadashi G. Takaoka <takaoka@google.com> Merge "Fix empty custom input style entry appears after orientation change" into jb-dev
c6846f28ba74b1076831e208f7afa6e953e9b5c7 15-May-2012 Tadashi G. Takaoka <takaoka@google.com> Fix empty custom input style entry appears after orientation change

Bug: 6495828
Change-Id: I77c44e24340cff4e0702ac6dee02e4dd84076f3e
dditionalSubtypeSettings.java
2bbdac539a7dc5478fd2f28d748b0dcf29eb1dd7 15-May-2012 Jean Chalard <jchalard@google.com> Merge "Use a formula packing more information into 4 bits field" into jb-dev
418b34379733aa7f3d31729090797c747c8a43a8 11-May-2012 Jean Chalard <jchalard@google.com> Use a formula packing more information into 4 bits field

Bug: 6313806
Change-Id: Id0779bd69afae0bb4a4a285340c1eb306544663a
akedict/BinaryDictInputOutput.java
a86c0f1ea4ef9a55ed4b6d64471080b22f28ec6e 15-May-2012 Jean Chalard <jchalard@google.com> Stop meaningless bigram computations

Bug: 6313806
Change-Id: Idf765b40812a43de13aa166ed0b44c7b5f7cc218
uggest.java
8dced70b062744a2c27e0cf6dcd0787cf598a97c 15-May-2012 Jean Chalard <jchalard@google.com> Merge "Read and use user dictionary shortcuts." into jb-dev
19ad9bf1457af47d98d6464392ca2e1c431f9d1f 11-May-2012 Jean Chalard <jchalard@google.com> Read and use user dictionary shortcuts.

Bug: 4646172

Change-Id: I51002c73d5bad1a698110c5cda02253348be8eed
ontactsDictionary.java
ictionary.java
xpandableDictionary.java
atinIME.java
ynchronouslyLoadedUserDictionary.java
serDictionary.java
serHistoryDictionary.java
hitelistDictionary.java
76218b966a6a712f3baa72d95c6d125d414cdbd4 15-May-2012 satok <satok@google.com> Merge "Do not set "SuggestionSpan"s for suggestions from the next word predicition" into jb-dev
0142b997bf18f5d07e83b3fd403f0b3ea4736040 14-May-2012 satok <satok@google.com> Do not set "SuggestionSpan"s for suggestions from the next word predicition

Bug: 6294817
Change-Id: I5010eafa5ba7e947743706adf7e722f4f0cfb415
atinIME.java
ettingsValues.java
uggest.java
uggestedWords.java
0c5b2a01d40af79d66fb9264ad8fd5b51014b797 15-May-2012 Tom Ouyang <ouyang@google.com> am 5282f00f: Merge "Contacts dictionary rebuilds only when contact names have changed." into jb-dev

* commit '5282f00ff871bc0ae8303a2b6dacb283f73e31ea':
Contacts dictionary rebuilds only when contact names have changed.
a9aeb6f3ccd2964d79c287860bd660d9f19c8917 15-May-2012 Jean Chalard <jchalard@google.com> Merge "Small optimization" into jb-dev
b1120fe79ac40717b2b91ba60608b2c9f735c368 15-May-2012 Jean Chalard <jchalard@google.com> Merge "Small optimizations" into jb-dev
f5ac6c725a0e12c1ed796de9f255103b957e1724 15-May-2012 Jean Chalard <jchalard@google.com> Merge "More optimizations" into jb-dev
f184e73dd77464c53cbfe2815916e826cd32f318 15-May-2012 Jean Chalard <jchalard@google.com> Merge "Some more obvious optimizations" into jb-dev
78df7181ff150596aa62591bfda6255c6517aa59 15-May-2012 Jean Chalard <jchalard@google.com> Merge "Some obvious optimizations to makedict" into jb-dev
aec44d50a7534d8704a7006b4f90f5e8040a931b 10-May-2012 Kurt Partridge <kep@google.com> include text context in researchLogger

when logging LatinIME.onUpdateSelection(), now include the current word and
preceding word. no escaping of the word is performed; this is temporary
until the output format is cleaned up.

also fix EditingUtils.getWordRangeAtCursor to support supplementary
UTF-16 characters.

Bug: 6188932
Change-Id: If4612a2627537d5d8bb2f9585a3ad1b4e56c2e26
ditingUtils.java
atinIME.java
esearchLogger.java
76319c6931becbe2994226a0e52925fc77bd0c92 11-May-2012 Jean Chalard <jchalard@google.com> Small optimization

Performance gain is < 2%

Bug: 6394357
Change-Id: I2b7da946788cf11d1a491efd20fb2bd2333c23d1
akedict/BinaryDictInputOutput.java
4df5b43df8f4b29fbfab9180cffe5742f8b5f512 11-May-2012 Jean Chalard <jchalard@google.com> Small optimizations

Bug: 6394357
Change-Id: I00ba1b5ab3d527b3768e28090c758ddd1629f281
akedict/BinaryDictInputOutput.java
3b1b72ac4d8975d24a3176dd1b5a39b5fead71a8 11-May-2012 Jean Chalard <jchalard@google.com> More optimizations

We don't merge tails anyway, and we can't do it any more
because that would break the bigram lookup algorithm.
The speedup is about 20%, and possibly double this if
there are no bigrams.

Bug: 6394357

Change-Id: I9eec11dda9000451706d280f120404a2acbea304
akedict/BinaryDictInputOutput.java
12efad3d15147f255f6e01600c40e9fdb1224d84 11-May-2012 Jean Chalard <jchalard@google.com> Some more obvious optimizations

The speedup is about 15%

Bug: 6394357
Change-Id: Ibd57363d9d793206dd916d8927366db4192083b6
akedict/FusionDictionary.java
47db0be7cbdb8abafc18c1e49b71f6dac0d46994 11-May-2012 Jean Chalard <jchalard@google.com> Some obvious optimizations to makedict

Bug: 6394357
Change-Id: Ibfd98aac2304ef50cf90b1de984736ddcfe7a4bc
akedict/FusionDictionary.java
akedict/MakedictLog.java
4d289d39aeae21064f63d958974816ceee3e9fde 27-Apr-2012 Tom Ouyang <ouyang@google.com> Contacts dictionary rebuilds only when contact names have changed.

Bug: 6396600
Change-Id: Iad693ec4bab6351793d624e5c5b0a9f5c12a60e3
inaryDictionary.java
ontactsBinaryDictionary.java
xpandableBinaryDictionary.java
19278ea91ffea60327ad87a44fdae99247bd77ef 11-May-2012 Jean Chalard <jchalard@google.com> am 59e6ad38: Merge "Write the bigram frequency following the new formula" into jb-dev

* commit '59e6ad38748b0d3c2ed63738d6ab5e6f123466d0':
Write the bigram frequency following the new formula
59e6ad38748b0d3c2ed63738d6ab5e6f123466d0 11-May-2012 Jean Chalard <jchalard@google.com> Merge "Write the bigram frequency following the new formula" into jb-dev
f7346de94a902b0d0675a85425e68eba96cece7e 11-May-2012 Jean Chalard <jchalard@google.com> Write the bigram frequency following the new formula

This also tests for bigram frequency against unigram frequency

Bug: 6313806
Bug: 6028348
Change-Id: If7faa3559fee9f2496890f0bc0e081279e100854
akedict/BinaryDictInputOutput.java
e1c75a42c293a611ae5e12f93eefcb455d87d706 11-May-2012 Jean Chalard <jchalard@google.com> am ad0233fa: Merge "Refactor a method" into jb-dev

* commit 'ad0233fa02985e597054bc50726a412fd8fff371':
Refactor a method
ad0233fa02985e597054bc50726a412fd8fff371 11-May-2012 Jean Chalard <jchalard@google.com> Merge "Refactor a method" into jb-dev
4455fe2c894f8aabaf2b3105b72f9193226d4aba 11-May-2012 Jean Chalard <jchalard@google.com> Refactor a method

Rename it, rename parameters, and add a parameter that will
be necessary soon.
Also, rescale the bigram frequency as necessary.

Bug: 6313806
Change-Id: I192543cfb6ab6bccda4a1a53c8e67fbf50a257b0
akedict/BinaryDictInputOutput.java
9978953e29dbcd65c377a7589ad0d75e3ff4fe1a 11-May-2012 satok <satok@google.com> am 6792a909: Merge "Output caps debug code" into jb-dev

* commit '6792a909cd0da3db6a957cb2576b4d08f46a53b7':
Output caps debug code
59f091875c2a908291636d1ddb1788efee49c327 11-May-2012 satok <satok@google.com> am 5434f464: Remove unexpectedly split words with single quotes

* commit '5434f46481c6331c3f107e6940cb49ba9dd5ea4d':
Remove unexpectedly split words with single quotes
6792a909cd0da3db6a957cb2576b4d08f46a53b7 11-May-2012 satok <satok@google.com> Merge "Output caps debug code" into jb-dev
5434f46481c6331c3f107e6940cb49ba9dd5ea4d 11-May-2012 satok <satok@google.com> Remove unexpectedly split words with single quotes

Bug: 6451163
Change-Id: I4c5595f727934f2b401e9bb11a6ba613668f4a42
pellcheck/AndroidSpellCheckerService.java
b6fb5eb391987f3e426649a892cdcbf781957f5a 11-May-2012 satok <satok@google.com> Output caps debug code

Change-Id: I4a3399d9066bd28dab893ecebb720924110b871d
atinIME.java
369ab4cd01be40a95832f42a650974b1dc767279 11-May-2012 Ken Wakasa <kwakasa@google.com> am 88794b24: Remove the dependency to SpellCheckerProximityInfo from ProximityInfo.

* commit '88794b24c0928e3bbea59999fce47c78c028863d':
Remove the dependency to SpellCheckerProximityInfo from ProximityInfo.
88794b24c0928e3bbea59999fce47c78c028863d 11-May-2012 Ken Wakasa <kwakasa@google.com> Remove the dependency to SpellCheckerProximityInfo from ProximityInfo.

In conjunction with I596b2deb

Change-Id: I42f059158ae78e1c1c807ed4d3688edbcf18c006
pellcheck/AndroidSpellCheckerService.java
7dc925bc9ab6e012832a29abb958466cb64de88a 10-May-2012 Tadashi G. Takaoka <takaoka@google.com> am 684c519d: Merge "Cleanup indentation" into jb-dev

* commit '684c519d9d72443b9668fa1474ce2970ceb86a4f':
Cleanup indentation
cee24a1f6c0596bf7fc88276b9c2f123b97f5e77 10-May-2012 Tadashi G. Takaoka <takaoka@google.com> Cleanup indentation

Change-Id: Iaaade378acb81a2d68e2e721778a82fd8d5e20a5
ditingUtils.java
d079a0cde507f9487b913e617bd12b9b41aa0785 09-May-2012 Tadashi G. Takaoka <takaoka@google.com> am bced8270: Merge "Fix calculation of more keys keyboard position based on key preview" into jb-dev

* commit 'bced82709ad262d59ec523439ea7b22b18c5335b':
Fix calculation of more keys keyboard position based on key preview
bced82709ad262d59ec523439ea7b22b18c5335b 09-May-2012 Tadashi G. Takaoka <takaoka@google.com> Merge "Fix calculation of more keys keyboard position based on key preview" into jb-dev
7ecc1081ab9b4e41e4b2aec7877aaaf8df29e611 27-Apr-2012 Tadashi G. Takaoka <takaoka@google.com> Fix calculation of more keys keyboard position based on key preview

Bug: 6135881
Change-Id: Id1c4e2c13d13b474466cb9b42b425aa9f6f9448b
uggestions/MoreSuggestionsView.java
46b26ed892afc626e042c1e969abc02b6fb588dd 09-May-2012 Tadashi G. Takaoka <takaoka@google.com> am c8bde75c: Merge "Optimize InputConnection.getCursorCapsMode calling" into jb-dev

* commit 'c8bde75cf455c02efc57c2e35bbe446b83c23739':
Optimize InputConnection.getCursorCapsMode calling
9648b1674ef4c82cfdd923c0d77d564d78f48b89 09-May-2012 Jean Chalard <jchalard@google.com> am d5cd7e64: Small optimization

* commit 'd5cd7e64aa30096241f63e47a9169699bdd98231':
Small optimization
4e02b1273b939892a777e675ae29d8eddd82e57f 09-May-2012 Jean Chalard <jchalard@google.com> am 442ac5d0: Merge "Don\'t ask for surrounding characters for each keypress" into jb-dev

* commit '442ac5d0bb96ec257d26b28df2fabefdefe59b96':
Don't ask for surrounding characters for each keypress
3b0f0b57ff1a591e5450fb62ecd610035335bf80 09-May-2012 Tadashi G. Takaoka <takaoka@google.com> am f52aef84: Merge "Tab key preforms next action when EditorInfo.IME_ACTION_NEXT is specified" into jb-dev

* commit 'f52aef84a582197d6f8e580044b2d24d2a710cef':
Tab key preforms next action when EditorInfo.IME_ACTION_NEXT is specified
c8bde75cf455c02efc57c2e35bbe446b83c23739 09-May-2012 Tadashi G. Takaoka <takaoka@google.com> Merge "Optimize InputConnection.getCursorCapsMode calling" into jb-dev
03ca17c8415854c4c949b92b66543c920562ac3d 09-May-2012 Tadashi G. Takaoka <takaoka@google.com> Optimize InputConnection.getCursorCapsMode calling

Bug: 6464226
Change-Id: I30c1b01be5e1719ded5f7f8a7e24a38e9bbc3637
atinIME.java
d5cd7e64aa30096241f63e47a9169699bdd98231 09-May-2012 Jean Chalard <jchalard@google.com> Small optimization

Change-Id: I067249976e557b60b606d2153deaeb3c8f1f38ac
atinIME.java
736b109e1692374f5a2739885c8f931dbb8be1f2 09-May-2012 Jean Chalard <jchalard@google.com> Don't ask for surrounding characters for each keypress

Bug: 6464226
Change-Id: I03745bbcc21e5ec6ca57fa1257bf21c0cd26391a
atinIME.java
0b831ba2aaf7baf7be402f2245b225a04c28fada 08-May-2012 Tadashi G. Takaoka <takaoka@google.com> Tab key preforms next action when EditorInfo.IME_ACTION_NEXT is specified

Bug: 6435484
Change-Id: Iccca7d1b770c547efae0b5e5931cebd910083d40
nputAttributes.java
atinIME.java
725fff0511df20c5192e997475cd2c2c3dfaee3e 07-May-2012 satok <satok@google.com> am e58f3af8: Treat apostrophe as single quote in spell checker

* commit 'e58f3af8a7bf852c3b100de1bd85d95d13e0e15e':
Treat apostrophe as single quote in spell checker
e58f3af8a7bf852c3b100de1bd85d95d13e0e15e 07-May-2012 satok <satok@google.com> Treat apostrophe as single quote in spell checker

Bug: 6435348
Change-Id: Iaaac9042e7e6cb21a3f2243bc6e8e055cc24f74d
pellcheck/AndroidSpellCheckerService.java
9fcae31e7e1ea2fe7d894632ea1f885963d762e8 07-May-2012 Tadashi G. Takaoka <takaoka@google.com> am 165725ab: Fix build

* commit '165725aba8a179440af9c93869b35f206b2e133f':
Fix build
165725aba8a179440af9c93869b35f206b2e133f 07-May-2012 Tadashi G. Takaoka <takaoka@google.com> Fix build

Related-change: I173a3dc0
Change-Id: I4b5adedb70f7501e84fd3604aa240161c97dc713
dditionalSubtype.java
ubtypeLocale.java
33e95e9186c808446f4e63db00d322cab70070f2 06-May-2012 Tadashi G. Takaoka <takaoka@google.com> am 8e50c5d1: Fix subtype name for a custom input style with en_US and en_GB

* commit '8e50c5d198f65beb6679a9a1e0102e5fc52d7707':
Fix subtype name for a custom input style with en_US and en_GB
8e50c5d198f65beb6679a9a1e0102e5fc52d7707 06-May-2012 Tadashi G. Takaoka <takaoka@google.com> Fix subtype name for a custom input style with en_US and en_GB

This change utilizes "UntranslatableReplacementStringInSubtypeName"
subtype extra value to display keyboard layout name dynamically.

Bug: 6449315
Change-Id: I9ef4c3d66ff9a223aa8c89c346d04cb72e4f6263
dditionalSubtype.java
onstants.java
ubtypeLocale.java
e14d4f386cc76fc349cb324c36f524067c91e027 06-May-2012 Tadashi G. Takaoka <takaoka@google.com> am 4e6c6046: Merge "Fix newly created custom input style display name" into jb-dev

* commit '4e6c60464580213cda67c46499259d2ff0bbc493':
Fix newly created custom input style display name
4e6c60464580213cda67c46499259d2ff0bbc493 06-May-2012 Tadashi G. Takaoka <takaoka@google.com> Merge "Fix newly created custom input style display name" into jb-dev
ca934420269e18c843181c0dc98cd61cce67dd19 05-May-2012 Tadashi G. Takaoka <takaoka@google.com> Fix newly created custom input style display name

This will revert I4263632e

Bug: 6443665
Bug: 6410653
Change-Id: Id9ad1a204ed9802488abfc2c536a95d62d55afe0
ubtypeLocale.java
a0fe57a290c9d9304f19b07cc41655c046ed3a0d 06-May-2012 Ken Wakasa <kwakasa@google.com> am 3665e2a8: Merge "Tidy up the MakedictLog class." into jb-dev

* commit '3665e2a8fc29c9bbe98d1c73e00af26abd6a5421':
Tidy up the MakedictLog class.
3665e2a8fc29c9bbe98d1c73e00af26abd6a5421 06-May-2012 Ken Wakasa <kwakasa@google.com> Merge "Tidy up the MakedictLog class." into jb-dev
ee3177d64d9eafec6aa19b3c26455389efcdbaf0 06-May-2012 Tadashi G. Takaoka <takaoka@google.com> am 4c9bdcc9: Merge "Fix missing synchronized modifier" into jb-dev

* commit '4c9bdcc9579288ca379c49d36c0ba0ec81515ef7':
Fix missing synchronized modifier
4c9bdcc9579288ca379c49d36c0ba0ec81515ef7 06-May-2012 Tadashi G. Takaoka <takaoka@google.com> Merge "Fix missing synchronized modifier" into jb-dev
66c09113f619e82794cb0342b161457f0533bc61 06-May-2012 Tadashi G. Takaoka <takaoka@google.com> am 90b73b85: Merge "Get subtype name string resource from its own locale" into jb-dev

* commit '90b73b85e4d1846b84f97fb3b1a5f7897f89b985':
Get subtype name string resource from its own locale
5b2eb0f5050214880d5d3c931889c802a96b29a9 06-May-2012 Tadashi G. Takaoka <takaoka@google.com> Fix missing synchronized modifier

Change-Id: Ied70a86bedb08adcf8353b189367172459f55292
serHistoryDictionary.java
757c12556b5336cce4962b18967a0da20c871329 05-May-2012 Tadashi G. Takaoka <takaoka@google.com> Get subtype name string resource from its own locale

Bug: 6443655
Change-Id: Ib9ee55178f0d0f885aa0640b9cba4a179cf0c566
ubtypeLocale.java
84478103ec771e4c1ac182e6b429c7b53f193d78 05-May-2012 Ken Wakasa <kwakasa@google.com> Tidy up the MakedictLog class.

Follow up to I436b2b7b

Change-Id: Id17b134dab2f876b874a505e92a379c8b5567fa4
akedict/MakedictLog.java
5a937aae99fbd1c1e6f4976e639ef585e45675e5 05-May-2012 Kurt Partridge <kep@google.com> Merge "record full text after finishing session"
e9001d28c4fc0ec4e5ba421107c82bd6f70b1a41 05-May-2012 Ken Wakasa <kwakasa@google.com> am 03b423f3: Suppress debug log from makedict in LatinIME

* commit '03b423f313cccb85890346ec4e6e347335f89fbf':
Suppress debug log from makedict in LatinIME
03b423f313cccb85890346ec4e6e347335f89fbf 05-May-2012 Ken Wakasa <kwakasa@google.com> Suppress debug log from makedict in LatinIME

bug: 6447900
Change-Id: I436b2b7b261b422a7edca9cb99a4689b63877fe0
akedict/MakedictLog.java
d67a248de45a698d1009757c9f4e750c77bf35f1 02-May-2012 Kurt Partridge <kep@google.com> record full text after finishing session

uses onWindowHidden() callback as proxy for finishing session.

Bug: 6188932
Change-Id: Ic63b47c946ca91fc35f80d71b2f9e24e2d0339ac
atinIME.java
esearchLogger.java
77814c4bb0670c3a20c5e636890d70ea1a144409 02-May-2012 Kurt Partridge <kep@google.com> associate a per-device UUID with the researchLog

logged upon starting a session

Bug: 6188932
Change-Id: I197d231fbc1d87cf5a3649b485a9be4b17898ba3
esearchLogger.java
a814fd0ddd1fd0b7f3be58e80e5ea0570036767c 02-May-2012 satok <satok@google.com> am 9ba92faa: Merge "Fix build breakage" into jb-dev

* commit '9ba92faa81f864c721ee1a9ba8b97c3ead49a38d':
Fix build breakage
9ec06c17d4b0c2d551d89152320d0cae4c061c77 02-May-2012 satok <satok@google.com> Fix build breakage

Change-Id: I22305137b336c9aab019d044a517ae8bc5fefe45
atinIME.java
34590d6cd1b5c87232369a5e45ba79edd4679a43 02-May-2012 satok <satok@google.com> am 57007ed5: Merge "Workaround return preserved backing view height when the backing view is not ready" into jb-dev

* commit '57007ed582fbe89b2f2ac24e06a15a4fb5a948df':
Workaround return preserved backing view height when the backing view is not ready
57007ed582fbe89b2f2ac24e06a15a4fb5a948df 02-May-2012 satok <satok@google.com> Merge "Workaround return preserved backing view height when the backing view is not ready" into jb-dev
f4cf5b9952ae331806bf656a6f977a5ece47fe80 02-May-2012 satok <satok@google.com> Workaround return preserved backing view height when the backing view is not ready

Change-Id: If4f24500ead516c46e6a93a95291e0897548c2f0
atinIME.java
f000a5cd5ad6cac6cf59fa27f58133575f450845 02-May-2012 Kurt Partridge <kep@google.com> Merge "log packageName in researchLogger on startup"
ae2388c7f799ab565f63d3ba83abaf3300475fd0 01-May-2012 Tadashi G. Takaoka <takaoka@google.com> Fix checking if subtype belongs to this ime

Bug: 6422318
Change-Id: I5779c0e277444315191fa964a976dcb4316cc24a
mfUtils.java
atinIME.java
4b5b46bb66bf74ef5edd65c55e186b02f3c56e5d 26-Apr-2012 Jean Chalard <jchalard@google.com> Don't autocorrect after suggestion resuming

Bug: 6105732
Change-Id: I92e7a9c6d6eb648f747c3b396d7993479fd8478a
uggest.java
ordComposer.java
623118fe48aedee4028eca5eb4791273fc10e9a5 30-Apr-2012 Kurt Partridge <kep@google.com> log packageName in researchLogger on startup

Bug: 6188932

Change-Id: I85f434bf284d6b481893f7d41c884a4f0c57ce49
esearchLogger.java
0ab1c664c138b3bc10730c89b2d8efdacee6b15b 27-Apr-2012 Ken Wakasa <kwakasa@google.com> Avoid Resources$NotFoundException

bug: 6410653
Change-Id: I4263632e76b44abf8ecd9114a9eb185ad39201fd
mfUtils.java
ubtypeLocale.java
20a6dea1cabfd8822824f7dca828d898e5b91cbc 25-Apr-2012 Jean Chalard <jchalard@google.com> Add a flag for bigram presence in the header

This is a cherry-pick of Icb602762 onto jb-dev.

Bug: 6355745
Change-Id: Icb602762bb0d81472f024fa491571062ec1fc4e9
akedict/BinaryDictInputOutput.java
akedict/FusionDictionary.java
329c8d7bcce4f785fa6e31df6cbda0c11014d49b 26-Apr-2012 Jean Chalard <jchalard@google.com> Merge "Ignore bigrams that are not also listed as unigrams" into jb-dev
45c57dcc2dd0eeb0c7e9672d5cada7f6e368235c 26-Apr-2012 Tadashi G. Takaoka <takaoka@google.com> Merge "Fix SubtypeSwitcher incomplete initialization" into jb-dev
44c64f46a143623dd793facd889c8d6eab5e230c 20-Apr-2012 Jean Chalard <jchalard@google.com> Ignore bigrams that are not also listed as unigrams

This is a cherry pick of I14b67e51 on jb-dev

Bug: 6340915
Change-Id: Iaa512abe1b19ca640ea201f9761fd7f1416270ed
xpandableBinaryDictionary.java
akedict/BinaryDictInputOutput.java
akedict/FusionDictionary.java
3d407cc086145db6b05af25a0610ef9ba2d263ec 26-Apr-2012 Tadashi G. Takaoka <takaoka@google.com> Fix SubtypeSwitcher incomplete initialization

Bug: 6400718
Change-Id: Id5dce156ad397b911bfeaedeeddd4aeb21a10b3a
ubtypeSwitcher.java
27b42ced86e1c85de3d59d91a9e5c577fa552569 25-Apr-2012 Tadashi G. Takaoka <takaoka@google.com> Fix "no language" subtype name (DO NOT MERGE)

* Move SubtypeLocale.get{Full,Middle,Short}DisplayName() to
LatinLeyboardView and add unit tests (SpacebarTextTests).
* Add SubtypeLocale.getSubtypeDisplayName()

This is a cherry-pick of I57420c6a from Master.

Bug: 6393865
Change-Id: I68748189c17c73984ac4ae05a5a40fb54bf46453
dditionalSubtype.java
dditionalSubtypeSettings.java
ocaleUtils.java
ettings.java
ubtypeLocale.java
cbaf6d85f185ef34649825412dcc080b587fcf08 23-Apr-2012 Tadashi G. Takaoka <takaoka@google.com> Cancel SubtypePreference dialog properly

Bug: 6384416
Bug: 6387408
Change-Id: Ia7b0653a09410b42a55915815c887bf0ad56c856
dditionalSubtypeSettings.java
9f0a137f82a1f6f191d1ff3beb9104efec16b30d 23-Apr-2012 Tadashi G. Takaoka <takaoka@google.com> Save & restore additional subtype dialog state when orientation is changed

Bug: 6384416
Change-Id: Id5fa4742ad900fafb82cc37a0bbb9f380b99254d
dditionalSubtypeSettings.java
96e404310deca42a6696abdcb3111d355815b547 25-Apr-2012 Tadashi G. Takaoka <takaoka@google.com> Ignore unknown keyboard layout safely

Bug: 6393755
Change-Id: I3a74b23f934cd52925026ad04647cc76de92ee07
dditionalSubtype.java
dditionalSubtypeSettings.java
ubtypeLocale.java
ce54a14bed22e4897ef623de18700a150cb42d89 24-Apr-2012 Tom Ouyang <ouyang@google.com> Merge "Change expandable binary dict write to a temp file first."
a9b2be8a8140d78a468b2a7b839b50e555a4312b 24-Apr-2012 Tom Ouyang <ouyang@google.com> Change expandable binary dict write to a temp file first.

Bug: 6380724
Change-Id: Ic1d0d902dc45ecb41a1792f33a60ab85e606fcef
xpandableBinaryDictionary.java
805fed49e1b477a90ada4151dc4df89e5857c7e9 24-Apr-2012 Jean Chalard <jchalard@google.com> Merge "Fix binary reading code performance."
fe4d13cbcb1fde041dc319aa25bae68b6dabb902 24-Apr-2012 Tadashi G. Takaoka <takaoka@google.com> Merge "Make the "Touch again to save" hint text touchable."
1d80a7f395290cd0e7344210bb3960f685059264 23-Apr-2012 Jean Chalard <jchalard@google.com> Fix binary reading code performance.

This is not the Right fix ; the Right fix would be to read
the file in a buffered way. However this delivers tolerable
performance for a minimal amount of code changes.
We may want to skip submitting this patch, but keep it around
in case we need to use the functionality until we have a good
patch.

Change-Id: I1ba938f82acfd9436c3701d1078ff981afdbea60
akedict/BinaryDictInputOutput.java
cbebbaf0653e0f9a2de6ca568adbf118996192ec 24-Apr-2012 Jean Chalard <jchalard@google.com> Merge "Fix a bug where a node size would be seen as increasing."
a64a1a46e482664dcebdf4fee0745a890d0d70dc 23-Apr-2012 Jean Chalard <jchalard@google.com> Fix a bug where a node size would be seen as increasing.

The core reason for this is quite shrewd. When a word is a bigram
of itself, the corresponding chargroup will have a bigram referring
to itself. When computing bigram offsets, we use cached addresses of
chargroups, but we compute the size of the node as we go. Hence, a
discrepancy may happen between the base offset as seen by the bigram
(which uses the recomputed value) and the target offset (which uses
the cached value).
When this happens, the cached node address is too large. The relative
offset is negative, which is expected, since it points to this very
charnode whose start is a few bytes earlier. But since the cached
address is too large, the offset is computed as smaller than it should
be.
On the next pass, the cache has been refreshed with the newly computed
size and the seen offset is now correct (or at least, much closer to
correct). The correct value is larger than the previously computed
offset, which was too small. If it happens that it crosses the -255 or
-65335 boundary, the address will be seen as needing 1 more byte than
previously computed. If this is the only change in size of this node,
the node will be seen as having a larger size than previously, which
is unexpected. Debug code was catching this and crashing the program.

So this case is very rare, but in an even rarer occurence, it may
happen that in the same node, another chargroup happens to decrease
it size by the same amount. In this case, the node may be seen as
having not been modified. This is probably extremely rare. If on
top of this, it happens that no other node has been modified, then
the file may be seen as complete, and the discrepancy left as is
in the file, leading to a broken file. The probability that this
happens is abyssally low, but the bug exists, and the current debug
code would not have caught this.
To further catch similar bugs, this change also modifies the test
that decides if the node has changed. On grounds that all components
of a node may only decrease in size with each successive pass, it's
theoritically safe to assume that the same size means the node
contents have not changed, but in case of a bug like the bug above
where a component wrongly grows while another shrinks and both cancel
each other out, the new code will catch this. Also, this change adds
a check against the number of passses, to avoid infinite loops in
case of a bug in the computation code.

This change fixes this bug by updating the cached address of each
chargroup as we go. This eliminates the discrepancy and fixes the
bug.

Bug: 6383103
Change-Id: Ia3f450e22c87c4c193cea8ddb157aebd5f224f01
akedict/BinaryDictInputOutput.java
9f763d14451685965039990891eb0bc8e8db0735 23-Apr-2012 Tadashi G. Takaoka <takaoka@google.com> Make the "Touch again to save" hint text touchable.

Bug: 6355346
Change-Id: I96933719cc94f25e6c7ecb1d6345c11b6acc4134
uggestions/SuggestionsView.java
3e3bb36f1f9d33b850e6dde89d0f0c0b036fcdb2 24-Apr-2012 Tadashi G. Takaoka <takaoka@google.com> Fix NPE in AdditionalSubtypeSettings

Bug: 6384416
Change-Id: I878071b8b78acce51649f9637b59830ab681c696
dditionalSubtypeSettings.java
fa1affbaecf4b851169294203654556cdc31ea38 24-Apr-2012 Jean Chalard <jchalard@google.com> Merge "Fix a bug where two spaces would be added instead of one"
5ee0ee0dbe316aac80949bd35f9834e46d5e2799 24-Apr-2012 Jean Chalard <jchalard@google.com> Merge "Fix a bug where a batch edit would not be started."
87f7fa12db26c0787392ba5d27659e1c9ee1a45a 24-Apr-2012 Jean Chalard <jchalard@google.com> Merge "Pass words as int[] to the native code."
bebcae8ff59c7981665d66d3b35ee804d5960631 23-Apr-2012 Tom Ouyang <ouyang@google.com> Merge "Binary bigram lookup checks both uppercase and lowercase when previous word is uppercase."
551612dd9ec79c9f9a7e430801fdf430dfe625e9 23-Apr-2012 Jean Chalard <jchalard@google.com> Fix a bug where two spaces would be added instead of one

Bug: 6378291
Change-Id: Id2453333ae16146f816faf0eb68baa8ea1dd106a
atinIME.java
96fb3094aaacf4bae65db54414a7aac285695245 23-Apr-2012 Jean Chalard <jchalard@google.com> Fix a bug where a batch edit would not be started.

This would end up in TextView sometimes calling onUpdateSelection
multiple times (this is the correct behavior for TextView). We now
commit the space and the word in a batch edit, and we only get
onUpdateSelection once.

Bug: 6300527
Change-Id: I9579f3d8f5320c1cc24a7a42f19db8e105eb090d
atinIME.java
522a04ea5b249d0af556647d2abcad57e5b99b4f 23-Apr-2012 Jean Chalard <jchalard@google.com> Pass words as int[] to the native code.

We need to get the bigrams during the call to getSuggestions for
bug#6313806. We already give an int[] to getSuggestions and we
wanted to get rid of char[]'s anyway because it doesn't work with
surrogate pairs, so here we go.

Bug: 6313806
Change-Id: I56ce99f1db6b3302cdf42f0527343bded837091e
inaryDictionary.java
e060d1a540f9a1f4ba2b2a63b5ae77b893003b45 23-Apr-2012 Tadashi G. Takaoka <takaoka@google.com> Merge "Fix using keyboard layout display name in custom input style spinner"
a245be6819459ce065d87d00d160df7a1f92097c 22-Apr-2012 Tadashi G. Takaoka <takaoka@google.com> Fix using keyboard layout display name in custom input style spinner

Change-Id: I80626591574aa9995011202cf868f9c2c5168303
dditionalSubtypeSettings.java
0df78d46da1ef0d42196f3baa9d5f6df5932afb6 20-Apr-2012 Jean Chalard <jchalard@google.com> Use the best matching cached dictionary for each category

Bug: 6327270
Change-Id: I5a0e732c8a3fd55fd8ac3c8fe1c58e7f91555d97
inaryDictionaryGetter.java
0806bb01d9e857db9fbac38b9b6e77feb9e9e4c9 19-Apr-2012 Tom Ouyang <ouyang@google.com> Binary bigram lookup checks both uppercase and lowercase when previous word is uppercase.

Bug: 6363029
Change-Id: I71a1ed5b88f54fcc15bfaf89d3645b8f17ebb821
tringUtils.java
uggest.java
1894c6e5869f928b310e05acb9e00dab3b30408c 22-Apr-2012 Ken Wakasa <kwakasa@google.com> Remove unused methods and classes

Change-Id: I1a82bf2202d436efa4c5135d705a048fe45a0257
ditingUtils.java
f8ad37a8fc8175e6d4bceda41df337608b49d62d 21-Apr-2012 Ken Wakasa <kwakasa@google.com> Remove an unused method

Change-Id: I3abbf6462c31b11167e356fe77b8afca2514a869
ditingUtils.java
118762b444f7cb0b72f92dbc9f98452adb5a5836 20-Apr-2012 Tadashi G. Takaoka <takaoka@google.com> Merge "Predefined keyboard layouts are configurable via XML resource"
38026b4f03fb4d846b8613d889d68c439f6e30cb 20-Apr-2012 Tadashi G. Takaoka <takaoka@google.com> Predefined keyboard layouts are configurable via XML resource

Bug: 4460018
Change-Id: Ia03ec826fb3853ea814d9764686903dbe31a6507
dditionalSubtype.java
dditionalSubtypeSettings.java
ubtypeLocale.java
ubtypeSwitcher.java
04b03f4dd63a6cc5ea1b4d6afc93c442b907b282 20-Apr-2012 Jean Chalard <jchalard@google.com> Allow using a format version 2 word list in LatinIME

Change-Id: I73a4df3a83e49be6e8d3a7d14eb027cfe10f1a23
inaryDictionaryFileDumper.java
78173bdf535e38a4f9c3bcc8038151de86071728 19-Apr-2012 Tadashi G. Takaoka <takaoka@google.com> Support Dvorak layout

Bug: 4460018
Change-Id: I08a9b556720f6c4f7089a8838c0869c9f88f479c
dditionalSubtype.java
ubtypeLocale.java
29a1fc0f6b18dd41e7810ee720041f7c7557eb4f 20-Apr-2012 Jean Chalard <jchalard@google.com> Don't allow cancelling manual pick.

Bug: 6347202
Change-Id: I30b53256e83c534436b0f0ff594fd4aaabf4558c
atinIME.java
5b92113cdb3158adfebc27eb4842765a8459d635 20-Apr-2012 Kurt Partridge <kep@google.com> Merge "remove unnecessary KeyboardState logging"
4d43d6f96e41a1bba5479e586fdcbbc87bcb2f99 20-Apr-2012 Kurt Partridge <kep@google.com> Merge "researchLogger detail on IME sessions"
c59d74ce476cc9edcb30f739bd8d37feacf218c4 20-Apr-2012 Kurt Partridge <kep@google.com> remove unnecessary KeyboardState logging

Bug: 6188932
Change-Id: Iafbb1825777122a1810fa3339853263aced3077e
esearchLogger.java
48a7681e064ae259b840f0e757da2d716043d893 18-Apr-2012 Kurt Partridge <kep@google.com> researchLogger detail on IME sessions

log device type, screen size, etc. also simplification inside ResearchLogger
to use exceptions better, and fix ResearchLoggerTests to not change
preferences to specify the logfile.

multi-project change with Idfd193b16260215cca32886e288f03a0c12b2781

Bug: 6188932
Change-Id: Idd3ca6eb8e8e3934f68234b241c7fd7d0cc3bcd5
atinIME.java
esearchLogger.java
7cdb5605133eb711dc15852ea807a7dc61f852d3 20-Apr-2012 Tom Ouyang <ouyang@google.com> Merge "Change binary dictionary output buffer size to match dictionary size."
df7ebbbd616fa5aff569d00b16cd3f85ddf2da6d 18-Apr-2012 Tom Ouyang <ouyang@google.com> Change binary dictionary output buffer size to match dictionary size.

Bug: 6355943
Change-Id: Iaab7bc16ba0dbc7bfde70b06e7bd355519838831
akedict/BinaryDictInputOutput.java
6a7019ff5db19b1e3f8d7afbba71af813cab9a37 19-Apr-2012 Tadashi G. Takaoka <takaoka@google.com> Move main dictionary availability check to LatinIME

Change-Id: Ib6183fec833d87bc32514b03bb691fec0a1e6ff8
atinIME.java
ubtypeSwitcher.java
65e93e352f64c412211df39484366755a44fa5d0 19-Apr-2012 Tadashi G. Takaoka <takaoka@google.com> Fix SubtypeSwitcher to honor subtype

Bug: 6364170
Change-Id: I31f9a7c9b6b4ca04a1c78a4210dcaae0db9825db
atinIME.java
ubtypeSwitcher.java
b9fca7a192f3e448220fe79ea89d307f47b0d6b8 19-Apr-2012 Tadashi G. Takaoka <takaoka@google.com> Fix stack overflow

Change-Id: I977b240ea462b40852ba9504282312d5fa4e2885
ubtypeLocale.java
ab39afca23f69f27b67b7c02353e21f769e8129d 19-Apr-2012 Tadashi G. Takaoka <takaoka@google.com> Remove LatinIME reference from DictionaryFactor class

Change-Id: Iad10e71baa81a1b4eb3c84ead47d658d567b8201
ictionaryFactory.java
1cb08acaf3b4d58cbf4cb65f9fc3990b39e33f00 18-Apr-2012 Tadashi G. Takaoka <takaoka@google.com> Add Constants class to hold public constants

This change also gets rid of compiler warnings about "deprecations".

Change-Id: Id9b83483c453a81ebac34b684656db05e3599657
dditionalSubtype.java
dditionalSubtypeSettings.java
onstants.java
mfUtils.java
atinIME.java
ubtypeLocale.java
ubtypeSwitcher.java
c27fe6253c1d8b3ad3c2f891a48ec5c54d77a3f1 13-Apr-2012 Tadashi G. Takaoka <takaoka@google.com> Add custom subtype settings

Bug: 4460018
Change-Id: I4919d79516dcf574be2761bbaf9adcdc381b2ddc
dditionalSubtype.java
dditionalSubtypeSettings.java
ettings.java
ettingsActivity.java
ettingsValues.java
ubtypeLocale.java
344af156744c6866090fb70f151efd66668c1e20 19-Apr-2012 Tadashi G. Takaoka <takaoka@google.com> Change predefined additional subtype format in preference

This change also refactor StringUtils class

Change-Id: Ie0b4d169b21c260bf238d6fcc9ab0ee8bfd6b508
dditionalSubtype.java
nputAttributes.java
atinIME.java
ettingsValues.java
tringUtils.java
f5a0bd2c28fd9ec1de8fe49196e7f7ae38566f90 18-Apr-2012 Tadashi G. Takaoka <takaoka@google.com> Make predefined subtype configurable by XML resource

Change-Id: I1f8486a1fb652f1e06789e7bfd2cc57273092234
dditionalSubtype.java
atinIME.java
ettings.java
ettingsValues.java
55d28fd1b2631a63542a647f693d8a8ed749bcf7 18-Apr-2012 Tadashi G. Takaoka <takaoka@google.com> Cleanup InputMethodManagerCompatWrapper

Change-Id: Id3b84ee19bb504ed8fbb398e260cc663a5b5ae0d
mfUtils.java
atinIME.java
ettingsValues.java
ubtypeSwitcher.java
ubtypeUtils.java
a58ebc73ae3eb2783713c471d8abb348c7dfc8da 18-Apr-2012 Tadashi G. Takaoka <takaoka@google.com> Fix typo of some methods' name

Also changes some methods' argument type from Locale to String.

Change-Id: Ib68b528a450dc68a01546483403230f76500bee4
dditionalSubtype.java
atinIME.java
ettingsValues.java
ubtypeLocale.java
ubtypeSwitcher.java
ubtypeUtils.java
d442984e96cc6299c905141e3e32e0a4f55394c8 18-Apr-2012 Kurt Partridge <kep@google.com> researchLogging for inputConnection events

Bug: 6188932
Change-Id: I596df68956abd879293cfb550e66e7d7d0ba74e9
atinIME.java
esearchLogger.java
18178fefdcce89cbfe8dffe96a830a9b7aa4213e 18-Apr-2012 Tadashi G. Takaoka <takaoka@google.com> Merge "Remove useless key event handling methods"
79e07e3f84ca4753c503a80f05993959c4fada76 18-Apr-2012 Tadashi G. Takaoka <takaoka@google.com> Remove useless key event handling methods

Change-Id: I8c42fba79aba643ab7a145e6fd54ef23855a3ad0
atinIME.java
uggestions/SuggestionsView.java
bde232dcaa9d70b572499f47134086810b4de41d 18-Apr-2012 Jean Chalard <jchalard@google.com> Merge "Pass the previous word down to native code in getSuggestions"
69bcc15cb386f0a2b56aed8a58ddb1468974c92d 17-Apr-2012 Tadashi G. Takaoka <takaoka@google.com> Add SubtypeUtils.setAditionalInputMethodSubtypes method

Change-Id: Ia3043346ed87297e01d505980555fdf29ce4f96f
atinIME.java
ubtypeUtils.java
80111f08e284655808380663f0b68547b981da72 17-Apr-2012 Jean Chalard <jchalard@google.com> Pass the previous word down to native code in getSuggestions

Change-Id: I477b631d81ef58461e44954f3ae5fd895928bb97
inaryDictionary.java
tringUtils.java
74a84febc76d1ec6c0b6d8afbf50349da9b38d74 17-Apr-2012 satok <satok@google.com> Cache results of the spell checker

Change-Id: Ie11cd1b07e069474b140fbaae65fca703adc056f
pellcheck/AndroidSpellCheckerService.java
761b6bc12027081c426a432e0eaa678e18f659a0 17-Apr-2012 Tadashi G. Takaoka <takaoka@google.com> Merge "Add SubtypeLocale.getKeyboardLayoutSetDisplayName"
bb17bafac3db7f54559e3d774069f0a915753cc3 17-Apr-2012 Tadashi G. Takaoka <takaoka@google.com> Add SubtypeLocale.getKeyboardLayoutSetDisplayName

Change-Id: I576b47a936545e653ce9e26222ba4db143ea90e6
ubtypeLocale.java
12776925199fd969626c49674d78eaec8e5f9b43 17-Apr-2012 Jean Chalard <jchalard@google.com> Merge "Pass the previous word to getSuggestions"
ac27e4544b5b5ff7b4f365a4bde5c288d511ae13 16-Apr-2012 Jean Chalard <jchalard@google.com> Pass the previous word to getSuggestions

This is a preparative change to bug#6313806

Change-Id: I1be9ec49b21005c1f45ce459fa93712bc74ef3f0
inaryDictionary.java
ictionary.java
ictionaryCollection.java
xpandableBinaryDictionary.java
xpandableDictionary.java
uggest.java
ynchronouslyLoadedContactsBinaryDictionary.java
ynchronouslyLoadedContactsDictionary.java
ynchronouslyLoadedUserDictionary.java
serDictionary.java
pellcheck/AndroidSpellCheckerService.java
9bfb6202154e06d7156f2f374dd9359f1be4eb68 12-Apr-2012 Kurt Partridge <kep@google.com> add logPoint for manual correction (inc touch pos)

Bug: 6188932
Change-Id: Ibcc4901bcfab6632ee4c59cb58d35452218a288d
atinIME.java
esearchLogger.java
uggestions/SuggestionsView.java
8b833071a14b8f367d00be4a338f2407ee312516 16-Apr-2012 Tadashi G. Takaoka <takaoka@google.com> Fix Settings fragment isn't shown on tablet

Bug: 6341510
Change-Id: I319bb72400995d8385b0b14ef25b164dee3974da
ettingsActivity.java
11a40a047fc0e72e0ad4cc6743e37e96b1bc0e7a 15-Apr-2012 Tadashi G. Takaoka <takaoka@google.com> Make Utils.getDeviceOverrideValue aware of device orientation

Bug: 6277225
Change-Id: If41fe5cbee0985b9a4740dcd5d1c6ba73b94b377
tils.java
a7352c8df48476ead4a469c89e2d976241e25589 14-Apr-2012 Tom Ouyang <ouyang@google.com> Merge "Add a new binary contacts dictionary based on ExpandableBinaryDictionary and use locale for bigrams."
18222f8c863e509538857b1fafca9c696fae2f55 26-Mar-2012 Tom Ouyang <ouyang@google.com> Add a new binary contacts dictionary based on ExpandableBinaryDictionary and use locale for bigrams.

Bug: 6188977
Change-Id: I753422eed1effaeb5fd01124cf1ddd1e31ee9d60
ontactsBinaryDictionary.java
atinIME.java
uggest.java
ynchronouslyLoadedContactsBinaryDictionary.java
pellcheck/AndroidSpellCheckerService.java
2783c51e6d4163c8d3f8b8c114b5d170d0b645fb 13-Apr-2012 Kurt Partridge <kep@google.com> Merge "clean up researchLogging of autocorrection"
c206d0462354b3bf1ad0cec61534da567829555d 13-Apr-2012 Tadashi G. Takaoka <takaoka@google.com> Use InputMethodSettingsFragment for IME settings

Change-Id: Id6d9cd0ddf99c0687b6d3ea4b2f868f6cf2a0eaf
ebugSettings.java
ebugSettingsActivity.java
atinIME.java
ettings.java
ettingsActivity.java
f6972561fcb45310f18230ce217f0c6bb57e7eee 11-Apr-2012 Tadashi G. Takaoka <takaoka@google.com> Utilize InputMethodSubtype and additional subtype

* Remove de_QY and fr_CH from supported subtypes
* Add de-qwerty and fr-qwertz predefined additional subtypes instead.

Change-Id: I49e8ba0299529302f2b91b4d018b07304cdd6897
dditionalSubtype.java
atinIME.java
ettingsValues.java
ubtypeLocale.java
ubtypeSwitcher.java
ubtypeUtils.java
8abde7db6bacbd5726a87e924ec8aea7fbb10d9a 13-Apr-2012 Tadashi G. Takaoka <takaoka@google.com> Refatcor InputMethodSubtype related stuff a bit

Change-Id: Iaded72331660afbaeddda085f2b633b681d4b6df
ubtypeLocale.java
ubtypeSwitcher.java
ubtypeUtils.java
60adb8757496fecb8f376a80832c176b35e43d06 13-Apr-2012 Kurt Partridge <kep@google.com> clean up researchLogging of autocorrection

remove dependence of ResearchLogger on LatinImeLogger
for autocorrection

multi-project commit with I32cc134b

Bug: 6188932
Change-Id: Iaeda97eb43fa4782db2d1b2a6d8d09a93b395111
atinIME.java
esearchLogger.java
cf6b2099be5deda896ba129a835a06867be2293f 12-Apr-2012 satok <satok@google.com> Add isDictionaryAvailable to SubtypeSwitcher

Change-Id: I534878d330b57bbfaa8b7711082456969771f4dc
atinIME.java
ubtypeSwitcher.java
cec8552b18fd74517512a43a8d75f64e64bd12c3 11-Apr-2012 Jean Chalard <jchalard@google.com> Pass a parameter to the dict pack if we don't have a default dict

Also, optimize quite a bit the code that decides whether we have
a default dict or not.

Bug: 5705834
Change-Id: Ied20fbcbbc42cbe8c01759d11b1804d1156c6960
inaryDictionaryFileDumper.java
inaryDictionaryGetter.java
ictionaryFactory.java
fed44d08d886a0b3d37cd28096c602d55b824743 11-Apr-2012 Kurt Partridge <kep@google.com> Merge "change ResearchLoggerTests to check file"
b8e2ae3bc312269897057fccc34cd736c05bcc90 10-Apr-2012 Kurt Partridge <kep@google.com> change ResearchLoggerTests to check file

multi-project commit with I587003f2

Bug: 6188932
Change-Id: I3d3f0c9d011301489473dc330338ea4a7ba61e9e
esearchLogger.java
e6269759d642eac0a03ae6942acb5cd556e7ff46 11-Apr-2012 Jean Chalard <jchalard@google.com> Read the dictionary resource in a more sensical place.

We don't need to pass this down all the way from LatinIME any more.
It fetched be done exactly where it needs to be.

Change-Id: I9f277f9c4f9de70ae755a1334d86c67bbb24c988
inaryDictionaryGetter.java
ictionaryFactory.java
atinIME.java
uggest.java
pellcheck/AndroidSpellCheckerService.java
78ab80844b4f8e0369f4e86b2a02208197f9bd34 11-Apr-2012 Tadashi G. Takaoka <takaoka@google.com> Add language suffix to main dictionary

Bug: 6319377
Change-Id: Ie6a887fefa12e33c17bfeb5d22984e7c1a7bdb46
inaryDictionary.java
inaryDictionaryGetter.java
ictionaryFactory.java
atinIME.java
hitelistDictionary.java
pellcheck/AndroidSpellCheckerService.java
2be51f4fd0c5cd70c7a2757558ffe45e703700cf 05-Apr-2012 Tadashi G. Takaoka <takaoka@google.com> Generate KeyboardLabelsSet from donottranslate-more-keys.xml

This change introduces makelabel tool that reads all languages'
donottranslate-more-keys and generate KeyboardLabelsSet.java source
file. The makelabel command must be invoked prior to compile LatinIME.

Change-Id: I7515c7919c535e30f9c80a37bdc831d0f682cd43
ettingsValues.java
ecd2ac93bc321fdd932930c43851a92859d4775d 24-Mar-2012 Tom Ouyang <ouyang@google.com> Add an expandable binary dictionary that can be modified at runtime and works with native algorithms.

Bug: 6188977
Change-Id: Iec5c4e7d1d3918ac645187bd32dc3f82a95fec1e
xpandableBinaryDictionary.java
a9ca7867b5a7c0be115966211a05f5d460c8638c 09-Apr-2012 Kurt Partridge <kep@google.com> move suggested words logpoint to SuggestionsView.java

Bug: 6188932
Change-Id: I73974783783bb4453962cb9009656d86d2074409
utoCorrection.java
esearchLogger.java
uggestions/SuggestionsView.java
9bc29d78a6ce83f77869aa63748176241e29d43c 30-Mar-2012 Kurt Partridge <kep@google.com> add more data collection points to ResearchLogger (attempt #2)

the new points are all at Log.x() positions; only those appearing directly
related to user input were added.

multi-project change with I159f5de2

this CL is the same as I618bcd07, which was reverted because of
incompatibilities with vendor branches.

Bug: 6188932
Change-Id: I999249dceb0c04f5a4ffbfff25caed09d24a2c52
utoCorrection.java
atinIME.java
esearchLogger.java
d16bda4a4a307c8f8fd8d25c3984aaf307d49af5 07-Apr-2012 Kurt Partridge <kep@google.com> Revert "add more data collection points to ResearchLogger"

This reverts commit ac9e87c03ebbcbd70dd051a30ebf98d6baebedfc
utoCorrection.java
atinIME.java
esearchLogger.java
ac9e87c03ebbcbd70dd051a30ebf98d6baebedfc 30-Mar-2012 Kurt Partridge <kep@google.com> add more data collection points to ResearchLogger

the new points are all at Log.x() positions; only those appearing directly
related to user input were added.

Bug: 6188932
Change-Id: I618bcd07b22c9efc794745678b073afe1e79a697
utoCorrection.java
atinIME.java
esearchLogger.java
b5e1f48987fc90b443653fdd3f6e5423546e6451 06-Apr-2012 Jean Chalard <jchalard@google.com> Remove the now useless Flag class.

Change-Id: Ibe45189b73e2606cf77e30da166dd0d45ae47c5c
inaryDictionary.java
lag.java
pellcheck/AndroidSpellCheckerService.java
338d3ec725a952cbe603ac8b2d49c337463f4093 06-Apr-2012 Jean Chalard <jchalard@google.com> Replace the flags in getSuggestions with a boolean.

Change-Id: I0ec44df1979cb1dc21017ea290d2151a2af0e7cd

Conflicts:

java/src/com/android/inputmethod/latin/Suggest.java
inaryDictionary.java
uggest.java
24aee9100e92dc4c06cdb54487a4922420fa8660 06-Apr-2012 Jean Chalard <jchalard@google.com> Change the flags to a boolean in constructors.

Change-Id: I9939204f3b16346aaebd4d726315ba9c4faf910a
inaryDictionary.java
ictionaryFactory.java
uggest.java
pellcheck/AndroidSpellCheckerService.java
f420df28233c26e555d203185fb292e83b94b8c3 06-Apr-2012 Jean Chalard <jchalard@google.com> Add support for German umlaut and French ligatures flags

Bug: 6202812
Change-Id: Ib4a7f96f6ef86c840069b15d04393f84d428c176
akedict/BinaryDictInputOutput.java
akedict/FusionDictionary.java
b8060399c71a4e23f09eb1f30793043376b42f13 06-Apr-2012 Jean Chalard <jchalard@google.com> Remove constructors

And small cleanup.

Change-Id: I1de903f42c1b8d57a488be2162e0b94055a6d1f2
akedict/FusionDictionary.java
8cf1a8d04f77aefed3a57f6994869e0f35b1a8b4 27-Mar-2012 Jean Chalard <jchalard@google.com> Remove the shortcutOnly attribute which is now useless.

Change-Id: Ifccdfdaf7c0066bb7728981503baceff0fedb71f
akedict/BinaryDictInputOutput.java
akedict/FusionDictionary.java
akedict/Word.java
b6313f7275b55ab131086c7e09af2d14f337c4bc 06-Apr-2012 Tadashi G. Takaoka <takaoka@google.com> Merge "Cleanup unused methods"
7540fd009d47d7210f1bbbbae75582698be6f313 06-Apr-2012 satok <satok@google.com> Merge "Fix the locale of the flags in BinaryDicitonary for tests"
a4c7733cf7b5c0f970d1a8e52ee52b6199f56031 06-Apr-2012 Tadashi G. Takaoka <takaoka@google.com> Cleanup unused methods

Change-Id: Ic7c1ec0e0606da6eb5b954934547c6e8a561fed5
tringUtils.java
ubtypeSwitcher.java
fc169c726a12f47c3641fc2570d16aa26825710c 06-Apr-2012 Tadashi G. Takaoka <takaoka@google.com> Merge "Use keyboardSet extra value of subtype to specify layout type"
af7d86c5b8d5bcde804a5a033d4d401a76f1989c 05-Apr-2012 Jean Chalard <jchalard@google.com> Merge "Update the names and default values of bigram options."
80f2ccc236272be5897b2b0ba4ad302c8bbcc97d 05-Apr-2012 Jean Chalard <jchalard@google.com> Update the names and default values of bigram options.

Bug: 6293595

Change-Id: I9978a1127c64b7a26a5ccf6f777366f7c4e214db
ettings.java
ettingsValues.java
aa300bb73a970a42ffb8bc8c5419c22191a7c08a 05-Apr-2012 Ken Wakasa <kwakasa@google.com> Don't draw red underline for manually picked words that came from bigram prediction

Change-Id: I544680c8b4b1baff71bd08168630a34e803c40b9
uggest.java
11d9ee742f8ff3fb31b0e3beb32ee4870c63d8e3 04-Apr-2012 Tadashi G. Takaoka <takaoka@google.com> Use keyboardSet extra value of subtype to specify layout type

Change-Id: Ice1f345a08a8d760e3b847c885c4072e3e142c97
atinIME.java
tringUtils.java
ubtypeLocale.java
ubtypeSwitcher.java
ubtypeUtils.java
pellcheck/AndroidSpellCheckerService.java
ae234abd215fe22d53c0b5fa6c973a982adba50c 04-Apr-2012 satok <satok@google.com> Fix the locale of the flags in BinaryDicitonary for tests

Bug: 6129372
Change-Id: I5611f88b10c44261b6145c9dc8615b80e4341e77
ictionaryFactory.java
uggest.java
cb389ef0d6e6eec737c249e1729c2a2cdc30f341 04-Apr-2012 Tadashi G. Takaoka <takaoka@google.com> Refactor to utilize InputMethodSubtype

Change-Id: I76fbc8a395eb8dab996c02c86d7328f07865f8cf
atinIME.java
ubtypeLocale.java
ubtypeSwitcher.java
43ebd8a035af31244a2d54fce5d8000a1fbada4c 04-Apr-2012 satok <satok@google.com> Fix the locale of flags in BinaryDictionary

Bug: 6129372
Change-Id: I4958c2aabf651d7e26648a29b75fcc6c77813451
inaryDictionary.java
ictionaryFactory.java
b082c95a2bfabbf0e0cf920d709004cebfbc2915 04-Apr-2012 Tadashi G. Takaoka <takaoka@google.com> Use no language "zz" to disable shortcut key

Change-Id: Ifba5bbd4298ecf84cc5e0ebdb4fc8494eafff62e
ubtypeLocale.java
c7e43a7aec5711ab14caf06c74714f0a61330eac 04-Apr-2012 Tadashi G. Takaoka <takaoka@google.com> Merge "Use language agnostic QWERTY for forceAscii"
234bf612ca975bead3cb53a9baf6502aa1709b42 04-Apr-2012 Tadashi G. Takaoka <takaoka@google.com> Merge "Use "No language (QWERTY)" for language agnostic QWERTY keyboard name"
32bfc1601a8ae7197efff9884afe330f7f64e2b0 03-Apr-2012 Tadashi G. Takaoka <takaoka@google.com> Use language agnostic QWERTY for forceAscii

Bug: 6286208
Change-Id: I1b3b6f04c9033e7dc57a30e8dce43e01428b8e4e
ubtypeSwitcher.java
3bf57a5624679a20db26df912077a53b9f90ad36 02-Apr-2012 Tadashi G. Takaoka <takaoka@google.com> Use "No language (QWERTY)" for language agnostic QWERTY keyboard name

Bug: 6010147
Change-Id: I401c2e3fcd639c0e1a03e64489a0d792810caa18
tringUtils.java
ubtypeLocale.java
ubtypeSwitcher.java
pellcheck/AndroidSpellCheckerService.java
d8af79398378ced8827b27481f3fb59b32b6c3b9 04-Apr-2012 satok <satok@google.com> Merge "Fix NPE in SuggestedWords"
f088204a90435d672d6203aad08b833a07148742 04-Apr-2012 satok <satok@google.com> Fix NPE in SuggestedWords

Bug: 6279966
Change-Id: Ia94a78d79cc51014126d18612aabdc7ce51487a4
uggestedWords.java
d2c5533fd9dba55df8b2726b449232338dcaf93f 03-Apr-2012 Tadashi G. Takaoka <takaoka@google.com> Merge "Add RunInLocale class to guard locale switching"
56dda78d529478b939ffc8ca5d7e8f6998d79af9 03-Apr-2012 Tadashi G. Takaoka <takaoka@google.com> Merge "Cleanup InputTypeCompatUtils to InputTypeUtils"
16c6f355700ee5cdaa029f4a25b8b3d40718e6ab 03-Apr-2012 Tadashi G. Takaoka <takaoka@google.com> Add RunInLocale class to guard locale switching

Bug: 6128216
Change-Id: I8d9c75c773c3de886183b291ada7a3836295839b
inaryDictionaryGetter.java
ictionaryFactory.java
atinIME.java
ocaleUtils.java
ettingsValues.java
hitelistDictionary.java
be55086fd9218bc03ee0ccac1052d96b40d8a979 02-Apr-2012 Tadashi G. Takaoka <takaoka@google.com> Cleanup InputTypeCompatUtils to InputTypeUtils

Bug: 6129704
Change-Id: I45e19e456ef7c6e61fe877ea544fef1b9f896e95
nputAttributes.java
nputTypeUtils.java
ettingsValues.java
b07939764ac95d3f730bfee618e2c1a5e90d8295 03-Apr-2012 Tadashi G. Takaoka <takaoka@google.com> Merge "Fix typo"
8f433a66b2e8b327d7854eb501cf0e93afed4117 03-Apr-2012 Tadashi G. Takaoka <takaoka@google.com> Fix typo

Follow up for I5b9964f2
Bug: 6129704

Change-Id: Ia90c013cf4c4e6f675da5701644bd10833898c3f
atinIME.java
244c825c4b72a5446fce96b9c3a609c9f07bb6be 03-Apr-2012 Tadashi G. Takaoka <takaoka@google.com> Merge "Cleanup EditorInfoCompatUtils"
7a0779a441fdad960176187b59628e77f3bd331a 03-Apr-2012 Tadashi G. Takaoka <takaoka@google.com> Merge "Cleanup FrameLayoutCompatUtils to ViewLayoutUtils"
0d1a5d5b9710dd8fbdae18b0e69bccb53c7b9207 02-Apr-2012 Tadashi G. Takaoka <takaoka@google.com> Cleanup EditorInfoCompatUtils

Bug: 6129704
Change-Id: I5b9964f2ad52e7cd60c63acca93d0241a1e729ef
atinIME.java
13d6ecc4c275b9e9c38c7713bb2c69d37f3467f3 02-Apr-2012 Tadashi G. Takaoka <takaoka@google.com> Remove InputMethodServiceCompatWrapper

Bug: 6129704
Change-Id: I76f2854e27623be940a711d0d48fd3f90132141c
atinIME.java
8443af57baa6d95ac39c55ba6988a9d5a28f86b5 03-Apr-2012 Tadashi G. Takaoka <takaoka@google.com> Merge "Remove InputMethodSubtypeCompatWrapper"
9cc2c94c8b4bfd4e00e5d3478b9f6e520e791bc5 02-Apr-2012 Tadashi G. Takaoka <takaoka@google.com> Remove InputMethodSubtypeCompatWrapper

Bug: 6129704
Change-Id: I8f84f0f61a2205ac1fcd1cd40e3a586ee535282d
atinIME.java
ubtypeSwitcher.java
ubtypeUtils.java
c734c2aca1830643d169fd292e0c9d4d9306af5a 03-Apr-2012 Jean Chalard <jchalard@google.com> Add a simple way to input dictionary header attributes

Just add them as an attribute to the root of the XML node.

Bug: 6202812
Change-Id: Idf040bfebf20a72f9e4370930a85d97df593f484
akedict/BinaryDictInputOutput.java
akedict/FusionDictionary.java
19457316c1da5e4ca52d2fe8039d76469fbf1e61 02-Apr-2012 Tadashi G. Takaoka <takaoka@google.com> Remove CAN_HANDLE_ON_CURRENT_INPUT_METHOD_SUBTYPE_CHANGED boolean

Bug: 6129704
Change-Id: I7643e656c6e7656eff339cc301dd32f34dee83a4
ettings.java
ubtypeSwitcher.java
b1904ec2352ac65ce06fe556c7ce3b4f2d2dea88 02-Apr-2012 Tadashi G. Takaoka <takaoka@google.com> Merge "Remove InputMethodInfoCompatWrapper"
c8461d1ae26d43a09c0f835d833f3d49fbe8d2f3 02-Apr-2012 Tadashi G. Takaoka <takaoka@google.com> Cleanup FrameLayoutCompatUtils to ViewLayoutUtils

Bug: 6129704
Change-Id: I52f2e236c7dae3ac2cba64392165f955a53d3f42
uggestions/SuggestionsView.java
0dbf6ab53d53e4cb08052310f38ae41662e27c8d 02-Apr-2012 Tadashi G. Takaoka <takaoka@google.com> Remove InputMethodInfoCompatWrapper

Bug: 6129704
Change-Id: I0eca1ee7d1769ddc44f93c50f0723196299bc6d6
ubtypeSwitcher.java
ubtypeUtils.java
7e518d8b8358c96b94b900f0917cdc5fd8190ce1 02-Apr-2012 satok <satok@google.com> Combine candidate words and scores

Bug: 5240798
Change-Id: Ie56c1c2cfd7f365e771fee88c1ed15012448feed
utoCorrection.java
atinIME.java
ettingsValues.java
uggest.java
uggestedWords.java
209dd09e5a534b5819c70fbc5cc1ef056f77d1a3 02-Apr-2012 satok <satok@google.com> Come back the proximity correction to ExpandableDictionary

Bug: 6242539
Change-Id: Ic0467d54c9d85d0653812d4e127328878ef15b94
xpandableDictionary.java
96fdc4dd8426a078500ce1d8a104bde7201bf9b5 31-Mar-2012 Ken Wakasa <kwakasa@google.com> Remove InputConnectionCompatUtils

Also, small cleanup in proguard.flags

bug: 6129704
Change-Id: If4cc694dbe74b26b1d0da301bbc321ee7afc0211
ditingUtils.java
atinIME.java
672635493e1dc2baf9fd4a94e73c5b06d0450e7e 30-Mar-2012 Ken Wakasa <kwakasa@google.com> Remove ArraysCompatUtils

bug: 6129704
Change-Id: I0f1a0dee744e6dcdea7ae8606119b4af22b86663
pellcheck/AndroidSpellCheckerService.java
376eb52450ffdc3d4580b405fc049144395c407f 30-Mar-2012 Ken Wakasa <kwakasa@google.com> Move VibratorCompatWrapper to VibratorUtils.

bug: 6129704

Change-Id: Ib63f1ed2d610e27e14957cf8805ef884cae6adf6
udioAndHapticFeedbackManager.java
ettings.java
ettingsValues.java
ibratorUtils.java
fb5b4c4fc39499d03951671c1a9b67b3573dd11d 29-Mar-2012 Tadashi G. Takaoka <takaoka@google.com> Add language agnostic QWERTY subtype

Bug: 6010147
Change-Id: I705e38ac889172ae8b7c2a68e5c688f2ffc28320
ubtypeLocale.java
911b8f9d19c1c4903eeef29b43176cfeaa0e5d0c 30-Mar-2012 Ken Wakasa <kwakasa@google.com> Remove the "deprecated" classes

bug: 6129704
Change-Id: Ib27f2774444e1f084b19be3fe6f56d25dffa7084
atinIME.java
ettings.java
ubtypeSwitcher.java
347fcab043f4822cbe182ea9ec9c0237a9101fb5 29-Mar-2012 Kurt Partridge <kep@google.com> improve ResearchLogger performance

also demonstrate proposed logpoint invocation

Bug: 6188932
Change-Id: Ib6a7a196fe2e5f8184d26d1e0e3e91b404454112
atinIME.java
esearchLogger.java
8acbce1f78f178baf80cb0023dfe150e23bdfca1 29-Mar-2012 Tadashi G. Takaoka <takaoka@google.com> Merge "Separate leftward arrow from "add to dictionary" hint text"
20b4c223b4811cd99d2c400b3ed459f6ad76312d 29-Mar-2012 Tadashi G. Takaoka <takaoka@google.com> Merge "Fix some obvious compiler warnings"
499c5e8ad8cc8657195449487f7f18e91afbe92b 29-Mar-2012 Tadashi G. Takaoka <takaoka@google.com> Merge "Don't send touch coordinates if proximity characters correction is disabled"
8dcad2ed4776b849ddacb623a94b4301afcf055a 28-Mar-2012 Tadashi G. Takaoka <takaoka@google.com> Don't send touch coordinates if proximity characters correction is disabled

Bug: 6225317
Change-Id: I4fa65e020d838f53066d4a071f58fb6f40583e0b
atinIME.java
aaa9e8626a336125dbb15765a01eb078ce1ca8f6 29-Mar-2012 Tadashi G. Takaoka <takaoka@google.com> Merge "Fix race condition while changing the system locale"
2eb8781dc2e42d55474fb6e5c461c56c066b8363 29-Mar-2012 Tadashi G. Takaoka <takaoka@google.com> Separate leftward arrow from "add to dictionary" hint text

Bug: 6008875
Change-Id: I2be1698e485bc6541163771f41b8b82eaa3cee7a
uggestions/SuggestionsView.java
c61cd79229b1871d0f603a23389695d7f7751e66 29-Mar-2012 Tadashi G. Takaoka <takaoka@google.com> Fix some obvious compiler warnings

Change-Id: I10a634f7492b45d5a72345f14d36cf341946387d
inaryDictionaryFileDumper.java
ictionary.java
atinIME.java
atinImeLogger.java
esearchLogger.java
ordComposer.java
7769b76fc997c2afea169668ff1eee9d158b74f9 29-Mar-2012 Tadashi G. Takaoka <takaoka@google.com> Fix race condition while changing the system locale

Bug: 6128216
Change-Id: Ie153e3eb18feeb97aada6a7708075f5152f11999
ocaleUtils.java
2d9483ff16a6471aaa36c34fb6c3d043e4327abc 29-Mar-2012 Kurt Partridge <kep@google.com> make ResearchLogger log write only

Bug: 6188932
Change-Id: I8a8f944b1d4ee858d5ecaad0d3adc6dc7af54f68
esearchLogger.java
428484d6f9f8a95749e9dac48539fcc0b5d5b290 28-Mar-2012 Jean Chalard <jchalard@google.com> Merge "Remove useless adding of shortcut as unigrams."
e705a122d11768cd32cf5072390750ac785877c5 27-Mar-2012 Jean Chalard <jchalard@google.com> Remove useless adding of shortcut as unigrams.

Change-Id: I1f50ebf00d6dd0dad4114fad86ace5b7b304613a
akedict/FusionDictionary.java
aacffad8efc3fd106e81b2aa57bbe732619d37b4 28-Mar-2012 Jean Chalard <jchalard@google.com> Merge "Add read support for string shortcuts for makedict."
752996540ff3a6dd5b48819849c06355c4270e03 27-Mar-2012 Jean Chalard <jchalard@google.com> Add read support for string shortcuts for makedict.

Change-Id: I48ee4fc9ac703ad2a680b3cd848de91c415ea3c8
akedict/BinaryDictInputOutput.java
akedict/CharGroupInfo.java
7b49efdea665c0b080abfd68cdf53e52916bcecd 28-Mar-2012 Jean Chalard <jchalard@google.com> Merge "Change the format of the shortcuts in the binary dict."
a501caa9a51267adefd12bc4020392cfd11bd229 28-Mar-2012 Tadashi G. Takaoka <takaoka@google.com> Merge "Remove SupportTouchPositionCorrection from subtype extra value"
3bbb31f3f00e64cb68bd5877ae69d6dbccfeb519 26-Mar-2012 Jean Chalard <jchalard@google.com> Change the format of the shortcuts in the binary dict.

This only includes the write part of the change. The read part is
coming in a different commit.

Change-Id: Iabe7af6cd134462dc19245f5400719920ed31c8f
akedict/BinaryDictInputOutput.java
e07db71d26fd9cb2c0141d76bfd3cd01bb001899 28-Mar-2012 Tadashi G. Takaoka <takaoka@google.com> Remove SupportTouchPositionCorrection from subtype extra value

Change-Id: Ieedff9ec212f5567405ca276b0f2194132ba7b0c
atinIME.java
6ba8de2a608dfe4865b0b59a753f2d2abbedeeff 28-Mar-2012 satok <satok@google.com> Good bye the proximity logic in Java code

Bug: 4343280
Change-Id: I82f7d08703647a3492ce6e2d3b741146df58927e
inaryDictionary.java
ordComposer.java
67094f5bdece00994f70c6f1fa9a6ff7b8f3c3c1 28-Mar-2012 satok <satok@google.com> Do not re-calculate primary code in WordComposer

Bug: 4343280
Test: Ib43c0f1d1a19d067ea0

Change-Id: I3393a6099cb7fb824994f4656ccfef884f9c6bc4
ordComposer.java
9611b281e18ac71d825ff5bc771a111423772cb3 28-Mar-2012 satok <satok@google.com> Fix AIOOBE

Bug: 6236912
Change-Id: Ie09e5ef1c23eb48621ac3f2f2dc28dc2e46ca288
xpandableDictionary.java
serHistoryDictionary.java
ordComposer.java
f71aee8f4fb1104a407e95246265a3589f4280f3 27-Mar-2012 Ken Wakasa <kwakasa@google.com> Tighten up the "define" classes.

Change-Id: I854b1dd56b676d0a492a15c16bfe4c6a1bcccdf7
efine/JniLibName.java
efine/ProductionFlag.java
0a1b00869dd94770bea3353662733866724efbd1 27-Mar-2012 satok <satok@google.com> Merge "Put a misspelled flag if the word is not valid by the same logic of Android spell checker."
356776a9b7150d2485b340ac7f9daaef090c1f69 26-Mar-2012 satok <satok@google.com> Put a misspelled flag if the word is not valid by the same logic of Android spell checker.

Bug: 6222722

Currently, the flags of the suggestion span from the Latin IME is different from the flags from Android spell checker.

Change-Id: I2f7a54ae0d63235a0b94e039109ab8b2f1311055
tils.java
01ab7c8b59a7f12862fbd95fb252e56719f1757f 27-Mar-2012 satok <satok@google.com> ongoing cleanup 2

Change-Id: I66b61cbe491cf8375144e834390beae3209a777d
inaryDictionary.java
xpandableDictionary.java
astComposedWord.java
ordComposer.java
c166697e3f5ec600089987dbbff0be7f3e308565 26-Mar-2012 Ken Wakasa <kwakasa@google.com> Optimization: Start making use of ProductionFlag.IS_EXPERIMENTAL for ResearchLogger

Move GodMode specific tests to relevant directories as well.

This goes along with I9dc4d469

Change-Id: I4a21c53846b26eede346cb1da13e6abbdf9ec27f
atinIME.java
atinImeLogger.java
esearchLogger.java
ettings.java
2ac1fad645200510e465d8ae768a6aea95bd32c5 26-Mar-2012 satok <satok@google.com> Merge "Add a flag file for the experimental mode"
9b2f77f2b1accc00ac22171de1fcc1925bab76d6 26-Mar-2012 satok <satok@google.com> Add a flag file for the experimental mode

Change-Id: I880b7c85dbc20f8d7590b7f65b5f898bfb2266f9
efine/ProductionFlag.java
d2cd3d54f97fb52adb37912f0338262e5e214846 26-Mar-2012 Jean Chalard <jchalard@google.com> Merge "Split a method for reuse"
400ff86c7bf574a4d4ffbb8007759155cf58bc64 26-Mar-2012 Kurt Partridge <kep@google.com> Merge "add tests for ResearchLogger"
2482e6c386f2bd6bffa336a95229caf53508b3b2 23-Mar-2012 Kurt Partridge <kep@google.com> add tests for ResearchLogger

Bug: 6188932
Change-Id: Icf407f9d145d2b25b70d5d7bc30ee3d64561620c
esearchLogger.java
8403611960cd0b2a40b77275c536e8088c098830 26-Mar-2012 Jean Chalard <jchalard@google.com> Split a method for reuse

Change-Id: I9a82e538903f05bedad51bc195866abbd9daf957
pellcheck/AndroidSpellCheckerService.java
a77bbc64f0f7f2df25674a8e284a78a235396f4f 26-Mar-2012 Jean Chalard <jchalard@google.com> Merge "Correct a shaky processing and move it to a better place"
e3276288556d520773f7de93e6c48d0b95069a38 23-Mar-2012 Kurt Partridge <kep@google.com> update ResearchLogger times to report SystemClock.uptime()

Bug: 6188932
Change-Id: I852537caed46958e4d9c3251664edaa69652205c
esearchLogger.java
d05afa3f4c59641c8fabed034e457cb25f0c57f0 22-Mar-2012 Kurt Partridge <kep@google.com> move usability log code to new class (ResearchLogger) and clean api

This change also undoes the effects of I8694eb9016, which was an initial
effort built on Utils.UsabilityStudyLogs. Now Utils operates as it did
previously, for backward compatibility, but the ResearchLogger retains
the new log format.

Coordinated with I274b75c5.

Bug: 6188932
Change-Id: I41208bdc6b511f69a010c9fc38a936521beba7d5
atinIME.java
esearchLogger.java
tils.java
08baf5ff8e153c1d3e45f83e70e60f172c2b7d73 23-Mar-2012 Jean Chalard <jchalard@google.com> Merge "Fix a native crash"
b0b89c87f60a8b6515d830ff5b36866fc64b7a26 23-Mar-2012 Jean Chalard <jchalard@google.com> Fix a native crash

-1 & 0xFFFF is 65536 :p

Change-Id: I8ecb882b6d6c5bcc91b52e23eb9cc02b04fcdd34
pellcheck/AndroidSpellCheckerService.java
pellcheck/SpellCheckerProximityInfo.java
fce9ca420234302fae859ef5c857fcf5b82f9218 23-Mar-2012 Tadashi G. Takaoka <takaoka@google.com> Merge "Remove verbose debug message"
61f24842c74c9b622a28fd1e99f8698058cce003 23-Mar-2012 Tadashi G. Takaoka <takaoka@google.com> Remove verbose debug message

Change-Id: I05bfe24228a6fbe806987d2a0d81e59611c3b476
atinIME.java
380ad509e69ba2924d98d9c1e22888757638a0c5 23-Mar-2012 Jean Chalard <jchalard@google.com> Merge "Optimization and typo fix"
b163f9162100559a15445c36624d86925dfe75ec 23-Mar-2012 Tom Ouyang <ouyang@google.com> Merge "Add support for updating and adding bigrams to existing nodes."
7cfe20efbeb4a94b15291aee95d0559ae2449c45 21-Mar-2012 Tom Ouyang <ouyang@google.com> Add support for updating and adding bigrams to existing nodes.

Bug: 6188977
Change-Id: I48aca8ba199247d73395ab13b9d1976f4e739208
akedict/FusionDictionary.java
71f9d30b18e05d7d97d607d1aac3f81c6724abd9 23-Mar-2012 Jean Chalard <jchalard@google.com> Correct a shaky processing and move it to a better place

The old code would remove caps from the first letter if
auto-capsed but that makes very little sense when the word
is camel-cased. Also, it would not correctly handle
surrogate pairs, and would require a direct reference to
LatinIME and a specific method to do the processing in an
unexpected place.

Change-Id: I416d6a805242788a2473f007ca7452c9fe3f5205
atinIME.java
serHistoryDictionary.java
3ee7d97587ccbbeb8003d2142478337e8d60b2b7 23-Mar-2012 Jean Chalard <jchalard@google.com> Optimization and typo fix

Change-Id: Iafa414b8bcf2cca4569b3753bfac58f301a72269
atinIME.java
ubtypeSwitcher.java
8980bd4a25e2a4368441d575c91bcbe8c8624969 23-Mar-2012 satok <satok@google.com> Merge "Cleanup jni 1"
9df4a4527a9bc2e671f644d6e2ec0121385740ec 23-Mar-2012 satok <satok@google.com> Cleanup jni 1

Change-Id: Ieb6af8385356e259720b50f1fe46a694a098b30f
inaryDictionary.java
ordComposer.java
c4f69e7d68b0f7a5aa58388cafe2c1cca98d897b 23-Mar-2012 Jean Chalard <jchalard@google.com> Merge "Stop creating useless objects"
0e134a4477f93ada026b8749127bc2426db8c4bf 23-Mar-2012 Jean Chalard <jchalard@google.com> Merge "Small optimization"
a492790982c6d7df62f66344db30b31995800e1b 23-Mar-2012 Jean Chalard <jchalard@google.com> Stop creating useless objects

Man that was bad, it's heavy, it's called quite often, and it's
totally useless

Change-Id: Ia7e23e0e60ff4a929b226f3f4ccabedbc3ea2c06
ordComposer.java
e5f02cff7a643a7b4b96d3ac80dcbf3d43de362a 23-Mar-2012 Jean Chalard <jchalard@google.com> Small optimization

Change-Id: I5dd7c848f2aaec20325e7ee85f27e282e1ba7a85
pellcheck/SpellCheckerProximityInfo.java
cc78d03a62412e647d4c1373e88a4a2637244ed5 23-Mar-2012 Jean Chalard <jchalard@google.com> Add processing for French ligatures.

Bug: 5140033
Change-Id: I1c2751fc617e662aad9f67506e28a622f81d0bc9
inaryDictionary.java
066866954a5f13826a7eb3d317805134f82ff0aa 23-Mar-2012 Ken Wakasa <kwakasa@google.com> Add a missing comparison in Word.equals()

Follow up to I94e2e29c

bug: 6209651
Change-Id: Iff2daca8c2678e2d1796f98d6db738f109e3d03f
akedict/Word.java
6ef88a89010030dd413f72133f9abf5b32a7f307 23-Mar-2012 Ken Wakasa <kwakasa@google.com> Merge "Add missing Word.hashCode()"
9f0ea52a5db9710df6bef4672d8e193c48451df0 22-Mar-2012 Ken Wakasa <kwakasa@google.com> Add missing Word.hashCode()

Some cleanups too.

bug: 6209651
Change-Id: I94e2e29c92e90e554e4952d277d590e093766c4f
akedict/FusionDictionary.java
akedict/Word.java
081616cd2f472295449268cecb570771b969cba3 22-Mar-2012 Jean Chalard <jchalard@google.com> Send correct coordinates for the spell checker

This results in the computation being done in native code
and the correct proximity being used.
Bug: 6181080

Change-Id: I08fa05c781d607e4feca2caeda353ec19c133a3d
ordComposer.java
pellcheck/AndroidSpellCheckerService.java
pellcheck/SpellCheckerProximityInfo.java
e7cfe436523d2e13b6efdaa6a85f9e88ec47531f 22-Mar-2012 Jean Chalard <jchalard@google.com> Merge "Don't rely on spell checker proximity in tests"
8e31d769832a199cf287328f5ffd02e76741a28d 22-Mar-2012 Jean Chalard <jchalard@google.com> Merge "Make some constants more explicit."
109728193e45262099cbf88d8d6fcc4ed05240ca 22-Mar-2012 Jean Chalard <jchalard@google.com> Don't rely on spell checker proximity in tests

This fixes the input logic tests that were broken and suppresses
their dependency upon the spell checker proximity. Instead, it
gets the Keyboard instance from Latin IME and uses the actual
coordinates, which results in a test run closer to what actually
happens during typing.

Change-Id: I3a81d249ee7fb3ac6ae6940aa2e8b2421e829e5c
atinIME.java
330cd291fa7d964f48c2733a1e4906e7af4d0972 22-Mar-2012 Jean Chalard <jchalard@google.com> Make some constants more explicit.

This wasn't very obvious, but the actual values are critical, so
make it more readable
Bug: 6181080

Change-Id: I07461d2df4c796dad0cb6f5283e41a28036d023c
pellcheck/SpellCheckerProximityInfo.java
19b8a73efa4700903aff855ba796d52495a9db96 22-Mar-2012 Kurt Partridge <kep@google.com> Merge "log through group level abstractions"
fdd68f06579ab338f5d33115aa8300431c75b4fa 22-Mar-2012 Kurt Partridge <kep@google.com> log through group level abstractions

For the groups:
- LogGroup.MOTION subfields now deteremined in Utils.writeMotionEvent() rather
than in LatinKeyboardView.processMotionEvent()
- LogGroup.KEY is now logged throguh LatinIME.onCodeInput() rather than
Utils.push(). This catches keys more generally, including modifiers, and
records touch positions for everything. Removed now-redundant
Utils.writeBackspace() and Utils.writeChar().
- LogGroup.CORRECTION uses Utils.writeCorrection(), and formats instead of
leaving this to callers.
- LogGroup.STATE_CHANGE uses Utils.writeStateChange(). Optional fields are
still left to callers, as this group has more variety.

Formats have changed to incorporate new fields.

Minor housekeeping:

ENABLE_USABILITY_STUDY_LOG constants replaced with variable references, as
the logging feature can be changed in Settings and therefore dynamically
changes.

New log format:

20120322-111203.621+0900 1332382323621 s [onStartInputView] com.socialnmobile.dictapps.notepad.color.note 2131624043 147457 1140850694
20120322-111204.912+0900 1332382324912 m [Down] 2782355 0 243 171 0.5666667 0.895
20120322-111204.975+0900 1332382324975 m [Move] 2782419 0 240 171 0.6 1.17
20120322-111204.983+0900 1332382324983 m [Move] 2782428 0 238 171 0.6 1.1899999
20120322-111204.992+0900 1332382324992 m [Move] 2782437 0 236 171 0.6 1.1899999
20120322-111205.002+0900 1332382325002 m [Move] 2782446 0 232 170 0.6 1.1899999
20120322-111205.012+0900 1332382325012 m [Move] 2782456 0 227 169 0.6 1.125
20120322-111205.021+0900 1332382325021 m [Move] 2782465 0 224 168 0.6 1.125
20120322-111205.031+0900 1332382325031 m [Move] 2782475 0 221 167 0.6 0.895
20120322-111205.040+0900 1332382325040 m [Move] 2782483 0 213 164 0.6 0.58
20120322-111205.047+0900 1332382325047 m [Up] 2782491 0 213 164 0.6 0.58
20120322-111205.052+0900 1332382325052 k 'D' 243 171
20120322-111205.228+0900 1332382325228 m [Down] 2782622 0 171 71 0.6333334 1.275
20120322-111205.243+0900 1332382325243 m [Move] 2782677 0 178 69 0.6333334 1.275
20120322-111205.325+0900 1332382325325 m [Up] 2782750 0 178 69 0.6333334 1.275
20120322-111205.333+0900 1332382325333 k 'e' 171 71
20120322-111205.509+0900 1332382325509 m [Down] 2782936 0 265 139 0.53333336 0.885
20120322-111205.512+0900 1332382325512 m [Move] 2782954 0 265 141 0.53333336 1.04
20120322-111205.552+0900 1332382325552 m [Move] 2782973 0 265 143 0.5666667 1.14
20120322-111205.663+0900 1332382325663 m [Up] 2783102 0 265 143 0.5666667 1.14
20120322-111205.668+0900 1332382325668 k 'f' 265 139
20120322-111206.140+0900 1332382326140 m [Down] 2783584 0 348 352 0.53333336 0.675
20120322-111206.206+0900 1332382326206 m [Move] 2783648 0 348 354 0.5666667 0.73499995
20120322-111206.223+0900 1332382326223 m [Move] 2783666 0 348 356 0.5666667 0.545
20120322-111206.232+0900 1332382326232 m [Up] 2783674 0 348 356 0.5666667 0.545
20120322-111206.236+0900 1332382326236 k ' ' 348 352
20120322-111206.245+0900 1332382326245 c [----] Def -1

Bug: 6188932
Change-Id: Iea46a0c683f858b72005b8e81191ef1d70262dca
atinIME.java
tils.java
2aa02b84a4fcfaf5554c278d2b25cf9414eecf8b 21-Mar-2012 Ken Wakasa <kwakasa@google.com> Revive the Makefile for makedict

Follow up to I4d2ef504. Address a compiler warning and a small optimization as well.

bug: 6188977
bug: 6209651
Change-Id: Ibc9da51d48ebf0b8815ad0bb2f697242970ba8f7
akedict/FusionDictionary.java
7ac556216d4411cbc5e0f22143bf7ea776b30693 21-Mar-2012 Tom Ouyang <ouyang@google.com> Merge "Move makedict to LatinIME android keyboard."
221dd3d1836d571317d0eaf0bf171352e1c41a19 21-Mar-2012 Kurt Partridge <kep@google.com> Merge "Add additional structure to output logs to group entries by optional fields."
4897df803d853c32d49ae5c551d0a25afc268b84 21-Mar-2012 Tadashi G. Takaoka <takaoka@google.com> Merge "Refactor key drawing code in KeyboardView"
72913f97edb74e877f78b25418a568a4b0f5ae5c 16-Mar-2012 Tadashi G. Takaoka <takaoka@google.com> Refactor key drawing code in KeyboardView

Change-Id: Ic7af05caee32eb6cba68d27ba4e2d9072472b34d
uggestions/MoreSuggestions.java
uggestions/MoreSuggestionsView.java
uggestions/SuggestionsView.java
4cc44f9f773f6424557e0b938b6bcad638f56afc 21-Mar-2012 Tadashi G. Takaoka <takaoka@google.com> Merge "Refactor to memorize device dependent override parameters"
78bf41b89c8226870c5ab172d563aa1b16db1513 21-Mar-2012 Kurt Partridge <kep@google.com> Add additional structure to output logs to group entries by optional fields.

The new format has time, time as int, and the new logGroup code
(m=motionEvent, k=key, s=statechange, c=correction)
followed by additional text whose format depends on the logGroup code.

The additional text will be cleaned up in later CL's.

20120321-170548.067+0900 1332317148067 m
[Down]143116235,0,691,378,0.40000004,0.435
20120321-170548.133+0900 1332317148133 m
[Up]143116302,0,691,378,0.40000004,0.435
20120321-170548.146+0900 1332317148146 k <enter> 691 378
20120321-170602.485+0900 1332317162485 s
[onStartInputView]com.socialnmobile.dictapps.notepad.color.note,2131624043,147457,1140850694
20120321-170606.508+0900 1332317166508 m
[Down]143134679,0,40,154,0.4666667,0.64
20120321-170606.567+0900 1332317166567 m
[Move]143134723,0,42,154,0.4666667,0.765
20120321-170606.577+0900 1332317166577 m
[Move]143134746,0,44,154,0.4666667,0.775
20120321-170606.652+0900 1332317166652 m
[Up]143134824,0,44,154,0.4666667,0.775
20120321-170606.662+0900 1332317166662 k A 40 154
20120321-170607.200+0900 1332317167200 m
[Down]143135372,0,411,390,0.53333336,0.585
20120321-170607.311+0900 1332317167311 m
[Up]143135483,0,411,390,0.53333336,0.585
20120321-170607.313+0900 1332317167313 c [----]A

Bug: 6188932
Change-Id: I8694eb9016d8cf0389ef582f6c7d2820aa4d2c92
tils.java
e276c2401e5702222b21c4dfe2a25219c2f6619f 21-Mar-2012 Tom Ouyang <ouyang@google.com> Move makedict to LatinIME android keyboard.

Bug: 6188977
Change-Id: I4d2ef504bb983abbda3cb52ee450cb46f58d95cf
akedict/BinaryDictInputOutput.java
akedict/CharGroupInfo.java
akedict/Dummy.java
akedict/FusionDictionary.java
akedict/MakedictLog.java
akedict/PendingAttribute.java
akedict/UnsupportedFormatException.java
akedict/Word.java
624f1bab39357eb716dfc7ec6b723da3f926f5a2 21-Mar-2012 Tadashi G. Takaoka <takaoka@google.com> Refactor to memorize device dependent override parameters

Change-Id: I79482a8ef3846525669979a30dec183ea18138b5
ettingsValues.java
tils.java
32aac4777f73f606c7cf54edee8439883de0cdaf 21-Mar-2012 Jean Chalard <jchalard@google.com> Merge "Correctly close the gzip stream"
bc89f5d3a5a2771b56643e1b9c47744268fff3a6 21-Mar-2012 Jean Chalard <jchalard@google.com> Correctly close the gzip stream

I had gotten the chain call in reverse.
Bug: 6177523

Change-Id: Ic5b76425de2d5d05d5132f8d2c7ade0d79c14ccc
inaryDictionaryFileDumper.java
f5f53c2fa610fd9ea4588fd7c8c6fc3f36b9247a 21-Mar-2012 Jean Chalard <jchalard@google.com> Merge "Strengthen java code against bad returns from native"
6ca3ac08ed536c415ac68913e23fde175b5e3f4d 20-Mar-2012 Jean Chalard <jchalard@google.com> Strengthen java code against bad returns from native

This doesn't really fix the following bug but it may alleviate
the symptoms

Bug: 6191885
Change-Id: I0de3f550cc7c6cdf79b291399785ad31b205d2ac
inaryDictionary.java
140467b8b65eb9087a9b7f744dbb8a30481effe7 20-Mar-2012 Kurt Partridge <kep@google.com> Updated logger to record touch position within backspace key events.

Bug: 6188932
Change-Id: Ida2aff618153792f9803f30f1251d67c89af1fe0
atinIME.java
atinImeLogger.java
tils.java
1fe943aabdf6c9a40c634bf4a5450cbed4f6c136 19-Mar-2012 satok <satok@google.com> Merge "Cleanup proximity related code"
728d1c884e99e1fd25aa253b5ad30dbdb046ad5f 19-Mar-2012 satok <satok@google.com> Cleanup proximity related code

Bug: 4343280
Change-Id: I57c0f9e20d9d8911009ea97057251a7f7a81512f
nputAttributes.java
ettingsValues.java
ordComposer.java
uggestions/MoreSuggestions.java
uggestions/SuggestionsView.java
546b8275ab111264972b290d2b88b12e03288812 19-Mar-2012 satok <satok@google.com> Merge "Add a dummy file and package for make dict"
6d7e0a876b3fa62ced25a510efd7864b18b2a1db 19-Mar-2012 Kurt Partridge <kep@google.com> Merge "Fix TAG name"
9a50777890a370a4982aef9a8b997e53e8827358 19-Mar-2012 Kurt Partridge <kep@google.com> Fix TAG name

Change-Id: Ibea065bc72e6b5e40cfa3ffa2fb6bcdeb107ffc4
ebugSettings.java
905670bd87fef3461fcc6bd55fd39decb6b20851 19-Mar-2012 satok <satok@google.com> Add a dummy file and package for make dict

Change-Id: I195fd42f2a773bcc6fab0a61336a1c15d97902bb
akedict/Dummy.java
9ffb94fa1318f354692fab7abf4775fa14397a96 16-Mar-2012 Jean Chalard <jchalard@google.com> Rename the user history dictionary.

UserBigramDictionary -> UserHistoryDictionary.

Also update all methods, strings and comments, except those needed
for backward compatibility (which only include the name of the
database file).

Change-Id: I0bccea29880dc566b90100575b83baaa947b03ae
atinIME.java
uggest.java
serBigramDictionary.java
serHistoryDictionary.java
660776e09b9a3b321074a94721d901a035ca1b9f 16-Mar-2012 Ken Wakasa <kwakasa@google.com> Small performance improvement by removing interface accesses.

Change-Id: I6d91f3b086470b79306dbe2874db9748b9e0eb5f
utoCorrection.java
inaryDictionaryGetter.java
ictionaryCollection.java
ictionaryFactory.java
atinIME.java
atinImeLogger.java
ettingsValues.java
uggest.java
uggestedWords.java
mlParseUtils.java
uggestions/SuggestionsView.java
cbb5053b6c3bc113b3ca5441d6938ee1a23260c3 16-Mar-2012 satok <satok@google.com> Fix NPE

bug: 6181736

Change-Id: I6522f19555c27f33c9ff4eaa8b2559a51a38f015
serBigramDictionary.java
a50a34f8b417fc2abe05389aa13b80c4e812e82d 16-Mar-2012 satok <satok@google.com> Merge "Calculate proximity characters in the native code"
1caff47ecdfcf413df709371a919cf9377e26bf7 14-Mar-2012 satok <satok@google.com> Calculate proximity characters in the native code

Bug: 4343280

Change-Id: I6adaf560f7a4f1f96dcb6ec2f61f20ee3001167e
ordComposer.java
d0d25ac8ec656751c84c122cbb2310d88d02d76a 16-Mar-2012 Jean Chalard <jchalard@google.com> Merge "Remove UserUnigramDictionary."
f73efa9077730e0e5aa8c81e792207dca1d616b9 16-Mar-2012 Jean Chalard <jchalard@google.com> Merge "Move the UserUnigramDictionary functionality over"
7dcbed04d9dcca907a68190418a955d092c41021 16-Mar-2012 Jean Chalard <jchalard@google.com> Remove UserUnigramDictionary.

This isn't used any more.

Change-Id: Ie63ae621bcac9342b869b9f236f35bf66ec3a09b
serUnigramDictionary.java
c68d1bbfafe4b2041db49523c044123f78d6635d 16-Mar-2012 Jean Chalard <jchalard@google.com> Move the UserUnigramDictionary functionality over

UserBigramDictionary now assumes both functionalities. It will
be renamed to UserHistoryDictionary in a future change.

There are several reasons to do this. First, there is a lot of
duplicate code in User{Unigram,Bigram}Dictionaries that are
factored by the few lines of code in this change. Also, other
dictionaries like BinaryDictionary or ContactsDictionary all
assume both responsibilities, as should be the case
theoretically.

It is also possible to do this because previous versions don't
write any unigram data that we'd want to reuse. For even older
versions that do write data, we can't really make any sense out
of it. Bigram data however can be useful, and this allows us to
reuse it easily.

Change-Id: I755525f92744e1536eaef097527e8151b7859a30
atinIME.java
serBigramDictionary.java
serUnigramDictionary.java
c59e3839774cec7a8ef2fe7b8c4288b36233e32a 16-Mar-2012 satok <satok@google.com> Merge "Do not change the proximity orders"
ef08daddead8f189a4c38abdb1930f9c39c473ae 15-Mar-2012 satok <satok@google.com> Do not change the proximity orders

Bug: 4343280
Change-Id: I4e2dfb00d9c843a8a285d409ac5ab8fca5fb1694
ordComposer.java
c24f66e18007b5aba32bfab8f86eb7f03fa6c1b7 15-Mar-2012 Jean Chalard <jchalard@google.com> Streamline some user history dictionary code

A lot of things don't really make sense in the old code.
Let's streamline it for now so that we have a cleaner interface
to work with. This is preliminary work for bug 4192129.

Change-Id: If01a5974cfadc43afced610c57fcf7fde67c1346
atinIME.java
serBigramDictionary.java
serUnigramDictionary.java
5bee1b00c8fec7bf7b0f94e27b022cab3e8187e4 15-Mar-2012 Tadashi G. Takaoka <takaoka@google.com> Merge "Remove touch dead zone"
723aaa2eebcfea0d285f11fc265941057332664d 15-Mar-2012 Tadashi G. Takaoka <takaoka@google.com> Remove touch dead zone

KeyDetector should use the distance from the hit box to detect the
key.

Bug: 6174250
Change-Id: Id1745d90222d1d1a10467f194b45307c12449944
ordComposer.java
3fe263fac6375836c48ce71da29f098b66eb4f11 15-Mar-2012 Jean Chalard <jchalard@google.com> Extract an annoying method call

Change-Id: I78f22bb38222fea54a55e460fcf728bf941d15e9
atinIME.java
6ec1209a33fe2dc151b86d3f662e22e564e2f4f8 15-Mar-2012 Jean Chalard <jchalard@google.com> Fix a bug where quotes and dashes are considered letters

Bug: 6174065
Change-Id: I702760d44ead0eeb60d06360aa3bb03c2ec73325
atinIME.java
2be7a37acfd498bfc83347597bfb8cb216a310eb 15-Mar-2012 Jean Chalard <jchalard@google.com> Small cleanup

Exit-fast, update comment, make a method private

Change-Id: Id103bf03aeef43a1a4d064ecabb819490dc5d39a
atinIME.java
7c5f2bbd2a44176cb54b90aa05a0af46e79e83d8 15-Mar-2012 Jean Chalard <jchalard@google.com> Remove useless code

I tracked all the calls to the constructor, and the passed
list is never null. It's also final, so it's safe.

Change-Id: I320f907acee0b237bb286a9a183c18106809174a
uggestedWords.java
042557b45bf2554608cd22874633011157cd1752 15-Mar-2012 Jean Chalard <jchalard@google.com> De-duplicate a method

Change-Id: Ia1c80eeff00a55573bb311f07e1275da23bdcf98
tils.java
uggestions/MoreSuggestions.java
uggestions/SuggestionsView.java
e8ddfe427388df88db28304e96e9d2b5f52231f9 15-Mar-2012 Jean Chalard <jchalard@google.com> Remove useless code

Change-Id: I58de87c1ba4cd1130419191f63ff83b685604356
uggestions/SuggestionsView.java
4e746588836474b87960f392c716852f3b373c86 15-Mar-2012 Jean Chalard <jchalard@google.com> Optimization

All calls to this methods are made with an actual String. No sense
beating ourselves with an interface stick.

Change-Id: I6ef98286be6f81f73864b04f3a17e68f36a6e542
uggestedWords.java
uggestions/SuggestionsView.java
123407261cdab5d3eced0b18eaa7a1d59d6ae887 15-Mar-2012 Jean Chalard <jchalard@google.com> Stop meaningless explicit null passing

Change-Id: I6950897d262f610d502b7f8293b9dd8d2b53e6e8
uggestedWords.java
3187ba5dfe4bd3c781bae01233314cbcd6e64dc5 15-Mar-2012 Jean Chalard <jchalard@google.com> Remove a now-useless flag.

This has been moved to the SuggestedWords object and is now
represented by a single flag instead of a flag in each suggestion.

Change-Id: I6e9a7cff5a7701de7e61b4de13baac25c9a87b1b
uggest.java
uggestedWords.java
4f6cf258fe208329247ade7a6701ac9709820717 15-Mar-2012 Jean Chalard <jchalard@google.com> Use the unique flag in SuggestionsView

Also, the first word in a sugestions list can never be
obsolete.

Change-Id: Ib21439aac8db4e6ce5b15b7a2aabe4222bc354db
uggestions/SuggestionsView.java
03a35170751a635332c00bf6c272a0127a255cf6 15-Mar-2012 Jean Chalard <jchalard@google.com> Add info for obsolete suggestions in SuggestedWords

Change-Id: I9684c7b08244b34853ce8a99b6e9d885389f6687
atinIME.java
ettingsValues.java
uggest.java
uggestedWords.java
5f9593593ebaa32e17d5f26918a0efef87f0a83b 14-Mar-2012 Jean Chalard <jchalard@google.com> Remove useless stuff

Change-Id: I43dae30774c40a9d6e7396f8fa73ed4b82a7c777
ettingsValues.java
ca3e7cbdf43baf8f70d8f71d04de5b1b09345461 14-Mar-2012 Jean Chalard <jchalard@google.com> Move a computation closer to where it's used.

Change-Id: I5aee4c36ceaacbb1dbfc47c011f1e4aec4b9dca6
uggest.java
eb5ffdac900ac2976004e8d063c9536baaad759d 15-Mar-2012 Jean Chalard <jchalard@google.com> Merge "Some readability improvement"
c787db51eddf6560530672243f747ae01cea2c13 15-Mar-2012 Jean Chalard <jchalard@google.com> Merge "Cut out a private method to make things more readable"
b9a5cb77f0bd2a360e921cc212cc81ae2528cdbf 15-Mar-2012 Jean Chalard <jchalard@google.com> Merge "Minor optimization"
53d57ad6d3c86686d803760546a2b6fa6ed77f90 15-Mar-2012 Jean Chalard <jchalard@google.com> Merge "Some code simplification"
05c54ffc7f80b9a7911e6e164b5ec51214a7d297 14-Mar-2012 satok <satok@google.com> Merge "Really pass the y - touch correction to the native code"
853d9020edb058e39c46a6af1215dfcfeb865ad8 14-Mar-2012 satok <satok@google.com> Really pass the y - touch correction to the native code

Bug: 4343280

Test: I11f8518d9ee

Change-Id: I4b90bdffffed9736af223ac83c1a54019add70bb
ordComposer.java
ea51bfd8a88d2fb4b198e8f8b034bf864d0d2d89 14-Mar-2012 Tadashi G. Takaoka <takaoka@google.com> Fix SuggestedWords.toString

Change-Id: Ide3f605ce40e8c230f217bbf37ab016457ee91f1
uggestedWords.java
271e5b6cb7b93ae7ca5dc17699734b2d5ca4212d 14-Mar-2012 Jean Chalard <jchalard@google.com> Some readability improvement

In-place replacements of visibly identical things.

Change-Id: I02b51bd7f63597e3428f0650b239e9a39ef5a7c7
uggest.java
0d0f182959600d83c376e6b844337ea45e5ddbbf 14-Mar-2012 Jean Chalard <jchalard@google.com> Cut out a private method to make things more readable

Change-Id: I791700890338e023bd86b8794dbc90379b91dc7d
uggest.java
ac5e463402f7c15a941a5eda93e9576c2a904f1c 14-Mar-2012 Jean Chalard <jchalard@google.com> Minor optimization

We know the size in advance, this may save a few allocations

Change-Id: I2fb9a725f34ba2da4f34ed335652f10447d5d166
uggest.java
def4551c2a570e7f575b2e9303506d790c2f335f 14-Mar-2012 Jean Chalard <jchalard@google.com> Some code simplification

Just write the same thing in a more succint manner

Change-Id: I08a2c5edd52a3502914541061fd5b6ee7a92ebc4
uggest.java
4a08b2f0e4d0ee7f1d89b4eb3c77c37d987584ea 14-Mar-2012 Jean Chalard <jchalard@google.com> Cleanup & optimization

Renaming some variables, and obvious optimizations.

Change-Id: Ib716748e9f3d602cf276dcd4e73f3bcfb819585e
uggest.java
f985efe39c98d03125884b140d7c64bb28914018 14-Mar-2012 Jean Chalard <jchalard@google.com> Remove a useless parameter

Change-Id: I03005240238fb004c20b2df0d836796e2e8b307f
atinIME.java
ettingsValues.java
uggest.java
uggestedWords.java
bdf6d1b18b3cebdde5f39d10066ead34be161baf 14-Mar-2012 Jean Chalard <jchalard@google.com> Remove a useless method

Change-Id: I208dd2e725e37c2fb3cd51fe48194679e5912f6b
atinIME.java
ettingsValues.java
uggest.java
uggestedWords.java
eda7d8af60e28ff5f949a267ede8f1a553f8a067 14-Mar-2012 Jean Chalard <jchalard@google.com> Remove the Builder

Change-Id: Idef22e6a82d59e3ec95b95ad237debcb07daf000
uggestedWords.java
33cc82537466fbc02c1aff0825c975a94c04c464 14-Mar-2012 Jean Chalard <jchalard@google.com> Match the constructor of SuggestedWords to the Builder call.

We have to match one way or another, and the argument order to the
Builder call is more logical.

Change-Id: Iac7c3a351c2687cb294d6a4924fd9cb20ca95177
uggestedWords.java
7d55c891afdf7e74e505acac998a95a9ca7a9ec2 14-Mar-2012 Jean Chalard <jchalard@google.com> Make the Builder private

Change-Id: I2184084f4b7729c4324f8291d548bd4c4c2872a1
atinIME.java
ettingsValues.java
uggest.java
uggestedWords.java
5b0643f50d8c363296360f3ceaf32f7edc157141 14-Mar-2012 Jean Chalard <jchalard@google.com> Re-sequence the last calls to build()

Change-Id: If77ee5aa9483d3ca03c52812f31665dee6468e99
atinIME.java
uggest.java
88bf1ba5263f5a5c1df367ddc401db4109ef8677 13-Mar-2012 Jean Chalard <jchalard@google.com> Move up the static methods of the Builder

Change-Id: Ic3e07b745b7b24cae0f772ea49e0de615b44caf9
atinIME.java
uggest.java
uggestedWords.java
8e19b1183e4925b7c396de45a5e4e7d67a7b876a 13-Mar-2012 Jean Chalard <jchalard@google.com> Kill the last place where the Builder was being used

I had missed that one

Change-Id: I9a5040a7a61e294396aa424de96a69dbb15f037a
atinIME.java
uggestedWords.java
e3afb7d19276676d28ca018e5f156892e137a96e 13-Mar-2012 Jean Chalard <jchalard@google.com> Make the Builder fully immutable at last

Change-Id: Ie399ca7a9e76ccab44a92bc378d11f92392fed2c
atinIME.java
ettingsValues.java
uggest.java
uggestedWords.java
6ffb5018c1355f70230d19899124633c92ce64f0 13-Mar-2012 Jean Chalard <jchalard@google.com> Straighten out the last bastion of the Builder

...and go for the kill

Change-Id: I5ad57211b250d2578ca22a5dae93344d52f9da80
uggest.java
uggestedWords.java
ec471c72f8da3aba9a2c57512e440a6f28fa7d9a 13-Mar-2012 Jean Chalard <jchalard@google.com> Add to SuggestedWords a missing parameter, and use it.

Also stop using Builder between its creation and the call to
the #build() method.

Change-Id: Ie1fc3ec7b6f4c7c3789f672f4e26b4bf58c3e062
atinIME.java
uggestedWords.java
2e2519ee914d4bf9462950553840557a4c19faed 13-Mar-2012 Jean Chalard <jchalard@google.com> Make still more members of the Builder final.

Change-Id: Ic455f97247da5e40d4939555ab639ecffef36e2d
atinIME.java
ettingsValues.java
uggest.java
uggestedWords.java
bd4ba23d2b661094d3bd32ee3ef9965775c7d859 13-Mar-2012 Jean Chalard <jchalard@google.com> Some code reorganization.

Use the same local variable inside both branches of an if.

Change-Id: I61f7d506d984f3723ec90604416d1875dd97cd8c
uggest.java
uggestedWords.java
b5eeb724fc98bb7169683539027d9ba54ffb8b14 13-Mar-2012 Jean Chalard <jchalard@google.com> Make some more Builder attributes final.

Change-Id: I3132b7fe4ee97c566736bfc21c3783cfc79fc7ff
atinIME.java
ettingsValues.java
uggest.java
uggestedWords.java
c60fea852d0eaaed7f212dbab0af500d07188c69 13-Mar-2012 Jean Chalard <jchalard@google.com> Make the suggested word list final in Builder.

Change-Id: I2ddfab00dc8c141fc989a051f16eb2b3571b7e86
atinIME.java
ettingsValues.java
uggest.java
uggestedWords.java
08adb09e149f920a63ecbc5c2f63d9cb7dbee0ab 13-Mar-2012 Jean Chalard <jchalard@google.com> Remove unused stuff.

Remove 2 methods that were left only for tests to compile in
another project, but are not used any more now that the tests
have been updated.
Also remove an attribute that is never read.

Change-Id: Ic9ba1f52a465199c82c923d77ed7450460e8a4b9
uggest.java
uggestedWords.java
674ffcdf9361b3c90cc39daf02f3217fb6d870de 13-Mar-2012 Jean Chalard <jchalard@google.com> Make an add into a set.

This method now only sets words, so it should be named set.
The functionality is identical since there are no more places
where the list is reused.
This will also allow to make the list final in an upcoming change.

Change-Id: I25b0c7d7f13c3fa5d89806f01f48f1026769603f
atinIME.java
ettingsValues.java
uggest.java
uggestedWords.java
d6662ecd306e1084af81c79df61cf52ef6da75ea 13-Mar-2012 Jean Chalard <jchalard@google.com> Cleanup

Remove an unused method, make others static, fix a formatting
issue

Change-Id: I40cb0b5e01a6f8e2f7b953bd9aad3168dfee71d1
uggest.java
uggestedWords.java
4ee186920e642ae8ebe0b6c97dfdceb0ad2fdeef 13-Mar-2012 Jean Chalard <jchalard@google.com> Remove a method that causes annoying side-effects.

...and replace by a call to a central method.

Change-Id: I93d0a2c2e99963a5b69923d1062d0e01853216b6
atinIME.java
uggestedWords.java
adf218eed544f2239ca5394b8a6bcc542d89a4d9 13-Mar-2012 Jean Chalard <jchalard@google.com> Kill the StringBuilderPool.

The intention may have been nice originally but these end up
being copied anyway :/
Let's remove them now, and in a later change, just keep
references to the created objects.

Change-Id: Ifba8357c20384f9eb40cd916665ed1fc6dc8cab1
tringBuilderPool.java
tringUtils.java
uggest.java
d0d4074392a844602d068b17733fe16b1af94d86 13-Mar-2012 Jean Chalard <jchalard@google.com> Remove a useless parameter.

Change-Id: I7625bf17158c207ad7e8cd496bef825704173c4c
atinIME.java
ettingsValues.java
uggest.java
uggestedWords.java
6fbcd0d21974611c1b6d8112c978e4c820747a3e 13-Mar-2012 Tadashi G. Takaoka <takaoka@google.com> Merge "Use Animator to draw language name on spacebar"
4c0c638a189c1073b1fb6e43fe5fddb6f9932038 12-Mar-2012 Tadashi G. Takaoka <takaoka@google.com> Use Animator to draw language name on spacebar

Note that Animator class exists in framework only on Honeycomb or
later.

Change-Id: Ie3392dbf8acc1547ebb2d16e04086c911d961aed
atinIME.java
7c9bff96f0bbc237c9e4cbe86a409b93555cf33a 13-Mar-2012 Jean Chalard <jchalard@google.com> Kill methods with side-effects, take 2

...working this time

Change-Id: I80e377e6250d3817f1e067a551bca2a557740764
ettingsValues.java
uggestedWords.java
b26af7eae7747853c1818b3b97f5d1d94b3105ee 13-Mar-2012 Jean Chalard <jchalard@google.com> Revert "Kill methods with side-effects"

This reverts commit ca0e04868891c461a3e6f30bf15d209d622c8349
ettingsValues.java
uggestedWords.java
ca0e04868891c461a3e6f30bf15d209d622c8349 12-Mar-2012 Jean Chalard <jchalard@google.com> Kill methods with side-effects

Change-Id: I42baeec68eb2540e7d8f8538ae2dceeef5594391
ettingsValues.java
uggestedWords.java
c3c4ed91cf34cffc8f5c0f6919bf08a31f9b18ad 12-Mar-2012 Jean Chalard <jchalard@google.com> Consolidate words into SuggestedWordInfo

We can't get rid of SuggestedWordInfo because it conveys
the information about whether a suggestion is outdated or
not. It is always created anyway. So it makes sense not
to have separate lists and to just keep everything in the
SuggestedWordInfo object.

Change-Id: Idd79dc267d97633901d3d2869da457736963e178
uggest.java
uggestedWords.java
c0c20b386fb06b688f56dd7f807e2bcbb70b3a59 12-Mar-2012 Jean Chalard <jchalard@google.com> Fix an OOB

The combination of I6b0262fe which removes the internal
size() > 1 test in the safety net calculation and I642a5893
which assumed DBG means there is at least one suggestion.
This change writes the test correctly.

Change-Id: Ib63bce4e163a785f408dd145c23d64cd58fa8c90
uggestions/SuggestionsView.java
30936116d888324f8556ffcd92f9ec2751d0ad55 12-Mar-2012 Jean Chalard <jchalard@google.com> Merge "Make a method accessible for tests"
9dedec7c29213bbae7d1917642c5709a441d18e5 12-Mar-2012 Jean Chalard <jchalard@google.com> Make a method accessible for tests

Tests are using a wrapper method that's going to disappear soon.
The method that becomes package-visible now is destined to be
removed too a little later.

Change-Id: If99b1c77ed52e050b47216cc7afab5f35c4bbb38
uggestedWords.java
1dfef0336d5968dbd00b73489778cee1fb233d56 12-Mar-2012 Jean Chalard <jchalard@google.com> Make a method static

Change-Id: Ie1d460562d38105abe91ae2da17cafd49e2cd394
atinIME.java
uggestedWords.java
c1ca8815f59bb1bce25e521571a1d87c71bf3fc3 10-Mar-2012 Ken Wakasa <kwakasa@google.com> Fix an obvious bug in handleLanguageSwitchKey()

bug: 5759092

Change-Id: I8c7b2ef024cbab399d96f6b3ec553da4e9d2fb18
atinIME.java
1a85b74adb850457272bb922d3ee1e8a7008faa3 09-Mar-2012 Jean Chalard <jchalard@google.com> Entirely remove safety net memory.

mHasAutoCorrectionCandidate now includes the fact that this
did not get caught by the safety net. This is more intuitive.

Change-Id: I6502bbf1ca64a0a6d64f55d723305cf78352a656
uggestedWords.java
68823ae08e820f0951447ed12c1bd32a24333d2e 09-Mar-2012 Jean Chalard <jchalard@google.com> Make the safety net memory private

Change-Id: I10959d47c980d2e8f2ea995955acf02193e3ff7b
atinIME.java
uggestedWords.java
ebbb7e9665b2f9bce46ddc2daa82b9ef73f6c712 09-Mar-2012 Jean Chalard <jchalard@google.com> Recompute safety net in debug cases instead of memorizing

Change-Id: I67f3a31db081afa4871ec441dd461c56e098c668
uggestions/SuggestionsView.java
682c2d53cc5a8ec9d79e4fe4276c6e940c8f251e 09-Mar-2012 Jean Chalard <jchalard@google.com> Make access to the safety net calculation easier

Change-Id: If33897b38af94ae81b05e5ef140a542724b9f34a
uggest.java
151d5cb5326f90d4f5856ebb3bb5ce338229ce7f 09-Mar-2012 Jean Chalard <jchalard@google.com> Extract a condition from a method

Change-Id: I6b0262fe7cb3f7a31cc19d724c301467be932640
uggest.java
36c1b379144bcb7e5a46e3ffb8817075d4f73ff3 09-Mar-2012 Jean Chalard <jchalard@google.com> Remove a useless argument

Change-Id: I713433a3225193489fad5bdafcf302b529903116
uggest.java
28e59b98c6b8601a1b515c7332f3ada1c149ca5f 09-Mar-2012 Jean Chalard <jchalard@google.com> Remove a useless escape

Change-Id: I1ef0685cc9888c9cef9f60015d32b66dde75ef9b
uggest.java
uggestedWords.java
d5f618e90a6ad8d508a6b5b06a308d0f66456e65 09-Mar-2012 Jean Chalard <jchalard@google.com> Remove a useless test

If we are not composing a word here, we have already returned

Change-Id: I63281abace777e3658286d4df6781d2cd5a29c33
atinIME.java
c5d2bb786e431776ee3834bf556127fcae5b0fbe 09-Mar-2012 Jean Chalard <jchalard@google.com> Don't use an intermediate object with a different meaning

Change-Id: Ie89916b49c852a51385ffd61cb596a58f23a46a0
atinIME.java
ed9986824e1339855376771ad29fae4de921a029 09-Mar-2012 Jean Chalard <jchalard@google.com> Move some auto-correction logic to where it belongs

Change-Id: I897c5ec3a630a4a6bfc593906df4d3fc7b244482
atinIME.java
uggest.java
dfd4abe81844f3a26f5c484163806606dfeaa429 09-Mar-2012 Jean Chalard <jchalard@google.com> Fix a shameful bug

I must have been sleeping when I wrote that

Change-Id: I887180ab610785a2000636adeeed99230b3c5390
atinIME.java
0cf422fbb763e2672fb2f9e8e1e8af91d2e87cb3 09-Mar-2012 Jean Chalard <jchalard@google.com> Reduction, step 8

Change-Id: I54334039597e235e24f169e34c1d44109180ee88
atinIME.java
uggest.java
a333ff19ef330c93287cfa0f6568d0cdcd431b04 09-Mar-2012 Jean Chalard <jchalard@google.com> Reduction, step 7

Change-Id: I177ef2f29c8b6000c5e3d021c016c5d216fe3fc6
atinIME.java
uggest.java
a3ee019331e2d8881e19185fba9ccebfeb170614 09-Mar-2012 Jean Chalard <jchalard@google.com> Reduction, step 6

Change-Id: I22ad4cea0e0cac23813da7e788f5c94974ce0ebf
atinIME.java
uggest.java
dbd140504d0f1c6b02998d0899efc853e78a3966 09-Mar-2012 Jean Chalard <jchalard@google.com> Reduction, step 5

Change-Id: Iac52e62c2bdffad14f916f69eade2b785bb41767
uggest.java
0b96bc4b2b9c523c0228ed53e4576518cd7ab3eb 09-Mar-2012 Jean Chalard <jchalard@google.com> Reduction, step 4

Change-Id: Ib27dc6e9486c3f0f2ec1e94a88a52d12c1af2d38
uggest.java
5a61d03f318c2813c75b2c2e7057019f9ad472c7 09-Mar-2012 Jean Chalard <jchalard@google.com> Reduction, step 3

Change-Id: I0e08b102c9539d97c473505b9d42176c4a7c8853
uggest.java
8abd15b59f87f2738b0d27b7c24a126b1450a17c 09-Mar-2012 Jean Chalard <jchalard@google.com> Reduction, step 2

Change-Id: I06e117df43d25dbaf9fc7a7366efd9355a6215ce
uggest.java
f08f30176b2020b36fa6ee856d9a0b84ee5b1fba 09-Mar-2012 Jean Chalard <jchalard@google.com> Reduction, step 1

Change-Id: Ic3ed04300cfd4c0b69b93b27379aca4093b32f67
uggest.java
de165aed2ab9bfa13b5227cfe29d0770092db468 09-Mar-2012 Jean Chalard <jchalard@google.com> Separate bigram prediction from suggestion process

Change-Id: Ibdef206fbd6688a45cebbd7fb8a9f6cd175d03b0
atinIME.java
uggest.java
6f722c83014eb59bf5d579171d2c973fd7b83e69 09-Mar-2012 Jean Chalard <jchalard@google.com> Remove useless stuff

Change-Id: I462d24da2d26661990d6aab2a13fde851763fd61
atinIME.java
67af2a24157ead953607bdfd585fba3a7e6bf50c 09-Mar-2012 Jean Chalard <jchalard@google.com> Export some more logic out of Latin IME

Change-Id: Ib264533a05e9e09347bf254789e6ab5beec92400
atinIME.java
uggest.java
uggestedWords.java
df9fce5df1bacdffb39c7926bdda4b205f186998 09-Mar-2012 Jean Chalard <jchalard@google.com> Export some logic out of LatinIME

Hopefully that will end in Suggest/SuggestedWords being autonomous
and won't need the logic spoon-fed to them

Change-Id: I915661bce13c69c8a5b8e5d4a8c41e18fea594cf
atinIME.java
uggest.java
uggestedWords.java
91e55ac0008c1c094fd2093a06867efafb22c6ce 09-Mar-2012 Jean Chalard <jchalard@google.com> Small optimization

We only use some of those results in one branch of an if() test.
Let's not compute those that are not needed.

Change-Id: I6ca068646b86d2980fb88e75b110ad077362c4ff
atinIME.java
195419b1ecb6d3fa8d7c6f4f7322c9d5a516b86f 09-Mar-2012 Jean Chalard <jchalard@google.com> Small reorganization

...resulting in a slight optimization

Change-Id: I83a9b8c92c3d93ce75988285997ec138b3ffe52e
atinIME.java
838629aea00ce90231df97f1dae3d8273ba80cbd 09-Mar-2012 Jean Chalard <jchalard@google.com> Remove useless test

typedWord may not be null here

Change-Id: I9e7afb89fafbf6fcbc91fbc132aecc06aec8979f
atinIME.java
d48b76267a8acb400bf3462cb787505d5bd8d12c 09-Mar-2012 Jean Chalard <jchalard@google.com> Merge "Remove a useless test (B7)"
2d82757fc6ca83ead1623da3a658c856b37aab03 09-Mar-2012 Jean Chalard <jchalard@google.com> Merge "Rename a parameter (B6)"
de19ab878dd70ca9b2a9a3b18ee48c44a93a0b38 09-Mar-2012 Jean Chalard <jchalard@google.com> Merge "Remove useless tests (B5)"
5a7cb9305a03746e779770b3677ee0c9c85ea4ca 09-Mar-2012 Jean Chalard <jchalard@google.com> Merge "Remove a provably useless test (B4)"
54392438c57544c7bcabc0def058a0dfba9243f1 09-Mar-2012 Jean Chalard <jchalard@google.com> Merge "Optimize and clean up (B2)"
90bd4efd101ce36d3b0f9d9d95d2c5dca6603c39 09-Mar-2012 Jean Chalard <jchalard@google.com> Remove a useless test (B7)

consideredWord is provably never null.

Change-Id: Ifaa0d2471c46f14967e70ad004d2b82f841a4566
utoCorrection.java
cf8bc92ba0946248a080731fea862b0ff997cafb 09-Mar-2012 Jean Chalard <jchalard@google.com> Rename a parameter (B6)

This is not necessarily the typed word. Actually, the parameter
that's passed here has trailing single quotes culled out of it.

Change-Id: Ia2038faa2cbbd3a5b8263e6c0fb5b8e670993fe9
utoCorrection.java
92146f29269a799935c00c530d05829d7f17cc9e 09-Mar-2012 Jean Chalard <jchalard@google.com> Remove useless tests (B5)

WordComposer#getTypedWord() may not return null. Don't test for it.

Change-Id: I6aff14892503d0c275a3328c404ed99d2f40a687
uggest.java
31a5da28e321f74e02eb34910827c43a37308d35 09-Mar-2012 Jean Chalard <jchalard@google.com> Merge "Move some code around (B1)"
8cd847c2fab2d3563dce0c0d24083d3aff20fb28 08-Mar-2012 Jean Chalard <jchalard@google.com> Remove a provably useless test (B4)

If !mInputAttributes.mInputTypeNoAutoCorrect then mCorrectionMode
will not have allowed #hasAutoCorrection() to return true.

Change-Id: I1b498d5aeb26194c765cc9b9dcb24d980de43894
atinIME.java
94b20c90d86aa042c2f361597665045271956dec 08-Mar-2012 Jean Chalard <jchalard@google.com> Optimize and clean up (B2)

Stop parameters from escaping and don't do useless work and
simplify the code.
Yay.

Change-Id: I0dfc3e14b1cb50e0730f6d9c1d52b54516baa90e
utoCorrection.java
uggest.java
dc5dfe37e06eb1d550d7aa5156cff226334d4e1e 08-Mar-2012 Jean Chalard <jchalard@google.com> Move some code around (B1)

The goal is to make the creation of the Builder closer to
the #build() call

Change-Id: I48d76d4efdc180479829016582edd9de47e7332c
atinIME.java
13fb8fb775f77610105115d7cb30f6177ec6d771 08-Mar-2012 Jean Chalard <jchalard@google.com> Limit escape of parameters

Change-Id: I3a7ab069042d5542ab2e033d1eeb13d718cd7698
atinIME.java
uggest.java
23a5e9d1a78f42e76996e756fd1d6a37fc2ac679 09-Mar-2012 Jean Chalard <jchalard@google.com> Merge "Make AutoCorrection static and non-instantiable (A5)"
2621fe2256b68e59070d632dce72f35281bddf89 09-Mar-2012 Jean Chalard <jchalard@google.com> Merge "Move a memory in the container class (A4)"
427dfe37ec1f94693a4ddbdba6b090828c261d88 09-Mar-2012 Jean Chalard <jchalard@google.com> Merge "Remove an unused method"
cbbfa1576502bd417a09738d1d537eebb3f1894b 09-Mar-2012 Jean Chalard <jchalard@google.com> Merge "Make AutoCorrection a step closer to being static (A3)"
58722d83f02074a309bc2c447ca74f357f7c95f0 09-Mar-2012 Jean Chalard <jchalard@google.com> Merge "Stop uselessly remembering a value (A2)"
caae6df0ced5f98c68302d9f9228238e3e6af32c 08-Mar-2012 Jean Chalard <jchalard@google.com> Remove an unused method

Who would have guessed this wasn't being called at all.

Change-Id: Ib74a212356ea44e9bf149619ed5464c14684a1ba
uggest.java
21af2f40c59de3ea5ec183aa278406bf28d5e3bd 09-Mar-2012 Jean Chalard <jchalard@google.com> Merge broadcast receivers again

It's probably simpler not to have registers dance around,
and just message the feedback manager when the audio event
happens.

Change-Id: Id0710ed102d10d01f1af93ad8cb660653bb3a9f8
udioAndHapticFeedbackManager.java
atinIME.java
7b77c683d7de842ede62800125f6ba2370e86a19 09-Mar-2012 Jean Chalard <jchalard@google.com> Fix a crash

Bug: 6137076
Change-Id: I05f9f72a2678d10d3400dab5fc71544276739dcf
atinIME.java
39286f98bc1f5f5b9073c204ed7837fd78fa1bde 08-Mar-2012 Jean Chalard <jchalard@google.com> Merge "Remove useless stuff (A1)"
f686211183885250cb3729a33a3a8924f086698f 08-Mar-2012 Tadashi G. Takaoka <takaoka@google.com> Merge "Split Utils class to StringUtils, SubtypeUtils, and JniUtils"
82adfdaeae20b20eb24a5fe69eeefa37f36b4115 08-Mar-2012 Jean Chalard <jchalard@google.com> Make AutoCorrection static and non-instantiable (A5)

This needs change Ic6756baa to not break the build

Change-Id: I1c772dd99d63fec5d3ad67a0eb7fbc28ec7a0f0f
utoCorrection.java
uggest.java
7a580a4769f1adb34cbdb6346f53ebf2e12f260b 08-Mar-2012 Jean Chalard <jchalard@google.com> Move a memory in the container class (A4)

This allows us to make AutoCorrection a purely static class.

Change-Id: I15b81bd7f3d6ea487154a5b09a81bc323be82ce1
utoCorrection.java
uggest.java
9254dbcd7e9236db68317f015628be5ce6417cbc 08-Mar-2012 Jean Chalard <jchalard@google.com> Make AutoCorrection a step closer to being static (A3)

Change-Id: Ide3d9785661a672af9bc8dc0cf91cab816dd6caa
utoCorrection.java
719f92fc77d10a55fe78daa5bce9617d8a0af335 08-Mar-2012 Jean Chalard <jchalard@google.com> Stop uselessly remembering a value (A2)

The value is only used in debug mode, and it can be recomputed
at the time.
This change does not impact the logic. There is however a side
effect: in debug mode, the normalized score will be displayed
also when the word comes out of the whitelist or is a valid word.
It's actually a good thing.

The end purpose is to make all methods in AutoCorrection static.

Change-Id: I1642b1fdfa6ae62b8aa2fed94a8a26ff4a7e4d0e
utoCorrection.java
uggest.java
ec0fca8a8ba70c0d960838399e248db169d617d0 08-Mar-2012 Jean Chalard <jchalard@google.com> Remove useless stuff (A1)

Remove an unused method and avoid doing a useless computation

Change-Id: I29593c2e93f15857249b35bdd72ca28045056302
utoCorrection.java
cc8c8b99bd0463f5977dea82f5e2379ea1dd4e73 08-Mar-2012 Tadashi G. Takaoka <takaoka@google.com> Split Utils class to StringUtils, SubtypeUtils, and JniUtils

Change-Id: I09e91675fe7d573dad8c933ad513b21d7e409144
inaryDictionary.java
ictionaryFactory.java
niUtils.java
atinIME.java
ettings.java
ettingsValues.java
tringUtils.java
ubtypeSwitcher.java
ubtypeUtils.java
uggest.java
tils.java
pellcheck/AndroidSpellCheckerService.java
b43f2aeb69c51f62bdc62579f65b4ea5085e17b4 08-Mar-2012 Tadashi G. Takaoka <takaoka@google.com> Merge "Fix centering more suggestions panel on tablet"
2b1280c0f036e70430b2ba720471f7cf803ed0f0 08-Mar-2012 Jean Chalard <jchalard@google.com> Merge "Return a value for tests instead of saving it"
32c181bfe04b95d55fb05bd43387e424f3bfabbe 08-Mar-2012 Jean Chalard <jchalard@google.com> Return a value for tests instead of saving it

Change-Id: I54fa32b92e89d03a53866bd1c0ee65955dd6b3d3
utoCorrection.java
2bb29c4674ee2935a54c5664c9ae5a690202f245 08-Mar-2012 Jean Chalard <jchalard@google.com> Simplification

Change-Id: Ibced83da2398f1e9ab6a0d6a22c2ad7c8f25cb7b
utoCorrection.java
0f1efae2621c40ded84004b9261b2321e85302c2 08-Mar-2012 Jean Chalard <jchalard@google.com> Merge "Cleanup unused imports (A7)"
663aabca0c4f677cc61d2733cde145a5da76b086 08-Mar-2012 Jean Chalard <jchalard@google.com> Merge "Get the view for haptic feedback as a parameter (A6)"
85e88d30c15d2d6b34bff60d99a5636602796d56 08-Mar-2012 Jean Chalard <jchalard@google.com> Merge "Remove a useless member (A5)"
60705c9ed3b6cf8802449c135240bde02778c5e3 08-Mar-2012 Jean Chalard <jchalard@google.com> Merge "Simplification of sound settings (A4)"
d2b5ea2084fe4eeed11ddcf82b7681a13683f8b1 08-Mar-2012 Jean Chalard <jchalard@google.com> Merge "Make a condition positive (A3)"
d749fb86ab59cdaeee1580ac3e3e8584913c3546 08-Mar-2012 Jean Chalard <jchalard@google.com> Merge "Simplify audio management (A2)"
7cfae8343412d3367750b1402919d470285f2dfa 08-Mar-2012 Jean Chalard <jchalard@google.com> Merge "Export audio and haptic feedback to a specialized class. (A1)"
bcbaffd9dd950c6b82c682a742c93f9319d908f5 07-Mar-2012 Tadashi G. Takaoka <takaoka@google.com> Fix centering more suggestions panel on tablet

Bug: 6129726
Change-Id: I8dac3251eec68ad3fb523c632ff39f3cc661c81f
uggestions/MoreSuggestionsView.java
8667bbeab3321e05f518770f7360a3fef52b4407 08-Mar-2012 Jean Chalard <jchalard@google.com> Small rename

Left/Right is wrong terminology here

Change-Id: I58c55849e45d9984dd3fb7b75a64e07667c9eba4
atinIME.java
41a292928275198ec97ee35b7f78d489745ab1b3 07-Mar-2012 Jean Chalard <jchalard@google.com> Cleanup unused imports (A7)

Change-Id: I48ba12e4311cbf2982ee8f5312b279bc8c1fdfe8
atinIME.java
544c3c29527927239a6484efc30bc22f9cc4dad1 07-Mar-2012 Jean Chalard <jchalard@google.com> Get the view for haptic feedback as a parameter (A6)

It's rather annoying (and possibly dangerous) to keep this as a member.
Get it from outside.

Change-Id: I00c42db96395fb65204fb140aeedc82bf312a86e
udioAndHapticFeedbackManager.java
atinIME.java
29d967fdcbd3b4f4e467db14f5df9f3bd1f5c558 06-Mar-2012 Jean Chalard <jchalard@google.com> Remove a useless member (A5)

Change-Id: Ibaaeb8dbcb012f5e973e27ed9928401515656e9e
udioAndHapticFeedbackManager.java
bdbb22bb3315bc22e1641fb8ecd150fc2de4a19d 06-Mar-2012 Jean Chalard <jchalard@google.com> Simplification of sound settings (A4)

Change-Id: I0c6e207bae1e08c45a95b3479e1d67228d696792
udioAndHapticFeedbackManager.java
2651b17fc4fb4457deb5078114b26d3a1ec66799 06-Mar-2012 Jean Chalard <jchalard@google.com> Make a condition positive (A3)

mSoundOn is much easier to understand than mSilentModeOn

Change-Id: Ie51c5c75fcad62e13e0fb578a266af80f15dc440
udioAndHapticFeedbackManager.java
793791cdf0d54a55a73f931ffe3c62590c881f1e 06-Mar-2012 Jean Chalard <jchalard@google.com> Simplify audio management (A2)

There is little point in deferring loading for this. Getting the
service at startup time is not very expensive anyway, plus we
can avoid getting it in a later change if sound is off in settings.

Change-Id: I08d65467f245fa2f9f617eb23257c327b3115673
udioAndHapticFeedbackManager.java
564496bad6207f02e7a653872213bc5954e84ce4 06-Mar-2012 Jean Chalard <jchalard@google.com> Export audio and haptic feedback to a specialized class. (A1)

Change-Id: I957d883d1ccf188cb98eb11031aa0a32fce4ed76
udioAndHapticFeedbackManager.java
atinIME.java
f8b39f39cd5c1dd99673fce4b9572ab8a7467c90 08-Mar-2012 Jean Chalard <jchalard@google.com> Merge "Remove a useless class (B4)"
4b656a3fef3f9952b923d6c7a251c50bc37a1f99 08-Mar-2012 Jean Chalard <jchalard@google.com> Merge "Remove stuff that's not used any more (B3)"
d8447ec353dd268695c598ac1ad06be735234f34 08-Mar-2012 Jean Chalard <jchalard@google.com> Merge "Use the simple auto-correction status (B2)"
fbe767cec55717716e2e7fa7f4e97468556d42d3 08-Mar-2012 Jean Chalard <jchalard@google.com> Merge "Remember auto-correction status simply (B1)"
3e2d385810ca5a36a21dc6af661381c1ca27cc86 08-Mar-2012 Tadashi G. Takaoka <takaoka@google.com> Restart LatinIME service when keyboard theme is changed

Bug: 6023947
Change-Id: I779da32708fca7333aff74929cc98173246ee685
ebugSettings.java
c648b887798c241b6810b91be1546dc0046bd4c0 07-Mar-2012 Tadashi G. Takaoka <takaoka@google.com> Merge "Dynamically determine key preview backing view height"
c8b0e5797e20d3fa25d319a9709aabc9149f8ff9 07-Mar-2012 Tadashi G. Takaoka <takaoka@google.com> Dynamically determine key preview backing view height

Bug: 6023947
Change-Id: I53a5c0eb99100a0dfe3e025808f5dc55747d1287
atinIME.java
uggestions/SuggestionsView.java
dab392c6f4f5e02be36cde370758a3450bc85fb8 07-Mar-2012 Jean Chalard <jchalard@google.com> Merge "Fix a bug with successive manual picks"
3dd4bcb28339702755f0da25a26ea59bc4fa4a00 07-Mar-2012 Jean Chalard <jchalard@google.com> Merge "Recompute suggestions on language change."
b84ee82e66d608151fcf552c82e7765a74e47fb0 07-Mar-2012 Jean Chalard <jchalard@google.com> Recompute suggestions on language change.

Bug: 6106407
Change-Id: I43d9c89610a9ed7a9f6825bd90334d7b343df52c
atinIME.java
845b24d9d31072b98958c557366617ad1c34f1b7 07-Mar-2012 Jean Chalard <jchalard@google.com> Fix a bug with successive manual picks

Bug: 6121571
Change-Id: Ib16fbef1087da3b7da5539901ec57156f242f089
atinIME.java
f773ef19e8c26156970c93695d221f43c4a0b0ea 07-Mar-2012 Jean Chalard <jchalard@google.com> Remove a useless class (B4)

\o/

Bug: 5975068
Change-Id: Ia18b55af6d555e7ee7af1cdd7c6227fc1ee6786b
omposingStateManager.java
atinIME.java
a0beebf7114557bf5e72c767f92b105704cbc1be 07-Mar-2012 Jean Chalard <jchalard@google.com> Remove stuff that's not used any more (B3)

Change-Id: Ie86675ff2facd37430051bf129ddd930fb933dc9
atinIME.java
0a59ac2ba88ac1f99151d9336136bc6fe7d416c0 07-Mar-2012 Jean Chalard <jchalard@google.com> Use the simple auto-correction status (B2)

Change-Id: I9d2f053b6f7bad20fc6afe5f5086a965e5014a5c
atinIME.java
70852c91dc7209d0aaa875a2cb0f79739c7398e6 07-Mar-2012 Jean Chalard <jchalard@google.com> Remember auto-correction status simply (B1)

This duplicates the functionality in ComposingStateManager at
a fraction of the cost. It's not used yet.

Change-Id: Ica2607fb2f7c41e11189fcb566e253db8f62596f
atinIME.java
65fe7f7994af97233f0b8b53f63bc89825d4c058 07-Mar-2012 Tadashi G. Takaoka <takaoka@google.com> Merge "Add language switch key only to the phone layouts"
81d4e3cd66a9388c47c7dba55240ddf849b31934 18-Feb-2012 Tadashi G. Takaoka <takaoka@google.com> Add language switch key only to the phone layouts

Bug: 5759092
Change-Id: Ic7d7d4812976654c0e85fecabd1128eadfc52c5c
atinIME.java
ettings.java
ettingsValues.java
tils.java
89ffb212b469531db4a616afb9bb7ba6d2a56b50 06-Mar-2012 Jean Chalard <jchalard@google.com> Make the keyboardswitcher and the subtypeswitcher final.

Change-Id: Ifcc79357adcc53f93b190b6e98d5569f42f74655
atinIME.java
3cd1a00ecacf01f3005e794f01be46648707c741 06-Mar-2012 Jean Chalard <jchalard@google.com> Resolve a todo

This exports some voiceproxy complexity to voiceproxy rather
than keeping it in latinime

Change-Id: I0b3523e77af4104cc3ed28417956059c734c8bfe
atinIME.java
691f1c174b660f3bcfe1823d16e55990b4c829da 06-Mar-2012 satok <satok@google.com> Fix coordinates sent to native code

Change-Id: I2c8b093b59ad36ffe860c3c4d360d87251d101c4
ordComposer.java
231ef8fa3e6cf0961c62b2bf54300722ea3c9b64 06-Mar-2012 satok <satok@google.com> Merge "Integrate the logic to calculate the proximities"
ca7ec2097ca6af1505c1e6aa8b81b6068ba46dae 06-Mar-2012 satok <satok@google.com> Integrate the logic to calculate the proximities

Bug: 4343280

Change-Id: I0f6a7e6912ed4abea07c10d266da4c7ccb0dae76
atinIME.java
uggest.java
ordComposer.java
pellcheck/AndroidSpellCheckerService.java
uggestions/MoreSuggestionsView.java
00ed3be95cee472685bcba1ea861ac75c61db690 06-Mar-2012 Jean Chalard <jchalard@google.com> Correct special space handling of punctuation

This fixes two defects:
- One where some separators should promote a phantom space to
a real space. This bug had a unit test but wasn't tracked.
- One where French punctuations would behave incorrectly. Tracked
Bug: 6113693

Change-Id: Ia7f86fc960e00141757632ab2c9bce9168dd6966
atinIME.java
ettingsValues.java
e79b1a83126b41e09a8ec0a8dbb751ae0e02c7f6 05-Mar-2012 Tadashi G. Takaoka <takaoka@google.com> Make SuggestedWords immutable completely

Change-Id: I1b0f7b857e89307c987187c1969a2846aa97fdcc
atinIME.java
uggestedWords.java
tils.java
uggestions/SuggestionsView.java
8cc8f26adfe0f06cebc697dac43a856326cf7afc 05-Mar-2012 Tadashi G. Takaoka <takaoka@google.com> Make SuggestedWords partially immutable

Change-Id: I72a2f71d7f6565a30c06e563b0a64f496542cde9
atinIME.java
atinImeLogger.java
uggestedWords.java
uggestions/SuggestionsView.java
d5b6360549c1e97958a2ec25e5c20ab4d8b455b1 05-Mar-2012 Tadashi Takaoka <takaoka@google.com> Merge "Revert "Make SuggestedWords immutable""
d62fa834c6f42b23f010e67086bef909bc57d958 05-Mar-2012 Tadashi Takaoka <takaoka@google.com> Revert "Make SuggestedWords immutable"

This reverts commit c208f4dfb7abe1b7a83c725d515edb3615d5d927
atinIME.java
atinImeLogger.java
uggestedWords.java
tils.java
uggestions/SuggestionsView.java
6a830277dfca9bfa4ec783048cfd2de7504d6fc3 05-Mar-2012 Jean Chalard <jchalard@google.com> Merge "Refactoring"
611a5bdf650f7bc54bf40176f84f1cd9c87aa9aa 05-Mar-2012 Jean Chalard <jchalard@google.com> Refactoring

Change-Id: I2f92c01fa1ff6b318128d387f26942b5d47de3e0
atinIME.java
c208f4dfb7abe1b7a83c725d515edb3615d5d927 05-Mar-2012 Tadashi G. Takaoka <takaoka@google.com> Make SuggestedWords immutable

Change-Id: I26bd82aee5ead84e40abfc3db5a48ed6d1e42361
atinIME.java
atinImeLogger.java
uggestedWords.java
tils.java
uggestions/SuggestionsView.java
895b70b8afd3ba21850ff905e9c1dc2a40fcd061 05-Mar-2012 Jean Chalard <jchalard@google.com> Move some treatment to a more sensical place.

It makes more sense to catch words with the safety net in
updateSuggestions() than in showSuggestions(). Also, it's useless
to do it in updateBigramPredictions, because the result will
always be provably false.
This will also help with writing unit tests.

Change-Id: Ifab81e6c5a74b1aa75cf85ef7742fee69a98f5ce
atinIME.java
9b01890254c62a30b079bd9f79a30f9541faf11b 05-Mar-2012 Jean Chalard <jchalard@google.com> Move a method to a more sensical place.

Change-Id: I11f87448f689cf828bff960ad7a3e4739a3457dc
atinIME.java
uggestedWords.java
tils.java
uggestions/SuggestionsView.java
611ec69413e7139c5a9a0f4534698d9dcca8f702 04-Mar-2012 Jean Chalard <jchalard@google.com> Remove a useless method

Change-Id: I2002662ee07af2fcc626a52ea4e9ad8977b29ca2
omposingStateManager.java
428178aca6abc87bd09b8f6b84a589a9dd13f87d 05-Mar-2012 Jean Chalard <jchalard@google.com> Merge "Replace a useless computation with a constant"
4ab5486bf2dbaa5e474209317dcbd23669964a9b 05-Mar-2012 Jean Chalard <jchalard@google.com> Merge "Remove a useless test"
4e112d07821d34c1dedd21b086817be9fce2fd47 05-Mar-2012 Jean Chalard <jchalard@google.com> Replace a useless computation with a constant

This is provably always false

Change-Id: I88d783fa59fec0b7a729558ba974a6a58c158645
atinIME.java
a04d2358c0118df1294145e3f2e4e6cbf03dad0b 05-Mar-2012 Jean Chalard <jchalard@google.com> Remove a useless test

With the current logic, this test provably always resolves
to false.

Change-Id: Iba84ef5f3a14cd8ac48c6a813519ab283bf605f8
atinIME.java
49079df8ec95dfaf6d202648731367303f92acae 05-Mar-2012 Tadashi G. Takaoka <takaoka@google.com> Merge "Omit InputMethodManagerCompatWrapper argument from some utility methods"
2d25ba27506fe209c63b4d7b7059d1c2525e231a 02-Mar-2012 Tadashi G. Takaoka <takaoka@google.com> Omit InputMethodManagerCompatWrapper argument from some utility methods

Change-Id: Ic837018c702c8c575de3e5e81fe8e31fee16fe22
atinIME.java
ettings.java
tils.java
c2136c4e632d4542cd806d7b91a4504c11a04768 05-Mar-2012 Jean Chalard <jchalard@google.com> Merge "Some renaming"
a157249014d1272fe42e7af5131bd500c034de20 02-Mar-2012 Jean Chalard <jchalard@google.com> Merge "Remove a useless method"
e53840d21617c4706d407066ea6fadbdb26656c2 02-Mar-2012 Jean Chalard <jchalard@google.com> Merge "Some more simplification"
3a1844c33b3ae7373eb840f64c9938757f8133cd 02-Mar-2012 Tadashi G. Takaoka <takaoka@google.com> Merge "Support dividers in MoreKeysKeyboard"
5ef4fccbb90491e1f6c2e87b47ebf9f3659949fb 29-Feb-2012 Tadashi G. Takaoka <takaoka@google.com> Support dividers in MoreKeysKeyboard

Bug: 6080806
Change-Id: Iacd78c6aab6abf948717d34da7489a79c41316d2
uggestions/MoreSuggestions.java
a83a53ba24ed59d8bff0a9bd1205928ff60d6438 02-Mar-2012 Jean Chalard <jchalard@google.com> Some renaming

Change-Id: I445277cb3af469a0145a8da0ffb801b7e19048cd
atinIME.java
uggestedWords.java
tils.java
uggestions/SuggestionsView.java
5edda4111e0bdb7717c6de1d23f6ffa4a8257b21 02-Mar-2012 Jean Chalard <jchalard@google.com> Remove a useless method

Change-Id: I038e6a82b6463a2a8ec494171a596d76fbc75fe1
uggestedWords.java
dd931c47be1a4fe4cf86c8ad018e479c2cbdf8ce 02-Mar-2012 Jean Chalard <jchalard@google.com> Some more simplification

I wish "are we autocorrecting?" was not computed in a dozen
places all depending on a hundred code paths
More than likely, this fixes very subtle discrepancies
between auto-correction indicator with the underline and with
the LED on the spacebar - which is not displayed any more in
the current version anyway. Especially, the LED probably
would have been off when the word was caught by the safety net.

Change-Id: Idda3021771081d6155b06915e728ecd64d9e042e
atinIME.java
e2a50bd8049a8bd38a9154b510f9ccd047459e05 02-Mar-2012 Jean Chalard <jchalard@google.com> Optimization

Avoid doing some useless processing.

Change-Id: I4ce0a188e10db30322bd25751dc5c09492cea301
atinIME.java
7204eab3da916d8873b7eeee4b4528a6b82de19c 02-Mar-2012 Jean Chalard <jchalard@google.com> Precompute two values that never change

Change-Id: Ic54e7926028ea8374564da5e5004d710f42c53e1
atinIME.java
38e535e59676ac4d7bf27026fe3e16fcd9eb292e 02-Mar-2012 Jean Chalard <jchalard@google.com> Change a parameter type to make a call clearer

Change-Id: I2918d0a8b00da743689b919f80128bbf36973f24
atinIME.java
5bc2b61274d20adf4e1b0d5728fef43c6cd51429 02-Mar-2012 Jean Chalard <jchalard@google.com> Move a method up a level

Change-Id: I6b9a697480127e4745698ab19f8a360b86ff39ca
atinIME.java
d02783cb63293507e8544ea60d07559092ce83d4 02-Mar-2012 Jean Chalard <jchalard@google.com> Break out a method

Change-Id: Ia14fc320422b7f198c33ba522bb93dd70fbcb2c1
atinIME.java
5a2c19d4fbfd2e5493a0679be983621e46e50907 02-Mar-2012 Jean Chalard <jchalard@google.com> Merge "Revert "Make a member read-only""
f1967ce322a09456035ac56877dc4414250c43a9 02-Mar-2012 Jean Chalard <jchalard@google.com> Revert "Make a member read-only"

This reverts commit 6a43e39bf077bcb706be5e5a84056a3f62580ad7
uggestedWords.java
tils.java
uggestions/SuggestionsView.java
9727aea418b9106a4fc546dd850f1c7dce88b61f 02-Mar-2012 Jean Chalard <jchalard@google.com> Merge "Small refactor (A1)"
6a43e39bf077bcb706be5e5a84056a3f62580ad7 02-Mar-2012 Jean Chalard <jchalard@google.com> Make a member read-only

Change-Id: I9a718eaf07e1b6c659e649350d3605f365db2839
uggestedWords.java
tils.java
uggestions/SuggestionsView.java
d992fa847da8f232d961ff097857757bfbff73a5 02-Mar-2012 Jean Chalard <jchalard@google.com> Small refactor (A1)

Change-Id: Ia0838bbce47a2b60067f464685ad6d55ee4ec934
atinIME.java
ede2133cb137a48aabd2aefc464f68edb7fd2514 27-Feb-2012 Tadashi G. Takaoka <takaoka@google.com> Support time, date, and datetime keyboard

Bug: 6030364
Change-Id: I2bd4daf264757d8f3fa7c946d10a39c36ccf5905
tils.java
961703841e89a274122c87541d1151fd91672ddc 01-Mar-2012 Tadashi G. Takaoka <takaoka@google.com> Merge "Explicitly specify that labels might be in more keys"
e4c45c6ef920b9cd1754f345446f53c504a64c5f 29-Feb-2012 Tadashi G. Takaoka <takaoka@google.com> Explicitly specify that labels might be in more keys

Bug: 6080806
Bug: 6081427
Change-Id: I455a0210e65ea2a7774e0e0071cea5f4a99577bd
uggestions/MoreSuggestions.java
fa12acb8b789081c532048ad03fcf8500cc6defb 01-Mar-2012 Jean Chalard <jchalard@google.com> Change a dangerous ID

The message id 0 is used intrinsically by the framework
for all messages without a specific ID. Using 0 here
we can't reliably use the post(Runnable) method on our
handler, because these would in *some* respects be taken
for update_suggestion messages, but not all.
For example, they'd be removed on removeMessage() but
they would not trigger the actual process. This would
lead to utter confusion.

Change-Id: I5d9b01d38e2ff090cd0d80c27421dc8a41c317b8
atinIME.java
f3f90e6d35f172f4183ac712080e8d3bea795609 29-Feb-2012 Jean Chalard <jchalard@google.com> Try to survive unavailability of local storage

Bug: 6035465
Change-Id: Ibe2d542349ec598824f78b91d374a977082fc2d1
serBigramDictionary.java
serUnigramDictionary.java
5e4d2a0fa97dc544735682225be5cc663804bbf6 23-Feb-2012 Jean Chalard <jchalard@google.com> Remove logs now that we don't need them any more.

This has served its purpose, we don't need this any more.
The logging function itself can be kept since it's not called
any more. It may come in handy later.
Bug: 6053661

Change-Id: Icb40dad131793a704dbe6514cf7433e43ea04450
nputAttributes.java
3f65960e1614e01d882c15f153d9c5fc5fec5016 23-Feb-2012 Jean Chalard <jchalard@google.com> Add debug prints to help with debugging

This is intended to help tracking #6048808.
Another bug has been filed to remove this once we're done with
the debugging: #6053661

Change-Id: I4547fb71926af6dc2e9c23ee4b44e4e345be6657
nputAttributes.java
5935950d4431dd7eef18ebc370f2abeb614465d4 22-Feb-2012 Jean Chalard <jchalard@google.com> Rename cancelCommit to revertCommit

This wording is easier to understand, and it matches the other
revert* functions.

Change-Id: Ibc2ec79fb5a0f9bf508e5cdeb75e54abd9241d0c
astComposedWord.java
atinIME.java
4fef31510df542a3324426a6750950194d016086 22-Feb-2012 Jean Chalard <jchalard@google.com> Remove a useless code path (A7)

This is never called any more, since we now use the cancelCommit
path to react to a backspace after a manual pick.
This concludes the run of changes to implement feature
request #5968922

Change-Id: I23df653bb2a3de2ba0152394d5d616a42ac7519b
atinIME.java
bdf89ce5feedb03e67b43f530b1eb9bd44203c63 22-Feb-2012 Jean Chalard <jchalard@google.com> Rename cancelAutoCorrect to cancelCommit (A6)

Also remove a test in debug mode that would check for absence of
a situation which is now expected.

Change-Id: Ia5be350bc98a604b3bf8f6057652c5534f6a19af
astComposedWord.java
atinIME.java
2aa16dd81f50aa7737bd77b3ca9cfcf27b6cc048 22-Feb-2012 Jean Chalard <jchalard@google.com> Merge "Activate the code to cancel a manual pick (A5)"
80c25df49dacbbd3a8baf2fda075dcdb9a8b49cf 22-Feb-2012 Jean Chalard <jchalard@google.com> Merge "Implement cancelling a manual pick (A4)"
8db74d0fae165ae5677fb9f7b2b631926eca9cc5 22-Feb-2012 Jean Chalard <jchalard@google.com> Merge "Use the stored separator instead of reading it back (A3)"
9271b770e81350e232c351f76f9f7a2ec23dff5f 22-Feb-2012 Jean Chalard <jchalard@google.com> Activate the code to cancel a manual pick (A5)

This finally makes active the behavior described in
Bug: 5968922

Change-Id: I363ed23270c3dea75411ea806011225097b5d07c
astComposedWord.java
atinIME.java
ordComposer.java
32f0af1fc48f67907f0e731e18359f29e2b1df14 22-Feb-2012 Jean Chalard <jchalard@google.com> Implement cancelling a manual pick (A4)

This is new code, but simple code. The new code path is never
used for now, but it will be in an upcoming change. This serves
to implement feature request #5968922

Change-Id: I3e67731ec6e9fc0b86c5cbd972e9c081781c11a9
atinIME.java
193d23f40e1556074f323b7bd9695759f4798efe 22-Feb-2012 Jean Chalard <jchalard@google.com> Use the stored separator instead of reading it back (A3)

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
astComposedWord.java
atinIME.java
e043bf02f2b0a6428a0e6cae20e00cf4432c789f 22-Feb-2012 Jean Chalard <jchalard@google.com> Merge "Give LastComposedWord knowledge of the separator (A2)"
1dfdc8056c93a2ea3e26f821af738ce1504af714 22-Feb-2012 Jean Chalard <jchalard@google.com> Merge "Give LastComposedWord knowledge of the committed word (A1)"
66bb563535dbe3672f99f75bd71763a551444867 22-Feb-2012 Jean Chalard <jchalard@google.com> Give LastComposedWord knowledge of the separator (A2)

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
astComposedWord.java
atinIME.java
tils.java
ordComposer.java
cf9d92629cae88273805eaf7984fcfdd8afd11f5 22-Feb-2012 Jean Chalard <jchalard@google.com> Give LastComposedWord knowledge of the committed word (A1)

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
astComposedWord.java
atinIME.java
ordComposer.java
1b3c16c183ad644ce687e193d9c779cdd7a37d3f 22-Feb-2012 Tadashi G. Takaoka <takaoka@google.com> Merge "Add next/prev navigate action more keys and remove tab key"
05bfd189a88be79ddfc74d0ea21792e2fb78f2aa 17-Feb-2012 Tadashi G. Takaoka <takaoka@google.com> Add next/prev navigate action more keys and remove tab key

Bug: 6037537
Bug: 5961814
Change-Id: I9c6dedf953452a180fcd5bce7bfadfd3c821f224
atinIME.java
mlParseUtils.java
5262fe8832e69b5d4b2c575524da3757435644f0 22-Feb-2012 Jean Chalard <jchalard@google.com> Dismiss the hint on a non-word-starting non-separator

This would happen when a character is not a separator but is not
a word starter. Such characters include single quote and
dollar, and others non-letter, non-separator chars.
We set the bigram predictions if any - if not so configured, this
will fallback on setting back punctuations into the strip.

Bug: 6010408
Change-Id: Id203bbe87f8c13de0d5027b555c9067c7ec98f92
atinIME.java
b141c9cd3f6785bc0a4e1f5385f4e6e2e17955bb 22-Feb-2012 Jean Chalard <jchalard@google.com> Rename resources to reflect current usage

Bug: 6010403
Change-Id: Ia02ff31007296fdf6901504f238dfd9e4621f658
atinIME.java
ettingsValues.java
8a3d369840d6061692a19ceb1eb7267a50a9e056 22-Feb-2012 Jean Chalard <jchalard@google.com> Remove a useles parens

...I could swear I had compiled :/

Change-Id: I4e1fb2b1dda0a4ceffe2082935395d05297c63ec
atinIME.java
9a2a11e65bd32d82754b3fcff74e9e3795327628 20-Feb-2012 Jean Chalard <jchalard@google.com> Rewrite a condition

Change-Id: I805c9579788d99b015feb2075ad4771756c7adc5
atinIME.java
2649e42d756132ad763d6db5f9de1f901bbefd06 20-Feb-2012 Jean Chalard <jchalard@google.com> Extract a method to reset the ime state

Change-Id: I921184b85b94418cf360508ee3f67e85b10b3d72
atinIME.java
5eeff7cf547e3694315473a91bed0d5afdc5709e 20-Feb-2012 Jean Chalard <jchalard@google.com> Converge paths of an if() branch

This is to help with further refactoring.

Change-Id: Ib2459903862570cf7022fd90f2d5c524a6bbbe19
atinIME.java
104453908064dcdbb4f10aa4150f1d79beafb408 20-Feb-2012 Jean Chalard <jchalard@google.com> Rename variables and add comments

Change-Id: I746f2364d9f02f22aa6ab57d7060013ee114f4e3
atinIME.java
1fead1d5f12928f90c723b5f7b88490cc7cd2a67 18-Feb-2012 Jean Chalard <jchalard@google.com> Read the initial selection value.

It turns out this was available in an unexpected place.
Fixes both the following bugs
Bug: 5948469
Bug: 6023118

Change-Id: Ie1a91b8268540ea0f0df02bee94c3bbdeb0fa4c5
atinIME.java
195096415745aa8ba1fc7542008b867b213b57be 18-Feb-2012 Jean Chalard <jchalard@google.com> Merge "Don't assume a word has been added to the user dict"
97bde43740d8ba7f8aedde35d20621823140966c 17-Feb-2012 Tadashi G. Takaoka <takaoka@google.com> Settings key always exists in more keys of shortcut/f1 key

This change also
* Fix comman/f1 key for Arabic keyboard.
* Removes "show settings key option" and related stuff.
* Renames and simplifies F2 key to shortcut key on 7 inch tablet.

Change-Id: Ib1cf99ad00d9780a2f0d170260e756771e161521
ettings.java
ettingsValues.java
8e4b3bbf9f891b9fdfa92fb72c12d00ee6739357 17-Feb-2012 Jean Chalard <jchalard@google.com> Don't assume a word has been added to the user dict

The user may now cancel or edit a word upon adding to the
user dictionary. We can no longer assume the word has been
added as is and for the current locale. We should just rely
on standard mechanisms that inform us of new insertions.

Bug: 6015347
Change-Id: I069b19c0c844ca29d6de4c4d162306f9413adea8
serDictionary.java
beb08b398fa73a26f2d42d6feec87e34a96ca2d9 16-Feb-2012 Tadashi G. Takaoka <takaoka@google.com> Remove unnecessary and harmful KeyboardState.onUpdateShiftState call

This change also cancels double tap and long press timers if other
letter key is pressed after shift key.

Bug: 5693999
Bug: 6017610
Change-Id: I3b5f3debfb8915fa73a93b409a38afadf24132e9
atinIME.java
ad290d6505247171e1e8437446c6f5d148a01778 16-Feb-2012 Jean Chalard <jchalard@google.com> Activate bigram predictions from the binary dictionary

Change-Id: If1cc50539d7677b854b1cd3bea3423c8c0865de5
inaryDictionary.java
4baf767facb885bdbd271624e1c9d8cccc553bb4 10-Feb-2012 Charles Chen <clchen@google.com> Merge "Improved shift key and symbol/alpha switch key accessibility feedback."
accd2a9f61e3289fc66d2b79ef54e2e06c5ff43b 09-Feb-2012 Jean Chalard <jchalard@google.com> Merge "Add finals"
a828f613a8dfbeff6290f261bbbd5ff988fb99b6 09-Feb-2012 Jean Chalard <jchalard@google.com> Merge "Some more simplification"
8ff0564f6a7c78e2fda517ea49b2ac2fa96d0f8e 08-Feb-2012 Jean Chalard <jchalard@google.com> Add finals

Change-Id: Ib81be9a0df34c5e9fc49d2b5d9bf02297ea2b499
atinIME.java
6a800b253f0ea329808b582033a0ec3fc240d692 08-Feb-2012 Jean Chalard <jchalard@google.com> Some more simplification

Remove useless method calls, and ultimately remove useless
method.

Change-Id: I3f353b1b37460d5e9ceae5cb5dde3fff0da81c21
atinIME.java
ettingsValues.java
4721427c7de3600f6fe7dfff16508a6a974fb3e4 09-Feb-2012 Jean Chalard <jchalard@google.com> Allow revert swap punctuation again

This may not be the best behavior, but it's the same as ICS.
Bug: 5981844

Change-Id: Ibb7798e2a315312310ed3be4e731d0fe1ac04456
atinIME.java
7a39bd4454664b5c37b30e9b5362ddbcdce3b374 07-Feb-2012 Tadashi G. Takaoka <takaoka@google.com> Shift+Smiley key will register newline character of textMultiLine

This change also
* Honors the custom action label in EditorInfo.actionLabel.
* Invokes InputConnection.performeEditorAction if action is specifed
at EditorInfo.imeOptions or actionLabel/actionId.
* Stops using InputMethodService.sendKeyChar. Implements
sendKeyCodePoint instead.

Bug: 2498607
Bug: 5961809
Bug: 5368408
Change-Id: If4cd5eb3dacfc6b6a7ea434b0617c2438e06e42d
atinIME.java
82efc941ba88e680765dac8f34d307780f6527d1 08-Feb-2012 Jean Chalard <jchalard@google.com> Merge "More simplification"
e771fc2f1ac7935befcc4d872cc974a47b50fdc7 08-Feb-2012 Jean Chalard <jchalard@google.com> More simplification

A suggested punctuation is sure to be 1 character and a word separator,
so the isSuggestedPunctuation() test is redundant.

Change-Id: I3d31f0825f069f64d514682e46be62afdae25291
atinIME.java
9159b9953d857de83ae2f90a121fcd259f5ee01d 03-Feb-2012 Jean Chalard <jchalard@google.com> Fix the auto-composer to support supplementary chars

Change-Id: I61ff218ae2ca4eb443a370e581b677755258670a
ordComposer.java
8174373a0ed11aaaf6d5cdfc9065e6b8641b19a6 08-Feb-2012 Jean Chalard <jchalard@google.com> Merge "Remove a nested edition occurence"
5a6daf46cf52a3d7e95926c3fcbb3b3295159c29 08-Feb-2012 Jean Chalard <jchalard@google.com> Merge "Cleanup"
862f950da3a35e622854e3e5a733c7b592ca7389 07-Feb-2012 Jean Chalard <jchalard@google.com> Cleanup

Remove a useless test (we can only come here if the code
is not a separator, as we are only called from onCodeInput
inside an explicit test).

Change-Id: Icd996a5a1c18a550117a144a1d35f167b96211f7
atinIME.java
2124bc5bf5af31cf3d2789b70ebd2f24c815f5f4 07-Feb-2012 Jean Chalard <jchalard@google.com> Remove a nested edition occurence

This was harmless but confusing

Change-Id: Ic271f80d3dadf01b29e3875c6a8ad51b99a936f9
atinIME.java
2e2d6b4d4060ed3b956b4bd4c1f89b5d9c87b525 08-Feb-2012 Jean Chalard <jchalard@google.com> Small simplification

Change-Id: I55f81f3ab427fd5b28bb1f31960077cd1897cbd0
atinIME.java
1b986cc488e7fb238c88b8cfe8e57bdbd494e56f 08-Feb-2012 Jean Chalard <jchalard@google.com> Merge "Fix a bug with manual pick then dotcom key"
8d4f0d5d1df2e0ae0b6ac332fd6661b7fa903186 07-Feb-2012 alanv <alanv@google.com> Improved shift key and symbol/alpha switch key accessibility feedback.

Bug: 5933165
Change-Id: Id71f38874640785b7ad43b7a70e27f40c13be748
atinIME.java
69f672a4b3283b5760e60e7341c20120080c2e56 07-Feb-2012 Tadashi G. Takaoka <takaoka@google.com> Merge "Remove unused InputConnection argument"
12d67e6d5d5bd764117038f3f666d4d7da0c10ea 07-Feb-2012 Jean Chalard <jchalard@google.com> Fix a bug with manual pick then dotcom key

Inhibit adding phantom space for tld keys even if the last
character inserted in the textview is not a dot

Change-Id: Ie92554ead7a18c932480905c5738aff7c0159a32
atinIME.java
64eaa67eb5ad058c8fe1ef2f4ec1a52c3dd05fbd 07-Feb-2012 Tadashi G. Takaoka <takaoka@google.com> Remove unused InputConnection argument

Change-Id: Ic45c8c6e7730775654317fb6e2d1cb64f9031f46
atinIME.java
cfec7e72fd650067c1589c0d26f3f089a45c3067 07-Feb-2012 Jean Chalard <jchalard@google.com> Merge "Fix a race condition that makes tests unstable"
816a8a0fd85ca0327436f8bd1cfa6928600ebc5d 07-Feb-2012 Jean Chalard <jchalard@google.com> Fix a race condition that makes tests unstable

Change-Id: Ic19d380eb64855884bc6ded8547c200dd772ffe9
atinIME.java
172a013ab5481dee22e0637bc997b8bcbc4436db 07-Feb-2012 Jean Chalard <jchalard@google.com> Fix a bug with the auto-correct indicator

Bug: 5969106
Change-Id: I02d4b9184bb2c3fc0d08ffd5db77a9f9d816631f
atinIME.java
a7f2500001c53dc5a6de9c2525a75229cc7c6645 06-Feb-2012 Jean Chalard <jchalard@google.com> Fix a bug with common objects.

Bug: 5961179
Change-Id: I452efc552c6ab390931f25557d7aee5a64bf054e
astComposedWord.java
atinIME.java
ordComposer.java
fb684cebe8f5dac1bdb6cfa7085a07ddc66acede 02-Feb-2012 Jean Chalard <jchalard@google.com> Stop inserting a space after a manually picked word.

Bug: 4994861
Change-Id: I6ae256a94dbaddea4304304779d17025620c5025
nputAttributes.java
atinIME.java
909b2940db78adcc4c3b7fc22d032bfb106d7d39 03-Feb-2012 Tadashi G. Takaoka <takaoka@google.com> Merge "Get rid of Key.setIcon(Drawable)"
e7948a8692a102c89aca70a79ca62573d77efde3 02-Feb-2012 Tadashi G. Takaoka <takaoka@google.com> Get rid of Key.setIcon(Drawable)

Change-Id: If6ebbdefcbfd0cc14c72858f9bb44861e8abe079
uggestions/MoreSuggestions.java
825e2bbd910cce3055a4ca808d3744bc0b2cedda 02-Feb-2012 Jean Chalard <jchalard@google.com> Fix a bug when deleting the last char

And unit test

Change-Id: Ic4fc3626f8b86e10156d770d41cd6deab5d31f39
ordComposer.java
9242a2bcf8a6b07bb045a8356711bed1493c251e 03-Feb-2012 Jean Chalard <jchalard@google.com> Fix string iterations in a couple places.

Seems I didn't get how to iterate on a String correctly >.>
Talk about a big bug. Anyway, I think it's working now.

Bug: 5955228
Change-Id: I988c900cf2a16c44b9505cfd4f77c7cda7e592f0
inaryDictionaryGetter.java
ettingsValues.java
ordComposer.java
pellcheck/AndroidSpellCheckerService.java
8261a4cad769b50149159db41c5e2322c85fb8f9 02-Feb-2012 Tadashi G. Takaoka <takaoka@google.com> Merge "Move CSV parser to KeySpecParser"
0086861d5a2d16f86e2130ee9a7ec46ca533fadb 02-Feb-2012 Tadashi G. Takaoka <takaoka@google.com> Move CSV parser to KeySpecParser

Change-Id: I424fb47bc70e9b6aaa5a16ae9b2500d23da75c26
ettingsValues.java
tils.java
e05b3f4b3a57dcf99ade35bfbc1e1cdc3c3e476c 31-Jan-2012 satok <satok@google.com> Support additional proximity characters

Change-Id: Ifbe0d7e4eafea1926bbce968eae4724dd5769689
ordComposer.java
8ca325f437a4dd6484e14ac66415b792195dbd40 02-Feb-2012 Tadashi G. Takaoka <takaoka@google.com> Merge "Make KeySpecParser and CSV parser code point aware"
e01d272603f3643ce613e61dd3204379f4f4fb73 02-Feb-2012 Tadashi G. Takaoka <takaoka@google.com> Make KeySpecParser and CSV parser code point aware

This change also renames MoreKeySpecParser to KeySpecParser

Change-Id: I35733cdbb344f16b57ffa2cfe79055c089b4e409
ettingsValues.java
tils.java
51fd1632f59bd9aaeb5c98ff031f1618e8c31c59 02-Feb-2012 Jean Chalard <jchalard@google.com> Stop throwing an exception in some corner cases.

When the application is modifying the text under our feet,
we may come through this code path. We should log the error
rather than crash.

Bug: 5869235
Change-Id: Ic0fd24c3bc805d44c5db0ad781ddebeca0450614
atinIME.java
ff858c7ff5e747c17ff6d9d1908e700ad30ded85 01-Feb-2012 Tadashi G. Takaoka <takaoka@google.com> Use MoreKeySpecParser to parse puctuations strip resources

This change also
* Doesn't use Key.getRtlParenthesisCode to get correct parentheses
code in RTL context. Intead uses the outputText feature of
moreKeys specification.
* Move CVS string parser from KeyStyles to Utils.

Bug: 5948247
Change-Id: I45752c7d01b4f7d3f3da900b110a2185b336a1f0
atinIME.java
ettingsValues.java
tils.java
a5c96f376ad57e78a88942bb618e067054ed818a 01-Feb-2012 Tadashi G. Takaoka <takaoka@google.com> Move long press shift handling from PointerTracker to KeyboardState

This change also
* Rename phone shift keyboard to phone symbols keyboard.
Use CODE_SWITCH_ALPHA_SYMBOL code to switch between phone and phone symbols keyboard.
* Remove phone symbols keyboard from tablet.
* Introduces enableLongPress flag of Key.keyActionFlags attribute.
* Remove clumsy long press code from PointerTracker.
* Remove CODE_CAPSLOCK handling from LatinIME.
* Make KeyboardSwitcher to invoke haptic and audio feedback.

Change-Id: I00e1f697a10ab5112aec75e36853b96246ff5054
atinIME.java
433ca6a46db30a321715da0f457974916668dff5 31-Jan-2012 Tadashi G. Takaoka <takaoka@google.com> Cleanup redundant methods of KeyboardSwitcher

Change-Id: I2ebeb8852177f6c6e30578d0bb3f372f488dc6c1
atinIME.java
ca2f051cc173acc3bce384ebfe08068564bc8e07 26-Jan-2012 Tadashi G. Takaoka <takaoka@google.com> Auto generate various shift states alphabet keyboard automatically

If any shift state variants of alphabet keyboard layout is not
specified in KeyboardSet.Element, it will be automatically generated
from base alphabet keyboard definition.

This change also
* Eliminates KeyboardShiftState object from Keyboard.
* Removes various set shift state methods from Keyboard.
* Removes KeyboardSet.Element.elementAutoGenerate attribute.
* Separates "sticky" Key.backgroundType to "stickyOff" and "stickyOn"
* Add preserveCase flag to smiley, .com, and labeled special keys.
* Rename KeyboardShiftState class to AlphabetShiftState.
* Rename some attributes from *UppercaseLetter* to *ShiftedLetterHint*.
* Introduce shiftedLetterActivated to Key.keyLabelFlags

Change-Id: I01a0a8efeeaa76820ae728a5bdfa8d02b6ce74b7
atinIME.java
uggestions/MoreSuggestionsView.java
6029b43a3df1fa9a9baa339e2dbb984c6669d214 29-Jan-2012 Ken Wakasa <kwakasa@google.com> Add "size" and "pressure" for MotionEvent logs

bug: 5722703
Change-Id: I8e08942324b666de96682ce63e70c8d324535782
tils.java
449415c72f437f523a49a9ccfcde8a3c0f583a18 26-Jan-2012 Jean Chalard <jchalard@google.com> Cleanup (A9)

Deactivate the LastComposedWord when the commit was not the right
type, instead of fooling it by passing it a null auto-correction.

Change-Id: I032b477dc691bd151a644ca4b0c9f0a9b5512e45
ordComposer.java
5971a0a0bbbb671bb5b7d5cc7829ddf169c0cc7a 26-Jan-2012 Jean Chalard <jchalard@google.com> Remove a useless member (A8)

It turns out this can be removed entirely.

Change-Id: I6f23703cef1666311989a825285317eef696487f
astComposedWord.java
ordComposer.java
be79227dc99421ff7be62224c51c553b3fa73777 26-Jan-2012 Jean Chalard <jchalard@google.com> Remove the CharacterStore class (A7)

Remove the now useless WordComposer.CharacterStore class
and merge back its members inside WordComposer. This should
simplify the word composer a bit.

Change-Id: I5fe32418c62a583cd558dce98758a4701559bdf5
ordComposer.java
c7c152de4b42853086fc6fd918387ad0583d0e3e 26-Jan-2012 Jean Chalard <jchalard@google.com> Guard against wrong auto-correction cancellation (A6)

This deactivates the cancellation at each separator pressed while
not composing a word. The net effect is to fix
Bug: 5875776

Change-Id: I67aa3f842ddff250828c60596ad5a7e466c1ddaa
atinIME.java
b6b8729374dc68b153f00730c79828532acf1ee5 26-Jan-2012 Jean Chalard <jchalard@google.com> Straighten out resuming suggestion on kept word (A5)

This is cleanup.
This also introduces a "deactivated" state to the last committed
word, that can be used for
Bug: 5875776

Change-Id: I1855adb8ac8123f6d2c5365b0ae899145e5c3ba1
astComposedWord.java
atinIME.java
ordComposer.java
2712f23acbb197af3b125da4cc47108e71b7446d 26-Jan-2012 Jean Chalard <jchalard@google.com> Remove mCommittedWordSavedForSuggestionResuming (A4)

Change-Id: Ia62ef33b5c777a258b02280bda1b8368780a7eef
atinIME.java
ordComposer.java
2692a8700737d8eed268039aa27b22a31669da08 26-Jan-2012 Jean Chalard <jchalard@google.com> Move some functionality into LastComposedWord (A3)

Change-Id: Ie0ea02a061dd0cb84db5f33113ff433584636bc7
astComposedWord.java
atinIME.java
ordComposer.java
1f8fc62ccb5018716457dc309ab11ad3e1506ad1 26-Jan-2012 Jean Chalard <jchalard@google.com> Add useful information to LastComposedWord (A2)

Change-Id: Idf47f2e2bdd1d6394fc4b1ab7df28d64a808da1e
astComposedWord.java
ordComposer.java
95eeb2df63edf11d9500b9ff48b0b13a94712ba6 26-Jan-2012 Jean Chalard <jchalard@google.com> Merge "Add a class for previously composed data (A1)"
267563d1bb4d8091293fbd8774f0f95ef59f03c4 26-Jan-2012 Jean Chalard <jchalard@google.com> Add a class for previously composed data (A1)

Change-Id: I87498799e6a48b8fa65924a098bb0ceb7626dce1
astComposedWord.java
atinIME.java
ordComposer.java
736d740aa5966ad945d0f3ebdb48cebdfdd1ea16 26-Jan-2012 Tadashi G. Takaoka <takaoka@google.com> Merge "Get rid of Resource reference from KeyboardView, LatinKeyboardView and PointerTracker"
160f01211d169d64102205e80e9ac8d46c7d674b 25-Jan-2012 Tadashi G. Takaoka <takaoka@google.com> Get rid of Resource reference from KeyboardView, LatinKeyboardView and PointerTracker

This change introduces the following attributes.
* KeyboardView
- keyPreviewLingerTimeout
* LatinKeboardView
- keyHysteresisDistance
- touchNoiseThresholdTime
- touchNoiseThresholdDistance
- slidingKeyInputEnable
- keyRepeatStartTimeout
- keyRepeatInterval
- longPressKeyTimeout
- longPressShiftKeyTimeout
- longPressSpaceKeyTimeout
- ignoreSpecialKeyTimeout
- showMiniKeyboardAtTouchedPoint

Change-Id: I25159a87289b12447e20031add173523070e9b03
ettings.java
ettingsValues.java
bd51aaf98f39a2de01143109714a69dc9c1a7b66 26-Jan-2012 Tadashi G. Takaoka <takaoka@google.com> Merge "Warn deprecated privateImeOptions, "nm" and "forceAscii""
051ac1ef143113df7f8b7b2a693b8c5b8d8c38ca 26-Jan-2012 Jean Chalard <jchalard@google.com> Merge "Add a guard against OOB."
8be16f78b10aa4a8975c4068db1b32f81f661a2c 26-Jan-2012 Jean Chalard <jchalard@google.com> Add a guard against OOB.

...and avoid crashing in one case where the application may
change the text while we are typing.

Bug: 5685922
Change-Id: I4a22c63168986f43ac84f512aaa4267023d536e3
atinIME.java
5a38ff305f6ee95cecf2d337b7efda1eacff8140 26-Jan-2012 Jean Chalard <jchalard@google.com> Merge "Convert an internal enum into an int of same underlying value."
4f5c3a2898315ff41cc735a195cfeb2937f22f70 25-Jan-2012 Tadashi G. Takaoka <takaoka@google.com> Warn deprecated privateImeOptions, "nm" and "forceAscii"

Public API EditorInfo.IME_FLAG_FORCE_ASCII has been supported by
I6665b483.

Change-Id: I0ffdee15d8177d126cd8fe86a6bc4ab21be58c36
atinIME.java
6e082cb30dbe1a8cc314b474dc1377b85fdb25c2 25-Jan-2012 Jean Chalard <jchalard@google.com> Convert an internal enum into an int of same underlying value.

Goes together with Id4f4e066

Bug: 5922118
Change-Id: I1e39dd01c67e9284d9d7fe008d868847e69986d7
inaryDictionary.java
ictionary.java
xpandableDictionary.java
atinImeLogger.java
uggest.java
pellcheck/AndroidSpellCheckerService.java
fda847a870829f1491cbd5325f9c985213081149 26-Jan-2012 Jean Chalard <jchalard@google.com> Small cleanup

All calls to this method are done with the same parameter,
and it's really hard to understand if we call upon this
member inside.

Change-Id: I787664bb59053ab0fe666ed812fb12b2b9090918
atinIME.java
d9702a375ab35af58f517b75683595b17a224f35 25-Jan-2012 Jean Chalard <jchalard@google.com> Merge "Add a test for auto-correction."
0bfe359ee42af9c4487ce56acf42c74a2510980d 25-Jan-2012 Jean Chalard <jchalard@google.com> Add a test for auto-correction.

Fix two related subtle bugs:
- Stop singling out fat-finger-only corrections for rejection
when touch coordinates are not available.
- Remove a racy check that would happen only in debug mode

Change-Id: Ic904f9b27c091ca6b369052c4e65a630bff81257
omposingStateManager.java
atinIME.java
pellcheck/SpellCheckerProximityInfo.java
38d6a18821794dc733760b55fd2a896626f784e2 25-Jan-2012 Tadashi G. Takaoka <takaoka@google.com> Use String instaed of CharSequence in Key class

Change-Id: Ia76a41daede402ed2a509e110ae97d6bb660c760
uggestions/MoreSuggestions.java
77da3d5a3baab0a88f78db5800bb9ede0b39ff60 24-Jan-2012 Jean Chalard <jchalard@google.com> Fix a bug where backspace would not delete the selection

Bug: 5699301
Change-Id: I6c5a8470464d045349ac38e191c859b5c34cbeee
atinIME.java
5fd11a7f3367d51cea8dc83fb9675c93d82a2e4e 24-Jan-2012 Jean Chalard <jchalard@google.com> Fix a typo

Change-Id: I358350c959d5610214a752b14d7744fe83eb3821
atinIME.java
35e9a7ac553b4853b1b01642d2d8ab76f22dc5b0 23-Jan-2012 Jean Chalard <jchalard@google.com> Merge "Squash a ridiculously improbable NPE"
54c2dd67b0564420ca9892bbb60ba917fcbf6752 20-Jan-2012 Tadashi G. Takaoka <takaoka@google.com> Merge "Support @string reference in moreKeys attribute"
e54a4005d569cddbf8610dfd3e9afaec540fa060 20-Jan-2012 Tadashi G. Takaoka <takaoka@google.com> Support @string reference in moreKeys attribute

Change-Id: If0056d0601149d2ddd0e231a81e7b2409b37fc06
tils.java
7c177e82aff62ba5ac97eb7ef21ef0e0c36d32a1 20-Jan-2012 Jean Chalard <jchalard@google.com> Merge "Fix a bug where a check would fail"
7546ff6e34d540e9529d785bfc691b9c155b4051 20-Jan-2012 Jean Chalard <jchalard@google.com> Fix a bug where a check would fail

Bug: 5894393
Change-Id: I810de58730f2cabcaf7b8dc1d85b3725f959094b
atinIME.java
3eede315dc9998091477eb95e748e13ad6fd6e57 20-Jan-2012 Tadashi G. Takaoka <takaoka@google.com> Merge "Move MoreKeySpecParser.getResourceId to Utils"
0718590486dc0b7e60d46c41e6c5003ac15726f9 20-Jan-2012 Tadashi G. Takaoka <takaoka@google.com> Move MoreKeySpecParser.getResourceId to Utils

Change-Id: I0640dbe76a8ff2dc45b504eca631942811571736
tils.java
af9fe5c5fcad1db22f605e0568c9a77cef178d22 20-Jan-2012 Jean Chalard <jchalard@google.com> Fix a bug where the user typed word would not be passed.

Bug: 5894271
Change-Id: I4f02ff322697159e08f5e898608c0aff11dacb2f
atinIME.java
250cf0a781258afbfe45b8a7ad411aed08b3e873 19-Jan-2012 Jean Chalard <jchalard@google.com> Merge "Fix a bug with backspace happening after a manual pick."
3b2112e70aa7474dbd0a879bfba5f7b1ce0a89ad 19-Jan-2012 Jean Chalard <jchalard@google.com> Fix a bug with backspace happening after a manual pick.

Bug: 5884397
Change-Id: I01f462075bcbf7da38e9af2084ecd37143923e8b
atinIME.java
95a6e58ebcd8f44b970a8238cf30e48b10fc4b61 19-Jan-2012 Jean Chalard <jchalard@google.com> Small code simplification.

I'm pretty sure the test here was useless.

Change-Id: Iaece641fbd5455406533b19555f2b639759a525f
atinIME.java
af480be66ee0c859828077a01d6bc096f7349c17 19-Jan-2012 Jean Chalard <jchalard@google.com> Squash a ridiculously improbable NPE

This probably can't be triggered by anything that is not
a monkey, but still, let's fix this

Bug: 5797549
Change-Id: I9a7d9fd6664c97787ce676a28675e96f46df7658
utoCorrection.java
5731b939c7baa2ca64a59b35f48fb3c2a43ba739 17-Jan-2012 Tadashi G. Takaoka <takaoka@google.com> Remove KeyboardSwicther.toggleCapslock

Change-Id: Id613c06e2df770659095d78d42637aed063d0c70
atinIME.java
2a88440419f49d100c73e067a823390f64aba3b1 17-Jan-2012 Tadashi G. Takaoka <takaoka@google.com> Rename KeyboardActionListener methods

* Rename KeyboardActionListener.onPress to onPressKey
* Rename KeyboardActionListener.onRelease to onReleaseKey
* Merge KeyboardSwicther.onPressShift, onPressSymbol, and onPressOtherKey to onPressKey.
* Merge KeyboardSwitcher.onReleaseShift and onReleaseSymbol to onReleaseKey.
* Merge KeyboardState.onPressShift, onPressSymbol, and onPressOtherKey to onPressKey.
* Merge KeyboardState.onReleaseShift and onReleaseSymbol to onReleaseKey.

Change-Id: Icf28fd18e238c5e534c292893e4ab5b6b98e72f8
atinIME.java
uggestions/MoreSuggestionsView.java
c9fade6b87b77251f90ef7d7c03bf70c3b97d889 17-Jan-2012 Tadashi G. Takaoka <takaoka@google.com> Merge "Remove toggleShift and toggleAlphabetAndSymbols from KeyboardSwitcher"
87e025da11703af65e7bb85670adac5b54e2a367 17-Jan-2012 Tadashi G. Takaoka <takaoka@google.com> Remove toggleShift and toggleAlphabetAndSymbols from KeyboardSwitcher

Change-Id: I9bb8f78b0a766cd7937d5cbe1c1e5e35898b2997
atinIME.java
d104a7aac8b0791341c71deb013d4e6adfc57e8a 17-Jan-2012 Jean Chalard <jchalard@google.com> Merge "Fix a bug where words disappear on inserting separators"
edc6395d9bdbb46082c8582ee92f6ba184914d59 17-Jan-2012 Jean Chalard <jchalard@google.com> Fix a bug where words disappear on inserting separators

The basic idea is that in some situations, we would restart
suggestions, but before evaluating them we would bail out
because suggestions were not requested. This would lead to
the "correction" set to null, so we would commit a null word.

This fix does two things:
- Do not restart suggestions when not requested.
- If we still end up with a composing word when suggestions
are not requested, we select the typed word as the
correct version.

Bug: 5846646
Change-Id: Ic35351841d0cb20afa99092ef681ecb7bd68bec6
atinIME.java
aed5819a84d0d0500de9e6d8dc6c7fad6f0c4edf 17-Jan-2012 Jean Chalard <jchalard@google.com> Merge "Fix a bug where suggestion would restart at a bad time"
fbd1ac80838abb47bca25203f05de3a364356f27 17-Jan-2012 Jean Chalard <jchalard@google.com> Fix a bug where suggestion would restart at a bad time

Bug: 5846646
Change-Id: I7c907d0a9478e0878b92ead94173caefc21b627b
atinIME.java
1ef6fc7e1519cedec9e84a64968bfba4212d0436 17-Jan-2012 Tadashi G. Takaoka <takaoka@google.com> Support EditorInfo.IME_FLAG_FORCE_ASCII

Bug: 5850605
Change-Id: I6665b483f775094903f2e26f5584e4b141592ab5
atinIME.java
edf107e2a610c53f419995e8268bf6a333bfdd46 17-Jan-2012 Tadashi G. Takaoka <takaoka@google.com> Merge "Add "force non-distinct multitouch" debug option"
06b7c256b1992f93aab0e2cdb90f57718f0631fd 16-Jan-2012 Tadashi G. Takaoka <takaoka@google.com> Add "force non-distinct multitouch" debug option

Change-Id: I9fd6fabf03515011cedb8aaa30fdb7a77f2d4d12
ebugSettings.java
a8ba49c2534220105ce302a50b3a9ddaf831ef20 17-Jan-2012 Jean Chalard <jchalard@google.com> Small cleanup

The method deleteWordAtCursor would call finishComposingText,
which is a very unexpected state change and would probably cause
surprising bugs to any parent that would call it.
As it happens, it's not used anywhere any more so let's just
remove it.

Change-Id: Iaa9200866e40b4e914f76baa987279948300679c
ditingUtils.java
atinIME.java
72d285f4d758dd1ceafb7d9bd3dd330efd24c1f8 17-Jan-2012 Jean Chalard <jchalard@google.com> Add some comments about resuming auto-suggestion

Bug: 5846646
Change-Id: Ib2c76ec173972eb7acadbfaae7e930849d546721
atinIME.java
9751a626ec9b2e771afa5b3757e8f8498a328683 16-Jan-2012 Tadashi G. Takaoka <takaoka@google.com> Don't cache resource value that depends on orientation

Bug: 5794655
Change-Id: Ib324366c772e20bb54aba63c2f4540dc0f9de515
atinIME.java
ettingsValues.java
211680e3752cb3118ae7ec2af5fe20ecdf37159d 13-Jan-2012 Tadashi G. Takaoka <takaoka@google.com> Merge "Fix SuggestTests"
9c735b803809add04d865a039259686b220a0e93 13-Jan-2012 Tadashi G. Takaoka <takaoka@google.com> Fix SuggestTests

We need revised scoring test because dictionary look up algorithm has
been changed significantly since this SuggestTests was made.

Change-Id: I69d527a6bfa24ed0dc189fddad1afab0566c6eb8
uggest.java
4da8e8e4d3bc430f1b0519840f63addbce949d84 13-Jan-2012 satok <satok@google.com> Merge "Fix a bug in the logic to show 3 dots of the ime switcher"
83a018419a91737dc5737c510d6a26aa49f353cc 13-Jan-2012 satok <satok@google.com> Fix a bug in the logic to show 3 dots of the ime switcher

Bug: 5806103
Change-Id: I67b3f0bb25d5fb9cfb902c03f41ae3e582107187
ubtypeSwitcher.java
tils.java
21814c56f0859a2d83d1ecc29f4a74210c4497a1 12-Jan-2012 satok <satok@google.com> Merge "Move auto correction thresthold to the native code"
be0cf72253f15bff6abdeaa79f60a56f06ab7b86 12-Jan-2012 satok <satok@google.com> Move auto correction thresthold to the native code

bug: 5858137

Change-Id: Ic4b6270c6e51ef4ed25a6a1d8ddd7fdfa70fd78d
utoCorrection.java
inaryDictionary.java
tils.java
pellcheck/AndroidSpellCheckerService.java
ab34a4a7f53e1426a5cc4cd7a7fefde38a82e499 12-Jan-2012 Jean Chalard <jchalard@google.com> Merge "Fix a bug where last candidate would not be reset"
cda8a42cbe114b6f9e3b98d868ab19fe673d3d09 12-Jan-2012 Jean Chalard <jchalard@google.com> Merge "Add a sanity check"
a8c8ab1cb4f148693ebf8443c62b029db0840d26 12-Jan-2012 Jean Chalard <jchalard@google.com> Remove an excessive parens

Change-Id: If8aa4253ab0f664e628ed7f4d7a3adc02a898cc7
atinIME.java
852630ba34195660f6c2401659dcdc951f2200a4 11-Jan-2012 Jean Chalard <jchalard@google.com> Add a sanity check

Check if any character is both a magic space swapper and
a magic space stripper for the current language, and throw
an exception if found. Since this is expensive, it's done
only in debug mode.

Change-Id: Ibd166db87c91495b76878ea0e4f420a62c7bb276
ettingsValues.java
9de5cfc67a4e349c547e40678add27cdd6ca8490 12-Jan-2012 Jean Chalard <jchalard@google.com> Fix a crash where revertSwap would be wrongly called

This would crash the program when inputting a punctuation
symbol that should not swap with a weak space through the
suggestion strip, then press backspace.
Those include all two-part punctuation symbols in French for
example, as well as magic space strippers like the dash in
English. For English all suggestion strips symbols happen to
be magic space swappers so this would not happen in English
by default.
Also fix a typo.

Change-Id: Ia40678c264e978509b5786290a75a3c57181648e
atinIME.java
cd2286fff1ce0aaa5e3f60e55afba2299101207c 12-Jan-2012 Jean Chalard <jchalard@google.com> Fix a bug where last candidate would not be reset

Bug: 5851148
Change-Id: Ic270318842d8e16bc62d78d5fe0d6be0ca1fb532
atinIME.java
8cab0b56eb8db311f158b18a361d9ceb85cff482 10-Jan-2012 Tadashi G. Takaoka <takaoka@google.com> Get rid of Keyboard.CODE_DUMMY

Change-Id: Id2320f4d9b5f22f0ac844ab20ce42b0c4e7c6880
atinIME.java
ee4be6e3c6eed719683fd3019d48365ba76790e2 26-Dec-2011 Tadashi G. Takaoka <takaoka@google.com> Call KeyboardState.onUpdateShiftState from onCodeInput if code is a normal letter

This will be helpful to write unit test code.

Change-Id: Ib61cc46ac547084e0dc9ecd3a50814fecf08ace2
atinIME.java
0d0f01da674e89e294d14061837711996dc5a693 21-Dec-2011 Ken Wakasa <kwakasa@google.com> Fix a typo. A follow up to I68dd6b8d

Change-Id: I16fa4099c75faac35344b0e4d3c2b866ddac896a
ordComposer.java
0fd625bcfdfac1c10e7bd7f9088bf425fec08989 20-Dec-2011 Jean Chalard <jchalard@google.com> Fix a bug with wrong auto-correct cancellation

Auto-correct cancellation would sometimes kick in at
wrong times, causing crashes.

Bug: 5784542
Change-Id: I68dd6b8d9237ce9b66af2dc63e77ba6dd5fd69dd
atinIME.java
ordComposer.java
752d8cc4fc8550e5ec4eee921f5d611c49f57497 20-Dec-2011 Jean Chalard <jchalard@google.com> Fix a bug with TYPE_TEXT_CLASS

This was introduced by a badly-rebased commit. The culprit was
I103d6851. There was also another bug lurking there introduced
by a previous commit that this fixes.

Bug: 5775347
Change-Id: I133b54a5159e19714f4bcae8ffbb4824cff9f466
nputAttributes.java
9e8761c4402ddc11c942ed2e583bd7d58f70c5ea 14-Dec-2011 Jean Chalard <jchalard@google.com> Reorganize the auto-correction memory

Change-Id: I31cce9db471dcd4a7b3477bcb037a8ff482b7696
atinIME.java
ordComposer.java
4e1dab8cfaad891fe041ed8d71893186c05cef71 18-Dec-2011 Tadashi G. Takaoka <takaoka@google.com> Move KeyboardBuilder and KeyboardParams classes into Keyboard class

This change also moves XmlParseUtils to com.android.inputmethod.latin package.

Bug: 5778201
Change-Id: I7d9faa344460753ce178ad4048e0fadb65c75614
mlParseUtils.java
uggestions/MoreSuggestions.java
3708787fe91227083d2a1874fa41493d3bc9fe10 18-Dec-2011 Tadashi G. Takaoka <takaoka@google.com> Remove LatinKeyboard class

Change-Id: I68c667b00dadf2ed9f1c62fb7da37d2cf499cd81
atinIME.java
ordComposer.java
uggestions/MoreSuggestions.java
4112dc05002d7a880e558418639cf25c4bd02a5a 18-Dec-2011 Tadashi G. Takaoka <takaoka@google.com> Move spacebar drawing code from LatinKeyboard to LatinKeyboardView

Also this change moves LatinKeyboard attributes,
autoCorrectionSpacebarLedEnabled, autoCorrectionSpacebarLedIcon,
spacebarTextRatio, spacebarTextColor, and spacebarTextShadowColor to
LatinKeyboardView.

Change-Id: I7cc27ce1fc550e9f620a9ed0fbe4b8172902d5a1
atinIME.java
22b48de11ce6f31a0edf90e1308073e67a7a2adb 17-Dec-2011 Tadashi G. Takaoka <takaoka@google.com> Get rid of Key.needsSpecialPopupHint and related

Change-Id: I28e87ea3af9581f12094770b42f113e9018886c4
atinIME.java
43c0a034bd79bf143919a44f519a3aec0d132461 16-Dec-2011 Jean Chalard <jchalard@google.com> Merge "Pretty print for InputAttributes"
4d0f03bd66742ee292da81a3e025e119f28b6940 14-Dec-2011 Jean Chalard <jchalard@google.com> Remove a write-only variable.

Change-Id: I825307a429f46b31ed9bd940b5a97d2713127dfe
atinIME.java
6fa003ee234c6e2ca6cd9ec555221ac5c71a5405 16-Dec-2011 Jean Chalard <jchalard@google.com> Pretty print for InputAttributes

Change-Id: I5e4b2b6f3cd943c8f6187aaed21d67ec786bf5df
nputAttributes.java
atinIME.java
2b2c0b574c602fde3bc9482c157e8ead02be358a 16-Dec-2011 Jean Chalard <jchalard@google.com> Merge "Use the WordComposer to check if we are composing a word"
80b66bb166f7f45adfcadcb84788477df9930828 16-Dec-2011 Jean Chalard <jchalard@google.com> General cleanup.

Move variables around, inline useless functions, remove
useless local variables.

Change-Id: Icb89d8b211a2ad4bc3619137c2276a649c2a5e34
nputAttributes.java
atinIME.java
644c8b7c96627199c13297082e4566adae159bf3 16-Dec-2011 Jean Chalard <jchalard@google.com> Initialize input attributes in the InputAttribute class

Change-Id: I103d6851f54f47cbffdb567fb0f4c505c4697b05
nputAttributes.java
atinIME.java
3b7aceca60462d8d7fb6a8a5a692c2ac5a89940b 16-Dec-2011 Jean Chalard <jchalard@google.com> Merge "Make applicationSpecifiedCompletionOn final."
bf7ed75e4fd3d91b20278ffed1850253b3b9a025 16-Dec-2011 Tadashi G. Takaoka <takaoka@google.com> Merge "Move KeyboardSwitcher.getKeyboard to KeyboardSet"
645128af712961456a42cbcc34c0cdf5f0b40a83 15-Dec-2011 Tadashi G. Takaoka <takaoka@google.com> Move KeyboardSwitcher.getKeyboard to KeyboardSet

This change also gets rid of XML id from KeyboardId.

Bug: 5002108
Bug: 5679585
Change-Id: I7086c7da3c01ba4ade7f77ee5cc731310da46404
uggestions/MoreSuggestions.java
ccc35f7fa74860a8d737a4e9ff01fc0168dd329d 16-Dec-2011 Jean Chalard <jchalard@google.com> Make applicationSpecifiedCompletionOn final.

This is the last one (whew)
Also move a somewhat unrelated initialization out of the
input attribute initialization function.

Change-Id: Icc77b32fd16b112ab43786715061b1c9dca31c04
atinIME.java
9cc1312eeeeb526515f32a2b5751deadf73d3d9b 16-Dec-2011 Jean Chalard <jchalard@google.com> Make inputTypeAutoCorrect final.

Change-Id: I550eba1fc3fa2843d007a8208d81fad208c1196b
atinIME.java
13db05f93018f14b3695140bbed63a21b2d41bfe 16-Dec-2011 Jean Chalard <jchalard@google.com> Make isSettingsSuggestionStripOn final.

Change-Id: Iabb99a7f8f3f1777f9a87ae2bddff9795a50fa92
atinIME.java
1ba17f97d51ad34e6d8015a22d6bc6afd3eeb321 16-Dec-2011 Jean Chalard <jchalard@google.com> Small refactoring

This helps to make following changes smaller

Change-Id: I95ba2901ac3bf1ed70a748c35a0babdd9af1df63
atinIME.java
4fc0f6ab029f7611c200692567ab1ed7aec1d017 16-Dec-2011 Jean Chalard <jchalard@google.com> Merge "Make insertSpaceOnPickSuggestionManually final."
2ad14a2ea77b5becf8c462dd9dccbaf65d970854 16-Dec-2011 Jean Chalard <jchalard@google.com> Merge "Use temporary variables for computing editor attributes"
520e69056e45ce23fc9496ec6a62b9be6b60555b 16-Dec-2011 Jean Chalard <jchalard@google.com> Merge "Create a class for input attributes."
ae0c109d11c394cc5d2fa26b851186e0315c88bf 16-Dec-2011 Jean Chalard <jchalard@google.com> Make insertSpaceOnPickSuggestionManually final.

Change-Id: I32fce0ea8c5c58b6f920d0758c8bf57769f39a12
atinIME.java
cadc0f7d7933f2b7c9a91314e15fdccc0ec6d49e 16-Dec-2011 satok <satok@google.com> Merge "Send touch event in usability study mode"
4e8922f1bed5bf5d59275c6f84a72790423a88bf 16-Dec-2011 Jean Chalard <jchalard@google.com> Use temporary variables for computing editor attributes

The ultimate intent is to make these variables final,
which will allow to move the computing function to the
InputAttributes class.

Change-Id: Ifb1fc7321a19b10d60aa63fa0daaa2708deda2cf
atinIME.java
dc9d0fcc11f0886296c6eb325fe4f71beb87ff4c 15-Dec-2011 Jean Chalard <jchalard@google.com> Create a class for input attributes.

Change-Id: I834390c83865aac59fb758d5c66cf9b74103abd8
nputAttributes.java
atinIME.java
15d4793911fa305e0a58aced925961e948582979 15-Dec-2011 satok <satok@google.com> Send touch event in usability study mode

Change-Id: I0cdcd57bfd31c9b21cfb932d7ff91bd013cde6d7
atinImeLogger.java
196d82cdd740580ed79d801483dbc282be85d076 13-Dec-2011 Jean Chalard <jchalard@google.com> Use the WordComposer to check if we are composing a word

...instead of the hard-to-understand mHasUncommittedTypedChars.
This is possible because now the word composer is actually aware
of commits.

Change-Id: I36b664ce8402a280f801e87b9ebe161f416b0853
atinIME.java
ordComposer.java
be2f81f05539c064bdc1791d0dd60f3e68292ae1 16-Dec-2011 Jean Chalard <jchalard@google.com> Merge "Make the word composer aware of commits."
c73c26790fa9dcd836a918774d6efa39a05c0152 13-Dec-2011 Jean Chalard <jchalard@google.com> Make the word composer aware of commits.

Change-Id: I04e691fbc9227d4df195429bca89edea93575347
atinIME.java
ordComposer.java
8c3d5b6961a9b9d40c4bf21ad495f852971c24f4 16-Dec-2011 Tadashi G. Takaoka <takaoka@google.com> Add com.android.inputmethod.latin.suggestions package

Change-Id: If4b823768ab9c073625da3034ecc8091be1df230
atinIME.java
oreSuggestions.java
oreSuggestionsView.java
uggestionsView.java
uggestions/MoreSuggestions.java
uggestions/MoreSuggestionsView.java
uggestions/SuggestionsView.java
a44685ab326809185a0e4c44afabe8fd93441b4c 15-Dec-2011 Tadashi G. Takaoka <takaoka@google.com> Add colorValidTypedWord and alphaValidTypedWord

This change fixes Gingerbread theme.

Change-Id: I142437ac0173df48ab36390f47ed67c6cea24a65
uggestionsView.java
e9a0efc242f3bca80e8f64523a7bade659c28069 16-Dec-2011 Tadashi G. Takaoka <takaoka@google.com> Merge "Cleanup unused variables and parameters"
2ac5988f84b5c38d313951a3d7faddebf5f25e04 15-Dec-2011 Tadashi G. Takaoka <takaoka@google.com> Cleanup unused variables and parameters

Change-Id: Iad756a7a775c93f3344c6962e7b3456ef8339490
atinIME.java
ettingsValues.java
uggestionsView.java
serUnigramDictionary.java
05f654d498d4f7a0821c9ddd509951af981cb8d2 15-Dec-2011 Jean Chalard <jchalard@google.com> Merge "Group all input-related info into an inner class."
c3ef86d861ea0deb1d073e7eb5cc196ba0b00ed1 15-Dec-2011 Tadashi G. Takaoka <takaoka@google.com> Merge "Fix auto correction spacebar LED"
27dff63833bf1c8a36eed826746de3c6725d8423 13-Dec-2011 Jean Chalard <jchalard@google.com> Group all input-related info into an inner class.

Currently, these variables hold the info about the composing
word, or maybe some outdated info, and it's not very clear
which it is. LatinIME is maintaining the freshness info in
a separate boolean, and uses it throughout the code for many,
many things, leading to much confusion.
The idea in grouping this info is, it can be saved in another
instance and restored later. It can be tested against to know
whether there is actually outdated but kept info or not, and
it should allow to straighten out what is actually currently
being typed. Ultimately, it will eliminate the need for
LatinIME to keep track of the status of the info in the
word composer.

Change-Id: I00e2c690f303f8320c9be35590a6df4583e9e456
ordComposer.java
2d74806262431ce25b159e1ec5c6ac4a26007c3e 15-Dec-2011 Tadashi G. Takaoka <takaoka@google.com> Change visibility to avoid synthetic accessor method

Change-Id: Ie93c7437fb9a3fe63adaa48c2d4a723f96c0a0e1
xpandableDictionary.java
uggestionsView.java
serDictionary.java
tils.java
pellcheck/SpellCheckerProximityInfo.java
23d27fefcbfe04df8f8762d5d50117a58fb011e9 15-Dec-2011 Tadashi G. Takaoka <takaoka@google.com> Fix auto correction spacebar LED

Change-Id: I4894d188d5612380cc9f8eec7cb72544e37fb2b0
atinIME.java
ubtypeSwitcher.java
tils.java
f3ca6a59a7d6336fc318fe15467a1b447dc3ec4b 14-Dec-2011 Jean Chalard <jchalard@google.com> Cleanup

Change-Id: I724df0be7ac07ffb9f1f4974175aed5a2606221b
atinIME.java
1c6cf26c3705e845418a29718c034598b52293cc 14-Dec-2011 Jean Chalard <jchalard@google.com> Move some code inside a function to simplify flow

Also rename the function to reflect better the behavior.
An upcoming change will clean up the remnants

Change-Id: I19bdf0d9e95f62ee749e1f64fe17132c4a5ef0bc
atinIME.java
46798d8f1f3d9012433d000790ba30ba910c0fa0 14-Dec-2011 Jean Chalard <jchalard@google.com> Fail faster in case of a bug

Change-Id: Ibea64133f200dce80034c641d4798b62843a2512
atinIME.java
b5880034268111a094c9e684cec9cca784386140 14-Dec-2011 Jean Chalard <jchalard@google.com> Refactoring.

Small simplification of the code.

Change-Id: I1f67ae529bbb2c9316bf5e083d367c57040ea22c
atinIME.java
e35e13fc7dc046be7f605cbfc706678f57e40491 14-Dec-2011 Tadashi G. Takaoka <takaoka@google.com> Merge "Record onStartInputView"
689b90115633146bcdea81bf89cdfe2f9a88c0a7 14-Dec-2011 Tadashi G. Takaoka <takaoka@google.com> Merge "Utilize KeyboardSet XML definitions"
dbdb385bb06ccd235b3b6445ceabf07ca893454b 14-Dec-2011 Jean Chalard <jchalard@google.com> Merge "Fix a long-standing race condition."
f86109ca563df283b336c62853533c54134dfc56 13-Dec-2011 Tadashi G. Takaoka <takaoka@google.com> Utilize KeyboardSet XML definitions

This change introduces KeyboardSet and SubKeyboard XML definitions to
represent a set of keyboard layouts.

Bug: 5002108
Bug: 5679585
Change-Id: Ib6c8d5936187381bb6725c9fe574e93871c01a86
oreSuggestions.java
514beb0992f646e90af34e5b18f411586c704ace 13-Dec-2011 Jean Chalard <jchalard@google.com> Fix a long-standing race condition.

Upon autocorrection, there is visual feedback in the text
view that quickly flashes the background of the text that
just changed. This fixes a race condition that happens
upon autocorrection when typing fast, and that results in
flashing one character too far left (typically, the flashing
area includes the whitespace before the corrected word and
not the last character of the corrected word).
This happens because the call to commitCorrection may
happen before or after the IPC sent by sendKeyChar, but the
arguments are fit only for the case where it arrives first.

Change-Id: I9b5442a665aad5a9bc66cd49228075b9056b37fa
atinIME.java
7ef235f53f2291f22ddf8c56be9860a218b25bbb 14-Dec-2011 Tadashi G. Takaoka <takaoka@google.com> Record onStartInputView

Bug: 5722703
Change-Id: I56bcf6ccde82b4176093de4f197a8736b0cc8c10
atinIME.java
atinImeLogger.java
8e3faff244a03aa49dfff03f2a6d982590ff605c 13-Dec-2011 Jean Chalard <jchalard@google.com> Merge "Decouple member logic from control flow"
7b5bc1ff4d4694045e69e6aff8a2b5365ff882d1 13-Dec-2011 Jean Chalard <jchalard@google.com> Decouple member logic from control flow

This place is very confusing because a member variable with
a consistent meaning is hijacked for the duration of a function
to mean something else. This is in the way of easy-to-understand
refactoring.

Change-Id: If79bc771950d6bfc0ad5f0e9c51c7ef1dbb45b66
atinIME.java
f7d6517d6b1a1dd88e2142e1a15703bb839be01b 13-Dec-2011 Jean Chalard <jchalard@google.com> Various mini-cleanups

- Stop the word composer from escaping - take a page from the law
of Demeter and only report what is actually needed.
- Fix typos in comments.
- Add a comment for a fishy processing.
- Remove a useless local variable.

Change-Id: I5fa78901cbb5483fc9683bfb7094f47244b85df6
atinIME.java
serBigramDictionary.java
serUnigramDictionary.java
ordComposer.java
edf4995a3bad3b95a2b4184d47ea4ff890d0de73 13-Dec-2011 Jean Chalard <jchalard@google.com> Merge "Remove the input connection sidework from handleCharacter"
dafa7a8e15447544842975047f831883e67700c5 13-Dec-2011 Jean Chalard <jchalard@google.com> Remove the input connection sidework from handleCharacter

Change-Id: I3d376dfda3acd8864274390de3ff5752b18456e0
atinIME.java
117fc93f373cb86d4120c1261f9d0562c6529fec 13-Dec-2011 Jean Chalard <jchalard@google.com> Move mBestWord to the word composer.

mBestWord has a confusing name - it's actually an auto-correction.
It's cleaner if it lives in the word composer because an
auto-correction should be tied to a specific user input, and
should be reset each time the user input changes to avoid
race conditions.

Change-Id: I718d29395bc747372067e6440e090c6a181994ae
atinIME.java
ordComposer.java
7e6f4daa196f0fd88873b5b360e3fc11b97e1ef7 13-Dec-2011 Jean Chalard <jchalard@google.com> Merge "Tighten conditions for space-related cancelling"
c525750835cbb1e8c2b2bdf0248babaeb8225cba 13-Dec-2011 Jean Chalard <jchalard@google.com> Merge "Consolidate underlining code under one function."
77d59b0691b8a9bd6cb336f07c175b88db53bbc0 13-Dec-2011 Jean Chalard <jchalard@google.com> Consolidate underlining code under one function.

Change-Id: I4393ff1ec28a6b3118d1344dd6d82d04899dea42
atinIME.java
8ad4013406e5e94967bb74baae3b068187f62e4b 13-Dec-2011 Jean Chalard <jchalard@google.com> Tighten conditions for space-related cancelling

Instead of ignoring silently a found bug, throw an exception.

Change-Id: I0aa96d0cab022b6a5e7cffe8a592dcc443c3c7a8
atinIME.java
ba526e3157e04cbfa5a6183ec14a5d01dd3c9b10 13-Dec-2011 satok <satok@google.com> Extract the jni library name

Change-Id: Icc58ccea1178d9f35f5be0dceebab67bbb965b7f
tils.java
efine/JniLibName.java
14cb8448df4f9f76096bceed0b367e87c7896c6c 13-Dec-2011 Jean Chalard <jchalard@google.com> Remove a useless return

Change-Id: Iefe10e94e2d88171387351a5b6cab52e281d0f76
atinIME.java
2939063947982b77a942a5ee9882944b8b48dd69 13-Dec-2011 Jean Chalard <jchalard@google.com> Simplification

Both tests have the same meaning. They should be merged.
Also, if "deleteLast()" deletes more than one char (which
never happens in the current implementation, but it's not
guaranteed), the new code is more correct.

Change-Id: I216df7cd45f4a7d76d1d5d6aa7f8d7f9a6e35ea3
atinIME.java
d2c69c7d1231c238afc9196dcb9cc2359de520cf 13-Dec-2011 Jean Chalard <jchalard@google.com> Refactoring

If mHasUncommittedTypedChars is true, then
mWordSavedForAutoCorrectCancellation must always be null, and
spaceState must always be SPACE_STATE_NONE.
Hence, this change is supposed to be very no-op.

Change-Id: I2716f7372d996cc4dec40a4b7ac1ee7f5f4afe91
atinIME.java
2245c3b5b3691928b08fd6accf8d4a21fb35e26b 13-Dec-2011 Jean Chalard <jchalard@google.com> Refactor + small bugfix

postUpdateShiftKeyState used to be called also when
mEnteredText is not null => this is a bugfix.
The rest does not change the logic, as posting a message can
be done anywhere within the function with no impact.

Change-Id: I7888797c0778702d64f96701e35b611a55a6a259
atinIME.java
a2a85d45e0618dc0dd7d224d5a0e7394d9003dc5 13-Dec-2011 Jean Chalard <jchalard@google.com> Refactoring

Change-Id: I57b2232f7fde32df5f6e1925aad1df988def34f9
atinIME.java
34081186f9bcfcb84fa991ccd940745dcff38cda 12-Dec-2011 Jean Chalard <jchalard@google.com> Merge "Fix a bug where revert auto-correct would revert too much"
5c3ff4c9c86e073d994ad874abe9dae7a665d5c4 12-Dec-2011 Jean Chalard <jchalard@google.com> Fix a bug where revert auto-correct would revert too much

If there are no uncommitted chars, we shouldn't enter any of
the tests that follow. We didn't use to, but a change today
made it possible - it should not happen.
There is no point in doing the rest of the tests, they are
sure to fail.

Change-Id: I580dd104aff3585de72a93b38989bfd9713f615b
atinIME.java
4f41cbc588916dce64eef644e9f7b69da1618d03 12-Dec-2011 Jean Chalard <jchalard@google.com> Remove a useless function call

Change-Id: I1a775cbf90dca301e1e6b596ddac64fdbc023199
atinIME.java
dcf8a6b2c6bf746c2d633e5c7d3e9692c886df91 12-Dec-2011 Jean Chalard <jchalard@google.com> Merge "Move a settings var to the settings class"
2a659b8aa642b0832fa0ac9a93e0640592fcc239 12-Dec-2011 Jean Chalard <jchalard@google.com> Remove a useless variable

This can be just read when it's needed.

Change-Id: I00753fe55645c244db5d4a96e7fdb8f5325475d9
atinIME.java
d567b230b055cb69186acf1ce0a1c4e1c7b61508 12-Dec-2011 Jean Chalard <jchalard@google.com> Move a settings var to the settings class

Change-Id: I1331ad6dec3a9d64a77e314f8a1f4c29282df31b
atinIME.java
ettingsValues.java
7208af0ecdea9eb7de02e62926f0c57c83496f1e 12-Dec-2011 Jean Chalard <jchalard@google.com> Remove a messy and unused class.

Today is a happy day

Change-Id: I3ef484bd258d5a59815bfcb0bd35ea3606b32430
atinIME.java
extEntryState.java
f162ed7ec86be695fedd98e872d313f161fcdecd 12-Dec-2011 Jean Chalard <jchalard@google.com> Merge "Remove side-effects from TextEntryState"
406d192a9e8f07ed6c6a408650feb0a757ca388e 12-Dec-2011 Jean Chalard <jchalard@google.com> Remove side-effects from TextEntryState

Change-Id: Ib98eea9e791e426435cfdfd0c9ab3ed9061664aa
atinIME.java
extEntryState.java
tils.java
c2a76a1529870b59bba133a7d76a800cbd20ecfa 12-Dec-2011 Jean Chalard <jchalard@google.com> Remove a useless variable.

Change-Id: Iea5ce5cfc05bad8b1d9085438e90147bd54b7e9c
atinIME.java
890d13189d8dd305681bcb00d09f34d3ae68c648 12-Dec-2011 Jean Chalard <jchalard@google.com> Straighten out logic for revert word paths

This also includes a new memorized string with simpler
logic that will allow to remove other members

Change-Id: I0b97243084902e68fcb835b6163c86fef8190ebc
atinIME.java
86344836ee34a683824689837cd5714e76e3f4a2 12-Dec-2011 Jean Chalard <jchalard@google.com> Merge "Remove a duplicated variable."
2ba1bcccddbd3be173e72bc49de074339d95b46a 11-Dec-2011 Tadashi G. Takaoka <takaoka@google.com> Remove unused Keyboard.CODE_CANCEL

Change-Id: Ic2eab17e525901a1cf7096ebe7d24ae78624ed2e
atinIME.java
3651220327c051d8017045aa5e8919461507b3f8 09-Dec-2011 Jean Chalard <jchalard@google.com> Remove a duplicated variable.

This is awesome cleanup.

Change-Id: I35ce8940a13f3084630dc26d6e7e397acfdaac36
atinIME.java
extEntryState.java
ordComposer.java
9260422423819ed6942f11c03960d5764e97c262 09-Dec-2011 Ken Wakasa <kwakasa@google.com> Build God Mode keyboard with API level 14

Change-Id: I29ab9e9041c9faac91dc303175625221bfdb3af8
pellcheck/AndroidSpellCheckerService.java
4af5e3c5f48b886c537f1627cdadbeb197962e55 09-Dec-2011 satok <satok@google.com> Fix isResearcherPackage

Change-Id: I286450fe89a37d75cb398f17d300ddc6f5857ffd
atinImeLogger.java
ettings.java
2edd109f84cb85091b7cf81ec5c6be92bde129cb 09-Dec-2011 Ken Wakasa <kwakasa@google.com> Some tweaks for Researcher Mode

Change-Id: I6b16dd2fe6d7356c747ba0ee2da5976738003ded
atinImeLogger.java
ettings.java
tils.java
2a89e36db07a1bd0943e543f5b5ee4ed16c5036c 09-Dec-2011 satok <satok@google.com> Merge "Add a functionality to attach a log file to Gmail app Bug: 5722703"
a8b6292ceeae5fe034e45765d70956aabbf7e07a 07-Dec-2011 satok <satok@google.com> Add a functionality to attach a log file to Gmail app
Bug: 5722703

Change-Id: I089f944bdbf2cbb036eb59dd9b5b414370c770f1
tils.java
963abf4bcc0e1676f3d183216c222d8d88059197 09-Dec-2011 Tadashi G. Takaoka <takaoka@google.com> Merge "Remove unused public methods from KeyboardState and KeyboardSwitcher"
74671cf6c5c2fbe7cee72c2cd74e55168e3306aa 09-Dec-2011 Jean Chalard <jchalard@google.com> Resolve TODOs: add members to hold preferences

Change-Id: I34f6c76bf9318e1fbe8eb5ffab6772a98ff824e0
ettingsValues.java
df9deffba241d3f1527092212de02f5c77a0b24a 09-Dec-2011 Tadashi G. Takaoka <takaoka@google.com> Remove unused public methods from KeyboardState and KeyboardSwitcher

Bug: 5708602
Change-Id: I3dbc3cd00aa9ddf611e2078ff2cfea8945fa09bf
atinIME.java
0fe3611bee5095e7bd0fff2d0fdf8d5a13379132 09-Dec-2011 Jean Chalard <jchalard@google.com> Resolve TODOs: add some members to store prefs

Change-Id: Idf09cb5d801e8008eb63cbb5138058faeb7db136
atinIME.java
ettingsValues.java
85b063f97ef98fc4162526d754adfb6f288b42ff 09-Dec-2011 Jean Chalard <jchalard@google.com> Resolve TODOs: add members to store raw settings

Change-Id: I481eadb6a73faf239e24d05b7e220fcb01194fa4
ettingsValues.java
12f10e1585f1e9e1875661b6dc171c8a44d7ceb7 09-Dec-2011 Jean Chalard <jchalard@google.com> Read options in the declaration order

Change-Id: I1a7c4d0bcaedad6d4045c36c79280c23234db5b3
ettingsValues.java
c40b807ca420123d90cd9479a453051f975b7629 09-Dec-2011 Jean Chalard <jchalard@google.com> Straighten out prefs reading code

Change-Id: Ibf9113a8ef07ac720100ee32d2e5ef321e8ddd98
ettings.java
ettingsValues.java
bab1f045f4856e987f9d8b7b952f3765303528a7 09-Dec-2011 Jean Chalard <jchalard@google.com> Straighten out members extracted from resources.

Change-Id: I9b9602ec5b379b44b0f0663d4f065dbcf88fd352
ettingsValues.java
ba93dda8cea74c903a01374b9e54a0fd467a4cf1 09-Dec-2011 Jean Chalard <jchalard@google.com> Match constant names to option names

Change-Id: I7586fa342d7a39412d656890f7b525139c45ea4a
ettings.java
ettingsValues.java
837b109f278d9e3be9b12e87dff4b3e6bdc97def 09-Dec-2011 Jean Chalard <jchalard@google.com> Reorder members in SettingsValues.

Reorder so that they match the order in the preference xml
file. Also add TODOs for missing raw variables.

Change-Id: I06332c131a624d6c359512d75c808f3f7313fa91
ettings.java
ettingsValues.java
c207e0a7dad0bdae054be47cafe878698f9401fc 08-Dec-2011 Jean Chalard <jchalard@google.com> Move settings variables to the settings class

Change-Id: Ifa7033a84b08ea626eb44cf6d04ba8e28c250bea
atinIME.java
ettings.java
ettingsValues.java
284c8a0449f25a750fe132ba4a827bb489fcdb0c 09-Dec-2011 Jean Chalard <jchalard@google.com> Merge "Stop a flag from escaping."
0c3b8ce842140aad2087b6ec391177999b87cbb4 09-Dec-2011 Jean Chalard <jchalard@google.com> Merge "Move settings method from Utils to SettingsValues"
4606de117b7541125f3f15bd6b50d77ed20e5132 08-Dec-2011 Jean Chalard <jchalard@google.com> Stop a flag from escaping.

The ultimate intent is to close it up in the settings, as it does not
change while typing, only when the keyboard is open again.

Change-Id: I12ff56e7482c1584877fe5531473bf03e95a60f6
atinIME.java
uggest.java
ed432962175a6f783428bbdcd7168d20097ec05d 08-Dec-2011 Jean Chalard <jchalard@google.com> Move settings method from Utils to SettingsValues

Change-Id: I633378a41f63cd492b8c9345d550e07254df5e5a
atinIME.java
ettings.java
ettingsValues.java
tils.java
4bae9d56d9b277464738633f1b55946d501e5cdb 09-Dec-2011 satok <satok@google.com> Merge "Show usability study mode for research purposes"
e0dfc54c5b72244bc05fac902b9ceb9848132009 08-Dec-2011 satok <satok@google.com> Show usability study mode for research purposes

Bug: 5722703

Change-Id: I27acc374c5d4b52707708b83689dea5d78a573d7
atinImeLogger.java
ettings.java
a76c62e92d76d876619e721633ce8f86dd1700c3 09-Dec-2011 Tadashi G. Takaoka <takaoka@google.com> Merge "Remove direct calls of setKeyboardXXX from KeyboardSwitcher"
96c56cb577ff6b76e2c182f45402842e828c3644 08-Dec-2011 Tadashi G. Takaoka <takaoka@google.com> Remove direct calls of setKeyboardXXX from KeyboardSwitcher

These calls, setAlphabetKeyboard, setSymbolsKeyboard, and
setSymbolsShiftedKeyboard have to be call backed from KeyboardState.

Bug: 5708602
Change-Id: Ibbe1a21bd10bf942e17886869c0ab0fa1735b87e
atinIME.java
7a16a061e622539e54d7d649dcb8d4965aea575a 08-Dec-2011 Jean Chalard <jchalard@google.com> Extract Settings.Values to a new class

This is pretty much automatic refactoring. Thanks Eclipse!

Change-Id: I8ccd24d11878445c836347e9c487c91461eee9cd
atinIME.java
ettings.java
ettingsValues.java
92e5756dfb4c2d5f0ebd2da53ba1a8fd9f633721 08-Dec-2011 Jean Chalard <jchalard@google.com> Merge "Cleanup"
c1fdd966a73c2ddda73307d5f811935dbac5bf69 08-Dec-2011 Jean Chalard <jchalard@google.com> Remove a useless method

Change-Id: Ib6a0ee21bfe2000231f9ba7bcad4b18ae57e4249
uggest.java
283b0c2b642030539ba3e41f3f54b6aed6bb9e2d 08-Dec-2011 Jean Chalard <jchalard@google.com> Cleanup

Here, shouldAutoCorrect implies mSettingsValues.mAutoCorrectEnabled

Change-Id: I9256718dd63b75252d1454e264db6814bbf18aa5
atinIME.java
3da7df8db7595de513ea3ab6a4e2f532f7de0166 08-Dec-2011 Jean Chalard <jchalard@google.com> Merge "Add proximity for Russian."
1830cd1dc8259aa57175f1cf2a3d8797a7a35935 08-Dec-2011 Jean Chalard <jchalard@google.com> Add proximity for Russian.

This also tries to make the code as easy to extend as possible
for future developments.

Bug: 5701241
Change-Id: I1ed48e6a5cc7aab94c5d6e309930cc004247d7e7
pellcheck/AndroidSpellCheckerService.java
pellcheck/SpellCheckerProximityInfo.java
9e38f9a9803b04d40c0956e5977a4fb6fce88759 08-Dec-2011 Jean Chalard <jchalard@google.com> Merge "Use the system-wide interface to add a word."
eef6238f94b5046054d9ae9c06f775362893c0ee 07-Dec-2011 Tadashi G. Takaoka <takaoka@google.com> Move SWITCH_STATE related stuffs to KeyboardState

Bug: 5708602
Change-Id: I904ec370e3761c47af17a680c0932ec98cfd3c27
atinIME.java
6b7100fecaaaf0e8e42c4d2ccebac165e89e79bf 07-Dec-2011 Tadashi G. Takaoka <takaoka@google.com> Don't execute pending onStartInputView if EditorInfos are equivalent

Bug: 5722732
Bug: 5722867
Change-Id: I8347c258b286c3329f318d50adf205e78e49c722
atinIME.java
361c42b746e220738d29700698c241aab33e9511 07-Dec-2011 Jean Chalard <jchalard@google.com> Use the system-wide interface to add a word.

Bug: 5306641
Change-Id: Ic87e5bc3a5f1f03c57d48f2d92c28e0aba06847d
uggestionsView.java
serDictionary.java
8a70e70c849cc2c5553c6fd79891c22893fd761b 06-Dec-2011 Tadashi G. Takaoka <takaoka@google.com> Remove toggleSymbolsShift and rename toggleKeyboardMode

Bug: 5708602
Change-Id: Iadef3e862d00505d1d9f588d0d64445754d7b962
atinIME.java
bb2b30fc7ff31182d314e4db9baf1913bf08522d 05-Dec-2011 Jean Chalard <jchalard@google.com> Add support for Russian spell checking.

Note that this is not enough: we still need to create a
reasonable proximity table for Cyrillic characters, or we
won't be able to show up suggestions.

Bug: 5701241
Change-Id: Idb141f7a230a6e1a46094308c26f43c01ab3b97a
pellcheck/AndroidSpellCheckerService.java
db5aedb5a5eea5224e5a732b689c97eead2e35f4 10-Nov-2011 Jean Chalard <jchalard@google.com> Add an option to use contacts or not while spell checking

Bug: 5447495
Change-Id: Iffb09895676c3dd1a79d1699b0eac865282508d4
ictionaryCollection.java
pellcheck/AndroidSpellCheckerService.java
e22baaadd314c80f835e2e96fb0dfc73838ac2cd 29-Nov-2011 Tadashi G. Takaoka <takaoka@google.com> Get rid of usage of key index

Change-Id: I7596ce3ae52fde436d06c2dd95ae873c7aa5ef7f
ordComposer.java
55042ff97732ccd755149f7a339a9be45957ae49 29-Nov-2011 Jean Chalard <jchalard@google.com> Merge "Resume suggestion when backspacing to the end of a word"
b230806f44441ea68f608f6430667fed85d3a048 29-Nov-2011 Tadashi G. Takaoka <takaoka@google.com> Merge "Save keyboard layout only when it is shown"
6b1f500da451de56932a8b2a99c63857994ece85 22-Nov-2011 Jean Chalard <jchalard@google.com> Resume suggestion when backspacing to the end of a word

Bug: 5515381
Change-Id: I26fea896feaf2e9716c7ae3d4f2630360f23ac50
atinIME.java
extEntryState.java
ordComposer.java
117fc18ed46496c81596f8207bba30a09c7317d1 29-Nov-2011 Jean Chalard <jchalard@google.com> Keep count of the trailing single quotes for suggestions

Bug: 5665809
Change-Id: I4d9100dbe980861ccb55c78464524be670cac1f7
atinIME.java
uggest.java
ordComposer.java
f2c9a88887a303f3df8bee60788870946dfa55f7 29-Nov-2011 Tadashi G. Takaoka <takaoka@google.com> Save keyboard layout only when it is shown

Bug: 5130446
Change-Id: I150b4a053036eae050099155169325f0d1f7dfed
atinIME.java
93246652638f423d5220449f65495dea0639c750 22-Nov-2011 Tadashi G. Takaoka <takaoka@google.com> Move ignore special key code out from LatinIME to PointerTracker

Bug: 5560766
Bug: 5639503
Change-Id: I34c9eea833516adf6ef1db58f1a64a5ef5322fa9
atinIME.java
6d1cbbc2ffb9d7046189174ec68b5b72bbc154b3 22-Nov-2011 Jean Chalard <jchalard@google.com> Fix a bug with single quotes

I14dd3815 special-cased single quotes at the start of a word, but
did not do so correctly - it would kill a composing word if entered
just after some punctuations.
The right test was not isCursorTouchingWord() but
mHasUncommittedTypedChars, which actually makes for a simpler
implementation.

Bug: 5648032
Change-Id: Icd21d213e0cad6da68cacfeb921502cd8dcfac95
atinIME.java
e7eac906c0a14b644d457beeb73a407fa1b63673 21-Nov-2011 Tadashi G. Takaoka <takaoka@google.com> Pending onStartInputView only if the EditorInfo is identical

Bug: 5604372
Change-Id: I2a88cf15b07eebd29e43e460f6ec758432181b01
atinIME.java
ettings.java
19cbdfc92f171375b73204f0c49d9f84883bea39 21-Nov-2011 Jean Chalard <jchalard@google.com> Merge "Remove an unused (and scary) method"
ce86e39e002caf0507305754e2c39010866e7ecc 21-Nov-2011 Jean Chalard <jchalard@google.com> Merge "Cleanup."
5d5028f2c578aade2c2e6a430673353387748048 21-Nov-2011 Jean Chalard <jchalard@google.com> Remove an unused (and scary) method

Change-Id: I14a545a3e4955a25fde17554156552c755d44e2f
atinIME.java
6ecd1e1280578e95e5c2e24046cf67f0f7260c3b 21-Nov-2011 Jean Chalard <jchalard@google.com> Merge "Special case quotes at start and end of words"
c83359f9746ca6f0269a1a7017b585c1a5cab9b8 18-Nov-2011 Jean Chalard <jchalard@google.com> Special case quotes at start and end of words

Single quote at start of word is not considered a part of a
word any more.
Single quote at the end of a word now behave like capitalization:
lookup in the dictionary is done *disregarding* a final quote,
and it is forcefully added back into the suggestions afterwards.

Bug: 5566368
Change-Id: I14dd3815f4b743edba56d64a3abdf4b73d863a6a
atinIME.java
uggest.java
ordComposer.java
e00ede531fa8f3478207cbde1a03db1904d9e02f 19-Nov-2011 Tadashi G. Takaoka <takaoka@google.com> am 5619d765: Shift/Symbol/Smiley will not disable settings/microphone keys

* commit '5619d7658459d13723b6d7ad8969b249adf9e717':
Shift/Symbol/Smiley will not disable settings/microphone keys
5dc318a3f20bc2e176fb2627f606f3861adf849e 18-Nov-2011 Tadashi G. Takaoka <takaoka@google.com> am 10dff768: Fix NPE introduced by I38b21d49

* commit '10dff76856a98b6eec86a53d3d07fdc9708037b7':
Fix NPE introduced by I38b21d49
49cc3beb75e2916037a0f8ff2d2795f306918598 18-Nov-2011 Tadashi G. Takaoka <takaoka@google.com> resolved conflicts for merge of 137667ed to master

Change-Id: I75fc5d278b002ab89dd2475d282d0ee4aede7817
5619d7658459d13723b6d7ad8969b249adf9e717 18-Nov-2011 Tadashi G. Takaoka <takaoka@google.com> Shift/Symbol/Smiley will not disable settings/microphone keys

Bug: 5560766
Change-Id: Ic2dbb835e87a7debb222093756816e683b464b83
atinIME.java
88562bec54658840dcce352127bdc15705c20a89 18-Nov-2011 Jean Chalard <jchalard@google.com> Cleanup.

Fix a typo, and move a cursor.close() in a finally{} clause

Change-Id: Iac011ebb80b9430774c7dc5cd94728d05cef443f
atinIME.java
serDictionary.java
10dff76856a98b6eec86a53d3d07fdc9708037b7 18-Nov-2011 Tadashi G. Takaoka <takaoka@google.com> Fix NPE introduced by I38b21d49

Bug: 5560766
Change-Id: Ic5eaebe0ef893c69ad90a777ebfa07807535a0e3
atinIME.java
137667ed3da6c999cb7f1bcfd9e8030f06ec3713 18-Nov-2011 Tadashi G. Takaoka <takaoka@google.com> Merge "Ignore microphone and settings key while typing" into ics-mr1
175acb8205fcc2a91de4059e8a12af49484af784 17-Nov-2011 Tadashi G. Takaoka <takaoka@google.com> Ignore microphone and settings key while typing

Bug: 5560766
Change-Id: I38b21d49b7e803bf94805ba8e13849b3c734e010
atinIME.java
ettings.java
60acfdf4a85fa96a72488d3cef24eccb02393ab9 03-Nov-2011 Tadashi G. Takaoka <takaoka@google.com> Skip loading keyboard when SoftInputWindow hasn't shown yet. (DO NOT MERGE)

This is cherry-pick of I003101b2 from Master for Bug: 5541192
Bug: 5636367

Change-Id: I560126d17be6a770b19c1f1347332ebdfde5d671
atinIME.java
eb520c568365d690da4347c787a8c44708b52e50 16-Nov-2011 Tadashi G. Takaoka <takaoka@google.com> am 549e295d: Fix updateFullscreenMode of LatinIME

* commit '549e295dc113bff50077c3c355dcd94af09a1b2f':
Fix updateFullscreenMode of LatinIME
549e295dc113bff50077c3c355dcd94af09a1b2f 15-Nov-2011 Tadashi G. Takaoka <takaoka@google.com> Fix updateFullscreenMode of LatinIME

Bug: 5597608
Change-Id: If4b18dc933493bd74bc5506c028af86b0450df1f
atinIME.java
ed631627cb2337b025f0e80df6fecf1e6e511dc4 14-Nov-2011 Ken Wakasa <kwakasa@google.com> Double space conversion should be enabled only when the 1st space is "weak".

bug: 5608934
Change-Id: Ide7ca9d526620c4f225a6f5eb27dcd7df5b504bd
atinIME.java
85170a9c17e7fbefb3d9a6dba0e211b72899aeae 11-Nov-2011 Jean Chalard <jchalard@google.com> Merge "Be stricter for ruling characters out of spell checking"
72479ea3636a7f9379ff40ae673fc67255abab6d 09-Nov-2011 Jean Chalard <jchalard@google.com> Be stricter for ruling characters out of spell checking

Bug: 5548308
Change-Id: Ie8025b02424b72b69a07907cde1093830c2d4d3d
pellcheck/AndroidSpellCheckerService.java
a409f009fa410019ad10b1134ff57393443eba33 09-Nov-2011 Jean Chalard <jchalard@google.com> Fill in the HAS_RECOMMENDED_SUGGESTIONS flag.

Bug: 5530727
Change-Id: Ic53e227f72096053e08d90204bf1f287ec09290b
pellcheck/AndroidSpellCheckerService.java
cea3c5bc17f3e9f09c01b7bf79e8060f6d932f63 08-Nov-2011 Ken Wakasa <kwakasa@google.com> am 0a75373f: Merge "Fix a bug where the UserDictionary may not be released" into ics-mr1

* commit '0a75373f4187d2db036757c2c2bcaba42301fd22':
Fix a bug where the UserDictionary may not be released
8b9c89aee214f692ca4a639ffd96101c60424986 04-Nov-2011 Jean Chalard <jchalard@google.com> Fix a bug where the UserDictionary may not be released

Bug: 5547357
Change-Id: I521afeaa349c86fb0087cedb70127de6acebec78
serDictionary.java
1e39565bb48d23221145c494d4bf5665b514699d 03-Nov-2011 Tadashi G. Takaoka <takaoka@google.com> Skip loading keyboard when SoftInputWindow hasn't shown yet.

Bug: 5541192
Change-Id: I003101b2a3fdeb5bb554d249634ec5ab50aea09e
atinIME.java
2c77216e22e5f9d1d2191ce577f2707bea5b815a 26-Oct-2011 Jean Chalard <jchalard@google.com> Remove trailing spaces when appropriate

Bug: 5509651
Change-Id: I99cfb5a6fc2873e2c11ed16967cd82a7f504a263
atinIME.java
5fdcd7d5cd9d39d41568aa1412a4b1a866c05d3a 31-Oct-2011 Tadashi G. Takaoka <takaoka@google.com> Fix JNI as 64bit ready

Change-Id: I7a3ed2cee3b20744869aa5cf89ff9fd95f5ab8fe
inaryDictionary.java
6f811bd13fb69bf57267b75abd8c84d31a580d7d 28-Oct-2011 Tadashi G. Takaoka <takaoka@google.com> Merge "Make some private method static"
8fbf29e2d54027a17993cd0d4ad486e3454b56f6 28-Oct-2011 Tadashi G. Takaoka <takaoka@google.com> Make some private method static

Change-Id: Ia23765268be0ef89d7fe7c3f5372ed32d6615765
utoCorrection.java
atinIME.java
uggest.java
serBigramDictionary.java
serUnigramDictionary.java
tils.java
ordComposer.java
pellcheck/AndroidSpellCheckerService.java
3122cf8daa8bc7334bfe22a86798ede036d3a4e7 28-Oct-2011 Tadashi G. Takaoka <takaoka@google.com> am 07a44557: Merge "Cancel pending rotation when another rotation start" into ics-mr1

* commit '07a445572f7fa21c0e24f5cdb0f0b88ff2adc672':
Cancel pending rotation when another rotation start
644d33d60ea5a87501274488013d65f55238895e 27-Oct-2011 Ken Wakasa <kwakasa@google.com> Display "Touch again to save" in the keyboard locale

bug: 524239
Change-Id: I227c193ba149f9296f8b1cf40aa3d9cf4e6ae2ab
atinIME.java
ettings.java
uggestionsView.java
dd25e4fa2c7dd1e32a9e6f5fd21f54214919ef20 27-Oct-2011 Tadashi G. Takaoka <takaoka@google.com> Cancel pending rotation when another rotation start

Bug: 5516802
Change-Id: Iccb0abeb94e6dc1322a98a0c744188bb74034c7f
atinIME.java
37c6bbb675c5c8bad7de36b0283402a0f240db7f 27-Oct-2011 Tadashi G. Takaoka <takaoka@google.com> am a7c41996: Merge "Preventing infinite call of dismissMoreKeysPanel" into ics-mr1

* commit 'a7c419964f46d1c354e81c5688f5da6b43428c9a':
Preventing infinite call of dismissMoreKeysPanel
a7c419964f46d1c354e81c5688f5da6b43428c9a 27-Oct-2011 Tadashi G. Takaoka <takaoka@google.com> Merge "Preventing infinite call of dismissMoreKeysPanel" into ics-mr1
ef543c725e0d5bc322adc40e364fbaedd1861e4b 26-Oct-2011 Tadashi G. Takaoka <takaoka@google.com> Merge "Use onCustomRequest to request haptick and audio feedback"
d999ea44805ae0a3ccac4c4f49aaf500f6c479ac 26-Oct-2011 Tadashi G. Takaoka <takaoka@google.com> Use onCustomRequest to request haptick and audio feedback

Change-Id: I958f274d8cfebb1551cdf08f1bada50c20fb9ca0
atinIME.java
e648e839395de48166c961e603f08423de93fe5e 26-Oct-2011 Tadashi G. Takaoka <takaoka@google.com> Merge "Remove eventTime argument from PointerTracker.onShowMoreKeysPanel"
44f4d77b75a2a34077a558e6edf107cd31775cc8 26-Oct-2011 Ken Wakasa <kwakasa@google.com> am cb8cb95d: Fix NPE

* commit 'cb8cb95d0afd340de9f1a0e15948f0068d2450bc':
Fix NPE
e51d164482c7896892d6eccb80f1e1e6fe6d50db 26-Oct-2011 Tadashi G. Takaoka <takaoka@google.com> Remove eventTime argument from PointerTracker.onShowMoreKeysPanel

Change-Id: Idbcd6e3047c6c0c407e3b347cf9f65951d43a312
uggestionsView.java
120586c226c416d2211b6ebb3f4b914a30f9a74f 25-Oct-2011 Jean Chalard <jchalard@google.com> Group special spaces and double/swapped spaces in undo mode

This introduces an elementary undo facility that accounts
for magic space, strong space, double space and its cancelling,
and swapped punctuation and its cancelling.
The former three were existing behavior ; this change adds
the swapped punctuation cancelling behavior.

Bug: 5454442
Change-Id: I87af633f30caa2788e9af725e556a7f0746d9a14
atinIME.java
dec6c0f9290e90ba4da4719548a95440cc38d299 24-Oct-2011 Jean Chalard <jchalard@google.com> DO NOT MERGE: Fix a bug where the sequence numbers would be wrong

The spell checker cannot afford to return static objects,
seeing as the framework will then use the same objects to
pair the cookie and sequence ids to the request.
This is a backport of Ia9c3a933

Bug: 5503243
Change-Id: Ia9c3a933bfb30cf5525418b240ef60632d72c9d0
pellcheck/AndroidSpellCheckerService.java
0cf7a45ac53eef7399826a548a2ef8dab225bdf0 26-Oct-2011 Tadashi G. Takaoka <takaoka@google.com> Preventing infinite call of dismissMoreKeysPanel

Bug: 5514583

Change-Id: Idf8dd1ebba0afdb768e538c2626b60770421d4be
oreSuggestionsView.java
cb8cb95d0afd340de9f1a0e15948f0068d2450bc 25-Oct-2011 Ken Wakasa <kwakasa@google.com> Fix NPE

bug: 5512097
Change-Id: Id6752c95c9c4b39e7975daa187a2ab92b740060a
atinIME.java
d0c5f9395a1b94e8425982e353d090f972dc44f0 25-Oct-2011 Jean Chalard <jchalard@google.com> Cleanup.

Remove a state that can never be reached, and ajust all the
callers that would always have received false.

Change-Id: Iac025568be11743428419e0772da306a4f0a0bf1
atinIME.java
extEntryState.java
ce668e7a0b6ae7046e1f22a162ad174d58dfe145 25-Oct-2011 Jean Chalard <jchalard@google.com> Small clean up.

Remove unused methods and constants.

Change-Id: If72e04394a2943b416915217d22cb6e58a0508b3
extEntryState.java
126698fdd256a2e3734634d3b923cabd800064ba 24-Oct-2011 Jean Chalard <jchalard@google.com> Add a strong space behavior.

Bug: 5454442
Change-Id: Ic095cb65dd7b4427617cd74fc7c53a9666b218c4
atinIME.java
c47c2dc65a8d4c46817023bebc7bb3ef19c132f0 25-Oct-2011 Jean Chalard <jchalard@google.com> Merge "Fix a cosmetic bug where text would blink on space swap"
b715299125e8fbaaa941d994217baf823e6c4013 25-Oct-2011 Jean Chalard <jchalard@google.com> Fix a cosmetic bug where text would blink on space swap

On space swap or space removal in some occasions there would be
a small blink on the screen. This change fixes that.

Change-Id: I486cbcc5dfcafd531b3fa92c4f9a3255832f22cc
atinIME.java
cd43edbc32d3efd4e076597aa30922c7a500a444 25-Oct-2011 Jean Chalard <jchalard@google.com> Small clean up

Remove an unused method and constant

Change-Id: I3e99ea9fc182c83399d46aca81d1b69aab2c36d1
extEntryState.java
cba1af9c5626a2cb1e611735deb72db72d02c4c1 24-Oct-2011 Jean Chalard <jchalard@google.com> Fix a bug where the sequence numbers would be wrong

The spell checker cannot afford to return static objects,
seeing as the framework will then use the same objects to
pair the cookie and sequence ids to the request.

Bug: 5503243
Change-Id: Ia9c3a933bfb30cf5525418b240ef60632d72c9d0
pellcheck/AndroidSpellCheckerService.java
ee89b40a92cc5dd73ad192bfdb1ee27766ec3000 24-Oct-2011 Jean Chalard <jchalard@google.com> Merge "Use the contacts dictionary in the spell checker."
2e3c6da8688a907024d4d8e0f2db3e0ed4fab8db 24-Oct-2011 Jean Chalard <jchalard@google.com> Use the contacts dictionary in the spell checker.

Bug: 5447495
Change-Id: I7292eb291a1630265884cc8e505a2e83a74f0c72
ynchronouslyLoadedContactsDictionary.java
pellcheck/AndroidSpellCheckerService.java
b2b1eb5ca5a52648eea70920b9bd745b07d3ddfa 24-Oct-2011 Tadashi G. Takaoka <takaoka@google.com> Call updateFulscreenMode before calling isFullscreenMode

Bug: 5495739
Change-Id: I25eab59833a8b95a0b75893d37a45e67504fa7d0
atinIME.java
26a531c6fe2a6e058803b7102e2bc9e7ea12d8f3 21-Oct-2011 Jean Chalard <jchalard@google.com> Rename a flag

...and insert some explaining commands

Change-Id: Iff6511e71d66abfaea9f6c21c47f74fa0a67ad78
atinIME.java
49426a1ea941c0331a6e573e36cff3c3a8e8849c 20-Oct-2011 Tadashi G. Takaoka <takaoka@google.com> Fix potential NPE

Bug: 5462524
Change-Id: I76012d1bbcd83d58f034c2f588802e4d1b7edc4d
atinIME.java
9f058749f2e8bf9194034d273535c960fe811161 20-Oct-2011 Tadashi G. Takaoka <takaoka@google.com> am 61aebb0a: Merge "Update suggestions strip divider" into ics-mr0

* commit '61aebb0a1e3d12cd5287c9be3c2e37df565af888':
Update suggestions strip divider
61aebb0a1e3d12cd5287c9be3c2e37df565af888 20-Oct-2011 Tadashi G. Takaoka <takaoka@google.com> Merge "Update suggestions strip divider" into ics-mr0
78674d0ff7f7126da9a2267b6c764f3222232b90 19-Oct-2011 Tadashi G. Takaoka <takaoka@google.com> Add warning log for unexpected inputType (DO NOT MERGE)

This is a cherry-pick of I3484c751 from Master.

Bug: 5130446
Change-Id: I140980bf093fb3310496c8021166d16f0ddc362f
atinIME.java
2c47080e7b4b9b2a6c2dbf1444e041c1b7943316 17-Oct-2011 Tadashi G. Takaoka <takaoka@google.com> Update suggestions strip divider

Bug: 5142447
Change-Id: I275a304e46456e3b80968fb5de330a3b04bd2035
uggestionsView.java
82c8c2e6c00386ae9925fff68ea77bc448897cbd 19-Oct-2011 Tadashi G. Takaoka <takaoka@google.com> Add warning log for unexpected inputType

Bug: 5130446
Change-Id: I3484c75144ba68db0734a4d38186d2eafd1b1879
atinIME.java
c5d51a40a444c65bbca2a8bdcf0b4d6a05f59e77 17-Oct-2011 satok <satok@google.com> am fe2d9079: Fix a bug that the typed word with the blue underline indicator will be duplicated

* commit 'fe2d90798ea409ee39d6f63942eb01bb7eed98e3':
Fix a bug that the typed word with the blue underline indicator will be duplicated
fe2d90798ea409ee39d6f63942eb01bb7eed98e3 17-Oct-2011 satok <satok@google.com> Fix a bug that the typed word with the blue underline indicator will be duplicated

Bug: 5466373

Change-Id: I0300c34cb6076b12ecb89cb29bea95288559108f
omposingStateManager.java
atinIME.java
6262fa5307ae57bae9640cc763ad1fe529af7a43 14-Oct-2011 Tadashi G. Takaoka <takaoka@google.com> am ed6bc82d: Merge "Revert "Bug 5352720: IME_FLAG_NO_EXTRACT_UI is not enforced"" into ics-mr0

* commit 'ed6bc82d9785372c407e1a4f563ae7d30c479b8a':
Revert "Bug 5352720: IME_FLAG_NO_EXTRACT_UI is not enforced"
d874ac581e7f9bb6b93918390aa56fb02d1b66e8 13-Oct-2011 Tadashi G. Takaoka <takaoka@google.com> Revert "Bug 5352720: IME_FLAG_NO_EXTRACT_UI is not enforced"

This reverts commit b1bc5fd896329a39ad51a8c79e2970750c814ea0. (If3a73179)
Bug: 5410786
atinIME.java
22c2a23cdaa29c2de742d8ab3e8d7bf3c9f9564a 13-Oct-2011 satok <satok@google.com> am 605a6fea: Merge "Fix the safety net Bug: 5453150" into ics-mr0

* commit '605a6fea750c4acc96a5136ecaf7162e0a858b9f':
Fix the safety net Bug: 5453150
605a6fea750c4acc96a5136ecaf7162e0a858b9f 13-Oct-2011 satok <satok@google.com> Merge "Fix the safety net Bug: 5453150" into ics-mr0
2aa1dd45c44295e2f7e8ece1b520032d86b9f908 13-Oct-2011 satok <satok@google.com> Fix the safety net
Bug: 5453150

Change-Id: I5990feb2622738988bf29843c6bcdb9cbf8bbf33
atinIME.java
uggestedWords.java
uggestionsView.java
tils.java
283d35cb6ccc9b1bb92b867ebc5c3e609163becc 12-Oct-2011 Tadashi G. Takaoka <takaoka@google.com> am 62fb8a48: Merge "Take invisible extractArea height into account" into ics-mr0

* commit '62fb8a480df325ebc6b2a4dc023a944e3cd0bcef':
Take invisible extractArea height into account
62fb8a480df325ebc6b2a4dc023a944e3cd0bcef 12-Oct-2011 Tadashi G. Takaoka <takaoka@google.com> Merge "Take invisible extractArea height into account" into ics-mr0
e596fe2702d3b4db50bc9bc4bed3568b90558017 12-Oct-2011 satok <satok@google.com> am ef0a7b75: Merge "Suppress flickers of the auto correction indicator" into ics-mr0

* commit 'ef0a7b75462c75b756caa09d9dd356309968abf3':
Suppress flickers of the auto correction indicator
604d80c67185954d4691ac775be59c499eee3b1c 12-Oct-2011 satok <satok@google.com> Suppress flickers of the auto correction indicator

Bug: 5440788
Change-Id: I7832b449ee777dbd87388a02cebdfee0ce350fbd
atinIME.java
d44647e76f286256515ddac8cfc1ab29a2cbcf82 12-Oct-2011 Tadashi G. Takaoka <takaoka@google.com> Take invisible extractArea height into account

Bug: 5410786
Change-Id: I97ce2d72f86ce62b37d408103863af66f91e7107
atinIME.java
a86869711e5caec19d580edb086f8df1ffbf75e5 11-Oct-2011 satok <satok@google.com> Merge "Add a settings to change the sound effect volume"
79c0acf51984256d640b38ea3c394f308cc3b314 11-Oct-2011 satok <satok@google.com> Add a settings to change the sound effect volume

Bug: 5345401
Bug: 5402541
Change-Id: I1e653573a3362160104b77388d6cbd1700424649
atinIME.java
ettings.java
tils.java
8d4be2516ac23f2571c7d714c498ab7d4f09ec90 11-Oct-2011 Tadashi G. Takaoka <takaoka@google.com> Merge "Fix haptic and audio feedback of caps-lock mode changing"
f44aeb6618847726164a733a6f375d986b7a8b56 11-Oct-2011 Tadashi G. Takaoka <takaoka@google.com> Fix haptic and audio feedback of caps-lock mode changing

Bug: 5435669
Change-Id: Ic1c1eb00d7e535a3ac602b9b505fd8bf43da5a8d
atinIME.java
ed2b6c714ba3619b68f5a2365289a38c7346f659 10-Oct-2011 Tadashi G. Takaoka <takaoka@google.com> Remove unused import

Change-Id: I31115c29e47cdd09b2d8cc8f04e9fc9f9d542811
hitelistDictionary.java
602bcecf6bbe64080c602cd71e33f814551370f4 10-Oct-2011 satok <satok@google.com> Merge "Put SuggestionSpan as the indicater of the auto-correction"
ec780e2868962bf17f0dfd35d36895f543bde40a 28-Sep-2011 satok <satok@google.com> Put SuggestionSpan as the indicater of the auto-correction

Bug: 5245468

Change-Id: Ia5609e1b3c69f5553e3632fbce60a55665a5b185
atinIME.java
uggestionsView.java
tils.java
7c2d7ad6349eaf36312b69feb6efb6cd7201b0bc 08-Oct-2011 Svetoslav Ganov <svetoslavganov@google.com> Merge "Let accessibility users know to connect a headset when the IME connects to a password field."
fee149abe0358ff0efcebff3d0b60d8be83af437 06-Oct-2011 Jean Chalard <jchalard@google.com> Use the whitelist as a dictionary in the spell checker.

Bug: 5402436
Change-Id: If89b8bbdebf6751697c4788270d01d4639cff665
uggest.java
hitelistDictionary.java
pellcheck/AndroidSpellCheckerService.java
266ae6964d5bcab82e10f6ba7fe36f38da0c086d 07-Oct-2011 Jean Chalard <jchalard@google.com> Merge "Fix a bug with the whitelist"
5f41b705fc95b21c8edd6226bb50c0fa78a39261 07-Oct-2011 Jean Chalard <jchalard@google.com> Fix a bug with the whitelist

This bug would kill the case where the whitelist contains
a word to be autocorrected to an uppercased version of
itself, and the user would enter the uppercase version.
In this case, this bug would cause the typed word to be
killed off the list of candidates, and possibly autocorrected
to the *next* candidate.

When the whitelist checks whether this the typed word is
a candidate for whitelisting, this change has it check whether
the whitelisting results in the typed word before returning.
Hence, it can keep the case-insensitive behavior of the
whitelist.

Coincidentally, this change renames the method used to do
this, because it does not comply with the general contract
of Dictionary. This happens to be in the way of another
upcoming change.

Bug: 5420371
Change-Id: Ifb305271acc5f171adf9b18c762ae7975b14be0a
utoCorrection.java
atinIME.java
hitelistDictionary.java
beac24226b6a6303ff1821cf0ad57f146bb0e3d7 07-Oct-2011 Tadashi G. Takaoka <takaoka@google.com> Merge "Add haptic feedback for caps lock"
af0f13d15cd2edcb68fda9961c39dc6511edaafd 07-Oct-2011 Jean Chalard <jchalard@google.com> Add pretty-printing to SuggestedWords.Builder to help debug

Change-Id: I2f40ca40f2b452078d0f24cef72e0182e10e2269
uggestedWords.java
416ee19d330f08e329cce4fd7cb66003cfb64f4a 07-Oct-2011 Tadashi G. Takaoka <takaoka@google.com> Add haptic feedback for caps lock

When long press triggers caps lock, the keyboard also triggers haptic
feedback.

This change also fixes trivial harmless bug in KeyboardSwitcher.

Bug: 5424681
Change-Id: I62706b49abd7be1dcebc3c5166ea03f426fc8c86
atinIME.java
b0c8db018d53b103dcb4b699be27a4e1a2c2f92c 06-Oct-2011 Alan Viverette <alanv@google.com> Let accessibility users know to connect a headset when the IME connects to a password field.

Change-Id: If96cd7626950dd12e88a8a97f5e405d303d41e06
atinIME.java
3d36cdcd2d4a4cfb6fab6d89f1a6fcc62dfce6e6 06-Oct-2011 Jean Chalard <jchalard@google.com> Merge "Fix possible NPE in debug mode"
51075d145a85d1acaff08c02f4d6b10b175eaa36 06-Oct-2011 Jean Chalard <jchalard@google.com> Fix possible NPE in debug mode

Change-Id: I55776110a489621c99e9a3bf58daa6fcaf415cb3
pellcheck/AndroidSpellCheckerService.java
c53661f152f2d676f8cec656cbdd93adfa7fc908 06-Oct-2011 Jean Chalard <jchalard@google.com> Fix a possible OutOfBoundsException

Change-Id: I6eb13c228738119c78496a96acaedbccefd83cd3
pellcheck/AndroidSpellCheckerService.java
3458d61807a03ed7fb8571488ee0fcbff39e07f8 06-Oct-2011 Jean Chalard <jchalard@google.com> Make the whitelist an instanciable class.

This goes together with I6b8628b9acc32449e4147a2a754b222fbb76c754
or it will break the build

Bug: 5402436
Change-Id: I07c6266b713773a8de80bb22afdd4c566261f78a
uggest.java
hitelistDictionary.java
ab72a97d7ce44230a0c824797d1675a5ca354a56 04-Oct-2011 Tadashi G. Takaoka <takaoka@google.com> Cleanup unused import

This change also gets rid of several compiler warnings.

Change-Id: I23962edaadad18a6e0395d528af17b909dcf5dad
ssetFileAddress.java
inaryDictionary.java
inaryDictionaryFileDumper.java
inaryDictionaryGetter.java
xpandableDictionary.java
ileTransforms.java
ocaleUtils.java
ynchronouslyLoadedUserDictionary.java
serBigramDictionary.java
pellcheck/AndroidSpellCheckerService.java
pellcheck/DictionaryPool.java
pellcheck/SpellCheckerProximityInfo.java
pellcheck/SpellCheckerSettingsActivity.java
pellcheck/SpellCheckerSettingsFragment.java
a25dd3b5c3300fa8c8ab305afb955956529db088 03-Oct-2011 Yusuke Nojima <nojima@google.com> Merge "Pass the touch position correction flag from KeyboardSwitcher."
294e1b4a5abb86e58deefc8eee40e6b661524b28 03-Oct-2011 Yusuke Nojima <nojima@google.com> Pass the touch position correction flag from KeyboardSwitcher.

Change-Id: Ia242a9fa2fa71f7fdf8f974071a2df7acc4aa51f
atinIME.java
45f45a4fdb16d0fa44b4a34b880e5fabb41c1492 03-Oct-2011 Jean Chalard <jchalard@google.com> Cleanup : remove recorrection-related stuff.

This removes UPDATE_OLD_SUGGESTIONS, and the associated settings.

Bug: 5402537
Change-Id: Ie87d4e05c54e4b7d2dd5a05f2d0b570e9cd3e463
atinIME.java
ettings.java
fe5364c825058f6c34c0f42135a5520b77525a28 03-Oct-2011 Jean Chalard <jchalard@google.com> Cleanup : remove old recorrection code

This removes the calls, but another change will be needed to remove
the messages LatinIME used to send itself to update the suggestion
strip.

Bug: 5402537
Change-Id: I5d1aa63a892516f339f3ceac21f43771b5ffda34
atinIME.java
cd95a365586b2b5f9a3639b72a2befdac7ada8a4 03-Oct-2011 Jean Chalard <jchalard@google.com> Fix a bug where moving the cursor would not reset selection

This change updates suggestions when the cursor is moved.
It is now reasonable to remove the explicit test for
TextEntryState.isAcceptedDefault because it is now shielded
by mExpectingUpdateSelection : actually, this probably fixes
a long-standing bug.

Bug: 5337309
Change-Id: Iee4046420c6a88d1a07d428230f93c3ebef25c39
atinIME.java
397f6f8299a8acd645e4cc88eead7a345c198044 03-Oct-2011 Jean Chalard <jchalard@google.com> Merge "Small refactoring"
4c0fe5719853325e51a8ff0652318e2afdaca97f 03-Oct-2011 Jean Chalard <jchalard@google.com> Small refactoring

Change-Id: Ifc33e109562abb3dd720ad4fed76add8ab1a64aa
atinIME.java
904baab25a4c6ec5d9c4bf7e562154e3f544d296 03-Oct-2011 satok <satok@google.com> Remove code related to AutoText

Bug: 5245751

Change-Id: Ic02f951e8e1dbde9d8964d2c16e4928fb374ca41
utoCorrection.java
atinIME.java
uggest.java
62c7e25e11f021f6640f9170e53b7e86ed537fd8 30-Sep-2011 satok <satok@google.com> Move SharedPreferencesCompat to com.android.inputmethod.compat

Change-Id: Ied336339b8eb3643f14517c251b07c09398f61fe
haredPreferencesCompat.java
ba76e6ff27871e6a4fa33aa2aaf9b60a989f0ed8 30-Sep-2011 satok <satok@google.com> Show the duration of vibration in settings

bug: 5345401

Change-Id: I666d48d8ddf6c14540eb401129c20ce93972d9cf
ettings.java
646a66159a147d115fa17514cb8add9214cc0577 30-Sep-2011 Jean Chalard <jchalard@google.com> Merge "Make use of the FULL_EDIT_DISTANCE flag."
673cebf9e97289b3b0cd343ff7193dff69684a48 29-Sep-2011 Jean Chalard <jchalard@google.com> Make use of the FULL_EDIT_DISTANCE flag.

In effect, this stops the spell checker from suggesting overly
long words.
More precisely, it takes advantage of the new facility that
takes into account the whole length of the dictionary word when
computing scores, so words much longer than the input word will
see their score demoted accordingly.

Bug: 5384578
Change-Id: I326cd7c87c3080e7fa8729f78517f8ba13672a9b
inaryDictionary.java
ictionaryFactory.java
pellcheck/AndroidSpellCheckerService.java
59f8ca752d5f79d4469519623590052c050c9d23 29-Sep-2011 Tadashi G. Takaoka <takaoka@google.com> Skip successive InputMethodService callbacks after orientation changed

IME is called back four methods for each input field as a IME life
cycle. The four methods are onStartInput, onStartInputView,
onFinishInputView and onFinishInput.

After orientation changed, Those quartet methods will be called back
twice. This behavior of the framework might be a bug.

In order to restore the previous keyboard layout, we should skip
onFinishInputView and onFinishInput of the first quartet and
onStartInput and onStartInputView of the second quartet.

Bug: 4311428
Change-Id: I450ddc0cce5d00abc971ffd42a507a8a86682548
atinIME.java
db096d681f40b8547b4ce83d07d8d8b54e30634e 29-Sep-2011 satok <satok@google.com> Merge "Add a flag to demote completed suggestions"
40a5f6fa4df529bf21813d54fc20ffe5b3cbe436 29-Sep-2011 satok <satok@google.com> Add a flag to demote completed suggestions

Bug: 5390063
Change-Id: I0ef4fbcc705539624269fd2f8c4e782679fc44b3
inaryDictionary.java
lag.java
3ff95b72908818dac3615e14a0ba3bf626e05dd7 29-Sep-2011 Jean Chalard <jchalard@google.com> Merge "Add a threshold for suggestion score."
4609c02f9e61370557fee675c67263160fbf7fee 29-Sep-2011 Jean Chalard <jchalard@google.com> Add a threshold for suggestion score.

Bug: 5384578

Change-Id: Ic0b0203d873492a41c72defef835adf36f010f47
pellcheck/AndroidSpellCheckerService.java
4866758a98fbf38bedebf65f9ea4993464627ce0 29-Sep-2011 satok <satok@google.com> Merge "Update suggestions when user presses the backspace even when there is not two or more suggestions"
074cda4d266b5d034d4348961c9183e32b16af5a 29-Sep-2011 satok <satok@google.com> Update suggestions when user presses the backspace even when there is not two or more suggestions

Bug: 5384445
Change-Id: I419999da8f5745ac114d0173beeadcb365a8c3ac
atinIME.java
2087cf508a399f930c21a9cbeeac735e317a58d8 29-Sep-2011 Tadashi G. Takaoka <takaoka@google.com> Merge "Handle back key and outside touch correctly in more suggestions window"
bfc1d732ac92fa1bd5b19ad9e7c71ce9a1f9dc00 29-Sep-2011 Tadashi G. Takaoka <takaoka@google.com> Handle back key and outside touch correctly in more suggestions window

Bug: 5385284
Change-Id: Ic0517182d294c79e37c88f1ef30cb4d2917b2800
oreSuggestionsView.java
uggestionsView.java
85782abaf178f6aafa1f8999123ff540f04c17bc 29-Sep-2011 Jean Chalard <jchalard@google.com> Move some arguments to final members.

This is preparation for
Bug: 5384578

Change-Id: I7d493c441f375fa5f23c5e3cfa8134e2ce7775fe
pellcheck/AndroidSpellCheckerService.java
433965784dca1a2cd801e1aab8c8258f64d8c7e0 28-Sep-2011 satok <satok@google.com> add vibration duration settings

Change-Id: I56a1a94df63160f367f866da759d7dd4fc428ed5
atinIME.java
ettings.java
tils.java
90086846dc9a677dafc1ea92138ac88f3f933046 28-Sep-2011 Jean Chalard <jchalard@google.com> Merge "Change the logic of the LOOKS_LIKE_TYPO flag"
647db70fec321d9847f6568cc7bd2b3bd6671322 28-Sep-2011 Jean Chalard <jchalard@google.com> Change the logic of the LOOKS_LIKE_TYPO flag

It now follows the following logic:
- If the word should be filtered out => false
- Else => !IN_THE_DICTIONARY

This defines the behavior for ICS MR0, and prepares for addition
of a new HAS_LIKELY_SUGGESTIONS flag in MR1.

Bug: 5383800

Change-Id: I530b1404ae8cf3337ff68ef5ab0f4d95f2dad0e8
pellcheck/AndroidSpellCheckerService.java
2fc4248700023853980b0006c12425079e3f9257 28-Sep-2011 Tadashi G. Takaoka <takaoka@google.com> Introduce hit box to Key and get rid of edge flags

Change-Id: I2b78d2ca756223b5497d01127c3a0190dcc81e57
oreSuggestions.java
ffd156c77e93a54b704780b46886ba597d1c77cb 27-Sep-2011 Tadashi G. Takaoka <takaoka@google.com> Postpone onDisplayCompletions until onStartInputView has been executed

Bug: 5108267
Change-Id: I42d297ce4e4913e5dab5f5d647b1d13dc860b884
atinIME.java
f451ed2012df7eb080de045a93a494aecd2775b4 20-Sep-2011 Tadashi G. Takaoka <takaoka@google.com> Forward touch events above the keyboard to the suggestions strip

The gutter area between the suggestions strip and the top-row keys
looks like a part of the suggestions strip, and the touch events
landing on the area should be forwarded to the suggestions strip.

Bug: 5246673
Change-Id: I92af763be0feed21aa36ceffb5d575abe554f19e
nputView.java
73cd4c1428ac370e1c15c5f61b1ce499f0d4f4c7 27-Sep-2011 Tadashi G. Takaoka <takaoka@google.com> Fix onDeatchedFromWindow to protected

Change-Id: Ief666554ffd405a43363e66ea2bc2d87aa76a882
uggestionsView.java
a9876980c87748750d3edb19d72ff65bce75f024 26-Sep-2011 Jean Chalard <jchalard@google.com> Fix a possible deadlock.

Bug: 5359873
Change-Id: I80ae901c43b6ae59879e3c8b1a9dd8a937d558c1
pellcheck/AndroidSpellCheckerService.java
acf6b6815a0cd474ef480537c0391b6851364916 26-Sep-2011 Tadashi G. Takaoka <takaoka@google.com> Merge "Fix keyboard row height calculation"
8fbfac4ffb7079e8e71fd4e3ddc04e362239ebb3 22-Sep-2011 Tadashi G. Takaoka <takaoka@google.com> Fix keyboard row height calculation

The keyboard height will be distrubuted as:
top_padding + (key_height + vertical_gap) * row_count - vertical_gap + bottom_padding

Change-Id: I841f356b9dbf8cfaf3756178bc9e4e6b2aa61364
oreSuggestions.java
c9f562a9a4c2b634eb43d1ddaef69068c0d93f6f 24-Sep-2011 Ken Wakasa <kwakasa@google.com> Partially revert I0fa5eefc

bug: 5344295
Change-Id: Idb10e37862773a62ff60afe874844e8968a58b5d
uggestionsView.java
c66a7278d2e5f475c8b7f1638d1569b7b8b06662 24-Sep-2011 Fabrice Di Meglio <fdimeglio@google.com> Merge "Revert "Use "..." instead of "\u2026"""
9bdce3a59e9bf00095bc92fae88b830b0a8455be 23-Sep-2011 Fabrice Di Meglio <fdimeglio@google.com> Revert "Use "..." instead of "\u2026""

This reverts commit 8673ceb066ed0dacaff79ac296adf8aae9814a16

The Roboto Font is having the real ellipsis back
uggestionsView.java
8d6fd877c5ac11aa0852b5a28bf1a52081ae9157 22-Sep-2011 Gilles Debunne <debunne@google.com> am b1bc5fd8: Bug 5352720: IME_FLAG_NO_EXTRACT_UI is not enforced

* commit 'b1bc5fd896329a39ad51a8c79e2970750c814ea0':
Bug 5352720: IME_FLAG_NO_EXTRACT_UI is not enforced
b1bc5fd896329a39ad51a8c79e2970750c814ea0 21-Sep-2011 Gilles Debunne <debunne@google.com> Bug 5352720: IME_FLAG_NO_EXTRACT_UI is not enforced

CL https://android-git.corp.google.com/g/#/c/136474 refactored
the fullscreen test, but ithe IME_FLAG_NO_EXTRACT_UI test was
lost in the process.

Note that there is still a problem (orthogonal to that change
with key_preview_backing, which appears opaque and black sometimes.

I'll re-open 5315001.

Change-Id: If3a73179d21eaca10bdc948db7bac4b4f7a88d34
atinIME.java
68c7b9b195c3ffcc52cd265b98aa15d637fb5420 21-Sep-2011 Tadashi G. Takaoka <takaoka@google.com> Merge "Remove "autoCorrectInvert" feature from SuggestionsView"
92a83e74ec57cd6d86b20b687d94e1704795a98e 21-Sep-2011 Tadashi G. Takaoka <takaoka@google.com> Merge "Fix key preview backing view height"
77a87e3cb5886b1319230906c77c0bc98b905248 21-Sep-2011 Tadashi G. Takaoka <takaoka@google.com> Remove "autoCorrectInvert" feature from SuggestionsView

Bug: 5162005
Change-Id: Iec679f5f05f28cd7e8013d7350ea03372f1cd7b2
atinIME.java
uggestionsView.java
8673ceb066ed0dacaff79ac296adf8aae9814a16 21-Sep-2011 Tadashi G. Takaoka <takaoka@google.com> Use "..." instead of "\u2026"

Because "TRHEE DOT LEADER" glyph of Roboto font is broken, we decide
to use "..." instead.

Bug: 5344295
Change-Id: I0fa5eefc00baf80747ff5215c018619a7e15a58e
uggestionsView.java
f5fe245df0548ea0a8ec607f2392de0fe02c141d 21-Sep-2011 Tadashi G. Takaoka <takaoka@google.com> Fix key preview backing view height

Bug: 5344344
Change-Id: Ied0cda2c4b822b391ece54a6880fae8e349cc0bc
atinIME.java
3fc4ddec68b4f56f53ed6da80b5e44f38c085740 20-Sep-2011 Tadashi G. Takaoka <takaoka@google.com> Sliding suggestions strip starts showing more suggestions

Bug: 5301019
Change-Id: I87daa9e472f9e93a6da9de754376b7fa4740171a
uggestionsView.java
37af28dd234b64773c0038ac587cac5f99236bd2 20-Sep-2011 Ken Wakasa <kwakasa@google.com> Enable vibrate on keypress by default

bug: 5337363
Change-Id: I14c95d27dd236d0a43e64a46ae6fbf9f2a97a3da
ettings.java
34a9831811709548ffee9de876448dd459005124 20-Sep-2011 Ken Wakasa <kwakasa@google.com> Merge "Tweak LatinIME's keypress volume"
95dba8a82c1f15b9f5ec2d2eb6c7fc2cd5e67682 20-Sep-2011 Tadashi G. Takaoka <takaoka@google.com> Merge "The back button key event is delivered correctly"
f58293f6ebf821acd9a3cc594124e905c4592810 20-Sep-2011 Ken Wakasa <kwakasa@google.com> Tweak LatinIME's keypress volume

bug: 5337902
Change-Id: I7f864f158d110aa3e755961303799882f59b7e4c
atinIME.java
d7b00f34904c61f955e439160e2dbaa3a4b6983c 16-Sep-2011 Tadashi G. Takaoka <takaoka@google.com> The back button key event is delivered correctly

Bug: 5275063
Change-Id: I439ce18665e40dc8b2e40e923e5cabfcae7c81cf
oreSuggestionsView.java
uggestionsView.java
6d8d25ee5a11d82f44b94719f12717b045abfce9 20-Sep-2011 Tadashi G. Takaoka <takaoka@google.com> (DO NOT MERGE) Update fullscreen mode also at onStartInputView

This is a cherry-pick cheof I190a71f7 from Master.

Bug: 5315001
Change-Id: I76c756eeecf21eec4c88dd4558d5c50f10ff3d3c
atinIME.java
3ea503c8514e38bf6f2e87ef5d80e98b7a7b49b8 20-Sep-2011 Tadashi G. Takaoka <takaoka@google.com> Merge "Update fullscreen mode also at onStartInputView"
59010a89b839ea181dc07588df21f3db29ee8bd1 20-Sep-2011 Tadashi G. Takaoka <takaoka@google.com> Update fullscreen mode also at onStartInputView

This change also separates controlling visibility of "key preview
backing view" from suggestions strip visibility.

Bug: 5315001
Change-Id: I190a71f7956c804e5d89d2d5bacecc62d565ac2c
atinIME.java
d2547c68884860d19429f40ec1fd5fbfadebc366 20-Sep-2011 Jean Chalard <jchalard@google.com> Merge "Have the spell checker report IN_DICT correctly"
28f36d68afe8d323d1032d0e03fe3013449e21fe 19-Sep-2011 Ken Wakasa <kwakasa@google.com> Tweak LatinIME's keypress vibration duration

bug: 5337363
Change-Id: If6e6de587cbcddf26710d8f0b237c4bc393589b6
atinIME.java
e897e4d3422c8d9d8b6f051376cc2ba16e4d5945 16-Sep-2011 Jean Chalard <jchalard@google.com> Have the spell checker report IN_DICT correctly

...even if the word is filtered out.
This also contains minor refactoring.

Bug: 5329658
Change-Id: I397a2a74f819a51df3bd07c6b94e8d29244389c4
pellcheck/AndroidSpellCheckerService.java
pellcheck/DictionaryPool.java
0967ef40368c4bc7a0576ecc3dc222a8fe9b94c3 16-Sep-2011 Tadashi G. Takaoka <takaoka@google.com> Draw more suggestions hint using text font

Bug: 5287964
Change-Id: I692b5303268c7b5115853177c956e147312c582d
uggestionsView.java
ba0e30f212344851a26db7c95ecbc6145ccdf171 15-Sep-2011 Tadashi G. Takaoka <takaoka@google.com> (DO NOT MERGE) Fix checking capitalized word code

This is a follow up change of If6c0edef.
This is a cherry-pick of Idb415f53 from Master.

Bug: 5328922
Change-Id: I36d8bda9fb95e4809598296226c598a9f08bd8bb
ordComposer.java
436a645ea837d36f7e0f81948d343fa6e166f33a 15-Sep-2011 Tadashi G. Takaoka <takaoka@google.com> Fix checking capitalized word code

This is a follow up change of If6c0edef.

Bug: 5328922
Change-Id: Idb415f53f3fea6660c7802577d08b4d89d4e7842
ordComposer.java
97ec205504a6a03faabe950f0100f11a764685da 15-Sep-2011 Jean Chalard <jchalard@google.com> Merge "Add an option to user dict to match more precise locales"
cfed2739221105163893cecdc9402cd9ddc0ab93 15-Sep-2011 Jean Chalard <jchalard@google.com> Add an option to user dict to match more precise locales

This should not be used lightly, as it violates the general
contract of locale, and does kill some legitimate (albeit
alledgedly rare) use patterns.
Currently, the spell checker uses this because it uses a
negative logic: it should match broadly, and when in doubt,
match even more broadly, which is almost never the case of
something that uses the locale.
In other words: don't use this option unless you are
very, VERY sure that's what you want. Hint: it isn't

Bug: 5280929
Change-Id: Ib3cae319c692161d653630038c5bcde1f4340c05
ynchronouslyLoadedUserDictionary.java
serDictionary.java
pellcheck/AndroidSpellCheckerService.java
39fe5bfc3c791a6854663e999f49fdf0cec0c403 15-Sep-2011 Jean Chalard <jchalard@google.com> Merge "Avoid returning an object that's still used internally"
5c08151c227d98031abe27c3f0a8f43a7126ae9d 15-Sep-2011 Jean Chalard <jchalard@google.com> Avoid returning an object that's still used internally

There is no definite path known for this to end up being
touched by other classes, but we could imagine through
some way or some other it ends up shoved in the stringbuilder
pool, leading to catastrophic results.

Hopefully related to
Bug: 5248688

Change-Id: Ib8abfc31263cbf31d515ed607ced5d8253971938
uggest.java
ordComposer.java
199dc5e0e4236eed408650dbb0dc07d7f16bbe03 14-Sep-2011 Jean Chalard <jchalard@google.com> Don't kill LatinIME if the spellchecker crashes.

If the spellchecker encounters a bug and happens to crash,
it may be sensible to avoid killing the keyboard in response.
This is a possible way to do it, which comes with the big
drawback of making bugs in the spell checker harder to find.

Change-Id: Idb26fb592b9718e1dbdadeda8fbd1a8a1d805c28
pellcheck/AndroidSpellCheckerService.java
fa52a09f2160d5db52c3b705203de4395a0c3d7d 14-Sep-2011 satok <satok@google.com> Merge "Remove experimental settings"
d2738757d2f4cc6286db19aebe28c4cdd37626e0 14-Sep-2011 Jean Chalard <jchalard@google.com> Merge "Filter out of spellchecking words that don't look like words"
88fa53b840686bb428b932eed7dd38162ae902c2 13-Sep-2011 Jean Chalard <jchalard@google.com> Filter out of spellchecking words that don't look like words

Note that this affects only the results of the spell checker if
actually passed such a word. For example, the spell checker will
not flag "http://oju" as a typo, because it looks like a URL.
But in the current implementation, TextView passes "http" and
"oju" separately, so "oju" is still flagged as a typo.

Bug: 5281875
Change-Id: I9d721fd3af34edc51b11908cf2e8fe994b164242
pellcheck/AndroidSpellCheckerService.java
c9c54a84bcd9fc4a7e7a04ba4a800c65b673378e 14-Sep-2011 satok <satok@google.com> Remove experimental settings

Bug: 5314288
Change-Id: I31cbc6da0ca5e61a5fa4a893c774f2110a5698f1
ettings.java
1586dc6edffc75f3ca5cf9a4b632c0972820dcf8 14-Sep-2011 Jean Chalard <jchalard@google.com> Merge "Fix a bug where the user dict's locale match would be wrong"
d97def5925782769716e562d5d5fe72f61feef59 13-Sep-2011 Jean Chalard <jchalard@google.com> Fix a bug where the user dict's locale match would be wrong

This is preparation for
Bug: 5280929

Change-Id: Iab0096acf057aa288b1986d225aad815bd70b145
serDictionary.java
63e55cd55eaaeef01bac6a35116027573a460734 13-Sep-2011 Jean Chalard <jchalard@google.com> Don't report 1-char words as typos

Bug: 5281875
Change-Id: If6b6d057e18390bf01dcd31c46104b6856fbdbda
pellcheck/AndroidSpellCheckerService.java
ea843f2a2404f4bc04fda494e475520162cfca27 13-Sep-2011 Tadashi G. Takaoka <takaoka@google.com> Make WordComposer aware of capitalized word

Change-Id: If6c0edef2334f018f2e04c6034f8ce747206f150
atinIME.java
ordComposer.java
6602b03e8057e2fbec6923c3aefb58f22594b97f 13-Sep-2011 Tadashi G. Takaoka <takaoka@google.com> Merge "Linger the "more suggestions" when the user is sliding the touch point"
02ce5392f5d16a4c7878e05c92e7c15f8f414295 13-Sep-2011 Tadashi G. Takaoka <takaoka@google.com> Merge "Dismiss the more suggestions when the user is sliding down the touch point"
87104bace9cb9ed1a700f05a37743a21c2722fff 12-Sep-2011 Tadashi G. Takaoka <takaoka@google.com> Dismiss the more suggestions when the user is sliding down the touch point

Bug: 5299142
Change-Id: I466ff41948bbb49fb6874817ecfd94d338238d19
uggestionsView.java
2abd8547e3d9bfae93e7188222dcb1577977ad54 13-Sep-2011 Tadashi G. Takaoka <takaoka@google.com> Linger the "more suggestions" when the user is sliding the touch point

Bug: 5299024
Change-Id: I00b5e59ba480cbf057bdd69d1357d2c477be90f7
oreSuggestionsView.java
697bf585f8dac6ffc4d008c02b63407cfdd83104 12-Sep-2011 Tadashi G. Takaoka <takaoka@google.com> Update suggestions strip text color

Bug: 5287964
Change-Id: Ic40bb656873f41bb6d65427f02399464e831aab2
uggestionsView.java
f5ef30dfc6f4e436d35c38b6f7e32fbd24d54aab 09-Sep-2011 Jean Chalard <jchalard@google.com> Have the spell checker honor case

Bug: 5281103
Change-Id: I415c84dbb55f1eeb5deb9f248b4056881982ee13
tils.java
pellcheck/AndroidSpellCheckerService.java
53bbf4da5a7dee1e2fd84770dc79c80ec4a5caed 09-Sep-2011 satok <satok@google.com> Merge "Remove the exception in SubtypeSwitcher"
1ecf0fb5d75ae62a10314c67812d7dfe9a2b0084 09-Sep-2011 satok <satok@google.com> Remove the exception in SubtypeSwitcher

Bug: 5261455

Change-Id: Idb070702418caeb6cb975849d71b39952ac4afab
ubtypeSwitcher.java
a40aba002247ebeeef5ea5b0a56edf04528a7ed1 09-Sep-2011 Jean Chalard <jchalard@google.com> Merge "Fix an NPE"
5955cfdaeae9ce2120769a4be965bdbac413bf79 09-Sep-2011 Jean Chalard <jchalard@google.com> Fix an NPE

I think only the monkey can realistically stumble on this one,
but still.

Bug: 5276917
Change-Id: I0d9f76e4786973d3695fcd46127f0bed46621c33
atinIME.java
f01ba10c8ff968c1723f963af84deed712ab2921 09-Sep-2011 Tadashi G. Takaoka <takaoka@google.com> Merge "Cancel more suggestions when its outside is touched"
530b4176c2a53ef5599eb3a89fcf3ebff90fa84f 09-Sep-2011 Tadashi G. Takaoka <takaoka@google.com> Merge "Fix potential ArrayIndexOutOfBoundsException"
4a9be115f26aff8cfdfcc4f0c24e54ffd8086695 08-Sep-2011 Tadashi G. Takaoka <takaoka@google.com> Cancel more suggestions when its outside is touched

Bug: 5241105
Change-Id: Ic28afaf998dabd3c5529286a3e60400d733d3d82
oreSuggestionsView.java
8332fd0b81cf8232ca44e698ac3317f358d89ca9 09-Sep-2011 Tadashi G. Takaoka <takaoka@google.com> Fix potential ArrayIndexOutOfBoundsException

Change-Id: I5dad81fb274cbbcf2c4f106825eecf8e4903461c
oreSuggestionsView.java
2cb36637f41418e4037023a47915dd64a30ab869 09-Sep-2011 Tadashi G. Takaoka <takaoka@google.com> Back button to dismiss the more suggestions

Bug: 5275063
Change-Id: If31e9a25d827f44c8d4ff455a780ec2a6d2d9bef
atinIME.java
uggestionsView.java
a08a7e99b4133eb6647ddc27ac60d8ee4c9eddba 08-Sep-2011 Tadashi G. Takaoka <takaoka@google.com> Merge "Add visual dividers to more suggestions panel"
30bd8cb2daf6c26a2e89a74f1d2aa4f11a17cf16 08-Sep-2011 Tadashi G. Takaoka <takaoka@google.com> Add visual dividers to more suggestions panel

Bug: 5275003
Change-Id: I9464db71388a40ea768984b4cf06c8da05bfa26c
oreSuggestions.java
af3b56c887b6c0a1bcbb21c50489f2d7ae65f654 08-Sep-2011 Jean Chalard <jchalard@google.com> Fix a bug where the wrong suggestion score would matter.

Also introduce a few debug prints.

Bug: 5240463
Change-Id: Iea2fffa3be9d7bd69da751ece9e67e94e9819ee1
pellcheck/AndroidSpellCheckerService.java
293db0873fd89b5c2bd077ffa5091321b3ab8149 08-Sep-2011 Ken Wakasa <kwakasa@google.com> Get rid of the double quote from the suggestion strip

bug: 5271209
Change-Id: I1823eaac07e184092bdf2a5d607fa08ff680fca5
uggestionsView.java
2be872555c08a66a820695ca6961e18d02dec359 08-Sep-2011 Tadashi G. Takaoka <takaoka@google.com> Use full screen mode on landscape/phone device

Bug: 5262767
Change-Id: I721c18522c972ced9f359f2e5208572d54a4b7a1
atinIME.java
ed3758e33c897fa1ef0b4e1502fb2e589765ad3a 07-Sep-2011 Tadashi G. Takaoka <takaoka@google.com> Merge "Tune the threshold of fullscreen mode from 2.5in to 500dip"
f80b6a06992ae08ca3601f4fbc6da550fd9ac730 06-Sep-2011 Tadashi G. Takaoka <takaoka@google.com> Tune the threshold of fullscreen mode from 2.5in to 500dip

Bug: 5262767
Change-Id: Ie418ab766951a568d0f40822d8e8d719582749ba
atinIME.java
6d468c513f49a1d64e5da2c9fbe625710c75e20a 06-Sep-2011 satok <satok@google.com> Fix NPE in settings

Bug: 5246032
Change-Id: I452dab9bf863fb8cba142467f338088ee8b30283
ettings.java
ubtypeSwitcher.java
50e1073e11240fe51b3baf0e2ed80dac0d9f001d 06-Sep-2011 Tadashi G. Takaoka <takaoka@google.com> More suggestions view can be modal

Bug: 5241105
Change-Id: Ib430ee129b9f3cad0bdb1ae083b1068c51a5f2ea
oreSuggestionsView.java
uggestionsView.java
4269a7cebdfe5c76372d0f0dd187432f0594ffe5 06-Sep-2011 Tadashi G. Takaoka <takaoka@google.com> Add gap between suggestions strip and more suggestions

Bug: 5260292
Change-Id: Iba792ebe0767f5117f259bcb73ac0bff778b166e
uggestionsView.java
8ac6d505b7ceab020a4085b3dfbea5b47362b030 06-Sep-2011 Tadashi G. Takaoka <takaoka@google.com> More processTouchEvent from LatinKeyboardView to PointerTracker

Bug: 5241105
Change-Id: I8a5d15f43e2c9f294e78127eda68b0f85da5ad15
uggestionsView.java
9676038b6e9fb66760588d7f9c9c642cc493dd71 05-Sep-2011 Tadashi G. Takaoka <takaoka@google.com> Introduce maxMoreSuggestionsRow and minMoreSuggetionsWidth attributes to SuggestionsView

Bug: 5257594
Change-Id: Id52c841b72e38eb9034a1a7f26bcf3d4d81ad216
oreSuggestions.java
uggestionsView.java
1d8ec1cb9fb2c395873566438fe63e46b9e535da 05-Sep-2011 Tadashi G. Takaoka <takaoka@google.com> Merge "Rename suggestionsPaneViewStyle to moreSuggestionsViewStyle"
0e7bd388d21b88d76bca32e4aa77d88bbea11cfd 05-Sep-2011 Tadashi G. Takaoka <takaoka@google.com> Merge "Get rid of LinearLayoutCompatUtils"
0e2fa6614435b0ba9ef83edd4067d085d6084e67 05-Sep-2011 Tadashi G. Takaoka <takaoka@google.com> Rename suggestionsPaneViewStyle to moreSuggestionsViewStyle

Change-Id: I30873ad870c728e28a044baf9946b4461ab03575
oreSuggestionsView.java
c412309b7a32308b1b0a175dafc13f90254353c5 05-Sep-2011 Tadashi G. Takaoka <takaoka@google.com> Get rid of LinearLayoutCompatUtils

Change-Id: If0f63eaeb4539c0e03ef20190d2f9211a176babc
uggestionsView.java
59b501a05078e5a9de7cdace19c51ca693076a17 02-Sep-2011 Jean Chalard <jchalard@google.com> Only set LOOKS_LIKE_TYPO if the max score meets a threshold

Bug: 5240463
Change-Id: I51e85edae57789d638aa1e12b82e6a75c49d33c7
pellcheck/AndroidSpellCheckerService.java
787bac06031f0f1554785cd4f09ef4e0ec121f5d 02-Sep-2011 Tadashi G. Takaoka <takaoka@google.com> Merge "Use separate View for key preview backing"
abb0c77af15a22b5d0953e477da8747cd5f2259d 02-Sep-2011 Tadashi G. Takaoka <takaoka@google.com> Use separate View for key preview backing

Bug: 5246982
Change-Id: Icec4281cb01771909fcece36647ee42ba179118c
atinIME.java
e197542a57cf6ca9bb20c4f2eff7b85e94862feb 02-Sep-2011 satok <satok@google.com> Merge "Add logs"
8e5d12af9f12549981158c80047acb1ea4985bc5 02-Sep-2011 satok <satok@google.com> Add logs

Change-Id: I640186c8be8013841b542e8cefa5f033eb7afc32
ubtypeSwitcher.java
9734ecbf46cf5f68f4f7d373659713dfc55627a9 02-Sep-2011 Tadashi G. Takaoka <takaoka@google.com> Squash MiniKeyboardKeyDetector and SuggestionsPaneKeyDetector into one

Bug: 5241105
Change-Id: I4c310373fb8b2426fb46205fa17a49a8346f8244
oreSuggestionsView.java
d3e50a2acf04638f09786c487326f2c09e738f32 02-Sep-2011 Tadashi G. Takaoka <takaoka@google.com> Squash SuggestionsStripParams into SuggestionsViewParams

Bug: 5246982
Change-Id: Idc2563cb0175aabc4282f9fd45eefaa129ed4961
uggestionsView.java
5bb7a64fe255ce12badf94e9236a7a8d26ef3488 02-Sep-2011 Jean Chalard <jchalard@google.com> Merge "Fix an NPE in settings"
ad56a9ac51a4dfb330b6a5f7ade78bd426b6716e 02-Sep-2011 Jean Chalard <jchalard@google.com> Fix an NPE in settings

Change-Id: I264c001a9cc28f864ad024fcf51fb42e9c203d3f
ettings.java
66a5884ad8df544f1c462148e763b29c7202f7b8 02-Sep-2011 Jean Chalard <jchalard@google.com> Merge "Add an option to prevent insertion of suggestion spans"
1531528bfe01d0ce88888d23952a4c7092a15f17 02-Sep-2011 Jean Chalard <jchalard@google.com> Add an option to prevent insertion of suggestion spans

This is to help debug of
Bug: 5250788

Change-Id: I961321aff3776c4912eaf7a1fa4de0c01d715f24
atinIME.java
ettings.java
1b087064c07975c5e2b9c17d4ca80c56e01c35c0 01-Sep-2011 Tadashi G. Takaoka <takaoka@google.com> Dim keyboard when more suggestions are shown

Bug: 5241009
Change-Id: Ia42bcfc34dddf93d35f9cea8a4f0efead6ce3a6a
uggestionsView.java
913e2aeef26f172d500a4ebfc644b5f47778841a 01-Sep-2011 Tadashi G. Takaoka <takaoka@google.com> Rename CandidateView to SuggestionsView

Change-Id: I6480cdf025f065130e1969899b259a243e7a11be
utoCorrection.java
andidateView.java
atinIME.java
oreSuggestions.java
uggestionsView.java
tils.java
b17300e2f03d2712bc3aae4a6bf548eb836a27ae 01-Sep-2011 Jean Chalard <jchalard@google.com> Merge "Fix a bug where autotext would occasionally not work"
537e3d3696aabe9fb1b4fcbf8f08c93c4183ae22 01-Sep-2011 Tadashi G. Takaoka <takaoka@google.com> Merge "Remove unused suggestions pane code"
3a566c48b0eb3625788e1cce3fb2f58d8f4b380d 01-Sep-2011 Tadashi G. Takaoka <takaoka@google.com> Remove unused suggestions pane code

This is a followup for Ie1d69131.

Bug: 5023981
Change-Id: I42ec596af40cb7dcdd84b96ba5bff9ef1fb5dc92
andidateView.java
d81479a340d76afaef14ce683322e1488167919c 31-Aug-2011 Tadashi G. Takaoka <takaoka@google.com> Implement KeyboardLocale InputMethodSubtype extra key

The locale is specified by KeyboardLocale extra key in method.xml,
LatinIME will use the specified locale for keyboard layout.

Bug: 5238658
Change-Id: I8e6cb66c73a7ac1bf611d9910b42fa9cff38eba0
atinIME.java
ubtypeSwitcher.java
358e1327d8d1c392ab711778d8e616400360e313 31-Aug-2011 Jean Chalard <jchalard@google.com> Fix a bug where autotext would occasionally not work

Autotext correction would check whether the first suggestion
so far was the same as what Autotext would return, and if it
was indeed the same, would not send its result as
autocorrect. However, the first suggestion is not guaranteed
to have a high enough score to trigger autocorrection, and
there would be cases where a word in autotext would not get
autocorrected because the word came out of bigram
suggestions. These occurrences would be extremely rare, as
they would require concomitant insert between autotext for
one char and bigram suggestion. It is, in fact, probably
limited to the capitalization of "I".

This did not happen in gingerbread because gingerbread would
not register 1-letter words as valid bigrams.

This fix works by just always sending the result of autotext
regardless of whether it is already the first suggestion or
not. This is okay because duplicates are removed afterwards
anyway - and this processing is absolutely necessary because
the autotext'd word may actually be somewhere else in the
suggestion, so it made really no sense checking for only the
first one.

Please note that there is also a race condition that can
result in "i" not being converted to "I": at the moment,
Latin IME relies on having the suggestions evaluated
at the time autocorrection is performed, but when typing
very, very fast, those messages may have been canceled.
This is not limited to the autocorrection of "i", but
affects all autocorrections. It requires a nearly
inhumane typing speed to trigger, but hitting "i" and
space in turn as fast as one can it's possible to
reproduce occasionally.

Bug: 5135113
Change-Id: I530ea6212487300001a2c0fc5b25a5c7716bdf63
uggest.java
fdec5c1a784ff5c3098b227c1586de6b0633f4af 31-Aug-2011 Tadashi G. Takaoka <takaoka@google.com> Merge "Implement popup suggestions pane"
29e7b7ed6ef88c3e10cc6469801fef87241c9cb5 24-Aug-2011 Tadashi G. Takaoka <takaoka@google.com> Implement popup suggestions pane

Bug: 5023981
Change-Id: Ie1d69131dbf884a3f6a2beb3ac3427e5437c1486
andidateView.java
oreSuggestions.java
oreSuggestionsView.java
a770d650b5b6efc37945f8fafb4fee26d2aec466 31-Aug-2011 Jean Chalard <jchalard@google.com> Fix a possible NPE

Change-Id: I5c57752772414b4f9475d0ad43d7fc52b97c3f33
ettings.java
18ccd552a8e2bf69dc38af3bfce9e5a2a7614e1f 31-Aug-2011 Jean Chalard <jchalard@google.com> Clean up bigram settings

Move bigram suggestion option to the advanced settings screen,
remove bigram prediction option for ICS release and remove the
now-empty bigram option category.

Bug: 5240082
Change-Id: Ib1fc608ad33d5598410f7b0cb4a1639bffef28c7
ettings.java
fcee70ea9283af0a9e40d87ef5902ba5b8ef6763 31-Aug-2011 Jean Chalard <jchalard@google.com> Merge "Check the magic number of a decoded file"
7a408431fe6b77bc7a317b86c7adfb1aeebd5def 30-Aug-2011 Jean Chalard <jchalard@google.com> Check the magic number of a decoded file

Checking the magic number of a file upon decoding is necessary,
because if the file is corrupt and we don't check it, we will
fall back to a simple copy of the corrupted file. Latin IME
would realize this and would not crash, but would not use the
corrupted dictionary. If this happened to be a main dictionary,
then the user would lose the ability to use the correct
built-in dictionary.

Not the same, but kinda similar to
Bug: 5223031

Change-Id: Ic2783dc9dd5f3dcf2865623d9452765fe3778db7
inaryDictionaryFileDumper.java
b8dc67466339dc14653ad634c86851025373326b 31-Aug-2011 Tadashi G. Takaoka <takaoka@google.com> Get rid of MeasureSpec.UNSPECIFIED

Bug: 5023981
Change-Id: I14ded3c3d554ac72b66f190110652f54d91df954
andidateView.java
392276d73dd6a1787afd3b859c213378e8e7bdb5 30-Aug-2011 Tadashi G. Takaoka <takaoka@google.com> Add Key constructor for suggestions pane

Bug: 5023981
Change-Id: I737bacb1a6bb40f70be65d6eff85614afe6c79ed
atinIME.java
f019d505d7da97c03c321eef02c4879c4e0448f6 29-Aug-2011 Jean Chalard <jchalard@google.com> Fix a bug with synchronicity of spell checking/user dict

This fixes a race condition that would end up with the spell
checker not finding some words in the user dictionary when it
just booted.

Bug: 5194627
Change-Id: I1ba911cc53e6ae3b111d54a6f91d1d5feef3f5de
xpandableDictionary.java
ynchronouslyLoadedUserDictionary.java
pellcheck/AndroidSpellCheckerService.java
940514989af9611ea8bac483e340799f8990319f 29-Aug-2011 Jean Chalard <jchalard@google.com> Merge "Move locale-related utility methods to LocaleUtils."
ef35cb631c45c8b106fe7ed9e0d1178c3e5fb963 26-Aug-2011 Jean Chalard <jchalard@google.com> Move locale-related utility methods to LocaleUtils.

Change-Id: I7e9e6e5bc4486d8618d0213b112308c3d305c15e
inaryDictionaryGetter.java
ictionaryFactory.java
atinIME.java
ocaleUtils.java
ettings.java
ubtypeSwitcher.java
tils.java
pellcheck/AndroidSpellCheckerService.java
85b4752270c957d7063b30bdc6826932c56d7721 26-Aug-2011 Tadashi G. Takaoka <takaoka@google.com> Merge "Move debug information back to suggestions strip"
013ba3e3e785980b74db83ac5ab1e11b438485da 26-Aug-2011 Tadashi G. Takaoka <takaoka@google.com> Move debug information back to suggestions strip

Change-Id: I8cfad5f780a481a251cc4f752bff3cda5ae3ffbe
andidateView.java
add3e053797d7d2355c61160ab746f7dfeb92aef 26-Aug-2011 satok <satok@google.com> Do not put the suggestion span for obsolete suggestions.

Bug: 5219037

Change-Id: I0300fbc7e1cc97f0f8ba4d21e0e699d9fe66ed76
andidateView.java
uggestedWords.java
c04bbc1ae9be81d25a356407c27a8e7fa22028bf 26-Aug-2011 Tadashi G. Takaoka <takaoka@google.com> Fix "touch to save" colors

Bug: 5218662
Change-Id: I094b2ceb7438148eb5bdf620b188f598e8442a07
andidateView.java
de4e8dedccc7b6db6df4c3f75d9f2458432c558a 25-Aug-2011 Jean Chalard <jchalard@google.com> Allow sharing dictionaries between similar locales.

Bug: 5058488
Change-Id: Ib12013f58afad957a8205b439f87480cc12ea06f
inaryDictionaryFileDumper.java
inaryDictionaryGetter.java
ocaleUtils.java
ordListInfo.java
a16621ada43c7b499857bc8967e454994098bff3 24-Aug-2011 Jean Chalard <jchalard@google.com> Add a debug variable

...that was missing

Change-Id: Ia3b17909f295e0a93dee633c8d67c0e03840023e
inaryDictionaryFileDumper.java
20973de72b8e3ba607d17e50bb4fbc3cc815a6eb 24-Aug-2011 Jean Chalard <jchalard@google.com> Avoid unnecessary output to the system log.

The message this removes gets printed under normal conditions.
Normally dictionary files are compressed then crypted, but not
compressed a second time; however LatinIME tries to open a
compressed-crypted-compressed file first, because it could not
do it afterwards and we want to support this case. So under
normal operations, the first method LatinIME tries is actually
expected to fail.
Also, if we decide to stop compressing or/and encrypting dicts
LatinIME supports it as a valid use case. It should not print
errors to the log.

If the file cannot be open at all, then it is an unexpected
case, and Latin IME still reports to the log.

Change-Id: Ic5228c51365a101af1d03e2c893484d3050b5a1c
inaryDictionaryFileDumper.java
1d59e0dbdf1c15c1e9d01f0ff678c9e421c972bc 24-Aug-2011 Tadashi G. Takaoka <takaoka@google.com> Merge "Fix suggestions strip press state to align vertically"
580e1d7ac0cb90a464a3b3aed88047f85a4ab41f 24-Aug-2011 Tadashi G. Takaoka <takaoka@google.com> Fix suggestions strip press state to align vertically

This change also tweaks more_suggestions_hint drawables to eliminate
unnecessarily padding at the bottom.

Bug: 5204563
Change-Id: If5ec731c9a490da0116a020e8fd405c7d025d707
andidateView.java
38d512c0b24f3e5ce595e0b4b9092f84af380517 24-Aug-2011 Jean Chalard <jchalard@google.com> Call the decrypt/unzip routines upon copying a dictionary.

Bug: 5095140
Change-Id: I7000f752bc9b7fd6a7af4839b2f225c085300128
inaryDictionaryFileDumper.java
ileTransforms.java
8b21eb2507c8db3e8f5ea310bccfe0cb2cd12768 24-Aug-2011 Jean Chalard <jchalard@google.com> Merge "Refactoring: cut out a method for caching a word list"
7b1f74bb9ddae952f4da6c8d9bbb0057984b0988 23-Aug-2011 Jean Chalard <jchalard@google.com> Refactoring: cut out a method for caching a word list

This is preparation to have the decrypting/unzipping code
moved over to LatinIME.

Bug: 5095140
Change-Id: Ic3fdcc3de673b46cef2eb9ebe6a52cbdd614e50a
inaryDictionaryFileDumper.java
inaryDictionaryGetter.java
fd47b5d09c12a83145a2ee5d11473ca4f6fe3fc9 24-Aug-2011 Tadashi G. Takaoka <takaoka@google.com> Merge "Move some static methods from SubtypeSwitcher to Utils"
af52c0ea04c6563feaa6ea7dbac5dd87c2a48cc6 23-Aug-2011 Tadashi G. Takaoka <takaoka@google.com> Implement "forceAscii" private IME option

This change also introduces "AsciiCapable" extra value for subtype
that indicates the subtype can input any ASCII code point from its
keyboard layout.

Only if the input field has "forceAscii" private IME option and the
current subtype doesn't have "AsciiCapable" extra value, the en_US
keyboard layout will be used for the input field.

Bug: 3384942
Change-Id: I25e2553e37ecb5002df1164e45f6273845fe463b
atinIME.java
ubtypeSwitcher.java
57f05f44123fd458203a6f776f2ff904889d2616 23-Aug-2011 Tadashi G. Takaoka <takaoka@google.com> Move some static methods from SubtypeSwitcher to Utils

Change-Id: I3ea8ffcdefcefaa82ae76a31bb65977009d8a040
ubtypeSwitcher.java
tils.java
1616e2e96e4abe32a00d7d27790b04dbead0e203 23-Aug-2011 Jean Chalard <jchalard@google.com> Merge "Fix an excessive fallback problem."
c84bc3460d2fb386a1db2a2c8b135b746fa706cd 23-Aug-2011 Tadashi G. Takaoka <takaoka@google.com> Rename LatinKeyboardBaseView to LatinKeyboardView

Bug: 5182291
Change-Id: I5089a14902b9f4ff1ab4f34e3f7a42aca5040d3e
atinIME.java
0ee3b694833df5488900f521adbd818a6a2e90a5 23-Aug-2011 Jean Chalard <jchalard@google.com> Fix an excessive fallback problem.

LatinIME has several fallbacks to ensure a dictionary is used.
However, it should now be possible to deactivate the main dictionary
through the dictionary pack settings. In this case, Latin IME should
not fallback to the built-in dictionary.

Change-Id: Ibd992ad89793169f04a968b40781fce819b87b6f
ictionaryFactory.java
2d306a225c4a9c0ea7b78a022c9dcc986ddffa46 23-Aug-2011 Tadashi G. Takaoka <takaoka@google.com> Merge "Extract sudden jumping touch event hack into separate class"
c403a46f6d787b79768895272d53d296100677dd 23-Aug-2011 Tadashi G. Takaoka <takaoka@google.com> Extract sudden jumping touch event hack into separate class

Bug: 5182291
Change-Id: I6a88ed4df3ec98e31ea4966d82da56f7fca342ac
atinIME.java
0940093c301fab94107976c4db5c0fef868a2ae2 23-Aug-2011 Tadashi G. Takaoka <takaoka@google.com> Merge "Remove screen orientation confirmation hack"
f94df382fb3f73c03cfef5f0a28856bf3f1c73da 23-Aug-2011 Tadashi G. Takaoka <takaoka@google.com> Remove screen orientation confirmation hack

Bug: 4311428
Change-Id: Ie7e094ded9c7c1fe811b7eb97bc33ffecb29a73c
atinIME.java
a6e912cf9849f5c979303042ce83820a8dc560d0 23-Aug-2011 Jean Chalard <jchalard@google.com> Fix a bug with the string pool.

This also adds some optional debug code to detect more easily possible
future occurrences of the same problem.

Bug: 5195017
Change-Id: I2558b468e46f7090de868f1ec2dc9e24895d670f
tringBuilderPool.java
uggest.java
9f315750452ff187d06a11148005f42419483f0c 22-Aug-2011 Tadashi G. Takaoka <takaoka@google.com> Merge "Fix suggestions strip text colors"
d47a955610987c8abdab4d275c044aefc8a7f1db 17-Aug-2011 Tadashi G. Takaoka <takaoka@google.com> Fix suggestions strip text colors

This change also shows the valid typed word in bold face.

Bug: 5161713
Change-Id: I15355a11888fc8ef90ecc8b64a52eb08c1a2b367
andidateView.java
70a92a33f87cba5ca84d603eb765d95bafab7789 22-Aug-2011 Jean Chalard <jchalard@google.com> Merge "Remove duplicates from the spell checker suggestions."
6b166a193398554694cb680f704c2ffc23d03a0e 22-Aug-2011 Jean Chalard <jchalard@google.com> Remove duplicates from the spell checker suggestions.

Bug: 5175740
Change-Id: I592401b3b8c3074d70e06dc3a9919cc3cb47ba49
pellcheck/AndroidSpellCheckerService.java
b39f612d9791877bf0136fa7af9ae054092b9eab 22-Aug-2011 Tadashi G. Takaoka <takaoka@google.com> Remove hacks related to determine window width

Bug: 4311428
Change-Id: Ic93f264101d13963503fcd447a69bbffd06e69f3
atinIME.java
5d4c5692f11958064ba7c0de5715f30c96175400 17-Aug-2011 Jean Chalard <jchalard@google.com> Fix case sensitivity for the spell checker.

The new behavior is as follows:
- If the word in the dictionary is not fully lower case, then the
exact case is required to match.
- If the word in the dictionary is fully lower case, then any of
the following patterns match:
- fully lower case
- only the first char capitalized
- all caps
Any other capitalization is rejected.

This is probably what people want. If you type a name in all lower
case, it should be marked as a typo, but if you type a word with a
capital for emphasis or just because it's the start of the sentence,
it should match a lower case word in the dictionary. If you have
a spurious capital letter in the middle of a word because of a typo,
it should be marked as such.

Accents are not affected, and should not be. An accented letter
is a different letter and a missing accent should be reported.
We should maybe consider again for some common transpositions
like the "ue" digraph for German, which is now considered a typo,
but will suggest the correct diacritics as the first suggestion.

Bug: 5145751
Change-Id: I651e24f13c90fb94700a1674ad380e95336e7dca
pellcheck/AndroidSpellCheckerService.java
cee174b8ccb47ccddc8a8a7e88a9c617f9b5e766 21-Aug-2011 Ken Wakasa <kwakasa@google.com> Settings key visibility should always follow the system default value,
by ignoring its preference value, when the "show settings key option" in
the settings is disabled.

Change-Id: I934be2d9eb0bf6bf731e03f5d9b752de4a7a1c7c
ettings.java
6da8b74582b1c70cae02558c605c5a224329cf7a 19-Aug-2011 Jean Chalard <jchalard@google.com> Move the dupes-removing method to the Utils class

This is preparation for bug: 5175740

Change-Id: I18b2042317f740cb1e021d3dfbf90ecfbb1a1d37
uggest.java
tils.java
150bad6fd4b401177c480acf5640b4db0f821886 18-Aug-2011 Jean Chalard <jchalard@google.com> Have the spell checker use the User dictionary.

Bug: 5175868
Change-Id: I165eee4c865caa5ee1daf3e0b1acde8788b996ef
ictionaryFactory.java
xpandableDictionary.java
pellcheck/AndroidSpellCheckerService.java
ee7daefd972979898d91974ea0d92fcc9f3ca169 18-Aug-2011 Jean Chalard <jchalard@google.com> Check the main dict id to be able to fallback.

Bug: 5095140
Change-Id: I02032923ca2a65bd8fbabc0abbe6a476f7542187
inaryDictionaryGetter.java
89fdb827532f43a7121b200dc9a7c72815fb45fd 18-Aug-2011 Jean Chalard <jchalard@google.com> Merge "Move the settings test to a more appropriate place."
83207fb482b13bd2300008aa153080f0706fbd8d 18-Aug-2011 Jean Chalard <jchalard@google.com> Move the settings test to a more appropriate place.

This change refactors the dictionary selection code so that the
cached dictionary files list and the settings tests are more
cleanly separated.
This will also help with future refactorings that will test for
the presence of the main dictionary and insert the fall back if
it's not supplied by the dictionary pack.

Bug: 5095140
Change-Id: I8d7caad7c054031df71fe78b043801a774d50f65
inaryDictionaryGetter.java
4e01afc520da212b73804164d4d5a1c62239b02a 17-Aug-2011 Jean Chalard <jchalard@google.com> Make the string builder pool in Suggest a singleton.

This is internal refactoring, done as preliminary work to fix
Bug: 5175740

Change-Id: I21bd4c001c27e7b925ddb87a152105b4dcab320a
tringBuilderPool.java
uggest.java
5ba5ff9b803f2275bbf91f2eebd7216a190d381a 18-Aug-2011 Jean Chalard <jchalard@google.com> Merge "Exception refactoring"
03c3b64ee5f589137073ac2749d2a585672170ae 18-Aug-2011 Jean Chalard <jchalard@google.com> Merge "Refactor string removal to make it static"
3016863f86279d0be04c0285fefce6861415f242 17-Aug-2011 Jean Chalard <jchalard@google.com> Refactor string removal to make it static

The next step is to move this over to the Utils class.
The ultimate goal is to make use of the duplicate removal code
also in the spell checker as per
Bug: 5175740

Change-Id: Ica36691b843b0713b832c56ffc65e5b2ec427c4a
uggest.java
80e0bf04292867ddc769aca75ebaee817b95a941 16-Aug-2011 Jean Chalard <jchalard@google.com> Exception refactoring

Now that the dictionary pack can return several files, it's better
to handle IO exceptions for each file rather than globally. This
also will help with next implementation steps.

Bug: 5095140
Change-Id: I5ed135ad2ad4f55f61f9b3f92c48a35d5c24bdb2
inaryDictionaryFileDumper.java
inaryDictionaryGetter.java
091bbf85d8dc6a92211443f77c3d9e2fff71190b 18-Aug-2011 Jean Chalard <jchalard@google.com> Merge "Factor dict pack settings reading into a static inner class"
c11c4fd61b3574f3647299ec0f19ee01ecaabf52 16-Aug-2011 Jean Chalard <jchalard@google.com> Factor dict pack settings reading into a static inner class

This is essentially refactoring to help next steps

Bug: 5095140
Change-Id: Ic97044d2ed354027bac4f84e6ce69d20ef6da092
inaryDictionaryGetter.java
961453c3b3a8eb3aefb2cebdbcc315c98c2abbd4 17-Aug-2011 Tadashi G. Takaoka <takaoka@google.com> Merge "Get rid of auto correction flash animation in the suggestion strip"
bea6b72106853747302fcca11957647982384220 17-Aug-2011 Tadashi G. Takaoka <takaoka@google.com> Get rid of auto correction flash animation in the suggestion strip

This change also reverts I1350ad3d.

Bug: 5156762
Change-Id: I047e75699e8eea02204ad95e12dcc0aefe49ac34
andidateView.java
5cb10f78ed5c0e17798ea5300d8291b613c5e2a9 17-Aug-2011 Tadashi G. Takaoka <takaoka@google.com> Fix possible NPE

Bug: 5171442
Change-Id: I280f6a0ef5fb06f1e03e17c0065d078604e4747a
andidateView.java
c160373b6a8e8a536ad8aa2798a33a41d3050f3b 16-Aug-2011 Jean Chalard <jchalard@google.com> Close dictionary pools when they are not used any more.

Bug: 5156851
Change-Id: Icaba54734eb790b40dc2012aac25df5b2af71dbb
pellcheck/AndroidSpellCheckerService.java
pellcheck/DictionaryPool.java
a562767a14c7bbac95b25e69e360fc28d6ce9e33 16-Aug-2011 Jean Chalard <jchalard@google.com> Have a pool of dictionaries to check spelling.

The dictionaries and proximities are not thread-safe. In order to
be able to check spelling in parallel, make a dictionary pool to
call upon when a spelling check is necessary.

Bug: 5156851
Change-Id: Ie3796164187dd7b7abf5ccd5d014073d43d74408
pellcheck/AndroidSpellCheckerService.java
pellcheck/DictAndProximity.java
pellcheck/DictionaryPool.java
70b9c5d9913b676f21fe29f795bdb25324509205 16-Aug-2011 Jean Chalard <jchalard@google.com> Make the spell checker re-entrant.

Until the dictionary itself is re-entrant, unfortunately we have
to synchronize accesses to it.

Bug: 5156851
Change-Id: I1629a160d707e6fa1ad80cba828798abb24b68b1
pellcheck/AndroidSpellCheckerService.java
bb5504c47d847c1c164a2d30a24cd444c1325590 12-Aug-2011 Ken Wakasa <kwakasa@google.com> Merge "Get rid of auto correction flash animation in the suggestion strip"
59f5cc8572374836950e4f086e5268773ea92166 12-Aug-2011 Ken Wakasa <kwakasa@google.com> Get rid of auto correction flash animation in the suggestion strip

bug: 5156762
Change-Id: I1350ad3d7125f8ecdfc699233ed05e253cc3f010
andidateView.java
b6b7d81f5d19525d8f48391e969a0042f15e39b3 12-Aug-2011 Jean Chalard <jchalard@google.com> Merge "Add a settings activity for the spell checker."
31fd54c53f3cc406c8df0fbabbbf7ae0f40c4961 12-Aug-2011 Jean Chalard <jchalard@google.com> Add a settings activity for the spell checker.

Bug: 5156940
Change-Id: I762de1296f861abce2d0413404bca54571e0ea0a
pellcheck/SpellCheckerSettingsActivity.java
pellcheck/SpellCheckerSettingsFragment.java
86e517fe4a5981f6ab936a0f9f40a0e0aa196477 11-Aug-2011 Jean Chalard <jchalard@google.com> Read shared prefs from the dictionary pack.

Bug: 5095140
Change-Id: I227fbd95d8a0330b6dede6de99fde3a5a715fe2d
inaryDictionaryGetter.java
7fca6a535779aff80a7d5d61c7aa4dcb7d940db9 11-Aug-2011 Ken Wakasa <kwakasa@google.com> Merge "Key click sound volume fix"
bf7dd47329c23c846912b268d15e8083ffdaabde 11-Aug-2011 Ken Wakasa <kwakasa@google.com> Key click sound volume fix

bug: 5145886
Change-Id: Ic599373ee17423ef9c61b3dd5177c3763aa31015
atinIME.java
08868624ede5eb4950972833f015d465408d3408 11-Aug-2011 Jean Chalard <jchalard@google.com> Use the dictionaries cached LatinIME-side

Dictionaries are now copied over from the dictionary pack to Latin IME.
This change enables Latin IME to use all dictionaries that have been
cached until now.

Bug: 5095140
Change-Id: Id9a2bacf9dc1c693189b0ac8aa3f75756dc1e3e6
inaryDictionaryGetter.java
28966734619251f78812f6a53f5efacbf5f77c49 11-Aug-2011 Jean Chalard <jchalard@google.com> Rename a function and update a comment

Bug: 5095140
Change-Id: Idf66a04c6a1a05015f94187a8dbce3d443bbf38b
inaryDictionaryFileDumper.java
inaryDictionaryGetter.java
f102f6a3ac5e87df3d52ee505a343f4e3de80fd0 11-Aug-2011 Jean Chalard <jchalard@google.com> Merge "Give the orders to delete the source files to the dict pack"
5774908bb30db63f912ae588caebf257251884c8 10-Aug-2011 Jean Chalard <jchalard@google.com> Give the orders to delete the source files to the dict pack

Bug: 5095140
Change-Id: I64552861768ca30073ffe0d631b2e0c44dad4aa9
inaryDictionaryFileDumper.java
c359d75ca75e73210c5b7356909738e384fda057 10-Aug-2011 Luca Zanolin <zano@google.com> Merge "Execute the switching to a different IME in a POOL_EXECUTOR."
613073d01b66f29b56e6be3b960d53e23c40f7b2 10-Aug-2011 Luca Zanolin <zano@google.com> Execute the switching to a different IME in a POOL_EXECUTOR.

Using only a single thread may slow down the application, if there is already another thread running.

Bug: 5142142
Change-Id: I314480a58af20ea09458ff82e586304fc3c7c070
ubtypeSwitcher.java
d4c08d9be3540466c8253ee02fecf4b6035d8ee0 10-Aug-2011 Jean Chalard <jchalard@google.com> Make sure the directory where to put files actually exists

Bug: 5095140
Change-Id: I764471e54ce0bf6aefe5d604cee97639d5ad0af9
inaryDictionaryFileDumper.java
11b7febc0bea46a6afb30d7fa040b841eadd7410 09-Aug-2011 Ken Wakasa <kwakasa@google.com> Ellipsis for "Space" key for triggering the IME switcher

bug:5136497
Change-Id: Iab7c68135500e9fed212521484090b52943550ca
atinIME.java
tils.java
f098fbbef324df034cc04de04d9b5fe6657238c7 08-Aug-2011 Jean Chalard <jchalard@google.com> Add proximity info for the spell checker.

Bug: 5119987
Change-Id: I35700fd8b0ffa6bced428cc6d46b3f64eb251281
pellcheck/AndroidSpellCheckerService.java
pellcheck/SpellCheckerProximityInfo.java
3a22708e653193ee42d197c8fddbde87ea85d2d5 08-Aug-2011 Jean Chalard <jchalard@google.com> Have Latin IME copy files from the dictionary pack.

Also some minor cleanup: remove unused methods, minor refactoring into methods.

Bug: 5095140
Change-Id: I035537b37a31adfc8db3b933fb0cefcf703d6c7c
inaryDictionaryFileDumper.java
14051e2b5343db4b0531b7b4b806da0c09d6e251 09-Aug-2011 Jean Chalard <jchalard@google.com> Stop reloading contacts when not appropriate.

A recent change had the contacts reloaded every time a new field
is touched. This change not only fixes the problem, but also removes
reloading contacts when changing language, which should make language
switch within LatinIME lighter.

Bug: 5125034
Change-Id: Ia61c4f75a8617113cdce88a2e2c6fdf073146a2d
ontactsDictionary.java
atinIME.java
uggest.java
44beeab4a431a67b5e92bb54904b850c5a192193 08-Aug-2011 Ken Wakasa <kwakasa@google.com> Merge "Fix issues with long-press access to more suggestions"
bbf25cf25169f640a361370cde5521ffc7789a1b 08-Aug-2011 Ken Wakasa <kwakasa@google.com> Fix issues with long-press access to more suggestions

Change-Id: If5a45dcae7f7e7881d305104e35a04c341719aec
andidateView.java
ad7ddca397ec30c5c70150db76bd6f706abab7b3 08-Aug-2011 Ken Wakasa <kwakasa@google.com> Merge "Correction mode should not rely on the existence of the main dic"
c769ef4dd17ff9561e99528624f74b9072a09fbb 08-Aug-2011 Ken Wakasa <kwakasa@google.com> Correction mode should not rely on the existence of the main dic

bug: 5114094
Change-Id: I2088918ec2c9ad6f8db13b55e58d3e73e180aef8
atinIME.java
uggest.java
ae5c736e37973e26b201d45ff6c139862a6e05cf 06-Aug-2011 Tadashi G. Takaoka <takaoka@google.com> Remove suggestion pane controller from strip

This change also removes speacebar LED to represent auto correction.

Bug: 5023981
Change-Id: Idedaabd147ed608df35cb51769388578a05174a1
andidateView.java
20c4aec82719b5e9b5ddfa990970f19d399aaa2c 06-Aug-2011 Ken Wakasa <kwakasa@google.com> Partially revert I531a3257 as it mistakenly broke some logic -- textToTheLeft was required.

Change-Id: I24f55cec05fea68836d6b3413b69f1e1b9c68ba2
atinIME.java
cadb2128f54b49be31bb4dc06374afe81ed028b7 06-Aug-2011 Ken Wakasa <kwakasa@google.com> Fix issues with long-pressing the spacebar

bug: 5114433
Change-Id: I18f2147724a08965147bafe93e11fc86c7c59d33
atinIME.java
tils.java
60a004f78e73b5208c2a0a79454dabfbc0e1aa33 05-Aug-2011 Tadashi G. Takaoka <takaoka@google.com> Fixed count suggestions strip

Bug: 5023981
Change-Id: I434d23bdfb653989866d3822c978cd929a2b553c
andidateView.java
5bcf8ee66ceb38675a6b70fefcb574978e0fae92 05-Aug-2011 satok <satok@google.com> Update the spell checker according to API cleanup

Change-Id: Ia95a63963c16265bc9bc7e1fcecf120e17bf8636
pellcheck/AndroidSpellCheckerService.java
fd047f61e494ca8325ad85060ac238c6e726cae7 05-Aug-2011 Tadashi G. Takaoka <takaoka@google.com> Merge "Move suggestions layout code into parameter class"
16713e5630b93fb5625df26745eb73271f189457 04-Aug-2011 Tadashi G. Takaoka <takaoka@google.com> Move suggestions layout code into parameter class

Bug: 5023981
Change-Id: I30f45191524c38bfe550845b003e8972abd2ee49
andidateView.java
3234123fba901243990972158d023a5d1c273316 04-Aug-2011 Jean Chalard <jchalard@google.com> Implement the spell checker.

Bug: 4176026
Change-Id: I297c47202e96ce0db74d703f30709777f26b93ac
pellcheck/AndroidSpellCheckerService.java
pellcheck/SpellChecker.java
ac21e0a3492c9f806ec39eaa77e95af6e7bb5908 04-Aug-2011 Jean Chalard <jchalard@google.com> Merge "Create a way to pass the proximity info to the dictionary"
043f7841985916717f4fa821fe3e423daf3ff2f5 03-Aug-2011 Jean Chalard <jchalard@google.com> Create a way to pass the proximity info to the dictionary

This is a preparative change for inserting the spell checker.

Change-Id: Ie441879cac4f67078ec27a95f1fcbbf3ef373df7
inaryDictionary.java
ictionary.java
ictionaryCollection.java
xpandableDictionary.java
atinIME.java
uggest.java
serDictionary.java
hitelistDictionary.java
pellcheck/SpellChecker.java
80ba224fffdb64f7ef97bca1723f46e8d4fae2dd 04-Aug-2011 Tadashi G. Takaoka <takaoka@google.com> Merge "Cleanup CandidateView class"
d95a6365be213c1a1d2ab948fc5b80ee1ce0e3ce 04-Aug-2011 Tadashi G. Takaoka <takaoka@google.com> Cleanup CandidateView class

Bug: 5023981
Change-Id: Id79e31c60dfb41be546f5c5a3680e8651457151d
andidateView.java
uggestedWords.java
3aacd1d7d864d4ebebea0ea2fba484f87861a14c 04-Aug-2011 Ken Wakasa <kwakasa@google.com> Merge "Additional hack for bug:4311428, a follow up for Ieade33d7."
de30f9f2d61c8dd06a150dbd7c71b560e8589a04 04-Aug-2011 Ken Wakasa <kwakasa@google.com> Additional hack for bug:4311428, a follow up for Ieade33d7.

Change-Id: If1799a6fa3b2f45c98c9f3aeb88845f1fb08f09b
atinIME.java
8289dede0aa387d6314d7c585407c5505badb582 04-Aug-2011 Jean Chalard <jchalard@google.com> Merge "Remove newly unused code"
09e91ee072cebec82a6a9ed5347a21f0d0134138 04-Aug-2011 Jean Chalard <jchalard@google.com> Remove newly unused code

Bug: 5095140
Change-Id: Ie4322815f029f063dda2925697d6d8f63bfaf6d6
rivateBinaryDictionaryGetter.java
3889462439357fd76c0b82dfd52e1ca6e0bafd2d 03-Aug-2011 Ken Wakasa <kwakasa@google.com> Handle non word separators correctly even for the initial letter of a word

bug: 5101114
Change-Id: I0d804c9a500ff000dc06cadad46a2c6c6b8088b2
atinIME.java
ettings.java
bb12dc455b46ef8872db8bbcff370151588f5b44 04-Aug-2011 Tadashi G. Takaoka <takaoka@google.com> Merge "Fix saving keyboard state while rotating"
38b5605feed7260a6dc43ce7bd88d0f95cf43261 03-Aug-2011 Tadashi G. Takaoka <takaoka@google.com> Fix saving keyboard state while rotating

This change also uses longer timeout for restoring keyboard state.

Bug: 4311428
Change-Id: Ieade33d7c69f1dee727b2b8c26f0112eca44b336
atinIME.java
e48629001388255cbb21c212a3f8de99176e7f95 03-Aug-2011 satok <satok@google.com> Merge "Temporary don't use "looks type" for comming rename cl."
55d1c5efabb7c3d1fd8d36507f73683213e3d443 03-Aug-2011 satok <satok@google.com> Temporary don't use "looks type" for comming rename cl.

Change-Id: If016a61f9e303b615c59c0035724256535aec817
pellcheck/AndroidSpellCheckerService.java
eedfef030849f1211df304b8c8f72466d0038aca 03-Aug-2011 Tadashi G. Takaoka <takaoka@google.com> Merge "Retain keyboard layout while orientation change"
055054eef3ccd32c6dfd69a3f76bfb7383ea93bb 29-Jul-2011 Tadashi G. Takaoka <takaoka@google.com> Retain keyboard layout while orientation change

This change also changes the timimng that the window width is
registered.

Bug: 4311428
Change-Id: Ied6b1b43bfa16a85f0e05cd308ce919d5d65677e
atinIME.java
21fa416c4342463533ba653cd0ee0258d504b5e1 03-Aug-2011 Ken Wakasa <kwakasa@google.com> Revive the missing Settings key on tablets

This is a follow up change to Ieb42fdfa.

bug: 5094401
Change-Id: If78c966ed02fbc9b8c6da726e00424a927349142
ettings.java
fae8d60ee926e9f340392789119cf81655ad46e9 02-Aug-2011 Jean Chalard <jchalard@google.com> Change the dictionary file passing schema to a list of ids

The dictionary filename used to be passed directly to Latin IME.
This change implements, on the part of Latin IME, the passing of
them as an id that should then be passed through
openAssetFileDescriptor.

Bug: 5095140
Change-Id: I7d1e9d57c19f0645045368f68681680f238189fc
inaryDictionaryFileDumper.java
inaryDictionaryGetter.java
8da9a13760896cd78235b60d0ea680ea13620532 29-Jul-2011 Tadashi G. Takaoka <takaoka@google.com> Make Keyboard object immutable except shift state

This is the first step to implement suggestions pane as mini keyboard.

Bug: 5023981
Change-Id: I90ffbde0fda19b4be68add449310997b56bf6904
atinIME.java
cb1cc0d0deb77eb876d393096e63ecf0dbb34c87 01-Aug-2011 Jean Chalard <jchalard@google.com> Merge "Try to compensate for a race condition."
f2f971531904026663a98629eec6eccf83e32faf 01-Aug-2011 Jean Chalard <jchalard@google.com> Try to compensate for a race condition.

This does not really fix the underlying bug, but it does fix
the apparent symptoms.
When the user presses space and a letter quick, the
onUpdateSelection handler may be called after the letter has been
actually committed. The keyboard then happily proceeds to clearing
the composition because it thinks space was pressed (or the user
moved the cursor, since it can't guess which happened).
This change removes this behavior when we are expecting an update
event from a keypress. This means the bug still exists if the user
presses space twice and a letter, and all events come after the
letter, but it is very very hard to reproduce this. There may be
other collateral damage when the user moves the cursor in the form
of race conditions, but likewise, they should be really hard to
reproduce.

Bug: 5100521
Change-Id: Ib05328c9b451bf6fe288ae00296fd283a9a4e863
atinIME.java
9351550dc6af7859e5280e16144c9386a37b976d 31-Jul-2011 Ken Wakasa <kwakasa@google.com> Clean up revertLastWord()

The "deleteChar" argument of this method is acutally always true in the current code path.
Also, in this method, textToTheLeft virtually never has a punctuation letter as its initial
character. This change is one of preparatory changes for bug:4983945.

Change-Id: I531a32570a35634c21c1d74b2b461e40a1b7f660
atinIME.java
tils.java
2ba975afb9529a6574148596db190b939fbc3b3f 30-Jul-2011 Ken Wakasa <kwakasa@google.com> Turn off the Settings key by default

bug:5094401
Change-Id: Ieb42fdfa79be2afcfa6634e7404c17737ef6927d
ettings.java
tils.java
4e7d0663ba2edeb2ea38c0c93b81827350e845c6 29-Jul-2011 satok <satok@google.com> Merge "Modified the test spell checker"
259ce17f5d23810aac4c56a5fcd7c1d20fa8143e 29-Jul-2011 Tadashi G. Takaoka <takaoka@google.com> Merge "Use isFullscreenMode to determine candidate container height"
ecf43d4f9ddd164c4dec2c1658b05b10f3514591 29-Jul-2011 Tadashi G. Takaoka <takaoka@google.com> Merge "Remove dead area around separators in the suggestion strip"
3782f2bf1ed8988e5abe6d1117f3c0a6fde9abee 29-Jul-2011 Tadashi G. Takaoka <takaoka@google.com> Merge "Remove icon and negative button from dialogs"
4b1780fa9571409d65d9797d47949ffafaf0f083 29-Jul-2011 Tadashi G. Takaoka <takaoka@google.com> Use isFullscreenMode to determine candidate container height

Bug: 5081182
Change-Id: I3783d3994e96f8bf466cbc47c9e0aecc2a6bed50
atinIME.java
a1aab83a24e74cb0fad4b1c1e59b18d23ecbdad3 28-Jul-2011 Tadashi G. Takaoka <takaoka@google.com> Remove dead area around separators in the suggestion strip

If user touches the separator, the right hand side suggestion will be
selected.

Bug: 4431485
Change-Id: Ieaa79fe2ac7b15e312829dca847ddb1b25056c09
andidateView.java
e4b445f1ceb95af95d9572b9568a50d573e876da 28-Jul-2011 Tadashi G. Takaoka <takaoka@google.com> Remove icon and negative button from dialogs

Bug: 5092028
Change-Id: I25b86c6e74e380e6cee4998bfe494bdafb611f36
atinIME.java
c3d175c01ff1956ddb1c2d608d69af1793b4ad8a 28-Jul-2011 Tadashi G. Takaoka <takaoka@google.com> Fix wrong keyboard width when orientation has changed while IME is not shown

Bug: 5084021
Change-Id: Ie42da40b8249eaf9cf29707058906949278eff6a
atinIME.java
a90992e56244a914195daba3a2dd8a0e66e63384 28-Jul-2011 satok <satok@google.com> Modified the test spell checker

Change-Id: Ib64fac8672a4107638cd05a0232d46b49fc4aa8c
pellcheck/AndroidSpellCheckerService.java
60ccbe16eea5ce9a874835850f257b3c88295022 27-Jul-2011 Tadashi G. Takaoka <takaoka@google.com> Clean up keyboard loading and switching

Bug: 4311428
Change-Id: Ia72de23634f824d82b7b5f2267d439ce922a3b57
ettings.java
a48f8b37649300ee37ab86a33bc2fc57264f1e55 27-Jul-2011 Jean Chalard <jchalard@google.com> Merge "Load the binary dictionary asynchronously."
3af9f05f2916e376f265974c820c369a6c63a780 21-Jul-2011 Jean Chalard <jchalard@google.com> Load the binary dictionary asynchronously.

This should help with LatinIME opening performance.
It should not be merged before Ia9e4741f (if it is, there is a
race condition where the wrong dictionary is opened).

Bug: 5023141
Change-Id: I39c52de70a449929a622dddfdd92b38425ad9416
uggest.java
e576a0d53705086eebc765131c02d318ab7a86cb 26-Jul-2011 Jean Chalard <jchalard@google.com> Fix a NPE when sent buggy data by an application

Bug: 5072247
Change-Id: I7369877072f6bb94dff5b1bcf52c9f8dde4854b7
uggestedWords.java
d3da6e631111aaaa66d5988beafb7e95e7656c2d 26-Jul-2011 Jean Chalard <jchalard@google.com> Close a multiprocess file handle.

Bug: 5034192
Change-Id: I9c3d757cfae313e9b7510e167de797a74c74a351
inaryDictionaryFileDumper.java
f50aa193377492e9c4afb3cc6e7f3448ab5a97a4 25-Jul-2011 Jean Chalard <jchalard@google.com> Purge quick fixes option.

This change removes everything related to the quick fixes
Latin IME option item.
Note that Autotext is still used if the current subtype language
is the same as the system language.

Bug: 4985058
Change-Id: I51728a2190543ffb9e004470674ef6257b14f6c2
atinIME.java
ettings.java
83ffff2a49beeb41874b7cb40819a75001f708e2 26-Jul-2011 Ken Wakasa <kwakasa@google.com> Take care of bidi-mirrored characters in suggestion strip as well

Follow up to I1b884848

bug: 5047217
Change-Id: I18b9962c4943363bae88009354fcc75ab60ad2ba
atinIME.java
5800eb48d0226386f7dca27dbbac3d00bcb4f7dc 25-Jul-2011 Tadashi G. Takaoka <takaoka@google.com> Merge "Fix voice key mode default back to "on main keyboard""
f92bd4de2016cbcd09f9f2c8a8e95c3fd6ccbd42 25-Jul-2011 Tadashi G. Takaoka <takaoka@google.com> Fix voice key mode default back to "on main keyboard"

Bug: 5074042
Change-Id: I0c4a09b286c7680306741d47a48d5d9783e4a890
ettings.java
ubtypeSwitcher.java
2c18ffb97fe06ad6f85695de9c0ba5793d08d945 25-Jul-2011 satok <satok@google.com> Merge "[step3] Add spell checker service."
022c1cc20379767966f4915e2dea65fc0b67c0d8 25-Jul-2011 satok <satok@google.com> [step3] Add spell checker service.

Change-Id: Ib13b3a524e0f0b90de40a3e255040b3158d49258
pellcheck/AndroidSpellCheckerService.java
cce61aa045f6344238d6ffd430183e70f80a7be1 23-Jul-2011 Tadashi G. Takaoka <takaoka@google.com> Merge "Refactor Keyboard and KeyboardView resizing and drawing code"
38f55b36c3992a580cf7e20668b1eb72a4eb2431 21-Jul-2011 Tadashi G. Takaoka <takaoka@google.com> Refactor Keyboard and KeyboardView resizing and drawing code

Bug: 4311428
Change-Id: Ice4050f92c8f3cec1bec2074fe6a913d04f50524
atinIME.java
f3e76883612173f94a8f50b415b8ec89c79766ba 22-Jul-2011 Tadashi G. Takaoka <takaoka@google.com> Merge "Disable VoiceInputLogger inside LatinIME"
255486a5d067469e074f3649b3d2747e7a08aaa2 21-Jul-2011 Tadashi G. Takaoka <takaoka@google.com> Disable VoiceInputLogger inside LatinIME

Bug: 4985273
Change-Id: I6c70e50a58be0973f78c6a1abc1fb4eac5449c0b
atinIME.java
ettings.java
60c8eba634ed77ecfc5deadee806c02e5ebf3500 22-Jul-2011 Tadashi G. Takaoka <takaoka@google.com> Merge "Check user dictionary is enabled before showing touch-to-save"
ada26bb383f5b9de4717a980a3aa8f53d267df93 22-Jul-2011 Tadashi G. Takaoka <takaoka@google.com> Check user dictionary is enabled before showing touch-to-save

Bug: 5024127
Change-Id: If4d691a4a59c43579d1f977e9a0545495f30bafb
atinIME.java
serDictionary.java
f6f0e63d79eabcd4f0cce9d697066028aed2f00a 22-Jul-2011 Jean Chalard <jchalard@google.com> Do not register null pointers as dictionaries

Bug: 5062425
Change-Id: I025991424de40c2b31b90238f99ef160e7efd92e
ictionaryCollection.java
a3dd3887c9b4cc92e684ae74714bc2f8b8edbe9b 21-Jul-2011 Jean Chalard <jchalard@google.com> Merge "Set the locale for opening an asset"
e150ef98569d61078e0f8c67ded8364a9c3d4a20 21-Jul-2011 Jean Chalard <jchalard@google.com> Set the locale for opening an asset

This is necessary because we don't know any more whether the
locale of the process is the expected one when the dictionary
is loaded asynchronously.

Bug: 5023141
Change-Id: Ia9e4741f3b4a04a9f085f5b65ec122471b0c2dff
inaryDictionaryFileDumper.java
inaryDictionaryGetter.java
ictionaryFactory.java
3be0039164f5e2060b83d0699e293ffc76384732 21-Jul-2011 Tadashi G. Takaoka <takaoka@google.com> Fix potential NPE

Change-Id: I3679d24b6c89e081d24d59c91b136c139dcb3d5c
atinIME.java
055265684bdc049db54c3ec2a7fa5404ff36a608 21-Jul-2011 Tadashi G. Takaoka <takaoka@google.com> Revert "Guard unused voice functions"

This reverts commit 795a712ecf1847251c2da02351e0812a2b5d4bb9.
Bug: 4985273
atinIME.java
ettings.java
60cb1cc7b35b988f79199c76af874bf35060ed70 21-Jul-2011 satok <satok@google.com> Merge "Guard unused voice functions"
795a712ecf1847251c2da02351e0812a2b5d4bb9 21-Jul-2011 satok <satok@google.com> Guard unused voice functions

Bug: 4985273
Change-Id: I9491b4af24e636cba6362cdde44568d14f7b2b85
atinIME.java
ettings.java
728ab86f8c8a94beee1fe1581eb1c51757b84d56 21-Jul-2011 Jean Chalard <jchalard@google.com> Merge "Fallback to the included dict if the passed one is invalid"
7e19a64c86147967b39442ba78b175d4c8a0c860 20-Jul-2011 Jean Chalard <jchalard@google.com> Fallback to the included dict if the passed one is invalid

If all dictionaries returned by the dictionary pack are invalid,
then fallback to the dictionary included in the resources for this
locale.

Bug: 5052486
Change-Id: Id875194ca56a74b2ed6f5b0b4fdd55475f6842c8
ictionaryFactory.java
ef5dfc480c7a3e3e34a20b7aacc731942e7a0578 18-Jul-2011 Tadashi G. Takaoka <takaoka@google.com> Remove sliding spacebar language switcher

Bug: 4971680
Change-Id: Ia3485ddcf8051bf7b7ba7f7a37fa75c3bc8a4798
ebugSettings.java
atinIME.java
ubtypeSwitcher.java
1dc80048d75d5501194d3171010f0ad8686261c0 20-Jul-2011 Tadashi G. Takaoka <takaoka@google.com> Merge "Support select input method dialog on pre-HC platform"
bf9d8348d89be257ccc3db75333bfd4cdf0a9b7e 18-Jul-2011 Tadashi G. Takaoka <takaoka@google.com> Support select input method dialog on pre-HC platform

Bug: 4971680
Change-Id: I641b336da54813e13409bd7874aa22e51f790729
atinIME.java
ettings.java
ubtypeSwitcher.java
5ab5807d9163380b56350d5043883c1ea944128c 20-Jul-2011 Tadashi G. Takaoka <takaoka@google.com> Remove long-press-to-save feature from CandidateView

Bug: 5027059
Change-Id: I884a84e50e810c0c4a8255217b39ea24937c756b
andidateView.java
40f7efc172928bdd6048e91421a766abe5b22996 19-Jul-2011 Jean Chalard <jchalard@google.com> Fix an NPE related to absent InputConnection

Bug: 5035577
Change-Id: I1a11fc475d4a0f692636000d0b0f40bc35427867
ditingUtils.java
atinIME.java
44861474fbea784f12fe86bc56d30d5d9be4ad81 19-Jul-2011 Jean Chalard <jchalard@google.com> Add a number of NULL pointer guards.

None of these are expected to actually be null, but those are
included for peace of mind and foolproofing against future
code changes.

Bug: 4580040
Change-Id: Ib112b3e5db5f177aaf61767164b7e78d711f90a0
inaryDictionaryGetter.java
ictionaryCollection.java
ictionaryFactory.java
494ab16396077f12a7c07414318f256e7ae11633 19-Jul-2011 Jean Chalard <jchalard@google.com> Merge "Deactivate the user unigram dictionary."
52f20d6a43a4a15ea0c0d26589d32988ad47d17b 15-Jul-2011 Jean Chalard <jchalard@google.com> Deactivate the user unigram dictionary.

Bug: 3459274
Change-Id: I41b7617623b5b2e48c2e460dc7f2d5ff410c8a4c
serUnigramDictionary.java
2b4eabed2bfe982b91a994c145401d98894e6ef5 14-Jul-2011 Jean Chalard <jchalard@google.com> Allow double-space-period after relevant punctuation signs.

This allows the user to enter a period via double-space after quotes,
currency symbols, brackets and other non-sentence-finishing
punctuation marks.

Bug: 3430389
Change-Id: Ibe40b3902861207eb918e7be6113e8be12216f53
atinIME.java
2811841ab49b5c380a2e5b7f3e3d009db67f8e0a 16-Jul-2011 Tadashi G. Takaoka <takaoka@google.com> Honor EditorType's IME_FLAG_NO_EXTRACT_UI and IME_FLAG_NO_FULLSCREEN flags

Bug: 5030408
Change-Id: I1c5649725780cd063db7a437b8559b7f2573469c
atinIME.java
f4223452119f9ff8b52f026f7ef92d961736dc51 15-Jul-2011 Jean Chalard <jchalard@google.com> Rename AutoDictionary to UserUnigramDictionary.

...and adjust internal functions, variables and constant names.

Bug: 3459274
Change-Id: I1b11c6adfee360ac0fc22d627955688b3dbdcffc
utoDictionary.java
atinIME.java
uggest.java
serUnigramDictionary.java
41c1f480287dd4348edcad1434cfcb77db594060 14-Jul-2011 Tadashi G. Takaoka <takaoka@google.com> Fix IndexOutOfBound exception

Bug: 5011243
Change-Id: Iaaafa50b42e5155e3682132217d3e079a170ed89
andidateView.java
5cbdb23621bb8064ff9f85878e3bbd4260d16730 13-Jul-2011 Tadashi G. Takaoka <takaoka@google.com> Fix IOOB Exception

Bug: 5021745
Change-Id: I58815ca3f3c8b1bead895e8a94e2f89dbcc67436
andidateView.java
092826c8cdec0cf0c49c3de9b247e58403c34da7 13-Jul-2011 Jean Chalard <jchalard@google.com> Fix crash on adding a word in the user dictionary.

When the User dictionary service is off, LatinIME still allows to add
words to it and it crashed if the user tries to do so. This change
fixes the crash; it does not however fix the interface.

Bug: 5004408
Change-Id: I5bd2684ab3010963c1f737fc764e70e79aadbe8d
serDictionary.java
4f365403c557ad9977a78186ea83ab81b31cd375 13-Jul-2011 Ken Wakasa <kwakasa@google.com> Fix build breakage

Change-Id: Id2c2d152f54d00842ef9e200ccdce1e13cc128cb
atinIME.java
84cb23a789aa0f89b7809dee4625d1916c1bb2f3 12-Jul-2011 Ken Wakasa <kwakasa@google.com> Small code cleanup

Change-Id: I7075d85f745c3b186e6d06086b9fcd54e7459feb
atinIME.java
8558cfb42a412010f2e5320ee50fe44afefdc1cf 12-Jul-2011 Ken Wakasa <kwakasa@google.com> Code cleanup

Change-Id: Ie43181721ba18e0c04048eaa9e3016dcea9f5a49
atinIME.java
9318d33b6e501d4dd9ea860de04160ccb23a7501 12-Jul-2011 Ken Wakasa <kwakasa@google.com> Change variable names for readability

Change-Id: I9face4e90af4bcd6040eb7e303b596af7d643934
atinIME.java
extEntryState.java
4a0c343dbdcf04245e6d5a94e68a0461efb78e83 11-Jul-2011 satok <satok@google.com> Use InputMethodSettingsActivity

Bug: 4979539
Change-Id: Ib721814bfe80822ded7b0d801f6bc0c854588da4
atinIME.java
ettings.java
ettingsActivity.java
1a3bb54bb495f88f0741af9e81c374305c2f1c28 09-Jul-2011 satok <satok@google.com> Use InputMethodSettingsFragment

Bug: 4979539

Change-Id: I4f2010f785eb29ccd42b488c402ef9957633e0c2
ettings.java
ettingsActivity.java
68d419d1f5a124c8697dd03a904b51dbe24528f3 09-Jul-2011 satok <satok@google.com> Merge "Internal cleanup before using InputMethodSettingsFragment"
4598d120642f68d052f8666521a30cb0d5ea020f 09-Jul-2011 satok <satok@google.com> Internal cleanup before using InputMethodSettingsFragment

Change-Id: I7e3211feadf7b87b789040f6dcd6dda84a9d454a
ettings.java
41f15093349984401011e5b0ab17bc9582fbd576 09-Jul-2011 satok <satok@google.com> Remove override which will be invalid.

Change-Id: I8b548e0167791c1f5e46971901d13ee1aadc45da
ettings.java
c71854a6614d1945739dcf40db61b0e887442b67 08-Jul-2011 Tadashi G. Takaoka <takaoka@google.com> Remove swipe gesture

Bug: 4971680
Change-Id: Ifff27f3bd3dd26417bfcb7072aaba074025b1bb7
atinIME.java
ettings.java
1bd62a56211db2933eb5dd735c108e610111d6fb 07-Jul-2011 Ken Wakasa <kwakasa@google.com> Fix missing suggestions after "Touch again to save"

This is an amendment to If848320c

bug: 5000317
Change-Id: I7eed5759c6adc0538c51f540c84a597919e792fa
andidateView.java
c810b0d63a6f7248d9385ee35ac37dca8f029137 07-Jul-2011 Tadashi G. Takaoka <takaoka@google.com> Merge "Make sure that each view has its own dedicated background drawable"
88110d1799146943c627916ffaa94bbc4dd6f2ae 07-Jul-2011 Tadashi G. Takaoka <takaoka@google.com> Clear CandidateView in onStartInputView

Before starting input on new TextView, we must clear the CandidateView
because it may hold the suggestion of previous TextView or even worse
the suggestions pane has been expanded and keyboard has been hidden.

Bug: 4995414
Change-Id: If848320c1a510e7018d36ed8ac61291be2fc6ce5
andidateView.java
atinIME.java
7c57e3bda1ab1d8c5d5df7acb8aec8c089f9240b 07-Jul-2011 Tadashi G. Takaoka <takaoka@google.com> Make sure that each view has its own dedicated background drawable

Bug: 4998490
Change-Id: I3527fc41f0f03bbb32e3d1880665c6995354aa57
andidateView.java
273e5d60f4e9a3de1136d6fff9ef8e057838ec18 05-Jul-2011 Ken Wakasa <kwakasa@google.com> Use the new settings activity class name

Follow up to I96230f05

Change-Id: I0ee7ccb5461764490ae9c977658883b10fe3ed3d
atinIME.java
f60d09ac3086f308cafcee13ebcb94c562f9e58e 04-Jul-2011 Tadashi G. Takaoka <takaoka@google.com> Narrower KeyboardView reference

This change also rename static inner class to more readable name and
get rid of unnecessary object reference from PointerTracker.

Bug: 4768084
Change-Id: Ie4e2b940d66b47d41efcae7eeac853cdae2e4d38
atinIME.java
e55996373f96fa23a9457c94a8827dbbeb80b724 04-Jul-2011 satok <satok@google.com> Removed unused import

Change-Id: I87344f071e982dfc37b17553c5a7054e26009cc7
ettingsActivity.java
5f6816fa8bf259f0340a3d12c551d1532f647d66 01-Jul-2011 Tadashi G. Takaoka <takaoka@google.com> Move keyboard event handling code to separate LatinKeyboardBaseView class

To sort out the issue, main keyboard and mini keyboard have to share
the pointer trackers.

In order to prepare for that, KeyboardView needs to be refactored as
two separate classes. KeyboardView is responsible for drawing keyboard
visual. And LatinKeyboardBaseView is responsible for handling key
event and mini keyboard as well.

Bug: 4768084

Change-Id: I5643e333b9bdfde0c939a0693cea76bd22f38897
atinIME.java
386899a8b09f18659c1f4c0ddd9fd51ad765792b 04-Jul-2011 Tadashi G. Takaoka <takaoka@google.com> Merge "Disable auto-correction when application auto completion has set"
67b5180e85be1bc8cec0c470ba55966a04371f6e 04-Jul-2011 satok <satok@google.com> Merge "Add SettingsActivity"
29387a8922536c0e33b365d987f89aff40735af1 04-Jul-2011 satok <satok@google.com> Merge "Fixed a visibility of a shortcut button"
1be5028dcf12c06bea98de6dcb01801ede215dd2 04-Jul-2011 satok <satok@google.com> Add SettingsActivity

Change-Id: I26d9f90fe18bd7723f1c3c0c9fafbb659cb2f020
ettingsActivity.java
1cda6eb17600efaed70670d483bd3584ee6bcc8c 04-Jul-2011 satok <satok@google.com> Fixed a visibility of a shortcut button

Change-Id: I65e57f6742186b3434d6582ce7f2a1d5d91ce588
ubtypeSwitcher.java
5238df54ad3f648d09d5288f00b0a9d3c0593832 04-Jul-2011 Tadashi G. Takaoka <takaoka@google.com> Disable auto-correction when application auto completion has set

Change-Id: I3f4ecfe7f2d96613dd37d41d9195d94864f82b48
atinIME.java
e583371b13ebd9aa336d0883e8c174ae4918c758 04-Jul-2011 Tadashi G. Takaoka <takaoka@google.com> Use Key background for suggestions strip control

Change-Id: I5e43c0919e89972283fd18eb29d69f96f1bd0290
andidateView.java
5a931efe1e1e8fc0fe046dda1dc3a91e63504114 01-Jul-2011 Tadashi G. Takaoka <takaoka@google.com> Set candidates pane control visibility gone when touch-to-save is activated

Bug: 4985540
Change-Id: I9ca9e9bd990d9cdae0da22625be88bbfa4c7ee62
andidateView.java
7f3e5979d7b91b1b614bd377eac2d1d43f5d1914 01-Jul-2011 Tadashi G. Takaoka <takaoka@google.com> Merge "Calculate text width more conservatively"
fe9b65afa84530d17dd82c770c19de763a50cb58 01-Jul-2011 Tadashi G. Takaoka <takaoka@google.com> Calculate text width more conservatively

Change-Id: If937ca0d05d50def115f6d275ed4b727c71e7bf4
andidateView.java
4edc7d074b174da447bbf28e62cfb914b236540e 01-Jul-2011 Tadashi G. Takaoka <takaoka@google.com> Disable candidate pane controller just after suggestions are set

Change-Id: I62e24bc39e80e2b51d1a29d093a96a8480254da2
andidateView.java
f008ae9ececab7e4c203eb88710a0df5161ef4e0 01-Jul-2011 Tadashi G. Takaoka <takaoka@google.com> Merge "Tweak ICS theme a bit"
3118277dd47492089761c0ed1097abaeb376395c 01-Jul-2011 Tadashi G. Takaoka <takaoka@google.com> Tweak ICS theme a bit

Change-Id: Ib8f1a712a1fc3fd6f08b336617b4b6a17af11376
andidateView.java
dec7703d9b7c6b24d66f30e545440eba73a239b6 01-Jul-2011 satok <satok@google.com> Refactor settings

Change-Id: I2e0108ba429b477a07cfd53dcc664c0e43ff16a7
ettings.java
7e7244873a1317ba898e498526b963f7d41caa86 30-Jun-2011 Tadashi G. Takaoka <takaoka@google.com> Merge "Adaptive suggestions strip"
74b6897a12ec603ef835aaa77a01f0c32f49aa1c 30-Jun-2011 Tadashi G. Takaoka <takaoka@google.com> Adaptive suggestions strip

Bug: 4903845
Change-Id: I9e2e17a9eee72df5c92414dcd4796ed7fe1655e1
andidateView.java
ettings.java
uggestedWords.java
9ae24750f462cbd94b362fe54a952c86cfb05e5f 30-Jun-2011 Ken Wakasa <kwakasa@google.com> Some clean up and fixes around auto-correction cancellation logic

Change-Id: I07f4c3cd98d14d9f0da2de54bfa76a3867389f6f
atinIME.java
extEntryState.java
284c32900bfdd3d234213a7f139f959225589a97 29-Jun-2011 satok <satok@google.com> Merge "Show subtype settings preference for new design"
b9e56cde8b75b3c773c8433efec15a6d16fbf95d 28-Jun-2011 satok <satok@google.com> Show subtype settings preference for new design

Change-Id: I6164ab6ae3d97e2095778a4a6fd9f36c508af7b0
ettings.java
670e1c6b71e6c78855b4452ee75bd1d919021b03 28-Jun-2011 Tadashi G. Takaoka <takaoka@google.com> Add visual debug mode

Change-Id: Ife131a398c0753b5b0e6e8969fe7bbc2a3bdab96
atinImeLogger.java
660d42fb36b00914e5fc3aeabdec844e3af7ff6b 27-Jun-2011 Tadashi G. Takaoka <takaoka@google.com> Remove mInForeground flag from KeyboardView

Instead of that, added cancelAllMessages() and call it from
onFinishInputView().

Change-Id: I58f6f0931ed8d73441d80d9616ba3afbbbe38e05
atinIME.java
55303bc63440c6a9547e94b4f3486a00696da9b0 27-Jun-2011 Tadashi G. Takaoka <takaoka@google.com> Re-create input view after voice IME finished

Change-Id: Ia389eb43ac7ffec229bfd8b0fe56ce8271cb1d39
atinIME.java
7e9615f218630d14ae5666ede2efd5f12d0a23c3 27-Jun-2011 Tadashi G. Takaoka <takaoka@google.com> Fix NPE

Change-Id: Ia2c7d9e9298330ae991956fca64b225adaeff898
atinIME.java
281e180c33b1dd88e8eae48f279736c529f529d2 27-Jun-2011 Tadashi G. Takaoka <takaoka@google.com> Fix NPE

Change-Id: Ie4b8b657fc6cc5a819d4ea3a0ca4536e6fdf6825
atinIME.java
b47319867ef3834a222865b8cb6abe62962e70f7 25-Jun-2011 Tadashi G. Takaoka <takaoka@google.com> Show long suggestion in condensed and ellipsized text

Bug: 4903845
Change-Id: I75d58fb55f81594ebb2628ea21d00c2eb59fa70e
andidateView.java
717a8f50aec421f74e4d43432059c2fb41cb32c7 27-Jun-2011 Tadashi G. Takaoka <takaoka@google.com> Use dedicated layout for "touch to save word" feature

Change-Id: Ie8c948476740a645d8b2d9a9d821236941d27adf
andidateView.java
7fb04fe007a6d0489168e9c87771db554c873464 25-Jun-2011 Tadashi G. Takaoka <takaoka@google.com> Fix ragged suggestion strip baseline

Change-Id: I5fa9e2ad0993602e24f436e1d8ad0999209e5180
andidateView.java
4f0d290c5d112ebac434bd8de4635f7d42ea2df0 24-Jun-2011 Ken Wakasa <kwakasa@google.com> Avoid memory leak by by non-static Handler inner classes

bug: 4901934
Change-Id: I870ab2e621ef3640a84468f09c074cdd726dc963
andidateView.java
atinIME.java
taticInnerHandlerWrapper.java
4f3d5d3733c070c0c16315b156068ae5c2aace6a 24-Jun-2011 Jean Chalard <jchalard@google.com> Add a link from Latin IME to the dictionary pack.

The link only shows up if the dictionary pack is installed.

Bug: 1752028
Change-Id: I4af0a0a63324c155609710064a25df0deeb82b4d
ettings.java
2442e779857e7eda253aadcb1c4dff5ccb3e53f4 24-Jun-2011 Tadashi G. Takaoka <takaoka@google.com> Display suggested word info in debug mode

Bug: 4686782
Change-Id: I0e5bef33aa39c3d6f75edda7818524965aa40b79
andidateView.java
5ac4638f999db4fea8a9e24171dbceb640a10858 18-May-2011 Alan Viverette <alanv@google.com> Added support for touch exploration to Latin IME.

Bug: 4379983
Change-Id: I97f22e54827c6229054b514801401ffa5b4ed3b8
atinIME.java
a7eed902f1b0d6871d416412b3c6f91163fa2578 20-Jun-2011 Tadashi G. Takaoka <takaoka@google.com> Make CandidateView backward compatible

Up to version 10 (Gingerbread) of the API, FrameLayout doesn't handle
margin properly. This change inserts RelativeLayout to FrameLayout as
placer to set margin and place children views absolutely.

Change-Id: Iee785bc2da77677738caf456bcd2bbf57b89f007
andidateView.java
0150be2a9b5e4a8af3ecab485299507c3d0772c7 21-Jun-2011 Tadashi G. Takaoka <takaoka@google.com> Merge "Use 2 arguments LinearLayout constructor"
f921129f9b1083ac9d7d7be8c94701bdf6435b47 20-Jun-2011 Tadashi G. Takaoka <takaoka@google.com> Use 2 arguments LinearLayout constructor

To maintain backward compatibility back to Froyo, we can't call
3-argument constructor of LinearLayout.

Change-Id: I35310704f92812d2748d32f35820a5058fa2bf31
andidateView.java
839fb35f2bf2dfceaeff64524d51877c30023c4b 21-Jun-2011 Tadashi G. Takaoka <takaoka@google.com> Merge "Support Turkish keyboard"
35f20916e5348d7fa485ba8eb0a5cf2e67f4f354 21-Jun-2011 Tadashi G. Takaoka <takaoka@google.com> 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
atinIME.java
ubtypeSwitcher.java
uggest.java
acd1a1c7a82e8d5ad2cd62bd84dc9e99b24aa17a 20-Jun-2011 Tadashi G. Takaoka <takaoka@google.com> Add ArraysCompatUtils.binarySearch

Until API version 9, java.util.Arrays.binarySearch(int[], int, int,
int) doesn't exist.

Change-Id: Ife0ed4fbac642eda069e7b6f6b8dd30e0cd5fdee
pellcheck/SpellChecker.java
2951aa7e93c36fbbaff48139f3ff0ff6b67d05b7 20-Jun-2011 Tadashi G. Takaoka <takaoka@google.com> Fix NPE

NPE has occured while getting containerHeight in
LatinIME.onComputeInsets().

Change-Id: Ib906c20791a1f80a5c484a75eead9d2816a9da1b
atinIME.java
905a6cdcba94c8eda69c5a5a531b9736fcb83b6b 20-Jun-2011 Tadashi G. Takaoka <takaoka@google.com> Merge "Close dictionary appropriately"
3439c72639d50921a87ab6f9d3aa1bf941aef8d2 20-Jun-2011 Tadashi G. Takaoka <takaoka@google.com> Close dictionary appropriately

The dictionary that extends ExpandableDictionary must be closed when
it becomes unused.

Bug: 4725930
Change-Id: Ib5d2c39771fb7010d303a26d1ea1c8e237c0101f
uggest.java
5a2d0630474d6df639e97ff48f5f48b220ca4ee9 20-Jun-2011 Tadashi G. Takaoka <takaoka@google.com> Remove unnecessary onRefreshKeyboard call.

When using the sliding spacebar language switch on ICS, both
LatinIME.toggleLanguage() and
InputMethodService.onCurrentInputMethodSubtypeChanged() invoke
LatinIME.onRefreshKeyboard(). This change eliminates the first one if
it isn't necessary.

This change also cleans up the followings.
* reuse theme Context when the keyboard theme hasn't been changed.
* clear the Keyboard cache when theme has been switched.
* eliminates unnecessary Context reference from LatinKeyboard and
SlidingLocaleDrawable.
* recycle Bitmap and reuse Canvas in KeyboardView.

Bug: 4725930
Change-Id: I87366e9304879d94d12b7345adea768d86d43519
atinIME.java
5e4e05afd2825bf7acb594fef5e7bd21c751dd63 18-Jun-2011 Tadashi G. Takaoka <takaoka@google.com> Fix NPE

Bug: 4686479
Change-Id: I0b8a32d0f9bcebe55eebecd38dc5e69198e94378
atinIME.java
8f5a3842e6ef8e3890f7248ea3eb3a6dae4dc30c 17-Jun-2011 Tadashi G. Takaoka <takaoka@google.com> Merge "Disable showing TAB key when navigate flags are specified"
f0f726464dcb5b3cef4f8e703659b35ca62430b5 17-Jun-2011 Tadashi G. Takaoka <takaoka@google.com> Disable showing TAB key when navigate flags are specified

Bug: 3094312
Change-Id: Ibbd36020c1e40daab220b588e6c190979afe7149
atinIME.java
c78278bfb492411f7a52624c01a26e7e56df2497 17-Jun-2011 Tadashi G. Takaoka <takaoka@google.com> Temporarily disable displaying debug information

Should come up with the way to display the debug info again soon.

Change-Id: I20a01d1f03330cee05d4e52fd1ab622e315c87e9
andidateView.java
f844094e832b70481886d289584957c8edcc36b0 16-Jun-2011 Jean Chalard <jchalard@google.com> Merge "Small performance fix."
a61967330e6086a99373e21ad03323af81aa17ed 16-Jun-2011 Tadashi G. Takaoka <takaoka@google.com> Make LatinKeyboard aware of theme

Bug: 4436327
Change-Id: Idecdd470cbb0720b96958039eb11f6978d39629e
andidateView.java
atinIME.java
516f18f97e7f89c1b328773834f2a133787fb071 16-Jun-2011 Jean Chalard <jchalard@google.com> Small performance fix.

This improves performance by not allocating an iterator.

Change-Id: I5511fd8b8d3aa826917620c0af994dbaf1562bb1
ictionaryCollection.java
08a6f2aea71d998206c47c16dcda4eaa90f8c9ea 15-Jun-2011 Tadashi G. Takaoka <takaoka@google.com> Make CandidateView aware of theme

This change is needed to introduce new theme easily.

Bug: 4436327
Change-Id: Idc368b66d892d9c888ba7a26bfa3527c21678292
andidateView.java
atinIME.java
862e05a8f0aa03ddc4582d5bf68a3201f348cf1d 15-Jun-2011 Tadashi G. Takaoka <takaoka@google.com> Fix NPE in CandidateView.offsetMargin

Bug: 4609124
Change-Id: I14913afba80732e6beb8458b404001798a221a79
andidateView.java
86e815a142c8aa13213151e381a8a24ef23073d3 14-Jun-2011 Tadashi G. Takaoka <takaoka@google.com> 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
andidateView.java
atinIME.java
uggest.java
90cb2e6296726960b12e622ffa2b30c5ff92a079 13-Jun-2011 Jean Chalard <jchalard@google.com> Merge "Add an option to use or not the contacts dictionary."
699094f9b6e0a4621e8b3cfab70b59c0c7c086bb 10-Jun-2011 Jean Chalard <jchalard@google.com> Add an option to use or not the contacts dictionary.

Bug: 4586840
Change-Id: If62cd57e5ab661e6a51a5442d09bf0af8f08f263
atinIME.java
ettings.java
uggest.java
070760dc5abdb9a850a94c509eeb9f486515af59 13-Jun-2011 Tadashi G. Takaoka <takaoka@google.com> Clean up candidate strip view hierarchy

Bug: 4175031
Change-Id: I8073739ac7624d2c0a111c5ef7043d8766162a83
andidateView.java
8d828fc4492ea9a828f64ec4696769600aeb4718 11-Jun-2011 Tadashi G. Takaoka <takaoka@google.com> am bdbefac0: am 263749f2: am 37deb112: Fix IndexOutOfBoundsException

* commit 'bdbefac0b471e8a70c5d4958b8d1a345777d6bdb':
Fix IndexOutOfBoundsException
35daf4007c8fdea451f40f92673cc94568102b2f 10-Jun-2011 Jean Chalard <jchalard@google.com> Merge "Stop using raw e-mail addresses as names in contacts dict."
1ea78d92e6c148f28326f475373fb40e65350909 10-Jun-2011 Jean Chalard <jchalard@google.com> Stop using raw e-mail addresses as names in contacts dict.

Bug: 4590281
Change-Id: I37016dd066efa1463077c67e05218148cbb67df4
ontactsDictionary.java
dc05c6650e02222686bae9fa05aad9030c11453b 10-Jun-2011 Jean Chalard <jchalard@google.com> Demote contacts frequency.

Bug: 4586840
Change-Id: I6dbef2d973174fc49c3955547dde923d6fa48ae1
ontactsDictionary.java
37deb112c727dfed5e94d054cf5f00f5d60c8120 10-Jun-2011 Tadashi G. Takaoka <takaoka@google.com> Fix IndexOutOfBoundsException

Bug: 4586181
Change-Id: I10a2d1486c9a0d11aa42cf7c6a33ecd70b6918d7
andidateView.java
cb6d82da4494aa11ca5f91e3dd7ed8f5cdeca750 09-Jun-2011 Jean Chalard <jchalard@google.com> Merge "Enable reverting the auto-conversion of double space."
91b9a6808c5fc345f876094248157ff29f96a7e0 09-Jun-2011 Tadashi G. Takaoka <takaoka@google.com> Merge "Introduce CandidateView.Listener"
4733609947c0ec74e460bd714fffca0518ade93a 08-Jun-2011 Jean Chalard <jchalard@google.com> Enable reverting the auto-conversion of double space.

Bug: 3376923
Change-Id: If3fcfd208ad4a2b8a1452a21b07694d8d512c6ae
atinIME.java
c97810693dfe83bf37c09f73c8d4b40f2ba8dddb 09-Jun-2011 Tadashi G. Takaoka <takaoka@google.com> Introduce CandidateView.Listener

Bug: 4175031
Change-Id: Ie84d1c86ff099350b786c71e7081d9ea9ee0d81f
andidateView.java
atinIME.java
e6d376298a2aecdf07608291793d06497def2ac8 09-Jun-2011 Tadashi G. Takaoka <takaoka@google.com> Fix duplicate action next

Change-Id: I986528131a1dbe5926b8b6b2a6ffa75f48c5151a
atinIME.java
0143e11f11148210c0ae9ea0e695b7e5a4da6e28 08-Jun-2011 Tadashi G. Takaoka <takaoka@google.com> Merge "Separate debug information display from candidate view"
1e273fa6d1e8babfebebbbe331d87d3854755e7f 07-Jun-2011 Tadashi G. Takaoka <takaoka@google.com> Separate debug information display from candidate view

This change is one of the preparations for suggestion strip redesign.

Bug: 4175031
Change-Id: I82675936773ed6cf132a52486909ff21af828256
andidateView.java
a88a5eddbcea0d836ab3d563f460897f39418ca0 07-Jun-2011 Ken Wakasa <kwakasa@google.com> Revise hasMultipleEnabledIMEsOrSubtypes()

bug: 4559308

Change-Id: If831c0827dbf030eaf1d241ebfa60d4e5029ae63
tils.java
f20eb55d4f8063f89c6c0abb3af3029fe23cb845 06-Jun-2011 Tadashi G. Takaoka <takaoka@google.com> Fix NPE introduced by Ia0dc487c

Bug: 4553273
Change-Id: Iaf7a969b2c96750070a296791108d67887d613e4
andidateView.java
ddb61ea461b920d87be4ad78c8a36eec1013b965 06-Jun-2011 Tadashi G. Takaoka <takaoka@google.com> Separate candidate divider from candidate view

This change is one of the preparations for suggestion strip redesign.

Bug: 4175031
Change-Id: Ia0dc487c11c3005ef19b87ec0efcc18e48411f76
andidateView.java
8fd75b3147574ffbaf5ba6b383ed6fe42a32602d 31-May-2011 Jean Chalard <jchalard@google.com> Add spell checking core methods.

Bug: 4176026
Change-Id: Ic6ea3e084b3ebacfc5fd998d2c7b0130f7b0ec48
pellcheck/SpellChecker.java
e93b1f2209e26add7e5c2685990a8ce921fd6e32 01-Jun-2011 Jean Chalard <jchalard@google.com> Allow reading a binary dictionary even without proximity info.

This prepares the way for spell checking, which is to be done
without context so without proximity info.

Bug: 4176026
Change-Id: I1b4bfaefe2611e1b484acdf3c33598cb80f81ff4
inaryDictionary.java
57c38bf4b00c78c30351c0669cdafef9efc22807 31-May-2011 Jean Chalard <jchalard@google.com> Merge "Enable choosing a bigram prediction several times in a row."
41ec3ec2f3a95f0af2697da92cee4920e6156763 25-May-2011 Jean Chalard <jchalard@google.com> Enable choosing a bigram prediction several times in a row.

This change fixes a bug that prevented to choose a prediction
several times in a row because the predictions would be replaced
right away by punctuations.
Please note several things about this change:
- Recorrection is pretty much in the middle of being refactored.
This change has no effect on recorrection itself, but may make
existing strange behavior more obvious when moving the cursor
for example.
- The part of this change in Recorrection.java is not used in
master at the moment because ongoing changes on recorrection
result in the control never landing there, but would have been
needed in the past and may be needed in the future.
- This change may have adverse effects on performance which need
to be evaluated. A comment in the code has also been written
to this effect.
- This does not fix bug 4466199, only addresses a pinpoint case
of it to help evaluating the bigram predictions feature.

Bug: 4466199
Change-Id: I7219e5aeb74dff9251d12b2a72f94448dbb3e63f
atinIME.java
a8fd3af67a8414c3543c991ab181ac527521b585 27-May-2011 Tadashi G. Takaoka <takaoka@google.com> Merge "Remove web mode and add webInput boolean"
9e2d810dc524380ca1db6b384cfb00b4401585e5 27-May-2011 Tadashi G. Takaoka <takaoka@google.com> Remove web mode and add webInput boolean

Bug: 4490948
Change-Id: I6fe23c9ab4918eab6806cc621c4d6821c2e1baf9
Cherry-Pick: I4cd1af0b
atinIME.java
tils.java
f4a05624ee2da64ad811a01e64885e928e77154d 27-May-2011 Jean Chalard <jchalard@google.com> Merge "Stop promoting auto dictionary words to the user dict."
38515ae57709b5d108d67b6f958b3e856fabc83d 26-May-2011 Tadashi G. Takaoka <takaoka@google.com> Remove web mode and add webInput boolean (DO NOT MERGE)

Bug: 4490948
Change-Id: I4cd1af0b48d7ebcf8f4bd939e0e363e34dbfe8b7
tils.java
a0493fa070170d1c2d63405428345bb9e9ab0a51 26-May-2011 satok <satok@google.com> Fix whitelist

Bug: 4090049
Change-Id: I1d57ddafcacb895196c65acaae198dad7499983b
hitelistDictionary.java
f5d9649680ae5ee3fe11e839d3111f3351d15285 26-May-2011 Tadashi G. Takaoka <takaoka@google.com> Introduce web and email mode (DO NOT MERGE)

This change introduces new keyboard mode "webEmail" to honor
InputType.TYPE_TEXT_VARIATION_WEB_EMAIL_ADDRESS. In this mode, both
'@' key and TAB key appear on the keyboard.

The keyboard layouts will be modified with other change.

Bug: 4490948
Change-Id: I66f9bda4907da448db097e9c900199dfa700b16a
atinIME.java
tils.java
ea9098ca69599905fdd5fd5eba55dc63d2073357 26-May-2011 satok <satok@google.com> Add SuggestionSpan suggestion picked notification receiver

Bug: 4443922

Change-Id: I8a9dc5077ae06c6d0c39fd7fdd823fc4f4d05f45
uggestionSpanPickedNotificationReceiver.java
8ef4dd9af86d575e6b3cce76ccd141728308aada 25-May-2011 Jean Chalard <jchalard@google.com> Stop promoting auto dictionary words to the user dict.

Also see change I5a57ecc8 which is another fix for the same
problem.

Bug: 3459274
Change-Id: Ica2bb5b5aa4362d538df3765559d676c1aab4a85
utoDictionary.java
atinIME.java
6c4add55f94ff729ef1aa35c4f8df3b086344f8a 25-May-2011 Tadashi G. Takaoka <takaoka@google.com> Initialize CandidateView in setInputView

When keyboard theme has been switched, input view will be replaced
with new theme one and current CandidateView will get stale. The
CandidateView must be reseted in setInputView.

Change-Id: I36fd14280572d2d367cfef549d7705b3b321ba3e
atinIME.java
f4c9e9d359ea1f3b81020f046b9e88584baff07d 25-May-2011 satok <satok@google.com> Merge "Put SuggestionSpan at commitText"
3e17686c682f4e320d46048d99e07eea2d38e7cf 25-May-2011 Tadashi G. Takaoka <takaoka@google.com> Fix missing setService call for CandaiteView

This bug has been introduced by I95f379b9.

Bug: 4486388
Change-Id: I23fd3abe05946d4709b4593efa4713cd19723479
atinIME.java
1fef530ec7626fa16777f52b48191e61db8f46d4 24-May-2011 satok <satok@google.com> Put SuggestionSpan at commitText

Bug: 4346045
Change-Id: Iaabdb8a148b2601bb9cbc2b08509adac164105a4
atinIME.java
c150acc7c85ff2f5eeb5bd2c6ff288df4e46a355 23-May-2011 Tadashi G. Takaoka <takaoka@google.com> Move CandidateView into input view

Bug: 4175031
Change-Id: I95f379b9943d1dcab1dc5527b6e5ac5abd58e280
atinIME.java
ubtypeSwitcher.java
8c08a49895ee53b798f72190e8fc642f8686b8ef 23-May-2011 Jean Chalard <jchalard@google.com> Merge "Squash case for bigram insertion/lookup."
3a38fef7a0a8f3b2864a597fee706422be1255ae 23-May-2011 Tadashi G. Takaoka <takaoka@google.com> Remove CandidatesView related method call from voice ime

Change-Id: I33ccf2c141d94437b175222b9e65c0b4e2671a35
atinIME.java
ed8c29568dd0fba78fe7c7a9edec60ef6347d2a6 23-May-2011 Jean Chalard <jchalard@google.com> Squash case for bigram insertion/lookup.

Bug: 4464446
Change-Id: If7b6d73fb408d53f941c82ed4f47221e85c845d8
xpandableDictionary.java
serBigramDictionary.java
20e16475e686d84b890c5d845675f20ce59665d1 20-May-2011 Tadashi G. Takaoka <takaoka@google.com> Merge "Remove manual config item controlling to show input language settings"
29a4b1ac88b06ced0ceb0b36ec4aedb7692447f7 20-May-2011 Tadashi G. Takaoka <takaoka@google.com> Merge "Reload keyboard after SoftInputWindow size changed"
e896d31bb92146379c8b7c0050ee05eec0830317 17-May-2011 Tadashi G. Takaoka <takaoka@google.com> Reload keyboard after SoftInputWindow size changed

Bug: 4450008
Change-Id: Ic6c457db808d8e7479bfaa509192c07a384453e2
atinIME.java
d794c6f0788a65a4ec623de3f8f05122621d665f 19-May-2011 Tadashi G. Takaoka <takaoka@google.com> Remove manual config item controlling to show input language settings

Change-Id: I77f831c653567f2cf214a5b61107b25cca6d751d
atinIME.java
ettings.java
f5443e4ef50a2fbb9a0f2637b7e867a8b8367957 19-May-2011 Tadashi G. Takaoka <takaoka@google.com> Replace large device keyboard with phone style keyboard (DO NOT MERGE)

This change also fixes copyright comments.

Bug: 4442045
Change-Id: I297a2c64e709fb0d613404e5f1de45d810f9de15
utoDictionary.java
ditingUtils.java
nputLanguageSelection.java
anguageSwitcher.java
serBigramDictionary.java
8632bff2d5a8e1160989008dea6eff4b94b065dd 19-May-2011 Tadashi G. Takaoka <takaoka@google.com> Fix copyright author from Google to AOSP

Change-Id: Iaceedc783181e43af6dd48ece218a42eace66532
utoDictionary.java
ditingUtils.java
serBigramDictionary.java
0b47f3af83648293afb836250756cc14dffcde4b 18-May-2011 satok <satok@google.com> Merge "Show full display names in the popup of the spacebar language swicher"
eaa10f44a4a0108a90803b1b28238842d3fb5add 17-May-2011 satok <satok@google.com> Show full display names in the popup of the spacebar language swicher

- Multiply the speed of the slide

Bug: 4427222
Change-Id: Ifd2de9843191296f0f311440ea7b8ab075c67d8d
atinIME.java
ettings.java
ubtypeSwitcher.java
tils.java
bf65f31c5fcd61d8c3aed0e7c6efc38dd7342c1f 17-May-2011 Jean Chalard <jchalard@google.com> Fix a bug in one of the methods to get a dictionary.

One of the two methods for getting a dictionary from the dictionary
pack had a bug and would not tolerate not getting an actual dictionary.
This change fixes that.

Change-Id: Id58bb27258494fb3aa60ec07a4eb27cfb5cc7279
inaryDictionaryGetter.java
1f050f634820a1d980e8a91f3a962bcd1fc242e3 13-May-2011 satok <satok@google.com> Fix NPE

Change-Id: Ib9a000ead8be91fab815dda161fcb258f678c3f4
atinIME.java
bb02bd1d50a8de5e7f4e0d03c57ee9a95bc5f4b8 13-May-2011 Jean Chalard <jchalard@google.com> Merge "Add advanced settings screen"
7f3674af5a57e124464929a29e718ccca4d74bae 13-May-2011 satok <satok@google.com> Merge "Fix null pointer exception in LatinIME"
240297d0ee186b14e795016e9b1bd168c8d8acf8 11-May-2011 Jean Chalard <jchalard@google.com> Add advanced settings screen

Also add an option for popup dismissal delay so as to inaugurate the
new screen. Besides, remove a path for options to escape from
LatinIME and replace with a direct read from the settings.

Change-Id: I7ec6e724262871fa6523506ecc39f65c5fbe34da
atinIME.java
ettings.java
fe1a6d961cf039357f061482461e4d2e951ad346 13-May-2011 satok <satok@google.com> Fix null pointer exception in LatinIME

Change-Id: Ic4d60fe651bdc83771137c0f61f07c3879a3f1a1
atinIME.java
777118a40a363ccab69a00016d3156066513cb78 13-May-2011 Jean Chalard <jchalard@google.com> Fix a bug with dictionary add interface.

Fix a bug where the "Touch again to save" message would not stay
on screen, following a wrong fix for a problem where Gingerbread-
would not display punctuation in the suggestion strip in
WebTextView.

Change-Id: I3556f83f867240ed7f16753450e6c975853208e5
atinIME.java
cbcae9a6e82094762eba200e3c177bbdb1a18b70 13-May-2011 satok <satok@google.com> Merge "Fix the available input locales and moved Recorrection"
f733074aaecdfd6e89cfee2daff8a9c1233b60f1 11-May-2011 satok <satok@google.com> Fix the available input locales and moved Recorrection

Bug: 4409091

Change-Id: I6efd23ebb9528bf1bd35320057a0ea264c187451
ictionaryFactory.java
atinIME.java
ecorrection.java
ordAlternatives.java
ordComposer.java
b47f4cd1c628d6422b4b92d53a274df0fd5ea691 12-May-2011 Jean Chalard <jchalard@google.com> Merge "Fix a bug where the locale of the keyboard app would end up wrong."
039e6d76954f8709af34f089c2920436386db0db 12-May-2011 Jean Chalard <jchalard@google.com> Merge "Fix a bug where suggestions would not update in Froyo WebTextView"
0d2843d8524227fb28081cf7507844a171ad6cc2 12-May-2011 Jean Chalard <jchalard@google.com> Fix a bug where the locale of the keyboard app would end up wrong.

Change-Id: I1f9172dd987f8c2ed9b2f3d16a494e4cd264ead7
ettings.java
892b1fb18aa729aef8d75224f75562ea3908a903 12-May-2011 Jean Chalard <jchalard@google.com> Fix a bug where suggestions would not update in Froyo WebTextView

Bug: 4396864
Change-Id: Ia45466319498ae7e35fe8a39b4e3a361d66ac2cc
atinIME.java
101a00e3d4b1c29ef2ecdecd1b72b43efde7791a 11-May-2011 Tadashi G. Takaoka <takaoka@google.com> Revert "Added support for speaking keys through accessibility service."

This reverts commit dcade18113286a132a2f5fb508fdba836470c3fb.

Bug: 4379983
Change-Id: I2448d8f03990a39a3e328a88904d82efc70241a2
ccessibilityUtils.java
atinIME.java
4ef1b6b6b6323e53d377ac78058466b74e48f555 11-May-2011 Jean Chalard <jchalard@google.com> Merge "Refactor settings flags."
17c7ffeb1e10348227c5dff1c319d2099c1b5d0e 10-May-2011 Jean Chalard <jchalard@google.com> Refactor settings flags.

This needs Ic5bd9b45 to not break the build.

Change-Id: I9684be89baba0f855f19c11d000c5638c04cc26e
atinIME.java
ettings.java
4f3b59711f6985d39e0cc908d2431ae6715d9b26 10-May-2011 Jean Chalard <jchalard@google.com> Fix a bug where suggestion strip pick would reset magic space

Bug: 4391347
Change-Id: I93c3c821d3ab78a300edc3d251ce7b1ee0dc3958
atinIME.java
9fbfd5877305ed19a20663630b498b6b3fdae942 10-May-2011 satok <satok@google.com> Move re-correction codes to Recorrection.java

Change-Id: I0641f333bbc7d4ac27361c97252c4591584efb9d
atinIME.java
ecorrection.java
ordAlternatives.java
ordComposer.java
5c051dfefb7abe89170605fb7fd36c10652edc0a 10-May-2011 satok <satok@google.com> Merge "Move Recorrection functions to Recorrection.java"
14a5f53c2791ed0b02cfd2f48a2555117faf47b3 10-May-2011 Tadashi G. Takaoka <takaoka@google.com> Merge "Fix suggestion strip geometry"
37b6b44a909f5ce14914674eed8466af1c0dc756 09-May-2011 Tadashi G. Takaoka <takaoka@google.com> Fix suggestion strip geometry

Bug: 4393288
Change-Id: I6cad1d186db25174a3f31a57975165e720b41266
andidateView.java
7a8dac55278cedd838be325f56b4c52d973c61f5 06-May-2011 satok <satok@google.com> Move Recorrection functions to Recorrection.java

Change-Id: I309d78c50074cd6fb02a9d6f51b675b158a56202
atinIME.java
ecorrection.java
863f95b6052e5d9d4fb1ac5dc283c464db9f29c3 09-May-2011 Jean Chalard <jchalard@google.com> Improve magic space handling.

Split symbols into:
- Symbols that should swap themselves with a magic space.
- Symbols that should remove the magic space.
- Symbols that should transform the magic space into a real space.

Also, have symbols inserted from the suggestion strip always consider
the space before them to be magic.

Also, do minor refactoring to remove useless variables or make clearer
how to carry some symbol-related information.

Bug: 4391347
Change-Id: Ie2308a62c8fef55e3610897c0f58943acb7aa8c9
atinIME.java
ec5ae3a1b6ce6d6c87406def849995ec63816c55 06-May-2011 Ken Wakasa <kwakasa@google.com> Fix IndexOutOfBoundsException in LatinIME.setSuggestions

bug: 4369728
Change-Id: I7f8b09ecf7fb096bdff73b2d3575ed3779ed120d
andidateView.java
ccb60b76277533070b6af4b93d249a66640049fa 02-May-2011 Jean Chalard <jchalard@google.com> Merge "Straighten out magic space vs real spaces behavior."
0730bbfbf5e37bbcb5c287aeff71b304c833a36e 28-Apr-2011 Jean Chalard <jchalard@google.com> Straighten out magic space vs real spaces behavior.

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
ontactsDictionary.java
ictionaryFactory.java
xpandableDictionary.java
atinIME.java
9b2192bfd2d3a06df3c685ed4287e192dbaabf32 29-Apr-2011 Ken Wakasa <kwakasa@google.com> Revert the suggestion update delay to the original value (100msec) for phones.

This is actually a follow-up to I385f9eb2

bug: 4361287
Change-Id: I4c4a0a96a7fa28f4f96dd984453d2c9f3fa7d6c2
atinIME.java
d8f52a4f18d22aa150846b01017410ce70bbad6f 27-Apr-2011 Jean Chalard <jchalard@google.com> Improve the architecture to support multiple dictionaries.

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
inaryDictionaryFileDumper.java
inaryDictionaryGetter.java
ictionaryCollection.java
ictionaryFactory.java
rivateBinaryDictionaryGetter.java
f108bf8fe924722ac6fc451f0235eb85a60f459d 27-Apr-2011 Jean Chalard <jchalard@google.com> Rename a confusing variable.

mHasValidSuggestions -> mHasUncommittedTypedChars

Bug: 4322591

Change-Id: If7df986af3cf087c8e7571fd88a55e2b2ccfa38a
atinIME.java
19bfef6cb0714a46a276abe45329e4abb661f76e 27-Apr-2011 Jean Chalard <jchalard@google.com> Use the new Utils.setSystemLocale method in the new code.

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
ictionaryFactory.java
4250eb27f54f8fedc388fe4825b0646a88778744 26-Apr-2011 Jean Chalard <jchalard@google.com> 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
inaryDictionary.java
ictionaryCollection.java
ictionaryFactory.java
uggest.java
fd78781ced66551948dff25c0dee0ae6e159e272 27-Apr-2011 Jean Chalard <jchalard@google.com> Merge "Add a method to set the locale to Utils."
309bff562fbaf47488e6bf6636840f00574187d8 27-Apr-2011 Jean Chalard <jchalard@google.com> Add a method to set the locale to Utils.

Add a setLocale method to Utils that returns the previous locale.
Also unify all calls through the code.

Change-Id: Ic850dc5df19fba00ed3601835652859b4321b544
atinIME.java
ubtypeSwitcher.java
tils.java
bc475dc297ab657cf8c859547a581e6c8e166cf3 27-Apr-2011 satok <satok@google.com> Merge "Handle overflow properly in multiplyRate"
a6581a2043231b99b9e134a5c151604397d2001a 27-Apr-2011 Tadashi G. Takaoka <takaoka@google.com> Merge "Shorter timeout to update auto caps state (100ms)"
b2e5e5937ca96a448081466a9f43e937787f0c24 26-Apr-2011 satok <satok@google.com> Handle overflow properly in multiplyRate

Bug: 3401513
Change-Id: I8dd2523caa58bb51c378a01e160a58f9106ce9b8
tils.java
a7a659ab0f9e9667bf6c6e2d7d07ff2857ae8b13 26-Apr-2011 Tadashi G. Takaoka <takaoka@google.com> Shorter timeout to update auto caps state (100ms)

Bug: 4319726
Change-Id: I068279ddfbb79dfebb6ab845d97cccd62d9e052a
atinIME.java
663d4f5cc1b08b6daf168d8ac3dcd56127036516 26-Apr-2011 satok <satok@google.com> Merge "Fix getMiddleDisplayLanguage"
0c8d5ca023d54b7c9ef6c20eb7988288132bacb5 26-Apr-2011 Jean Chalard <jchalard@google.com> 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
inaryDictionary.java
inaryDictionaryGetter.java
ictionary.java
ditingUtils.java
uggest.java
tils.java
4556de4b4540b18d059759c88cd8254ae6a42fa7 26-Apr-2011 Jean Chalard <jchalard@google.com> Do not use contacts for bigram prediction.

bug: 4346034

Change-Id: Ibc3c27ca92ed61f1f689df3e90e2eb60fa0cbd33
ontactsDictionary.java
12e07767a1c3120c3d9c6718c7959ba0fe074a99 25-Apr-2011 satok <satok@google.com> Fix getMiddleDisplayLanguage

Change-Id: Ia73d74b122069197ac471879e5f1cee34f31b182
ubtypeSwitcher.java
cae6b1060e0c8547f9f7f64fbbf3a18a76035a53 25-Apr-2011 satok <satok@google.com> Display the language name on the spacebar if the full display locale name is too longer than the space bar

Bug: 4329512
Change-Id: I477684747bf9e70a6909c25877fbe9e622571fd4
ubtypeSwitcher.java
c5c57b506e97b334a394d23ed73c9597cb55707a 22-Apr-2011 Tadashi G. Takaoka <takaoka@google.com> Move sliding language switch code to PointerTracker

This change is hack and temporal.

Big: 4328445
Change-Id: I0b8851e9f05390db20ddaa10f35cff1cc9f016da
atinIME.java
c121b5d03e978b880057da31b9a9d78674b414cb 22-Apr-2011 Jean Chalard <jchalard@google.com> Merge "Actually use the bigram prediction option."
940b8d81f3631148886d463c725984b35055e842 22-Apr-2011 satok <satok@google.com> Merge "Add an debug option to use spacebar switcher"
cb3320179d39a7983874697a0aa428b127675c9d 22-Apr-2011 Jean Chalard <jchalard@google.com> Actually use the bigram prediction option.

This change also rename methods that should have been renamed in a
previous commit (namely, the
*SetBigramSuggestions family -> *UpdateBigramSuggestions)

Change-Id: I18cac17ba2b93fcc011ea133324f2c7f3532946c
atinIME.java
c5a2b51924ba816a1bcbc1e42ea65e58bd4f44e7 22-Apr-2011 satok <satok@google.com> Add an debug option to use spacebar switcher

Change-Id: Icc483f097696a1c5a2a7ab037afce19c9cfe837f
ebugSettings.java
ubtypeSwitcher.java
b50591295d7c4ff7bb46ddf3e609d0046eb64d18 22-Apr-2011 Jean Chalard <jchalard@google.com> Add an option for using bigram prediction.

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
atinIME.java
ettings.java
89bd776cf68150202d774d62cc1c88664aea5e9f 20-Apr-2011 Jean Chalard <jchalard@google.com> 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
inaryDictionary.java
ditingUtils.java
atinIME.java
uggest.java
serBigramDictionary.java
6c10cf6bf88e80cf48bf81c0195cd5c58b6d2940 22-Apr-2011 Tadashi G. Takaoka <takaoka@google.com> Merge "Rename and reorganize key code"
d2c5fdda862f6dd2a1e020cf674c35fbbc63fc92 21-Apr-2011 Tadashi G. Takaoka <takaoka@google.com> Rename and reorganize key code

Change-Id: I13d6fef7af1c4356a22b0e8aebc9e613b1693ece
atinIME.java
49a11524fc165542c211487485bcc4967ce27660 21-Apr-2011 satok <satok@google.com> Fix language selection settings

Change-Id: I99e2039579a5bd606a8e698cdee2739465b998bc
ettings.java
bdb3d6909a99656c7f85fa7f5a9c60b63086d4ef 21-Apr-2011 satok <satok@google.com> Merge "Check the availability of layouts for showing the input languages in the settings"
15a0ba6d74feed57124938336f951ae14aa47ad9 21-Apr-2011 satok <satok@google.com> Check the availability of layouts for showing the input languages in the settings

Bug: 4316889

Change-Id: I746b3ff79c2a6cd4925fca1817d5b209623b5108
nputLanguageSelection.java
ettings.java
uggest.java
46ca84584810dfe606e709b3fe283cbde8aba5f5 21-Apr-2011 Tadashi G. Takaoka <takaoka@google.com> Compute content and visible insets even in voice mode

Bug: 4317779
Change-Id: If54d15466db9d0362b4470a2ba4618377bdffc2a
atinIME.java
0c72ea1c925c6f022e4cdcb126843b72bd8bb09f 20-Apr-2011 Jean Chalard <jchalard@google.com> Remove a useless import.

Change-Id: I911e3e928a45bbca352a87e6b0616a2ba9bd9e9c
utoDictionary.java
5454ff5a66e681a034ceae6ffc9847ed9eb959d3 20-Apr-2011 satok <satok@google.com> Merge "Tweak the normalized score for the words with spaces"
c9bc5c8d341666524a15e3c9aef3a50d1e294223 20-Apr-2011 Jean Chalard <jchalard@google.com> Merge "Move language-specific keyboard setting to resources."
22104663fc3ed9228c6a6ac35a893b23e50c8b33 20-Apr-2011 satok <satok@google.com> Tweak the normalized score for the words with spaces

Change-Id: Icc0c4fd0474ed5094fb274a6ea745ca583ba524d
tils.java
c899038eee5c01d520a2707cca01ee093a674d05 20-Apr-2011 Jean Chalard <jchalard@google.com> 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
inaryDictionary.java
lag.java
uggest.java
0aae85fb671b300130b1c842d8a9a4ec4a49a3d8 20-Apr-2011 satok <satok@google.com> Merge "Tweak edit distance"
e18ba4275f7fedfc2f1be13799a8c73d22b53e02 20-Apr-2011 satok <satok@google.com> Tweak edit distance

- The edit distance of transposed characters will be changed to 1 from 2

Change-Id: I369e2f94278b3b290957eef43d23cb7048166a99
tils.java
aafa17e2831e4b823df1f1a89ae81cbbcc286fed 19-Apr-2011 Jean Chalard <jchalard@google.com> Fix a typo.

Change-Id: I245deb5af6b504ff20617929c0510036d0c930d5
uggestedWords.java
d9786ce2e389c8c02af7773b53b5c44fe4fa0b0c 19-Apr-2011 Tadashi G. Takaoka <takaoka@google.com> Refactor key preview code

This change removes mOldPreviewKeyIndex from KeyboardView.

Bug: 4298393
Change-Id: I832eb6deab7e078609973bf0b8be09f73db204d7
atinIME.java
88808fcdd41c901072f3d224fa109182b26af22d 18-Apr-2011 satok <satok@google.com> Show all languages supported in LatinImeGoogle in InputLanguageSelection

Bug: 4311203
Change-Id: I7a94e9697758cb79743c026e7f1c023f618a9aa1
nputLanguageSelection.java
bc3dba451a7af85eab600968fbafda3040b7ced4 18-Apr-2011 satok <satok@google.com> A fix for handling dummy voice subtypes

Change-Id: I75d4d1625e0925d01ae84c9577e15087d83e4191
ubtypeSwitcher.java
4e3bd58b862afadd0325746b5c7ca9145b771762 15-Apr-2011 Jean Chalard <jchalard@google.com> Allow use of assets for data in the dictionary content provider.

This update is necessary to allow dictionary content providers to use
assets, which are part of their apk, as data to pass to the keyboard.
Using plain file descriptors doesn't allow for sections of files to
be correctly used.

Change-Id: Ia94c26d6387bce61c73d38f5c2821f20e50e54d4
inaryDictionaryFileDumper.java
646d950ed8d2b2555df92855e18b350fd7761b21 14-Apr-2011 Jean Chalard <jchalard@google.com> Receive a broadcast that the dictionary has been updated.

Change-Id: I9751cc627a835a4061f144c48ff51e9d81b2c93b
ictionaryPackInstallBroadcastReceiver.java
atinIME.java
6d9021527a38ba1e94225020389621a0d7227aa1 14-Apr-2011 satok <satok@google.com> Fix for language bar switching

Change-Id: Id3974642b62b012968c537eff7c1a7ee37e2def2
atinIME.java
dc3d4e8c06c099c3170a9503cf3a73c7f5569ed6 13-Apr-2011 Tadashi G. Takaoka <takaoka@google.com> Merge "Fast key preview"
7a3d3ae17f7a8ca0b44e9c92328a7de7cbc80f92 13-Apr-2011 Tadashi G. Takaoka <takaoka@google.com> Fast key preview

Previously the key preview was implemented by PopupWindow. The key
preview popup window would be dismissed and shown each time the key
was released and pressed. It turned out that it was taking several
milliseconds.

This change implements the key preview by a simple TextView which will
be layout-ed at absolute coordinates within the screen FrameLayout.
And dismissing and showing the key preview is implemented by the
TextView's visibility.

This implementation needs careful coordination of candidates.xml
layout and LatinIME.onComputeInsets to control suggestion strip
visibility.

Bug: 4179964
Change-Id: Id6347cb35b91eb14ab20dd2f312e58b54b6625a7
andidateView.java
atinIME.java
88fc9d44186120f9edc5cf7ec0e2af85260fed04 08-Apr-2011 satok <satok@google.com> Support language bar swich for InputMethodSubtype

Change-Id: Ie49f0c1c7aea135331dc1d4a635197b3f4a96e93
anguageSwitcher.java
atinIME.java
ubtypeSwitcher.java
a944574967a35a2b016ea9f747bca3bbdefe8422 08-Apr-2011 Jean Chalard <jchalard@google.com> Merge "Reinforce user-history based bigram use."
b5d17e52fcda39d540822e615bfb7ed5074e0034 06-Apr-2011 satok <satok@google.com> Add logOnSeparator

This is a supplement for I9abb8141f23100d

Change-Id: I529d2a78f4fe630611db4cba830d933370c8c34f
atinIME.java
atinImeLogger.java
extEntryState.java
tils.java
3e2368286294077421240b89e7e3cadb435ce4e0 06-Apr-2011 Jean Chalard <jchalard@google.com> Reinforce user-history based bigram use.

- Have user-history based bigrams used as soon as they are entered,
not after 6 times.
- Limit bigram frequency to 255 (this limits the multiplier to 1.8, and
has no effect on main dict bigrams which already have this limit)
- Some TODO resolving

bug: 4192129

Change-Id: I4777f1a58c43dd55381c4b01252d722ab3a70547
xpandableDictionary.java
serBigramDictionary.java
fd58877d4ffaf4e990171d81b283e73952fb788b 01-Apr-2011 satok <satok@google.com> Merge "Add settings for theme, userfeedback and other settings (temporary)"
8f9b86fec52652405d81ee2c64bf6a378ec119dc 01-Apr-2011 satok <satok@google.com> Add settings for theme, userfeedback and other settings (temporary)

Change-Id: I063c48dbf021f5608c241a3543aa2628b5faaa40
ettings.java
44783b6965e741d9690d3d215b6ec60931a47397 01-Apr-2011 satok <satok@google.com> Merge "Enable VoiceInput even if there is no shortcut subtype supported"
742900983830386f04ccb004cd4356c8b08c61d0 29-Mar-2011 satok <satok@google.com> Enable VoiceInput even if there is no shortcut subtype supported

Change-Id: I1d455348f56d73ecb942f22c2bbd03f240b489a6
ubtypeSwitcher.java
tils.java
6f18a1fbcccf9cf5ca937b08098601a4fafead29 29-Mar-2011 satok <satok@google.com> Disable Recorrection when APIs are not supported.

Change-Id: I3b8fdc149d350215fd4852a50456824fe3fabe0b
ditingUtils.java
atinIME.java
9115dd272328def247116ccf1ce458d360fec4ad 25-Mar-2011 satok <satok@google.com> Fix some compat bugs and add VoiceInputLoggerCompatUtils

Change-Id: I54ed0853ed4423704a300977d7880678e066a6fb
ubtypeSwitcher.java
e9957752bcaad048746c7a57bbd2c0a59e1918a0 25-Mar-2011 satok <satok@google.com> Added InputTypeCompatUtils

Also Moved utilities related to InputType to InputTypeCompatUtils

Change-Id: Iab8ff5389f624f2abe627ece2acb156b0e1285ef
atinIME.java
tils.java
b2707856aba4fc9b063f26305f1fb603b19c1701 24-Mar-2011 satok <satok@google.com> Added InputConnectionCompatUtils and EditorInfoCompatUtils

Change-Id: Ie69d5e90c4ee978d3ecb40b68e6466082569ca7a
atinIME.java
5a41db8814782a1eb15a1b095a4cd81ea2ca8daa 25-Mar-2011 satok <satok@google.com> Merge "Moved a functionality of setOverScrollMode to InputMethodServiceCompatWrapper"
a3ef6cde2158b4a76c70070d790959b03ef0e9d1 25-Mar-2011 satok <satok@google.com> Moved a functionality of setOverScrollMode to InputMethodServiceCompatWrapper

Change-Id: Ie473c9fced9f0a8da5643390b44aa4b86128396d
atinIME.java
01829b884742a9eaa6cc4ef9609ac2cf077ef99b 25-Mar-2011 satok <satok@google.com> Merge "Added VibratorCompatWrapper"
f000bdc696ffb8f6883f01fb094b7ec05e6942f3 25-Mar-2011 satok <satok@google.com> Merge "Moved a functionality of setting touchableRegion to InputMethodServiceCompatWrapper."
699e429f1913197650cc2fc2d8cb6e506be66842 23-Mar-2011 satok <satok@google.com> Added VibratorCompatWrapper

Change-Id: I7640f051873f42aa15337edc718ac95ec1c51698
atinIME.java
ettings.java
1ddf2a18082d1257e8ec258a870c6ed5f5a54f13 25-Mar-2011 satok <satok@google.com> Merge "Added InputMethodInfoCompatWrapper"
b86905943c0f1cadb2b3df9f2a58e7af84f6b27f 25-Mar-2011 satok <satok@google.com> Renamed Proxy classes

- VoiceConnector to VoiceProxy
- VoiceInputConnector to VoiceInputWrapper
- VoiceLoggerConnector to VoiceLoggerWrapper

Change-Id: I908ddc590c8846cf5cbd80b9c0257cb65c638bde
atinIME.java
ettings.java
ubtypeSwitcher.java
24119dfd414f948b2da214c021cc76e06b3dd41c 24-Mar-2011 satok <satok@google.com> Moved a functionality of setting touchableRegion to InputMethodServiceCompatWrapper.

Change-Id: I8b9fe507885ef5ae7cb09db93a977e23b1bbd0db
atinIME.java
2e36fb68d014838a24d1daa1bcbda04254d69be1 23-Mar-2011 satok <satok@google.com> Added InputMethodInfoCompatWrapper

Change-Id: I5f2970e986afbe3b0b24ccf819f57f524e83ef3f
ubtypeSwitcher.java
tils.java
525028c8979e801ef20ab64a20e653f24fa2e13b 24-Mar-2011 Jean Chalard <jchalard@google.com> Merge "Remove a useless variable."
4fc18095f57333aa6589274afa06e23d17545c76 23-Mar-2011 Jean Chalard <jchalard@google.com> Remove a useless variable.

Change-Id: Ifec283fcd397f7f42933220f19a807879ef6195e
ictionaryPackInstallBroadcastReceiver.java
10dd34de0ffcde0104f7d2dae3a3c9fd66abffcc 19-Mar-2011 satok <satok@google.com> Add InputMethodServiceCompatWrapper for moving the callback from LatinIME.

Change-Id: If6b0180c63738e5e78a20fe5b938ef50d62865d6
atinIME.java
ubtypeSwitcher.java
610f1dc8553cf2ed97e763a06a19380c4a6cd636 18-Mar-2011 satok <satok@google.com> Use reflections for classes related to InputMethodSubtype

Change-Id: Ica53ce879c2b4c5eb47f757fb788a795a881c30e
atinIME.java
ettings.java
ubtypeSwitcher.java
tils.java
0a7cf81ca297f511e0d0d2478a792014d0b62945 18-Mar-2011 Jean Chalard <jchalard@google.com> Merge "Add different ways of reading the dictionary file."
cba93f50c3d46ada773ec49435689dc3e2094385 14-Mar-2011 Jean Chalard <jchalard@google.com> 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
ssetFileAddress.java
inaryDictionary.java
inaryDictionaryFileDumper.java
inaryDictionaryGetter.java
ictionaryPackInstallBroadcastReceiver.java
nputLanguageSelection.java
atinIME.java
rivateBinaryDictionaryGetter.java
uggest.java
tils.java
2cff4d7e4abdb192151f9b4027fc93fe28a8bdaa 17-Mar-2011 satok <satok@google.com> Added CompatUtils for starting a language selector

Change-Id: I158414efaff43d0c6abe1f9af83ed3425992dfb9
atinIME.java
ettings.java
9807ab27eac3a10b299382af8280eb54dca50608 16-Mar-2011 satok <satok@google.com> (Refactor 1) Moved voice related codes to deprecated/voice

Change-Id: I008ac7099c815fb74a9ab374419617b336453f97
atinIME.java
ettings.java
ubtypeSwitcher.java
071f47140cec02197de5e163f45c77990b39457d 15-Mar-2011 Tadashi G. Takaoka <takaoka@google.com> 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
inaryDictionary.java
atinIME.java
uggest.java
e7a2512aa3666e1b891dc7dfc5a0cb28fd66bea9 15-Mar-2011 Tadashi G. Takaoka <takaoka@google.com> 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
utoCorrection.java
inaryDictionary.java
ictionary.java
xpandableDictionary.java
uggest.java
tils.java
d631651b1291aef52bdd6ea7caaf9b95c9704506 15-Mar-2011 Jean Chalard <jchalard@google.com> 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
uggest.java
ab0ee37f52b87756c6d91aecd508fda821aeb4b6 08-Mar-2011 Tadashi G. Takaoka <takaoka@google.com> Disable debug flag in TextEntryState

Bug: 4051276
Change-Id: I980c0dfefdf3ae70935aca9755a55d1c925a23f9
extEntryState.java
bcfce3b3b9dbd4f5db736948b74bd820fc639a08 04-Mar-2011 satok <satok@google.com> Add whitelist dictionary

Bug: 3447571

Change-Id: I538e4e706982129b666ca1ab1085f1b68b69f87f
utoCorrection.java
utoDictionary.java
atinIME.java
uggest.java
hitelistDictionary.java
eaecb56f948a4979e72346f6c5c64b56f7bc7bbf 05-Mar-2011 Jean Chalard <jchalard@google.com> Merge "Demote skipped characters matched words with respect to length." into honeycomb-mr1
07a8406bc184a354ea47fb6352e48df39e35310e 03-Mar-2011 Jean Chalard <jchalard@google.com> Demote skipped characters matched words with respect to length.

Words that matched user input with skipped characters used to be demoted
in BinaryDictionary by a constant factor and not at all in those dictionaries
implemented in java code. To represent the fact that the impact of a skipped
character gets larger as the word is shorter, this change will implement a
demotion that gets larger as the typed word is shorter. The demotion rate
is (n - 2) / (n - 1) where n is the length of the typed word for n >= 2.
It implements it for both BinaryDictionary and java dictionaries.

Bug: 3340731
Change-Id: I3a18be80a9708981d56a950dc25fe08f018b5b89
xpandableDictionary.java
baf263caf4681052fa627abe26efc9abfef40080 05-Mar-2011 Ken Wakasa <kwakasa@google.com> Fix a NPE caused by a null typedWord

bug: 3514797
Change-Id: Ie1056745ded1f848d1e4f70c5344d6969de509b0
xpandableDictionary.java
atinIME.java
c2c44f94e705e74598ec944ab51f3bd13eb50dbf 04-Mar-2011 Tadashi G. Takaoka <takaoka@google.com> Cleanup Suggest to be able to be unit test ready

Bug: 3414081
Change-Id: Ia76afac4b1a61b8953a215b7cbdb7557736f7b9c
utoCorrection.java
uggest.java
dca305dd71f21d5c7a5ccac64ed87560313c2575 03-Mar-2011 satok <satok@google.com> Merge "Move the auto correction functionalities to AutoCorrection.java"
9f67e12a0e3f77985fb8bafe0db4c00e32317b9a 02-Mar-2011 satok <satok@google.com> Move the auto correction functionalities to AutoCorrection.java

- Also removed a quick fix for 2nd or more suggestions.

Change-Id: I7bf46a9cd6a727473e68836954fca160c9d853e6
utoCorrection.java
atinIME.java
uggest.java
4503e2ea9853c1573f60903d8639d82e39e07c56 03-Mar-2011 Tadashi G. Takaoka <takaoka@google.com> Hide shortcut key when the shortcut IME is not enabled

Bug: 3398726
Change-Id: I5e1bfc1fec9047c1c4e4f29fbf79f0fdf9356ffb
atinIME.java
ubtypeSwitcher.java
424f6ec2bcdfad53f571aa72f2979a0ba30d3ca2 03-Mar-2011 Tadashi G. Takaoka <takaoka@google.com> Continue swapping sentence separator and space

Bug: 3504990
Change-Id: I3de44e9d9adb0bcafa2e59685c4cdc257716b1d6
atinIME.java
extEntryState.java
662bb7c26cadd5026cb3d4e5d081aae163bd5a3a 03-Mar-2011 Tadashi G. Takaoka <takaoka@google.com> Refactor TextEntryState not to use enum

Bug: 3504990
Change-Id: Id1ae9715d9f9ba99702e4cd5c243026a84d6861d
atinIME.java
extEntryState.java
1eff7d77c8acaedf043bf00a0b8e750804f64444 03-Mar-2011 Tadashi G. Takaoka <takaoka@google.com> Remove mIsApplicationSpecifiedCompletions flags from SuggestedWords

Bug: 3504990
Change-Id: Ib7588ab05fa8b8ab58bf3bea6ff1f644c53ebb94
andidateView.java
atinIME.java
uggestedWords.java
c2bbc6a4499a6da979381fa0e8e6e855a5ac6aa4 25-Feb-2011 Jean Chalard <jchalard@google.com> Use translation of fallback umlauts digraphs for German.

For German : handle "ae", "oe" and "ue" to be alternate forms for
umlaut-bearing versions of "a", "o" and "u".

Issue: 3275926

Change-Id: I056c707cdacc464ceab63be56c016c7f8439196c
inaryDictionary.java
ubtypeSwitcher.java
e59491460b0411bed430a5ca6eca0c56c5bf18d9 02-Mar-2011 Tadashi G. Takaoka <takaoka@google.com> Remain in previous state while sliding off from shift key

Bug: 3502290
Change-Id: I69b60051863c78727363ae63576c28d87fb71a3a
atinIME.java
6f99d12b0752ecdbceda7e5fddead214f939f533 02-Mar-2011 Tadashi G. Takaoka <takaoka@google.com> Enable re-correction even after revert auto-correction

This change removes the boolean flag mJustReverted. Because we
preserve separator after canceling auto-correction according to
bug#3230708, there is no need for this flag now.

Bug: 3193810
Change-Id: Icea06ece569774b494ffa4ca4a899c898661cc19
atinIME.java
8bf93c4ba550faaf790475e49d83833c8c4f31b3 02-Mar-2011 Tadashi G. Takaoka <takaoka@google.com> Merge "Introduce timeout for "." shortcut"
fc20f2198d6703d65eab22f40f9b8aa2c8e3a0ea 02-Mar-2011 Tadashi G. Takaoka <takaoka@google.com> Introduce timeout for "." shortcut

Bug: 3294239
Change-Id: I1832be8b54cd4d55cd504a3e1e0434aa284f9592
atinIME.java
7e99a28dfcc14f5b19220442db972ca8d786b4fe 02-Mar-2011 Ken Wakasa <kwakasa@google.com> Clear suggestion strip when the suggestion starts

bug: 3488704
bug: 3480132

Change-Id: Ie895d2ad1b58dc65fe16d65baa6fccafd4a142bb
atinIME.java
uggest.java
18e15a1e5e30cf200e935e43a73edef25682de27 01-Mar-2011 Ken Wakasa <kwakasa@google.com> Fix null token error

bug: 3499746
Change-Id: I76bd745b0623f4736c6b0aaf0ab42fd4b7c4f349
atinIME.java
025a5e356ec74dbed7f805a2e43adbb2a35320f8 25-Feb-2011 Ken Wakasa <kwakasa@google.com> Reset the suggestion status when composing span gets cleared

bug: 3353818

Change-Id: I87b80470015dbeb2eaaec9aa4d9d802597c18e19
atinIME.java
952cb7e973bbc4c09728cb5967505f84c80c8bd6 01-Mar-2011 Ken Wakasa <kwakasa@google.com> Refactor recorrection variable and method names

Change-Id: I3cb76e622e33985a187afe0a8928ed7b261615fd
atinIME.java
extEntryState.java
2e04770adfc16344f69d316efd3ed0a617ede330 01-Mar-2011 Tadashi G. Takaoka <takaoka@google.com> Add output variables to BinaryDictionary's test entry

Bug: 3414081
Change-Id: I1d11710476ffadcef67b0dbfbde309e7f8344d8a
inaryDictionary.java
6f4eba814a7f8426617db61f928a965209ebf359 28-Feb-2011 Tadashi G. Takaoka <takaoka@google.com> Add test entry for BinaryDictionary class

Bug: 3414081
Change-Id: I1a3d60698795bf28c477086838e726d498fb6de0
inaryDictionary.java
eaef1c500703b4ee378821884c7b108815ed2983 25-Feb-2011 Ken Wakasa <kwakasa@google.com> Change how to load native lib to be on the safe side

Change-Id: If170d4821b8dbc187f29137ea99d10e30c20955f
inaryDictionary.java
atinIME.java
tils.java
52e96f1e895c3e095875b83d516ea9adbb1a2b2e 25-Feb-2011 Tadashi Takaoka <takaoka@google.com> Merge "Added support for speaking keys through accessibility service."
d77e968942b030722a9d22c45aa2fe31a119eddc 24-Feb-2011 Tadashi G. Takaoka <takaoka@google.com> Merge "Add noSettingsKey private IME option"
6b05d482f475defdd759933cf5f4e3663fa8c165 24-Feb-2011 Tadashi G. Takaoka <takaoka@google.com> Merge "Fix AutoText enabling timing"
4199e29a7d796191d3e13ef07e6e80e91834fe7a 23-Feb-2011 Tadashi G. Takaoka <takaoka@google.com> Add noSettingsKey private IME option

Change-Id: Idf74aa32c9ea565fa6771013e2d37ee952c83a57
atinIME.java
27023341658b4cf5430d18ddb94fd9502ecfe3cb 24-Feb-2011 Tadashi G. Takaoka <takaoka@google.com> Fix AutoText enabling timing

Bug: 3479978
Change-Id: Ic3a9e947536b1508eb2bbe45753d6f7c0e99e416
atinIME.java
fdc4b083098ee16e8e8fa267e8cc2fe99782b439 24-Feb-2011 Jean Chalard <jchalard@google.com> Merge "Allow the user to save words when there is no binary dictionary."
10c169a44dcbaf5784d478c4504eb6328e992f81 24-Feb-2011 satok <satok@google.com> Merge "Add proximity info to native"
7f2ba16aa2adba95e0575a2c6d58f6240154f313 23-Feb-2011 Jean Chalard <jchalard@google.com> Allow the user to save words when there is no binary dictionary.

At the moment, if there is no binary dictionary, even when pressing the
word in the suggestion strip the option to save in the user dictionary
is not displayed. This change addresses that.

Bug: 3363756
Change-Id: I4993a7f81ed15ab948a3098cdc49663e0f109e4a
atinIME.java
dcade18113286a132a2f5fb508fdba836470c3fb 14-Jan-2011 Alan Viverette <alanv@google.com> Added support for speaking keys through accessibility service.

Issue: 3366636

Change-Id: I70a2ebb4420782ba4d7d874ffc2259bb1b80446f
ccessibilityUtils.java
atinIME.java
8fbd55229243cb66c03d5ea1f79dfb39f596590d 22-Feb-2011 satok <satok@google.com> Add proximity info to native

Bug: 3311719

Change-Id: Ie596304070e321ad23fb67a13bf05e2b6af1b54b
inaryDictionary.java
atinIME.java
ordComposer.java
8efc0addce3cd1a32618bf18bafabaaca2b498b0 23-Feb-2011 Tadashi G. Takaoka <takaoka@google.com> Fix privateImeOptions parsing

This change deprecates "nm" private IME options and introduces new
private option, <package name>.noMicrophone, instead.

Change-Id: I9d5e3daaead2cdd42e017cd29f5f786ef3ba3649
nputLanguageSelection.java
atinIME.java
tils.java
cb97c2f1407364b24dc1a54226481a55501d1533 20-Feb-2011 Tadashi G. Takaoka <takaoka@google.com> Refactor keyboard mode holding variables

Change-Id: Id8d4e780a98292fda63b1e5bbf739eda78935a3b
atinIME.java
ubtypeSwitcher.java
tils.java
a5d58497018f465080f08fbbfed35de883bc8be3 18-Feb-2011 Jean Chalard <jchalard@google.com> Force autocorrection of matching words with different accents.

When entering a word without accents the user expects the system to
add accents automatically if there is no other matching word. This
patch ensures the accented version is promoted accordingly and
autocorrection really takes place.

Issue: 3400015

Change-Id: I8cd3db5bf131ec6844b26abecc1ecbd1d6269df4
tils.java
050c0462dc2ada5a5afecec5b6745693c5066b85 20-Feb-2011 Tadashi G. Takaoka <takaoka@google.com> Display language name on spacebar even in symbol keyboard.

Bug: 3468634
Change-Id: I1a25eb71ddbd7efae6f40ea357714924a9d56dc4
atinIME.java
ubtypeSwitcher.java
4b13b4f94215368c6387b2564bdaf2cbcbe4c130 19-Feb-2011 Tadashi G. Takaoka <takaoka@google.com> Add "passwordInput" attribute to case tag of Keyboard

This change also introduces number password (a.k.a. PIN) layout. The
text password layout will follow.

Bug: 3384942
Change-Id: I50b5e413e47a28d5285fd0468115e11ce46c7f18
atinIME.java
tils.java
290b4a8ff96113645c24bc6504d41ad33449ccff 17-Feb-2011 satok <satok@google.com> Merge "Not to make a thread at changing view from keyboard to voice"
060efb6d82af1f896d90cb845c8ae07c726f85e1 17-Feb-2011 satok <satok@google.com> Not to make a thread at changing view from keyboard to voice

Change-Id: If3f89b3e9774c566a1bb2119b161c42b715e6709
atinIME.java
eebbe54113300c82c848298d10e0375c6e815b7c 17-Feb-2011 Ken Wakasa <kwakasa@google.com> Merge "Fix password variation check code"
16ee377bcd5fd13cd10e88da1b95a0059786306a 16-Feb-2011 Ken Wakasa <kwakasa@google.com> Fix password variation check code

Change-Id: Id994112a029982b4dabd6ebca34edd1d787e5ae2
atinIME.java
887f11ee43ad621aa6ad93d535ab7f48dec73fc7 10-Feb-2011 Tadashi G. Takaoka <takaoka@google.com> Remove next letters frequency handling

Bug: 3428942
Change-Id: Id62f467ce4e50c60a56d59bf96770e799a4659e2
inaryDictionary.java
ictionary.java
xpandableDictionary.java
atinIME.java
uggest.java
serDictionary.java
ordComposer.java
a7b2ac26ee2b9aef6f8cd95849c7d8edbff5082b 15-Feb-2011 Jean Chalard <jchalard@google.com> Remove a useless flag.

This has become useless when LatinIME stopped being a
SharedPreferenceListener.

Change-Id: I708ec3c3a299ead18548c85b435b45558c984e8d
atinIME.java
b1e05d6638b7eab3c43d9b6b83970cd7a1867eee 14-Feb-2011 Ken Wakasa <kwakasa@google.com> Fix NPE

bug: 3446590
Change-Id: Iea5bd8f63f3322496b5d68539f0215d5d01e68d1
serDictionary.java
75fa4b8c0d77784d4baf16cdccb2216aab65245d 14-Feb-2011 Jean Chalard <jchalard@google.com> Merge "Add stack dumper helper function."
5b85d032cd0ade501fa967fde33d4309f2b78f07 10-Feb-2011 Jean Chalard <jchalard@google.com> Add stack dumper helper function.

Change-Id: I78e5aef3cc6abfeb764a7e8a432f063f18d56da2
tils.java
9a5d2ba03e7c8caf82cce64aa254d2177a72a8cf 10-Feb-2011 Jean Chalard <jchalard@google.com> Stop listening on shared preferences change.

It appears it is not useful to listen to this change, because in any
case, settings will be reloaded when the view is shown again or when
IME is changed.

Change-Id: I08dddccc630b01718da7fab011ce14f189dd31c3
atinIME.java
ubtypeSwitcher.java
33e0b1e79e464ac48a09433bbfcbb17ded620452 08-Feb-2011 Tadashi G. Takaoka <takaoka@google.com> Add unit test helper method to BinaryDictionary and Suggest

Bug: 3414081
Change-Id: Idee64010f2f423d3c7c548d0279c7bf287088762
inaryDictionary.java
uggest.java
39c323eb1236797cab6fea432a5ee55f48344a5c 08-Feb-2011 Tadashi G. Takaoka <takaoka@google.com> Merge "Move and rename computeProximityThreshold"
f0d99b8677afdde39c16d414d44bfafcaea94b50 08-Feb-2011 Jean Chalard <jchalard@google.com> Make the keyboard sound on by default for xlarge screens.

Also change the name of the default value for re-correction for
consistency with other constant names.

Bug: 3426884

Change-Id: I615ba640fb17e6d7514b8a0e4f52028eb0e23908
atinIME.java
5ef096f5f601c759e8a4a888aaca91ac5ccd9974 07-Feb-2011 Tadashi G. Takaoka <takaoka@google.com> 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
atinIME.java
uggest.java
cf675cc80898c4958b91776aa6f9476d26389729 07-Feb-2011 Jean-Michel Trivi <jmtrivi@google.com> am 78f9ee97: am 985fb645: Revert I871cfaaf Latin IME Keyboard sounds off by default

* commit '78f9ee978a6a3e8a78ae161034c273d4c8600f6f':
Revert I871cfaaf Latin IME Keyboard sounds off by default
a428945d906da4b2bf06f7308fb4d8337d16f65b 07-Feb-2011 Jean-Michel Trivi <jmtrivi@google.com> am 2fb80292: am 435ea0f5: Fix bug 3426884 Latin IME Keyboard sounds should be on by default

* commit '2fb802922e76f20bfb21c0b988bab4a67c56161d':
Fix bug 3426884 Latin IME Keyboard sounds should be on by default
985fb645ef7250837a4a5d317f436dd47de71e4d 05-Feb-2011 Jean-Michel Trivi <jmtrivi@google.com> Revert I871cfaaf Latin IME Keyboard sounds off by default

Change-Id: If4b90daa04df0b554faf2886fe83410e086e5b9c
atinIME.java
435ea0f5dc5f89681e27399895dac8104c2bc3a0 05-Feb-2011 Jean-Michel Trivi <jmtrivi@google.com> Fix bug 3426884 Latin IME Keyboard sounds should be on by default

Change the default value when retrieving the PREF_SOUND_ON property
from the Settings from false to true.

Change-Id: I871cfaaf1f33b5e0301c84ee9c94f1c429901021
atinIME.java
c98a943edaf03bb114172b31b041b0a6b952c043 04-Feb-2011 satok <satok@google.com> Duplicate enabled languages when there is only one enabled language

Bug: 3415274

Change-Id: Ibc17733be888044cfa5d1787b8489e642d70d70f
ubtypeSwitcher.java
f5cf266ad97d941cf5abfeffc0798ed410f623a4 03-Feb-2011 Jean Chalard <jchalard@google.com> Rename a member to comply to the member naming policy.

Change-Id: Ie9493f438c6ac371029e52a5d5f6191c7239bf75
ebugSettings.java
f9ec16f9c03545d2b4d0d5a40f23e28bd1826d5f 03-Feb-2011 Jean Chalard <jchalard@google.com> Kill the process when the debug mode is updated.

Killing the process allows for some settings that are read only on
service start up to be correctly read again.

Change-Id: Ia48f2ca4760a530ac47b727f290d606715cb6bde
ebugSettings.java
ea55bf5df7d26d12b36c47141bfbac5730c3929a 03-Feb-2011 Tadashi G. Takaoka <takaoka@google.com> Fix menu option dialog order

Change-Id: Iea619d26a2f2091b71182face2f6a66d188e0287
atinIME.java
8553b5ec315660ab53dd9234e64e1e39ea09ec0f 31-Jan-2011 Jean Chalard <jchalard@google.com> 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
andidateView.java
uggest.java
eaa091da78b5c815dcc7a0aeed8eb725f60d69e5 31-Jan-2011 Ken Wakasa <kwakasa@google.com> Merge "Fix subtype settings activity string"
435bd31db334a1a7d0b7ad645fd58821992c7ec9 30-Jan-2011 Ken Wakasa <kwakasa@google.com> Fix subtype settings activity string

original (abandoned) change: I78463bbb

Change-Id: I1ef4df882fb09dd31a77e8f12d30d03460ecaada
ettings.java
728115493e14f84d5f02a4812c8086a378813364 31-Jan-2011 Jean Chalard <jchalard@google.com> Do not read the pop up setting if the config says not to.

If the configuration says the device should not display the "Pop up
on key press" setting, then do not read the preference and always
use the default setting.

bug: 3406181

Change-Id: Ice2989760cda1d40387ed88311144cbf2c114b93
atinIME.java
faf437b5078e882b630706cd315c335f204ab861 27-Jan-2011 Tadashi G. Takaoka <takaoka@google.com> Add hack to translate sudden move to up/down events

This change also gets rid of unnecessary debug messages.

Bug: 3400735
Change-Id: I3f003b1c2b553a2f841d4880f348a012d2d9c8ad
tils.java
b5d7857fbc28d311d93de10d9e99f26045a518f0 27-Jan-2011 satok <satok@google.com> Merge "Fix auto-correction threshold and promote full matched words" into honeycomb
14e427d5bb13d59d23fb317ef90a6c44ae279425 26-Jan-2011 satok <satok@google.com> Fix safety net not to be enabled at aggressive autocompletion mode

Bug: 3374359

Change-Id: I7b1dbeb64a87dda05397c236bb58da292f819471
atinIME.java
uggest.java
tils.java
58c49b91322847dc453742cb34c2899da9b44479 26-Jan-2011 satok <satok@google.com> 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
uggest.java
tils.java
5c35e4109fc5a035605605b62bf5e5a5888b0f6b 26-Jan-2011 Tadashi G. Takaoka <takaoka@google.com> Merge "Fix BroadcastReceiver leakage in SubtypeSwitcher" into honeycomb
123c4a38514c003aac50caed7ad3cb6ab8f2515a 26-Jan-2011 Tadashi G. Takaoka <takaoka@google.com> Fix BroadcastReceiver leakage in SubtypeSwitcher

Bug: 3345931
Change-Id: If31a6e803ea7e1a857085ced354722c484fda075
atinIME.java
ubtypeSwitcher.java
b5e00d5841b946de8970875231456228ae0eb6b1 26-Jan-2011 Ken Wakasa <kwakasa@google.com> Fix NPE in isCandidateStripVisible()

Change-Id: I03d3c4806b51e7f902c43887a6769bffbffeccaf
atinIME.java
5cd87e1b1c4258e8d016518914eccfbb4437cace 24-Jan-2011 Tadashi G. Takaoka <takaoka@google.com> Disable shortcut key when network is not available

Bug: 3345931
Change-Id: I1deef774598b8e78da4404535b6d3814464a9d2d
ubtypeSwitcher.java
aa0458f917bb823efab6245f08c65e8f2f7327ac 25-Jan-2011 Ken Wakasa <kwakasa@google.com> Fix Input options dialog

bug: 3387860
Change-Id: I81e57ca08e07e4c2a68196ca173b764c40fbeb17
atinIME.java
6d0ff1d070584cd30753b7425be39fc578f198c3 25-Jan-2011 Ken Wakasa <kwakasa@google.com> Merge "Revert "Implement callback to handle touch event outside SoftInputWindow"" into honeycomb
00eb3658734078df46b6fe88b8b6aa8b79d327c9 25-Jan-2011 Tadashi G. Takaoka <takaoka@google.com> Revert "Implement callback to handle touch event outside SoftInputWindow"

This reverts commit de59a84029d3d3ec114b5b0f2eca0b3752982fef (Ie8d4469b).

The requested feature has been implemented by I92d98bed.

Bug: 3238092
Change-Id: I9d53030b3d5c9a0f24883292a93576a3231813aa
lipTouchEventWindowCallback.java
atinIME.java
indowCallbackAdapter.java
099b4dc6ec4cf727e88ebea2a3d88b1ecc0ae55a 25-Jan-2011 satok <satok@google.com> Merge "Avoid disk writes on UI thread." into honeycomb
9313bef894cef4be2f5821be1d812b30f1451894 25-Jan-2011 satok <satok@google.com> Avoid disk writes on UI thread.

Change-Id: I0a498e47afb2c9a5241e2f329c39e266550135a5
ubtypeSwitcher.java
15638aec336139e05c2f91140da69fe6d7b4c307 25-Jan-2011 Jean Chalard <jchalard@google.com> Show the value of the "Show suggestions" option in summary.

Have the "Show correction suggestions" option display its value
in its description.

Bug: 3282448
Change-Id: Id76b5032ed5776d0567e1679d2a74ee758045919
ettings.java
85996b472a0ec5fc31e57c52aa46c8c7794689bb 25-Jan-2011 Tadashi G. Takaoka <takaoka@google.com> Reuse language_selection_title string resource for option dialog

Bug: 3385831
Change-Id: I23f587815f7fca3190bd0aa669bb6a2378d34ea8
atinIME.java
35f1c6a73cef75c3a966ea8347e9ed70ad88a2ea 24-Jan-2011 Luca Zanolin <zano@google.com> Fix resetting the status of VoiceIME when the user is switching from one VoiceIME to another Voice IME

Change-Id: Ibbbe3ed6c4e2e7e3c1266daddf109742bd8d97b6
ubtypeSwitcher.java
bd0de0f15108f5d08e2a734807255c30ea3030c7 24-Jan-2011 satok <satok@google.com> Update shortcut IME when user changes the language of keyboard.

Bug: 3329578

Change-Id: I59653ec7b1077e88be3767da9f4190d820fad4d1
ubtypeSwitcher.java
85a6175f4925381fd6be9285520d270d0b6f5cd4 24-Jan-2011 satok <satok@google.com> Merge "Set minimum height for RecognitionView in the case that there is no keyboard view loaded." into honeycomb
8cacb024cf400241f9885cccee782c286cbf1330 24-Jan-2011 satok <satok@google.com> Set minimum height for RecognitionView in the case that there is no keyboard view loaded.

Bug: 3352322

Change-Id: I9a7b2a745b47bdc62a96a5cd2c0d8ad717e1b406
ubtypeSwitcher.java
603e72baa26813d47e32b9c274268384e30d7317 24-Jan-2011 Tadashi G. Takaoka <takaoka@google.com> Merge "Implement callback to handle touch event outside SoftInputWindow" into honeycomb
de59a84029d3d3ec114b5b0f2eca0b3752982fef 21-Jan-2011 Tadashi G. Takaoka <takaoka@google.com> Implement callback to handle touch event outside SoftInputWindow

Bug: 3238092
Change-Id: Ie8d4469bc2c6880bdf2a0c4e4eec68bb136b837c
lipTouchEventWindowCallback.java
atinIME.java
indowCallbackAdapter.java
910b73127fa207dd26ec8124000262523b0aac0c 22-Jan-2011 satok <satok@google.com> Add log for voice IME

Change-Id: I7d0a458b3cf41fc9dc679f654347e8870c75185d
atinIME.java
ubtypeSwitcher.java
3d012a57db6b4d75cfeb5e9b957c2b92f72be558 21-Jan-2011 satok <satok@google.com> Merge "Fix touchable region" into honeycomb
9e347d3d448e48229c46aad394ec9bd60cd5807b 21-Jan-2011 satok <satok@google.com> Fix touchable region

Bug: 3238092

Change-Id: Ie2087086af90ba51e0e310f9e46964e450561cbe
atinIME.java
f3df63a93a8f623e2aca5895ee749bd297b58d12 21-Jan-2011 Tadashi G. Takaoka <takaoka@google.com> Update suggestions if user typed word is found in dictionary

This change aslo eliminates duplicate suggestion from past
suggestions. And call setTypedWordVaild to past suggestions.

Bug: 3367722

Change-Id: I7ffaa2f7e4e30b3951b6c2df002d269671c9d654
atinIME.java
uggestedWords.java
15a7e837ab619df1e3844cd59b337c6ac56a0daf 21-Jan-2011 satok <satok@google.com> Merge "Dim previously suggested words" into honeycomb
6f7218627eda110a8454053f8ecb7b80edfdc8ce 19-Jan-2011 satok <satok@google.com> Dim previously suggested words

Change-Id: Id673c03bfa22ea9ce1bedb5174d8309a37a2a460
andidateView.java
atinIME.java
uggest.java
uggestedWords.java
58d6d0615d62c45c390bb4c5c0e3d2efabac814d 21-Jan-2011 satok <satok@google.com> Disable touchable region until we come up with correct implementation

bug: 3373640

Change-Id: I22448b779b0adc60f590aaef916075c7847dcdc9
atinIME.java
a2ad96d95986eb61c3d2d5abce154fb4c3803cac 21-Jan-2011 Tadashi G. Takaoka <takaoka@google.com> Make settings dialog cancel-able by touching outside

Bug: 3374426
Change-Id: I6ba9b82d4481c43c78b59e78dcf22cd9875a8240
atinIME.java
2fa21f5854e1565deb139e0bf22719fecc5340bc 20-Jan-2011 Tadashi G. Takaoka <takaoka@google.com> Add input method subtype selector and IME settings dialog

Bug: 3351762
Change-Id: Ic1767faac6d4470a89cacb851d449ac53b2f8205
atinIME.java
tils.java
fefda4e6df5c2f8e2b2730dfe5b88644a1caaa6b 20-Jan-2011 Ken Wakasa <kwakasa@google.com> Refine InputMethodInfo API

bug: 3370297
Change-Id: I16073e6b8b90a06a20e506dac66e3ca25b4712d0
ubtypeSwitcher.java
6845da8d7b940018c4ef77646f0028d131ed2753 20-Jan-2011 satok <satok@google.com> Add touchable region

Bug: 3238092

Change-Id: I3cda3106a61c40c3b66741dc38c9ff4cc55f487b
atinIME.java
4022a79957476450647b4c1c32c02a2d725e5589 19-Jan-2011 satok <satok@google.com> Merge "Add subtype languages" into honeycomb
be324535f63420a283d5eb4ed889052b2c941c31 19-Jan-2011 satok <satok@google.com> Add subtype languages

Change-Id: Ib251bd63f79281a4dc1739b213b16e8a936ea319
ubtypeSwitcher.java
89764ad4ac5415fb9753c38671b1fa18b9cdd390 19-Jan-2011 Jean Chalard <jchalard@google.com> Simplify text correction settings in latin IME.

Conditionally remove the "Quick fixes", "Bigram suggestions" and
"Usability study mode" options, depending on configuration.
When disabled, have the quick fixes and bigram option become
false if autocorrect is off, and true otherwise.
Also reorder options to bring "Auto correction" above "Show
suggestions".

bug: 3282448

Change-Id: Ib7fd928be417a816ef9e21423a531773069b7468
atinIME.java
ettings.java
ce9c4171842d37fccb2cc5fe0cbcba06998ddf32 19-Jan-2011 Jean Chalard <jchalard@google.com> Change separator titles in settings screen.

Add a "General" category to enclose general settings, and rename
"Word suggestion settings" to "Text correction".

bug: 3282448

Change-Id: Ie695683af0646974da82e29e11d1c3a785ef46c7
ettings.java
82411d47ba7e8133ed2390c6920945e139a738ce 18-Jan-2011 satok <satok@google.com> Add a safety net for auto-correction.

Bug: 3353956

Change-Id: I6a32632b2f986f0d9a07aa72f256a2c41cc09873
andidateView.java
atinIME.java
uggest.java
tils.java
8b0febc6f0b6c2bd2a7b135fe1e1b7ff296727c1 19-Jan-2011 Jean Chalard <jchalard@google.com> Merge "Simplify latin IME settings page." into honeycomb
bbd651a00898dabf6b2ae0e715d99953ea81063f 18-Jan-2011 Luca Zanolin <zano@google.com> Change the UI of Voice IME to be more like Voice Search.

There has been a bit of refactoring in RecognitionView in particular to fix the portrait layout.

The main issues found were:

- the size of the keyboard is specified in inches, and
(cm)(inches + inches) != ((cm) inches) + ((cm) inches))

- the height of keyboard background is high as the landscape keyboard, but it higher than
the portrait keyboard. This is not an issue on LatinKeyboard, as it overwrite the
onMeasure method. However, if I use the same image background in RelativeLayout
the Relative layout height is set to the height of the background, thus higher than the keyboard

- the change configuration was not propageted correctly

Change-Id: Id5dca425826997c573ccae7a085d5ddc9719733b
atinIME.java
ubtypeSwitcher.java
da9eb5946c0b0a9050f63c5caf13cc50011c0caf 18-Jan-2011 satok <satok@google.com> Merge "Disable auto-correct when previous suggestion candidates are shown" into honeycomb
26df6b508a2c429a3f7833964ea4df5a77fedaa1 18-Jan-2011 Tadashi G. Takaoka <takaoka@google.com> Merge "Load keyboard correctly when subtype has been changed to keyboard" into honeycomb
cff6d095956106bac8c9af43a314c4923df11e2d 18-Jan-2011 satok <satok@google.com> Disable auto-correct when previous suggestion candidates are shown

Change-Id: I16717f0c67950297a077a15b2b6492180c0bc54b
uggestedWords.java
3f652e24770bcdaa682e8596b5795f7a3d2fc608 18-Jan-2011 Tadashi G. Takaoka <takaoka@google.com> Merge "Clear composing text when the auto-corrected word is reverted" into honeycomb
c1c4ee6b3a8c3ec42edefe42fd183f3cbf67b0bf 18-Jan-2011 Tadashi G. Takaoka <takaoka@google.com> Load keyboard correctly when subtype has been changed to keyboard

Bug: 3299191
Change-Id: I5d75898aca5de25d9955efac52979097e529990b
atinIME.java
ubtypeSwitcher.java
30be3f9845c7b1d5ae14036f816e0f7c55939f37 18-Jan-2011 Tadashi G. Takaoka <takaoka@google.com> Clear composing text when the auto-corrected word is reverted

Bug: 3363133

Change-Id: Ib7582ad354ba16eb8ebc9f0b4f51c8ec3790f578
atinIME.java
fd7d814c81132bdd59146a39dd668532f9514cd1 18-Jan-2011 Jean Chalard <jchalard@google.com> Simplify latin IME settings page.

Do not show the recorrection option on xlarge terminals,
and make it true by default. Also, bring the Auto-capitalization
at the top of the settings page.

Issue: 3282448
Change-Id: I51a9ae6c7e496be2970107277f0a4ac65b12821e
atinIME.java
ettings.java
6c381b38cc19cc8174a7620e5726314a79ed7e43 18-Jan-2011 Jean Chalard <jchalard@google.com> Remove the keyboard popup option by default.

Add an option to mask the sound on keypress preference, and
make it false on xlarge terminals by default.

bug: 3282448

Change-Id: I747272d9edf854dc229aa620836cfa35a437d13f
ettings.java
7766340cac9b79408c307e05460e30d7aca899e0 17-Jan-2011 satok <satok@google.com> Add debug log for subtypes.

Change-Id: I7941adeab3357db1ceb7bc0c9c01a01d6ac9cf98
ubtypeSwitcher.java
d5a6b910e83de6dea3c5813cbf5e219abaccdf8a 17-Jan-2011 Tadashi G. Takaoka <takaoka@google.com> Purge keyboard only when voice input will be invoked

This change also draws the language name in light gray on spacebar
without fading out even when the keyboard locale has not been changed.

Bug: 3362369
Bug: 3361915
Change-Id: I66538b03ce2e48c3441091319d0377176f8118ec
atinIME.java
98353076909cad1c4bbdd70b9f2b3db5d48cea6d 17-Jan-2011 Tadashi G. Takaoka <takaoka@google.com> Merge "Preserve punctuation character after canceling auto correction" into honeycomb
04f815eca4088ece879b1d9fb482bb7a342bfe4f 15-Jan-2011 Tadashi G. Takaoka <takaoka@google.com> Make sure that keyboard is not displayed when voice mode

Bug: 3352347

Change-Id: I43cf5159f8bdcf2bc2c9a48662ea44a43ad4e25d
atinIME.java
504e8d5171edae36ec464a5e0c72cee22bb9ac4d 13-Jan-2011 Tadashi G. Takaoka <takaoka@google.com> Preserve punctuation character after canceling auto correction

Bug: 3230708
Change-Id: I939ca19c9c08d9b79658261b1e654a66af5cc493
atinIME.java
dc64b138b5e3fb3706c0818d0a308fe6e36985b0 17-Jan-2011 Tadashi G. Takaoka <takaoka@google.com> Revert I432be8f7 partially

This change reverts removing SubtypeSwitcher.onConfigurationChanged by careless in I432be8f7.
Bug: 3290290

Change-Id: I796ea01877d61eb750dabdeb3fdbf87666646c56
atinIME.java
ubtypeSwitcher.java
9d446fc13ff57c05c1944054605299a727ae8a9b 17-Jan-2011 Tadashi G. Takaoka <takaoka@google.com> Merge "Place language name at center of spacebar if no space icon" into honeycomb
66432cfc9b7680a653bcf19d0d4250db21155ece 17-Jan-2011 Tadashi G. Takaoka <takaoka@google.com> Place language name at center of spacebar if no space icon

This change also leaves the language name as light grayed after fading out.

Bug: 3290290

Change-Id: I71adf80c9a3b77d2fd34bca458845d85d55cbee7
atinIME.java
3ff0fb77ce812cd6814dce9f52ea222c122c6b2e 17-Jan-2011 Ken Wakasa <kwakasa@google.com> Merge "Fixes in close() in BinaryDictionary." into honeycomb
da50e1e98dadc3733c615dfb8d87fe8b4688c782 17-Jan-2011 Ken Wakasa <kwakasa@google.com> Fixes in close() in BinaryDictionary.

Avoid using 'synchronized' in finalizer as well.

bug: 3340837
Change-Id: I9b28f54e4490ecb844ba33a379f71b625e4246a2
inaryDictionary.java
nputLanguageSelection.java
uggest.java
f250c56a3830a8ed848d2f41cf7cc38ff9cacb58 17-Jan-2011 satok <satok@google.com> Allow implicitly enabled subtypes in subtype switcher.

Change-Id: I30cd9df85fd1927ee9c3bfbe0574167d4953a765
ubtypeSwitcher.java
93e2d777418d5a4e547e60a379d8deb5658692ab 14-Jan-2011 Tadashi G. Takaoka <takaoka@google.com> Merge "Fix froyo-ub-LatinImeGoogle compatibility" into honeycomb
5a88787e674a2079f964f5ffaca7ae01cf979600 14-Jan-2011 Tadashi G. Takaoka <takaoka@google.com> Merge "Add SubtypeLocale class" into honeycomb
34cee317d8c475b5200789143723f86ccd7f47da 14-Jan-2011 Tadashi G. Takaoka <takaoka@google.com> Fix froyo-ub-LatinImeGoogle compatibility

Change-Id: I46fca4735d08552dfb414b2b302b4ed97ae96ab0
ettings.java
de0c8874a4eb1250e8439d9e4e1badca88316670 12-Jan-2011 Tadashi G. Takaoka <takaoka@google.com> Notify keyboard language on space bar when it has changed

This change also introduces the following.
* space bar language switcher is enabled for phone device.
* get rid of spcae key icon from number keyboard of tablet.
* slightly lower the position of language name on space bar of tablet.

Bug: 3290290
Change-Id: I432be8f757bcc84c257770112ff1f6fa7970c584
atinIME.java
ubtypeSwitcher.java
1c835437a54340ccd274f2a27373b1a8ec013105 14-Jan-2011 satok <satok@google.com> Merge "Do not triggerVoiceIME at changing subtype if IME is not shown." into honeycomb
e276d8ddaaff91d5940a71cefb5ecd94fd48ba98 14-Jan-2011 Tadashi G. Takaoka <takaoka@google.com> Add SubtypeLocale class

Change-Id: Ic4c73c313f976ad6df1b4ddf48b914d05a08d283
ubtypeLocale.java
ubtypeSwitcher.java
212368e8771048ba6b60c6426eddc4192fd8b2e1 14-Jan-2011 Tadashi G. Takaoka <takaoka@google.com> Merge "Support "nm" (no mic) privateImeOptions" into honeycomb
96680f28e8e647307f0222500a59eb31ff463236 14-Jan-2011 Tadashi G. Takaoka <takaoka@google.com> Use integer value instead of symbolic name for os version

Change-Id: I1574915ededf5d47d245a3f09692ebbbfe37e4c6
ettings.java
41f7fb51b0966d76a70e8b927ab4f0f21b70107b 14-Jan-2011 Tadashi G. Takaoka <takaoka@google.com> Make input language selection settings work

This change also tweaks the padding of candidate strip for phone.

Change-Id: Iefe4dfeb7015e11d5b2d1566121f719d60b1377e
ettings.java
0f901aab365093f690a0e40b12083d8cb66f7b24 13-Jan-2011 Tadashi G. Takaoka <takaoka@google.com> Support "nm" (no mic) privateImeOptions

Bug: 3331635
Change-Id: Ide160b9317c8f7d966f879dd460640fc4f894e9b
atinIME.java
255831206bf7284d344e3cc3c7a3f7613153f2c8 13-Jan-2011 satok <satok@google.com> Do not triggerVoiceIME at changing subtype if IME is not shown.

Bug: 3325103

Change-Id: I5474553f0b55f286f573af80134e8ef1eeb39354
atinIME.java
ubtypeSwitcher.java
a776b7fc4a0d2c7f05eaed107e9d5db3b575b9d0 10-Jan-2011 Ken Wakasa <kwakasa@google.com> Should update suggestion strip even if suggetion count is 1, in case typed word's length is 1

bug: 3320818
Change-Id: I98ac8e0649de5dfd8b886401d42f2e5bcc2a8a1a
atinIME.java
2faf0a176c836f286c3af84062b97044e3952bfd 10-Jan-2011 Ken Wakasa <kwakasa@google.com> Merge "Clean up: Update variable names to comply with spec of ApplicationInfo." into honeycomb
255c044b0e7632e3bb8bb85ea0672425f30a3a88 09-Jan-2011 Ken Wakasa <kwakasa@google.com> Fix StringIndexOutOfBoundsException

bug: 3325065
Change-Id: Ic3d2dca5b2aa1681d472c7f96b31737e15f4952d
xpandableDictionary.java
90d96615bcb71af7ccbb2318b588aa78c4308e5a 09-Jan-2011 Ken Wakasa <kwakasa@google.com> Clean up: Update variable names to comply with spec of ApplicationInfo.

ApplicationInfo.sourceDir may or may not be apk file name. It can be a directory as well.
The spec just says it's "Full path to the location of this package".

Also, added error handling in loadDictionary().

Change-Id: I5e64d0aba4b1ec7634f4b3ac5537e7a774433ece
inaryDictionary.java
e90b333017c68e888a5e3d351f07ea29036457d0 07-Jan-2011 Ken Wakasa <kwakasa@google.com> Load main dic in native

Follow up to Id57dce51

bug: 3219819
Change-Id: I00e11ef21d0252ffa88c12dffb9c55b0f2e19a66
inaryDictionary.java
atinIME.java
uggest.java
458249e703bded3a1cbd25a2ab2249f9366a8188 04-Jan-2011 Ken Wakasa <kwakasa@google.com> 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
inaryDictionary.java
nputLanguageSelection.java
atinIME.java
uggest.java
a96574fdd5e38a237a35b21a2b7c20a29138c648 30-Dec-2010 Tadashi G. Takaoka <takaoka@google.com> Move NOT_A_TOUCH_COORDINATE constant to KeyboardActionListener

Change-Id: Iff3fde48682a7c56201fc9eb3640755e0090d0ee
atinIME.java
5f922caff80d5067c5af2bbbae2731ef25c9572a 30-Dec-2010 Tadashi G. Takaoka <takaoka@google.com> Snap back to the previous keyboard when sliding input is canceled

Bug: 3316517
Change-Id: Iffaad1eb93b6a014d8445f3e27b0e24c20967daf
atinIME.java
ceaca96b5c1e43d27e0924cf5ec7a4372432565c 28-Dec-2010 satok <satok@google.com> Merge "Fix miss spelling"
9111d76cee03ab58e9c66704f5120c6761587d4b 28-Dec-2010 satok <satok@google.com> Fix miss spelling

Change-Id: I29d92d316525a897c86eab44f948a6c61ae38c35
atinImeLogger.java
tils.java
43046fef25d2b7637bfd1aad2e814af03cd300cf 28-Dec-2010 satok <satok@google.com> Initialize mMode in SubtypeSwitcher and added TODO

Change-Id: If3fa38c5ecf12159cee8d237fa3d5260a9ed66cb
ubtypeSwitcher.java
363cd6ef0f8f8af41a01964a2f0e800f9305d3a2 22-Dec-2010 Tadashi G. Takaoka <takaoka@google.com> Make dismissing keyboard by swiping down as configurable

Bug: 3306370
Change-Id: If4e258ce4db05fb75dcd3b23fefa422c1287955b
atinIME.java
23a3b74722e66fe6998b7eb33292ac6a4e10150d 22-Dec-2010 Tadashi G. Takaoka <takaoka@google.com> Merge "Suppress punctuation suggestions if not needed"
9fb8c6dd48dfa4e45827628a866d9b13c4c6c799 19-Dec-2010 Tadashi G. Takaoka <takaoka@google.com> Suppress punctuation suggestions if not needed

Bug: 3294256
Bug: 3284745

Change-Id: I77d54cbfcc2e809315bab59ecb808ae944982501
andidateView.java
atinIME.java
uggest.java
uggestedWords.java
9aa20e6ad11a6d8bc2ba8fefba6f4e17382b8111 21-Dec-2010 Ken Wakasa <kwakasa@google.com> Ignore case in editDistance()

bug: 3278422

Change-Id: Ibd20488dcec215038970749b181857527311947b
tils.java
68d483e2a261851738a70201474f0e2831a4dcaf 21-Dec-2010 satok <satok@google.com> Merge "Add a parameter to getEnabledSubtype"
127ae5465e12612e30ec4fd94afe4a353295bd7c 20-Dec-2010 satok <satok@google.com> Add a parameter to getEnabledSubtype

Change-Id: Iaa87613086093bc83d155ed2c0113fc513898801
ubtypeSwitcher.java
tils.java
c4f71668d7b8203dc66f0f04c089a363189eb4ce 20-Dec-2010 Tadashi G. Takaoka <takaoka@google.com> Remove multi-tap feature

Change-Id: Ife44b3f9d420d77d2cfb51044a8356f02ed63e8b
extEntryState.java
8aa3f5a3ad6095a3355841ce30bce4877319d0a0 20-Dec-2010 Tadashi G. Takaoka <takaoka@google.com> Cleanup KeyboardActionListener interface

Change-Id: I851eaea479f1590fd404a7a37a9a35d1bdcd378c
atinIME.java
cb2469ae17e0ca8a94767008fef3945cb2a3b406 20-Dec-2010 Tadashi G. Takaoka <takaoka@google.com> Suppress haptic feedback while sliding key input

Bug: 3298222
Change-Id: I9507a98cc833fc6403cf9abf23457748a2bf89de
atinIME.java
5ef421b58afa7bc58be40ed9331ce04998efbf56 19-Dec-2010 Tadashi G. Takaoka <takaoka@google.com> Cancel long press timer when sliding key input is not allowed

This change also fixes auto snap back behavior of key which has output
text, such as smiley key.

Bug: 3297825
Change-Id: Ia06e1abc0fbdff2a26504ddcce1dc7f933b45453
atinIME.java
9b6d1d52d91f8f18952ae3841f4bb0d7309bfc0e 14-Dec-2010 Tadashi G. Takaoka <takaoka@google.com> Add popupKeyboardTemplate attribute to Keyboard

This change
- introduces the popupKeyboardTemplate attribute of Keyboard to
specify XML Keyboard file for popup mini keyboard.
- introduces the maxPopupKeyboardColumn attribute of Keyboard to
specify the maximum column of popup mini keyboard.
- changes the content format of the popupCharacters attribute of Key.
It now represents keyLabel, codes and keyTextOutput of each key of
popup mini keyboard using CSV format.

Bug: 2214959
Change-Id: I539e310f7e38a049ee193de0b4ad5d7afdce37b1
atinIME.java
e9311bc893c71f2a016d67ddb6b6234661e8a4f6 15-Dec-2010 Tadashi G. Takaoka <takaoka@google.com> Update suggestion strip drawables

Bug: 3286297
Change-Id: I51d4051ea22c465f81852e4fb98e48bad9cf57f1
andidateView.java
1d11e7903fa7ed4665d6ffba6b23c51ccc679872 15-Dec-2010 Tadashi G. Takaoka <takaoka@google.com> Fix adding user dictionary

This change is follow up of I9fe45a61

Bug: 3264920
Change-Id: Ic7b95892e36e30fd9fadd7bea011efad7f2f98ca
serDictionary.java
a893ac38f547cf835ffe59dbd588fe497bd063ff 13-Dec-2010 Tadashi G. Takaoka <takaoka@google.com> Merge "Tune padding of candidate word"
4700a6f2b0feb3bd036dc516383449342d05fa9a 13-Dec-2010 Tadashi G. Takaoka <takaoka@google.com> Tune padding of candidate word

Change-Id: I980e568f9b4b87b0f414aa7ce0197dba39a7708f
atinIME.java
7bb84eac3bad8acca2c0a33e1b1a62bcc02022d5 13-Dec-2010 Tadashi G. Takaoka <takaoka@google.com> Merge "Check user dictionary before inserting new word"
c5f13680909f56b355f07a40f712c6da0ef43370 13-Dec-2010 Tadashi G. Takaoka <takaoka@google.com> Check user dictionary before inserting new word

Bug: 3264920
Change-Id: I9fe45a61b2ad2b1ed69d3a0cbc6eebecb4038acc
serDictionary.java
7f1d3fa5d853d9e55ce3c73eb43e8fad67c167bf 12-Dec-2010 satok <satok@google.com> Remove language settings from preference activity

Bug: 3268561

Change-Id: Ia910f0a090dc66c7dd9176999930d8cb763203b0
ettings.java
9ecad8c2e8571ece6f3f7fbb19ceda5be7866cf0 12-Dec-2010 Tadashi G. Takaoka <takaoka@google.com> Fix auto correction threshold values array reference

This change also removes unused argument from Suggest.getSuggestions().

Change-Id: I512f8695d22898bb906e136a66e0ee6b521cd1d1
atinIME.java
ettings.java
uggest.java
uggestedWords.java
4ca16dbd65150359c3884da7cb59a30f19abd4b7 12-Dec-2010 Tadashi G. Takaoka <takaoka@google.com> Highlight auto corrected word

Bug: 3230726
Bug: 3215175
Change-Id: I086324cdab610b50a96d8eb08b81aa89c886ba00
atinIME.java
1b1f7f907f6c7d6e849c88ca06c3608bc84d7c5f 11-Dec-2010 Tadashi G. Takaoka <takaoka@google.com> Cleanup unused string resources

This change also renames some "completion" to "correction".

Change-Id: I156dd7ccafe99a632721f20769d5f0ea5915a564
atinIME.java
ettings.java
uggest.java
7e181fe1010c8eac7814cc67a0c4b3864a10b151 10-Dec-2010 Tadashi G. Takaoka <takaoka@google.com> Introduce SuggestedWords class to represent suggestions list

Change-Id: I81677a785640d37296be8b42c7a74bd0c00edf46
andidateView.java
atinIME.java
uggest.java
uggestedWords.java
a15e45ef45931ba46678b39c159518d8aa2d4d65 10-Dec-2010 Tadashi G. Takaoka <takaoka@google.com> Keep previous suggestions when there is only one suggestion found

Bug: 1647861
Change-Id: I7aa7ceeb93b5d8db69480d73cc8a7177ab6bbb42
andidateView.java
e26ef1bccddc942fdaeada3409c8e8ff18a35008 10-Dec-2010 Tadashi G. Takaoka <takaoka@google.com> Remove Tutorial class and unused debug feature

This change also cleanups compiler warnings.

Bug: 2897373
Change-Id: If972cf45c1eb40436adbddbf71969e5409f4c9c5
utoDictionary.java
andidateView.java
ontactsDictionary.java
ictionary.java
ditingUtil.java
ditingUtils.java
xpandableDictionary.java
nputLanguageSelection.java
atinIME.java
ubtypeSwitcher.java
extEntryState.java
utorial.java
serBigramDictionary.java
serDictionary.java
tils.java
20cdb37bd062ae6cb6d42ad6229a19733476cd55 09-Dec-2010 satok <satok@google.com> Use setInputMethodAndSubtype and shortcutIME API instead of changing only view to Voice Input

Bug: 3201828

Change-Id: If452f0b2d19eeb1f8f6e7e40539ba4bac6759fcd
atinIME.java
ubtypeSwitcher.java
9502cc177cc53678c9ddcc01d4d046f69220e13b 09-Dec-2010 Tadashi G. Takaoka <takaoka@google.com> Remove LatinIME prefix from classes

This change also cleanups preference key string constants

Change-Id: I58510f220a90d00d71a935731abeab87384675bb
ackupAgent.java
ebugSettings.java
nputLanguageSelection.java
anguageSwitcher.java
atinIME.java
atinIMEBackupAgent.java
atinIMEDebugSettings.java
atinIMESettings.java
atinIMEUtil.java
ettings.java
ubtypeSwitcher.java
uggest.java
tils.java
55b9d333c5d260cb5da3f6a2d872bda8c03478d7 09-Dec-2010 Tadashi G. Takaoka <takaoka@google.com> Show auto correction feedback

Bug: 3230726
Change-Id: Iecf6fc837952c4721f6b726edcf16179254179ca
andidateView.java
atinIME.java
8ec36be4f5d7f85a658235ccfeb9c6cb424ddb2a 09-Dec-2010 Tadashi G. Takaoka <takaoka@google.com> Cleanup calling Spannable.setSpan() to set character style span

This change is followup of Iadc11992

Bug: 3230726
Change-Id: I4f6692c3dbfb42986d478f4315105726ff89723a
andidateView.java
522d5c16d20657e7d26009fe9c067404e16a6c2a 09-Dec-2010 Tadashi G. Takaoka <takaoka@google.com> Show underline for auto-completion candidate instead of bolding

Bug: 3230726
Change-Id: Iadc11992d45776f7a4002ee9ebf24828646bcc53
andidateView.java
89c58745d639a4434dfbe600c28dad1bc8bc6888 08-Dec-2010 Tadashi G. Takaoka <takaoka@google.com> Tweak candidate view height and etc.

Change-Id: I91963d0be122baf2274ea03b5028a66259a2cdb6
andidateView.java
59cd73b91675a7a791e186ceb0fe73790ff9595b 08-Dec-2010 satok <satok@google.com> Merge "Suggest excessive characters"
cdbbea735f590784791f0c1fe33a514c4e864836 08-Dec-2010 satok <satok@google.com> Suggest excessive characters

bug: 3193883

Change-Id: Iea7a0fce7ce62d8779a7c7e4613d50db30d82b07
uggest.java
e49bd1c43acad08f103b38430a8bbcba23f325b3 06-Dec-2010 Tadashi G. Takaoka <takaoka@google.com> Implement CandidateView using HorizontalScrollView

This change re-implements CandidateView using HorizontalScrollView and
customized Button, so that the candidate strip can be flingable.

This change also introduces the following features.

- Highlighting candidate strip and space bar is configurable by
@bool/config_candidate_highlight_enabled.
- Candidate strip can be centered with left/right padding if
@dimen/candidate_strip_padding size is greater than 0.
- Candidate text size is configurable by @dimen/candidate_text_size.

Bug: 1575885
Bug: 3230726
Change-Id: Iedf78ff31bc9f2f6291a8e8fb7faa0e6b961dd6d
andidateView.java
atinIME.java
e00b7c5f7bb4058a67487b6bec664d319cf25f08 07-Dec-2010 satok <satok@google.com> Merge "Fix a crash when MAX_WORD_LENGTH is too short."
d024ea605cc6b5b0b9fa1bd838d5b0ebd3901a5d 03-Dec-2010 Ken Wakasa <kwakasa@google.com> Fix an issue with lingering composing span underline after orientation changes

bug: 3246868

Change-Id: Id3887953e195281d677f31fba5feca1e60016bfa
atinIME.java
f5cded1c6cf0f39df13750d4f9f5ba66c1b32964 06-Dec-2010 satok <satok@google.com> Fix a crash when MAX_WORD_LENGTH is too short.

Change-Id: Idcb5aa2685321b8d0ac7d846caecbd1c79e4dd77
inaryDictionary.java
e18bd3e323e7d7448677bb66e8149eea0169c771 05-Dec-2010 Tadashi G. Takaoka <takaoka@google.com> Fix voice key on phone device

This change,
- changes voice key code back to -102
- renames some key code names and method names
- adds mic_slash_holo to drawable-hdpi

Change-Id: I8be3a20921f472ece4298edad2d275f29a7e4955
atinIME.java
571bdb401f670b92bd7710a12a990cb65a99b7d3 02-Dec-2010 Tadashi G. Takaoka <takaoka@google.com> Refactor LatinKeyboard and LatinKey

This change also moves KeyboardSwitcher and related classes to
com.android.inputmethod.keyboard package.

Multi project change with Ib23017b2

Change-Id: Id7d54b24615fe22ebb540ca847549909e346ee24
eyboardSwitcher.java
atinIME.java
atinIMESettings.java
odifierKeyState.java
hiftKeyState.java
ubtypeSwitcher.java
extEntryState.java
utorial.java
5a309f57155fb95667c2ccdda730eaf175de8876 02-Dec-2010 Tadashi G. Takaoka <takaoka@google.com> 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
aseKeyboard.java
aseKeyboardParser.java
aseKeyboardView.java
nputLanguageSelection.java
eyDetector.java
eyStyles.java
eyboardSwitcher.java
atinIME.java
atinIMEDebugSettings.java
atinIMESettings.java
atinIMEUtil.java
atinImeLogger.java
atinKeyboard.java
atinKeyboardShiftState.java
atinKeyboardView.java
iniKeyboardKeyDetector.java
ointerTracker.java
roximityKeyDetector.java
ubtypeSwitcher.java
uggest.java
wipeTracker.java
extEntryState.java
utorial.java
serDictionary.java
711abe675686d866c64981cad05fb6f5e4eeb06c 02-Dec-2010 satok <satok@google.com> Merge "Fix parameters of native functions and refactor Dictionary"
30088259480130e5bac5c2028e2c7c3e6d4c51a2 01-Dec-2010 satok <satok@google.com> Fix parameters of native functions and refactor Dictionary

- created bigram/unigram dictionary classes

Change-Id: I233a28ed8d611870db3f4cf8f25fc45b5d41529b
inaryDictionary.java
8d7ecc70a6572c288064e41235e4ae8ad5b1b47e 25-Nov-2010 Tadashi G. Takaoka <takaoka@google.com> Load keyboard only when subtype is keyboard mode

Bug: 3224990
Change-Id: I1ae1d86dce923464d4474fc7ce02f2ff22067603
eyboardSwitcher.java
atinIME.java
ubtypeSwitcher.java
383d6d8c8170155df4cb67a94a8a80f3a4463cbe 01-Dec-2010 Ken Wakasa <kwakasa@google.com> Disable "touch to correct words" when suggestion strip is off

bug: 3232408
Change-Id: Ic0d5f86288befcd5cf93cd86aaf8936929dbcdcc
atinIME.java
c0007568d9d91e9f1d95c1f6d672007ec6e878cb 01-Dec-2010 Tadashi G. Takaoka <takaoka@google.com> Merge "Key release event should be sent when finger sliding"
d4952c8fe9e71c2b313a68077e03d64c8b5196db 01-Dec-2010 satok <satok@google.com> Move a logic for finding words with a missing character to the native code.

Change-Id: I58338643830ff4f9708f78a9c26f75c8bf2ebf45
inaryDictionary.java
bd20db25be46e342c5a66b00edc8d0fc845da22b 01-Dec-2010 Tadashi G. Takaoka <takaoka@google.com> Merge "Tweak tablet keyboard design"
5d04042663054a12465a52556ba7d7cb4aacfa34 30-Nov-2010 Tadashi G. Takaoka <takaoka@google.com> Tweak tablet keyboard design

This change introduces,
- center align "More" key label
- remove drop shadow from key label
- darker key label color when manual temporary upper case
- narrower pop up mini keyboard
- remove unnecessary key background from pop up mini keyboard
- smaller key label in portrait

Bug: 3216592
Change-Id: I77e0733f467a88aa32e09fcbace56fe08f755229
aseKeyboard.java
aseKeyboardView.java
c0b5c9c43e5eb7a6ed768d56f462ca9ed5c5f913 09-Nov-2010 Tadashi G. Takaoka <takaoka@google.com> Key release event should be sent when finger sliding

This change is cherry-pick I1a020e3d from Gingerbread-MR

Bug: 3132881
Change-Id: I885eab7744369dfb841f9b34d210b6c2aef8f19a
ointerTracker.java
80e459f8c9607ff40dacc406561f2f141b01082b 30-Nov-2010 Ken Wakasa <kwakasa@google.com> Update the voice input warning dialog message string.

Updated the relevant settings menu as well.

bug: 3194809

Change-Id: Ibcd00fcf32f82b7733da155ef6e15e389d53c645
atinIMESettings.java
965004fbe970e5e1bbff442d728997331b5f8007 29-Nov-2010 satok <satok@google.com> Remove excessive call of onKeyboardLanguageChanged in SubtypeSwitcher

Change-Id: I8f85f9b053a70b8ad1755e4f343ac06ecd9e103b
ubtypeSwitcher.java
fa086c90760bc2bedf0b74eacb0fed3bf7ebc2b7 29-Nov-2010 Tadashi G. Takaoka <takaoka@google.com> Cleanup unused Java import

This change also fixes wrong file mode.

Change-Id: Ifcf4c9444ddcdc62d2e4b394891d6eee135c1e8f
utoDictionary.java
inaryDictionary.java
andidateView.java
xpandableDictionary.java
nputLanguageSelection.java
eyboardSwitcher.java
anguageSwitcher.java
atinIME.java
atinIMESettings.java
atinIMEUtil.java
atinImeLogger.java
ubtypeSwitcher.java
uggest.java
serBigramDictionary.java
27d13713bbb291d25a910f97d88a81fdbabddc0e 26-Nov-2010 Ken Wakasa <kwakasa@google.com> Preload SharedPreferences at start.

bug: 3207554
Change-Id: I84072461aee9675cc67897de03f89e9c0036bc1f
ints.java
nputLanguageSelection.java
eyboardSwitcher.java
anguageSwitcher.java
atinIME.java
atinImeLogger.java
ubtypeSwitcher.java
7f0befe1f0e346ec6468f229f337eda32e19f6d8 24-Nov-2010 Tadashi G. Takaoka <takaoka@google.com> Update tablet keyboard layout to the latest design

This change introduces shiftedIcon attribute for Key which specifies
icon to draw the shift key while the key is in shifted state.

This change also intriduces new configurable dimension value
key_label_horizontal_alignment_padding which represents horizontal
padding for left or right alignment of key label.

Bug: 3216592
Bug: 3201839
Change-Id: I3aa7392227ce573c404517678e6340a8d1fcb328
aseKeyboard.java
aseKeyboardParser.java
aseKeyboardView.java
eyStyles.java
eyboardSwitcher.java
atinKeyboard.java
79efbed76f638be298493107fa2d0cd1b5eb529e 25-Nov-2010 satok <satok@google.com> Call showInputMethodPicker instead of showInputMethodSubtypePicker

- because showInputMethodSubtypePicker will be removed.

Change-Id: I255f9bbff77de24ce067f35ee101d368e36edd45
eyboardSwitcher.java
atinIME.java
atinIMEUtil.java
1fb28137f43ae083c773c32440981ac61e83fa5d 24-Nov-2010 satok <satok@google.com> Fix a bug at showing warning dialog at the first time when IME is trigerred in voice mode

bug: 3226268

Change-Id: Ife7c752ad309ef796d9b7cc32517f00c2bb2af34
eyboardSwitcher.java
atinIME.java
atinKeyboardView.java
ubtypeSwitcher.java
2c60d6e28ecf7d6f7e97a504ebfa97e286d931ed 24-Nov-2010 Tadashi G. Takaoka <takaoka@google.com> Support dedicated number/date keyboard layout

Bug: 3009716
Change-Id: Idc12cc9d8ee4f5febfae4e11712e2aaca327a6ea
eyboardSwitcher.java
atinIME.java
atinKeyboard.java
atinKeyboardView.java
6624fd873681160295fe4475aff54512ca905b98 20-Nov-2010 Tadashi G. Takaoka <takaoka@google.com> Support imeOptions condition in <case>

Change-Id: Ie5494601efb29cf65363c4aa3bf5a9ab04a0109a
aseKeyboardParser.java
eyboardSwitcher.java
atinKeyboard.java
59c9930ca98f68aeb6b0b9dc19e29666b8fb152a 22-Nov-2010 Tadashi G. Takaoka <takaoka@google.com> Support colorScheme <case/> condition in Keyboard XML

Change-Id: Ibbfb99e0e2b15df301f83af6739b7bca01ebf490
aseKeyboardParser.java
aseKeyboardView.java
eyboardSwitcher.java
atinKeyboard.java
a963d0b2e4f1dbe011df383394329d3f95d1d728 24-Nov-2010 Tadashi G. Takaoka <takaoka@google.com> Merge "Fix odd "more" key behavior on tablet phone number keyboard"
da64719c6d1bd4211864c27968b5f0b661d1a537 23-Nov-2010 satok <satok@google.com> Merge "Enabled to change the current subtype to voice input subtypes"
4b8bbbadac9276df7ab587a228a84f93d74c5541 23-Nov-2010 Tadashi G. Takaoka <takaoka@google.com> Fix odd "more" key behavior on tablet phone number keyboard

Bug: 3176540
Change-Id: Iaa1f3776d5ac236b2655910ede7522ceac36a9a1
eyboardSwitcher.java
8e09172df1bb176cc899940862c56bed9b9aec4e 20-Nov-2010 satok <satok@google.com> Enabled to change the current subtype to voice input subtypes

bug: 3201828

Change-Id: I4450cbc8ba8829060d702564889c735f1326cf23
atinIME.java
ubtypeSwitcher.java
a4448894039566a2889bdf1a6fa574da45e14412 23-Nov-2010 Tadashi G. Takaoka <takaoka@google.com> Merge "Use normal font for functional key label instead of italic font"
fab243a18317d234cd92f04dbf49c4508e2ba124 23-Nov-2010 Tadashi G. Takaoka <takaoka@google.com> Use normal font for functional key label instead of italic font

This change also uses slightly larger font size for functional key
label according to the v4 keyboard design.

Bug: 3216592
Change-Id: I027f109b7748ade8564dc808487d9a6ce1da9761
aseKeyboardView.java
cc359dddb398f26c412e26906fc120ed5cbf28d7 23-Nov-2010 Tadashi G. Takaoka <takaoka@google.com> Merge "Fix caps lock release in non-distinct multi touch device"
0d0a46da0393c6dd73cccf5e22cb0dd70c99e15a 23-Nov-2010 Tadashi G. Takaoka <takaoka@google.com> Fix caps lock release in non-distinct multi touch device

Bug: 3221869
Change-Id: I7c5d407c465f22945cba37e42683345913b43acc
eyboardSwitcher.java
0b60f831922b9341a7ef5d2eba87aa91580d371f 19-Nov-2010 Tadashi G. Takaoka <takaoka@google.com> Support <key-style/> and keyStyle attribute for Keyboard XML

Change-Id: Ie052e989d0180eecfc8c244ba6c60594a46103d1
aseKeyboard.java
aseKeyboardParser.java
eyStyles.java
atinKeyboard.java
409220583333bdf06290dd9fd42f91b5c0d1b11a 21-Nov-2010 satok <satok@google.com> Refactor to move voice functionarities in LatinIME to VoiceIMEConnector

Change-Id: I593a8187d48338c9c0e7d75c73c2dbfc32400335
atinIME.java
atinIMESettings.java
04448c2978a81b8c479b254e0f40bce128da8f7b 20-Nov-2010 Tadashi G. Takaoka <takaoka@google.com> Make F1 and Symbol keys static in XML file

Change-Id: If869f5ad4fe8f192f89a8679a4abde99a25e02e6
aseKeyboardParser.java
eyboardSwitcher.java
atinIME.java
atinKeyboard.java
atinKeyboardView.java
cd39f2adee5a60e9548ea784c8a41664b3417b7d 20-Nov-2010 Tadashi G. Takaoka <takaoka@google.com> Add keyLabelAlign attribute to Keyboard XML

Bug: 3216592
Change-Id: I88f8055199f2cd0525faf9374114fbebba53b951
aseKeyboard.java
aseKeyboardView.java
45911256fd4e32880e33c42259b19e8d7af70cb1 13-Nov-2010 Tadashi G. Takaoka <takaoka@google.com> Perform editor action IME_ACTION_NEXT/PREVIOUS by tab key

Bug: 3122995
Change-Id: I44280fe1c6cc27f429b311edec71e1027178222d
eyboardSwitcher.java
atinIME.java
atinKeyboardShiftState.java
odifierKeyState.java
07f903afbaff989259624f9b757389748929e51a 20-Nov-2010 Tadashi G. Takaoka <takaoka@google.com> Merge "Fix automatic temporary upper case mode behaviour"
6769c67987f323008647f5d029c02f8cc95272ee 19-Nov-2010 Tadashi G. Takaoka <takaoka@google.com> Fix automatic temporary upper case mode behaviour

This change is a followup of I948ef26f

Automatic Temporary Upper Case mode acts like Normal mode until shift
key is pressed. However, after shift key is pressed, it acts like
Manual Temporary Upper Case mode.

Bug: 3193390
Change-Id: Id3d7a38a1f5905322cd46ded36b1db26576d49af
eyboardSwitcher.java
odifierKeyState.java
hiftKeyState.java
1d8196cd4130ab30761110ccf105545578b91790 19-Nov-2010 Tadashi G. Takaoka <takaoka@google.com> Use "flag" feature of attr.xml to represent keyboard mode

Change-Id: Ibc317ada5167a119477fe8ea2994df6c6462afd0
aseKeyboardParser.java
75fde6489039c09056fb5e64d39630ece5ad57cf 19-Nov-2010 Tadashi G. Takaoka <takaoka@google.com> Cleanup drawable-xlarge resources into drawable-mdpi

Change-Id: I2db335a601ddb0062a637a71289e14cf1d375a1e
eyboardSwitcher.java
f27364600c742509b48857e6b8f17312033e0dc7 13-Nov-2010 Tadashi G. Takaoka <takaoka@google.com> Implement both automatic and manual temporary upper cases

With this change,
- Shift and Shift lock state of keyboard is maintained by
LatinKeyboard.ShiftState.
- Shift key state is maintained by ShiftKeyState object in
KeyboardSwitcher.
- LatinIME informs KeyboardSwitcher that shift key press, release and
long press and KeyboardSwitcher determines which state LatinKeyboard
and ShiftLeyState should be.

Bug: 3193390
Change-Id: I948ef26fda512eb1cb0ebddc89d322c4f4f4d670
aseKeyboard.java
aseKeyboardView.java
eyboardSwitcher.java
atinIME.java
atinKeyboard.java
atinKeyboardShiftState.java
atinKeyboardView.java
odifierKeyState.java
ointerTracker.java
hiftKeyState.java
utorial.java
1d2d3228a393b3c562226936e3523eed4894def4 19-Nov-2010 satok <satok@google.com> Merge "Add a functionarity to handle Subtype"
4ab730dbd34fad323063f2ffd31ce33de746668d 18-Nov-2010 satok <satok@google.com> Add a functionarity to handle Subtype

Change-Id: Ic6055ba218b64f4276e3db99a435f546c3990ee5
nputLanguageSelection.java
atinIME.java
atinIMESettings.java
atinKeyboard.java
ubtypeSwitcher.java
95a5daa3e3af83a65385b81923aed26ceaa64d3f 18-Nov-2010 Ken Wakasa <kwakasa@google.com> Merge "Avoid disk writes on UI thread."
11eb13e04f6b1e0c40b59731858b7d939285d8e3 18-Nov-2010 Ken Wakasa <kwakasa@google.com> Avoid disk writes on UI thread.

bug: 3207554
Change-Id: I285691f9e94d989823fcb5c21615ca50cecddff6
atinIMEUtil.java
279da1da91681923f2eba3d5e3d82f9ad87cd4b6 18-Nov-2010 satok <satok@google.com> Hide space bar preview when space bar switcher is disabled.

Change-Id: I469197a4b3f55335eaee104177f0970cc904bb34
aseKeyboardView.java
ubtypeSwitcher.java
3b776b78924610da2874f3ac555ed5d91a550843 17-Nov-2010 satok <satok@google.com> Move functions in LatinKeyboard related to LanguageSwitcher to SubtypeSwitcher

Change-Id: I777db896bd0287931ce7c810b080ccee1121d34e
aseKeyboardView.java
nputLanguageSelection.java
eyboardSwitcher.java
anguageSwitcher.java
atinKeyboard.java
ubtypeSwitcher.java
0ed7191b4d1013a0b9d2fd1f26733dee7364871d 17-Nov-2010 satok <satok@google.com> Move functions related to LanguageSwitcher to LatinIMESubtypeSwitcher

Change-Id: I5fa306cf311063ff96b6d45faaca2ffe84cddbf9
aseKeyboardView.java
eyboardSwitcher.java
atinIME.java
atinIMESettings.java
atinKeyboard.java
ubtypeSwitcher.java
378a1b516d867671d292900c5d42aef3a0dc1556 17-Nov-2010 Ken Wakasa <kwakasa@google.com> Stop highlighting in suggestion strip after auto-completion cancellation

Follow up change to I2185fcf6

bug: 2847211
Change-Id: I7874bc8400e5a7613bfbae83b790ea6192d287b3
atinIME.java
b643dab73ab9527cc63d896cad81c0cdc92fe5f6 13-Nov-2010 Tadashi G. Takaoka <takaoka@google.com> Refactor KeyboardSwitcher and LatinIME

Bug: 3193390
Change-Id: Id894c9bc574a53966d9efc419ab398bae89c34c1
eyboardSwitcher.java
atinIME.java
atinKeyboard.java
atinKeyboardView.java
utorial.java
10227a71a047706a2290ff0b57f3437d5add7b35 13-Nov-2010 Tadashi G. Takaoka <takaoka@google.com> Implement temporary upper case hint icon

This change partially implements the requested feature. The following
are not supported yet.
- Non-letter key handling on automatic temporary upper case layout.
- Non-letter key handling on shift chording in caps lock layout.
- Hint icons for manual temporary upper case layout are not final ones.

Bug: 3193390

Change-Id: I636da99d1be05b1337935d87c6f4d140661e1cc8
aseKeyboard.java
aseKeyboardView.java
ointerTracker.java
c1e2e827b5d1bba59eb99d322dc101657ec28768 16-Nov-2010 Ken Wakasa <kwakasa@google.com> Canceled auto-completion shouldn't be re-auto-completed

bug: 2847211
Change-Id: I2185fcf6b798a41135c329485914bc035fad5119
atinIME.java
889691eca1ad991a85fb721deb37ecba6a913762 16-Nov-2010 Tadashi G. Takaoka <takaoka@google.com> Refactor shift key state into KeyboardSwitcher

Change-Id: If484d3d7e7a0794ee7fc88f0771229d6f90db466
eyboardSwitcher.java
atinIME.java
odifierKeyState.java
hiftKeyState.java
d7641636db8fe91d9847ac79f5f431963e876ec3 16-Nov-2010 Tadashi G. Takaoka <takaoka@google.com> Refactor UI Handler of LatinIME

Change-Id: Iabae338c32969997cb3c7f612c2e5a6999420e28
atinIME.java
89cfd23f34b40d92143e57a3abd74fdda73ba1a1 16-Nov-2010 Tadashi G. Takaoka <takaoka@google.com> Merge "Refactor symbol key state into KeyboardSwitcher"
6c92ee127df50509d364a2b6d428b223d2cbaa6e 16-Nov-2010 Tadashi G. Takaoka <takaoka@google.com> Refactor symbol key state into KeyboardSwitcher

Change-Id: Idce4e9bf070b08b8a930fd8e800df9c4d8829f8f
eyboardSwitcher.java
atinIME.java
af41759729ef9fedb2b9588ddb88333491cee44d 16-Nov-2010 satok <satok@google.com> Add functions for usability logging

Change-Id: I9b66bde1b5ae76742cb685bbc558ce9570dca50a
atinIMEUtil.java
18e9a7c6fb23a791759cd6845eb1f8aceb7122ed 16-Nov-2010 satok <satok@google.com> Add a logging functionarity for usability study.

Bug: 3193879

- Log char input

Change-Id: I5c1568f81012743b7068d423baa99b0f9d1653f8
atinIMEUtil.java
atinImeLogger.java
7599cfea4a2d56f4779452ec8e8742f7b9629cc0 13-Nov-2010 satok <satok@google.com> Add showing suggestion only on portrait mode and fixing the state of suggestion strip

Change-Id: I7babd1400a3516c87506a3ea4bd46ddaf89e19b4
atinIME.java
atinIMESettings.java
71c353aa875f5237b1dce4e18bd4fe86ce28b58e 13-Nov-2010 Tadashi G. Takaoka <takaoka@google.com> Refactor Tutorial class

Change-Id: Ib8dbcf8f36966988fb0d4efdc6bdb7e30b776a68
atinIME.java
utorial.java
1679432d1c8a8cfe6ff09be0a49792f4af91ab35 13-Nov-2010 Tadashi G. Takaoka <takaoka@google.com> Get rid of the reference to LatinKeyboard from LatinIME

Change-Id: I94286ecec0aa8dbfdfaa74d3a76b744c4a250370
eyboardSwitcher.java
atinIME.java
3009310283ba0e5208b047818bbd0c339f9948c7 13-Nov-2010 Ken Wakasa <kwakasa@google.com> Partially revert I63ad561c

This is required to make cancellations of auto-corrections/completions work.

Change-Id: I091fb9946d4642847fde39d86a6b3b09735e93a8
atinIME.java
extEntryState.java
d98c20b036ff02f99406dabb8cc4fdf4a51cd6c4 13-Nov-2010 Tadashi G. Takaoka <takaoka@google.com> Fix NPE that is caused by null EditorInfo

Bug: 3192772
Change-Id: Ia057d29e070ccbb90ee60df1e141de14de95f820
atinIME.java
b0465116bd3786174ccd0034c8a165ebc723b60f 12-Nov-2010 Tadashi G. Takaoka <takaoka@google.com> Keyboard XML supports switch-case-default tags to select rows and keys

Change-Id: I0d92e513757e765d9de98561205754af5a143650
aseKeyboard.java
aseKeyboardParser.java
eyboardSwitcher.java
atinKeyboard.java
8b00bc4f3281c229ee830f34a78c0ec287902c3f 11-Nov-2010 Tadashi G. Takaoka <takaoka@google.com> Rename KeyboardSwitcher.setKeyboardMode to loadKeyboard

This change also eliminates KeyboardSwitcher.refreshKeyboardCache,
LatinIME.reloadKeyboards() and LanguageSwicther.getLocales().

Change-Id: I5fd4914660ea1c955ddfa0ca62b920f9bcd53e1b
eyboardSwitcher.java
anguageSwitcher.java
atinIME.java
atinKeyboard.java
4174655e23734563775acb9e1e644b31b9e72fa5 11-Nov-2010 Ken Wakasa <kwakasa@google.com> Check the system vibrator availability for the "Vibrate on keypress" preference.

bug: 3021001
Change-Id: I7843a3e4765333c720fd8f258c1fffdf6f090d3a
atinIME.java
atinIMESettings.java
ca26f20fa4903de46e374babbfba8c8a1a5cac93 11-Nov-2010 satok <satok@google.com> Fix states for showing PunctuationList and correction

- Fixed the visibility of the suggestion strip

Change-Id: I63ad561c71464657521661dbd25c72dd34841834
atinIME.java
extEntryState.java
48bc6b158bb2890c1e5cbfe63e93705476ce9673 11-Nov-2010 Tadashi G. Takaoka <takaoka@google.com> Refactor KeyboardSwitch.KeyboardId class

This change defers determining which keyboard should be loaded and
holds the information in KeyboardId object as much as possible. At
keyboard loading time, the determination deferred will be made
depending on the information of KeyboardId.

Change-Id: Ice2455d9e5b21671a250c342c06c043e4baa5355
eyboardSwitcher.java
507495efd57074994fdc2fda78db9d5345f4a3a8 11-Nov-2010 Tadashi G. Takaoka <takaoka@google.com> Refactor to remove KeyboardSwitcher.setVoiceMode

This change also renames KeyboardSwitcher.makeKeyboards to
refreshKeyboardCache.

Change-Id: I76897562d5876a53364dc378e7800ab92fb2a37b
eyboardSwitcher.java
atinIME.java
8aaab7c2867414f53228aa4faa2b8751105ac6dd 09-Nov-2010 Tadashi G. Takaoka <takaoka@google.com> Should cancel both normal and shift long press timers

Bug: 3132881

Change-Id: Ib89e2efa4e68e7d57ac1123df2ec6241f1b902d1
aseKeyboardView.java
ointerTracker.java
f8e30a91537b8b4920887d0d4f0771de3a23c4cb 09-Nov-2010 Tadashi G. Takaoka <takaoka@google.com> Refactor calling KeyboardSwitcher.setKeyboardMode

This change also eliminates unnecessary recursive call in
KeyboardSwitcher.setKeyboardMode.

Change-Id: Iff25fe23b34227d526dee0bbe8710842545c2afa
eyboardSwitcher.java
atinIME.java
59b7bd07301196ac333dabafb5dd80750fcd2987 05-Nov-2010 Tadashi G. Takaoka <takaoka@google.com> Using distance to the edge of key as proximity detection

Because there may be very long key, such as space bar on tablet, we
should not use the distance between the touch point and the center of
key as proximity detection. Instead of that, this change uses the
distance between the point and the nearest edge of key as proximity
detection.

Also this change fixes the bug that space key (code 32) was not
counted in proximity detection.

Bug: 3164020
Bug: 3168138
Change-Id: I687f1ce94a8e944c3f6eea0fe00e18ed6e68e278
aseKeyboard.java
aseKeyboardView.java
iniKeyboardKeyDetector.java
ointerTracker.java
roximityKeyDetector.java
68864723cf8d8e48385bfcaf30237fba25a8895a 05-Nov-2010 Tadashi Takaoka <takaoka@aluminum.tok.corp.google.com> Rename LatinKeyboardBaseView class to KeyboardBaseView

Change-Id: I496ecbfa7d398583d01f821398f49f75d17311d8
aseKeyboardView.java
eyDetector.java
atinIME.java
atinKeyboardBaseView.java
atinKeyboardView.java
iniKeyboardKeyDetector.java
ointerTracker.java
roximityKeyDetector.java
47f795dc8709f95b35888fbcca80c0c18dbe63ed 02-Nov-2010 Leon Scroggins <scroggo@google.com> Treat the new web fields like their corresponding variations.

Bug:2692655
Bug:2460543

Change-Id: I86e814902447ecd5c8b00e399a0143d3dc2ad2cf
atinIME.java
17fcd719de9a0ddcf9fd712481b28038419eec4e 02-Nov-2010 Ken Wakasa <kwakasa@google.com> Make sure there are no modes with settings key on tablet.

Follow-up change to I73b8a502

bug: 3095814
Change-Id: I79bb05c61dc73b036331e17d02c791f08a0168fc
eyboardSwitcher.java
200ece79070750ba702a071908d990f8d1c41f02 01-Nov-2010 Ken Wakasa <kwakasa@google.com> Capitalization for "Quick Fixes" words doesn't work

bug: 3151706
Change-Id: I7770a1d26edb1ea72ee93396181953a724dcc4bf
uggest.java
2a952e9b7ea738e1472cada605847e26c60f787a 29-Oct-2010 Ken Wakasa <kwakasa@google.com> am b5e8c779: am 69db35c4: Make the buttons work for edge pixels of the keyboard

* commit 'b5e8c7799726a5975283fa138ad2870ab02d01a4':
Make the buttons work for edge pixels of the keyboard
69db35c493aa3a6a9f17094bf2180a52ffb2358e 29-Oct-2010 Ken Wakasa <kwakasa@google.com> Make the buttons work for edge pixels of the keyboard

Follow-up change to If7630b89

bug: 3142416
Change-Id: I2660e3d688eb0490363e460d5b4944c89b8ca35c
atinKeyboard.java
roximityKeyDetector.java
dd8c4c0068f55f092e45823b3a194ef47bbca068 29-Oct-2010 satok <satok@google.com> Merge "Increased the size of GRID in Keyboard"
74103ee1b92349eee7b13f3958f494655300b925 29-Oct-2010 satok <satok@google.com> Increased the size of GRID in Keyboard

Bug: 3122894

- Changed width 10 -> 32
- Changed height 5 -> 16

Change-Id: I07354cf5c942974cc25a5e043f41e0f13a09351b
aseKeyboard.java
37a0f2d5de269639d005a21f8ce87f2829087b42 28-Oct-2010 Ken Wakasa <kwakasa@google.com> am e32a77c6: am 9dce586e: Bugfix: IME gives haptic feedback when button wasn\'t pressed

* commit 'e32a77c691567bdb3031d877e80786508bd47e4a':
Bugfix: IME gives haptic feedback when button wasn't pressed
9dce586eaa8a99fac05da398694d6e26b2a6dfa8 28-Oct-2010 Ken Wakasa <kwakasa@google.com> Bugfix: IME gives haptic feedback when button wasn't pressed

bug: 3142416
Change-Id: If7630b89d6c2a8ec38e191c263c03f8f11d3c498
ointerTracker.java
fd0bd57deb53c4cce32810a61133fa44b45dbb7b 27-Oct-2010 Ken Wakasa <kwakasa@google.com> Change suggestion update delay from 100ms to 180ms to avoid flashy suggestion strip with quick multi-finger typing.

bug: 3122641
Change-Id: I385f9eb2e392487d7b4c252553d1f8d7c21da2e4
atinIME.java
8252de1a60cffd859ac1d44cd6c061f78e59a078 27-Oct-2010 Ken Wakasa <kwakasa@google.com> Remove auto capitalization by Shift+puncs

bug: 3133312
Change-Id: I12a05d9028ab2fad07e1819407d63cf8ffd4d30c
atinIME.java
276845c7a9ea90fd34289d060873c8e3a7ed342c 26-Oct-2010 Ken Wakasa <kwakasa@google.com> Follow-up change to revise Caps Lock sequence.

bug: 3122877
Change-Id: I44c539d7c041443f3ad027de4b75a67adf6b2c87
eyboardSwitcher.java
atinIME.java
odifierKeyState.java
eec7bb9386795a740ebbfce39792694373c1c869 25-Oct-2010 Ken Wakasa <kwakasa@google.com> Get rid of mCapsLock in LatinIME.java

Change-Id: I9c6387ee387d53460d23a12225829da344674579
atinIME.java
29ff343f77365e8a11a9b26a0e16a9dc5b7d72d7 25-Oct-2010 Ken Wakasa <kwakasa@google.com> Remove LatinKeyboardBaseView.isShifted() and setShifted() for refactoring

Change-Id: I9a1106b679a9ffb3ae959d90377eef096e5af842
eyboardSwitcher.java
atinIME.java
atinKeyboardBaseView.java
0ce98cbf98c6409ac18fa341f467703d78352a4c 25-Oct-2010 Ken Wakasa <kwakasa@google.com> Get rid of references to BaseKeyboard in Latin-specific classes

Change-Id: I6871a24967b1410bdb14e902bdd311ef82fd4f0b
atinIME.java
atinKeyboardBaseView.java
atinKeyboardView.java
4189eb23082fcd4bf8cfb2085d18e226e0e7ce13 22-Oct-2010 Tadashi G. Takaoka <takaoka@google.com> Revise caps lock sequences

This change also fixes that the popup preview of ALT on symbol
keyboard is not showing.

Bug: 3122877
Bug: 3127255
Change-Id: I978cb30a0d05298274d8ab6541b91323a0fef211
atinIME.java
atinKeyboard.java
atinKeyboardBaseView.java
atinKeyboardView.java
ointerTracker.java
71cc4ef6736aabdf97e550bdc55110e89305d7d7 22-Oct-2010 Tadashi G. Takaoka <takaoka@google.com> Merge "Tablet keyboard should always show "?123" as symbol key"
36af0880c3bf7eaeeb4cdec0c3c519306df22c79 22-Oct-2010 Tadashi G. Takaoka <takaoka@google.com> Tablet keyboard should always show "?123" as symbol key

Bug: 3118554
Change-Id: Ib609799f28dee56a4ded2e8144ac4a0c0d113ad6
atinKeyboard.java
0b1cb2d039466acaeb5f1f180cf2fc60b5482b1e 21-Oct-2010 Tadashi G. Takaoka <takaoka@google.com> Refactor BaseKeyboardParser as Recursive Descendent Parser

Bug: 3082538
Change-Id: Ic0d72c6fe08cfc20db86aeffb10a27efe678095e
aseKeyboard.java
aseKeyboardParser.java
4f6060b8b77989d88f22f8020ec0d8f1db1dc2a9 22-Oct-2010 Tadashi G. Takaoka <takaoka@google.com> Table keyboard should always show return icon on enter key

Bug: 3122750
Change-Id: I75d2b5adff3a349d29d8a56e7b761c26b04683c0
atinKeyboard.java
503797ae0e55c74068470d237fb47c4da13ec4fb 22-Oct-2010 Tadashi G. Takaoka <takaoka@google.com> Make "show settings key option" dependent to device configuration

Bug: 3095814
Change-Id: I73b8a5023b398621a910c953eade252dc6412923
eyboardSwitcher.java
atinIMESettings.java
41338e6c32947d0bb889e0f98c62650b7889e0dd 21-Oct-2010 Tadashi G. Takaoka <takaoka@google.com> Move BaseKeyboardParser to top-level class

Bug: 3082538
Change-Id: If0ddf32bc3811e3c65a7a96503c61ed3351eeb66
aseKeyboard.java
aseKeyboardParser.java
bf77bb7678c1129e291fb743c96f684821f1890d 21-Oct-2010 Tadashi G. Takaoka <takaoka@google.com> Refactor BaseKeyboard parsing code

Change-Id: I241125b5b15c9d6bbba456476f1f4fd3ef9db3f2
aseKeyboard.java
e354a85ef44e13999aaefd735cef7f659090f6e8 19-Oct-2010 Ken Wakasa <kwakasa@google.com> Manual merge of the following Gingerbread changes logically

I8b38e280
Ia3929bb0
If925b546
I1062763d
I901e36aa

bug: 3100311
Change-Id: Ic7e01277ec816e77d34732599b2b9552668b81c2
eyboardSwitcher.java
atinIME.java
atinKeyboard.java
atinKeyboardBaseView.java
58bfa350726c6a9b6b41e44e0313a2a366dab3d2 19-Oct-2010 Tadashi G. Takaoka <takaoka@google.com> Update xlarge drawable of Keyboard

Bug: 3109804
Change-Id: I316f9cfcec377a7d0ea1417e1e3cea55cbdb9e2b
aseKeyboard.java
28d8a488c0ec550d5cdcbf5187beb3a3646752c3 18-Oct-2010 Tadashi G. Takaoka <takaoka@google.com> Disable gesture detector on mini-keyboard

Gesture detector, for closing keyboard by swiping down, must be
disabled not only when mini-keyboard is on the screen, but also in the
mini-keyboard itself.

Bug: 3105595
Change-Id: I548501f7117ca2310943cabb678c1e250e5012ce
atinKeyboardBaseView.java
b0a6f354aca8f643766719c663297e7be3fc6424 18-Oct-2010 Ken Wakasa <kwakasa@google.com> DO NOT MERGE. Add '...' (hint) to period/smiley keys which triggers mini popup by long-press.

bug: 3105185
Change-Id: I901e36aa12dad5968ba1a420fff6a2f2efb16da5
atinKeyboard.java
atinKeyboardBaseView.java
2348ca0e769b3f8027f581426d9de1b401c58145 17-Oct-2010 Tadashi G. Takaoka <takaoka@google.com> Cleanup LatinKeyboard and LatinKeyboard.LatinKey classes

Change-Id: I4c5a37315dea1c7545b77a8a6c93b930927a5a82
aseKeyboard.java
atinKeyboard.java
4571fff019cc1749cea9a7c5fd219db1784a60f2 18-Oct-2010 Tadashi G. Takaoka <takaoka@google.com> Merge "Showing popup preview only when IME is in foreground"
3740a26c21ddbcfffd2ddccee3918810e026a6d4 17-Oct-2010 Tadashi G. Takaoka <takaoka@google.com> Showing popup preview only when IME is in foreground

Bug: 3100922
Change-Id: Icd59fc3978dc1fccb523a368b0a7d4549fc2db78
atinIME.java
atinKeyboardBaseView.java
a2de8f0f835399dfd6c6732235839481a6bfb620 17-Oct-2010 Tadashi G. Takaoka <takaoka@google.com> Save default enter key attributes and restore these if needed

Bug: 3103016
Change-Id: Id8128d5b685ac040afd2c248e1ad17e9aaf1fdf0
atinKeyboard.java
cd7b7d3e8febcfbcab4628d1fc5b87e809ce56cc 12-Oct-2010 Tadashi G. Takaoka <takaoka@google.com> Specify keyboard metrics with physical unit "inch"

Cherrypick I44f3b2eef8086d6e0b0db53d38f08487549060c6 from Gingerbread

This change also introduces the key background drawables which has no
fixed bottom padding. Instead of relying on bottom padding in
drawable, this change also specifies Keyboard.verticalGap with
physical unit. Other keyboard related length, distance and size are
also specified by physical unit.

Bug: 3066107
Change-Id: Ib38355ebfc2f8d5b1d26c4e90eba87196fbeddfa
atinKeyboard.java
atinKeyboardBaseView.java
86953d170d3a1c189628a373a5987cfc4c17c997 16-Oct-2010 Ken Wakasa <kwakasa@google.com> DO NOT MERGE. Revise the setting hint visual and its handling code.
This is a follow up change to I8b38e280.

bug: 3084022
Change-Id: I1062763d87b4498e19598b4e7d99bb91c510c6d2
atinKeyboard.java
atinKeyboardBaseView.java
4e2feed325eb1ae0e19d92ac84201580e94b5643 16-Oct-2010 Ken Wakasa <kwakasa@google.com> am 4b6b11b5: am 8a26e853: Fix an issue of adding extra character.

Merge commit '4b6b11b5064a3b8b604a6441e7a037b0443ec6ed'

* commit '4b6b11b5064a3b8b604a6441e7a037b0443ec6ed':
Fix an issue of adding extra character.
1cbfc6c968378f2e0a20b41677ec2a96bf69b621 15-Oct-2010 Ken Wakasa <kwakasa@google.com> DO NOT MERGE. Follow up change to I8b38e280
Add visual indicator that long press / or @ on F1 key will bring up Settings

bug: 3084022
Change-Id: If925b546829ca8e8806e1f8f89eaf72fc8c220da
atinKeyboard.java
atinKeyboardBaseView.java
8a26e85387d7fb964b76af502a6e89574d85d58d 15-Oct-2010 Ken Wakasa <kwakasa@google.com> Fix an issue of adding extra character.

LatinKeyboardBaseView should have removed "long pressed" pointer tracker from the multi-touch pointer queue.

bug: 3099130
Change-Id: I3d358a373b0de07558a204e9ff5a95e9ece38bcc
atinKeyboardBaseView.java
0661496ee0988391f9214616ef091625bcc7f8cb 14-Oct-2010 Tadashi G. Takaoka <takaoka@google.com> Follow up change of I8b38e280 (DO NOT MERGE)

This is follow up change of I8b38e2803eb32469653484701882af35108eb69a

This change fixes the following when "Voice input on symbols keyboard"
option is selected.
- LatinIME.onCreateInputView fails to show "123mic" icon.
- Email and URL variation keyboard fails to show "123mic" icon.

Bug: 3084022
Change-Id: Ia3929bb0cc5c5c8651af816718c21d1f20e8f016
eyboardSwitcher.java
atinIME.java
atinKeyboard.java
179fa2c03e749df736f43e0838200bec52b4808a 12-Oct-2010 Ken Wakasa <kwakasa@google.com> DO NOT MERGE. Add visual indicator that long press , or mic key will bring up Settings

bug:3084022
Change-Id: I8b38e2803eb32469653484701882af35108eb69a
atinKeyboard.java
atinKeyboardBaseView.java
3d20d999025bbaab96b41d172225a39f7a1017b7 12-Oct-2010 Tadashi G. Takaoka <takaoka@google.com> Specify keyboard metrics with physical unit "inch" (DO NOT MERGE)

This change also introduces the key background drawables which has no
fixed bottom padding. Instead of relying on bottom padding in
drawable, this change also specifies Keyboard.verticalGap with
physical unit. Other keyboard related length, distance and size are
also specified by physical unit.

Bug: 3066107

Change-Id: I44f3b2eef8086d6e0b0db53d38f08487549060c6
atinKeyboard.java
atinKeyboardBaseView.java
323971b51edfded8c4bf3faa54e37f5826a8ece8 12-Oct-2010 Tadashi G. Takaoka <takaoka@google.com> Merge "Follow up change of I4c6df819"
ed3443ebd7af6ecd803c53201687d8c0e5e57d29 12-Oct-2010 Tadashi G. Takaoka <takaoka@google.com> Follow up change of I4c6df819

This change is follow up of I4c6df8197b734feb998da78478a4d9a41f6d92b2

Change-Id: I3b8a82dd71305f34afb2e8b6a705efabdc2bc0cf
atinKeyboard.java
adf24e2eb49acd32d2655a3964f68da1e54c05ec 12-Oct-2010 Tadashi G. Takaoka <takaoka@google.com> Follow up change of If9472a2a

This change is follow up of If9472a2acb029e56790dc4d19ab62e608c970175

Change-Id: I0a474a130f49e2acccbb5a164bdf2984a5bd9042
ointerTracker.java
50a61083d3231e2f56b640c06686381de73aedc6 11-Oct-2010 Tadashi G. Takaoka <takaoka@google.com> Add text variation keyboard layout

Change-Id: I4c6df8197b734feb998da78478a4d9a41f6d92b2
atinKeyboard.java
39004972b145065bf52e32d1d1cb361f96ed4501 11-Oct-2010 Ken Wakasa <kwakasa@google.com> resolved conflicts for merge of fd64e47c to master

Change-Id: I07434c251fafa5eee548a54dae30d91df3a24085
3de6ba6ab9713db4b617e46fa8daa559a816fdea 11-Oct-2010 Ken Wakasa <kwakasa@google.com> am 938c0a37: am 364da8c6: Fix - "Touch again to save" not working for manually picked suggestion when re-correction is enabled.

Merge commit '938c0a3722a9c597931e6f75408dc7ab636d7052'

* commit '938c0a3722a9c597931e6f75408dc7ab636d7052':
Fix - "Touch again to save" not working for manually picked suggestion when re-correction is enabled.
ef38215fa412217f2f80ed7512eeede406bde2e0 11-Oct-2010 Kenny Root <kroot@google.com> Merge "Fix merge that should have been manually merged"
c4b93e8d90c566cf8604c59b0c07aa5eba544c2c 11-Oct-2010 Kenny Root <kroot@google.com> Fix merge that should have been manually merged

master was still using the deleted constants in different places and
Java 6 didn't like the imports.

Change-Id: If9472a2acb029e56790dc4d19ab62e608c970175
ointerTracker.java
e56e2d85dfe95a6dc67fd1bb6ac5514bd2719f81 11-Oct-2010 Tadashi G. Takaoka <takaoka@google.com> am 02b8d91b: am 7e1f5a2d: Make sure to set symbol keyboard shifted

Merge commit '02b8d91b2dbe4290d4b09d93a22efbc5552326db'

* commit '02b8d91b2dbe4290d4b09d93a22efbc5552326db':
Make sure to set symbol keyboard shifted
6f6dd71862e09c6c296fc1e5b9c8af35604824be 11-Oct-2010 Kenny Root <kroot@google.com> resolved conflicts for merge of 23d50bfb to master

Change-Id: Ia3fd85bd0c231f7b910b14caad38fa453a2336f6
c2d7ac79bdadb4335ed69a4e9631e0ec2e3058f6 10-Oct-2010 Ken Wakasa <kwakasa@google.com> Tweak key width for 'o'-popup chars.

We'll merge this to master for now, but we should have new attr (such as popupCharWidth) to handle this reasonably in the newly created BaseKeyboard class.

bug: 3082178
Change-Id: I024b946aafbbeb07b865a09f489dacb56f0478d0
atinKeyboardBaseView.java
364da8c618303a7764595d2c15ee034a7671365d 10-Oct-2010 Ken Wakasa <kwakasa@google.com> Fix - "Touch again to save" not working for manually picked suggestion when re-correction is enabled.

bug: 3082806
Change-Id: I64e652b0ad1d496e102a7cc2cf9a5615df423192
atinIME.java
9c50d2ea36bbf3449b66e0504bc542f8019f0c77 08-Oct-2010 Ken Wakasa <kwakasa@google.com> am 018afe8c: am 6495bfc7: Follow-up to I36faf679 Cancel pending messages related to suggestion updates.

Merge commit '018afe8c7e90b8dd0fde4f22873ecdf38086358e'

* commit '018afe8c7e90b8dd0fde4f22873ecdf38086358e':
Follow-up to I36faf679 Cancel pending messages related to suggestion updates.
9870638da7535111f83a884d81c7825df0e1480d 08-Oct-2010 Ken Wakasa <kwakasa@google.com> am 64444586: am 55b10796: Addressed bug: 3058217 "-" key not working at beginning of line

Merge commit '644445868f1023b3263a149f2faf617b88341d20'

* commit '644445868f1023b3263a149f2faf617b88341d20':
Addressed bug: 3058217 "-" key not working at beginning of line
7e1f5a2d5a96c74691b3b09fa986efb7161e5a12 08-Oct-2010 Tadashi G. Takaoka <takaoka@google.com> Make sure to set symbol keyboard shifted

To avoid a corner case of bug#3070963, in toggleShift() method of
KeyboardSwitcher, the shifted symbol keyboard will be set if current
keyboard is symbol keyboard or is not shifted symbol keyboard.

This change also implements mini keyboard cache with WeakHashMap.

Bug: 3070963
Change-Id: I868fc072e2f21bddded1622b800a53b9a6a43e91
eyboardSwitcher.java
atinIME.java
atinKeyboardBaseView.java
5e02930a7f40b704f357f127d3d38fbdc193ffa1 07-Oct-2010 Tadashi G. Takaoka <takaoka@google.com> Reduce delay before mini popup keyboard is shown

Before this change, the delay was 500 ms that came from
ViewConfiguration.getLongPressTimeout(). This change reduces the
delay to 400 ms.

Bug: 3074984
Change-Id: Ia5af5e877a3c4bb29211ef4040c728ac09a9fe85
atinKeyboardBaseView.java
ointerTracker.java
7af745e6f66d6efdc5b0ad22ae25c28a411fbdc8 08-Oct-2010 satok <satok@google.com> Call InputMethodSubtypePicker instead of InputMethodPicker

Change-Id: I7c29285f4fd304d08bfd8f5f72df3fc421090681
atinIME.java
d663555c9fe5b95caedbc25a74458b951128da80 07-Oct-2010 Tadashi G. Takaoka <takaoka@google.com> Keyboard XML file supports include and merge tag

Keyboard XML file can include other keyboard XML file using directive
<include keyboardLayout="@xml/...">. The keyboard XML file which is
included must have <merge> tag as root element.

Change-Id: I06c35fe7b3db5232acdb33f73a79f38d31261b32
aseKeyboard.java
6495bfc7a6f6bfa6ab82e7f062ee80f4b6b33368 06-Oct-2010 Ken Wakasa <kwakasa@google.com> Follow-up to I36faf679 Cancel pending messages related to suggestion updates.

bug: 3058217
Change-Id: I54e29bf051b76ad27e6d653adbf14892083ad7eb
atinIME.java
55b10796522b871c1e04d6f2254fdff5dc7aced4 05-Oct-2010 Ken Wakasa <kwakasa@google.com> Addressed bug: 3058217 "-" key not working at beginning of line

Also fixed related issues below:
* Punc suggestions list was sometimes not displayed after cursor move which follows re-correction
* Punc suggestions list was disappearing with words which contains certain punc chars (but not word separator) such as ' and -

Change-Id: I36faf679321782fa8eaf318411308a4a6b89cc25
atinIME.java
66e306d01c6820d4f4d8b2209438ec086b48ac51 02-Oct-2010 Tadashi G. Takaoka <takaoka@google.com> Add keyHintIcon attribute to BaseKeyboard.Key class

This keyHintIcon attribute is used to specify hint icon drawable at
top right corner of Key.

Change-Id: Icaa91e63c4473b2513396bd3fbeb8ed6fd73586c
aseKeyboard.java
atinKeyboard.java
atinKeyboardBaseView.java
atinKeyboardView.java
ointerTracker.java
b1abda8d62d654e876c4f781a07d724922c736e4 27-Sep-2010 Mitsuhiro Shimoda <halwhite@google.com> Add an auto complete's threshold option.

Change-Id: I3a6821ced8642ab8f954e79a25e31766e4a18eb8
atinIME.java
atinIMESettings.java
atinIMEUtil.java
uggest.java
6614ac9f7b506c688abd2d6f09a0f2ae8b22fa68 02-Oct-2010 Tadashi G. Takaoka <takaoka@google.com> Modify BaseKeyboard to be able to handle multiple shift keys

Change-Id: Ie840ae113ee6bd5b629a90959d7f955a5ceba95a
aseKeyboard.java
atinKeyboard.java
4fc510a7890976d9968d73ceacf3983e77f489d2 01-Oct-2010 satok <satok@google.com> Unbundle Keyboard.java to BaseKeyboard.java

Change-Id: I8b310c2c0cae1a151e53c22001c586697346982c
aseKeyboard.java
eyDetector.java
atinIME.java
atinImeLogger.java
atinKeyboard.java
atinKeyboardBaseView.java
atinKeyboardView.java
iniKeyboardKeyDetector.java
ointerTracker.java
roximityKeyDetector.java
extEntryState.java
932a1b756d5e7e350dfb3c937a43632426f834c2 01-Oct-2010 Tadashi G. Takaoka <takaoka@google.com> am c0fc4bf9: am 8e1f1be0: Long press mic/comma key bring mini keyboard with settings

Merge commit 'c0fc4bf9932caf536af5d5d86bb61ec6d8a44a99'

* commit 'c0fc4bf9932caf536af5d5d86bb61ec6d8a44a99':
Long press mic/comma key bring mini keyboard with settings
8e1f1be0f3cfce4ed0623d3d137f53f034f5b718 01-Oct-2010 Tadashi G. Takaoka <takaoka@google.com> Long press mic/comma key bring mini keyboard with settings

Bug: 3050703

Change-Id: I090b2bfebfb48e5ec461615d4c911024ea6d130a
atinKeyboard.java
atinKeyboardView.java
3750d56d73dd1c788ae8df54140c31e06bd9b99f 01-Oct-2010 Tadashi G. Takaoka <takaoka@google.com> am 8e6a9270: am 18d536f6: Merge "Dismiss orange highlight after suggestion has been selected" into gingerbread

Merge commit '8e6a92703d1bdf530d32c8cdf90deefc6bc3a878'

* commit '8e6a92703d1bdf530d32c8cdf90deefc6bc3a878':
Dismiss orange highlight after suggestion has been selected
4fa67efc790600cce51cee844875b185c16438c1 30-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> Dismiss orange highlight after suggestion has been selected

Bug: 3051311
Change-Id: Ia32cd8748a0afade07a9896ad77400cf42aed0f5
andidateView.java
c29d5654280b1171588e2ff5522bdcfbf276acd6 30-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> am 105f7c36: am 3297ee80: Merge "Long pressing mic/comma key will show settings menue" into gingerbread

Merge commit '105f7c36b7fa1845b9edbf47ca55b4a6660303b6'

* commit '105f7c36b7fa1845b9edbf47ca55b4a6660303b6':
Long pressing mic/comma key will show settings menue
f06cab73ec29ecd1bdc076698549d0ab726fb6f0 30-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> am 93176d86: am 77c9f2d3: Merge "Display feedback popup for saving word while the word is pressing." into gingerbread

Merge commit '93176d869a496051344d80ef03573bc6bb99035a'

* commit '93176d869a496051344d80ef03573bc6bb99035a':
Display feedback popup for saving word while the word is pressing.
b050829609f749d516a393592c2f9061d5ab76d1 30-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> am e6e45510: am 11a578f4: Disable suggestion bar before invoke Voice input

Merge commit 'e6e45510674b31d0c82fa5f8a7943668d7e8503a'

* commit 'e6e45510674b31d0c82fa5f8a7943668d7e8503a':
Disable suggestion bar before invoke Voice input
e909d4f12e291dca8b20e3da2e18d9f82c25dcc6 30-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> am 48ef72ac: am 8ff96805: Merge "Eliminate compiler warning" into gingerbread

Merge commit '48ef72acef92bb774bad84d647427eaab0acc83b'

* commit '48ef72acef92bb774bad84d647427eaab0acc83b':
Eliminate compiler warning
2e7ce8ec505a940fa40d0a58ee47d18b91290867 30-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> am 259778c3: am eebe37e8: Merge "Disable suggestion selection preview popup" into gingerbread

Merge commit '259778c3a18246b3117c2874b87f1adaf2d9fb81'

* commit '259778c3a18246b3117c2874b87f1adaf2d9fb81':
Disable suggestion selection preview popup
d2a74e9f16ddd2e76f03fdb9da802c48ec37fac8 30-Sep-2010 Amith Yamasani <yamasani@google.com> am 4d158dc2: am 15b840cd: Merge "Check recorrection on focusing into a text field that has text already." into gingerbread

Merge commit '4d158dc2779ffff8c92a41f32e6885bd0f155fc3'

* commit '4d158dc2779ffff8c92a41f32e6885bd0f155fc3':
Check recorrection on focusing into a text field that has text already.
3297ee80f0b5b93128123d98d7f8b42257e36445 30-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> Merge "Long pressing mic/comma key will show settings menue" into gingerbread
a1cc4f0a8d9a70ff1515d1ddb1476f6ce630afe2 30-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> Long pressing mic/comma key will show settings menue

Bug: 3050703
Change-Id: I62773c10f435d13174f6ff6574912cb99303e83c
atinKeyboardView.java
fcba53ef7c874a4685c12c01404c91b779cae1e8 30-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> Display feedback popup for saving word while the word is pressing.

Bug: 3004696
Change-Id: Icc5bdd6945f3bf79f7234a0227d8036d6f6d4c1d
andidateView.java
11a578f4f130ebae66fb1bd9953874f421c3c09c 30-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> Disable suggestion bar before invoke Voice input

Bug: 3002817
Change-Id: I099dd63e58d5159a609c1d934dbb6f5aab914305
atinIME.java
8ff9680522c096ef76fbe087e50f04d76c172173 30-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> Merge "Eliminate compiler warning" into gingerbread
eebe37e83695e2542cb71fd81b244e1949ca8522 30-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> Merge "Disable suggestion selection preview popup" into gingerbread
e7cfc8ab8853e215b655f2184c47036e117aa8c7 29-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> Eliminate compiler warning

Change-Id: Ib3effaa6f4e8cfc3951ab5d5d099335fd3856a2f
haredPreferencesCompat.java
c9716b28ce438e06b5cacc07fc002944bcbe24a0 29-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> Disable suggestion selection preview popup

Bug: 3048642
Bug: 3004920
Change-Id: Ibfb495a246c9e2da6ebf3c03d10ed8acff00f54b
andidateView.java
8bae0829d23048454ebf53a008f8187659e536e5 30-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> resolved conflicts for merge of ab1348e8 to master

Change-Id: Ica94a5f9ac4feae477297f14fc1bc21d02efb6a4
15b840cd48184fc33b294c15eaaf28ac05393a43 30-Sep-2010 Amith Yamasani <yamasani@google.com> Merge "Check recorrection on focusing into a text field that has text already." into gingerbread
b8fa10080dfac777fce7c8a7fc3180e8b540f9f5 29-Sep-2010 Amith Yamasani <yamasani@google.com> Check recorrection on focusing into a text field that has text already.

Bug: 3004827
Change-Id: I00e9d925fcf17fa9f7a9aefe6572a648e023be11
atinIME.java
179ada958b0bb46c6b9c8eb8b220d84dd3db855a 29-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> Refactor CandidateView touch event handling

This change also fixes tha the touch slop value is applyed only for
initial movement of scrolling suggestion bar.

Bug: 3004920
Change-Id: I62afdedc210156e41e8c84c48cade442f9d5a1aa
andidateView.java
e3da18803d757390ae3a0224c31d100e83324503 29-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> am fcd5f2b9: am c2c9cd82: Merge "Mini keyboard works even while shift is being pressed" into gingerbread

Merge commit 'fcd5f2b9b4229c00a6589aad1fda9b727759d343'

* commit 'fcd5f2b9b4229c00a6589aad1fda9b727759d343':
Mini keyboard works even while shift is being pressed
afb353277928b9c13a97f2aefde7412f432e060a 28-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> Mini keyboard works even while shift is being pressed

Bug: 3038861
Change-Id: I94011ca80710ff6eb24e940104f7d9d3bb86840a
atinKeyboardBaseView.java
ointerTracker.java
819e05f5fe5a58fe179b27d66c18c3ecbf536232 28-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> am 0ea7e504: am 6e5a3986: Fixed key code and key coordinates when move debounce has been in action

Merge commit '0ea7e504887702bace7b2e765704d08e737ab1b5'

* commit '0ea7e504887702bace7b2e765704d08e737ab1b5':
Fixed key code and key coordinates when move debounce has been in action
ed85235beef9c3a8f47c94c2ff3e49531a0d3e80 28-Sep-2010 satok <satok@google.com> am ad090ac3: am 008e9b3e: Fix Null pointer exception on closing and update assets

Merge commit 'ad090ac3f4cee327adf74e8b35bbc446a8d64070'

* commit 'ad090ac3f4cee327adf74e8b35bbc446a8d64070':
Fix Null pointer exception on closing and update assets
6e5a3986854549a45c95770b5a88ae5577e93299 24-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> Fixed key code and key coordinates when move debounce has been in action

This change refactors a key index and pointer position variables into
a separate static inner class KeyState . This change also disables
time debouncing.

Bug: 3033737
Change-Id: Ie4fc37316c260330d8f0861e0771ea903a99cfce
ointerTracker.java
008e9b3e1a8c037e0275b19f284a7d2e76c9e140 28-Sep-2010 satok <satok@google.com> Fix Null pointer exception on closing and update assets

Change-Id: I30fdac74685beae06b5c61140452b26b29ae4c39
atinIME.java
atinImeLogger.java
8bfcac4d84ffcfd36f68bf42c179b2b46dd7462c 28-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> Fix NPE in LatinKeyboard when it represent phone keyboard

Bug: 3041532
Change-Id: I1d846e9175bd033f056a8715287a936be2fe8f74
atinKeyboard.java
0517bffc065096ce3b0eceada94696735fcbafd7 27-Sep-2010 Ken Wakasa <kwakasa@google.com> am 7f2a6a05: am 0b4ae1f5: Capitalize the displayed text in the suggestion bar when all of the user typed chars are upper case

Merge commit '7f2a6a056b67efa2a1fb623ca4cf73f7fb6c7d8c'

* commit '7f2a6a056b67efa2a1fb623ca4cf73f7fb6c7d8c':
Capitalize the displayed text in the suggestion bar when all of the user typed chars are upper case
0b4ae1f578e768eec4ada90aeb81d11acb10eb2e 27-Sep-2010 Ken Wakasa <kwakasa@google.com> Capitalize the displayed text in the suggestion bar when all of the user typed chars are upper case

bug:3014227
Change-Id: Ic453e2fde57ce51be00f3a506e1c9328103ca99a
atinIME.java
uggest.java
ordComposer.java
dc7097b4e74fa2290cc70106e49e84e0c812feda 27-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> Merge "Add xlarge keyboard layouts (tentative)"
b1fcbec73050160c5cebf00c7daeee2c90ad1a44 27-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> Add xlarge keyboard layouts (tentative)

This keyboard layout is tentative for UX study.

This change added xlarge keyboard layouts only for "regular text",
"symbol/number mode" and "symbol/number mode shifted".

TODO other text mode variants should have dedicated layout.

Change-Id: I36077efcec4b57c3b5cada0a851e1409a289eeb9
atinKeyboard.java
a48d298d1030ab50ebcb410bf5c353c670db966b 27-Sep-2010 satok <satok@google.com> resolved conflicts for merge of b9c0ed59 to master

Change-Id: Ib42164a5889eb9792b5e94de1e0ffd4c1924e29d
3a2b90357ce056765d5c9d6dec0335c308e21717 27-Sep-2010 satok <satok@google.com> Merge "Add Debug Settings Activity" into gingerbread
bf96661d33d0126adb60a48880ceba1ff055d4a4 26-Sep-2010 satok <satok@google.com> Add Debug Settings Activity

Bug:3033472

Change-Id: I311c66ac3c612a30d7da3be8ee35a352f49016ac
atinIME.java
atinIMEDebugSettings.java
atinIMESettings.java
760e7b24add964d16fd147484634166b99e57af2 24-Sep-2010 Ken Wakasa <kwakasa@google.com> am ca2fba71: am 6ee1bd42: Merge "Keep addWordToDictionary from doing disk I/O on main thread" into gingerbread

Merge commit 'ca2fba71086b3832998ee9039723b66cce3be300'

* commit 'ca2fba71086b3832998ee9039723b66cce3be300':
Keep addWordToDictionary from doing disk I/O on main thread
6ee1bd425bc44d91dbb151e999e9781bc301e632 24-Sep-2010 Ken Wakasa <kwakasa@google.com> Merge "Keep addWordToDictionary from doing disk I/O on main thread" into gingerbread
336bc6bfebe8f965572682e5d5f1d66829ee7e17 16-Sep-2010 Ken Wakasa <kwakasa@google.com> Keep addWordToDictionary from doing disk I/O on main thread

bug: 2999524

Change-Id: Id8b04d38079cfa1dadd5955eb7f83085e60eb8e2
serDictionary.java
05ebb2e511f30a957926f89b8cc1df20bf1771e9 24-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> am bf03559f: am 64e5a194: Merge "Add enter/exit animation style to prevew and mini keyboard" into gingerbread

Merge commit 'bf03559f7e38cd51cb5fd6b0afa937982cbffc67'

* commit 'bf03559f7e38cd51cb5fd6b0afa937982cbffc67':
Add enter/exit animation style to prevew and mini keyboard
64e5a1940f69d3640ab5ca49bc62004625e73f4e 24-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> Merge "Add enter/exit animation style to prevew and mini keyboard" into gingerbread
0ae817c9aee319584cbb4df5b1fa74bca684eb06 16-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> Add enter/exit animation style to prevew and mini keyboard

TODO This animation style API of PopupWindow can be called only in
Gingrebread or later. We should refactor this using reflection to be
able to be compatible with Froyo.

Bug: 3004787
Bug: 2973989
Change-Id: I2abfcc853b1a0af2bccee7bdf5fbd723456b7d34
atinKeyboardBaseView.java
3da22f8146a1c619c809d6298dd1b02f2a968181 24-Sep-2010 satok <satok@google.com> am 27bddbe6: am 1bebdcb4: Move RingCharBuffer as a singleton in Util

Merge commit '27bddbe67f00953dc82a8543fe610c9010f7077c'

* commit '27bddbe67f00953dc82a8543fe610c9010f7077c':
Move RingCharBuffer as a singleton in Util
1bebdcb4e422c0d9e52833dfd3bc0a8b9e07a266 24-Sep-2010 satok <satok@google.com> Move RingCharBuffer as a singleton in Util

Change-Id: I08d09555a99a64038374e62019777d331c48319b
atinIME.java
atinIMEUtil.java
atinImeLogger.java
ae7e55066251ebd4af5fb2ee4b85e8cc677883fc 23-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> am bc63621f: am 9d44411a: Fixed popup mini-keyboard position

Merge commit 'bc63621fcf1db2933f708bf3dd81b2b2f2211c5e'

* commit 'bc63621fcf1db2933f708bf3dd81b2b2f2211c5e':
Fixed popup mini-keyboard position
9d44411a82f93e46b4691b446163aa0c77a20e87 23-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> Fixed popup mini-keyboard position

This change reverts I28bf3e4deb46a428dc8422a3a165183e00608604 partly

Bug: 3029284
Change-Id: I0701ab9dfa1cfddbecbef3d32e525c0a143fc297
atinKeyboardBaseView.java
6721b98b5cef7b088208a454d2c1089b1cc8d33f 23-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> am ec8b7360: am 77542988: Tune left and right padding of popup mini keyboard

Merge commit 'ec8b7360161f37d00d178bef37c30352982cd007'

* commit 'ec8b7360161f37d00d178bef37c30352982cd007':
Tune left and right padding of popup mini keyboard
77542988b809fba6a59aa86982eb4d9e4269477e 23-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> Tune left and right padding of popup mini keyboard

This change also fix popup window display position calculation.

Bug: 3029284
Change-Id: I28bf3e4deb46a428dc8422a3a165183e00608604
atinKeyboardBaseView.java
48ef8f4a252ebe7f6fa4800b1eea15c37993625d 23-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> am a8f77c36: am 23f7fb03: Merge "Disable invoking VoiceIME using swipe right action" into gingerbread

Merge commit 'a8f77c36ca985cb356b03b25f5cd30fd3b25dc9a'

* commit 'a8f77c36ca985cb356b03b25f5cd30fd3b25dc9a':
Disable invoking VoiceIME using swipe right action
fc66213d9efb4c5b22e6105d83665576ef4a66f1 23-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> am 4fab9f2f: am b75dee4b: Merge "Fix ArrayIndexOutOfBoundsException in WordComposer" into gingerbread

Merge commit '4fab9f2fee9cfb1a67d805c1598deae02fa4d8cc'

* commit '4fab9f2fee9cfb1a67d805c1598deae02fa4d8cc':
Fix ArrayIndexOutOfBoundsException in WordComposer
23f7fb035da7c00c51002fde94053aa304a437bb 23-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> Merge "Disable invoking VoiceIME using swipe right action" into gingerbread
b75dee4b00b31524ab73684a948b82b90bae7ba1 23-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> Merge "Fix ArrayIndexOutOfBoundsException in WordComposer" into gingerbread
d1a8e3088bb6267a31e3351d304796d1507e3af6 22-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> Fix ArrayIndexOutOfBoundsException in WordComposer

Bug: 3028277
Change-Id: I1c4d8dca4db8a70f851589d1fbd45a16ea1bfc1b
ordComposer.java
437cabe0df4c031037afaff62cfeb2d24b250012 23-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> am 1241be7e: am a96d8a11: Use SystemClock.uptimeMillis() for event time

Merge commit '1241be7e8498b8cca348d74363ece68b3ade730c'

* commit '1241be7e8498b8cca348d74363ece68b3ade730c':
Use SystemClock.uptimeMillis() for event time
a96d8a11e84ef9219eb40a815e82ad8a3d852ca5 23-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> Use SystemClock.uptimeMillis() for event time

Change-Id: If20f289992f829ae3a0a2a1eb60a4fc9b35c308a
atinKeyboardBaseView.java
abd7bba981aa3edb1a71df5eaeba113533764d51 22-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> Disable invoking VoiceIME using swipe right action

Bug: 3028268
Change-Id: I4bcf35051d5e82b60bb6a346a80ad6c3c03c31cb
atinIME.java
36f64d2bba87ce098513c07814c86b40e5a978bd 22-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> am 84af4309: am 8493e431: Use constant for keycode.

Merge commit '84af4309f8a2d030bfd042d8363669cc477c676f'

* commit '84af4309f8a2d030bfd042d8363669cc477c676f':
Use constant for keycode.
8493e43148e1ec7b004e624f5f79183e167fad1d 22-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> Use constant for keycode.

This is follow up change of Idb3adcb6fac1a23836510912d35312fa11b4f259

Change-Id: I130e381b0d5ac01176a746a4a915e2fc9d54587b
atinKeyboard.java
99d6a248ef19a54a18167bbf70cddedda946ae6f 22-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> am 8957296f: am 9d1cb899: Merge "Choose smaller or shorter language name for space bar" into gingerbread

Merge commit '8957296f066b1f624dc4fae71d3eeb5a0fec1b4f'

* commit '8957296f066b1f624dc4fae71d3eeb5a0fec1b4f':
Choose smaller or shorter language name for space bar
8243c7a5e52d4b03bb456b591be6af43363f0831 17-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> Choose smaller or shorter language name for space bar

To fit a language name to the space bar or the language switcher, this
change chooses smaller text size or shorter language name
appropriately.

This change also tunes the vertical position of a language name in the
space bar by parameter SPACEBAR_LANGUAGE_BASELINE.

Bug: 3004640
Bug: 3001021

Change-Id: Idb3adcb6fac1a23836510912d35312fa11b4f259
atinKeyboard.java
atinKeyboardBaseView.java
db6b89711823fc2d5282286a8efaa3d94bae32cb 22-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> am 7c120ce4: am 3a2896c8: Fix issue space key preview remains on screen and would not dismiss

Merge commit '7c120ce4872398ea4f61a67aba1d069e45f1c012'

* commit '7c120ce4872398ea4f61a67aba1d069e45f1c012':
Fix issue space key preview remains on screen and would not dismiss
3a2896c80475094f751ef447fc9c97028bfc2265 21-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> Fix issue space key preview remains on screen and would not dismiss

The space key preview should be displayed one of the following case.
- Popup preview is enabled
- Language switcher is in action, whether popup preview is enabled or
not.

For phone number keyboard, popup preview is never displayed even if
popup preview is enabled.

Bug: 3006612
Bug: 3021091
Change-Id: I5385c776d0e8e3981fc8d8851db9140d92599ce5
eyboardSwitcher.java
atinKeyboard.java
atinKeyboardBaseView.java
atinKeyboardView.java
ointerTracker.java
60f6e5d461156c386e632a29e418e04e6d146d51 22-Sep-2010 Ken Wakasa <kwakasa@google.com> am 33c13c41: am 75c23ced: Add lightweight visual indication for numbers.

Merge commit '33c13c413ad7cf30d5a12e2ba6c463e01b47e92a'

* commit '33c13c413ad7cf30d5a12e2ba6c463e01b47e92a':
Add lightweight visual indication for numbers.
75c23ced94979a6b3f7c59e95dd46385e9702e2d 20-Sep-2010 Ken Wakasa <kwakasa@google.com> Add lightweight visual indication for numbers.

This change adds lightweight visual hints of alternate numeric characters on the top row - e.g. having a light gray '1' on the upper right corner of letter 'q'

Note that MDPI resources are tentative (the same as HDPI for now, until we get fixed MDPI visual assets).

bug: 3004632
Change-Id: I7a25cf90b702433a844c88f5c47bf914706af9bc
atinKeyboard.java
atinKeyboardBaseView.java
atinKeyboardView.java
41acad294cbd6cbf0433fceb7ee6a67a296b9906 21-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> am c01d978f: am a104575c: Merge "Draw language label on space key of symbol+alt mode" into gingerbread

Merge commit 'c01d978f56f90425f070d57a66968aa77ef69a7d'

* commit 'c01d978f56f90425f070d57a66968aa77ef69a7d':
Draw language label on space key of symbol+alt mode
75abaf5d8f2367bad2d51bf983586bd9baa93952 21-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> am 9c822ec4: am 6b75eaa1: Fix mini keyboard display position when preview is disabled

Merge commit '9c822ec48de0e6839a861212d8b7143f70b29fd1'

* commit '9c822ec48de0e6839a861212d8b7143f70b29fd1':
Fix mini keyboard display position when preview is disabled
051511fa091448edd4787e2ab2b7c8e4845efcd9 21-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> am 1d82ee9a: am 56cd6df9: Merge "Space key will no longer auto-repeat" into gingerbread

Merge commit '1d82ee9a13b1e57af80d2bd0e3f879305bda137d'

* commit '1d82ee9a13b1e57af80d2bd0e3f879305bda137d':
Space key will no longer auto-repeat
a104575c99b11e8c2df34ad11841a842f93e1172 21-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> Merge "Draw language label on space key of symbol+alt mode" into gingerbread
31ff846e8c502e515139421dd0c9af28bce0336b 21-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> Draw language label on space key of symbol+alt mode

Bug: 3003888
Change-Id: I0bafcd13f3e5e5c69c65ed72580d108f2745e004
atinKeyboard.java
6b75eaa12d69c1db048985a19df85215998f321e 21-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> Fix mini keyboard display position when preview is disabled

Bug: 3021082
Change-Id: I2cfb462c89b222449ee2ba5559462a9f5d2306ed
atinKeyboardBaseView.java
56cd6df95e6a557bac2f1356f0cfb6fe531804ad 21-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> Merge "Space key will no longer auto-repeat" into gingerbread
a628e46c11c3c7ed17f133d34f732cc54c0f6754 21-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> am 0ab6747d: am 4da43a25: Shorten popup preview residual time (100ms)

Merge commit '0ab6747d424f412a103a4092bc3fcb2e891994ad'

* commit '0ab6747d424f412a103a4092bc3fcb2e891994ad':
Shorten popup preview residual time (100ms)
aaa163b2b7fa9be6c43ace5ce8ccd2e70f3893fd 21-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> Space key will no longer auto-repeat

Bug: 3014225
Change-Id: I94d4904726985d5e17b665d4042c873ea07221f1
atinKeyboard.java
4da43a25cb5826e96729c24a555111c7e390fbdd 21-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> Shorten popup preview residual time (100ms)

The residual time was formerly 150ms by
Ia63662a549481d18046a46ef8292c0a4438b5588, and originally was 70ms.

Bug: 3004787
Change-Id: If60a74c51e9a68f008711cca2423094e8204755f
atinKeyboardBaseView.java
3a997ae6317a8769d978ad2255d621f61a55295b 17-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> am 66774575: am 7763b36d: Align key preview and mini-keyboard positions

Merge commit '667745750735d7535a6e6e9580b7c762735fad12'

* commit '667745750735d7535a6e6e9580b7c762735fad12':
Align key preview and mini-keyboard positions
6f3d98f115336438f90f64d77c382928574b21ab 17-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> am 051d4f45: am 4a3ffcbf: Longer popup preview residual time (150ms)

Merge commit '051d4f459d35eac61772a0fe0f6487b8c34ec479'

* commit '051d4f459d35eac61772a0fe0f6487b8c34ec479':
Longer popup preview residual time (150ms)
7763b36d6d95d78df49c5144291972d95ff7b4f6 17-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> Align key preview and mini-keyboard positions

Bug: 3004793
Change-Id: I1839e6ff3c8c66a576bfb3db9391c146ed225451
atinKeyboardBaseView.java
4a3ffcbf32c21bdb553bf9aed894350ab07f47d8 17-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> Longer popup preview residual time (150ms)

Bug: 3004787
Change-Id: Ia63662a549481d18046a46ef8292c0a4438b5588
atinKeyboardBaseView.java
ef5f2102c59eb6d23601579ee2a0b1b13d76da0b 17-Sep-2010 Ken Wakasa <kwakasa@google.com> am 300362f2: am 29d8bde4: Merge "Use the phone keyboard for NUMBER and DATETIME until we get a dedicated number entry keypad." into gingerbread

Merge commit '300362f20982974d07876dee01b4550b8e54d449'

* commit '300362f20982974d07876dee01b4550b8e54d449':
Use the phone keyboard for NUMBER and DATETIME until we get a dedicated number entry keypad.
99a23923e60546a03c20aa8d0d30294043ff4806 17-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> am 8ef27577: am 1476988e: Default puctuation suggestions have same color

Merge commit '8ef27577da17f4203db00d5df96c3d2ed32ac713'

* commit '8ef27577da17f4203db00d5df96c3d2ed32ac713':
Default puctuation suggestions have same color
29d8bde4de1408defbf380de077176c53b54e588 17-Sep-2010 Ken Wakasa <kwakasa@google.com> Merge "Use the phone keyboard for NUMBER and DATETIME until we get a dedicated number entry keypad." into gingerbread
08f664fa6502c578d8793df1e4eb5fa6de84b04f 16-Sep-2010 Ken Wakasa <kwakasa@google.com> Use the phone keyboard for NUMBER and DATETIME until we get a dedicated number entry keypad.

bug: 2992459
Change-Id: Ie597a68aa394c48e08a5d3fda19a0b613795b47b
atinIME.java
1476988ebbecbb44088423573a8311c97e4449dd 17-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> Default puctuation suggestions have same color

Bug: 3000978
Change-Id: Iedb3d4619ada8bd3ccc301ca2a8fb16fba6580c0
andidateView.java
6fecf0796c985d6a9bb5a9865c71839c19f99e11 16-Sep-2010 Ken Wakasa <kwakasa@google.com> am 37a8c654: am 809bef52: Merge "Increase gradient of suggestion bar" into gingerbread

Merge commit '37a8c654a0cb9728451623dc1eed13ec9767b889'

* commit '37a8c654a0cb9728451623dc1eed13ec9767b889':
Increase gradient of suggestion bar
749b1eaaaac3a7d051e907c4ae5f07521b3e75a3 16-Sep-2010 Ken Wakasa <kwakasa@google.com> Increase gradient of suggestion bar

bug: 3001007
Change-Id: I0f05d62b2a6848f37975b7a15b3ba14a90776d24
andidateView.java
2b90a1adcb0d1fb1b8a082f2ef7d2658eb944cab 16-Sep-2010 Ken Wakasa <kwakasa@google.com> am 13a6c8c1: am 1508c0e8: Add a new preference item to show/hide the settings key.

Merge commit '13a6c8c1f8691b753cd1a6b7a77d99af4f7d78ac'

* commit '13a6c8c1f8691b753cd1a6b7a77d99af4f7d78ac':
Add a new preference item to show/hide the settings key.
9b2c10284b6b161f1f2c6da823e9c7c6a9a4681e 16-Sep-2010 Amith Yamasani <yamasani@google.com> am d6210de7: am dd5d4e37: Merge "Fix : Bouncing Extract Text when correcting multiple lines of text." into gingerbread

Merge commit 'd6210de709a0ed724f355743f196e827ebd7df50'

* commit 'd6210de709a0ed724f355743f196e827ebd7df50':
Fix : Bouncing Extract Text when correcting multiple lines of text.
f027b1c5ebf4435d72d8211faadd4bd29b4cf11f 16-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> am b9705959: am bf1f16f3: Merge "All keys should be processed before processing modifier key" into gingerbread

Merge commit 'b9705959df5d7de38df5dea53270bf702b87716d'

* commit 'b9705959df5d7de38df5dea53270bf702b87716d':
All keys should be processed before processing modifier key
1e445ed2afe24fc572fd9b0df23640b8f1a51e6a 16-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> am 4b813f56: am bd1cc1da: Fix bug that upper case mini-keyboard does not work

Merge commit '4b813f56bbe11210835a31de7fd73bfe5a566ead'

* commit '4b813f56bbe11210835a31de7fd73bfe5a566ead':
Fix bug that upper case mini-keyboard does not work
1508c0e84f0cd93ab6f5d46fea5026e833f299bc 15-Sep-2010 Ken Wakasa <kwakasa@google.com> Add a new preference item to show/hide the settings key.

bug: 2998722

Change-Id: Iac1641c338388fd8f85e0cf47e31afdaeb34c0c0
eyboardSwitcher.java
atinIME.java
atinIMESettings.java
atinIMEUtil.java
atinKeyboardBaseView.java
dd5d4e378a774773678791eab9aed552fd444cd9 15-Sep-2010 Amith Yamasani <yamasani@google.com> Merge "Fix : Bouncing Extract Text when correcting multiple lines of text." into gingerbread
c1020c3aa65b1eef4c672564750c020d012c4ec2 15-Sep-2010 Amith Yamasani <yamasani@google.com> Fix : Bouncing Extract Text when correcting multiple lines of text.

Bug: 2996887

Override the methods in InputMethodService that hide the candidates view, since
it was just an optimization to show more lines of text when editing, which
conflicts with the re-correct feature.

Change-Id: Ibfed5ccd9efa048d0b69297a5cf8a638a0d00c72
atinIME.java
b0b9f3b830805d076d40632e071baba4f87ef399 15-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> am b36a653c: am 12a4e08a: Handling multi-character uppercase key input

Merge commit 'b36a653ca65f3c26ba070a73b9d43beb57f620ee'

* commit 'b36a653ca65f3c26ba070a73b9d43beb57f620ee':
Handling multi-character uppercase key input
53a68e7dcfaed08a79107612d441424fb8920272 15-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> am b2835ef2: am eb680367: Add keyHysteresisDistance xml attribute

Merge commit 'b2835ef2e506b7d1b3db1c810b7dae349d2461d2'

* commit 'b2835ef2e506b7d1b3db1c810b7dae349d2461d2':
Add keyHysteresisDistance xml attribute
bf1f16f35f96e9aca5c62a9793ec2ba7ba1bffbe 15-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> Merge "All keys should be processed before processing modifier key" into gingerbread
bd1cc1da005fe477bf28afce43d5572e381b4757 15-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> Fix bug that upper case mini-keyboard does not work

This issue is introduced by I1932b0a382e172cb77b9e098ae182049c834dfe0

Bug: 2993769
Change-Id: I344d21e046b58b3bb9831605a7425a94c97d8492
iniKeyboardKeyDetector.java
2aa8078df86029dab394d8dd616f4f6decb39035 15-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> All keys should be processed before processing modifier key

Bug: 2987077
Change-Id: I971c44be121d8780ec27aa1649fd0925e249fbbc
atinKeyboardBaseView.java
ointerTracker.java
12a4e08a6440c95f29dc04efe83515a4ed045487 14-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> Handling multi-character uppercase key input

Change-Id: Ie0820a2627e18109036d5f6f286d5a366c9b9f87
atinIME.java
eb68036798f53763768e4ab37c7bfab9a2f36025 13-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> Add keyHysteresisDistance xml attribute

This change also introduces MiniKeyboardKeyDetector and
mini_keyboad_slide_allowance parameter to tune the key detection
behavior.

Bug: 2993769
Change-Id: I1932b0a382e172cb77b9e098ae182049c834dfe0
atinKeyboardBaseView.java
iniKeyboardKeyDetector.java
ointerTracker.java
67ffd0b0ea76489a57d70421dfa0b065f479b343 12-Sep-2010 Ken Wakasa <kwakasa@google.com> am 45606d3c: am 0ea6270f: More commit -> apply changes with SharedPreferencesCompat.

Merge commit '45606d3c48c5f079673879add3e700ea571e2a93'

* commit '45606d3c48c5f079673879add3e700ea571e2a93':
More commit -> apply changes with SharedPreferencesCompat.
0ea6270ffbe75eba2a754f8107487f3e0c1485a3 12-Sep-2010 Ken Wakasa <kwakasa@google.com> More commit -> apply changes with SharedPreferencesCompat.

The newly added SharedPreferencesCompat adapter class does apply() when available (Gingerbread+), else do commit().

This change incorporates I4eca20fb and I39f6aa04.

bug: 2983837
Change-Id: Iec4e8b69840ad71dbbd6098eeba349934d8248ff
ints.java
nputLanguageSelection.java
anguageSwitcher.java
atinIME.java
haredPreferencesCompat.java
3e5ebd3d407b09945d1ececd47b642338100559d 12-Sep-2010 Ken Wakasa <kwakasa@google.com> am 65dab907: am aed01227: Fix a bug in y-axis offset for sliding finger key detection for mini popup keyboard.

Merge commit '65dab9078dd0c77adcc49d08c46039dad2a950f6'

* commit '65dab9078dd0c77adcc49d08c46039dad2a950f6':
Fix a bug in y-axis offset for sliding finger key detection for mini popup keyboard.
aed0122734a6257e17068539950e78957266f35b 12-Sep-2010 Ken Wakasa <kwakasa@google.com> Fix a bug in y-axis offset for sliding finger key detection for mini popup keyboard.

Also, tentatively added key detection allowance for below of the keys in mini popup keyboard.

bug: 2979407
Change-Id: I84794969facd929c84df23e0120d46dff71c6efb
atinKeyboardBaseView.java
fcaca2121b481517718ae3c6ab02df17d3e5667e 12-Sep-2010 Ken Wakasa <kwakasa@google.com> am d73d267f: am f62166c1: Mini popup keyboard adjustment: Have the leftmost number right above the key.

Merge commit 'd73d267f34efb131467d9103bb9a56c18f9623b7'

* commit 'd73d267f34efb131467d9103bb9a56c18f9623b7':
Mini popup keyboard adjustment: Have the leftmost number right above the key.
f62166c13bdf7fe99092565dd0425d8693a5cec8 10-Sep-2010 Ken Wakasa <kwakasa@google.com> Mini popup keyboard adjustment: Have the leftmost number right above the key.

Also fixed an issue when the mini popup keyboard hits the right edge of the view.

A few code cleanups as well.

bug: 2980864

Change-Id: I95f8392521e57560907d54b662e3483ebaf6f7ce
atinKeyboardBaseView.java
40cff6faa27dcfe3b5544373fd3effb1bd8be3fa 10-Sep-2010 Ken Wakasa <kwakasa@google.com> am 08a5ba3a: am 3de8f34b: Code cleanup

Merge commit '08a5ba3a69bef5182128f90e49eae4548795e9c9'

* commit '08a5ba3a69bef5182128f90e49eae4548795e9c9':
Code cleanup
3de8f34b8c8c7113386b6cd7c9101ef20df6ec7d 10-Sep-2010 Ken Wakasa <kwakasa@google.com> Code cleanup

Change-Id: I333693ab8e4088180cc25768d874ad7320d9da8b
atinKeyboardBaseView.java
f888b99d364204f1ce2c3b3047f9ac6ceec39484 09-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> am 94fe2b62: am efc4a437: Symbol key acts as modifier key

Merge commit '94fe2b626164f275a7f07f546ceca1b1f0d214a2'

* commit '94fe2b626164f275a7f07f546ceca1b1f0d214a2':
Symbol key acts as modifier key
efc4a437942f0bccd8815059c5f9d823023cfac1 09-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> Symbol key acts as modifier key

On a device that has distinct multi-touch panel, pressing '123?' key
will change keyboard layout to symbol mode. While pressing '123?'
key, you can press other symbol key to input. Then releasing '123?'
key will change keyboard layout back to alphabet mode.

Bug: 2973383
Change-Id: I3b069fb19141820def8060db4766a08c7c0a6ff0
atinIME.java
atinKeyboardView.java
ointerTracker.java
2cfe3409bdaa4b1c09385f3adb0d5e52c7c47a1d 09-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> am 72a66d3d: am 681b676b: Keep Keyboard in cache through SoftReference

Merge commit '72a66d3d860c92c1c05ba987a44b3811360f935d'

* commit '72a66d3d860c92c1c05ba987a44b3811360f935d':
Keep Keyboard in cache through SoftReference
681b676b0aecb30e644f25550018ce2b6cea3e15 08-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> Keep Keyboard in cache through SoftReference

This change also adds final to attributes

Change-Id: Ie2b9a1b1f83606b24ad4e35ad72a28d55ed0423e
eyboardSwitcher.java
6fff167a8d1ae29e3fb8cf2de7cf2fec76af567a 09-Sep-2010 Ken Wakasa <kwakasa@google.com> am 38f6ff42: am 0e300c83: Avoid a disk write on UI thread

Merge commit '38f6ff4289933aaa54461f72ba14d33ad1d6c5d7'

* commit '38f6ff4289933aaa54461f72ba14d33ad1d6c5d7':
Avoid a disk write on UI thread
0e300c83a12f64dbc8668b52bc02ec629abd4ca8 09-Sep-2010 Ken Wakasa <kwakasa@google.com> Avoid a disk write on UI thread

bug: 2983837
Change-Id: I4eca20fb4defcf149788032a98fe5894b57e1e19
anguageSwitcher.java
fa12d86cb5162595b0b4791376be430ee1faffcc 07-Sep-2010 Ken Wakasa <kwakasa@google.com> am dacc927a: am c1ff2846: Update strings for the settings access - based on the latest GB IME spec (ver 03). Please refer to bug: 2979069 for the latest mock.

Merge commit 'dacc927a57b0c7adfbdf244441b9b2495c959980'

* commit 'dacc927a57b0c7adfbdf244441b9b2495c959980':
Update strings for the settings access - based on the latest GB IME spec (ver 03).
c1ff28462eee5880267fd2eae4da389b25f6f3da 07-Sep-2010 Ken Wakasa <kwakasa@google.com> Update strings for the settings access - based on the latest GB IME spec (ver 03).
Please refer to bug: 2979069 for the latest mock.

Got rid of obsolete string too.

Change-Id: Ic02d1651b288f24f9c3a9da5d0dcf09055256ab0
atinIME.java
ca43ce0588674f112de0128387d3c8affb9c0f10 07-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> am e5abf25d: am 83e63ace: Dismiss mini keyboard when finger is released outside mini keyboard

Merge commit 'e5abf25d4b57ecdfc01ca3ddf94753d5bcb07fea'

* commit 'e5abf25d4b57ecdfc01ca3ddf94753d5bcb07fea':
Dismiss mini keyboard when finger is released outside mini keyboard
83e63ace2a1bd5b3c27d26d914456c2b0def17c5 07-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> Dismiss mini keyboard when finger is released outside mini keyboard

Bug: 2978975

Change-Id: Ie634e8ae827fe093c5c673b75d85835050b03794
atinIME.java
atinKeyboardBaseView.java
ointerTracker.java
0415ddde5987a1e30980e300eb2cc36e99734b2e 07-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> am bc1a0354: am 26aff8c6: Merge "Fixed extra periods when chording with shift and space" into gingerbread

Merge commit 'bc1a0354ef1cac0319cab63822c66203f1fa2c24'

* commit 'bc1a0354ef1cac0319cab63822c66203f1fa2c24':
Fixed extra periods when chording with shift and space
26aff8c62f61f18b1b9a40ce647984284a41c895 07-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> Merge "Fixed extra periods when chording with shift and space" into gingerbread
6252f468bc1306f71c9933f65b116dbbb5530de8 06-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> Fixed extra periods when chording with shift and space

Actually it was caused by canceling repeat key (space and delete) when
multiple pointer are touching.

Bug: 2975041
Change-Id: If82183b9225efdace7b5418860b9664f1705b7ec
atinKeyboardBaseView.java
ointerTracker.java
e1cb2e4977b3fecd5622bd00d0db512333a628b8 07-Sep-2010 satok <satok@google.com> resolved conflicts for merge of 36d2d0e7 to master

Change-Id: Ib4b6ef593d7f4ce5b0666f2e0987ee8398cabe12
66b42a1c2d38813be104a7f0435ec6e6ec1c6e65 06-Sep-2010 satok <satok@google.com> Add shared preference for re-correction

Change-Id: Ie5b2e0d2f9739dd33524c2688e172e77aac1f243
atinIME.java
623818a8dbeb811df876e7776692fcfc3fe1472b 06-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> am 7bbea0dd: am 8d7ffcb2: Disable pop-up preview on mini keyboard

Merge commit '7bbea0dd8fe04b378a9a7a161c2995998f4a8dcf'

* commit '7bbea0dd8fe04b378a9a7a161c2995998f4a8dcf':
Disable pop-up preview on mini keyboard
920c507cd305e388b79b795801b22f5d022bb963 06-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> am efe7abe0: am 12659d4c: Fix ALT key light behavior

Merge commit 'efe7abe03dce1779ce76e175d0fe9422d2f8eaad'

* commit 'efe7abe03dce1779ce76e175d0fe9422d2f8eaad':
Fix ALT key light behavior
8d7ffcb2ac3a8cdd051c7e493ff17b6bf1ded9c0 06-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> Disable pop-up preview on mini keyboard

This change also disable the special behavior of long press a key that
has only one digit alternate. If the visual design of both the pop-up
preview and the mini keyboard will look like same, I think that
showing mini keyboard is enough for the key that has one digit
alternate.

Bug: 2973546
Change-Id: I04f138c120aa58526fe054626dac856171fb7a58
atinKeyboardBaseView.java
atinKeyboardView.java
12659d4c0ce04aaf3d8479e44f9230881b964000 06-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> Fix ALT key light behavior

This change also cleanups some imports, unnecessary cast and null check.

Bug: 2977256
Change-Id: I81b9e539ff8a13ae0cc1eb5c4fb2246732cca3e9
eyboardSwitcher.java
atinKeyboard.java
atinKeyboardView.java
cba7b0b6ab07fcff29e06c2e81ae7e8791d158ef 06-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> am d5bcbf81: am c8b9afe0: Support multi-touch only when device has distinct multi-touch panel

Merge commit 'd5bcbf8156fdba8199452b8f95ed1940b7e96d31'

* commit 'd5bcbf8156fdba8199452b8f95ed1940b7e96d31':
Support multi-touch only when device has distinct multi-touch panel
c8b9afe0378e3f33c3f83271bd1df9678a70c2a2 06-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> Support multi-touch only when device has distinct multi-touch panel

Bug: 2973373
Change-Id: I9871c09ec8c1c2aa945d97392e61ee1ec585baef
eyboardSwitcher.java
atinIME.java
atinKeyboardBaseView.java
ointerTracker.java
ac021708ae17a8f27193c8e5d408bf3b3faf6a04 03-Sep-2010 satok <satok@google.com> am 34830114: am 0a498cf8: Merge "Extend space LED for autocompletion" into gingerbread

Merge commit '34830114e66882bf30505f1e538764c9abd3025b'

* commit '34830114e66882bf30505f1e538764c9abd3025b':
Extend space LED for autocompletion
0a498cf8d89ce33f7deceebcfb74a9f5fbb10f68 03-Sep-2010 satok <satok@google.com> Merge "Extend space LED for autocompletion" into gingerbread
1bf265d185bc6b214588dcca4888691f4f8038d4 03-Sep-2010 satok <satok@google.com> Extend space LED for autocompletion

Change-Id: If59ea7c871ffc2af6fe2bfde72303f2612e43c3b
atinIME.java
atinKeyboard.java
ab5653dce07da9c4fb8283fed4a7fe4cabbb07ee 03-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> am 232b0394: am e8f45ab5: One alternate is treated as key action, not open mini keyboard

Merge commit '232b039496ef95c543bac5128e6378b38760de21'

* commit '232b039496ef95c543bac5128e6378b38760de21':
One alternate is treated as key action, not open mini keyboard
e8f45ab56f3e6f358953dede794a63fc5901961d 03-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> One alternate is treated as key action, not open mini keyboard

This change also fixes bug#2973683.

Bug: 2973546
Bug: 2973683
Change-Id: I67573e5b7cad4af261591a4a608d0596dd7901f2
atinKeyboardBaseView.java
atinKeyboardView.java
ointerTracker.java
bf669e4379b21220c076ada1842e35794a43a3c0 03-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> am c93ac9db: am ffa88f0e: Merge "Move inflating mini keyboard code into separate method" into gingerbread

Merge commit 'c93ac9db7129f935425f79d5a460e7b926cb4a22'

* commit 'c93ac9db7129f935425f79d5a460e7b926cb4a22':
Move inflating mini keyboard code into separate method
ffa88f0ef546d6393ecf4cec1ccb68229124f208 03-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> Merge "Move inflating mini keyboard code into separate method" into gingerbread
6a36764a8d9c07509de41d69a13d661232236d7c 03-Sep-2010 satok <satok@google.com> am e5ae8c62: am 1b09ac4f: Merge "Add a showing input method picker option by longpressing setting key" into gingerbread

Merge commit 'e5ae8c62c83ad29d623562a74355bc619c216742'

* commit 'e5ae8c62c83ad29d623562a74355bc619c216742':
Add a showing input method picker option by longpressing setting key
1b09ac4f93a0138a414094c374fa2ff12e39c71a 03-Sep-2010 satok <satok@google.com> Merge "Add a showing input method picker option by longpressing setting key" into gingerbread
9a6a4d3d5f1ee52b56d349c002aa61c264d010d3 02-Sep-2010 satok <satok@google.com> Add a showing input method picker option by longpressing setting key

Bug: 2959271

Change-Id: I4b7e9a2de3cbe17b168ed8d0541a9b1cd9a9e107
atinIME.java
atinKeyboardView.java
0b4734396fdc4ffe7a27016225b9ab242fef1295 03-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> Move inflating mini keyboard code into separate method

Change-Id: Iba8e43ba6125e559d4c7d9cadb6bcb13b8eefc83
atinKeyboardBaseView.java
80e518d36be76e5b55b80dc2dbd286df872519b7 03-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> am 1274cd16: am 5583cb0a: Merge "Followup TBR in I87060049" into gingerbread

Merge commit '1274cd160f81d7a59828e0dbe66d87dfbe87c544'

* commit '1274cd160f81d7a59828e0dbe66d87dfbe87c544':
Followup TBR in I87060049
5583cb0afcb2104a10689a1c60c051a99e98678b 03-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> Merge "Followup TBR in I87060049" into gingerbread
0529a04b6aece3db34b4e7c895c67ad0858c8bd9 03-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> Followup TBR in I87060049

This change is followup TBR in I87060049cad6f9d6432b6c4a246c15587ae0d837

Change-Id: I02ee33da269162f5e95ce5b985dbf5094ba14c0d
eyDetector.java
ec8c4f0d3734540733495b14092da2b9fe3aba0a 03-Sep-2010 satok <satok@google.com> am 66546535: am c5841994: Merge "Change symbol on space bar when autocompletion is activated" into gingerbread

Merge commit '6654653562d0ec5d46a74f8c49eab2488e273cf2'

* commit '6654653562d0ec5d46a74f8c49eab2488e273cf2':
Change symbol on space bar when autocompletion is activated
c5841994affbca41a7070a769f4f8e51bee4773b 03-Sep-2010 satok <satok@google.com> Merge "Change symbol on space bar when autocompletion is activated" into gingerbread
41feaaadb758a8b31d3e436063b4b5faed104d4d 02-Sep-2010 satok <satok@google.com> Change symbol on space bar when autocompletion is activated

bug: 2959279

Change-Id: Icc70b7cce0c245ae2451d324debd346f226b8769
andidateView.java
eyboardSwitcher.java
atinIME.java
atinKeyboard.java
7d4833a8bf83fb4b8d97374ccfe2a92c31c9d9a9 03-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> am 22776af8: am c5d33b16: Fix NPE in LatinKeyboardBaseView

Merge commit '22776af828c69db22d90b42d196f487095905c70'

* commit '22776af828c69db22d90b42d196f487095905c70':
Fix NPE in LatinKeyboardBaseView
c5d33b16521de56ad01b0b6308217efb009078b7 02-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> Fix NPE in LatinKeyboardBaseView

This change also refactors some mini-keyboard related methods in
LatinKeyboardBaseView and PointerTracker class.

Bug: 2973236
Change-Id: I3190fe89ea3ac3c6d351ed4b6d77de98a0aa65db
atinKeyboardBaseView.java
ointerTracker.java
efabc4eb52154906093cf906f1d0f6e22313629f 02-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> am 2fb112f1: am 7083b748: Propagate preview enable attribute to mini-keyboard

Merge commit '2fb112f142bdac2c7cb96da5f264b5575ce611e7'

* commit '2fb112f142bdac2c7cb96da5f264b5575ce611e7':
Propagate preview enable attribute to mini-keyboard
7083b7486ec62ab06818e1bfbd0694d5f3563473 02-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> Propagate preview enable attribute to mini-keyboard

Bug: 2959169
Change-Id: Iea1bec44baf3344d9f91280bd2b8f28476cbcf51
atinKeyboardBaseView.java
539fb1bc67f3f7e3a872c431656b2c21442fa7d3 02-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> am 20052f34: am fe72f135: Remove close button from mini keyboard

Merge commit '20052f34f987ab946d54cc405fa42cd0510fb94f'

* commit '20052f34f987ab946d54cc405fa42cd0510fb94f':
Remove close button from mini keyboard
e46f44714d67faf598df7d85f6271db2ff75aebb 02-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> am cea6a25b: am 07221a4a: Support sliding pop-up mini-keyboard input

Merge commit 'cea6a25b904f536aff4efbf9eeb865bef8a3a4b4'

* commit 'cea6a25b904f536aff4efbf9eeb865bef8a3a4b4':
Support sliding pop-up mini-keyboard input
fe72f135b855cbbebe2c1a00650a58736370693c 02-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> Remove close button from mini keyboard

Bug: 2959169
Change-Id: I9c78f9417aaa448b8b23596bc3e748fe99085393
atinKeyboardBaseView.java
a18e956f7aec76b4bebaecd3ce022520026fba48 02-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> am 23eb4711: am 6bfb234f: Refactor KeyDetector to share more methods

Merge commit '23eb4711020f73ebb89a761a0c4ab917a94cfabe'

* commit '23eb4711020f73ebb89a761a0c4ab917a94cfabe':
Refactor KeyDetector to share more methods
07221a4ad11fa5ae6275c107f1f86260691bd505 02-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> Support sliding pop-up mini-keyboard input

TODO:
- Remove close button on mini-keyboard
- Dismiss mini-keyboard when finger leave the screen while no key is selected

This change also renames some instance variables to have more meaningful name.

Bug: 2959169
Change-Id: I9fd79116a647d7be82415c6e9e7cdaf6edcb2bf6
atinKeyboardBaseView.java
ointerTracker.java
6bfb234f294b6ad95176f987256c85e8607d23f5 02-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> Refactor KeyDetector to share more methods

Bug: 2959169
Change-Id: I87060049cad6f9d6432b6c4a246c15587ae0d837
eyDetector.java
roximityKeyDetector.java
ac64a5c3edf9a99889bc9f800139df95abb200b9 02-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> am b52edca1: am 83b3cf56: Merge "Corresponding to TBR of Id2b0b974" into gingerbread

Merge commit 'b52edca15df778372e52986bc4f379d1b625a14a'

* commit 'b52edca15df778372e52986bc4f379d1b625a14a':
Corresponding to TBR of Id2b0b974
83b3cf56cdb64f91ec32869bce237e16a1487f4a 02-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> Merge "Corresponding to TBR of Id2b0b974" into gingerbread
2fb7e2ff4dfdd2a2563df7eda5be0691f35eb342 02-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> am c98e7cb2: am 0fe4c9e1: Corresponding to TBR of Ie6cf6768

Merge commit 'c98e7cb28b4e05883531266c31ea4c09fca74edc'

* commit 'c98e7cb28b4e05883531266c31ea4c09fca74edc':
Corresponding to TBR of Ie6cf6768
72d98fab21a23a1a2b88e1da07723a8a9630272b 02-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> Corresponding to TBR of Id2b0b974

This is follow up change of Id2b0b974fffdf6f09ee1828e957b973d2ce1c315
Bug: 2959169

Change-Id: Ie47db5fce7937a4d70c432ab76510d0dc3f68401
roximityKeyDetector.java
0fe4c9e1a78445a27b74ae24afb292a84a893703 02-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> Corresponding to TBR of Ie6cf6768

This is follow up change of Ie6cf67681180467bd8ba35d0205ce6727b7684a2

Bug: 2959169
Change-Id: I9e4cb0c9178856ddd6049f0b751b54f3ad26a266
ointerTracker.java
e9eda7ea9442300984f0f9510ee189e4b894166d 02-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> am 7f67c211: am 400046d6: Encapsulate vertical and horizontal correction values into KeyDetector.

Merge commit '7f67c211e7ec4bdf148c9dd468cc8e73ffeb66e3'

* commit '7f67c211e7ec4bdf148c9dd468cc8e73ffeb66e3':
Encapsulate vertical and horizontal correction values into KeyDetector.
400046d62e22899e28efd2a62321c637c7831f81 02-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> Encapsulate vertical and horizontal correction values into KeyDetector.

Bug: 2959169
Change-Id: Id2b0b974fffdf6f09ee1828e957b973d2ce1c315
eyDetector.java
atinKeyboardBaseView.java
ointerTracker.java
roximityKeyDetector.java
9b5867e3e6e20a691b3656212d567dd0c5215adb 02-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> am a4397ce3: am 6b4d521f: Merge "Add PointerTracker argument to long press related methods" into gingerbread

Merge commit 'a4397ce38af2e1ac3a8284bc078bd1e9cb4fecf4'

* commit 'a4397ce38af2e1ac3a8284bc078bd1e9cb4fecf4':
Add PointerTracker argument to long press related methods
3d4123fabb51a0c929401d98fca496759a5aa0d6 02-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> Add PointerTracker argument to long press related methods

This change also adds debugging log to PointerTracker class

Bug: 2959169
Change-Id: Ie6cf67681180467bd8ba35d0205ce6727b7684a2
atinKeyboardBaseView.java
ointerTracker.java
373656f09b71a953dfdde3a741d3ad923a685500 02-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> am d0457eae: am 3491c877: Merge "Queuing PointerTracker to support n-key roll-over and shift modifier." into gingerbread

Merge commit 'd0457eae17d10535023a02579d16ede7bfcc6bec'

* commit 'd0457eae17d10535023a02579d16ede7bfcc6bec':
Queuing PointerTracker to support n-key roll-over and shift modifier.
3491c877dd25df829e5e6541a72f375cc2842ea5 02-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> Merge "Queuing PointerTracker to support n-key roll-over and shift modifier." into gingerbread
40a05f62edc6cdedb4365a722b48a72826ef2bf6 01-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> Queuing PointerTracker to support n-key roll-over and shift modifier.

Bug: 2910379
Change-Id: I5cfae33e72a406585137842a2260310813cee07f
atinIME.java
atinKeyboardBaseView.java
odifierKeyState.java
ointerTracker.java
11b448528bf7be966e8d0406d3c6462dcf8e32b6 02-Sep-2010 satok <satok@google.com> am c5363012: am a327485e: Change the preference name for a theme and remove a preference settings

Merge commit 'c5363012b846733e9a3b7ce7de5b04e58644bedc'

* commit 'c5363012b846733e9a3b7ce7de5b04e58644bedc':
Change the preference name for a theme and remove a preference settings
a327485e595c9f7676989097c830ff452085d4c9 02-Sep-2010 satok <satok@google.com> Change the preference name for a theme and remove a preference settings

Change-Id: I5ad980559477775eb44df022e54ce5ef32398601
eyboardSwitcher.java
ee01bf14089dead86a6a662d82cdafebba6cdab2 02-Sep-2010 satok <satok@google.com> am 308acfa7: am ac4f8e46: Merge "Change background color for functional keys in LatinIME" into gingerbread

Merge commit '308acfa714a3a0aae073871e76e753b5a98096d1'

* commit '308acfa714a3a0aae073871e76e753b5a98096d1':
Change background color for functional keys in LatinIME
ac4f8e4629b0206b41c1c38271d62af88e4df21b 02-Sep-2010 satok <satok@google.com> Merge "Change background color for functional keys in LatinIME" into gingerbread
dd8dd9fc1b10d0457a0b4b74c1c1899ff5350601 01-Sep-2010 satok <satok@google.com> Change background color for functional keys in LatinIME

Change-Id: I45f13c1fd139ce43478e5d0b2cdb62e56e9f77a8
atinKeyboard.java
896aa23f0693b284f83311809fd39ae92a13d865 02-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> am d8417f1c: am f7d71c33: Merge "Refactor PointerTracker to add isValidKeyIndex() predicate." into gingerbread

Merge commit 'd8417f1cfe0c5eaf7746ecd4f8e140c15624fedd'

* commit 'd8417f1cfe0c5eaf7746ecd4f8e140c15624fedd':
Refactor PointerTracker to add isValidKeyIndex() predicate.
f7d71c338f2585810ca2da95e7aee5c166b06ac2 02-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> Merge "Refactor PointerTracker to add isValidKeyIndex() predicate." into gingerbread
ec1f2486b078f8d2820853feb31389140e7ffbf7 02-Sep-2010 Amith Yamasani <yamasani@google.com> am c354167c: am b00a1d0c: Correction improvements - use the new InputConnection APIs for underlining and fetching the selected text.

Merge commit 'c354167c84b06b572067efaddfbd3667ffdadb98'

* commit 'c354167c84b06b572067efaddfbd3667ffdadb98':
Correction improvements - use the new InputConnection APIs for underlining and
b00a1d0c0adbdfc507676772201e979e539a2801 26-Aug-2010 Amith Yamasani <yamasani@google.com> Correction improvements - use the new InputConnection APIs for underlining and
fetching the selected text.

Bug: 2950652

Some refinements to correction behavior, such as retaining the tap-to-save
when in correction mode.

Use reflection to access the new InputConnection APIs with fallbacks, in case
we run on older OS versions.

Some refactoring to separate lookup for voice alternatives and typed alternatives.

Change-Id: I7c4178bf7e6b47ee274c49fa7a694f8c2d50cea7
andidateView.java
ditingUtil.java
atinIME.java
568743e182d7a997714e494c801100701b5afd9f 01-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> am 2c7583f6: am c6cb2ec1: Add new public attribute mPointerId to PointerTracker

Merge commit '2c7583f6c3c24202492b9404955b1aee2dc5ce94'

* commit '2c7583f6c3c24202492b9404955b1aee2dc5ce94':
Add new public attribute mPointerId to PointerTracker
c6df09182cac288c9a4de2cc05628dac6b6db41e 01-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> Refactor PointerTracker to add isValidKeyIndex() predicate.

Bug: 2910379
Change-Id: If2b28764dc777bb62949a95bc61c4a16ff152220
ointerTracker.java
c6cb2ec1f3264a7b626022bcfdc8da180b87920c 01-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> Add new public attribute mPointerId to PointerTracker

It is easier to track each pointer if a PointerTracker object keeps
its pointer id.

Bug: 2910379
Change-Id: If3e3b0cf3d834d22302598f4d85d54c9a4ce92ba
atinKeyboardBaseView.java
ointerTracker.java
a4c574585208d9b9d19cce3ad68f52a8143e2400 01-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> am 57a41d09: am 2085d43d: Make abstract KeyDetector class

Merge commit '57a41d09b6427a0d2c1e4884678a933753350a9c'

* commit '57a41d09b6427a0d2c1e4884678a933753350a9c':
Make abstract KeyDetector class
2085d43daf44752deae1b6b00a14cb0f517d69cb 01-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> Make abstract KeyDetector class

The KeyDetector abstracts key detection algorithm. The
ProximityKeyDetector is one of its concrete implementations. Another
one that might be called XAxisKeyDetector will follow to realize the
pop-up mini-keyboard behavior described in bug#2959169.

Bug: 2959169
Change-Id: Idd3fc53282e6b721ec7a4ce500af8aba21ce07a3
eyDetector.java
atinKeyboardBaseView.java
ointerTracker.java
roximityKeyDetector.java
1d3678ef2fec813d0d3403080aae76a614108bfa 01-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> am f3231f45: am 681b102a: Track all pointers events

Merge commit 'f3231f45310ae28b78662ae39b1961d80b3b01f8'

* commit 'f3231f45310ae28b78662ae39b1961d80b3b01f8':
Track all pointers events
d7dba7c33da6e296a18830646552156676f96eb8 01-Sep-2010 Ken Wakasa <kwakasa@google.com> am fb82afd4: am 40ac45eb: Get rid of arrows in candidate view

Merge commit 'fb82afd48b6882cbdbb6477dca9526cd22d69400'

* commit 'fb82afd48b6882cbdbb6477dca9526cd22d69400':
Get rid of arrows in candidate view
6f99ca9eaa658bafd1efeba40b7679230b0aac93 01-Sep-2010 satok <satok@google.com> am 103381eb: am d4f60bc8: Merge "Fix new theme assets and resources" into gingerbread

Merge commit '103381ebf1a833ec478dd1bac41e67cf7d538f67'

* commit '103381ebf1a833ec478dd1bac41e67cf7d538f67':
Fix new theme assets and resources
132927f20e58aa8ece2f018b8b69211f324f1b24 01-Sep-2010 satok <satok@google.com> am 4d09b2e7: am 31adfa78: Add a new theme for Gingerbread

Merge commit '4d09b2e78e68ef0f1b713b10e280e56d91592717'

* commit '4d09b2e78e68ef0f1b713b10e280e56d91592717':
Add a new theme for Gingerbread
35682aff054a443163e042e1702da441b9a4d902 01-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> am c3b55809: am c7c6203f: Merge "Introduce multiple PointerTracker" into gingerbread

Merge commit 'c3b55809a5e650200a67c8f8164ba48db995c24c'

* commit 'c3b55809a5e650200a67c8f8164ba48db995c24c':
Introduce multiple PointerTracker
681b102a492b7d5301c1ca87985b4c391eb5eb14 01-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> Track all pointers events

Bug: 2910379
Change-Id: I179ae4359afb57c351d5fcc5f5453c30d3ef0c01
atinIME.java
atinKeyboardBaseView.java
ointerTracker.java
40ac45ebdcd71940394dda00371d4847f7db0f26 01-Sep-2010 Ken Wakasa <kwakasa@google.com> Get rid of arrows in candidate view

bug: 2959293
Change-Id: Ia5dcb29397f608846f865fabb3c696866b3687aa
andidateViewContainer.java
atinIME.java
8d3ca2fc449cbce7f88a77c0f3b80c0270975d14 01-Sep-2010 satok <satok@google.com> Fix new theme assets and resources

- Add a layout for popup for new theme
- Change the color of language bar
- Fix a drawable for settings feedback

Change-Id: I7c0c9e238c8223554a62f7b0c8092d074cf9743f
atinKeyboard.java
31adfa78e2edae188edb05e869f9f68798857582 01-Sep-2010 satok <satok@google.com> Add a new theme for Gingerbread

bug: 2959293

Change-Id: I8aef19a7485ffd5639a177aee21103b3a1e04cf2
eyboardSwitcher.java
a521b31d96ff51672a3bc399a27a8f02dca840fa 01-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> Introduce multiple PointerTracker

Bug: 2910379
Change-Id: Iefafa2d30ad16f898a00664e4bf3e3e88dcd2cb2
atinKeyboardBaseView.java
ointerTracker.java
64f4915f4641637fbc06faccfc1a4f7a2ffbcc1b 01-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> am ad60fe2e: am 409731fb: Merge "Make KeyDebounce class a top-level class and rename it to PointerTracker" into gingerbread

Merge commit 'ad60fe2e80878e1b1caa2c9207d8f601e203560f'

* commit 'ad60fe2e80878e1b1caa2c9207d8f601e203560f':
Make KeyDebounce class a top-level class and rename it to PointerTracker
5d95dfc2cb42132b88e2f6be63e1edcdb531cd94 01-Sep-2010 Ken Wakasa <kwakasa@google.com> am 7bb640c1: am 543dbdfd: Always present suggestion strip whenever in appropriate mode.

Merge commit '7bb640c1e06718936412af2c2198e09a57ce5124'

* commit '7bb640c1e06718936412af2c2198e09a57ce5124':
Always present suggestion strip whenever in appropriate mode.
409731fb46f5a7298005f3d6dbdd0bf4ee435236 01-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> Merge "Make KeyDebounce class a top-level class and rename it to PointerTracker" into gingerbread
6a1514a0deac7f3d8ec33430403b2caea05bc8b9 31-Aug-2010 Tadashi G. Takaoka <takaoka@google.com> Make KeyDebounce class a top-level class and rename it to PointerTracker

Bug: 2910379
Change-Id: I9503b2211b272a4a2903d0732985e5ab8ee39440
atinKeyboardBaseView.java
ointerTracker.java
543dbdfdbda259aa56be9670480c7d802beba332 31-Aug-2010 Ken Wakasa <kwakasa@google.com> Always present suggestion strip whenever in appropriate mode.

Some cleanups too.

bug: 2959293
Change-Id: Idf07fc25c5700b69b93ab4b09ce34941f0d9c157
atinIME.java
890c1d5fa3b38fa235883c5a6af6db452f63d60d 01-Sep-2010 Ken Wakasa <kwakasa@google.com> am 5bb2e9a5: am b24cc640: Fix ArrayIndexOutOfBoundsException.

Merge commit '5bb2e9a55de237e1955ac1fd19eea3771e671afe'

* commit '5bb2e9a55de237e1955ac1fd19eea3771e671afe':
Fix ArrayIndexOutOfBoundsException.
b24cc640c1485590b1e9912397ea9acd68b43d99 01-Sep-2010 Ken Wakasa <kwakasa@google.com> Fix ArrayIndexOutOfBoundsException.

bug: 2964045
Change-Id: I97d95181e1a6838ace9c135aa92e7f20034e821f
atinKeyboardBaseView.java
e202e5e298a5014dee36cc2cb9ca40938b45069b 31-Aug-2010 Tadashi G. Takaoka <takaoka@google.com> am cc742449: am b57b4785: Refactor KeyDebounce class

Merge commit 'cc7424498f63712077e8e4009932b22fabdc1e38'

* commit 'cc7424498f63712077e8e4009932b22fabdc1e38':
Refactor KeyDebounce class
224453eea26505bfded7339eb5b1e669a87c8ddc 31-Aug-2010 Tadashi G. Takaoka <takaoka@google.com> am f4230c49: am dc406a2d: Merge "Refactor key preview methods" into gingerbread

Merge commit 'f4230c498d2424e52170599da7cd231df5a9311e'

* commit 'f4230c498d2424e52170599da7cd231df5a9311e':
Refactor key preview methods
981ddd228d320859bf6097ffd8a7374d53665a11 31-Aug-2010 satok <satok@google.com> am 28f6351d: am 673aed42: Add settings button

Merge commit '28f6351df341bd27c330b79f315e7419f2f35100'

* commit '28f6351df341bd27c330b79f315e7419f2f35100':
Add settings button
b57b47856930ca4b7a5391f92947ab2ce9de9c59 31-Aug-2010 Tadashi G. Takaoka <takaoka@google.com> Refactor KeyDebounce class

This change moves the following methods into KeyDebounce class.
- MotionEvent handling methods (onDownEvent etc.).
- Keyboard action event generator method (detectAndSendKey).
- Multi-tap key support methods (resetMultiTap etc.).
- Key preview text generator method (getPreviewText).

The change that makes KeyDebounce a top-level class will follow.

Bug: 2910379
Change-Id: I1526c0461e247d97f0c4b3bd580330f137c787be
atinKeyboardBaseView.java
32511ef6cb272d2603a7c41b91ff0bdafdbf34f0 31-Aug-2010 Maryam Garrett <mkamvar@google.com> Merge "Logging for the VoiceSearch alternates"
dc406a2db6d9820f2deb2cbd89f394a76b52dfd4 31-Aug-2010 Tadashi G. Takaoka <takaoka@google.com> Merge "Refactor key preview methods" into gingerbread
2ca84dacff87ef65fbb13e45c252fb1446bdda7b 31-Aug-2010 Tadashi G. Takaoka <takaoka@google.com> Refactor key preview methods

Extract key press and release handling out of previewKey() to
KeyDebouncer class. And pass Key object as argument of previewKey()
instead of key index.

Bug: 2910379
Change-Id: Ifec39cfc4845bd92da2f62eba2b26ac6a5cbb341
atinKeyboardBaseView.java
673aed42c3b291fc9f81ead58ca35a5d150f4dce 30-Aug-2010 satok <satok@google.com> Add settings button

- delete unused keyboard layout

Change-Id: Iab39446653460797f1ca876a7d9a23190c3a8df6
eyboardSwitcher.java
85c1c435405a77bdc7656214b21e941360ad7ec2 31-Aug-2010 Tadashi G. Takaoka <takaoka@google.com> am c4154ba8: am eeb77d4f: Merge "Remove mAbortKey flag completely" into gingerbread

Merge commit 'c4154ba8dec50eaf7f9d118067d3eb7d89701192'

* commit 'c4154ba8dec50eaf7f9d118067d3eb7d89701192':
Remove mAbortKey flag completely
eeb77d4f6a56a140fd22c657074ad8de6676cb94 31-Aug-2010 Tadashi G. Takaoka <takaoka@google.com> Merge "Remove mAbortKey flag completely" into gingerbread
7b9ed1aa7601e263a46cf6b852df75a3866277d4 26-Aug-2010 Maryam Garrett <mkamvar@google.com> Logging for the VoiceSearch alternates

Log which voice-based alternates were selected, and what
word in the recognition results were replaced.

Change-Id: I1527dc794902a18a226ca45e186ecf84841094c8

Conflicts:

java/src/com/android/inputmethod/latin/LatinIME.java
atinIME.java
ba9b24edffa15cf664acfddd1abd86ef8dddb021 30-Aug-2010 Tadashi G. Takaoka <takaoka@google.com> Remove mAbortKey flag completely

These three conditions assign true to the mAbortKey flag.
1. setKeyboard() sets the new keyboard layout.
2. long press shows the pop-up mini keyboard.
3. ACTION_CANCEL event is occurred.

In the case 1, in LatinIME so far, only "symbol key" and "language
switch" cause keyboard layout change. In both cases, the event is
occurred in onUpEvent(), so we do not need to worry about aborting
event.

In the case 2, long press is used only to pop-up mini-keyboard and at that
time mMiniKeyboardOnScreen could be used as a flag.

In the case 3, though I'm not sure when this case occurs, in
onCancelEvent() all the things that should be canceled are canceled
in onCancelEvent().

Bug: 2910379
Change-Id: I12377c5f3e808f1c017ce980e12b1513895047bc
atinKeyboardBaseView.java
a66ccc3e8da054341ada866706ad61c31468599b 30-Aug-2010 Tadashi G. Takaoka <takaoka@google.com> am 1cd7d96f: am ed5ce6c1: Merge "Remove extension keyboard" into gingerbread

Merge commit '1cd7d96fe42e63577d70e911c4b5dbfd8b50bba1'

* commit '1cd7d96fe42e63577d70e911c4b5dbfd8b50bba1':
Remove extension keyboard
d2a431efa726771dee5c7b90004a0ed670d9a129 30-Aug-2010 Tadashi G. Takaoka <takaoka@google.com> Remove extension keyboard

Bug: 2959287
Change-Id: I344ac58b4119e96daf5928c784275ee0b7095958
eyboardSwitcher.java
atinKeyboard.java
atinKeyboardView.java
8650230abc3ed8fba909b0082d0407ffc115ed1c 30-Aug-2010 satok <satok@google.com> am e975c196: am 5d55cf6d: Remove Log functions from Gingerbread

Merge commit 'e975c196c5638ac7f5a61e45100a6eba49900412'

* commit 'e975c196c5638ac7f5a61e45100a6eba49900412':
Remove Log functions from Gingerbread
5d55cf6dfc64ff54766aadda8897532bec9abf45 30-Aug-2010 satok <satok@google.com> Remove Log functions from Gingerbread

Change-Id: I0ab19726a6bfaf14b42c05903f38dfb74cbd0d37
atinIMESettings.java
atinIMEUtil.java
atinImeLogger.java
cb6221257a2f4025c91de4d65f5591e6563c54ce 30-Aug-2010 satok <satok@google.com> DO NOT MERGE. Remove a preference for bigram suggestion

Change-Id: I1a9142d988352abf88da5eefe1d02596c7fc2beb
atinIME.java
06123e56912b5dcd7aca3d0c18c7ceb1f1cde573 27-Aug-2010 Tadashi G. Takaoka <takaoka@google.com> Don't re-allocate KeyDebouncer when keyboard is switched.

This change also re-orders instance variables and eliminates
unnecessary ones.

Bug: 2910379
Change-Id: I6b2217f75738fada32a33f59f0f7adba5e99dd6e
atinKeyboardBaseView.java
00dda50efda107daec8bfcafe2639603b655f183 27-Aug-2010 Tadashi G. Takaoka <takaoka@google.com> Revert "Show key preview instantaneously"

This reverts commit 09f530e248a3caf0037ca89aa79a836385a03fab.

Change-Id: I3106cd22cc1eac750f05bce26df6af3026dfaf86
atinKeyboardBaseView.java
09f530e248a3caf0037ca89aa79a836385a03fab 27-Aug-2010 Tadashi G. Takaoka <takaoka@google.com> Show key preview instantaneously

This change will display the key board preview instantaneously when
the key is pressed. Dismissing the key preview will be delayed
slightly after the key is released, as we do now.

Because in multi touch mode, we should instantaneously change keyboard
layout when modifier key, such as shit and symbol, is pressed.

Change-Id: I49348d563ca0f40f5a0a236bdcd0bb07eedd599b
atinKeyboardBaseView.java
7986d78328e17bdbe7ec05558e93a2c6a25641c6 27-Aug-2010 Tadashi G. Takaoka <takaoka@google.com> Merge "Disable long-press on shift and symbol keys" into gingerbread
cec1495071e0cf78b5941b07768062fbafe2dccd 27-Aug-2010 Tadashi G. Takaoka <takaoka@google.com> Disable long-press on shift and symbol keys

Long-press on shift and symbol keys will conflict with press-and-hold
these keys and press normal key (a.k.a. multi touch support).

Bug: 2910379

Change-Id: I27007b55a30a3699bf63fd8f64d58c4b23d97d9f
atinIME.java
atinKeyboardView.java
f17a50f5a5a6c185d3a223bea3a7475c8482a110 27-Aug-2010 satok <satok@google.com> Merge "Not to reset the ring buffer in LatinImeLogger" into gingerbread
975fc3cfd8827e7e892972f9932a0a40fd3100da 27-Aug-2010 satok <satok@google.com> Not to reset the ring buffer in LatinImeLogger

Change-Id: I3286b2562e07d77a9dfd745ad6ec44aae4396e21
atinImeLogger.java
830fd4af566cf2545df5f45cd2f53d97c481e254 27-Aug-2010 Tadashi G. Takaoka <takaoka@google.com> Merge "Refactor onModifiedTouchEvent into several methods." into gingerbread
bdd9c3dc4fad8012ec18134d0db65c98b92dcbdf 27-Aug-2010 Tadashi G. Takaoka <takaoka@google.com> Remove unused import statement

Change-Id: I61890a702060650369c6edf70c3de823a0fc1bf1
wipeTracker.java
5b6fbf9a4f0592e51d14e6cd4da65ad1061bfed6 26-Aug-2010 Tadashi G. Takaoka <takaoka@google.com> Refactor onModifiedTouchEvent into several methods.

This change eliminates the need of extra MotionEvent allocation. Also
this will lead to the easy way to handle multi touch events.

Bug: 2910379
Change-Id: Ibcfcba554b732c13105f91877b41b553ee6928ba
atinKeyboardBaseView.java
e83d7385abbd0b58899b8190d644a0cb8e9f2774 26-Aug-2010 Tadashi G. Takaoka <takaoka@google.com> Refactor getKeyIndexAndNearbyCodes into independent class

Bug: 2910379
Change-Id: Ib26a898ea108ee4292f9f91b6d7d10c1fc380fd1
atinKeyboardBaseView.java
roximityKeyDetector.java
dfbc5080a1b639fda448098ab080d632639591dc 25-Aug-2010 Tadashi G. Takaoka <takaoka@google.com> Refactor SwipeTracker class

This change moves SwipeTracker out from LatinKeyboardBaseView. Also
this introduces EventBuffer class for swipe tracking buffer.

Bug: 2910379

Change-Id: I48ff714226a248ca063cbaf9755cf45e458f7402
atinKeyboardBaseView.java
wipeTracker.java
542f057ef64ae16cf2bc528880cf32bfd073edad 25-Aug-2010 satok <satok@google.com> Add a log for getting coordinates of keys

Change-Id: I57cc6fb6a9eeb65ce8c0c3c3262fd525726643e2
atinIME.java
atinImeLogger.java
atinKeyboardBaseView.java
atinKeyboardView.java
0c5480989186c884a1a296ac2f46132235d02d45 26-Aug-2010 Tadashi G. Takaoka <takaoka@google.com> Refactor gesture detector logic

GestureDetector listener's onFling method will not call detectAndSendKey
anymore.

Make gesture detector be ignoring multitouch. Refactoring
GestureDetector out of LatinKeyboardBaseView class change will follow.

Bug: 2910379
Change-Id: I0b2a9c4cf7d432f89f9085f3c2bdf3a3757a8903
atinKeyboardBaseView.java
0d098c514eac2da144dcb856d9aa870bbe5be8c8 26-Aug-2010 Tadashi G. Takaoka <takaoka@google.com> Fix bugs in key repeat logic

Bug: 2950714
Change-Id: I3110369c085f89ee1e8f7392a9a04a6b9e377ed4
atinKeyboardBaseView.java
05d1904ed703348df59f918486f2344dd2a92fec 25-Aug-2010 Tadashi G. Takaoka <takaoka@google.com> Refactor SwipeTracker to top level class

Bug: 2910379
Change-Id: If0ef09d8b0e7ca1c62b4c5a31bcaa620664868f2
atinKeyboardBaseView.java
wipeTracker.java
f4271e51e713688a4e9f368956fb41aa45b76ff7 24-Aug-2010 Tadashi G. Takaoka <takaoka@google.com> Refactor key repeating related code

This change encapsulates mInKeyRepeat (former mRepeatKeyIndex) into
UIHandler class. Also this eliminates mCurrentKey and mLastTapTime
dependency from repeatKey method.

Bug: 2910379
Change-Id: I9351a558be2ebc04de4ebb0d323af4be33bd470c
atinKeyboardBaseView.java
8ee1321264a721a20fa2371d45bb14a07906f60c 24-Aug-2010 Tadashi G. Takaoka <takaoka@google.com> Refactor long press related code

This change eliminates mCurrentKey dependency from openPopupIfRequired
method. Also slightly cleanup onModifiedTouchEvent.

Bug: 2910379
Change-Id: I90c9b39c46c0bb32ecc6588abfc49eb60315f54c
atinKeyboardBaseView.java
edadd2661b40979dc79b659e38ffe30059192693 25-Aug-2010 Tadashi G. Takaoka <takaoka@google.com> Merge "Refactor onModifiedTouchEvent of LatinKeyboardBaseView" into gingerbread
8b0cb128bec774057934d7b913c4358981b4d4d1 24-Aug-2010 Tadashi G. Takaoka <takaoka@google.com> Refactor onModifiedTouchEvent of LatinKeyboardBaseView

This change simplifies onModifierTouchEvent to focus on handling
motion event related to a key event.

Other refactoring will follow in order to support multi touch.

Bug: 2910379

Change-Id: I036be64168d951a535600a7910b36bc109f88490
atinKeyboardBaseView.java
525141a402ac9a3fb3495cb069ad25b9ba1fc970 23-Aug-2010 satok <satok@google.com> Clean up LatinIME java

- remove unused code
- add @Override
- change the inappropriate cast

Change-Id: Ib25b4939e5b4273794ab0f6349776b5b62d89894
inaryDictionary.java
ints.java
nputLanguageSelection.java
eyboardSwitcher.java
atinIME.java
atinIMEBackupAgent.java
uggest.java
utorial.java
serBigramDictionary.java
ordComposer.java
78c4611719f10b4a53ade54ab5eeb390061737a3 20-Aug-2010 Ken Wakasa <kwakasa@google.com> Fix LatinIME crashing due to crash in Contacts DB

bug: 2895391
Change-Id: I3a0628942b74556f8b600b63ebc5d808fb2f0abd
ontactsDictionary.java
17dc363a63a20d18cd8161f917899b39aed6ddd6 20-Aug-2010 Ken Wakasa <kwakasa@google.com> Fix an NPE found in KeyboardSwitcher.isAlphabetMode()

Change-Id: I03d3d9b25147632d25c1502f796acad4cdaeb239
eyboardSwitcher.java
atinIME.java
979f8690967ff5409fe18f5085858ccdb8e0ccf1 20-Aug-2010 satok <satok@google.com> DO NOT MERGE. Backport LatinIME from master to Gingerbread

TODO: Cleanup will follow.

Change-Id: I4a68ba9f2f55760aa24187f1f13fdfa8a0b70963
utoDictionary.java
inaryDictionary.java
andidateView.java
ontactsDictionary.java
ictionary.java
ditingUtil.java
xpandableDictionary.java
nputLanguageSelection.java
eyboardSwitcher.java
atinIME.java
atinIMESettings.java
atinIMEUtil.java
atinImeLogger.java
atinKeyboard.java
atinKeyboardBaseView.java
atinKeyboardView.java
uggest.java
extEntryState.java
serBigramDictionary.java
serDictionary.java
ordComposer.java
6511376ff6f06aba15cdd1ab598a96924bae16ad 06-Aug-2010 Ken Wakasa <kwakasa@google.com> am 65582531: Fix a bug in backspace handling for the "Tap again to save"

Merge commit '6558253160e2039c87f424bd814f402ecd31de3b' into gingerbread

* commit '6558253160e2039c87f424bd814f402ecd31de3b':
Fix a bug in backspace handling for the "Tap again to save"
6558253160e2039c87f424bd814f402ecd31de3b 03-Aug-2010 Ken Wakasa <kwakasa@google.com> Fix a bug in backspace handling for the "Tap again to save"

bug: 2889273
Change-Id: I0f317e203f368f5f47738154a6dee0f556d56148
andidateView.java
atinIME.java
b1068051c775f395e2e3e75877be74fa62f2a8df 04-May-2010 Amith Yamasani <yamasani@google.com> am f0296426: Don\'t auto-select the system language in IME language selection screen.

Merge commit 'f02964264f196447b03a88591a2964b67c318718' into froyo-plus-aosp

* commit 'f02964264f196447b03a88591a2964b67c318718':
Don't auto-select the system language in IME language selection screen.
f02964264f196447b03a88591a2964b67c318718 03-May-2010 Amith Yamasani <yamasani@google.com> Don't auto-select the system language in IME language selection screen.

Fixes http://b/2650378

On entering the selection screen, don't add the system language in addition
to other selected languages.

Change-Id: Id7a3b45df39a8493d17be668029eee139bf00ff3
nputLanguageSelection.java
anguageSwitcher.java
atinIME.java
atinKeyboard.java
335a0c55118f34485266ea2cd24b487517f4f2c3 16-Apr-2010 Amith Yamasani <yamasani@google.com> am 938c1782: Fix for hanging extension keyboard. Bug: 2593488

Merge commit '938c178215d38c6f085b32b0994598f9e8bc5ab5' into froyo-plus-aosp

* commit '938c178215d38c6f085b32b0994598f9e8bc5ab5':
Fix for hanging extension keyboard. Bug: 2593488
938c178215d38c6f085b32b0994598f9e8bc5ab5 15-Apr-2010 Amith Yamasani <yamasani@google.com> Fix for hanging extension keyboard. Bug: 2593488

Sometimes the only motion event that is above the keyboard is the UP
event. In that case we can't expect one more event to come that will
dismiss the extension. So don't show the extension if the only Y < 0
event is an UP event.

Change-Id: I04a8b742dea03cd700006dc5df740ac7d9620c0b
atinKeyboardView.java
97f4b4ad340497f0fe59aa3ef4bb5d323f1c67e1 06-Apr-2010 Amith Yamasani <yamasani@google.com> am c2b8c16b: Possible fix for monkey bug: 2529350

Merge commit 'c2b8c16bdf392c81785031483d21740c5e883046' into froyo-plus-aosp

* commit 'c2b8c16bdf392c81785031483d21740c5e883046':
Possible fix for monkey bug: 2529350
4f695092a2b0e9717eb32667f0903a10088e3df6 06-Apr-2010 Amith Yamasani <yamasani@google.com> am 3e0c82ec: Fix for 2568664 : Slide gesture on spacebar is not reliable anymore

Merge commit '3e0c82ec80a69c4adbd60546c3c56c83c43ec7eb' into froyo-plus-aosp

* commit '3e0c82ec80a69c4adbd60546c3c56c83c43ec7eb':
Fix for 2568664 : Slide gesture on spacebar is not reliable anymore
c2b8c16bdf392c81785031483d21740c5e883046 06-Apr-2010 Amith Yamasani <yamasani@google.com> Possible fix for monkey bug: 2529350

Don't try to show the extension if the main keyboard is not showing.

Change-Id: Ic3368f48f8973dedfb1ab8f4644b0766b52aed1b
atinKeyboardView.java
3e0c82ec80a69c4adbd60546c3c56c83c43ec7eb 06-Apr-2010 Amith Yamasani <yamasani@google.com> Fix for 2568664 : Slide gesture on spacebar is not reliable anymore

This was due to the multi-touch error correction code that was recently
added. Make sure that one of the move points is in the upper 3 rows
to allow for fast swipe on spacebar.

Change-Id: I420bdb83a4cd8833c4158bc37a2d806b8c83b948
atinKeyboardView.java
443c360d0afdbab091994244f045f4756feaf2b4 26-Mar-2010 Jean-Baptiste Queru <jbq@google.com> Clarify licensing

-use AOSP copyright instead of Google
-add NOTICE and tag file

Bug: 2548782
Change-Id: If50b2e9e9cc4b4876b0d047fc9f34e2d537a6da4
inaryDictionary.java
andidateView.java
andidateViewContainer.java
ictionary.java
eyboardSwitcher.java
atinIME.java
atinIMEBackupAgent.java
atinIMESettings.java
atinKeyboard.java
atinKeyboardView.java
uggest.java
extEntryState.java
utorial.java
ordComposer.java
dad0e792aa064765901224af56d2a53a25bc7b7d 01-Apr-2010 Amith Yamasani <yamasani@google.com> Fix for 2559069 IME ".com" should be erasable with one backspace

Change-Id: Ifef97a9b66e051fef7ca8b0a92bfe21f3d1e6cf6
atinIME.java
0fef498a07515bdd5ac1ccfa564776d72fd85a51 31-Mar-2010 Amith Yamasani <yamasani@google.com> Treat fast moves as multi-touch. Bug: 2561786

Detect sudden moves that have a large delta that would not be a typical drag
by the user when hunting for a key. Drop move events until the user releases
the touch and register both starting and ending keys instead of only the
ending key. This reduces the frequency of dropped keys on touch hardware that
isn't able to detect multi-touch reliably.

This also takes into account diagonal moves or right angled moves due to
pseudo-multi-touch.

It weakens the swipe gestures (to swipe, you'll need to swipe slowly and fully,
otherwise it will trigger 2 keys)

Change-Id: Ieba3a0bef4c8910f0f17aa20baedb3581d1de12b
atinKeyboardView.java
fbd1866424b39cf5c1b636a7bb31151dba00b9a0 31-Mar-2010 Amith Yamasani <yamasani@google.com> Avoid race conditions between queries and closing of the auto_dict database.

Keep a reference to the openhelper around across locale and input language
changes. Also, share the openhelper between the queries and updates. Creating
a new one in a separate thread could cause it to be closed at the wrong time.

Monkey bugs, probably dupes.

Bug: 2560471
Bug: 2544169
Change-Id: I6eb39145de7191732ddde455728bf147a2d1ba31
utoDictionary.java
06933183c8b4935f22e793d9f715907653074d2c 30-Mar-2010 Jean-Michel Trivi <jmtrivi@google.com> Fix bug 2553592 API REVIEW: android.speech
Change 3 of 4
Notes from API Council review:
Rename RecognitionManager to SpeechRecognizer

Change-Id: Ieea0ade975b7c01f1fccb83a78a5b8f75e0c62de
atinIME.java
atinIMESettings.java
d079b98ec459183e7c5913ee55bf413c3505367a 30-Mar-2010 Amith Yamasani <yamasani@google.com> Fix build breakage due to api change

Change-Id: I72661c51f277cb9aa3df0bd5a16756408b53ab7f
atinIMEBackupAgent.java
0c05902e331b03426754a1cfffe28d185dd8338c 25-Mar-2010 Amith Yamasani <yamasani@google.com> 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.
atinIME.java
uggest.java
4ff60be170872503cca0275ef3488b7379b5311b 23-Mar-2010 Amith Yamasani <yamasani@google.com> Write the auto dictionary data to disk in a background thread to avoid blocking the UI thread.

Bug: 2536846

This also potentially fixes the occasional hangs on pressing space. Need to verify.
Bug: 2509010
utoDictionary.java
atinIME.java
bad436e93b49116f9005433845bf53126452a839 20-Mar-2010 Amith Yamasani <yamasani@google.com> Potential fix for extension keyboard not cleaning up bubbles sometimes.

This might also fix the keyboard closing suddenly when using the extension.
Re-enable bubble for landscape extension keyboard, since the framework can
now display it to the side.
atinKeyboardView.java
6780b898ec2647a21319601a03ae1c393c0e1b29 18-Mar-2010 Amith Yamasani <yamasani@google.com> Fix a StringIndexOutOfBounds. Bug: 2524050
atinIME.java
1e5374e98b2707aecd774f495350a74be55ec5dc 17-Mar-2010 Amith Yamasani <yamasani@google.com> 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.
nputLanguageSelection.java
atinKeyboardView.java
uggest.java
c3413faf921cb986f5e421c2e98f54808c3d2cee 16-Mar-2010 Amith Yamasani <yamasani@google.com> Merge "Fix occasional correction errors in suggesting obvious corrections."
4f1f2201bdd0e63a19e686caa3d17b16eb134f5e 04-Mar-2010 Maryam Garrett <mkamvar@google.com> Fixes the over-logging of TextModified

We were overlogging the TextMoified action because the old
implementation would log a cursor change as a text
modification. This CL logs 4 specific actions (choose
suggestion, delete text, insert text, insert punctuation)
as a text modification rather than any action in the textbox

I also add in logging of the length of the recognition result
so that we can get some more context around the scope of the
editing of the ime result.

Change-Id: I172df24ddc0a7b62bcc5ed806fd70ef7e1c42310
atinIME.java
231cacd08075e88a2bcdf25f025206de524e880b 15-Mar-2010 Amith Yamasani <yamasani@google.com> Fix occasional correction errors in suggesting obvious corrections.

Bug: 2513996

The array of adjacent letters did not have the primary code in the first
position. Swap the codes around to make the primary the first one.

Change-Id: Id753254c88d440d3d76dbc048d123dfc78edf58d
ordComposer.java
6c2f9f5ba7afedc183086d4ee3a7aa50b3866edc 13-Mar-2010 Amith Yamasani <yamasani@google.com> Fix bug: 2512075 : Current input language resets to first in list on orientation change

Have separate variables for system locale and input locale.
atinIME.java
8102ae79417448de25142ad328b74b0ee15bea1a 11-Mar-2010 Amith Yamasani <yamasani@google.com> 2175312 : IME suggestions stay on screen after switching orientation in search dialog

Only show the candidate strip if the input view is showing. Otherwise ignore any
completions from the AutoCompleteTextView
atinIME.java
283a77f633e92ed7dbe96b083c921fc244bbe880 10-Mar-2010 Amith Yamasani <yamasani@google.com> Load UserDictionary and AutoDictionary in a background thread.

This is to avoid ANRs during bootup, as some of the providers
may not have been initialized yet.

Refactored the ContactsDictionary and moved the async loading
code to ExpandableDictionary to share with the other dicts.

Bug: 2501133
Change-Id: I20393edb6fdf5df2f54ebac8dd04419a592177a2
utoDictionary.java
ontactsDictionary.java
xpandableDictionary.java
serDictionary.java
07b1603a3f9611f6d15dd7fcedf883d6ef8e5817 09-Mar-2010 Amith Yamasani <yamasani@google.com> 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
utoDictionary.java
inaryDictionary.java
andidateView.java
andidateViewContainer.java
ontactsDictionary.java
ictionary.java
xpandableDictionary.java
ints.java
nputLanguageSelection.java
eyboardSwitcher.java
anguageSwitcher.java
atinIME.java
atinIMEBackupAgent.java
atinIMESettings.java
atinKeyboard.java
atinKeyboardView.java
uggest.java
extEntryState.java
utorial.java
serDictionary.java
ordComposer.java