History log of /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
89fe1f50881180730e451cbe6ec4d1f8dc67acf1 15-May-2013 Jean Chalard <jchalard@google.com> Add a method to work around apps broken by recorrection

Bug: 8944307
Change-Id: I8986622554f30aaf4f595099c4ab5652b75c972c
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
7058b02a9c798c21b169b778be2befc7739f4e9b 15-May-2013 Jean Chalard <jchalard@google.com> Extract a new class for app-specific workarounds.

Bug: 8944307
Change-Id: Iaff9dd03d3d856a6bdaa2b16c4e71e95cd2b6349
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
2dbb5957e3c8354fa9bcb1e08c7ce81387b7fe25 01-May-2013 Jean Chalard <jchalard@google.com> Pass blockOffensiveWords as a parameter

Bug: 8773353
Change-Id: Ic1019742ce7ff6e4f7fff4d2729f8ab52d841488
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
aa3a96f3a1c5aeacefdfd6e6a33e58c9d9c49553 30-Apr-2013 Jean Chalard <jchalard@google.com> Don't do recorrection when suggestions are off.

Bug: 8767981
Change-Id: If5c775e488b91ae03ecce2673c99918ac8134928
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
3bdf341ea001cef70da803749e17484d19a9726a 19-Apr-2013 Jean Chalard <jchalard@google.com> Fix an NPE in recapitalize

Bug: 8657736
Change-Id: I459d1c200826c1c394f8207475ecf60a4f356793
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
d91268ad9fb69b4733044b4e466e1d33f6c4725f 17-Apr-2013 Jean Chalard <jchalard@google.com> Initialize dictionaries at onStartInputView

Bug: 8344402
Change-Id: I41b8440f0d72a66fde3f6feb0db8239c9bb10ea3
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
8094bf45d73a5f7257076afc97d91d6708ee03c4 15-Apr-2013 Jean Chalard <jchalard@google.com> Match the keyboard state to the recapitalize state.

Bug: 7657025
Change-Id: I2f8fe7fc4596a498322ba5ccabbd0c18a2bc36cf
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
7be3ca2ccfe05f6659dbbac84de9ff1be4d92e3d 15-Apr-2013 Jean Chalard <jchalard@google.com> Fix an NPE

Bug: 8620758
Change-Id: I39f07939ebb6148a48aae5b915ee807002a5b02d
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
0e9ee4d3bf75459560670ca5c28ff4c4f7c346fb 10-Apr-2013 Jean Chalard <jchalard@google.com> If there are no suggestion span, recompute suggestions.

Bug: 8084810
Change-Id: I1743c09c43ca6835bb2f607684b037bf17d36335
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
1a51833828569d76cbbc4865ccef8cc7f529dd68 12-Apr-2013 Jean Chalard <jchalard@google.com> Remove the dialog to insert words to the dictionary.

Bug: 8562529
Change-Id: Ibd853f0cb995e7fb35f8730eafcef73ead58c869
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
ce811f50d2cfa1cb5586d60943cfc10a28dffccc 10-Apr-2013 Tadashi G. Takaoka <takaoka@google.com> Use private lock object instead of synchronized method

Change-Id: Ifc62bacbd0583a7d102009681a94bdd9ccff7d47
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
19dcd154932b8aef07f371bdda7f879a70c3c3c8 09-Apr-2013 Jean Chalard <jchalard@google.com> Merge "Offer to add any OOV typed word to the dictionary."
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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
d117c1a11635d6389f63ce939f5f15c7cc6a0bba 09-Apr-2013 Kurt Partridge <kep@google.com> Merge "Do not record log split time when handling separator"
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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
0c0ab2b4d9303274c26ef70f7228f2d54e2d59f5 01-Apr-2013 Kurt Partridge <kep@google.com> Merge "Reorder ResearchLogger call"
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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
ef103e1f2e0a94e9445dd9b55516dcf59b05ee2f 26-Mar-2013 Kurt Partridge <kep@google.com> Merge "Close ResearchLogger upon onFinishInputView"
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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
a17dccbfc624c991ca054a5436519e74e0a60b54 25-Mar-2013 Satoshi Kataoka <satok@google.com> Fix possible NPE

Bug: 8457109
Change-Id: I321fbef53e20a7c36ef4bd9f544b50abe6a52be9
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
3c8117c88fc738f841ac43f5a88602a99b901fee 22-Mar-2013 Satoshi Kataoka <satok@google.com> Fix appname

Bug: 6789579
Change-Id: Ic4694e36e0846af95fa8dcdef919be251983b528
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
1061bfdb34bbcb63bf0046eec42313d264ac33fa 19-Mar-2013 Jean Chalard <jchalard@google.com> Break dependencies to allow offdevice tests to build

Change-Id: Ia9a2e8f0672b3f72943f26fb15de1d3c7c5ce7f1
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
0b2512017edb0161d51643560cd41dac9b1a1559 13-Mar-2013 Satoshi Kataoka <satok@google.com> am 0ab44b21: Merge "Make isInternal mutable" into jb-mr2-dev

* commit '0ab44b21bd6ef5e9fde329b25dfd84f6ca5c0825':
Make isInternal mutable
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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
b094372bd68b2f1b1e62c48cc18503a60b6686b7 14-Feb-2013 Kurt Partridge <kep@google.com> Remove MainLogBuffer#setSuggest()

multi-project commit with Ia98b1406fc2ee11a96893c77ea58d800fece7624

Change-Id: I8bc3d07b83dbe7d8fc56a618de07dade7f510b13
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
7e2c1e69bf5782db8f358c9baeb518130aad0315 27-Feb-2013 Kurt Partridge <kep@google.com> Ensure Preference listener is unregistered

Change-Id: I1a4d1e7bc45fc30cb1b63ea6020f0eee6e804333
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
ce6bcdd1a547c9874f05a08074cafdfea16196d6 12-Feb-2013 Tadashi G. Takaoka <takaoka@google.com> Separate caps mode related utils to CapsModeUtils

Change-Id: I32700c434b296bb3fd39e040c2dda1fe90667daf
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
298b4240f84344bbcd70b72dfb20806ba93ffd22 05-Feb-2013 Tadashi G. Takaoka <takaoka@google.com> Separate IntentUtils from CompatUtils

Change-Id: I373ae7ad26eee44cc8e9720314f6a53b811d0021
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
f77e9d7e3adcd89c00243f4215bebb3ece3b59dd 25-Jan-2013 Kurt Partridge <kep@google.com> Merge "Initialize ResearchLogger later to avoid NPE"
a280e56014dd15321ecc96a65f18dbd0c0b210f6 25-Jan-2013 Jean Chalard <jchalard@google.com> Remove pending update messages upon starting a gesture

Bug: 8064307
Change-Id: Ia623ab81b6d12eedc6b20bc4c1ce34ce72d5832f
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
63bc2795967ddf99d3ac57e61153f8b2faa649ac 24-Jan-2013 Kurt Partridge <kep@google.com> Initialize ResearchLogger later to avoid NPE

Change-Id: I1b817dfbdc319ac9bbf2f08e094a007849ce767f
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
ff961ddf8c58df569c97684bfd83a01b2a9470aa 24-Jan-2013 Tadashi G. Takaoka <takaoka@google.com> Add preliminary graphics of sliding key input preview

Bug: 7548583
Change-Id: Idde6a62f9e64458055c99c893b71c02d1adc7b04
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
edb5c4638b139d6908ceea724120e5a24b21c249 23-Jan-2013 Kurt Partridge <kep@google.com> Merge "[Rlog81a] Determine correction type of words"
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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
375982106bf073971fccd14b2c65ec8e089bb2ae 21-Jan-2013 Tadashi G. Takaoka <takaoka@google.com> Move PointerTracker.DrawingProxy to MainKeyboardView (step 2)

Change-Id: If15d5ee683b8026d1871a3fe438dba498944faa7
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
80375649d36c3e3aeec3a266827bb2d66d95d0f7 15-Jan-2013 Kurt Partridge <kep@google.com> [Rlog81b] Log more data with handleSeparator

Change-Id: I4b2ebaa2398ac2f669e1e009e00842e55979e866
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
81a4b7f48e0649c1b984fd25398f45ce813f7cbf 18-Jan-2013 Jean Chalard <jchalard@google.com> Merge "Fix a bug in gesture after a dash or apostrophe"
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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
c665cbee7f136ea3cf334262f8dc1e7621f2004f 17-Jan-2013 Jean Chalard <jchalard@google.com> Merge "Forward the capitalized mode to the positional info (D1)"
ae3b96b26ef86a9f342b4aeb2047abdaac5e57a5 11-Jan-2013 Jean Chalard <jchalard@google.com> Simplify the space-before and space-after logic.

Bug: 7889078
Bug: 7268000
Change-Id: I6c77b8c9e60ef69f02526b407124d2f5d02818ee
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
b6b7f5e39e9ea1bf9a05203c536327a6be7e7214 16-Jan-2013 Jean Chalard <jchalard@google.com> Forward the capitalized mode to the positional info (D1)

Bug: 7972124
Change-Id: I3c74f3b075e698b9e9dd1d2c7b6f173073539063
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
dcfceaff1b18b102d7fe875b48b84c24cbd822d9 15-Jan-2013 Jean Chalard <jchalard@google.com> Distinguish action-enter/shift-enter/enter

Bug: 7969231
Change-Id: I75d495ee1ea126da9be4e269ee990ee0a97793c1
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
90aaa2d0a59227e948aefc5fbc4c875dae006ccf 10-Jan-2013 Kurt Partridge <kep@google.com> [Rlog59a] Split logUnits correctly around separators

Change-Id: I65ecdead7e7bdeb8a5f1748e27068ddbd5d3ce00
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
75e69753b709c19d5a23baf88ec3ac2576ee9c24 09-Jan-2013 Kurt Partridge <kep@google.com> [Rlog57b] fix logging of reverts

Change-Id: I07c817061a0cc060197e0fea45195ca07a9bf276
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
f11c4a9aeb9b08d6c0c29861c3d9832334834d90 10-Jan-2013 Kurt Partridge <kep@google.com> Merge "[Rlog50] capture bigrams properly even with deletions"
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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
d3b0ecec22cda883150851dced32c1eda2910a66 08-Jan-2013 Tadashi G. Takaoka <takaoka@google.com> Clean up public helper methods of SettingsValues

Change-Id: I6c6087580b67f497eaaf16900f8df7a4a895b8e3
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
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"
ff0735ada807239abeb4c6105b7d01d2bcea0aed 08-Jan-2013 Tadashi G. Takaoka <takaoka@google.com> Make Settings class singleton to manage SettingsValues

Change-Id: Id30828a141de86d9bcf8bce586d2adb468cc59e1
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
b17b88742528d09eaa36adb3dae5348b99c234e0 08-Jan-2013 Tadashi G. Takaoka <takaoka@google.com> Consolidate VibratorUtils with AudioAndHapticFeedbackManager

Change-Id: Ica4e3193f369330da62a259c718b779ddf9fbde5
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
f90fc105ab1159f43f536bcacdd1224c2c05bacb 07-Jan-2013 Tadashi G. Takaoka <takaoka@google.com> Simplify singleton class initialization

Change-Id: I16a27f2ed6ea66184bfdc9903180372cd7ea2fd1
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
b6ca354431367b625daf9fff5fbe4b1f5ef996ab 06-Jan-2013 Ken Wakasa <kwakasa@google.com> Small code cleanups

Multi-project commit with I249d5fbe

Change-Id: Ia28c4e970992aa1299a30e604eaa5d096655c3a5
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
f77dd424b077a7f8ff547c09cb94d0dc7f0daed7 23-Dec-2012 Kurt Partridge <kep@google.com> [Rlog27] Refactor LogBuffer

Cleanup and prepare for replaying

Change-Id: Ie09e912c6e9c0d7375168c575ccf1cfd9375dd31
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
cff28c5d5db3e0c3e97149519a3f705150aeb224 06-Dec-2012 Jean Chalard <jchalard@google.com> Add skeleton classes for hardware event flow (B1)

Bug: 5037589
Change-Id: Id8eea0e2bd00dd339a1efb4b0542e4c091a84195
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
48160f9d847c0246883bc81599613b1ebe2652a6 10-Aug-2012 Kurt Partridge <kep@google.com> [Rlog3] improve stat recording

Change-Id: Ie3b70e6eadc2a9af5ef45ddfad6a3398cea7bfe8
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
8c15e91344a5e97ca069200070745c4384f40750 15-Dec-2012 Ken Wakasa <kwakasa@google.com> resolved conflicts for merge of d48d6fee to master

Change-Id: I21141956135debe737453dba87617671b1716d0a
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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
edbb65be3e5e391affbf47e134422ac1d1a4ae13 14-Dec-2012 Tadashi G. Takaoka <takaoka@google.com> Reset composing state at onFinishInputView

Bug: 7709817
Change-Id: Icac0b8cb28209d98d291d8f00be55e33af5bf696
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
2da886651874b2588f18f800417ba858ac93d88b 06-Dec-2012 Jean Chalard <jchalard@google.com> Remove a couple Eclipse and Android Lint warnings

Change-Id: I0c29c5d2abcbf80759b996d34b534deb083cd7d3
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
85e397cd1060f3878d9a55373b7409641175179a 28-Nov-2012 Tadashi G. Takaoka <takaoka@google.com> Set additional subtypes before getting current subtype

Bug: 7594188
Change-Id: I1977acb7189f8eb186b9b20a3e5b64b4aaabf191
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
b3f789799a2983a9c97288686f11dfab369243c0 22-Nov-2012 Tadashi G. Takaoka <takaoka@google.com> Cancel gesture typing by sliding out from keyboard

Bug: 7594165
Change-Id: I7849d763e49b57716e8418fb8b6f90eca3a5d2ec
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
e36af707c8a8705ebd19fcc359c51181f7ebd171 21-Nov-2012 Jean Chalard <jchalard@google.com> resolved conflicts for merge of b7e6bbae to master

Change-Id: Ic02809190721472d138532d2189328519117e042
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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
41a2c10e72e02ce9215c867a67b87ecfcc725149 17-Nov-2012 Ken Wakasa <kwakasa@google.com> resolved conflicts for merge of 4ad92578 to master

Change-Id: I29ad9f0ba357e39889e30c9ebfcf61f9d08ee4ef
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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
ea23a2855757074197671cab4211c547a8f92f30 16-Nov-2012 Marco Nelissen <marcone@google.com> resolved conflicts for merge of 6f42cf1d to master

Change-Id: I054bb0cfba9de06473100010a76e2f3d9c2c1180
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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
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
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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
1931c1cab1c2b077030210f2dd7a1839da7211bc 02-Oct-2012 Tadashi G. Takaoka <takaoka@google.com> Fix language switch key behavior

Bug: 7075923
Change-Id: I306e1ff5d9f873541e84e1fafb64b9473947f623
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
710d06cea91a8e6bf04a27f0bcd88d76a5cc5acd 08-Nov-2012 Ken Wakasa <kwakasa@google.com> Suppress dictionary pack support when IS_EXPERIMENTAL is true

Change-Id: If8813cb989c1fa8744a3bf36e8514ced3c8f46a3
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
24ab8055aaae75bcb80c686efc2046a301ebb6ad 31-Oct-2012 Tadashi G. Takaoka <takaoka@google.com> Move isInvalidCordinates() method to Constants class

Change-Id: Iad1464c299ad6055af1db1ff7978e5cd9a14750f
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
c7318bbc0b47662799d2f7a01e5b53edb43ebf2a 29-Oct-2012 Tadashi G. Takaoka <takaoka@google.com> Fix possible NPE

Bug: 7398904
Change-Id: I6b7aba7a9bf52ca494cb4390b19525c98790bd49
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
240871ecafde7834ebb4270cd7758fc904a5f3a7 29-Oct-2012 Tadashi G. Takaoka <takaoka@google.com> Move code point constants from Keyboard to Constants class

