Commit Graph

2368 Commits (863f95b6052e5d9d4fb1ac5dc283c464db9f29c3)

Author SHA1 Message Date
Tadashi G. Takaoka a0537fb4c7 Fix repeat key behavior
Change-Id: Ia7e5b2e9579aa0e5050857cdb14f16fa05a33621
2011-04-22 21:17:55 +09:00
satok d63135c148 Fix arabic layout for phone
Change-Id: I2b71f44e27f95ba3949e2e2c150696045f3c28b3
2011-04-22 20:52:04 +09:00
Tadashi G. Takaoka 0156713f2a Merge "Clear spacebar sliding language switch diff" 2011-04-22 04:23:03 -07:00
satok c82b8dbd4a Merge "Fix the spacebar language switcher" 2011-04-22 03:55:05 -07:00
satok 61393a88b0 Fix the spacebar language switcher
Change-Id: I54711ff2014facefe3afd22e536045cd0ffe4955
2011-04-22 19:50:08 +09:00
Tadashi G. Takaoka f172be448c Clear spacebar sliding language switch diff
Change-Id: If82540b6632476e049fa9c4b3122e9c053227d6e
2011-04-22 18:49:15 +09:00
Tadashi G. Takaoka 75136cd009 Fix language switch preview
This change also makes the delay after key preview longer to 60ms.

Change-Id: If7cf3b493824bb12e0bf44aa0bc3c186b15b51f6
2011-04-22 18:26:32 +09:00
Tadashi G. Takaoka d00d963b9d Fix NPE on non-distict multitouch device
Change-Id: I6d8a05bf62e510d0556fa4831b3d510041cca63a
2011-04-22 17:33:24 +09:00
Tadashi G. Takaoka c5c57b506e Move sliding language switch code to PointerTracker
This change is hack and temporal.

Big: 4328445
Change-Id: I0b8851e9f05390db20ddaa10f35cff1cc9f016da
2011-04-22 17:02:38 +09:00
Jean Chalard c121b5d03e Merge "Actually use the bigram prediction option." 2011-04-22 00:51:07 -07:00
satok 940b8d81f3 Merge "Add an debug option to use spacebar switcher" 2011-04-22 00:51:07 -07:00
Jean Chalard cb3320179d 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
2011-04-22 16:36:20 +09:00
satok c5a2b51924 Add an debug option to use spacebar switcher
Change-Id: Icc483f097696a1c5a2a7ab037afce19c9cfe837f
2011-04-22 15:54:39 +09:00
Jean Chalard b50591295d 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
2011-04-22 15:53:48 +09:00
Jean Chalard 89bd776cf6 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
2011-04-22 15:46:23 +09:00
Tadashi G. Takaoka 6c10cf6bf8 Merge "Rename and reorganize key code" 2011-04-21 23:33:21 -07:00
satok 1b9eecb521 Fix language selection settings
Change-Id: I84e51ce2b80a21650e309e5e6c9ee5f1739170c9
2011-04-21 23:27:46 +09:00
Tadashi G. Takaoka d2c5fdda86 Rename and reorganize key code
Change-Id: I13d6fef7af1c4356a22b0e8aebc9e613b1693ece
2011-04-21 20:32:33 +09:00
satok 49a11524fc Fix language selection settings
Change-Id: I99e2039579a5bd606a8e698cdee2739465b998bc
2011-04-21 19:46:06 +09:00
Tadashi G. Takaoka c9c3aa219e Merge "Disable key preview of space, return and delete" 2011-04-21 03:10:21 -07:00
Tadashi G. Takaoka ba9aefcc18 Disable key preview of space, return and delete
This change also re-orders punctuation mini keyboard.

Change-Id: I987ef14fe5956d13439a0a76de367feed825314c
2011-04-21 19:04:49 +09:00
satok 9ee51db95b Optimize InputLanguageSelection
Change-Id: I49117a1e5f7766fcfa0140ff602ff1e19ba1e3d2
2011-04-21 18:05:27 +09:00
satok bdb3d6909a Merge "Check the availability of layouts for showing the input languages in the settings" 2011-04-21 01:33:05 -07:00
satok 15a0ba6d74 Check the availability of layouts for showing the input languages in the settings
Bug: 4316889

