aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
| * | Do not change the proximity orderssatok2012-03-161-16/+0
| | | | | | | | | | | | | | | Bug: 4343280 Change-Id: I4e2dfb00d9c843a8a285d409ac5ab8fca5fb1694
* | | Streamline some user history dictionary codeJean Chalard2012-03-163-42/+13
|/ / | | | | | | | | | | | | | | 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
* | Merge "Remove touch dead zone"Tadashi G. Takaoka2012-03-154-22/+55
|\ \
| * | Remove touch dead zoneTadashi G. Takaoka2012-03-154-22/+55
| |/ | | | | | | | | | | | | | | KeyDetector should use the distance from the hit box to detect the key. Bug: 6174250 Change-Id: Id1745d90222d1d1a10467f194b45307c12449944
* | Extract an annoying method callJean Chalard2012-03-151-2/+3
| | | | | | | | Change-Id: I78f22bb38222fea54a55e460fcf728bf941d15e9
* | Fix a bug where quotes and dashes are considered lettersJean Chalard2012-03-151-2/+4
|/ | | | | Bug: 6174065 Change-Id: I702760d44ead0eeb60d06360aa3bb03c2ec73325
* Small cleanupJean Chalard2012-03-151-11/+9
| | | | | | Exit-fast, update comment, make a method private Change-Id: Id103bf03aeef43a1a4d064ecabb819490dc5d39a
* Remove useless codeJean Chalard2012-03-151-1/+1
| | | | | | | I tracked all the calls to the constructor, and the passed list is never null. It's also final, so it's safe. Change-Id: I320f907acee0b237bb286a9a183c18106809174a
* De-duplicate a methodJean Chalard2012-03-153-27/+16
| | | | Change-Id: Ia1c80eeff00a55573bb311f07e1275da23bdcf98
* Remove useless codeJean Chalard2012-03-151-2/+0
| | | | Change-Id: I58de87c1ba4cd1130419191f63ff83b685604356
* OptimizationJean Chalard2012-03-152-5/+5
| | | | | | | All calls to this methods are made with an actual String. No sense beating ourselves with an interface stick. Change-Id: I6ef98286be6f81f73864b04f3a17e68f36a6e542
* Stop meaningless explicit null passingJean Chalard2012-03-151-9/+6
| | | | Change-Id: I6950897d262f610d502b7f8293b9dd8d2b53e6e8
* Remove a now-useless flag.Jean Chalard2012-03-152-17/+8
| | | | | | | This has been moved to the SuggestedWords object and is now represented by a single flag instead of a flag in each suggestion. Change-Id: I6e9a7cff5a7701de7e61b4de13baac25c9a87b1b
* Use the unique flag in SuggestionsViewJean Chalard2012-03-152-2/+1
| | | | | | | Also, the first word in a sugestions list can never be obsolete. Change-Id: Ib21439aac8db4e6ce5b15b7a2aabe4222bc354db
* Add info for obsolete suggestions in SuggestedWordsJean Chalard2012-03-154-7/+15
| | | | Change-Id: I9684c7b08244b34853ce8a99b6e9d885389f6687
* Remove useless stuffJean Chalard2012-03-151-35/+0
| | | | Change-Id: I43dae30774c40a9d6e7396f8fa73ed4b82a7c777
* Move a computation closer to where it's used.Jean Chalard2012-03-151-8/+8
| | | | Change-Id: I5aee4c36ceaacbb1dbfc47c011f1e4aec4b9dca6
* Merge "Some readability improvement"Jean Chalard2012-03-141-14/+7
|\
| * Some readability improvementJean Chalard2012-03-141-14/+7
| | | | | | | | | | | | In-place replacements of visibly identical things. Change-Id: I02b51bd7f63597e3428f0650b239e9a39ef5a7c7
* | Merge "Cut out a private method to make things more readable"Jean Chalard2012-03-141-24/+32
|\|
| * Cut out a private method to make things more readableJean Chalard2012-03-141-24/+32
| | | | | | | | Change-Id: I791700890338e023bd86b8794dbc90379b91dc7d
* | Merge "Minor optimization"Jean Chalard2012-03-141-3/+2
|\|
| * Minor optimizationJean Chalard2012-03-141-3/+2
| | | | | | | | | | | | We know the size in advance, this may save a few allocations Change-Id: I2fb9a725f34ba2da4f34ed335652f10447d5d166
* | Merge "Some code simplification"Jean Chalard2012-03-141-6/+6
|\|
| * Some code simplificationJean Chalard2012-03-141-6/+6
| | | | | | | | | | | | Just write the same thing in a more succint manner Change-Id: I08a2c5edd52a3502914541061fd5b6ee7a92ebc4
* | Merge "Really pass the y - touch correction to the native code"satok2012-03-141-1/+1
|\ \
| * | Really pass the y - touch correction to the native codesatok2012-03-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Bug: 4343280 Test: I11f8518d9ee Change-Id: I4b90bdffffed9736af223ac83c1a54019add70bb
* | | Disabled key should respond if it is in the altCodeWhileTyping stateTadashi G. Takaoka2012-03-142-7/+16
| | | | | | | | | | | | | | | Bug: 6128215 Change-Id: I81e9980f8ffa5c5eaba30676c8433f542645de1d
* | | Merge "Gray out "alt-code-while-typing" key icon while typing"Tadashi G. Takaoka2012-03-143-21/+122
|\ \ \
| * | | Gray out "alt-code-while-typing" key icon while typingTadashi G. Takaoka2012-03-143-21/+122
| | | | | | | | | | | | | | | | | | | | Bug: 6128215 Change-Id: Ie9c13d9d38aad6e92cc465e22f3ef20c80e0a36a
* | | | Merge "Fix SuggestedWords.toString"Tadashi G. Takaoka2012-03-141-1/+14
|\ \ \ \ | |_|/ / |/| | |
| * | | Fix SuggestedWords.toStringTadashi G. Takaoka2012-03-141-1/+14
| |/ / | | | | | | | | | Change-Id: Ide3f605ce40e8c230f217bbf37ab016457ee91f1
* / / Send key information even when the touch position correction is not triggered.satok2012-03-141-24/+24
|/ / | | | | | | | | Bug: 4343280 Change-Id: Id24935f9f0f66ebaa799bb92537d842033427c4c
* | Merge "Use HashSet to hold keys in Keyboard"Tadashi G. Takaoka2012-03-141-1/+2
|\ \ | |/ |/|
| * Use HashSet to hold keys in KeyboardTadashi G. Takaoka2012-03-141-1/+2
| | | | | | | | | | | | This partially reverts Ie0554362. Change-Id: I0de971c5efb4e8eb093be2a0793a08bd79baee22
* | Cleanup & optimizationJean Chalard2012-03-141-28/+24
| | | | | | | | | | | | Renaming some variables, and obvious optimizations. Change-Id: Ib716748e9f3d602cf276dcd4e73f3bcfb819585e
* | Remove a useless parameterJean Chalard2012-03-144-18/+11
|/ | | | Change-Id: I03005240238fb004c20b2df0d836796e2e8b307f
* Remove a useless methodJean Chalard2012-03-144-29/+13
| | | | Change-Id: I208dd2e725e37c2fb3cd51fe48194679e5912f6b
* Remove the BuilderJean Chalard2012-03-141-31/+2
| | | | Change-Id: Idef22e6a82d59e3ec95b95ad237debcb07daf000
* Match the constructor of SuggestedWords to the Builder call.Jean Chalard2012-03-141-11/+11
| | | | | | | We have to match one way or another, and the argument order to the Builder call is more logical. Change-Id: Iac7c3a351c2687cb294d6a4924fd9cb20ca95177
* Make the Builder privateJean Chalard2012-03-144-17/+30
| | | | Change-Id: I2184084f4b7729c4324f8291d548bd4c4c2872a1
* Re-sequence the last calls to build()Jean Chalard2012-03-142-13/+10
| | | | Change-Id: If77ee5aa9483d3ca03c52812f31665dee6468e99
* Merge "Move up the static methods of the Builder"Jean Chalard2012-03-133-40/+40
|\
| * Move up the static methods of the BuilderJean Chalard2012-03-143-40/+40
| | | | | | | | Change-Id: Ic3e07b745b7b24cae0f772ea49e0de615b44caf9
* | Merge "Kill the last place where the Builder was being used"Jean Chalard2012-03-132-29/+6
|\|
| * Kill the last place where the Builder was being usedJean Chalard2012-03-142-29/+6
| | | | | | | | | | | | I had missed that one Change-Id: I9a5040a7a61e294396aa424de96a69dbb15f037a
* | Merge "Use XML animator definition"Tadashi G. Takaoka2012-03-131-29/+38
|\ \ | |/ |/|
| * Use XML animator definitionTadashi G. Takaoka2012-03-141-29/+38
| | | | | | | | Change-Id: Ic2f6d3f8fdd2c0b0a00f004f49f95b00d474ee4b
* | Merge "Make the Builder fully immutable at last"Jean Chalard2012-03-134-16/+16
|\ \
| * | Make the Builder fully immutable at lastJean Chalard2012-03-134-16/+16
| | | | | | | | | | | | Change-Id: Ie399ca7a9e76ccab44a92bc378d11f92392fed2c