Change-Id: Iee01d4d2b916d0b584531104ac865ae6e6370a3d
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
bc464e2952e102219f0b977fc1e9140ad5bd03e4 03-Oct-2012 Tadashi G. Takaoka <takaoka@google.com> Replace useless CharSequence to String

Change-Id: Idc478f901185ee1b4912acc82d0cbc54fee4e991
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
8e360c68f1861a70fdb91652334efa513e25fcd2 15-Oct-2012 Tadashi G. Takaoka <takaoka@google.com> Move AudioAndHapticFeedbackManager from LatinIME to KeyboardSwitcher

Bug: 7313372
Change-Id: I9bd3275f57ed3f5c2c4a95768443af505513ee97
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
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
6686e63f2158eff07e39ff002ba211d0578f2a4f 16-Oct-2012 Jean Chalard <jchalard@google.com> Honor automatic shift turned off for gestures

Bug: 7354129
Change-Id: Ia02336e8cea2f04b629edbe74b7815cce0d7fad6
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
fc62882591e9a6f25105b9d67db62469b0043348 06-Oct-2012 Ken Wakasa <kwakasa@google.com> Fix a small typo

Change-Id: I813d97b9453f8aa7aae99bd165336b1e5a81dc6a
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
c6ff7c42d9aeafe2b2d21a34be10f1e9a450153a 03-Oct-2012 Tadashi G. Takaoka <takaoka@google.com> Add SuggestedWords.isEmpty() method

Change-Id: I0fcb104a6a81aee4b99f5ee848eba7495630dc7d
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
d445b56ce14152b30143302899790af255691148 03-Oct-2012 Tadashi G. Takaoka <takaoka@google.com> Fix possible NPE caused while monkey test

Bug: 7269036
Change-Id: I9054b33ad3c8996cac3ee5f0e9c01ba8ceea4971
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
aec5cc84760b47661ccc5a0c938368d3798be6b4 02-Oct-2012 Tadashi G. Takaoka <takaoka@google.com> Avoid calling switchToLastInputMethod when other IMEs are in effect

Bug: 7268389
Change-Id: I4d960cbf063002b4dc0ea813c966366b56c0346d
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
574b80aacee95df26e85e6b78876a73d7076a672 01-Oct-2012 Jean Chalard <jchalard@google.com> Remove debug prints.

Bug: 7226098
Change-Id: Ibacb740022a6af56c9d555d6797dd402a89f6ca4
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
a28a05e971cc242b338331a3b78276fa95188d19 27-Sep-2012 Tadashi G. Takaoka <takaoka@google.com> Cleanup: Make some classes as final

Change-Id: I6009b3c1950ba32b7f1e205a3db2307fe0cd688e
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
6efe788494195fb8a57a2317cfa35e01ae7fda13 24-Sep-2012 Jean Chalard <jchalard@google.com> Set punctuation suggestions at start if activated

Bug: 7218468
Change-Id: I9f8c1f13dc26cedb95b65279a34a825021dfa72a
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
fff8613df04af17bf56db866075b220d1ef0fbe8 24-Sep-2012 Jean Chalard <jchalard@google.com> Fix a race condition with shift

Bug: 7062092
Change-Id: Ie1984673e9ffc9291d9650ec38ce99031ad93585
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
87cecf7db61536d9f7ec07fe198d37a11b6c8407 19-Sep-2012 Satoshi Kataoka <satok@google.com> Log for geometric input

Change-Id: Ia0f0e38086b0be70cf2d04fc6fae48358f16e74f
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
e4783f95b2ad9f46ece34103cbe4d8eb5ea8afca 14-Sep-2012 Jean Chalard <jchalard@google.com> Mark 2 resolved TODOS as such (A14)

Change-Id: Ifbb731f5c825675436d079db4ffbae657d71f8da
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
90a91272447fd64bc54e06f08f45b11c45930767 14-Sep-2012 Jean Chalard <jchalard@google.com> Take space state into account for caps (A11)

Bug: 6950087
Change-Id: I8a1bca24db64b4dd54db8ac74d90cf43cbdddab6
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
252da38fcd1a40b8c308d6754d644064032094f9 14-Sep-2012 Jean Chalard <jchalard@google.com> Take locale into account for caps (A10)

Bug: 4967874
Change-Id: Ic7ce7b2de088308fa00865c81246c84c605db1e5
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
a3f06baa57e679571add40bda26b556eb493318c 14-Sep-2012 Jean Chalard <jchalard@google.com> Merge "Do not auto-correct upon starting a gesture." into jb-mr1-dev
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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
f035649cb612be8b80892c510bbc137a615719b4 12-Sep-2012 Tadashi G. Takaoka <takaoka@google.com> Asynchronously look up dictionary for gesture input

Bug: 7149248
Change-Id: Icba2db73508b89a85828ae9e196ab618e5e6c280
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
2427f578c8fafa85f3f9f74c00384f785e489bcf 13-Sep-2012 Jean Chalard <jchalard@google.com> Merge "Import TextUtils.getCapsMode to fix it internally (A1)" 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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
58eb4d9f27595202927150766d198a0bff15efad 27-Jul-2012 Kurt Partridge <kep@google.com> ResearchLogger no longer offers option to disable logging

Bug: 6188932
Change-Id: I0b9474216080f3820438c09f89b0b6c6c102c69d
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
6c70b9200340537d05ff8932d7cd990269eb486d 27-Aug-2012 Jean Chalard <jchalard@google.com> Auto-correct after smileys and gestures.

Bug: 6936790
Bug: 6965241
Change-Id: I1f61327eb5591960c280e425df9cd86b9c52f5d6
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
d573bad5bdd83236efee9cac76898ed138fbe53c 22-Aug-2012 Kurt Partridge <kep@google.com> Merge "ResearchLogging capture full n-gram data" 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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
1f05cf6dab45c21d1ed334247929434d97c40584 21-Aug-2012 Tadashi G. Takaoka <takaoka@google.com> Remove GCUtils utility class

Change-Id: Ia666aeb10c155d69763faf7f01ceca113b9b4653
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
c3f78c9057a5710898feaf8027659484477e5821 21-Aug-2012 Tadashi G. Takaoka <takaoka@google.com> Remove KeyboardSwitcher reference from ResearchLogger

Change-Id: I671a83c19977fda358c8e8a730e22ee155f65512
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
324cc1dbe60a39b65989356067a03f2ff9fb1a86 21-Aug-2012 Jean Chalard <jchalard@google.com> Merge "Tell the shift mode to the word composer." into jb-mr1-dev
adbd9ae105e06287b59379d7f7127d95fd0663f4 21-Aug-2012 Jean Chalard <jchalard@google.com> Tell the shift mode to the word composer.

Bug: 6950087
Change-Id: Ifab9d6d075af398c6468d081216488712f8a53fb
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
ac78633be28e8990fc3b3a8de192c80966e746e3 21-Aug-2012 Tadashi G. Takaoka <takaoka@google.com> Rename and consolidate some constants

Change-Id: I7863936cca18b28bf0117afcbcf544a5fd7f185d
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
6785b9072762e15bb49657ce7b7d228dab76e44a 21-Aug-2012 Tadashi G. Takaoka <takaoka@google.com> Remove touch coordinate from pickSuggestionManually

Change-Id: I33b1b4bc6fdfd263c4b2bb7125c07b4bddcf3c9f
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
3d3590874926ff92009ed0b4f114c6e5a8ee7394 20-Aug-2012 Kurt Partridge <kep@google.com> Revert "ResearchLogging capture full n-gram data"

This reverts commit 221e756fd7d585f0eb75377b851f23cad24ccd7f

Change-Id: Iefc4e4e27ddc925d4a4634627b0467bd4ee2a66e
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
e46d12927ee2717788248b05f00b751beaf2a02a 17-Aug-2012 Ken Wakasa <kwakasa@google.com> Fix NPE in LatinIME.addToUserHistoryDictionary()

bug: 7007063
Change-Id: Ie3e2f77dcbc597dda0c0df9a970336e5aac0edba
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
05384933097c1e9c35e8be5c03757d072e5ffa46 15-Aug-2012 alanv <alanv@google.com> Fix the build.

Change-Id: I744f6232e81981ab694d3d1e92bab5fd6efa46c0
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
dd7f79097af10aa448ec10128f261cbadf4842ac 14-Aug-2012 Charles Chen <clchen@google.com> Merge "Change accessibility event type for app-driven speech." into jb-mr1-dev
5f312c9c1546da9f73d02f911d3365da4ff658fb 10-Aug-2012 alanv <alanv@google.com> Change accessibility event type for app-driven speech.

Bug: 6614400
Change-Id: I0ef309b7f3f35bf37b4664ea599c9e6ffb1a4ab8
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
79eefda0d3ab5e03c2d012ed8ea1898004781871 08-Aug-2012 Tadashi G. Takaoka <takaoka@google.com> Add SuggestInitializationListener to BinaryDictionary.resetMainDict()

Change-Id: I4c01f172ddb2ca60fa6e604384610c90b76e5457
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
27e48447a449d2eb534dfa2dc07060727e1a8fb0 07-Aug-2012 Tadashi G. Takaoka <takaoka@google.com> Lingering gesture floating preview text a bit

Bug: 6936095
Change-Id: I873343e9aa6afdf6bdb223795f03232509b012a7
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
f68fe7a9c9262a3591eeba61f34a91855a34c930 27-Jul-2012 Jean Chalard <jchalard@google.com> Don't forward phantom space state on stripper input

Bug: 6890540
Change-Id: I923b24e3bc17e7b923be4940ad739b58dca24a1f
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
ca57f5ba40b587a7a7f8a023aca65e1b2127b2a6 30-Jul-2012 Tadashi G. Takaoka <takaoka@google.com> Move gesture preview parameters to KeyboardView attributes

Change-Id: Iff9d6b485e202656fc869f3ff4d94575ad2c186f
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
6fc72cae206b67e2dbcc4c6a853a355995d068be 26-Jul-2012 Jean Chalard <jchalard@google.com> Fix a bug with autocaps

Port of Iece016f4

Bug: 6886405
Change-Id: I148c296d8a3841c40b6748e73ed2b0fff473b627
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
aa906c36aa31f51a38083e337f4307b49f133054 25-Jul-2012 Jean Chalard <jchalard@google.com> Handle correctly the restarting argument

Bug: 6851364
Change-Id: Ie939a43b8527a76aec213b702d3d850717f22a81
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
941f222c21809bc3926b8238aae10d660b5b9bfa 26-Jul-2012 Tadashi G. Takaoka <takaoka@google.com> Merge "Remove unused setProximityCorrectionEnabled() methods"
c4376db0f015e1c2f0eb6283cc275b2da03cbb19 25-Jul-2012 Tadashi G. Takaoka <takaoka@google.com> Remove unused setProximityCorrectionEnabled() methods

Change-Id: I03aa6608ee435b36377de41684162b303740f571
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
2f81757c3a5eb50d41ce19fb534f72cbf607a997 20-Jul-2012 Tom Ouyang <ouyang@google.com> Add dynamic floating preview for incremental gesture recognition.

Change-Id: I7ba7ac24aa96a0ff19267997c5b58853079bc6dc
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
0657b9698a110f8e895448d829478982ce37b6d1 23-Jul-2012 Tadashi G. Takaoka <takaoka@google.com> Update gesture mode state when dictionary gets available

Bug: 6860204
Change-Id: I840b7bf1983ab92fa4e0b180129176539e96409f
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
369e54cc338d8115d63138663b882f56208d7ec3 24-Jul-2012 Tadashi G. Takaoka <takaoka@google.com> Add Suggest initialization finish listener

Bug: 6860204
Change-Id: I1e4c03c99415cd9bdea5a8556ff4093c33f0f508
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
259905ba901add520de56715200fb67fab818764 23-Jul-2012 Tadashi G. Takaoka <takaoka@google.com> Rename suggestion strip related methods

Change-Id: I942692bbc2e577482f353d875405c4658a1102fc
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
4702671ea4feb0c79a879e2e3013afdd6ed800b1 23-Jul-2012 Tadashi G. Takaoka <takaoka@google.com> Rename SuggestionsView to SuggestionStripView
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
c8e45ddb032554f4e9d4411d8ef47d98db62d77b 23-Jul-2012 Tadashi G. Takaoka <takaoka@google.com> Rename LatinKeyboardView to MainKeyboardView

Change-Id: I8f3123b8d727c7beb72e226f80c17794f89c8b60
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
0df487678eca58bd4732cfd2b6fd03b3c712eb48 18-Jul-2012 Kurt Partridge <kep@google.com> ResearchLogger: make logging more reliable (esp on startup)

Bug: 6188932
Change-Id: I692e427ba2e6da7bb15f48208304c4a034392a22
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
eea34598bf63f670f47d7b3f37b6436921e5fe02 12-Jun-2012 Tom Ouyang <ouyang@google.com> Merging minimal gesture input

Change-Id: Iee6ae48bb6309c2867b5d2e344fe7d86dfabd654
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
0d54692ce4a2af1a2acb1c4fe4f3492613103d8f 11-Jul-2012 Kurt Partridge <kep@google.com> Merge "intentional logging"
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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
5e573a1f0a63c017c7b0e4c4314235bd87c9363c 10-Jul-2012 Jean Chalard <jchalard@google.com> Remove a useless parameter (A91A)

Change-Id: I1d1758048649ef337875a5141d825569af7ad38c
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
09fdd30e5261990ace636c52a8330d4c5dbb364b 06-Jul-2012 Jean Chalard <jchalard@google.com> Simplification (A78)

Change-Id: I622503af858ef419e94a17f182253cb03da00462
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
c466cd3f9902ef999573a3d07a125f08a8908c5a 06-Jul-2012 Jean Chalard <jchalard@google.com> Move a test (A77)

Change-Id: I417bd5f1318696aaa39fee18f3e750ea5c231f6b
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
32f5384fc955f1e9fa8613ca86081f1bf4ccc421 06-Jul-2012 Jean Chalard <jchalard@google.com> Pull up common code in the consolidated method (A76)

Change-Id: I3ebecec37b49e139c243cf9da8bfe491e7ddada1
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
e4498929b070cdd673c69450e316e2932e334fd5 06-Jul-2012 Jean Chalard <jchalard@google.com> Simple refactoring (A75)

Change-Id: Id19efc5d279616da52667fa70326b86aba70d4a0
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
d579f1aefc8d02254db297ffd6d8f9dbdcab0637 05-Jul-2012 Jean Chalard <jchalard@google.com> Consolidate methods that do the same thing (A74)

Change-Id: I6e7c3aba2b40ecefa483c9680978bc806368e96e
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
7a422a0142a025a66078fb9971bf15f8b9c89f38 05-Jul-2012 Jean Chalard <jchalard@google.com> Cleanup again (A72)

Change-Id: Id3765bf9826cc2c7ca70158cda53c75dc58f51c6
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
37eaa24b5a48f5c80bb9ee0fdea477559a2bed1b 05-Jul-2012 Jean Chalard <jchalard@google.com> Simplification (A71)

Change-Id: I7a91d84291bea581ecc8ec5b29b9a87ccec76e7d
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
a6757f400a7a1acc66b2c64f4aa84137dd4395cd 06-Jul-2012 Jean Chalard <jchalard@google.com> Code simplification (A69)

Change-Id: I2a77e437795fbbea47fd2e604ee6c26f8d0e458a
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
8f9c9377fc8944c9e96e6dcf661f0d673c23b83f 06-Jul-2012 Jean Chalard <jchalard@google.com> Consolidate two methods (A68)

Change-Id: I4b91414190b3786065ebd962a76299b605e5797e
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
60dbe0be43ce8d8e1254c9c80d9fc012c0c28bdf 05-Jul-2012 Jean Chalard <jchalard@google.com> Preparative change to pass a boolean with known value (A66)