Change-Id: I746b3ff79c2a6cd4925fca1817d5b209623b5108
2011-04-21 17:17:32 +09:00
Tadashi G. Takaoka 46ca845848 Compute content and visible insets even in voice mode
Bug: 4317779
Change-Id: If54d15466db9d0362b4470a2ba4618377bdffc2a
2011-04-21 15:20:37 +09:00
Tadashi G. Takaoka 6d645e13e4 Merge "Display spacebar language switcher even when key preview is off" 2011-04-20 22:03:43 -07:00
Tadashi G. Takaoka e6cb8fc234 Display spacebar language switcher even when key preview is off
Bug: 4313884
Change-Id: I9d4a474302dadbfc610324799f8768b803705e52
2011-04-21 12:53:53 +09:00
Jean Chalard 0c72ea1c92 Remove a useless import.
Change-Id: I911e3e928a45bbca352a87e6b0616a2ba9bd9e9c
2011-04-20 20:25:26 +09:00
satok 5454ff5a66 Merge "Tweak the normalized score for the words with spaces" 2011-04-20 02:13:28 -07:00
Jean Chalard c9bc5c8d34 Merge "Move language-specific keyboard setting to resources." 2011-04-20 01:52:54 -07:00
satok 22104663fc Tweak the normalized score for the words with spaces
Change-Id: Icc0c4fd0474ed5094fb274a6ea745ca583ba524d
2011-04-20 17:44:13 +09:00
Jean Chalard c899038eee Move language-specific keyboard setting to resources.
Some flag settings used to be stored in a keyboard layout extravalue setting. This
change:
- Introduces the capability of setting such specific flags in values/config.xml
- Retains the ability to use extravalues (for layout-specific settings), though
  there is no more any such setting at the moment.
- Fixes a bug where loading a dictionary from outside does not initialize the flags.
- Moves Flag to another class.

Note: this needs I705ec68c to avoid breaking the build

Change-Id: Ia7703aae3215b06c0b3cb792821649806e8998c1
2011-04-20 17:31:59 +09:00
satok 9674f654a7 Fix a bug that 2 length words were demoted.
Change-Id: I4a3558d0f1f1b0a9d6a36c3f75db3089b0566d7f
2011-04-20 17:15:27 +09:00
satok 0aae85fb67 Merge "Tweak edit distance" 2011-04-20 00:58:08 -07:00
satok e18ba4275f Tweak edit distance
- The edit distance of transposed characters will be changed to 1 from 2

Change-Id: I369e2f94278b3b290957eef43d23cb7048166a99
2011-04-20 16:55:21 +09:00
Tadashi G. Takaoka 708aa80492 Add mini keyboard fo tab key in web layout
This change also re-orders punctuation mini keyboard.

Bug: 4315046
Change-Id: I567ea417fc8d3cb23dceac6965fa279e6beca970
2011-04-20 15:46:35 +09:00
satok 95d9e47104 Merge "Tweak voice layout for Dogfood" 2011-04-19 23:15:37 -07:00
satok 015b21cf52 Tweak voice layout for Dogfood
Change-Id: Ic51a044901a63c4cec907163e35cd5e458f36dde
2011-04-20 15:13:57 +09:00
satok b1ae5d84b1 Merge "Remove debug mode from the settings preference" 2011-04-19 21:52:12 -07:00
satok 9d861bdf26 Merge "Change the default value of logging to true" 2011-04-19 21:52:04 -07:00
Jean Chalard aafa17e283 Fix a typo.
Change-Id: I245deb5af6b504ff20617929c0510036d0c930d5
2011-04-20 12:10:28 +09:00
satok 39144ca4f9 Change the default value of logging to true
Change-Id: I52198ebca929f02e8b04db77a474ee5a7e79cdea
2011-04-20 11:42:55 +09:00
satok 10f113f5d2 Remove debug mode from the settings preference
Change-Id: I2b3f973f8d59687fe5b95b841449bff5c4b1a2ba
2011-04-20 11:34:20 +09:00
satok 63546344b3 Merge "Promote a word with a missing space because the formula was changed by Ifa4338c5f4" 2011-04-19 07:54:02 -07:00
satok cbc66e0711 Promote a word with a missing space because the formula was changed by Ifa4338c5f4
Change-Id: Id4bc965aef387800facb64164d8c36a3bdd2fa07
2011-04-19 23:48:36 +09:00
satok 9fcd9384e8 Merge "Demote a word with mistyped space and missing space according to the length of each word" 2011-04-19 07:20:10 -07:00
satok 4c981d3a40 Demote a word with mistyped space and missing space according to the length of each word
Change-Id: Ifa4338c5f43b37e6bcd0700767ef2178189de3af
2011-04-19 23:14:27 +09:00
Tadashi G. Takaoka e9e688e2d4 Merge "Refactor key preview code" 2011-04-19 04:37:12 -07:00
Tadashi G. Takaoka d9786ce2e3 Refactor key preview code
This change removes mOldPreviewKeyIndex from KeyboardView.

Bug: 4298393
Change-Id: I832eb6deab7e078609973bf0b8be09f73db204d7
2011-04-19 20:32:57 +09:00
Tadashi G. Takaoka 9c192e1b70 Shrink tab key width on web mode layout
Bug: 4315046
Change-Id: I468ddf14d1f486d2c24cef56ed211ac9228cae43
2011-04-19 18:34:59 +09:00