Tadashi G. Takaoka
260fce0a2c
Merge "Fix Serbian (Cyrillic) keyboard layout"
2011-05-11 04:49:16 -07:00
Tadashi G. Takaoka
287d0d47ff
Fix Serbian (Cyrillic) keyboard layout
...
Bug: 4406840
Change-Id: Iae1d8e9752c355d08d7f3d0fe7057fce61ea702f
2011-05-11 20:32:40 +09:00
Jean Chalard
4ef1b6b6b6
Merge "Refactor settings flags."
2011-05-11 04:22:52 -07:00
Jean Chalard
17c7ffeb1e
Refactor settings flags.
...
This needs Ic5bd9b45 to not break the build.
Change-Id: I9684be89baba0f855f19c11d000c5638c04cc26e
2011-05-11 20:18:08 +09:00
Jean Chalard
4f3b59711f
Fix a bug where suggestion strip pick would reset magic space
...
Bug: 4391347
Change-Id: I93c3c821d3ab78a300edc3d251ce7b1ee0dc3958
2011-05-11 12:40:17 +09:00
satok
9fbfd58773
Move re-correction codes to Recorrection.java
...
Change-Id: I0641f333bbc7d4ac27361c97252c4591584efb9d
2011-05-10 16:58:27 +09:00
satok
5c051dfefb
Merge "Move Recorrection functions to Recorrection.java"
2011-05-09 22:56:35 -07:00
Tadashi G. Takaoka
14a5f53c27
Merge "Fix suggestion strip geometry"
2011-05-09 20:52:16 -07:00
Tadashi G. Takaoka
37b6b44a90
Fix suggestion strip geometry
...
Bug: 4393288
Change-Id: I6cad1d186db25174a3f31a57975165e720b41266
2011-05-10 11:53:55 +09:00
Eric Fischer
6efb50ba07
Import revised translations. DO NOT MERGE
...
Change-Id: I7d3771cac30793818a12ddd57baf980d7495c87e
2011-05-09 17:05:02 -07:00
satok
7a8dac5527
Move Recorrection functions to Recorrection.java
...
Change-Id: I309d78c50074cd6fb02a9d6f51b675b158a56202
2011-05-09 20:17:02 +09:00
Jean Chalard
3d994a48a2
Merge "Improve magic space handling."
2011-05-09 04:07:16 -07:00
Tadashi G. Takaoka
ff082d081f
Refactor KeyboardView and create MiniKeyboardView
...
Change-Id: I8d68b944762ccde05020978f20b3742eb6ab945b
2011-05-09 19:17:39 +09:00
Jean Chalard
863f95b605
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
2011-05-09 19:15:11 +09:00
Tadashi G. Takaoka
14de691f22
Include horizontal and vertical gap in the count of Key.isOnKey
...
This change considers that the point is on the key while sorting in
proximity key detection.
This change is the cherry-pick of I3ee91367.
Bug: 4353949
Change-Id: I04fa0acf4d32c18bea9640b39a5c770466a37803
2011-05-09 15:41:37 +09:00
Ken Wakasa
aac2d87dcf
Merge "Tweak keyboard heights for phone, and key preview delay."
2011-05-06 04:02:58 -07:00
Ken Wakasa
7642eb3b4b
Tweak keyboard heights for phone, and key preview delay.
...
Change-Id: I1c5e6db2923ce256ae70347f17ab28ff3c700ef1
2011-05-06 19:56:07 +09:00
satok
0d8a4eb367
Add pl keyboard layout
...
Bug: 4394303
Change-Id: I0fa24829e1240549728d9b81af3e39a024725016
2011-05-06 19:22:08 +09:00
Ken Wakasa
ec5ae3a1b6
Fix IndexOutOfBoundsException in LatinIME.setSuggestions
...
bug: 4369728
Change-Id: I7f8b09ecf7fb096bdff73b2d3575ed3779ed120d
2011-05-06 13:52:07 +09:00
Eric Fischer
80bcf30dd6
Import revised translations.
...
Change-Id: I255568e425169188a3be66c56fc36434e0b325fb
2011-05-02 15:55:46 -07:00
Jean Chalard
ccb60b7627
Merge "Straighten out magic space vs real spaces behavior."
2011-05-02 04:28:16 -07:00
Jean Chalard
0730bbfbf5
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
2011-05-02 19:19:05 +09:00
Ken Wakasa
9b2192bfd2
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
2011-04-29 19:23:49 +09:00
Tadashi G. Takaoka
44fe4a0598
Include horizontal and vertical gap in the count of Key.isOnKey
...
This change also reverts I8f6102d6 and considers that the point is on
the key while sorting in proximity key detection.
Bug: 4348994
Change-Id: I3ee913675e28da7e7b164805a7a683f0814b38b9
2011-04-29 01:21:17 +09:00
Jean Chalard
8d165bb5d1
Fix a bug where dead space would appear on the keyboard.
...
This change fixes a bug where there would be pixels on the keyboard
that would not return a key although it's between two keys - or even
right on top of one.
This change makes it so that the closest key to the touch - within a
certain threshold - is always returned, regardless of whether the
touch is inside or not.
Bug: 4348994
Change-Id: I8f6102d6787eb025cc3c50a26d3a475aeafc4b64
2011-04-28 22:10:02 +09:00
Jean Chalard
d8f52a4f18
Improve the architecture to support multiple dictionaries.
...
This change enables the interface to get multiple dictionaries from a
dictionary pack. It only implements it to the end in the case of the
proprietary method, as the open method needs still some working out,
and the "inside the package" method does not need it.
This change goes together with Iaa95bf36, and breaks the build
without it.
Bug: 1752028
Change-Id: I3ccfd696e8ef083ef9c074e1c3e4bb0bf2fcfd23
2011-04-28 16:16:46 +09:00
Ken Wakasa
3bf6fbb6b8
Merge "Fix snap back behavior for a quote mark input."
2011-04-27 04:40:19 -07:00
Ken Wakasa
0b4757604d
Fix snap back behavior for a quote mark input.
...
Follow-up for I8168ce6a
Change-Id: I63b04471c90d3d02de1bb8f092b5d57614cd8591
2011-04-27 19:10:32 +09:00
Jean Chalard
f108bf8fe9
Rename a confusing variable.
...
mHasValidSuggestions -> mHasUncommittedTypedChars
Bug: 4322591
Change-Id: If7df986af3cf087c8e7571fd88a55e2b2ccfa38a
2011-04-27 18:49:49 +09:00
Jean Chalard
19bfef6cb0
Use the new Utils.setSystemLocale method in the new code.
...
The change list that introduced this code was created at the same
time as the one that introduced the Utils.setSystemLocale method
and didn't use it yet. Fix this.
Change-Id: Ifdd2ad9f7dbb7f300bc255bc2e035ae893a9d410
2011-04-27 17:10:18 +09:00
Jean Chalard
4250eb27f5
Create a dictionary collection and a dictionary factory.
...
The dictionary collection is a class complying to the Dictionary
interface that acts as a front end to a collection of arbitrarily many
dictionaries of any type.
The dictionary factory is a helper class for creating various
dictionaries and get some meta information about them.
At the same time, this change makes the BinaryDictionary class
not a singleton any more.
This also needs I9afe61a9 to not break the build.
Change-Id: I61fdcc4867fcda18342807bf1865e6e46979e5d5
2011-04-27 17:06:20 +09:00
Jean Chalard
fd78781ced
Merge "Add a method to set the locale to Utils."
2011-04-27 00:42:24 -07:00
Tadashi G. Takaoka
e4181036f6
Enable long press caps lock
...
Bug: 3319295
Change-Id: I413062c759a1d91c66fcbf5dd04050dfbf15094f
2011-04-27 16:34:13 +09:00
Jean Chalard
309bff562f
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
2011-04-27 16:11:34 +09:00
Tadashi G. Takaoka
dbe882ac08
Merge "Release caps lock by double tap on shift key"
2011-04-26 23:57:57 -07:00
satok
bc475dc297
Merge "Handle overflow properly in multiplyRate"
2011-04-26 23:55:13 -07:00
Tadashi G. Takaoka
e541f03286
Release caps lock by double tap on shift key
...
Bug: 3319295
Change-Id: Ie0cad06c7b1afac0f33af76128303517e9e7bddc
2011-04-27 15:52:56 +09:00
Tadashi G. Takaoka
b880ccc3bd
Merge "Fix quotation marks"
2011-04-26 23:47:15 -07:00
Tadashi G. Takaoka
717cef79ea
Fix quotation marks
...
This change
* Allows snap back from symbols shifted to symbol layout.
* Add "left single", "right single", "single low" and "single high
reversed" quotation marks to popup characters of "single quote".
* Add "double low" and "double high reversed" quatation marks to popup
characters of "double quote".
* Add "prime" and "double prime" to popup characters of "degree".
* Disable non-ASCII key of symbol more layout on passowrd input.
Bug: 4345054
Bug: 4347045
Change-Id: I8168ce6a74a9536e4966f7f9d1099ac0132925c7
2011-04-27 15:21:06 +09:00
Tadashi G. Takaoka
a6581a2043
Merge "Shorter timeout to update auto caps state (100ms)"
2011-04-26 20:28:28 -07:00
Eric Fischer
837432d4e2
Import revised translations.
...
Change-Id: I71334fc9054623b29cf42188f259712f1619abf2
2011-04-26 16:09:00 -07:00
satok
b2e5e5937c
Handle overflow properly in multiplyRate
...
Bug: 3401513
Change-Id: I8dd2523caa58bb51c378a01e160a58f9106ce9b8
2011-04-26 22:03:26 +09:00
Tadashi G. Takaoka
a7a659ab0f
Shorter timeout to update auto caps state (100ms)
...
Bug: 4319726
Change-Id: I068279ddfbb79dfebb6ab845d97cccd62d9e052a
2011-04-26 20:10:54 +09:00
satok
663d4f5cc1
Merge "Fix getMiddleDisplayLanguage"
2011-04-26 01:54:12 -07:00
Jean Chalard
0c8d5ca023
Fix Eclipse warnings.
...
This change is only there to fix warning issued by Eclipse.
It should have absolutely no impact on the program logic.
Change-Id: Ie0e242ac6c167297d33de19902340b0f6ecae9e1
2011-04-26 16:39:45 +09:00
Jean Chalard
4556de4b45
Do not use contacts for bigram prediction.
...
bug: 4346034
Change-Id: Ibc3c27ca92ed61f1f689df3e90e2eb60fa0cbd33
2011-04-26 15:26:51 +09:00
satok
12e07767a1
Fix getMiddleDisplayLanguage
...
Change-Id: Ia73d74b122069197ac471879e5f1cee34f31b182
2011-04-26 12:15:21 +09:00
satok
1123bcaf2e
Merge "Display the language name on the spacebar if the full display locale name is too longer than the space bar"
2011-04-25 06:21:08 -07:00
satok
cae6b1060e
Display the language name on the spacebar if the full display locale name is too longer than the space bar
...
Bug: 4329512
Change-Id: I477684747bf9e70a6909c25877fbe9e622571fd4
2011-04-25 22:12:52 +09:00
satok
efb32f7e95
Merge "Refresh the dictionary when the language settings were changed on Dogfood keyboard"
2011-04-25 05:57:44 -07:00
satok
97f855ba45
Refresh the dictionary when the language settings were changed on Dogfood keyboard
...
Bug: 4339319
Change-Id: Id6361927f579797932c465988f6728191748f143
2011-04-25 20:30:54 +09:00
Tadashi G. Takaoka
4c82225ad6
Disable sliding language switch on phone and number layout
...
Bug: 4331621
Change-Id: Id02c64bb2724a5f990d6dcc548a8d98a1034d531
2011-04-25 19:36:50 +09:00
Eric Fischer
9d4aadbe24
Merge "Import revised translations."
2011-04-22 12:30:32 -07:00
Eric Fischer
3722bb9b48
Import revised translations.
...
Change-Id: I4944120cd4a15f643f7c1619524dde8147fab0a3
2011-04-22 12:20:20 -07:00
Tadashi G. Takaoka
d0f3f90789
Narrower the language switch threshold to key width x 1.25
...
Change-Id: I4ea9553bce34bc3783f03d1615c34b6abb153077
2011-04-22 23:21:05 +09:00
Tadashi G. Takaoka
19576c33cd
Merge "Release the previous key if multi touch input is started"
2011-04-22 05:33:38 -07:00
Tadashi G. Takaoka
608469c5ab
Release the previous key if multi touch input is started
...
Change-Id: Ib1205e67e900353976150e5ad58abfc92c3dfc21
2011-04-22 21:31:22 +09:00
satok
c06e65b3f6
Merge "Fix arabic layout for phone"
2011-04-22 05:28:30 -07:00
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
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
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
Tadashi G. Takaoka
bc91d89473
Merge "Remove mPreviousKey in PointerTracker"
2011-04-19 02:30:09 -07:00
Tadashi G. Takaoka
d2c2b4d112
Remove mPreviousKey in PointerTracker
...
This change also introduces PointerTracker.onLongPressed.
Change-Id: I079eb52175d8fe8b88ce3f13e31493d34d00ad5e
2011-04-19 17:35:11 +09:00
satok
e0f35042a5
Merge "Show all languages supported in LatinImeGoogle in InputLanguageSelection"
2011-04-18 19:29:46 -07:00
satok
88808fcdd4
Show all languages supported in LatinImeGoogle in InputLanguageSelection
...
Bug: 4311203
Change-Id: I7a94e9697758cb79743c026e7f1c023f618a9aa1
2011-04-18 20:28:36 +09:00
Tadashi G. Takaoka
7751ac3bdb
Merge "Refactor key preview related code in KeyboardView"
2011-04-18 03:52:07 -07:00
satok
bc3dba451a
A fix for handling dummy voice subtypes
...
Change-Id: I75d4d1625e0925d01ae84c9577e15087d83e4191
2011-04-18 19:32:40 +09:00
Tadashi G. Takaoka
3f2653ba60
Refactor key preview related code in KeyboardView
...
Change-Id: Ib8f08cb4f5e03d0c32c32a0ea0363ce3d72fc050
2011-04-18 17:00:58 +09:00
Jean Chalard
a0efebf304
Merge "Allow use of assets for data in the dictionary content provider."
2011-04-17 18:50:51 -07:00
Eric Fischer
73544aded7
Import revised translations.
...
Change-Id: Icdf10a328353d201b5751ac7f21f2fb7a64b3daa
2011-04-15 14:46:55 -07:00
Tadashi G. Takaoka
8cd0acba6d
Merge "Don't show spacebar preview if key preview is disabled"
2011-04-15 07:24:19 -07:00
Tadashi G. Takaoka
6fb97bf71c
Don't show spacebar preview if key preview is disabled
...
This change also introduces soft reference cache of spacebar Drawable.
Bug: 4307333
Change-Id: I4d2c500bb47d794aa4f8dfa6ec415dbcb9ab0b74
2011-04-15 23:22:48 +09:00
satok
4f6e646352
Merge "Add a value for the screen metrics"
2011-04-15 04:06:22 -07:00
Tadashi G. Takaoka
dc90d0a15f
Refactoring keyboard drawing code and KeyDetector
...
Change-Id: I55009bf38b1422301223bd90463f837562559dc5
2011-04-15 18:35:08 +09:00
Tadashi G. Takaoka
ffca763050
Merge "Fix French mini keyboard keys precedence"
2011-04-15 02:21:07 -07:00
Tadashi G. Takaoka
5d542c2492
Auto mini keyboard layout
...
Bug: 4280617
Change-Id: I34c344cbf350fe125589aa14ad69e4bd1f4e6f66
2011-04-15 18:19:31 +09:00
Jean Chalard
4e3bd58b86
Allow use of assets for data in the dictionary content provider.
...
This update is necessary to allow dictionary content providers to use
assets, which are part of their apk, as data to pass to the keyboard.
Using plain file descriptors doesn't allow for sections of files to
be correctly used.
Change-Id: Ia94c26d6387bce61c73d38f5c2821f20e50e54d4
2011-04-15 17:38:24 +09:00
satok
16e9edfb14
Add a value for the screen metrics
...
Change-Id: I4d221e19b495e865a6714854c4addfaeddeb4e18
2011-04-15 16:55:07 +09:00
Tadashi G. Takaoka
72a82d7ee8
Count up horizontal gap as part of key width
...
Change-Id: Ic9a070a9b6a461f4c8330d1cc3e2c33fd7369f73
2011-04-15 09:54:39 +09:00
Jean Chalard
646d950ed8
Receive a broadcast that the dictionary has been updated.
...
Change-Id: I9751cc627a835a4061f144c48ff51e9d81b2c93b
2011-04-14 20:52:25 +09:00
Tadashi G. Takaoka
7c83293686
Merge "Fix 1st suggestion text alignment"
2011-04-14 02:13:19 -07:00
Tadashi G. Takaoka
d4f14d07fa
Fix 1st suggestion text alignment
...
Change-Id: I530de62b7cf088cff01c98a8a47d75393e8725b2
2011-04-14 17:59:25 +09:00
Tadashi G. Takaoka
e4b2d22636
Merge "Make showing key preview compatible with pre-Honeycomb"
2011-04-14 01:56:15 -07:00
Tadashi G. Takaoka
37cfacbae6
Make showing key preview compatible with pre-Honeycomb
...
Bug: 4179964
Change-Id: Ide0a9c75983b45f8e829f0d64f41557d42fc11e7
2011-04-14 17:43:25 +09:00
satok
6d9021527a
Fix for language bar switching
...
Change-Id: Id3974642b62b012968c537eff7c1a7ee37e2def2
2011-04-14 12:34:48 +09:00
Tadashi G. Takaoka
dc3d4e8c06
Merge "Fast key preview"
2011-04-13 03:12:06 -07:00
Tadashi G. Takaoka
7a3d3ae17f
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
2011-04-13 18:59:33 +09:00
Tadashi G. Takaoka
772eef03e7
Fix French mini keyboard keys precedence
...
Bug: 4280617
Change-Id: Ic4af5260a9fb8b2bf83ad6135069079266a96aa9
2011-04-13 17:56:48 +09:00
satok
a6abb1f87c
Merge "Support language bar swich for InputMethodSubtype"
2011-04-13 01:39:47 -07:00
satok
88fc9d4418
Support language bar swich for InputMethodSubtype
...
Change-Id: Ie49f0c1c7aea135331dc1d4a635197b3f4a96e93
2011-04-13 17:05:24 +09:00
Tadashi G. Takaoka
740be4493a
Fix Arabic mini keyboard precedence
...
Change-Id: I73e9e8bb243ae89944bf346885529fc3dd6df226
2011-04-13 15:04:29 +09:00
satok
09df2a5bf4
Merge "Remove voice subtypes"
2011-04-12 20:16:46 -07:00
satok
b435a6ddca
Remove voice subtypes
...
Bug: 4176028
Change-Id: Icbd699370051c377da281016df3c363f8544a788
2011-04-13 10:41:50 +09:00
Ken Wakasa
33fa046fe3
Additional tweak of gaps for delete/shift keys
...
bug: 4269094
Change-Id: I62c5b80276d743f86dcf2f3eb5cdc6d7aa519024
2011-04-12 19:07:14 +09:00
Eric Fischer
b73ab9f2df
Import revised translations.
...
Change-Id: Id2c4aac29ce82298a3c3d64540592932767f1e45
2011-04-11 14:30:01 -07:00
Tadashi G. Takaoka
689e7e907b
Add Arabic keyboard to phone
...
Change-Id: I60c312fe9dc383a8048b46d9b54eee535c515aaa
2011-04-11 14:16:02 +09:00
Tadashi G. Takaoka
56abeabced
Add visualInsetsLeft and Right as Key attribute
...
Bug: 4269094
Change-Id: Ic38d326a8e9ef802453c909f3a81d556863acc9b
2011-04-11 12:13:38 +09:00
Tadashi G. Takaoka
a8c163f262
Fix suggestion strip layout
...
This change also removes unused drawable and xml resources.
Bug: 4181825
Change-Id: Ia723376bc5d40900a513df62e89cdfe35b2c859f
2011-04-08 20:03:57 +09:00
Tadashi G. Takaoka
82730b0e09
Merge "Remove redandant key from popup mini keyboard which has settings key"
2011-04-08 02:43:26 -07:00
Jean Chalard
a944574967
Merge "Reinforce user-history based bigram use."
2011-04-08 02:14:06 -07:00
Tadashi G. Takaoka
1844ee7cf8
Remove redandant key from popup mini keyboard which has settings key
...
Bug: 4196879
Change-Id: If0ed5cace2d4d0c1f0e225e1003d54c055690387
2011-04-08 18:03:23 +09:00
Tadashi G. Takaoka
2c389c5b9e
Merge "Increase the horizontal gap between shift/delete and normal keys"
2011-04-08 02:00:59 -07:00
Tadashi G. Takaoka
b428e8cc9e
Merge "Disable popup preview and long press on disabled key"
2011-04-08 02:00:09 -07:00
Tadashi G. Takaoka
967d6073bf
Disable popup preview and long press on disabled key
...
Bug: 4268147
Change-Id: Ibcb54791ef78737dd09d8a594b5a53b0909609d6
2011-04-08 17:14:12 +09:00
Tadashi G. Takaoka
6d81e2b79b
Increase the horizontal gap between shift/delete and normal keys
...
This change also adds capability to add horizontal padding to the
keyboard.
Bug: 4269094
Change-Id: I805e76b253a497079517c01bd2a976f8702f7e56
2011-04-08 16:43:01 +09:00
satok
299e366bcf
Shrink sym_keyboard_voice_off_holo for phone
...
Bug: 4225070
Change-Id: Ic61c3c0263158ed3429553b134f13e8e94f5f5b7
2011-04-08 16:39:25 +09:00
satok
b5d17e52fc
Add logOnSeparator
...
This is a supplement for I9abb8141f23100d
Change-Id: I529d2a78f4fe630611db4cba830d933370c8c34f
2011-04-08 15:24:55 +09:00
Tadashi G. Takaoka
50cce07f59
Merge "Remove "settings" key popup from "slash" and "atmark" key"
2011-04-07 21:43:28 -07:00
Tadashi G. Takaoka
cf4eff3f59
Remove "settings" key popup from "slash" and "atmark" key
...
Removing "settings" key popup from these keys when there's a dedicated
"settings" key in the layout.
This is followup chnage of I119528c0.
Bug: 4196879
Change-Id: I742cc6d1d890c095610f1e8b9ac91a044ec540b7
2011-04-08 10:27:51 +09:00
Eric Fischer
2e4a15bf60
Merge "Import revised translations."
2011-04-07 14:07:55 -07:00
Eric Fischer
85427b3d8e
Import revised translations.
...
Change-Id: I8c2fb2177e47ad50cf0ae1a191d2b8b4186c0700
2011-04-07 13:59:50 -07:00
Tadashi G. Takaoka
e7c0e73a19
Simplify the Key's on state transition
...
Because handling shift locked state of alphabet keyboard is done by
KeyboardSwitcher, there is no need to change the "on" state of Key
when releasing the key. On the other hand, symbol and symbol shifted
keyboard has fixed "on" state "ALT/MORE" key.
This change also renames the attribute "isModifier" to "isFunctional".
Change-Id: I082885bd2376ae26bdfc378c14add2b5d6be1d4e
2011-04-07 20:28:46 +09:00
Tadashi G. Takaoka
73edb40154
Merge "Disable successive modifier key while sliding input"
2011-04-07 04:26:14 -07:00
Tadashi G. Takaoka
996db15d3c
Disable successive modifier key while sliding input
...
When user starts sliding key input, sliding through successive
modifier key will be ignored.
Bug: 4181843
Depends: I082885bd2376ae26bdfc378c14add2b5d6be1d4e
Change-Id: Ibe890b9cc1183dbe9f68a421650fcd97e7ff221c
2011-04-07 20:17:27 +09:00
Tadashi G. Takaoka
494926fc2b
Remove "settings key" popup from "comma key"
...
Bug: 4196879
Change-Id: I119528c03526b47a1398d9efc2aa307eb0c07ffe
2011-04-07 17:49:49 +09:00
Tadashi G. Takaoka
da4bfbbbb3
Fix popup key preview on tablet
...
This change temporally enable popup key preview option on
tablet. (config_enable_show_popup_on_keypress_option).
Bug: 3286117
Change-Id: Iabbac5a333460e1ed2f8d05ba82f4bae81854b85
2011-04-07 15:56:16 +09:00
Eric Fischer
fa62894c4b
Import revised translations. DO NOT MERGE
...
Change-Id: Ica512df634b9152aac5bcd5f15d783110724fd7d
2011-04-06 13:51:45 -07:00
Jean Chalard
3e23682862
Reinforce user-history based bigram use.
...
- Have user-history based bigrams used as soon as they are entered,
not after 6 times.
- Limit bigram frequency to 255 (this limits the multiplier to 1.8, and
has no effect on main dict bigrams which already have this limit)
- Some TODO resolving
bug: 4192129
Change-Id: I4777f1a58c43dd55381c4b01252d722ab3a70547
2011-04-06 12:26:01 +09:00
satok
fd58877d4f
Merge "Add settings for theme, userfeedback and other settings (temporary)"
2011-04-01 03:53:26 -07:00
satok
8f9b86fec5
Add settings for theme, userfeedback and other settings (temporary)
...
Change-Id: I063c48dbf021f5608c241a3543aa2628b5faaa40
2011-04-01 19:48:17 +09:00
satok
bbd377628a
Merge "Revert all hdpi assets to gingerbread"
2011-04-01 01:45:24 -07:00
satok
eee03627ce
Revert all hdpi assets to gingerbread
...
Bug: 4196962
- all hdpi assets are blurred.
Change-Id: I4a589f99ead2b8db96f03c19771f083306276e61
2011-04-01 17:44:48 +09:00
satok
44783b6965
Merge "Enable VoiceInput even if there is no shortcut subtype supported"
2011-04-01 00:35:57 -07:00
satok
7429009838
Enable VoiceInput even if there is no shortcut subtype supported
...
Change-Id: I1d455348f56d73ecb942f22c2bbd03f240b489a6
2011-04-01 16:12:06 +09:00
satok
6f18a1fbcc
Disable Recorrection when APIs are not supported.
...
Change-Id: I3b8fdc149d350215fd4852a50456824fe3fabe0b
2011-04-01 16:09:06 +09:00
Eric Fischer
97c916a684
Import revised translations. DO NOT MERGE
...
Change-Id: I9c0ccba49ec84860ad5390d4c5f878a48f873cfe
2011-03-29 12:01:28 -07:00
satok
cf383a8175
Fix a NPE in InputMethodManagerCompatWrapper
...
Change-Id: Ia7c9b7135ba38a8df29464f7776b51d412f71acb
2011-03-25 20:01:24 -07:00
satok
9115dd2723
Fix some compat bugs and add VoiceInputLoggerCompatUtils
...
Change-Id: I54ed0853ed4423704a300977d7880678e066a6fb
2011-03-25 18:38:20 -07:00
satok
f1a81f5eb3
Move a debug utility function to EditorInfoCompatUtils
...
- imeOptionName
Change-Id: I7a7ea9bee410cedc0ef9b3d2aa4df8260d7f6a35
2011-03-25 12:56:57 -07:00
satok
e9957752bc
Added InputTypeCompatUtils
...
Also Moved utilities related to InputType to InputTypeCompatUtils
Change-Id: Iab8ff5389f624f2abe627ece2acb156b0e1285ef
2011-03-25 00:46:40 -07:00
satok
b2707856ab
Added InputConnectionCompatUtils and EditorInfoCompatUtils
...
Change-Id: Ie69d5e90c4ee978d3ecb40b68e6466082569ca7a
2011-03-24 22:57:58 -07:00
satok
5a41db8814
Merge "Moved a functionality of setOverScrollMode to InputMethodServiceCompatWrapper"
2011-03-24 22:41:04 -07:00
satok
a3ef6cde21
Moved a functionality of setOverScrollMode to InputMethodServiceCompatWrapper
...
Change-Id: Ie473c9fced9f0a8da5643390b44aa4b86128396d
2011-03-24 22:02:21 -07:00
satok
01829b8847
Merge "Added VibratorCompatWrapper"
2011-03-24 21:49:00 -07:00
satok
f000bdc696
Merge "Moved a functionality of setting touchableRegion to InputMethodServiceCompatWrapper."
2011-03-24 21:28:25 -07:00
satok
699e429f19
Added VibratorCompatWrapper
...
Change-Id: I7640f051873f42aa15337edc718ac95ec1c51698
2011-03-24 21:25:22 -07:00
satok
1ddf2a1808
Merge "Added InputMethodInfoCompatWrapper"
2011-03-24 21:03:17 -07:00
satok
5cbc984ce1
Merge "Renamed Proxy classes"
2011-03-24 21:01:34 -07:00
satok
b86905943c
Renamed Proxy classes
...
- VoiceConnector to VoiceProxy
- VoiceInputConnector to VoiceInputWrapper
- VoiceLoggerConnector to VoiceLoggerWrapper
Change-Id: I908ddc590c8846cf5cbd80b9c0257cb65c638bde
2011-03-24 17:50:19 -07:00
satok
24119dfd41
Moved a functionality of setting touchableRegion to InputMethodServiceCompatWrapper.
...
Change-Id: I8b9fe507885ef5ae7cb09db93a977e23b1bbd0db
2011-03-24 13:27:45 -07:00
satok
2e36fb68d0
Added InputMethodInfoCompatWrapper
...
Change-Id: I5f2970e986afbe3b0b24ccf819f57f524e83ef3f
2011-03-24 12:24:50 -07:00
Jean Chalard
9107d98290
Add comments and basic reformatting for new files.
...
Ic4df2a9a introduced new keyboard layouts for Hebrew and Arabic.
This change adds a comment to them alongside with trailing
whitespace suppression.
This change explicitly limits its scope to files introduced by
Ic4df2a9a. It replaces I48927626 which has been deemed too reckless.
Change-Id: Id6b0e47f0623ead0b4e42e57dae359231a2b97fc
2011-03-24 00:32:10 -07:00
Jean Chalard
b916fab196
Merge "Add a first version of Hebrew and Arabic keyboard."
2011-03-23 22:36:42 -07:00
Jean Chalard
e50add1fbd
Add a first version of Hebrew and Arabic keyboard.
...
The Arabic keyboard is more or less based on PC keyboard and other
sources. It has no means to input diacritics at the moment.
Some data for the Hebrew keyboard was already there, but not used.
This change splits phone and tablet layout and consolidates the
tablet one to something that seems sensible. It can't input diacritics
either at the moment.
Other shortcomings affect those keyboards. For example, normal
Hebrew keyboards switch to capital QWERTY keyboard with shift on,
as there are no capital Hebrew characters, but this version does not
feature this.
It should be mostly possible already to enter Arabic or Hebrew with
these keyboards however.
Change-Id: Ic4df2a9a77ffd03c4f9ee2c47e03c0f43f8e48ae
2011-03-23 22:31:40 -07:00
Jean Chalard
525028c897
Merge "Remove a useless variable."
2011-03-23 22:14:19 -07:00
satok
6dd7778d22
Fix a bug that Voice IME is not triggered properly.
...
Background:
Both SubtypeSwitcher and VoiceConnector have an instance of VoiceInput.
And VoiceConnector has a responsivity for setting VoiceInput to SubtypeSwitcher.
But in case that VoiceInputConnector already has an instance of VoiceInput
VoiceInputConnector doesn't set VoiceInput to SubtypeSwitcher.
Change-Id: I42d0220e7d84a08e03f143213cc6eff87e7e79a6
2011-03-23 13:05:06 -07:00
Jean Chalard
4fc18095f5
Remove a useless variable.
...
Change-Id: Ifec283fcd397f7f42933220f19a807879ef6195e
2011-03-23 11:17:18 -07:00
satok
10dd34de0f
Add InputMethodServiceCompatWrapper for moving the callback from LatinIME.
...
Change-Id: If6b0180c63738e5e78a20fe5b938ef50d62865d6
2011-03-23 01:12:27 -07:00
Eric Fischer
f75f9c5303
Import revised translations. DO NOT MERGE
...
Change-Id: Icac4b15118a9a49cac6d0c70e5783e64fa430782
2011-03-22 13:40:31 -07:00
satok
610f1dc855
Use reflections for classes related to InputMethodSubtype
...
Change-Id: Ica53ce879c2b4c5eb47f757fb788a795a881c30e
2011-03-18 22:49:57 -07:00
Jean Chalard
0a7cf81ca2
Merge "Add different ways of reading the dictionary file."
2011-03-18 12:19:00 -07:00
Jean Chalard
cba93f50c3
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
2011-03-18 12:16:50 -07:00
satok
da4236fb51
Merge "Added CompatUtils for starting a language selector"
2011-03-17 20:36:42 -07:00
satok
2cff4d7e4a
Added CompatUtils for starting a language selector
...
Change-Id: I158414efaff43d0c6abe1f9af83ed3425992dfb9
2011-03-18 12:33:04 +09:00
Eric Fischer
76c2ff2154
Import revised translations.
...
Change-Id: I02fb673c7b4f180fb60c5cb869c458b65820781a
2011-03-17 16:56:28 -07:00
satok
9807ab27ea
(Refactor 1) Moved voice related codes to deprecated/voice
...
Change-Id: I008ac7099c815fb74a9ab374419617b336453f97
2011-03-16 23:00:59 -07:00
Tadashi G. Takaoka
071f47140c
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
2011-03-16 19:46:19 -07:00
Eric Fischer
88adb7d4a9
Import revised translations. DO NOT MERGE
...
Change-Id: Ieb00b75f2eb2f9a85e11c1694d42d2ee449e29e0
2011-03-16 17:02:12 -07:00
Tadashi G. Takaoka
e7a2512aa3
Add Utils.equalsIgnoreCase methods
...
This change also corrects usage of "frequency", "priority" and "score"
* Frequency is the relative probability in dictionary.
* Score is the relative probability in suggestions.
* Priority is kind a sorted score.
Change-Id: Iafb135a4ecdb401cc505014a07c74dfcac44d699
2011-03-16 16:03:05 -07:00
Jean Chalard
027992afdc
am d631651b: Avoid the removal of high-ranking exactly typed candidates.
...
* commit 'd631651b1291aef52bdd6ea7caaf9b95c9704506':
Avoid the removal of high-ranking exactly typed candidates.
2011-03-15 23:54:31 -07:00
Jean Chalard
d631651b12
Avoid the removal of high-ranking exactly typed candidates.
...
It used to be the case that the scoring system turns up the same word
that was entered with a different capitalization, but with a lower
score than some other, more frequent word. To cope with this, there
was code that would order such candidates in the first slot no matter
what. This processing is now useless because fully matching words now
have a huge boost that ensures they will get to the top of the list,
before any non-fully matching word (which means, differing only by
capitalization or accents).
The bug that did happen with this was, if a fully-matching word got
matched by several processing passes, and the (chronologically) later
score affected to this word was weaker, it would result in the
duplicate removal pass removing the stronger score. This in turn would
mess with autocorrect.
In an effort to keep the risk at a minimum for MR1, this change does
not actually remove the useless code, but adds a check in the odd case
to avoid the bad situation. Another change will remove the code for
ICS release.
bug: 4100269
Change-Id: I18c0575332981ffec0e257e26a360995838d521e
2011-03-15 21:12:38 -07:00
Eric Fischer
c0471c43fb
Import revised translations. DO NOT MERGE
...
Change-Id: I6eaad0ee53243ae5eece9bc6f8013eb77472e988
2011-03-15 14:49:18 -07:00
Eric Fischer
9eb7e2c37f
Import revised translations.
...
Change-Id: Idc65c5944dcfa576ee50facb6b1f82e2a7d7186f
2011-03-15 10:48:11 -07:00
Eric Fischer
9db8d06418
Import revised translations. DO NOT MERGE
...
Change-Id: I660c6bc3b40072e209fe31c3c86ad11ce7928a71
2011-03-10 11:28:07 -08:00
Tadashi G. Takaoka
33e8124cf4
am 6a75cd12: Add alphabet hint to number password layout
...
* commit '6a75cd124d885df1b257d63c9c2b0561a9b09b84':
Add alphabet hint to number password layout
2011-03-09 10:07:46 -08:00
Tadashi G. Takaoka
56d54381de
am ab0ee37f: Disable debug flag in TextEntryState
...
* commit 'ab0ee37f52b87756c6d91aecd508fda821aeb4b6':
Disable debug flag in TextEntryState
2011-03-08 18:41:24 -08:00
Tadashi G. Takaoka
6a75cd124d
Add alphabet hint to number password layout
...
Bug: 4063047
Change-Id: I53e79edcb15d4da73a72d14a38224e80b612c115
2011-03-08 18:02:18 -08:00
Tadashi G. Takaoka
ab0ee37f52
Disable debug flag in TextEntryState
...
Bug: 4051276
Change-Id: I980c0dfefdf3ae70935aca9755a55d1c925a23f9
2011-03-08 12:11:47 -08:00
satok
b34c74abb1
am b55fcea6: Merge "Add whitelist dictionary" into honeycomb-mr1
...
* commit 'b55fcea6fc23bf44966ffb278d976c54995be72e':
Add whitelist dictionary
2011-03-07 22:50:07 -08:00
satok
bcfce3b3b9
Add whitelist dictionary
...
Bug: 3447571
Change-Id: I538e4e706982129b666ca1ab1085f1b68b69f87f
2011-03-08 11:29:10 +09:00
Eric Fischer
d7e2bc335d
Import revised translations. DO NOT MERGE
...
Change-Id: I2d90d6842d8572db68b3034917fa45e642c7f123
2011-03-07 13:03:14 -08:00
Jean Chalard
8867737adf
am eaecb56f: Merge "Demote skipped characters matched words with respect to length." into honeycomb-mr1
...
* commit 'eaecb56f948a4979e72346f6c5c64b56f7bc7bbf':
Demote skipped characters matched words with respect to length.
2011-03-04 22:46:13 -08:00
Jean Chalard
eaecb56f94
Merge "Demote skipped characters matched words with respect to length." into honeycomb-mr1
2011-03-04 22:43:16 -08:00
satok
a7dfbf8409
am f9a5bfa1: Merge "Add the suggestion algorithm of words with space proximity" into honeycomb-mr1
...
* commit 'f9a5bfa147b07f135e8da6f9b7305c31181fa5eb':
Add the suggestion algorithm of words with space proximity
2011-03-04 22:27:28 -08:00
Ken Wakasa
107e876757
am 5ac85462: Merge "Fix a NPE caused by a null typedWord" into honeycomb-mr1
...
* commit '5ac8546268a3c3cd2f523d086043d6200c553fa7':
Fix a NPE caused by a null typedWord
2011-03-04 22:24:22 -08:00
satok
f9a5bfa147
Merge "Add the suggestion algorithm of words with space proximity" into honeycomb-mr1
2011-03-04 22:24:05 -08:00
Ken Wakasa
5ac8546268
Merge "Fix a NPE caused by a null typedWord" into honeycomb-mr1
2011-03-04 22:14:24 -08:00
satok
817e517e46
Add the suggestion algorithm of words with space proximity
...
Bug: 3311719
Change-Id: Ide12a4a6280103c092fa0f563dd5b9e3f7f5c89b
2011-03-04 20:37:18 -08:00
Jean Chalard
07a8406bc1
Demote skipped characters matched words with respect to length.
...
Words that matched user input with skipped characters used to be demoted
in BinaryDictionary by a constant factor and not at all in those dictionaries
implemented in java code. To represent the fact that the impact of a skipped
character gets larger as the word is shorter, this change will implement a
demotion that gets larger as the typed word is shorter. The demotion rate
is (n - 2) / (n - 1) where n is the length of the typed word for n >= 2.
It implements it for both BinaryDictionary and java dictionaries.
Bug: 3340731
Change-Id: I3a18be80a9708981d56a950dc25fe08f018b5b89
2011-03-05 13:20:19 +09:00
Ken Wakasa
baf263caf4
Fix a NPE caused by a null typedWord
...
bug: 3514797
Change-Id: Ie1056745ded1f848d1e4f70c5344d6969de509b0
2011-03-05 12:50:58 +09:00
Eric Fischer
a549101f3a
Import revised translations. DO NOT MERGE
...
Change-Id: Icc96e318e240e58b07ec52e64fb640b3bc9f6443
2011-03-04 13:48:59 -08:00
Tadashi G. Takaoka
d90be6c921
Fix unit test helper
...
Change-Id: I161b451404bbecb30d8e229004786b9e9882e41c
2011-03-03 23:06:45 -08:00
Tadashi G. Takaoka
d628e72958
Merge "Cleanup Suggest to be able to be unit test ready" into honeycomb-mr1
2011-03-03 19:27:38 -08:00
Tadashi G. Takaoka
c2c44f94e7
Cleanup Suggest to be able to be unit test ready
...
Bug: 3414081
Change-Id: Ia76afac4b1a61b8953a215b7cbdb7557736f7b9c
2011-03-03 19:18:03 -08:00
Eric Fischer
50a4cb403f
Remove unneeded large-screen-specific translations.
...
Change-Id: Ia583ff3a4674dab1a2dc5cad7d7166ec9311585a
2011-03-03 15:50:53 -08:00
satok
dca305dd71
Merge "Move the auto correction functionalities to AutoCorrection.java"
2011-03-03 02:58:06 -08:00
satok
9f67e12a0e
Move the auto correction functionalities to AutoCorrection.java
...
- Also removed a quick fix for 2nd or more suggestions.
Change-Id: I7bf46a9cd6a727473e68836954fca160c9d853e6
2011-03-03 19:51:10 +09:00
Tadashi G. Takaoka
4503e2ea98
Hide shortcut key when the shortcut IME is not enabled
...
Bug: 3398726
Change-Id: I5e1bfc1fec9047c1c4e4f29fbf79f0fdf9356ffb
2011-03-03 01:18:08 -08:00
Tadashi G. Takaoka
424f6ec2bc
Continue swapping sentence separator and space
...
Bug: 3504990
Change-Id: I3de44e9d9adb0bcafa2e59685c4cdc257716b1d6
2011-03-02 22:26:44 -08:00
Tadashi G. Takaoka
662bb7c26c
Refactor TextEntryState not to use enum
...
Bug: 3504990
Change-Id: Id1ae9715d9f9ba99702e4cd5c243026a84d6861d
2011-03-02 22:11:52 -08:00
Tadashi G. Takaoka
1eff7d77c8
Remove mIsApplicationSpecifiedCompletions flags from SuggestedWords
...
Bug: 3504990
Change-Id: Ib7588ab05fa8b8ab58bf3bea6ff1f644c53ebb94
2011-03-02 22:03:29 -08:00
Jean Chalard
c2bbc6a449
Use translation of fallback umlauts digraphs for German.
...
For German : handle "ae", "oe" and "ue" to be alternate forms for
umlaut-bearing versions of "a", "o" and "u".
Issue: 3275926
Change-Id: I056c707cdacc464ceab63be56c016c7f8439196c
2011-03-03 11:52:23 +09:00
Tadashi G. Takaoka
e59491460b
Remain in previous state while sliding off from shift key
...
Bug: 3502290
Change-Id: I69b60051863c78727363ae63576c28d87fb71a3a
2011-03-02 14:59:39 -08:00
Tadashi G. Takaoka
6f99d12b07
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
2011-03-02 11:14:04 -08:00
Tadashi G. Takaoka
8bf93c4ba5
Merge "Introduce timeout for "." shortcut"
2011-03-01 23:59:14 -08:00
Tadashi G. Takaoka
fc20f2198d
Introduce timeout for "." shortcut
...
Bug: 3294239
Change-Id: I1832be8b54cd4d55cd504a3e1e0434aa284f9592
2011-03-01 23:57:51 -08:00
Ken Wakasa
7e99a28dfc
Clear suggestion strip when the suggestion starts
...
bug: 3488704
bug: 3480132
Change-Id: Ie895d2ad1b58dc65fe16d65baa6fccafd4a142bb
2011-03-02 16:40:08 +09:00
Tadashi G. Takaoka
db241a1038
Update assets from designer-git repository
...
This new assets has revised alpha value.
Bug: 3451586
Change-Id: I8485044263b92111d882c4f88ca6a0e92c82f0ed
2011-03-01 17:41:59 -08:00
Ken Wakasa
7ec48741e4
Merge "Fix null token error"
2011-03-01 14:27:12 -08:00
Ken Wakasa
18e15a1e5e
Fix null token error
...
bug: 3499746
Change-Id: I76bd745b0623f4736c6b0aaf0ab42fd4b7c4f349
2011-03-02 07:20:27 +09:00
Tadashi G. Takaoka
ee327ad0de
Merge "Import new assets from designer-git repository"
2011-03-01 14:03:42 -08:00
Tadashi G. Takaoka
8ba2ceea68
Merge "Add "apostrophe" key to symbol keyboard of url mode"
2011-03-01 13:58:24 -08:00
Tadashi G. Takaoka
b9038eb841
Import new assets from designer-git repository
...
Change-Id: Ie07dc956ea5c40b760d511976e42f847f0f68f9f
2011-03-01 13:44:48 -08:00
Tadashi G. Takaoka
dd0ac4a58d
Add "apostrophe" key to symbol keyboard of url mode
...
Bug: 3491087
Change-Id: I4fa339e66c958a54f2d28a2997861135ef94f7e6
2011-03-01 11:58:41 -08:00
Ken Wakasa
ed895634f8
Merge "Reset the suggestion status when composing span gets cleared"
2011-03-01 11:43:34 -08:00
Ken Wakasa
025a5e356e
Reset the suggestion status when composing span gets cleared
...
bug: 3353818
Change-Id: I87b80470015dbeb2eaaec9aa4d9d802597c18e19
2011-03-02 04:30:03 +09:00
Eric Fischer
acd196386e
Merge "Import revised translations."
2011-03-01 11:13:09 -08:00
Eric Fischer
19292fbff6
Import revised translations.
...
Change-Id: Ic7ae2c78e732707ef2504e82c08851fe627465b3
2011-03-01 11:03:19 -08:00
Ken Wakasa
952cb7e973
Refactor recorrection variable and method names
...
Change-Id: I3cb76e622e33985a187afe0a8928ed7b261615fd
2011-03-01 15:59:06 +09:00
Tadashi G. Takaoka
2e04770adf
Add output variables to BinaryDictionary's test entry
...
Bug: 3414081
Change-Id: I1d11710476ffadcef67b0dbfbde309e7f8344d8a
2011-02-28 17:25:38 -08:00
Tadashi G. Takaoka
6f4eba814a
Add test entry for BinaryDictionary class
...
Bug: 3414081
Change-Id: I1a3d60698795bf28c477086838e726d498fb6de0
2011-02-28 15:08:04 -08:00
Ken Wakasa
eaef1c5007
Change how to load native lib to be on the safe side
...
Change-Id: If170d4821b8dbc187f29137ea99d10e30c20955f
2011-02-25 18:21:02 +09:00
Tadashi Takaoka
52e96f1e89
Merge "Added support for speaking keys through accessibility service."
2011-02-24 17:45:44 -08:00
Tadashi G. Takaoka
20887c57a6
Force currency key to "dollar" on password input field
...
This is followup change of I660c6f50.
Bug: 3413589
Change-Id: I7684150f7c52444884fe02a27e39c6de0105b2d8
2011-02-24 18:11:48 +09:00
Tadashi G. Takaoka
0e3548788b
Merge "Dynamic currency key label"
2011-02-24 00:03:18 -08:00
Tadashi G. Takaoka
d77e968942
Merge "Add noSettingsKey private IME option"
2011-02-23 23:48:45 -08:00
Tadashi G. Takaoka
6b05d482f4
Merge "Fix AutoText enabling timing"
2011-02-23 23:47:58 -08:00
Tadashi G. Takaoka
613514252c
Dynamic currency key label
...
The currency key shows different key label depending on the coutnry
code of the keyboard, "dollar", "euro" and "pound".
Bug: 3413589
Change-Id: I660c6f5010629276df3f97d337f4493d1fbccb3f
2011-02-24 16:47:25 +09:00
Tadashi G. Takaoka
4199e29a7d
Add noSettingsKey private IME option
...
Change-Id: Idf74aa32c9ea565fa6771013e2d37ee952c83a57
2011-02-24 16:31:20 +09:00
Tadashi G. Takaoka
2702334165
Fix AutoText enabling timing
...
Bug: 3479978
Change-Id: Ic3a9e947536b1508eb2bbe45753d6f7c0e99e416
2011-02-24 16:18:24 +09:00
Jean Chalard
fdc4b08309
Merge "Allow the user to save words when there is no binary dictionary."
2011-02-23 19:18:10 -08:00
satok
10c169a44d
Merge "Add proximity info to native"
2011-02-23 18:28:14 -08:00
Jean Chalard
7f2ba16aa2
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
2011-02-24 11:20:21 +09:00
Alan Viverette
dcade18113
Added support for speaking keys through accessibility service.
...
Issue: 3366636
Change-Id: I70a2ebb4420782ba4d7d874ffc2259bb1b80446f
2011-02-23 18:16:43 -08:00
Jean Chalard
ededda059c
Merge "Treat quotes as part of the word in French."
2011-02-23 17:29:10 -08:00
satok
8fbd552292
Add proximity info to native
...
Bug: 3311719
Change-Id: Ie596304070e321ad23fb67a13bf05e2b6af1b54b
2011-02-23 23:04:00 +09:00
Jean Chalard
92e208429e
Treat quotes as part of the word in French.
...
Bug: 3397183
Change-Id: Ie634a9b0f1f7ed7cfa9f4f3aeba44b578bc7caac
2011-02-23 22:08:19 +09:00
Tadashi G. Takaoka
435711dee0
Merge "Fix privateImeOptions parsing"
2011-02-23 03:03:19 -08:00
Tadashi G. Takaoka
8efc0addce
Fix privateImeOptions parsing
...
This change deprecates "nm" private IME options and introduces new
private option, <package name>.noMicrophone, instead.
Change-Id: I9d5e3daaead2cdd42e017cd29f5f786ef3ba3649
2011-02-23 20:00:08 +09:00
Tadashi G. Takaoka
edb722abef
Merge "Add countryCode attribute to case tag of Keyboard"
2011-02-23 01:00:00 -08:00
Tadashi G. Takaoka
912ade36d2
Add countryCode attribute to case tag of Keyboard
...
Change-Id: I0480c3350a335e4cb57bba2d3484622990cd90af
2011-02-23 17:09:24 +09:00
Tadashi G. Takaoka
cb97c2f140
Refactor keyboard mode holding variables
...
Change-Id: Id8d4e780a98292fda63b1e5bbf739eda78935a3b
2011-02-23 14:17:10 +09:00
Jean Chalard
a5d5849701
Force autocorrection of matching words with different accents.
...
When entering a word without accents the user expects the system to
add accents automatically if there is no other matching word. This
patch ensures the accented version is promoted accordingly and
autocorrection really takes place.
Issue: 3400015
Change-Id: I8cd3db5bf131ec6844b26abecc1ecbd1d6269df4
2011-02-22 15:27:06 +09:00
Tadashi G. Takaoka
050c0462dc
Display language name on spacebar even in symbol keyboard.
...
Bug: 3468634
Change-Id: I1a25eb71ddbd7efae6f40ea357714924a9d56dc4
2011-02-20 21:16:49 +09:00
Tadashi G. Takaoka
4adf5d9ae5
Disable non-ASCII symbol keys in password input
...
Bug: 3384942
Change-Id: Ifa10e84f22bb6ff85dfc397fac95a0294b2a6bea
2011-02-20 18:59:25 +09:00
Tadashi G. Takaoka
a9f2fe2d59
Merge "Add "passwordInput" attribute to case tag of Keyboard"
2011-02-20 01:50:16 -08:00
Tadashi G. Takaoka
4b13b4f942
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
2011-02-20 18:46:48 +09:00
Tadashi G. Takaoka
690b1360bf
Don't play key press sound if the key is disabled
...
Change-Id: I1c6d1b16a7420bc7e5f97f50da549e6a89498f18
2011-02-20 18:14:05 +09:00
Tadashi G. Takaoka
810a9ff9d4
Merge "Revised Russian keyboard layout"
2011-02-20 01:08:30 -08:00
Tadashi G. Takaoka
fdb6a194b1
Read "enabled" attribute of Key from <key-style>
...
This is follow up change of I1ea82d9f.
Bug: 3384942
Change-Id: If96eda69fe81edbfc1b243a6fa9f8eb6bbf4c12d
2011-02-20 15:25:57 +09:00
Tadashi G. Takaoka
ec2ef40dab
Revised Russian keyboard layout
...
Bug: 3451586
Change-Id: I10d5f45b6218e8f0ab5a0d2f2c285469338890c6
2011-02-20 00:41:07 +09:00
Tadashi G. Takaoka
ea6c2e3350
Add "languageCode" attribute to "case" tag in Keyboard XML
...
bug: 3451586
Change-Id: I08ca80e48648ba18543e9b8ca7362c06bb61a826
2011-02-18 17:04:04 +09:00
Tadashi G. Takaoka
d9c52ba623
Rename imeOptions attribute of Keyboard to imeAction.
...
Bug: 3384942
Change-Id: I3ce01b83f0ae37f447de8a7fcdb5d7fe06b108c6
2011-02-18 16:56:05 +09:00
Tadashi G. Takaoka
aa721c4783
Add "enabled" as an attribute of Key in Keyboard xml
...
If the key is marked as "enabled=false", the key will not respond to be pressed.
Bug: 3384942
Change-Id: I1ea82d9f3dfa5a9916ff3bbc736ea7e6c77426ae
2011-02-18 14:45:37 +09:00
Eric Fischer
b32f1b6055
Merge "Import revised translations."
2011-02-17 10:30:01 -08:00
Eric Fischer
2ca4e9ae8a
Import revised translations.
...
Change-Id: I4b678c68e9a32ac77c46958ef2c530da81508978
2011-02-17 10:21:28 -08:00
satok
290b4a8ff9
Merge "Not to make a thread at changing view from keyboard to voice"
2011-02-17 01:45:28 -08:00
satok
060efb6d82
Not to make a thread at changing view from keyboard to voice
...
Change-Id: If3f89b3e9774c566a1bb2119b161c42b715e6709
2011-02-17 17:45:46 +09:00
Ken Wakasa
eebbe54113
Merge "Fix password variation check code"
2011-02-16 22:00:01 -08:00
Ken Wakasa
16ee377bcd
Fix password variation check code
...
Change-Id: Id994112a029982b4dabd6ebca34edd1d787e5ae2
2011-02-17 14:44:44 +09:00
Tadashi G. Takaoka
887f11ee43
Remove next letters frequency handling
...
Bug: 3428942
Change-Id: Id62f467ce4e50c60a56d59bf96770e799a4659e2
2011-02-17 13:59:41 +09:00
Jean Chalard
a7b2ac26ee
Remove a useless flag.
...
This has become useless when LatinIME stopped being a
SharedPreferenceListener.
Change-Id: I708ec3c3a299ead18548c85b435b45558c984e8d
2011-02-15 17:15:13 +09:00
Ken Wakasa
0e71cb1fff
Merge "Fix NPE"
2011-02-14 20:24:09 -08:00
Ken Wakasa
6e7275bb73
Merge "Adding 'ß' as an alternate for 's' (for 'en' keyboard)."
2011-02-14 19:46:56 -08:00
Ken Wakasa
b1e05d6638
Fix NPE
...
bug: 3446590
Change-Id: Iea5bd8f63f3322496b5d68539f0215d5d01e68d1
2011-02-14 23:55:16 +09:00
Jean Chalard
75fa4b8c0d
Merge "Add stack dumper helper function."
2011-02-13 19:03:11 -08:00
Jean Chalard
5b85d032cd
Add stack dumper helper function.
...
Change-Id: I78e5aef3cc6abfeb764a7e8a432f063f18d56da2
2011-02-14 11:32:48 +09:00
Max Braun
3cadd8e366
Adding 'ß' as an alternate for 's' (for 'en' keyboard).
...
Change-Id: Ic1dfd4b18be1bcfb9c525dad540b85892608d5c4
2011-02-11 13:15:38 -08:00