Change-Id: Iff03fe7c4a8eec17c00a2fe99197e0cf21a0630a
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
853f4221ab573f085f629bb297b39a9f257362bd 09-Jul-2012 Jean Chalard <jchalard@google.com> Merge "Remove useless processing (A65)"
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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
449be371aee91594bc6ee09479af0cc20bcfcea9 05-Jul-2012 Jean Chalard <jchalard@google.com> Refinement (A64)

Change-Id: I7c16e28ffce4fe0965b756bf2b00ee63b77dd039
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
8ba33c1a494db5ef3cce17754f4d6981532074a0 05-Jul-2012 Jean Chalard <jchalard@google.com> Simplification (A62)

Change-Id: I606270a0387787445b7cd6b94e4830bfc144b49e
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
b1dc8ad5f244337f91fcdac2a17078f5b9239cb7 04-Jul-2012 Jean Chalard <jchalard@google.com> Simplification (A60)

Change-Id: I99e912d3edfc7dd3f17ee835331d5fcba976750c
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
414f14436e4fa6a8a8bb888d20b50a4d82e9e34c 05-Jul-2012 Jean Chalard <jchalard@google.com> Remove an unused method (A55)

Change-Id: I9974b88923b85cd6bec74f7607067c660f36f040
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
c84f178cd9b3c3c2d49b7957cb1aab6ea026f3e4 05-Jul-2012 Jean Chalard <jchalard@google.com> Merge "Remove a useless method, rename another. (A54)"
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)"
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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
078336603617f6c9cc4f917eb81c299a8cf8ab11 05-Jul-2012 Jean Chalard <jchalard@google.com> Remove a redundant test (A53)

Change-Id: If711074fdcb586e35d02e421c845f2c9024ca718
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
4cba560dbbd8696673642d1a10d2d433418e54e2 29-Jun-2012 Jean Chalard <jchalard@google.com> Small simplification (A52)

Change-Id: I56bc5b9b584de5a14b41fc32c19f7fefb3b12e88
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
ea80794dd43d44fe53884b4b8f4567af3d0e8331 29-Jun-2012 Jean Chalard <jchalard@google.com> Put some more code in common (A51)

Change-Id: If1589e29728df20713c75e08df7f47f0de9202d4
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
cbfd2e1fdb83a2fc315b5b6351221f3d65afe25a 29-Jun-2012 Jean Chalard <jchalard@google.com> Pull up a common variable into the wrapping method (A50)

Change-Id: I0b62098308169b5c44ced25ffb902766e3732fbf
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
b28934adac63504010f20e94e3dc8d0035cc5b9c 05-Jul-2012 Tadashi G. Takaoka <takaoka@google.com> Fix tab key's navigation behavior

Bug: 6435484
Change-Id: Iffe459c117ad438e96ec6f5c7e64fb80b32d227e
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
7b40c682778a544cf61b211e74b74961ff6e1206 29-Jun-2012 Jean Chalard <jchalard@google.com> Refactoring which will help with future changes (A47)

Change-Id: Ibc2d28f9f95966f77d4d7bdf9ae4688baaed5989
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
5c641a9f59735f0eaa772bde027993275b1bdfd7 04-Jul-2012 Tadashi G. Takaoka <takaoka@google.com> Remove WordComposer.add(int, int, int, KeyDetector) method

Change-Id: Ie6af46acba18a2d1cf3ddd1578d60ded4c90f89a
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
aba432bf8d27cb9709f0410ca8ca234c6065567a 28-Jun-2012 Jean Chalard <jchalard@google.com> Remove a duplicate method (A36)

Bug: 6705473
Change-Id: Ib6260034b09739b60071e90a018b2dc6be3815d7
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
0a63111821b9377bf37d18f26a9e09618bec128d 28-Jun-2012 Jean Chalard <jchalard@google.com> Remove a useless parameter (A29)

Change-Id: I52625e707abf61da9b95e542f0814c66b532f483
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
305326e789c3a89517855cc5a023ed1aa3074dc0 28-Jun-2012 Jean Chalard <jchalard@google.com> Refactoring and add debug prints (A9)

Change-Id: I46497bff107f0def0dfa2b043b20d9a0b0cde040
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
b5afd3de0c20bce40a600357a15e8e8df0e62420 27-Jun-2012 Jean Chalard <jchalard@google.com> Remove unused stuff.

Change-Id: Ifd0d5b6978f76b841574a6e10157c32d0cd656b6
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
2cf265b3457b4627100fc5707346aa6a5bcd982f 22-Jun-2012 Satoshi Kataoka <satok@google.com> Merge "Fix possible NPE from a concurrent problem in LatinIME"
1b71ff00a23ede8d527266a31d44de018f8a7616 21-Jun-2012 Jean Chalard <jchalard@google.com> Merge "Update an outdated comment"
e8bb8351d6f09f461851af619cabe5fcd2f66c0a 16-Jun-2012 Jean Chalard <jchalard@google.com> Cleanup, part 9 (C9)

Change-Id: Ifb15553824915d0634aea83689302c2418b093f3
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
ca6b7d52650917b92bf00e092ddad25d9f3f2537 16-Jun-2012 Jean Chalard <jchalard@google.com> Cleanup, part 8 (C8)

Change-Id: Iecc9b3d43c191614c2951408e14085cb77eefd4d
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
2f3a694e29ad5a63052a2f963327855fee099f55 16-Jun-2012 Jean Chalard <jchalard@google.com> Cleanup, part 7 (C7)

Change-Id: I662be9d3b31fb9e157722f38cab1e6fb8a1152ab
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
fe53e5c060dc4fd0acdfdffcadba94f9bb6062c3 12-Jun-2012 Jean Chalard <jchalard@google.com> Move a settings method to SettingsValues (B3)

Change-Id: Ibfa27bd919c92be219c4d107b3ace008ca80a19f
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
9b233ecef2e6fce4024caa4da4b88d75edfd7b00 16-Jun-2012 Jean Chalard <jchalard@google.com> Cleanup, part 4 (C4)

Change-Id: I2821ae71ec49e4b6b512157d17b80198f74321e4
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
5475e92b3fb33dd7d6b021ddcbe1ca593112b5c8 16-Jun-2012 Jean Chalard <jchalard@google.com> Cleanup, part 3 (C3)

Change-Id: Ib0be8dc26b6fa366a3dabeea940d466602073244
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
4a5cb5c36a6a385ec0036981a0e93b0253e884b0 16-Jun-2012 Jean Chalard <jchalard@google.com> Update an outdated comment

Change-Id: I3d02dc8597ed14d998caeaa056813353e2d7ec1a
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
dca729fddd69f03d8eaca238c62478a7fd77db96 12-Jun-2012 Jean Chalard <jchalard@google.com> Move final attributes to SettingsValues (B2)

Bug: 6675475
Bug: 6677394
Change-Id: I4a26efb9226d3f909f331c4d2e47cd83a05c011e
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
a19c5e63804e6cffac5771b9749aad6c441e5e21 15-Jun-2012 Jean Chalard <jchalard@google.com> resolved conflicts for merge of be82f297 to master

Change-Id: If49ca384ea0ac415a75f8ea1bad77dc6719cb04d
7cbd0478cfb66f406bb04c3b5c79da37b2263d66 14-Jun-2012 Jean Chalard <jchalard@google.com> Merge "Do not display punctuation suggestions when bigrams are on." 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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
72b358aa90191c10892612768e3595bc3a1ccb2d 08-Jun-2012 Jean Chalard <jchalard@google.com> Small optimization.

This will avoid some two-way IPC calls.

Change-Id: If9eb3e99b3d08346aadd4bbed2a1761f8c2527b9
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
e86054e5c2e4734d87d2fbf1eeba8c75fc888df0 08-Jun-2012 Jean Chalard <jchalard@google.com> Consolidate a test.

Stop using the numerical value, use the actual method

Change-Id: Iffa7f2d21a0471c7862afd3234cc9c5dd86feb2e
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
2010aad741bc1a7266913bcb8b8348d6e401c95b 08-Jun-2012 Jean Chalard <jchalard@google.com> Move two methods in a more appropriate place

Change-Id: I512b04e23490413a44b1ca0517102fe2d9138df3
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
a32eb2721390d5964c83c787ad30fd3f61b936b0 08-Jun-2012 Jean Chalard <jchalard@google.com> Move an editing method to the RichInputConnection

Change-Id: Ie143ad008ca8deb1c5034cb80ec1cb28a6b0682d
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
243e370fcb1c2cb8608614206075ecdbe79a6372 08-Jun-2012 Jean Chalard <jchalard@google.com> Move a member call out of the way

Change-Id: I5da48442c0b39aaff817c3b6d067a9b13fda0643
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
747cf0435a7e978dfd43c30bd931b56146c3d852 08-Jun-2012 Jean Chalard <jchalard@google.com> Move two editing utility methods to RichInputConnection

Change-Id: If8d03bea1b6369cb3043da6321048d052995d664
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
d2736972598eda61a8e40a3d5b26156136e78d66 08-Jun-2012 Jean Chalard <jchalard@google.com> Move suggestion strip visibility to SettingsValues

Change-Id: If34112c69acd5122d87554043d87d8f4dbdf5d15
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
01e3b014bb97e649ff4cf5a58ce8285f7d800cc8 08-Jun-2012 Jean Chalard <jchalard@google.com> Accept a null input attributes for reading settings.

Change-Id: I11a8e1aca3541c35d2b39b27716687fcd8ff3dc6
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
379118307661851e781cbc2acdb52de8abd813b3 08-Jun-2012 Jean Chalard <jchalard@google.com> Consolidate updateCorrectionMode() calls

Change-Id: I43c0505e9a1652bfc568f23b787fc68a5c5e9220
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
bbbdab12be748cdc2158f0e04bbb5478052ecd89 08-Jun-2012 Jean Chalard <jchalard@google.com> Move some editing methods to RichInputConnection.

Change-Id: I8527776a4bd8236a85bb77f9791f9b76977ad181
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
e091982868476845acbcc8eff2ae3cad6de8776c 08-Jun-2012 Jean Chalard <jchalard@google.com> Straighten batch edits, pass 1

Change-Id: I73acfee9098a87b9cde8aca720586ec748b2a82f
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
02308bec632a5df23325c916bffec5def16b22b4 08-Jun-2012 Jean Chalard <jchalard@google.com> Merge RichInputConnection with EditingUtils

Change-Id: I9982ff325bef56694402caef28a77683c52ccd71
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
7214617622fce8f3fea6620e782c16336260a2a3 08-Jun-2012 Jean Chalard <jchalard@google.com> Remove a slew of Eclipse warnings.

Change-Id: I03236386aea13fbd4fb8eaeee18e0008aa136502
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
d418580a7185754df3c9d3c65a5cd529b4bc5e25 07-Jun-2012 Ken Wakasa <kwakasa@google.com> Fix typo

Change-Id: I264f829c1584a37995dbc5ee4ba6b6783d5d4834
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
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.
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.
1b1243d61fd682d804e61de6a1eccbf0e8ba78b2 25-May-2012 Jean Chalard <jchalard@google.com> Cache application info.

Bug: 6537051
Change-Id: Ieca891235df0d697bdeb0510651b703654fdef38
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
b224b60c94d85f30de93f66685adf06e662618c0 25-May-2012 Jean Chalard <jchalard@google.com> Get information about the target application.

Bug: 6537051
Change-Id: I9fe7a07b5ddf2a423d5764840753ea70544206f1
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
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
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
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
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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
125de3dfdf548359de890247907f2e6f430008ec 17-May-2012 Jean Chalard <jchalard@google.com> Don't deactivate the LastComposedWord on shift

Bug: 6495116
Change-Id: Ib86de02a1216146082bf58a033982ac37fefffe1
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
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
0320c526c22df6e5b7d829089ed07ab19101b638 15-May-2012 Kurt Partridge <kep@google.com> Merge "include text context in researchLogger"
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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
b6fb5eb391987f3e426649a892cdcbf781957f5a 11-May-2012 satok <satok@google.com> Output caps debug code

Change-Id: I4a3399d9066bd28dab893ecebb720924110b871d
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
d5cd7e64aa30096241f63e47a9169699bdd98231 09-May-2012 Jean Chalard <jchalard@google.com> Small optimization

Change-Id: I067249976e557b60b606d2153deaeb3c8f1f38ac
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
736b109e1692374f5a2739885c8f931dbb8be1f2 09-May-2012 Jean Chalard <jchalard@google.com> Don't ask for surrounding characters for each keypress

Bug: 6464226
Change-Id: I03745bbcc21e5ec6ca57fa1257bf21c0cd26391a
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
5a937aae99fbd1c1e6f4976e639ef585e45675e5 05-May-2012 Kurt Partridge <kep@google.com> Merge "record full text after finishing session"
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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
9ec06c17d4b0c2d551d89152320d0cae4c061c77 02-May-2012 satok <satok@google.com> Fix build breakage

Change-Id: I22305137b336c9aab019d044a517ae8bc5fefe45
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
ae2388c7f799ab565f63d3ba83abaf3300475fd0 01-May-2012 Tadashi G. Takaoka <takaoka@google.com> Fix checking if subtype belongs to this ime

Bug: 6422318
Change-Id: I5779c0e277444315191fa964a976dcb4316cc24a
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
29a1fc0f6b18dd41e7810ee720041f7c7557eb4f 20-Apr-2012 Jean Chalard <jchalard@google.com> Don't allow cancelling manual pick.

Bug: 6347202
Change-Id: I30b53256e83c534436b0f0ff594fd4aaabf4558c
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
6a7019ff5db19b1e3f8d7afbba71af813cab9a37 19-Apr-2012 Tadashi G. Takaoka <takaoka@google.com> Move main dictionary availability check to LatinIME

Change-Id: Ib6183fec833d87bc32514b03bb691fec0a1e6ff8
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
65e93e352f64c412211df39484366755a44fa5d0 19-Apr-2012 Tadashi G. Takaoka <takaoka@google.com> Fix SubtypeSwitcher to honor subtype

Bug: 6364170
Change-Id: I31f9a7c9b6b4ca04a1c78a4210dcaae0db9825db
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
f5a0bd2c28fd9ec1de8fe49196e7f7ae38566f90 18-Apr-2012 Tadashi G. Takaoka <takaoka@google.com> Make predefined subtype configurable by XML resource

Change-Id: I1f8486a1fb652f1e06789e7bfd2cc57273092234
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
55d28fd1b2631a63542a647f693d8a8ed749bcf7 18-Apr-2012 Tadashi G. Takaoka <takaoka@google.com> Cleanup InputMethodManagerCompatWrapper

Change-Id: Id3b84ee19bb504ed8fbb398e260cc663a5b5ae0d
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
d442984e96cc6299c905141e3e32e0a4f55394c8 18-Apr-2012 Kurt Partridge <kep@google.com> researchLogging for inputConnection events

Bug: 6188932
Change-Id: I596df68956abd879293cfb550e66e7d7d0ba74e9
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
79e07e3f84ca4753c503a80f05993959c4fada76 18-Apr-2012 Tadashi G. Takaoka <takaoka@google.com> Remove useless key event handling methods

Change-Id: I8c42fba79aba643ab7a145e6fd54ef23855a3ad0
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
69bcc15cb386f0a2b56aed8a58ddb1468974c92d 17-Apr-2012 Tadashi G. Takaoka <takaoka@google.com> Add SubtypeUtils.setAditionalInputMethodSubtypes method

Change-Id: Ia3043346ed87297e01d505980555fdf29ce4f96f
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
9bfb6202154e06d7156f2f374dd9359f1be4eb68 12-Apr-2012 Kurt Partridge <kep@google.com> add logPoint for manual correction (inc touch pos)

Bug: 6188932
Change-Id: Ibcc4901bcfab6632ee4c59cb58d35452218a288d
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
cf6b2099be5deda896ba129a835a06867be2293f 12-Apr-2012 satok <satok@google.com> Add isDictionaryAvailable to SubtypeSwitcher

Change-Id: I534878d330b57bbfaa8b7711082456969771f4dc
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
78ab80844b4f8e0369f4e86b2a02208197f9bd34 11-Apr-2012 Tadashi G. Takaoka <takaoka@google.com> Add language suffix to main dictionary

