aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/LatinIME.java (follow)
Commit message (Collapse)AuthorAgeFilesLines
* OptimizationJean Chalard2012-06-131-5/+5
| | | | | | | | | | 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
* Small optimization.Jean Chalard2012-06-131-2/+2
| | | | | | This will avoid some two-way IPC calls. Change-Id: If9eb3e99b3d08346aadd4bbed2a1761f8c2527b9
* Consolidate a test.Jean Chalard2012-06-131-1/+4
| | | | | | Stop using the numerical value, use the actual method Change-Id: Iffa7f2d21a0471c7862afd3234cc9c5dd86feb2e
* Consolidate auto-correction settings.Jean Chalard2012-06-121-11/+7
| | | | | | | | | | | | | 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
* Move two methods in a more appropriate placeJean Chalard2012-06-121-31/+2
| | | | Change-Id: I512b04e23490413a44b1ca0517102fe2d9138df3
* Move an editing method to the RichInputConnectionJean Chalard2012-06-121-24/+1
| | | | Change-Id: Ie143ad008ca8deb1c5034cb80ec1cb28a6b0682d
* Move a member call out of the wayJean Chalard2012-06-121-1/+1
| | | | Change-Id: I5da48442c0b39aaff817c3b6d067a9b13fda0643
* Move two editing utility methods to RichInputConnectionJean Chalard2012-06-121-40/+4
| | | | Change-Id: If8d03bea1b6369cb3043da6321048d052995d664
* Rename mSettingsValues to mCurrentSettingsJean Chalard2012-06-081-54/+55
| | | | | | | | ...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
* Move suggestion strip visibility to SettingsValuesJean Chalard2012-06-081-29/+1
| | | | Change-Id: If34112c69acd5122d87554043d87d8f4dbdf5d15
* Accept a null input attributes for reading settings.Jean Chalard2012-06-081-2/+0
| | | | Change-Id: I11a8e1aca3541c35d2b39b27716687fcd8ff3dc6
* Move the correction mode to SettingsValue and make it finalJean Chalard2012-06-081-20/+10
| | | | | | At last this guy is final, at last Change-Id: I76911f8d47493f8a1719f75fc7e949be5d7da1a2
* Consolidate updateCorrectionMode() callsJean Chalard2012-06-081-6/+3
| | | | Change-Id: I43c0505e9a1652bfc568f23b787fc68a5c5e9220
* Move some editing methods to RichInputConnection.Jean Chalard2012-06-081-35/+10
| | | | Change-Id: I8527776a4bd8236a85bb77f9791f9b76977ad181
* Straighten batch edits, pass 1Jean Chalard2012-06-081-23/+8
| | | | Change-Id: I73acfee9098a87b9cde8aca720586ec748b2a82f
* Merge RichInputConnection with EditingUtilsJean Chalard2012-06-081-15/+6
| | | | Change-Id: I9982ff325bef56694402caef28a77683c52ccd71
* Make a wrapper for the input connection.Jean Chalard2012-06-081-213/+153
| | | | | | | 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
* Remove deprecated classes.Jean Chalard2012-06-081-45/+17
| | | | | | | Should we maybe rename back *BinaryDict* to *Dict* in another change for simplicity? Change-Id: I8f7dcb78b9bdf1a13ce403a997fbb8619f2b453b
* Remove a slew of Eclipse warnings.Jean Chalard2012-06-081-0/+1
| | | | Change-Id: I03236386aea13fbd4fb8eaeee18e0008aa136502
* Fix typoKen Wakasa2012-06-081-8/+8
| | | | Change-Id: I264f829c1584a37995dbc5ee4ba6b6783d5d4834
* Merge "Contacts binary dictionary updates with change in keyboard locale."Tom Ouyang2012-06-071-16/+29
|\
| * Contacts binary dictionary updates with change in keyboard locale.Tom Ouyang2012-06-071-16/+29
| | | | | | | | | | Bug: 6616436 Change-Id: I8d66a37f295134c5b9875b2a305a9be7442bd75d
* | Merge "add research log ui control"Kurt Partridge2012-06-061-2/+7
|\ \
| * | add research log ui controlKurt Partridge2012-06-061-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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
* | | am e08cfda1: am 5a8d2fd1: Merge "Cache UserHistoryDictionary for each ↵Satoshi Kataoka2012-06-061-1/+1
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | language" into jb-dev * commit 'e08cfda1ebea693c56681816076c419f23c51076': Cache UserHistoryDictionary for each language
| * | Merge "Cache UserHistoryDictionary for each language" into jb-devSatoshi Kataoka2012-06-061-1/+1
| |\ \
| | * | Cache UserHistoryDictionary for each languageSatoshi Kataoka2012-06-061-1/+1
| | | | | | | | | | | | | | | | | | | | Bug: 6603257 Change-Id: I73b65e921cff8337a00594525f67f6aec2178881
* | | | am 2eb5eb4d: am be2fef4d: Merge "Fix backing view height calculation in ↵Tadashi G. Takaoka2012-06-051-1/+3
|\| | | | |_|/ |/| | | | | | | | | | | | | | landscape orientation" into jb-dev * commit '2eb5eb4d447cb326b4c10cff2cae64df4e431ffd': Fix backing view height calculation in landscape orientation
| * | Fix backing view height calculation in landscape orientationTadashi G. Takaoka2012-06-051-1/+3
| |/ | | | | | | | | | | | | This logic has been dropped by Ib814c07f. Bug: 6610497 Change-Id: Id89ad3280b73a31d8c9c6826e9ee297791624db1
* | am e2832daf: am 8cf3654a: Merge "Use calculated backing view height instead ↵Tadashi G. Takaoka2012-06-031-22/+9
|\| | | | | | | | | | | | | of the view\'s height" into jb-dev * commit 'e2832daf4c289f94d68c546c485fc06bbf6aefd6': Use calculated backing view height instead of the view's height
| * Use calculated backing view height instead of the view's heightTadashi G. Takaoka2012-06-041-22/+9
| | | | | | | | | | | | | | This change removes the work around that was introduced by If4f24500. Bug: 6596131 Change-Id: Ib814c07fdac7d0aa0d7fbc2764fda1af42b82ad5
* | am e6560252: am 72cd8466: Merge "Fix NPE in user history bigram dictionary" ↵satok2012-05-311-0/+7
|\| | | | | | | | | | | | | into jb-dev * commit 'e656025282c0da28ed80b2604949092dbc5fb72e': Fix NPE in user history bigram dictionary
| * Fix NPE in user history bigram dictionarysatok2012-06-011-0/+7
| | | | | | | | | | Bug: 6584882 Change-Id: Id0162bffc4f0f36239cdc68383f8a47d7a957397
* | am 408fa1ac: am 961e676b: Merge "Set level 1 as the initial value of the ↵Satoshi Kataoka2012-05-291-1/+5
|\| | | | | | | | | | | | | valid words" into jb-dev * commit '408fa1ac48a3eb6f378274d5dd0e490da0f453ae': Set level 1 as the initial value of the valid words
| * Set level 1 as the initial value of the valid wordsSatoshi Kataoka2012-05-291-1/+5
| | | | | | | | | | Bug: 4192129 Change-Id: I867e78ce79c78977d08e8b66881a25b6fe5bf41f
* | am fff5cd6f: am aa064139: Merge "Forget user history" into jb-devsatok2012-05-271-2/+1
|\| | | | | | | | | * commit 'fff5cd6f767e248ecb5b30ea39cb9a22a476b953': Forget user history
| * Merge "Forget user history" into jb-devsatok2012-05-271-2/+1
| |\
| | * Forget user historysatok2012-05-281-2/+1
| | | | | | | | | | | | | | | | | | Bug: 4192129 Change-Id: Ic98398e5383093a1c24373849eadc48fc4d3626f
* | | am fac23787: am bed613cf: Merge "Simulate hardware enter/delete events if ↵Jean Chalard2012-05-271-3/+37
|\| | | | | | | | | | | | | | | | | | | | the app targets < 16" into jb-dev * commit 'fac23787bbd7723acba4e7e344aa6f799d9584f6': Simulate hardware enter/delete events if the app targets < 16
| * | Simulate hardware enter/delete events if the app targets < 16Jean Chalard2012-05-281-3/+37
| |/ | | | | | | | | | | | | | | This will make text input buggy on all apps until they target JB or superior. Bug: 6537051 Change-Id: I726347db8c84d1582ad1962d3a910e698389e08c
* | am d45e334f: am 7707e045: Merge "Cache application info." into jb-devJean Chalard2012-05-251-3/+6
|\| | | | | | | | | * commit 'd45e334f5a73d2cc36800a81e1bbf881e633f026': Cache application info.
| * Cache application info.Jean Chalard2012-05-251-3/+6
| | | | | | | | | | Bug: 6537051 Change-Id: Ieca891235df0d697bdeb0510651b703654fdef38
* | am 6691bd67: am 9b93817b: Merge "Get information about the target ↵Jean Chalard2012-05-251-1/+11
|\| | | | | | | | | | | | | application." into jb-dev * commit '6691bd675a555163aa59c2ac791c6138c1d8a32c': Get information about the target application.
| * Get information about the target application.Jean Chalard2012-05-251-1/+11
| | | | | | | | | | Bug: 6537051 Change-Id: I9fe7a07b5ddf2a423d5764840753ea70544206f1
* | am 925212ff: am c54d558e: Cancel adding user history bigram when ↵satok2012-05-231-18/+23
|\| | | | | | | | | | | | | autocorrection is cancelled * commit '925212ff4b3d6ff4182a94a133c0e4a4f23dd6aa': Cancel adding user history bigram when autocorrection is cancelled
| * Cancel adding user history bigram when autocorrection is cancelledsatok2012-05-241-18/+23
| | | | | | | | | | Bug: 6465474 Change-Id: Ifbfe0ddc2ce5fab070939ede3db7bf03a8535a45
* | am c4f66d32: am 6c034901: Fix an NPEJean Chalard2012-05-221-1/+1
|\| | | | | | | | | * commit 'c4f66d3233159ee224dd0b30dd117fe539af2be6': Fix an NPE
| * Fix an NPEJean Chalard2012-05-231-1/+1
| | | | | | | | | | Bug: 6538761 Change-Id: Id85486ee93437cfec7db421d5c7f2d7980a7e32e
* | Merge "switch ResearchLogger output to json."Kurt Partridge2012-05-221-4/+6
|\ \
| * | switch ResearchLogger output to json.Kurt Partridge2012-05-211-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | use multiple logging files, clean up internal nested class structure. multi-project commit with I1813b6710ef586d96cf8936662f58b870040d6e5 Bug: 6188932 Change-Id: I438790e28f74747c4c1a48a20c1942a0fd818b6c