Bug: 6319377
Change-Id: Ie6a887fefa12e33c17bfeb5d22984e7c1a7bdb46
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
d16bda4a4a307c8f8fd8d25c3984aaf307d49af5 07-Apr-2012 Kurt Partridge <kep@google.com> Revert "add more data collection points to ResearchLogger"

This reverts commit ac9e87c03ebbcbd70dd051a30ebf98d6baebedfc
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
11d9ee742f8ff3fb31b0e3beb32ee4870c63d8e3 04-Apr-2012 Tadashi G. Takaoka <takaoka@google.com> Use keyboardSet extra value of subtype to specify layout type

Change-Id: Ice1f345a08a8d760e3b847c885c4072e3e142c97
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
cb389ef0d6e6eec737c249e1729c2a2cdc30f341 04-Apr-2012 Tadashi G. Takaoka <takaoka@google.com> Refactor to utilize InputMethodSubtype

Change-Id: I76fbc8a395eb8dab996c02c86d7328f07865f8cf
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
d2c5533fd9dba55df8b2726b449232338dcaf93f 03-Apr-2012 Tadashi G. Takaoka <takaoka@google.com> Merge "Add RunInLocale class to guard locale switching"
16c6f355700ee5cdaa029f4a25b8b3d40718e6ab 03-Apr-2012 Tadashi G. Takaoka <takaoka@google.com> Add RunInLocale class to guard locale switching

Bug: 6128216
Change-Id: I8d9c75c773c3de886183b291ada7a3836295839b
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
8f433a66b2e8b327d7854eb501cf0e93afed4117 03-Apr-2012 Tadashi G. Takaoka <takaoka@google.com> Fix typo

Follow up for I5b9964f2
Bug: 6129704

Change-Id: Ia90c013cf4c4e6f675da5701644bd10833898c3f
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
0d1a5d5b9710dd8fbdae18b0e69bccb53c7b9207 02-Apr-2012 Tadashi G. Takaoka <takaoka@google.com> Cleanup EditorInfoCompatUtils

Bug: 6129704
Change-Id: I5b9964f2ad52e7cd60c63acca93d0241a1e729ef
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
13d6ecc4c275b9e9c38c7713bb2c69d37f3467f3 02-Apr-2012 Tadashi G. Takaoka <takaoka@google.com> Remove InputMethodServiceCompatWrapper

Bug: 6129704
Change-Id: I76f2854e27623be940a711d0d48fd3f90132141c
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
9cc2c94c8b4bfd4e00e5d3478b9f6e520e791bc5 02-Apr-2012 Tadashi G. Takaoka <takaoka@google.com> Remove InputMethodSubtypeCompatWrapper

Bug: 6129704
Change-Id: I8f84f0f61a2205ac1fcd1cd40e3a586ee535282d
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
7e518d8b8358c96b94b900f0917cdc5fd8190ce1 02-Apr-2012 satok <satok@google.com> Combine candidate words and scores

Bug: 5240798
Change-Id: Ie56c1c2cfd7f365e771fee88c1ed15012448feed
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
96fdc4dd8426a078500ce1d8a104bde7201bf9b5 31-Mar-2012 Ken Wakasa <kwakasa@google.com> Remove InputConnectionCompatUtils

Also, small cleanup in proguard.flags

bug: 6129704
Change-Id: If4cc694dbe74b26b1d0da301bbc321ee7afc0211
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
911b8f9d19c1c4903eeef29b43176cfeaa0e5d0c 30-Mar-2012 Ken Wakasa <kwakasa@google.com> Remove the "deprecated" classes

bug: 6129704
Change-Id: Ib27f2774444e1f084b19be3fe6f56d25dffa7084
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
347fcab043f4822cbe182ea9ec9c0237a9101fb5 29-Mar-2012 Kurt Partridge <kep@google.com> improve ResearchLogger performance

also demonstrate proposed logpoint invocation

Bug: 6188932
Change-Id: Ib6a7a196fe2e5f8184d26d1e0e3e91b404454112
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
20b4c223b4811cd99d2c400b3ed459f6ad76312d 29-Mar-2012 Tadashi G. Takaoka <takaoka@google.com> Merge "Fix some obvious compiler warnings"
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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
c61cd79229b1871d0f603a23389695d7f7751e66 29-Mar-2012 Tadashi G. Takaoka <takaoka@google.com> Fix some obvious compiler warnings

Change-Id: I10a634f7492b45d5a72345f14d36cf341946387d
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
e07db71d26fd9cb2c0141d76bfd3cd01bb001899 28-Mar-2012 Tadashi G. Takaoka <takaoka@google.com> Remove SupportTouchPositionCorrection from subtype extra value

Change-Id: Ieedff9ec212f5567405ca276b0f2194132ba7b0c
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
a77bbc64f0f7f2df25674a8e284a78a235396f4f 26-Mar-2012 Jean Chalard <jchalard@google.com> Merge "Correct a shaky processing and move it to a better place"
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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
3ee7d97587ccbbeb8003d2142478337e8d60b2b7 23-Mar-2012 Jean Chalard <jchalard@google.com> Optimization and typo fix

Change-Id: Iafa414b8bcf2cca4569b3753bfac58f301a72269
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
e7cfe436523d2e13b6efdaa6a85f9e88ec47531f 22-Mar-2012 Jean Chalard <jchalard@google.com> Merge "Don't rely on spell checker proximity in tests"
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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
660776e09b9a3b321074a94721d901a035ca1b9f 16-Mar-2012 Ken Wakasa <kwakasa@google.com> Small performance improvement by removing interface accesses.

Change-Id: I6d91f3b086470b79306dbe2874db9748b9e0eb5f
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
3fe263fac6375836c48ce71da29f098b66eb4f11 15-Mar-2012 Jean Chalard <jchalard@google.com> Extract an annoying method call

Change-Id: I78f22bb38222fea54a55e460fcf728bf941d15e9
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
2be7a37acfd498bfc83347597bfb8cb216a310eb 15-Mar-2012 Jean Chalard <jchalard@google.com> Small cleanup

Exit-fast, update comment, make a method private

Change-Id: Id103bf03aeef43a1a4d064ecabb819490dc5d39a
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
03a35170751a635332c00bf6c272a0127a255cf6 15-Mar-2012 Jean Chalard <jchalard@google.com> Add info for obsolete suggestions in SuggestedWords

Change-Id: I9684c7b08244b34853ce8a99b6e9d885389f6687
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
f985efe39c98d03125884b140d7c64bb28914018 14-Mar-2012 Jean Chalard <jchalard@google.com> Remove a useless parameter

Change-Id: I03005240238fb004c20b2df0d836796e2e8b307f
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
bdf6d1b18b3cebdde5f39d10066ead34be161baf 14-Mar-2012 Jean Chalard <jchalard@google.com> Remove a useless method

Change-Id: I208dd2e725e37c2fb3cd51fe48194679e5912f6b
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
7d55c891afdf7e74e505acac998a95a9ca7a9ec2 14-Mar-2012 Jean Chalard <jchalard@google.com> Make the Builder private

Change-Id: I2184084f4b7729c4324f8291d548bd4c4c2872a1
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
5b0643f50d8c363296360f3ceaf32f7edc157141 14-Mar-2012 Jean Chalard <jchalard@google.com> Re-sequence the last calls to build()

Change-Id: If77ee5aa9483d3ca03c52812f31665dee6468e99
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
88bf1ba5263f5a5c1df367ddc401db4109ef8677 13-Mar-2012 Jean Chalard <jchalard@google.com> Move up the static methods of the Builder

Change-Id: Ic3e07b745b7b24cae0f772ea49e0de615b44caf9
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
e3afb7d19276676d28ca018e5f156892e137a96e 13-Mar-2012 Jean Chalard <jchalard@google.com> Make the Builder fully immutable at last

Change-Id: Ie399ca7a9e76ccab44a92bc378d11f92392fed2c
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
2e2519ee914d4bf9462950553840557a4c19faed 13-Mar-2012 Jean Chalard <jchalard@google.com> Make still more members of the Builder final.

Change-Id: Ic455f97247da5e40d4939555ab639ecffef36e2d
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
b5eeb724fc98bb7169683539027d9ba54ffb8b14 13-Mar-2012 Jean Chalard <jchalard@google.com> Make some more Builder attributes final.

Change-Id: I3132b7fe4ee97c566736bfc21c3783cfc79fc7ff
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
c60fea852d0eaaed7f212dbab0af500d07188c69 13-Mar-2012 Jean Chalard <jchalard@google.com> Make the suggested word list final in Builder.

Change-Id: I2ddfab00dc8c141fc989a051f16eb2b3571b7e86
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
d0d4074392a844602d068b17733fe16b1af94d86 13-Mar-2012 Jean Chalard <jchalard@google.com> Remove a useless parameter.

Change-Id: I7625bf17158c207ad7e8cd496bef825704173c4c
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
1dfef0336d5968dbd00b73489778cee1fb233d56 12-Mar-2012 Jean Chalard <jchalard@google.com> Make a method static

Change-Id: Ie1d460562d38105abe91ae2da17cafd49e2cd394
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
c1ca8815f59bb1bce25e521571a1d87c71bf3fc3 10-Mar-2012 Ken Wakasa <kwakasa@google.com> Fix an obvious bug in handleLanguageSwitchKey()

bug: 5759092

Change-Id: I8c7b2ef024cbab399d96f6b3ec553da4e9d2fb18
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
68823ae08e820f0951447ed12c1bd32a24333d2e 09-Mar-2012 Jean Chalard <jchalard@google.com> Make the safety net memory private

Change-Id: I10959d47c980d2e8f2ea995955acf02193e3ff7b
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
c5d2bb786e431776ee3834bf556127fcae5b0fbe 09-Mar-2012 Jean Chalard <jchalard@google.com> Don't use an intermediate object with a different meaning

Change-Id: Ie89916b49c852a51385ffd61cb596a58f23a46a0
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
ed9986824e1339855376771ad29fae4de921a029 09-Mar-2012 Jean Chalard <jchalard@google.com> Move some auto-correction logic to where it belongs

Change-Id: I897c5ec3a630a4a6bfc593906df4d3fc7b244482
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
0cf422fbb763e2672fb2f9e8e1e8af91d2e87cb3 09-Mar-2012 Jean Chalard <jchalard@google.com> Reduction, step 8

Change-Id: I54334039597e235e24f169e34c1d44109180ee88
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
a333ff19ef330c93287cfa0f6568d0cdcd431b04 09-Mar-2012 Jean Chalard <jchalard@google.com> Reduction, step 7

Change-Id: I177ef2f29c8b6000c5e3d021c016c5d216fe3fc6
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
a3ee019331e2d8881e19185fba9ccebfeb170614 09-Mar-2012 Jean Chalard <jchalard@google.com> Reduction, step 6

Change-Id: I22ad4cea0e0cac23813da7e788f5c94974ce0ebf
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
de165aed2ab9bfa13b5227cfe29d0770092db468 09-Mar-2012 Jean Chalard <jchalard@google.com> Separate bigram prediction from suggestion process

Change-Id: Ibdef206fbd6688a45cebbd7fb8a9f6cd175d03b0
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
6f722c83014eb59bf5d579171d2c973fd7b83e69 09-Mar-2012 Jean Chalard <jchalard@google.com> Remove useless stuff

Change-Id: I462d24da2d26661990d6aab2a13fde851763fd61
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
67af2a24157ead953607bdfd585fba3a7e6bf50c 09-Mar-2012 Jean Chalard <jchalard@google.com> Export some more logic out of Latin IME

Change-Id: Ib264533a05e9e09347bf254789e6ab5beec92400
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
195419b1ecb6d3fa8d7c6f4f7322c9d5a516b86f 09-Mar-2012 Jean Chalard <jchalard@google.com> Small reorganization

...resulting in a slight optimization

Change-Id: I83a9b8c92c3d93ce75988285997ec138b3ffe52e
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
838629aea00ce90231df97f1dae3d8273ba80cbd 09-Mar-2012 Jean Chalard <jchalard@google.com> Remove useless test

typedWord may not be null here

Change-Id: I9e7afb89fafbf6fcbc91fbc132aecc06aec8979f
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
5a7cb9305a03746e779770b3677ee0c9c85ea4ca 09-Mar-2012 Jean Chalard <jchalard@google.com> Merge "Remove a provably useless test (B4)"
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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
13fb8fb775f77610105115d7cb30f6177ec6d771 08-Mar-2012 Jean Chalard <jchalard@google.com> Limit escape of parameters

Change-Id: I3a7ab069042d5542ab2e033d1eeb13d718cd7698
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
7b77c683d7de842ede62800125f6ba2370e86a19 09-Mar-2012 Jean Chalard <jchalard@google.com> Fix a crash

Bug: 6137076
Change-Id: I05f9f72a2678d10d3400dab5fc71544276739dcf
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
f686211183885250cb3729a33a3a8924f086698f 08-Mar-2012 Tadashi G. Takaoka <takaoka@google.com> Merge "Split Utils class to StringUtils, SubtypeUtils, and JniUtils"
cc8c8b99bd0463f5977dea82f5e2379ea1dd4e73 08-Mar-2012 Tadashi G. Takaoka <takaoka@google.com> Split Utils class to StringUtils, SubtypeUtils, and JniUtils

Change-Id: I09e91675fe7d573dad8c933ad513b21d7e409144
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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)"
7cfae8343412d3367750b1402919d470285f2dfa 08-Mar-2012 Jean Chalard <jchalard@google.com> Merge "Export audio and haptic feedback to a specialized class. (A1)"
8667bbeab3321e05f518770f7360a3fef52b4407 08-Mar-2012 Jean Chalard <jchalard@google.com> Small rename

Left/Right is wrong terminology here

Change-Id: I58c55849e45d9984dd3fb7b75a64e07667c9eba4
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
41a292928275198ec97ee35b7f78d489745ab1b3 07-Mar-2012 Jean Chalard <jchalard@google.com> Cleanup unused imports (A7)

Change-Id: I48ba12e4311cbf2982ee8f5312b279bc8c1fdfe8
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
564496bad6207f02e7a653872213bc5954e84ce4 06-Mar-2012 Jean Chalard <jchalard@google.com> Export audio and haptic feedback to a specialized class. (A1)

Change-Id: I957d883d1ccf188cb98eb11031aa0a32fce4ed76
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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)"
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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
845b24d9d31072b98958c557366617ad1c34f1b7 07-Mar-2012 Jean Chalard <jchalard@google.com> Fix a bug with successive manual picks

Bug: 6121571
Change-Id: Ib16fbef1087da3b7da5539901ec57156f242f089
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
f773ef19e8c26156970c93695d221f43c4a0b0ea 07-Mar-2012 Jean Chalard <jchalard@google.com> Remove a useless class (B4)

\o/

Bug: 5975068
Change-Id: Ia18b55af6d555e7ee7af1cdd7c6227fc1ee6786b
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
a0beebf7114557bf5e72c767f92b105704cbc1be 07-Mar-2012 Jean Chalard <jchalard@google.com> Remove stuff that's not used any more (B3)

Change-Id: Ie86675ff2facd37430051bf129ddd930fb933dc9
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
0a59ac2ba88ac1f99151d9336136bc6fe7d416c0 07-Mar-2012 Jean Chalard <jchalard@google.com> Use the simple auto-correction status (B2)

Change-Id: I9d2f053b6f7bad20fc6afe5f5086a965e5014a5c
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
89ffb212b469531db4a616afb9bb7ba6d2a56b50 06-Mar-2012 Jean Chalard <jchalard@google.com> Make the keyboardswitcher and the subtypeswitcher final.

Change-Id: Ifcc79357adcc53f93b190b6e98d5569f42f74655
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
e79b1a83126b41e09a8ec0a8dbb751ae0e02c7f6 05-Mar-2012 Tadashi G. Takaoka <takaoka@google.com> Make SuggestedWords immutable completely

Change-Id: I1b0f7b857e89307c987187c1969a2846aa97fdcc
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
8cc8f26adfe0f06cebc697dac43a856326cf7afc 05-Mar-2012 Tadashi G. Takaoka <takaoka@google.com> Make SuggestedWords partially immutable

Change-Id: I72a2f71d7f6565a30c06e563b0a64f496542cde9
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
c208f4dfb7abe1b7a83c725d515edb3615d5d927 05-Mar-2012 Tadashi G. Takaoka <takaoka@google.com> Make SuggestedWords immutable

Change-Id: I26bd82aee5ead84e40abfc3db5a48ed6d1e42361
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
9b01890254c62a30b079bd9f79a30f9541faf11b 05-Mar-2012 Jean Chalard <jchalard@google.com> Move a method to a more sensical place.

Change-Id: I11f87448f689cf828bff960ad7a3e4739a3457dc
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
a83a53ba24ed59d8bff0a9bd1205928ff60d6438 02-Mar-2012 Jean Chalard <jchalard@google.com> Some renaming

Change-Id: I445277cb3af469a0145a8da0ffb801b7e19048cd
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
e2a50bd8049a8bd38a9154b510f9ccd047459e05 02-Mar-2012 Jean Chalard <jchalard@google.com> Optimization

Avoid doing some useless processing.

Change-Id: I4ce0a188e10db30322bd25751dc5c09492cea301
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
7204eab3da916d8873b7eeee4b4528a6b82de19c 02-Mar-2012 Jean Chalard <jchalard@google.com> Precompute two values that never change

Change-Id: Ic54e7926028ea8374564da5e5004d710f42c53e1
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
38e535e59676ac4d7bf27026fe3e16fcd9eb292e 02-Mar-2012 Jean Chalard <jchalard@google.com> Change a parameter type to make a call clearer

Change-Id: I2918d0a8b00da743689b919f80128bbf36973f24
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
5bc2b61274d20adf4e1b0d5728fef43c6cd51429 02-Mar-2012 Jean Chalard <jchalard@google.com> Move a method up a level

Change-Id: I6b9a697480127e4745698ab19f8a360b86ff39ca
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
d02783cb63293507e8544ea60d07559092ce83d4 02-Mar-2012 Jean Chalard <jchalard@google.com> Break out a method

Change-Id: Ia14fc320422b7f198c33ba522bb93dd70fbcb2c1
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
d992fa847da8f232d961ff097857757bfbff73a5 02-Mar-2012 Jean Chalard <jchalard@google.com> Small refactor (A1)

Change-Id: Ia0838bbce47a2b60067f464685ad6d55ee4ec934
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
b141c9cd3f6785bc0a4e1f5385f4e6e2e17955bb 22-Feb-2012 Jean Chalard <jchalard@google.com> Rename resources to reflect current usage

Bug: 6010403
Change-Id: Ia02ff31007296fdf6901504f238dfd9e4621f658
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
8a3d369840d6061692a19ceb1eb7267a50a9e056 22-Feb-2012 Jean Chalard <jchalard@google.com> Remove a useles parens

...I could swear I had compiled :/

Change-Id: I4e1fb2b1dda0a4ceffe2082935395d05297c63ec
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
9a2a11e65bd32d82754b3fcff74e9e3795327628 20-Feb-2012 Jean Chalard <jchalard@google.com> Rewrite a condition

Change-Id: I805c9579788d99b015feb2075ad4771756c7adc5
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
2649e42d756132ad763d6db5f9de1f901bbefd06 20-Feb-2012 Jean Chalard <jchalard@google.com> Extract a method to reset the ime state

Change-Id: I921184b85b94418cf360508ee3f67e85b10b3d72
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
104453908064dcdbb4f10aa4150f1d79beafb408 20-Feb-2012 Jean Chalard <jchalard@google.com> Rename variables and add comments

Change-Id: I746f2364d9f02f22aa6ab57d7060013ee114f4e3
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
2124bc5bf5af31cf3d2789b70ebd2f24c815f5f4 07-Feb-2012 Jean Chalard <jchalard@google.com> Remove a nested edition occurence

This was harmless but confusing

Change-Id: Ic271f80d3dadf01b29e3875c6a8ad51b99a936f9
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
2e2d6b4d4060ed3b956b4bd4c1f89b5d9c87b525 08-Feb-2012 Jean Chalard <jchalard@google.com> Small simplification

Change-Id: I55f81f3ab427fd5b28bb1f31960077cd1897cbd0
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
64eaa67eb5ad058c8fe1ef2f4ec1a52c3dd05fbd 07-Feb-2012 Tadashi G. Takaoka <takaoka@google.com> Remove unused InputConnection argument

Change-Id: Ic45c8c6e7730775654317fb6e2d1cb64f9031f46
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
172a013ab5481dee22e0637bc997b8bcbc4436db 07-Feb-2012 Jean Chalard <jchalard@google.com> Fix a bug with the auto-correct indicator

Bug: 5969106
Change-Id: I02d4b9184bb2c3fc0d08ffd5db77a9f9d816631f
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
a7f2500001c53dc5a6de9c2525a75229cc7c6645 06-Feb-2012 Jean Chalard <jchalard@google.com> Fix a bug with common objects.

Bug: 5961179
Change-Id: I452efc552c6ab390931f25557d7aee5a64bf054e
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
fb684cebe8f5dac1bdb6cfa7085a07ddc66acede 02-Feb-2012 Jean Chalard <jchalard@google.com> Stop inserting a space after a manually picked word.

Bug: 4994861
Change-Id: I6ae256a94dbaddea4304304779d17025620c5025
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
433ca6a46db30a321715da0f457974916668dff5 31-Jan-2012 Tadashi G. Takaoka <takaoka@google.com> Cleanup redundant methods of KeyboardSwitcher

Change-Id: I2ebeb8852177f6c6e30578d0bb3f372f488dc6c1
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
2712f23acbb197af3b125da4cc47108e71b7446d 26-Jan-2012 Jean Chalard <jchalard@google.com> Remove mCommittedWordSavedForSuggestionResuming (A4)

Change-Id: Ia62ef33b5c777a258b02280bda1b8368780a7eef
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
2692a8700737d8eed268039aa27b22a31669da08 26-Jan-2012 Jean Chalard <jchalard@google.com> Move some functionality into LastComposedWord (A3)

Change-Id: Ie0ea02a061dd0cb84db5f33113ff433584636bc7
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
267563d1bb4d8091293fbd8774f0f95ef59f03c4 26-Jan-2012 Jean Chalard <jchalard@google.com> Add a class for previously composed data (A1)

Change-Id: I87498799e6a48b8fa65924a098bb0ceb7626dce1
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
5fd11a7f3367d51cea8dc83fb9675c93d82a2e4e 24-Jan-2012 Jean Chalard <jchalard@google.com> Fix a typo

Change-Id: I358350c959d5610214a752b14d7744fe83eb3821
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
5731b939c7baa2ca64a59b35f48fb3c2a43ba739 17-Jan-2012 Tadashi G. Takaoka <takaoka@google.com> Remove KeyboardSwicther.toggleCapslock

Change-Id: Id613c06e2df770659095d78d42637aed063d0c70
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
1ef6fc7e1519cedec9e84a64968bfba4212d0436 17-Jan-2012 Tadashi G. Takaoka <takaoka@google.com> Support EditorInfo.IME_FLAG_FORCE_ASCII

Bug: 5850605
Change-Id: I6665b483f775094903f2e26f5584e4b141592ab5
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
72d285f4d758dd1ceafb7d9bd3dd330efd24c1f8 17-Jan-2012 Jean Chalard <jchalard@google.com> Add some comments about resuming auto-suggestion

Bug: 5846646
Change-Id: Ib2c76ec173972eb7acadbfaae7e930849d546721
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
ab34a4a7f53e1426a5cc4cd7a7fefde38a82e499 12-Jan-2012 Jean Chalard <jchalard@google.com> Merge "Fix a bug where last candidate would not be reset"
a8c8ab1cb4f148693ebf8443c62b029db0840d26 12-Jan-2012 Jean Chalard <jchalard@google.com> Remove an excessive parens

Change-Id: If8aa4253ab0f664e628ed7f4d7a3adc02a898cc7
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
8cab0b56eb8db311f158b18a361d9ceb85cff482 10-Jan-2012 Tadashi G. Takaoka <takaoka@google.com> Get rid of Keyboard.CODE_DUMMY

Change-Id: Id2320f4d9b5f22f0ac844ab20ce42b0c4e7c6880
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
9e8761c4402ddc11c942ed2e583bd7d58f70c5ea 14-Dec-2011 Jean Chalard <jchalard@google.com> Reorganize the auto-correction memory

Change-Id: I31cce9db471dcd4a7b3477bcb037a8ff482b7696
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
3708787fe91227083d2a1874fa41493d3bc9fe10 18-Dec-2011 Tadashi G. Takaoka <takaoka@google.com> Remove LatinKeyboard class

Change-Id: I68c667b00dadf2ed9f1c62fb7da37d2cf499cd81
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
22b48de11ce6f31a0edf90e1308073e67a7a2adb 17-Dec-2011 Tadashi G. Takaoka <takaoka@google.com> Get rid of Key.needsSpecialPopupHint and related

Change-Id: I28e87ea3af9581f12094770b42f113e9018886c4
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
6fa003ee234c6e2ca6cd9ec555221ac5c71a5405 16-Dec-2011 Jean Chalard <jchalard@google.com> Pretty print for InputAttributes

Change-Id: I5e4b2b6f3cd943c8f6187aaed21d67ec786bf5df
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
644c8b7c96627199c13297082e4566adae159bf3 16-Dec-2011 Jean Chalard <jchalard@google.com> Initialize input attributes in the InputAttribute class

Change-Id: I103d6851f54f47cbffdb567fb0f4c505c4697b05
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
9cc1312eeeeb526515f32a2b5751deadf73d3d9b 16-Dec-2011 Jean Chalard <jchalard@google.com> Make inputTypeAutoCorrect final.

Change-Id: I550eba1fc3fa2843d007a8208d81fad208c1196b
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
13db05f93018f14b3695140bbed63a21b2d41bfe 16-Dec-2011 Jean Chalard <jchalard@google.com> Make isSettingsSuggestionStripOn final.

Change-Id: Iabb99a7f8f3f1777f9a87ae2bddff9795a50fa92
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
1ba17f97d51ad34e6d8015a22d6bc6afd3eeb321 16-Dec-2011 Jean Chalard <jchalard@google.com> Small refactoring

This helps to make following changes smaller

Change-Id: I95ba2901ac3bf1ed70a748c35a0babdd9af1df63
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
ae0c109d11c394cc5d2fa26b851186e0315c88bf 16-Dec-2011 Jean Chalard <jchalard@google.com> Make insertSpaceOnPickSuggestionManually final.

Change-Id: I32fce0ea8c5c58b6f920d0758c8bf57769f39a12
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
dc9d0fcc11f0886296c6eb325fe4f71beb87ff4c 15-Dec-2011 Jean Chalard <jchalard@google.com> Create a class for input attributes.

Change-Id: I834390c83865aac59fb758d5c66cf9b74103abd8
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
8c3d5b6961a9b9d40c4bf21ad495f852971c24f4 16-Dec-2011 Tadashi G. Takaoka <takaoka@google.com> Add com.android.inputmethod.latin.suggestions package

Change-Id: If4b823768ab9c073625da3034ecc8091be1df230
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
23d27fefcbfe04df8f8762d5d50117a58fb011e9 15-Dec-2011 Tadashi G. Takaoka <takaoka@google.com> Fix auto correction spacebar LED

Change-Id: I4894d188d5612380cc9f8eec7cb72544e37fb2b0
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
f3ca6a59a7d6336fc318fe15467a1b447dc3ec4b 14-Dec-2011 Jean Chalard <jchalard@google.com> Cleanup

Change-Id: I724df0be7ac07ffb9f1f4974175aed5a2606221b
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
46798d8f1f3d9012433d000790ba30ba910c0fa0 14-Dec-2011 Jean Chalard <jchalard@google.com> Fail faster in case of a bug

Change-Id: Ibea64133f200dce80034c641d4798b62843a2512
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
b5880034268111a094c9e684cec9cca784386140 14-Dec-2011 Jean Chalard <jchalard@google.com> Refactoring.

Small simplification of the code.

Change-Id: I1f67ae529bbb2c9316bf5e083d367c57040ea22c
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
e35e13fc7dc046be7f605cbfc706678f57e40491 14-Dec-2011 Tadashi G. Takaoka <takaoka@google.com> Merge "Record onStartInputView"
dbdb385bb06ccd235b3b6445ceabf07ca893454b 14-Dec-2011 Jean Chalard <jchalard@google.com> Merge "Fix a long-standing race condition."
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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
7ef235f53f2291f22ddf8c56be9860a218b25bbb 14-Dec-2011 Tadashi G. Takaoka <takaoka@google.com> Record onStartInputView

Bug: 5722703
Change-Id: I56bcf6ccde82b4176093de4f197a8736b0cc8c10
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
7e6f4daa196f0fd88873b5b360e3fc11b97e1ef7 13-Dec-2011 Jean Chalard <jchalard@google.com> Merge "Tighten conditions for space-related cancelling"
77d59b0691b8a9bd6cb336f07c175b88db53bbc0 13-Dec-2011 Jean Chalard <jchalard@google.com> Consolidate underlining code under one function.

Change-Id: I4393ff1ec28a6b3118d1344dd6d82d04899dea42
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
14cb8448df4f9f76096bceed0b367e87c7896c6c 13-Dec-2011 Jean Chalard <jchalard@google.com> Remove a useless return

Change-Id: Iefe10e94e2d88171387351a5b6cab52e281d0f76
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
a2a85d45e0618dc0dd7d224d5a0e7394d9003dc5 13-Dec-2011 Jean Chalard <jchalard@google.com> Refactoring

Change-Id: I57b2232f7fde32df5f6e1925aad1df988def34f9
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
4f41cbc588916dce64eef644e9f7b69da1618d03 12-Dec-2011 Jean Chalard <jchalard@google.com> Remove a useless function call

Change-Id: I1a775cbf90dca301e1e6b596ddac64fdbc023199
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
d567b230b055cb69186acf1ce0a1c4e1c7b61508 12-Dec-2011 Jean Chalard <jchalard@google.com> Move a settings var to the settings class

Change-Id: I1331ad6dec3a9d64a77e314f8a1f4c29282df31b
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
7208af0ecdea9eb7de02e62926f0c57c83496f1e 12-Dec-2011 Jean Chalard <jchalard@google.com> Remove a messy and unused class.

Today is a happy day

Change-Id: I3ef484bd258d5a59815bfcb0bd35ea3606b32430
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
c2a76a1529870b59bba133a7d76a800cbd20ecfa 12-Dec-2011 Jean Chalard <jchalard@google.com> Remove a useless variable.

Change-Id: Iea5ce5cfc05bad8b1d9085438e90147bd54b7e9c
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
3651220327c051d8017045aa5e8919461507b3f8 09-Dec-2011 Jean Chalard <jchalard@google.com> Remove a duplicated variable.

This is awesome cleanup.

Change-Id: I35ce8940a13f3084630dc26d6e7e397acfdaac36
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
963abf4bcc0e1676f3d183216c222d8d88059197 09-Dec-2011 Tadashi G. Takaoka <takaoka@google.com> Merge "Remove unused public methods from KeyboardState and KeyboardSwitcher"
df9deffba241d3f1527092212de02f5c77a0b24a 09-Dec-2011 Tadashi G. Takaoka <takaoka@google.com> Remove unused public methods from KeyboardState and KeyboardSwitcher

Bug: 5708602
Change-Id: I3dbc3cd00aa9ddf611e2078ff2cfea8945fa09bf
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
0fe3611bee5095e7bd0fff2d0fdf8d5a13379132 09-Dec-2011 Jean Chalard <jchalard@google.com> Resolve TODOs: add some members to store prefs

Change-Id: Idf09cb5d801e8008eb63cbb5138058faeb7db136
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
c207e0a7dad0bdae054be47cafe878698f9401fc 08-Dec-2011 Jean Chalard <jchalard@google.com> Move settings variables to the settings class

Change-Id: Ifa7033a84b08ea626eb44cf6d04ba8e28c250bea
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
284c8a0449f25a750fe132ba4a827bb489fcdb0c 09-Dec-2011 Jean Chalard <jchalard@google.com> Merge "Stop a flag from escaping."
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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
ed432962175a6f783428bbdcd7168d20097ec05d 08-Dec-2011 Jean Chalard <jchalard@google.com> Move settings method from Utils to SettingsValues

Change-Id: I633378a41f63cd492b8c9345d550e07254df5e5a
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
283b0c2b642030539ba3e41f3f54b6aed6bb9e2d 08-Dec-2011 Jean Chalard <jchalard@google.com> Cleanup

Here, shouldAutoCorrect implies mSettingsValues.mAutoCorrectEnabled

Change-Id: I9256718dd63b75252d1454e264db6814bbf18aa5
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
eef6238f94b5046054d9ae9c06f775362893c0ee 07-Dec-2011 Tadashi G. Takaoka <takaoka@google.com> Move SWITCH_STATE related stuffs to KeyboardState

Bug: 5708602
Change-Id: I904ec370e3761c47af17a680c0932ec98cfd3c27
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
8a70e70c849cc2c5553c6fd79891c22893fd761b 06-Dec-2011 Tadashi G. Takaoka <takaoka@google.com> Remove toggleSymbolsShift and rename toggleKeyboardMode

Bug: 5708602
Change-Id: Iadef3e862d00505d1d9f588d0d64445754d7b962
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
117fc18ed46496c81596f8207bba30a09c7317d1 29-Nov-2011 Jean Chalard <jchalard@google.com> Keep count of the trailing single quotes for suggestions

Bug: 5665809
Change-Id: I4d9100dbe980861ccb55c78464524be670cac1f7
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
f2c9a88887a303f3df8bee60788870946dfa55f7 29-Nov-2011 Tadashi G. Takaoka <takaoka@google.com> Save keyboard layout only when it is shown

Bug: 5130446
Change-Id: I150b4a053036eae050099155169325f0d1f7dfed
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
e7eac906c0a14b644d457beeb73a407fa1b63673 21-Nov-2011 Tadashi G. Takaoka <takaoka@google.com> Pending onStartInputView only if the EditorInfo is identical

Bug: 5604372
Change-Id: I2a88cf15b07eebd29e43e460f6ec758432181b01
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
10dff76856a98b6eec86a53d3d07fdc9708037b7 18-Nov-2011 Tadashi G. Takaoka <takaoka@google.com> Fix NPE introduced by I38b21d49

Bug: 5560766
Change-Id: Ic5eaebe0ef893c69ad90a777ebfa07807535a0e3
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
2c77216e22e5f9d1d2191ce577f2707bea5b815a 26-Oct-2011 Jean Chalard <jchalard@google.com> Remove trailing spaces when appropriate

Bug: 5509651
Change-Id: I99cfb5a6fc2873e2c11ed16967cd82a7f504a263
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
dd25e4fa2c7dd1e32a9e6f5fd21f54214919ef20 27-Oct-2011 Tadashi G. Takaoka <takaoka@google.com> Cancel pending rotation when another rotation start

Bug: 5516802
Change-Id: Iccb0abeb94e6dc1322a98a0c744188bb74034c7f
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
44f4d77b75a2a34077a558e6edf107cd31775cc8 26-Oct-2011 Ken Wakasa <kwakasa@google.com> am cb8cb95d: Fix NPE

* commit 'cb8cb95d0afd340de9f1a0e15948f0068d2450bc':
Fix NPE
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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
cb8cb95d0afd340de9f1a0e15948f0068d2450bc 25-Oct-2011 Ken Wakasa <kwakasa@google.com> Fix NPE

bug: 5512097
Change-Id: Id6752c95c9c4b39e7975daa187a2ab92b740060a
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
126698fdd256a2e3734634d3b923cabd800064ba 24-Oct-2011 Jean Chalard <jchalard@google.com> Add a strong space behavior.

Bug: 5454442
Change-Id: Ic095cb65dd7b4427617cd74fc7c53a9666b218c4
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
b2b1eb5ca5a52648eea70920b9bd745b07d3ddfa 24-Oct-2011 Tadashi G. Takaoka <takaoka@google.com> Call updateFulscreenMode before calling isFullscreenMode

Bug: 5495739
Change-Id: I25eab59833a8b95a0b75893d37a45e67504fa7d0
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
26a531c6fe2a6e058803b7102e2bc9e7ea12d8f3 21-Oct-2011 Jean Chalard <jchalard@google.com> Rename a flag

...and insert some explaining commands

Change-Id: Iff6511e71d66abfaea9f6c21c47f74fa0a67ad78
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
49426a1ea941c0331a6e573e36cff3c3a8e8849c 20-Oct-2011 Tadashi G. Takaoka <takaoka@google.com> Fix potential NPE

Bug: 5462524
Change-Id: I76012d1bbcd83d58f034c2f588802e4d1b7edc4d
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
82c8c2e6c00386ae9925fff68ea77bc448897cbd 19-Oct-2011 Tadashi G. Takaoka <takaoka@google.com> Add warning log for unexpected inputType

Bug: 5130446
Change-Id: I3484c75144ba68db0734a4d38186d2eafd1b1879
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
d44647e76f286256515ddac8cfc1ab29a2cbcf82 12-Oct-2011 Tadashi G. Takaoka <takaoka@google.com> Take invisible extractArea height into account

Bug: 5410786
Change-Id: I97ce2d72f86ce62b37d408103863af66f91e7107
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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."
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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
904baab25a4c6ec5d9c4bf7e562154e3f544d296 03-Oct-2011 satok <satok@google.com> Remove code related to AutoText

Bug: 5245751

Change-Id: Ic02f951e8e1dbde9d8964d2c16e4928fb374ca41
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
433965784dca1a2cd801e1aab8c8258f64d8c7e0 28-Sep-2011 satok <satok@google.com> add vibration duration settings

Change-Id: I56a1a94df63160f367f866da759d7dd4fc428ed5
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
ffd156c77e93a54b704780b46886ba597d1c77cb 27-Sep-2011 Tadashi G. Takaoka <takaoka@google.com> Postpone onDisplayCompletions until onStartInputView has been executed

Bug: 5108267
Change-Id: I42d297ce4e4913e5dab5f5d647b1d13dc860b884
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
68c7b9b195c3ffcc52cd265b98aa15d637fb5420 21-Sep-2011 Tadashi G. Takaoka <takaoka@google.com> Merge "Remove "autoCorrectInvert" feature from SuggestionsView"
77a87e3cb5886b1319230906c77c0bc98b905248 21-Sep-2011 Tadashi G. Takaoka <takaoka@google.com> Remove "autoCorrectInvert" feature from SuggestionsView

Bug: 5162005
Change-Id: Iec679f5f05f28cd7e8013d7350ea03372f1cd7b2
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
f5fe245df0548ea0a8ec607f2392de0fe02c141d 21-Sep-2011 Tadashi G. Takaoka <takaoka@google.com> Fix key preview backing view height

Bug: 5344344
Change-Id: Ied0cda2c4b822b391ece54a6880fae8e349cc0bc
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
34a9831811709548ffee9de876448dd459005124 20-Sep-2011 Ken Wakasa <kwakasa@google.com> Merge "Tweak LatinIME's keypress volume"
f58293f6ebf821acd9a3cc594124e905c4592810 20-Sep-2011 Ken Wakasa <kwakasa@google.com> Tweak LatinIME's keypress volume

bug: 5337902
Change-Id: I7f864f158d110aa3e755961303799882f59b7e4c
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
28f36d68afe8d323d1032d0e03fe3013449e21fe 19-Sep-2011 Ken Wakasa <kwakasa@google.com> Tweak LatinIME's keypress vibration duration

bug: 5337363
Change-Id: If6e6de587cbcddf26710d8f0b237c4bc393589b6
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
ea843f2a2404f4bc04fda494e475520162cfca27 13-Sep-2011 Tadashi G. Takaoka <takaoka@google.com> Make WordComposer aware of capitalized word

Change-Id: If6c0edef2334f018f2e04c6034f8ce747206f150
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
2cb36637f41418e4037023a47915dd64a30ab869 09-Sep-2011 Tadashi G. Takaoka <takaoka@google.com> Back button to dismiss the more suggestions

Bug: 5275063
Change-Id: If31e9a25d827f44c8d4ff455a780ec2a6d2d9bef
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
2be872555c08a66a820695ca6961e18d02dec359 08-Sep-2011 Tadashi G. Takaoka <takaoka@google.com> Use full screen mode on landscape/phone device

Bug: 5262767
Change-Id: I721c18522c972ced9f359f2e5208572d54a4b7a1
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
abb0c77af15a22b5d0953e477da8747cd5f2259d 02-Sep-2011 Tadashi G. Takaoka <takaoka@google.com> Use separate View for key preview backing

Bug: 5246982
Change-Id: Icec4281cb01771909fcece36647ee42ba179118c
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
913e2aeef26f172d500a4ebfc644b5f47778841a 01-Sep-2011 Tadashi G. Takaoka <takaoka@google.com> Rename CandidateView to SuggestionsView

Change-Id: I6480cdf025f065130e1969899b259a243e7a11be
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
392276d73dd6a1787afd3b859c213378e8e7bdb5 30-Aug-2011 Tadashi G. Takaoka <takaoka@google.com> Add Key constructor for suggestions pane

Bug: 5023981
Change-Id: I737bacb1a6bb40f70be65d6eff85614afe6c79ed
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
ef35cb631c45c8b106fe7ed9e0d1178c3e5fb963 26-Aug-2011 Jean Chalard <jchalard@google.com> Move locale-related utility methods to LocaleUtils.

Change-Id: I7e9e6e5bc4486d8618d0213b112308c3d305c15e
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
c84bc3460d2fb386a1db2a2c8b135b746fa706cd 23-Aug-2011 Tadashi G. Takaoka <takaoka@google.com> Rename LatinKeyboardBaseView to LatinKeyboardView

Bug: 5182291
Change-Id: I5089a14902b9f4ff1ab4f34e3f7a42aca5040d3e
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
f94df382fb3f73c03cfef5f0a28856bf3f1c73da 23-Aug-2011 Tadashi G. Takaoka <takaoka@google.com> Remove screen orientation confirmation hack

Bug: 4311428
Change-Id: Ie7e094ded9c7c1fe811b7eb97bc33ffecb29a73c
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
b39f612d9791877bf0136fa7af9ae054092b9eab 22-Aug-2011 Tadashi G. Takaoka <takaoka@google.com> Remove hacks related to determine window width

Bug: 4311428
Change-Id: Ic93f264101d13963503fcd447a69bbffd06e69f3
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
bf7dd47329c23c846912b268d15e8083ffdaabde 11-Aug-2011 Ken Wakasa <kwakasa@google.com> Key click sound volume fix

bug: 5145886
Change-Id: Ic599373ee17423ef9c61b3dd5177c3763aa31015
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
11b7febc0bea46a6afb30d7fa040b841eadd7410 09-Aug-2011 Ken Wakasa <kwakasa@google.com> Ellipsis for "Space" key for triggering the IME switcher

bug:5136497
Change-Id: Iab7c68135500e9fed212521484090b52943550ca
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
cadb2128f54b49be31bb4dc06374afe81ed028b7 06-Aug-2011 Ken Wakasa <kwakasa@google.com> Fix issues with long-pressing the spacebar

bug: 5114433
Change-Id: I18f2147724a08965147bafe93e11fc86c7c59d33
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
de30f9f2d61c8dd06a150dbd7c71b560e8589a04 04-Aug-2011 Ken Wakasa <kwakasa@google.com> Additional hack for bug:4311428, a follow up for Ieade33d7.

Change-Id: If1799a6fa3b2f45c98c9f3aeb88845f1fb08f09b
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
259ce17f5d23810aac4c56a5fcd7c1d20fa8143e 29-Jul-2011 Tadashi G. Takaoka <takaoka@google.com> Merge "Use isFullscreenMode to determine candidate container height"
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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
e4b445f1ceb95af95d9572b9568a50d573e876da 28-Jul-2011 Tadashi G. Takaoka <takaoka@google.com> Remove icon and negative button from dialogs

Bug: 5092028
Change-Id: I25b86c6e74e380e6cee4998bfe494bdafb611f36
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
3be0039164f5e2060b83d0699e293ffc76384732 21-Jul-2011 Tadashi G. Takaoka <takaoka@google.com> Fix potential NPE

Change-Id: I3679d24b6c89e081d24d59c91b136c139dcb3d5c
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
055265684bdc049db54c3ec2a7fa5404ff36a608 21-Jul-2011 Tadashi G. Takaoka <takaoka@google.com> Revert "Guard unused voice functions"

This reverts commit 795a712ecf1847251c2da02351e0812a2b5d4bb9.
Bug: 4985273
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
795a712ecf1847251c2da02351e0812a2b5d4bb9 21-Jul-2011 satok <satok@google.com> Guard unused voice functions

Bug: 4985273
Change-Id: I9491b4af24e636cba6362cdde44568d14f7b2b85
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
ef5dfc480c7a3e3e34a20b7aacc731942e7a0578 18-Jul-2011 Tadashi G. Takaoka <takaoka@google.com> Remove sliding spacebar language switcher

Bug: 4971680
Change-Id: Ia3485ddcf8051bf7b7ba7f7a37fa75c3bc8a4798
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
40f7efc172928bdd6048e91421a766abe5b22996 19-Jul-2011 Jean Chalard <jchalard@google.com> Fix an NPE related to absent InputConnection

Bug: 5035577
Change-Id: I1a11fc475d4a0f692636000d0b0f40bc35427867
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
4f365403c557ad9977a78186ea83ab81b31cd375 13-Jul-2011 Ken Wakasa <kwakasa@google.com> Fix build breakage

Change-Id: Id2c2d152f54d00842ef9e200ccdce1e13cc128cb
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
84cb23a789aa0f89b7809dee4625d1916c1bb2f3 12-Jul-2011 Ken Wakasa <kwakasa@google.com> Small code cleanup

Change-Id: I7075d85f745c3b186e6d06086b9fcd54e7459feb
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
8558cfb42a412010f2e5320ee50fe44afefdc1cf 12-Jul-2011 Ken Wakasa <kwakasa@google.com> Code cleanup

Change-Id: Ie43181721ba18e0c04048eaa9e3016dcea9f5a49
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
9318d33b6e501d4dd9ea860de04160ccb23a7501 12-Jul-2011 Ken Wakasa <kwakasa@google.com> Change variable names for readability

Change-Id: I9face4e90af4bcd6040eb7e303b596af7d643934
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
4a0c343dbdcf04245e6d5a94e68a0461efb78e83 11-Jul-2011 satok <satok@google.com> Use InputMethodSettingsActivity

Bug: 4979539
Change-Id: Ib721814bfe80822ded7b0d801f6bc0c854588da4
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
c71854a6614d1945739dcf40db61b0e887442b67 08-Jul-2011 Tadashi G. Takaoka <takaoka@google.com> Remove swipe gesture

Bug: 4971680
Change-Id: Ifff27f3bd3dd26417bfcb7072aaba074025b1bb7
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
273e5d60f4e9a3de1136d6fff9ef8e057838ec18 05-Jul-2011 Ken Wakasa <kwakasa@google.com> Use the new settings activity class name

Follow up to I96230f05

Change-Id: I0ee7ccb5461764490ae9c977658883b10fe3ed3d
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
5238df54ad3f648d09d5288f00b0a9d3c0593832 04-Jul-2011 Tadashi G. Takaoka <takaoka@google.com> Disable auto-correction when application auto completion has set

Change-Id: I3f4ecfe7f2d96613dd37d41d9195d94864f82b48
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
9ae24750f462cbd94b362fe54a952c86cfb05e5f 30-Jun-2011 Ken Wakasa <kwakasa@google.com> Some clean up and fixes around auto-correction cancellation logic

Change-Id: I07f4c3cd98d14d9f0da2de54bfa76a3867389f6f
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
55303bc63440c6a9547e94b4f3486a00696da9b0 27-Jun-2011 Tadashi G. Takaoka <takaoka@google.com> Re-create input view after voice IME finished

Change-Id: Ia389eb43ac7ffec229bfd8b0fe56ce8271cb1d39
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
7e9615f218630d14ae5666ede2efd5f12d0a23c3 27-Jun-2011 Tadashi G. Takaoka <takaoka@google.com> Fix NPE

Change-Id: Ia2c7d9e9298330ae991956fca64b225adaeff898
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
281e180c33b1dd88e8eae48f279736c529f529d2 27-Jun-2011 Tadashi G. Takaoka <takaoka@google.com> Fix NPE

Change-Id: Ie4b8b657fc6cc5a819d4ea3a0ca4536e6fdf6825
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
5ac4638f999db4fea8a9e24171dbceb640a10858 18-May-2011 Alan Viverette <alanv@google.com> Added support for touch exploration to Latin IME.

Bug: 4379983
Change-Id: I97f22e54827c6229054b514801401ffa5b4ed3b8
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
5e4e05afd2825bf7acb594fef5e7bd21c751dd63 18-Jun-2011 Tadashi G. Takaoka <takaoka@google.com> Fix NPE

Bug: 4686479
Change-Id: I0b8a32d0f9bcebe55eebecd38dc5e69198e94378
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
f0f726464dcb5b3cef4f8e703659b35ca62430b5 17-Jun-2011 Tadashi G. Takaoka <takaoka@google.com> Disable showing TAB key when navigate flags are specified

Bug: 3094312
Change-Id: Ibbd36020c1e40daab220b588e6c190979afe7149
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
a61967330e6086a99373e21ad03323af81aa17ed 16-Jun-2011 Tadashi G. Takaoka <takaoka@google.com> Make LatinKeyboard aware of theme

Bug: 4436327
Change-Id: Idecdd470cbb0720b96958039eb11f6978d39629e
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
699094f9b6e0a4621e8b3cfab70b59c0c7c086bb 10-Jun-2011 Jean Chalard <jchalard@google.com> Add an option to use or not the contacts dictionary.

Bug: 4586840
Change-Id: If62cd57e5ab661e6a51a5442d09bf0af8f08f263
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
c97810693dfe83bf37c09f73c8d4b40f2ba8dddb 09-Jun-2011 Tadashi G. Takaoka <takaoka@google.com> Introduce CandidateView.Listener

Bug: 4175031
Change-Id: Ie84d1c86ff099350b786c71e7081d9ea9ee0d81f
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
e6d376298a2aecdf07608291793d06497def2ac8 09-Jun-2011 Tadashi G. Takaoka <takaoka@google.com> Fix duplicate action next

Change-Id: I986528131a1dbe5926b8b6b2a6ffa75f48c5151a
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
1fef530ec7626fa16777f52b48191e61db8f46d4 24-May-2011 satok <satok@google.com> Put SuggestionSpan at commitText

Bug: 4346045
Change-Id: Iaabdb8a148b2601bb9cbc2b08509adac164105a4
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
c150acc7c85ff2f5eeb5bd2c6ff288df4e46a355 23-May-2011 Tadashi G. Takaoka <takaoka@google.com> Move CandidateView into input view

Bug: 4175031
Change-Id: I95f379b9943d1dcab1dc5527b6e5ac5abd58e280
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
3a38fef7a0a8f3b2864a597fee706422be1255ae 23-May-2011 Tadashi G. Takaoka <takaoka@google.com> Remove CandidatesView related method call from voice ime

Change-Id: I33ccf2c141d94437b175222b9e65c0b4e2671a35
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
d794c6f0788a65a4ec623de3f8f05122621d665f 19-May-2011 Tadashi G. Takaoka <takaoka@google.com> Remove manual config item controlling to show input language settings

Change-Id: I77f831c653567f2cf214a5b61107b25cca6d751d
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
1f050f634820a1d980e8a91f3a962bcd1fc242e3 13-May-2011 satok <satok@google.com> Fix NPE

Change-Id: Ib9a000ead8be91fab815dda161fcb258f678c3f4
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
fe1a6d961cf039357f061482461e4d2e951ad346 13-May-2011 satok <satok@google.com> Fix null pointer exception in LatinIME

Change-Id: Ic4d60fe651bdc83771137c0f61f07c3879a3f1a1
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
039e6d76954f8709af34f089c2920436386db0db 12-May-2011 Jean Chalard <jchalard@google.com> Merge "Fix a bug where suggestions would not update in Froyo WebTextView"
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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
9fbfd5877305ed19a20663630b498b6b3fdae942 10-May-2011 satok <satok@google.com> Move re-correction codes to Recorrection.java

Change-Id: I0641f333bbc7d4ac27361c97252c4591584efb9d
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
5c051dfefb7abe89170605fb7fd36c10652edc0a 10-May-2011 satok <satok@google.com> Merge "Move Recorrection functions to Recorrection.java"
7a8dac55278cedd838be325f56b4c52d973c61f5 06-May-2011 satok <satok@google.com> Move Recorrection functions to Recorrection.java

Change-Id: I309d78c50074cd6fb02a9d6f51b675b158a56202
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
f108bf8fe924722ac6fc451f0235eb85a60f459d 27-Apr-2011 Jean Chalard <jchalard@google.com> Rename a confusing variable.

mHasValidSuggestions -> mHasUncommittedTypedChars

Bug: 4322591

Change-Id: If7df986af3cf087c8e7571fd88a55e2b2ccfa38a
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
a7a659ab0f9e9667bf6c6e2d7d07ff2857ae8b13 26-Apr-2011 Tadashi G. Takaoka <takaoka@google.com> Shorter timeout to update auto caps state (100ms)

Bug: 4319726
Change-Id: I068279ddfbb79dfebb6ab845d97cccd62d9e052a
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
d2c5fdda862f6dd2a1e020cf674c35fbbc63fc92 21-Apr-2011 Tadashi G. Takaoka <takaoka@google.com> Rename and reorganize key code

Change-Id: I13d6fef7af1c4356a22b0e8aebc9e613b1693ece
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
646d950ed8d2b2555df92855e18b350fd7761b21 14-Apr-2011 Jean Chalard <jchalard@google.com> Receive a broadcast that the dictionary has been updated.

Change-Id: I9751cc627a835a4061f144c48ff51e9d81b2c93b
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
6d9021527a38ba1e94225020389621a0d7227aa1 14-Apr-2011 satok <satok@google.com> Fix for language bar switching

Change-Id: Id3974642b62b012968c537eff7c1a7ee37e2def2
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
88fc9d44186120f9edc5cf7ec0e2af85260fed04 08-Apr-2011 satok <satok@google.com> Support language bar swich for InputMethodSubtype

Change-Id: Ie49f0c1c7aea135331dc1d4a635197b3f4a96e93
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
b5d17e52fcda39d540822e615bfb7ed5074e0034 06-Apr-2011 satok <satok@google.com> Add logOnSeparator

This is a supplement for I9abb8141f23100d

Change-Id: I529d2a78f4fe630611db4cba830d933370c8c34f
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
6f18a1fbcccf9cf5ca937b08098601a4fafead29 29-Mar-2011 satok <satok@google.com> Disable Recorrection when APIs are not supported.

Change-Id: I3b8fdc149d350215fd4852a50456824fe3fabe0b
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
e9957752bcaad048746c7a57bbd2c0a59e1918a0 25-Mar-2011 satok <satok@google.com> Added InputTypeCompatUtils

Also Moved utilities related to InputType to InputTypeCompatUtils

Change-Id: Iab8ff5389f624f2abe627ece2acb156b0e1285ef
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
b2707856aba4fc9b063f26305f1fb603b19c1701 24-Mar-2011 satok <satok@google.com> Added InputConnectionCompatUtils and EditorInfoCompatUtils

Change-Id: Ie69d5e90c4ee978d3ecb40b68e6466082569ca7a
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
b86905943c0f1cadb2b3df9f2a58e7af84f6b27f 25-Mar-2011 satok <satok@google.com> Renamed Proxy classes

- VoiceConnector to VoiceProxy
- VoiceInputConnector to VoiceInputWrapper
- VoiceLoggerConnector to VoiceLoggerWrapper

Change-Id: I908ddc590c8846cf5cbd80b9c0257cb65c638bde
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
24119dfd414f948b2da214c021cc76e06b3dd41c 24-Mar-2011 satok <satok@google.com> Moved a functionality of setting touchableRegion to InputMethodServiceCompatWrapper.

Change-Id: I8b9fe507885ef5ae7cb09db93a977e23b1bbd0db
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
10dd34de0ffcde0104f7d2dae3a3c9fd66abffcc 19-Mar-2011 satok <satok@google.com> Add InputMethodServiceCompatWrapper for moving the callback from LatinIME.

Change-Id: If6b0180c63738e5e78a20fe5b938ef50d62865d6
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
610f1dc8553cf2ed97e763a06a19380c4a6cd636 18-Mar-2011 satok <satok@google.com> Use reflections for classes related to InputMethodSubtype

Change-Id: Ica53ce879c2b4c5eb47f757fb788a795a881c30e
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
2cff4d7e4abdb192151f9b4027fc93fe28a8bdaa 17-Mar-2011 satok <satok@google.com> Added CompatUtils for starting a language selector

Change-Id: I158414efaff43d0c6abe1f9af83ed3425992dfb9
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
9807ab27eac3a10b299382af8280eb54dca50608 16-Mar-2011 satok <satok@google.com> (Refactor 1) Moved voice related codes to deprecated/voice

Change-Id: I008ac7099c815fb74a9ab374419617b336453f97
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
bcfce3b3b9dbd4f5db736948b74bd820fc639a08 04-Mar-2011 satok <satok@google.com> Add whitelist dictionary

Bug: 3447571

Change-Id: I538e4e706982129b666ca1ab1085f1b68b69f87f
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
baf263caf4681052fa627abe26efc9abfef40080 05-Mar-2011 Ken Wakasa <kwakasa@google.com> Fix a NPE caused by a null typedWord

bug: 3514797
Change-Id: Ie1056745ded1f848d1e4f70c5344d6969de509b0
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
424f6ec2bcdfad53f571aa72f2979a0ba30d3ca2 03-Mar-2011 Tadashi G. Takaoka <takaoka@google.com> Continue swapping sentence separator and space

Bug: 3504990
Change-Id: I3de44e9d9adb0bcafa2e59685c4cdc257716b1d6
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
662bb7c26cadd5026cb3d4e5d081aae163bd5a3a 03-Mar-2011 Tadashi G. Takaoka <takaoka@google.com> Refactor TextEntryState not to use enum

Bug: 3504990
Change-Id: Id1ae9715d9f9ba99702e4cd5c243026a84d6861d
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
1eff7d77c8acaedf043bf00a0b8e750804f64444 03-Mar-2011 Tadashi G. Takaoka <takaoka@google.com> Remove mIsApplicationSpecifiedCompletions flags from SuggestedWords

Bug: 3504990
Change-Id: Ib7588ab05fa8b8ab58bf3bea6ff1f644c53ebb94
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
7e99a28dfcc14f5b19220442db972ca8d786b4fe 02-Mar-2011 Ken Wakasa <kwakasa@google.com> Clear suggestion strip when the suggestion starts

bug: 3488704
bug: 3480132

Change-Id: Ie895d2ad1b58dc65fe16d65baa6fccafd4a142bb
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
18e15a1e5e30cf200e935e43a73edef25682de27 01-Mar-2011 Ken Wakasa <kwakasa@google.com> Fix null token error

bug: 3499746
Change-Id: I76bd745b0623f4736c6b0aaf0ab42fd4b7c4f349
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
025a5e356ec74dbed7f805a2e43adbb2a35320f8 25-Feb-2011 Ken Wakasa <kwakasa@google.com> Reset the suggestion status when composing span gets cleared

bug: 3353818

Change-Id: I87b80470015dbeb2eaaec9aa4d9d802597c18e19
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
952cb7e973bbc4c09728cb5967505f84c80c8bd6 01-Mar-2011 Ken Wakasa <kwakasa@google.com> Refactor recorrection variable and method names

Change-Id: I3cb76e622e33985a187afe0a8928ed7b261615fd
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
27023341658b4cf5430d18ddb94fd9502ecfe3cb 24-Feb-2011 Tadashi G. Takaoka <takaoka@google.com> Fix AutoText enabling timing

Bug: 3479978
Change-Id: Ic3a9e947536b1508eb2bbe45753d6f7c0e99e416
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
dcade18113286a132a2f5fb508fdba836470c3fb 14-Jan-2011 Alan Viverette <alanv@google.com> Added support for speaking keys through accessibility service.

Issue: 3366636

Change-Id: I70a2ebb4420782ba4d7d874ffc2259bb1b80446f
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
8fbd55229243cb66c03d5ea1f79dfb39f596590d 22-Feb-2011 satok <satok@google.com> Add proximity info to native

Bug: 3311719

Change-Id: Ie596304070e321ad23fb67a13bf05e2b6af1b54b
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
cb97c2f1407364b24dc1a54226481a55501d1533 20-Feb-2011 Tadashi G. Takaoka <takaoka@google.com> Refactor keyboard mode holding variables

Change-Id: Id8d4e780a98292fda63b1e5bbf739eda78935a3b
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
887f11ee43ad621aa6ad93d535ab7f48dec73fc7 10-Feb-2011 Tadashi G. Takaoka <takaoka@google.com> Remove next letters frequency handling

Bug: 3428942
Change-Id: Id62f467ce4e50c60a56d59bf96770e799a4659e2
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
ea55bf5df7d26d12b36c47141bfbac5730c3929a 03-Feb-2011 Tadashi G. Takaoka <takaoka@google.com> Fix menu option dialog order

Change-Id: Iea619d26a2f2091b71182face2f6a66d188e0287
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
14e427d5bb13d59d23fb317ef90a6c44ae279425 26-Jan-2011 satok <satok@google.com> Fix safety net not to be enabled at aggressive autocompletion mode

Bug: 3374359

Change-Id: I7b1dbeb64a87dda05397c236bb58da292f819471
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
b5e00d5841b946de8970875231456228ae0eb6b1 26-Jan-2011 Ken Wakasa <kwakasa@google.com> Fix NPE in isCandidateStripVisible()

Change-Id: I03d3c4806b51e7f902c43887a6769bffbffeccaf
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
aa0458f917bb823efab6245f08c65e8f2f7327ac 25-Jan-2011 Ken Wakasa <kwakasa@google.com> Fix Input options dialog

bug: 3387860
Change-Id: I81e57ca08e07e4c2a68196ca173b764c40fbeb17
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
910b73127fa207dd26ec8124000262523b0aac0c 22-Jan-2011 satok <satok@google.com> Add log for voice IME

Change-Id: I7d0a458b3cf41fc9dc679f654347e8870c75185d
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
58d6d0615d62c45c390bb4c5c0e3d2efabac814d 21-Jan-2011 satok <satok@google.com> Disable touchable region until we come up with correct implementation

bug: 3373640

Change-Id: I22448b779b0adc60f590aaef916075c7847dcdc9
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
a2ad96d95986eb61c3d2d5abce154fb4c3803cac 21-Jan-2011 Tadashi G. Takaoka <takaoka@google.com> Make settings dialog cancel-able by touching outside

Bug: 3374426
Change-Id: I6ba9b82d4481c43c78b59e78dcf22cd9875a8240
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
6845da8d7b940018c4ef77646f0028d131ed2753 20-Jan-2011 satok <satok@google.com> Add touchable region

Bug: 3238092

Change-Id: I3cda3106a61c40c3b66741dc38c9ff4cc55f487b
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
82411d47ba7e8133ed2390c6920945e139a738ce 18-Jan-2011 satok <satok@google.com> Add a safety net for auto-correction.

Bug: 3353956

Change-Id: I6a32632b2f986f0d9a07aa72f256a2c41cc09873
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
26df6b508a2c429a3f7833964ea4df5a77fedaa1 18-Jan-2011 Tadashi G. Takaoka <takaoka@google.com> Merge "Load keyboard correctly when subtype has been changed to keyboard" 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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
504e8d5171edae36ec464a5e0c72cee22bb9ac4d 13-Jan-2011 Tadashi G. Takaoka <takaoka@google.com> Preserve punctuation character after canceling auto correction

Bug: 3230708
Change-Id: I939ca19c9c08d9b79658261b1e654a66af5cc493
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
0f901aab365093f690a0e40b12083d8cb66f7b24 13-Jan-2011 Tadashi G. Takaoka <takaoka@google.com> Support "nm" (no mic) privateImeOptions

Bug: 3331635
Change-Id: Ide160b9317c8f7d966f879dd460640fc4f894e9b
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
e90b333017c68e888a5e3d351f07ea29036457d0 07-Jan-2011 Ken Wakasa <kwakasa@google.com> Load main dic in native

Follow up to Id57dce51

bug: 3219819
Change-Id: I00e11ef21d0252ffa88c12dffb9c55b0f2e19a66
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
a96574fdd5e38a237a35b21a2b7c20a29138c648 30-Dec-2010 Tadashi G. Takaoka <takaoka@google.com> Move NOT_A_TOUCH_COORDINATE constant to KeyboardActionListener

Change-Id: Iff3fde48682a7c56201fc9eb3640755e0090d0ee
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
363cd6ef0f8f8af41a01964a2f0e800f9305d3a2 22-Dec-2010 Tadashi G. Takaoka <takaoka@google.com> Make dismissing keyboard by swiping down as configurable

Bug: 3306370
Change-Id: If4e258ce4db05fb75dcd3b23fefa422c1287955b
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
9fb8c6dd48dfa4e45827628a866d9b13c4c6c799 19-Dec-2010 Tadashi G. Takaoka <takaoka@google.com> Suppress punctuation suggestions if not needed

Bug: 3294256
Bug: 3284745

Change-Id: I77d54cbfcc2e809315bab59ecb808ae944982501
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
8aa3f5a3ad6095a3355841ce30bce4877319d0a0 20-Dec-2010 Tadashi G. Takaoka <takaoka@google.com> Cleanup KeyboardActionListener interface

Change-Id: I851eaea479f1590fd404a7a37a9a35d1bdcd378c
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
cb2469ae17e0ca8a94767008fef3945cb2a3b406 20-Dec-2010 Tadashi G. Takaoka <takaoka@google.com> Suppress haptic feedback while sliding key input

Bug: 3298222
Change-Id: I9507a98cc833fc6403cf9abf23457748a2bf89de
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
4700a6f2b0feb3bd036dc516383449342d05fa9a 13-Dec-2010 Tadashi G. Takaoka <takaoka@google.com> Tune padding of candidate word

Change-Id: I980e568f9b4b87b0f414aa7ce0197dba39a7708f
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
4ca16dbd65150359c3884da7cb59a30f19abd4b7 12-Dec-2010 Tadashi G. Takaoka <takaoka@google.com> Highlight auto corrected word

Bug: 3230726
Bug: 3215175
Change-Id: I086324cdab610b50a96d8eb08b81aa89c886ba00
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
7e181fe1010c8eac7814cc67a0c4b3864a10b151 10-Dec-2010 Tadashi G. Takaoka <takaoka@google.com> Introduce SuggestedWords class to represent suggestions list

Change-Id: I81677a785640d37296be8b42c7a74bd0c00edf46
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
55b9d333c5d260cb5da3f6a2d872bda8c03478d7 09-Dec-2010 Tadashi G. Takaoka <takaoka@google.com> Show auto correction feedback

Bug: 3230726
Change-Id: Iecf6fc837952c4721f6b726edcf16179254179ca
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
8d7ecc70a6572c288064e41235e4ae8ad5b1b47e 25-Nov-2010 Tadashi G. Takaoka <takaoka@google.com> Load keyboard only when subtype is keyboard mode

Bug: 3224990
Change-Id: I1ae1d86dce923464d4474fc7ce02f2ff22067603
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
27d13713bbb291d25a910f97d88a81fdbabddc0e 26-Nov-2010 Ken Wakasa <kwakasa@google.com> Preload SharedPreferences at start.

bug: 3207554
Change-Id: I84072461aee9675cc67897de03f89e9c0036bc1f
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
79efbed76f638be298493107fa2d0cd1b5eb529e 25-Nov-2010 satok <satok@google.com> Call showInputMethodPicker instead of showInputMethodSubtypePicker

- because showInputMethodSubtypePicker will be removed.

Change-Id: I255f9bbff77de24ce067f35ee101d368e36edd45
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
2c60d6e28ecf7d6f7e97a504ebfa97e286d931ed 24-Nov-2010 Tadashi G. Takaoka <takaoka@google.com> Support dedicated number/date keyboard layout

Bug: 3009716
Change-Id: Idc12cc9d8ee4f5febfae4e11712e2aaca327a6ea
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
8e09172df1bb176cc899940862c56bed9b9aec4e 20-Nov-2010 satok <satok@google.com> Enabled to change the current subtype to voice input subtypes

bug: 3201828

Change-Id: I4450cbc8ba8829060d702564889c735f1326cf23
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
409220583333bdf06290dd9fd42f91b5c0d1b11a 21-Nov-2010 satok <satok@google.com> Refactor to move voice functionarities in LatinIME to VoiceIMEConnector

Change-Id: I593a8187d48338c9c0e7d75c73c2dbfc32400335
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
04448c2978a81b8c479b254e0f40bce128da8f7b 20-Nov-2010 Tadashi G. Takaoka <takaoka@google.com> Make F1 and Symbol keys static in XML file

Change-Id: If869f5ad4fe8f192f89a8679a4abde99a25e02e6
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
4ab730dbd34fad323063f2ffd31ce33de746668d 18-Nov-2010 satok <satok@google.com> Add a functionarity to handle Subtype

Change-Id: Ic6055ba218b64f4276e3db99a435f546c3990ee5
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
0ed7191b4d1013a0b9d2fd1f26733dee7364871d 17-Nov-2010 satok <satok@google.com> Move functions related to LanguageSwitcher to LatinIMESubtypeSwitcher

Change-Id: I5fa306cf311063ff96b6d45faaca2ffe84cddbf9
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
b643dab73ab9527cc63d896cad81c0cdc92fe5f6 13-Nov-2010 Tadashi G. Takaoka <takaoka@google.com> Refactor KeyboardSwitcher and LatinIME

Bug: 3193390
Change-Id: Id894c9bc574a53966d9efc419ab398bae89c34c1
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
c1e2e827b5d1bba59eb99d322dc101657ec28768 16-Nov-2010 Ken Wakasa <kwakasa@google.com> Canceled auto-completion shouldn't be re-auto-completed

bug: 2847211
Change-Id: I2185fcf6b798a41135c329485914bc035fad5119
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
889691eca1ad991a85fb721deb37ecba6a913762 16-Nov-2010 Tadashi G. Takaoka <takaoka@google.com> Refactor shift key state into KeyboardSwitcher

Change-Id: If484d3d7e7a0794ee7fc88f0771229d6f90db466
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
d7641636db8fe91d9847ac79f5f431963e876ec3 16-Nov-2010 Tadashi G. Takaoka <takaoka@google.com> Refactor UI Handler of LatinIME

Change-Id: Iabae338c32969997cb3c7f612c2e5a6999420e28
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
6c92ee127df50509d364a2b6d428b223d2cbaa6e 16-Nov-2010 Tadashi G. Takaoka <takaoka@google.com> Refactor symbol key state into KeyboardSwitcher

Change-Id: Idce4e9bf070b08b8a930fd8e800df9c4d8829f8f
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
71c353aa875f5237b1dce4e18bd4fe86ce28b58e 13-Nov-2010 Tadashi G. Takaoka <takaoka@google.com> Refactor Tutorial class

Change-Id: Ib8dbcf8f36966988fb0d4efdc6bdb7e30b776a68
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
1679432d1c8a8cfe6ff09be0a49792f4af91ab35 13-Nov-2010 Tadashi G. Takaoka <takaoka@google.com> Get rid of the reference to LatinKeyboard from LatinIME

Change-Id: I94286ecec0aa8dbfdfaa74d3a76b744c4a250370
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
d98c20b036ff02f99406dabb8cc4fdf4a51cd6c4 13-Nov-2010 Tadashi G. Takaoka <takaoka@google.com> Fix NPE that is caused by null EditorInfo

Bug: 3192772
Change-Id: Ia057d29e070ccbb90ee60df1e141de14de95f820
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
68864723cf8d8e48385bfcaf30237fba25a8895a 05-Nov-2010 Tadashi Takaoka <takaoka@aluminum.tok.corp.google.com> Rename LatinKeyboardBaseView class to KeyboardBaseView

Change-Id: I496ecbfa7d398583d01f821398f49f75d17311d8
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
8252de1a60cffd859ac1d44cd6c061f78e59a078 27-Oct-2010 Ken Wakasa <kwakasa@google.com> Remove auto capitalization by Shift+puncs

bug: 3133312
Change-Id: I12a05d9028ab2fad07e1819407d63cf8ffd4d30c
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
276845c7a9ea90fd34289d060873c8e3a7ed342c 26-Oct-2010 Ken Wakasa <kwakasa@google.com> Follow-up change to revise Caps Lock sequence.

bug: 3122877
Change-Id: I44c539d7c041443f3ad027de4b75a67adf6b2c87
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
eec7bb9386795a740ebbfce39792694373c1c869 25-Oct-2010 Ken Wakasa <kwakasa@google.com> Get rid of mCapsLock in LatinIME.java

Change-Id: I9c6387ee387d53460d23a12225829da344674579
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
29ff343f77365e8a11a9b26a0e16a9dc5b7d72d7 25-Oct-2010 Ken Wakasa <kwakasa@google.com> Remove LatinKeyboardBaseView.isShifted() and setShifted() for refactoring

Change-Id: I9a1106b679a9ffb3ae959d90377eef096e5af842
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
0ce98cbf98c6409ac18fa341f467703d78352a4c 25-Oct-2010 Ken Wakasa <kwakasa@google.com> Get rid of references to BaseKeyboard in Latin-specific classes

Change-Id: I6871a24967b1410bdb14e902bdd311ef82fd4f0b
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
3740a26c21ddbcfffd2ddccee3918810e026a6d4 17-Oct-2010 Tadashi G. Takaoka <takaoka@google.com> Showing popup preview only when IME is in foreground

Bug: 3100922
Change-Id: Icd59fc3978dc1fccb523a368b0a7d4549fc2db78
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
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.
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
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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
7af745e6f66d6efdc5b0ad22ae25c28a411fbdc8 08-Oct-2010 satok <satok@google.com> Call InputMethodSubtypePicker instead of InputMethodPicker

Change-Id: I7c29285f4fd304d08bfd8f5f72df3fc421090681
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
b1abda8d62d654e876c4f781a07d724922c736e4 27-Sep-2010 Mitsuhiro Shimoda <halwhite@google.com> Add an auto complete's threshold option.

Change-Id: I3a6821ced8642ab8f954e79a25e31766e4a18eb8
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
4fc510a7890976d9968d73ceacf3983e77f489d2 01-Oct-2010 satok <satok@google.com> Unbundle Keyboard.java to BaseKeyboard.java

Change-Id: I8b310c2c0cae1a151e53c22001c586697346982c
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
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
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.
11a578f4f130ebae66fb1bd9953874f421c3c09c 30-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> Disable suggestion bar before invoke Voice input

Bug: 3002817
Change-Id: I099dd63e58d5159a609c1d934dbb6f5aab914305
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
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
008e9b3e1a8c037e0275b19f284a7d2e76c9e140 28-Sep-2010 satok <satok@google.com> Fix Null pointer exception on closing and update assets

Change-Id: I30fdac74685beae06b5c61140452b26b29ae4c39
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
a48d298d1030ab50ebcb410bf5c353c670db966b 27-Sep-2010 satok <satok@google.com> resolved conflicts for merge of b9c0ed59 to master

Change-Id: Ib42164a5889eb9792b5e94de1e0ffd4c1924e29d
bf96661d33d0126adb60a48880ceba1ff055d4a4 26-Sep-2010 satok <satok@google.com> Add Debug Settings Activity

Bug:3033472

Change-Id: I311c66ac3c612a30d7da3be8ee35a352f49016ac
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
abd7bba981aa3edb1a71df5eaeba113533764d51 22-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> Disable invoking VoiceIME using swipe right action

Bug: 3028268
Change-Id: I4bcf35051d5e82b60bb6a346a80ad6c3c03c31cb
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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.
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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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.
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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
12a4e08a6440c95f29dc04efe83515a4ed045487 14-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> Handling multi-character uppercase key input

Change-Id: Ie0820a2627e18109036d5f6f286d5a366c9b9f87
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
1bf265d185bc6b214588dcca4888691f4f8038d4 03-Sep-2010 satok <satok@google.com> Extend space LED for autocompletion

Change-Id: If59ea7c871ffc2af6fe2bfde72303f2612e43c3b
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
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
9a6a4d3d5f1ee52b56d349c002aa61c264d010d3 02-Sep-2010 satok <satok@google.com> Add a showing input method picker option by longpressing setting key

Bug: 2959271

Change-Id: I4b7e9a2de3cbe17b168ed8d0541a9b1cd9a9e107
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
41feaaadb758a8b31d3e436063b4b5faed104d4d 02-Sep-2010 satok <satok@google.com> Change symbol on space bar when autocompletion is activated

bug: 2959279

Change-Id: Icc70b7cce0c245ae2451d324debd346f226b8769
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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.
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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
681b102a492b7d5301c1ca87985b4c391eb5eb14 01-Sep-2010 Tadashi G. Takaoka <takaoka@google.com> Track all pointers events

Bug: 2910379
Change-Id: I179ae4359afb57c351d5fcc5f5453c30d3ef0c01
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
40ac45ebdcd71940394dda00371d4847f7db0f26 01-Sep-2010 Ken Wakasa <kwakasa@google.com> Get rid of arrows in candidate view

bug: 2959293
Change-Id: Ia5dcb29397f608846f865fabb3c696866b3687aa
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
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.
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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
cb6221257a2f4025c91de4d65f5591e6563c54ce 30-Aug-2010 satok <satok@google.com> DO NOT MERGE. Remove a preference for bigram suggestion

Change-Id: I1a9142d988352abf88da5eefe1d02596c7fc2beb
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
542f057ef64ae16cf2bc528880cf32bfd073edad 25-Aug-2010 satok <satok@google.com> Add a log for getting coordinates of keys

Change-Id: I57cc6fb6a9eeb65ce8c0c3c3262fd525726643e2
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
17dc363a63a20d18cd8161f917899b39aed6ddd6 20-Aug-2010 Ken Wakasa <kwakasa@google.com> Fix an NPE found in KeyboardSwitcher.isAlphabetMode()

Change-Id: I03d3d9b25147632d25c1502f796acad4cdaeb239
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
dad0e792aa064765901224af56d2a53a25bc7b7d 01-Apr-2010 Amith Yamasani <yamasani@google.com> Fix for 2559069 IME ".com" should be erasable with one backspace

Change-Id: Ifef97a9b66e051fef7ca8b0a92bfe21f3d1e6cf6
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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.
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
6780b898ec2647a21319601a03ae1c393c0e1b29 18-Mar-2010 Amith Yamasani <yamasani@google.com> Fix a StringIndexOutOfBounds. Bug: 2524050
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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.
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java