Jean Chalard
3a22708e65
Have Latin IME copy files from the dictionary pack.
...
Also some minor cleanup: remove unused methods, minor refactoring into methods.
Bug: 5095140
Change-Id: I035537b37a31adfc8db3b933fb0cefcf703d6c7c
2011-08-09 16:02:14 +09:00
Jean Chalard
14051e2b53
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
2011-08-09 12:49:19 +09:00
Alan Viverette
58e3f1065e
Fixed speaking keys when editing password fields
...
Bug: 5042681
Change-Id: Ic4523ec38b0faa2b6a91d476ea7af7e69404861c
2011-08-08 11:05:04 -07:00
Ken Wakasa
44beeab4a4
Merge "Fix issues with long-press access to more suggestions"
2011-08-08 04:37:09 -07:00
Ken Wakasa
bbf25cf251
Fix issues with long-press access to more suggestions
...
Change-Id: If5a45dcae7f7e7881d305104e35a04c341719aec
2011-08-08 20:33:44 +09:00
Ken Wakasa
ad7ddca397
Merge "Correction mode should not rely on the existence of the main dic"
2011-08-08 04:24:05 -07:00
Ken Wakasa
c769ef4dd1
Correction mode should not rely on the existence of the main dic
...
bug: 5114094
Change-Id: I2088918ec2c9ad6f8db13b55e58d3e73e180aef8
2011-08-08 19:42:24 +09:00
Tadashi G. Takaoka
ae5c736e37
Remove suggestion pane controller from strip
...
This change also removes speacebar LED to represent auto correction.
Bug: 5023981
Change-Id: Idedaabd147ed608df35cb51769388578a05174a1
2011-08-08 00:15:49 -07:00
Ken Wakasa
20c4aec827
Partially revert I531a3257 as it mistakenly broke some logic -- textToTheLeft was required.
...
Change-Id: I24f55cec05fea68836d6b3413b69f1e1b9c68ba2
2011-08-06 22:37:45 +09:00
Tadashi G. Takaoka
6983cf4a19
Merge "Remove all key preview from placer when window gets hide"
2011-08-06 00:59:03 -07:00
Ken Wakasa
cadb2128f5
Fix issues with long-pressing the spacebar
...
bug: 5114433
Change-Id: I18f2147724a08965147bafe93e11fc86c7c59d33
2011-08-06 16:49:32 +09:00
Tadashi G. Takaoka
1149abd876
Remove all key preview from placer when window gets hide
...
Bug: 5130302
Change-Id: I70e3737c33bfbac99366ab36d3437b0801f5140a
2011-08-05 23:33:51 -07:00
Tadashi G. Takaoka
60a004f78e
Fixed count suggestions strip
...
Bug: 5023981
Change-Id: I434d23bdfb653989866d3822c978cd929a2b553c
2011-08-05 19:25:36 -07:00
satok
5bcf8ee66c
Update the spell checker according to API cleanup
...
Change-Id: Ia95a63963c16265bc9bc7e1fcecf120e17bf8636
2011-08-05 19:57:47 +09:00
Tadashi G. Takaoka
fd047f61e4
Merge "Move suggestions layout code into parameter class"
2011-08-04 23:57:31 -07:00
Tadashi G. Takaoka
94ac3d760b
Fix NPE
...
Bug: 5120674
Change-Id: Iedfd7af33a96b68d83d9a844f61ac40b9523ecdb
2011-08-04 09:40:25 -07:00
Tadashi G. Takaoka
16713e5630
Move suggestions layout code into parameter class
...
Bug: 5023981
Change-Id: I30f45191524c38bfe550845b003e8972abd2ee49
2011-08-04 09:26:37 -07:00
Jean Chalard
3234123fba
Implement the spell checker.
...
Bug: 4176026
Change-Id: I297c47202e96ce0db74d703f30709777f26b93ac
2011-08-04 21:27:14 +09:00
Jean Chalard
ac21e0a349
Merge "Create a way to pass the proximity info to the dictionary"
2011-08-04 04:17:33 -07:00
Jean Chalard
043f784198
Create a way to pass the proximity info to the dictionary
...
This is a preparative change for inserting the spell checker.
Change-Id: Ie441879cac4f67078ec27a95f1fcbbf3ef373df7
2011-08-04 19:46:21 +09:00
Tadashi G. Takaoka
80ba224fff
Merge "Cleanup CandidateView class"
2011-08-04 01:19:55 -07:00
Tadashi G. Takaoka
d95a6365be
Cleanup CandidateView class
...
Bug: 5023981
Change-Id: Id79e31c60dfb41be546f5c5a3680e8651457151d
2011-08-04 01:14:55 -07:00
Ken Wakasa
3aacd1d7d8
Merge "Additional hack for bug:4311428, a follow up for Ieade33d7."
2011-08-03 23:34:12 -07:00
Ken Wakasa
de30f9f2d6
Additional hack for bug:4311428, a follow up for Ieade33d7.
...
Change-Id: If1799a6fa3b2f45c98c9f3aeb88845f1fb08f09b
2011-08-04 15:31:33 +09:00
Jean Chalard
8289dede0a
Merge "Remove newly unused code"
2011-08-03 22:47:27 -07:00
Jean Chalard
09e91ee072
Remove newly unused code
...
Bug: 5095140
Change-Id: Ie4322815f029f063dda2925697d6d8f63bfaf6d6
2011-08-04 13:53:24 +09:00
Ken Wakasa
3889462439
Handle non word separators correctly even for the initial letter of a word
...
bug: 5101114
Change-Id: I0d804c9a500ff000dc06cadad46a2c6c6b8088b2
2011-08-04 12:24:45 +09:00
Tadashi G. Takaoka
bb12dc455b
Merge "Fix saving keyboard state while rotating"
2011-08-03 15:15:59 -07:00
Tadashi G. Takaoka
99debd7519
Merge "Reset keyboard shift lock state when new keyboard is ready"
2011-08-03 15:08:28 -07:00
Tadashi G. Takaoka
38b5605fee
Fix saving keyboard state while rotating
...
This change also uses longer timeout for restoring keyboard state.
Bug: 4311428
Change-Id: Ieade33d7c69f1dee727b2b8c26f0112eca44b336
2011-08-03 09:41:04 -07:00
Tadashi G. Takaoka
73c02390d3
Reset keyboard shift lock state when new keyboard is ready
...
Bug: 5099761
Change-Id: I00ad796ea43a07ae13e71224b7a081ee2f160f1a
2011-08-03 09:24:13 -07:00
satok
e486290013
Merge "Temporary don't use "looks type" for comming rename cl."
2011-08-03 03:24:48 -07:00
satok
55d1c5efab
Temporary don't use "looks type" for comming rename cl.
...
Change-Id: If016a61f9e303b615c59c0035724256535aec817
2011-08-03 18:42:56 +09:00
Tadashi G. Takaoka
eedfef0308
Merge "Retain keyboard layout while orientation change"
2011-08-03 02:37:00 -07:00
Tadashi G. Takaoka
055054eef3
Retain keyboard layout while orientation change
...
This change also changes the timimng that the window width is
registered.
Bug: 4311428
Change-Id: Ied6b1b43bfa16a85f0e05cd308ce919d5d65677e
2011-08-03 02:20:27 -07:00
Tadashi G. Takaoka
a0ac590c8d
Merge "Support label with icon key"
2011-08-03 01:56:24 -07:00
Tadashi G. Takaoka
62d4a96497
Support label with icon key
...
Bug: 5108339
Change-Id: I7cd4258a95a7e25b8b1114b43ffcca5b77c5c1e3
2011-08-03 01:53:30 -07:00
Ken Wakasa
21fa416c43
Revive the missing Settings key on tablets
...
This is a follow up change to Ieb42fdfa.
bug: 5094401
Change-Id: If78c966ed02fbc9b8c6da726e00424a927349142
2011-08-03 17:00:14 +09:00
Jean Chalard
81f227de5a
Merge "Change the dictionary file passing schema to a list of ids"
2011-08-02 21:02:11 -07:00
Tadashi G. Takaoka
1be29abab2
Cleanup Keyboard related code and rename some classes
...
This is a follow up change of I90ffbde0
Bug: 5023981
Change-Id: I3a6b862d05f5f907dee954cd6d6fee983b20ab5e
2011-08-02 17:12:02 -07:00
Jean Chalard
fae8d60ee9
Change the dictionary file passing schema to a list of ids
...
The dictionary filename used to be passed directly to Latin IME.
This change implements, on the part of Latin IME, the passing of
them as an id that should then be passed through
openAssetFileDescriptor.
Bug: 5095140
Change-Id: I7d1e9d57c19f0645045368f68681680f238189fc
2011-08-02 19:16:39 +09:00
Tadashi G. Takaoka
8da9a13760
Make Keyboard object immutable except shift state
...
This is the first step to implement suggestions pane as mini keyboard.
Bug: 5023981
Change-Id: I90ffbde0fda19b4be68add449310997b56bf6904
2011-08-01 22:04:48 -07:00
Tadashi G. Takaoka
8d7782bf3c
Merge "Use generic interface for filed type of Keyboard"
2011-08-01 18:12:58 -07:00
Tadashi G. Takaoka
04bc5a369c
Merge "Add KeyboardParams class"
2011-08-01 18:08:17 -07:00
Tadashi G. Takaoka
167e77f170
Use generic interface for filed type of Keyboard
...
This change also re-orders and renames some fields.
Bug: 5023981
Change-Id: I28c1ca7384bb70e3584398cd19ce2276ddfe8541
2011-08-01 17:58:02 -07:00
Tadashi G. Takaoka
4d8eb2e888
Make horigontalGap and verticalGap attributes of Row obsolete
...
Bug: 5023981
Change-Id: Ifb07b54a68cfdd32ff2ea79812188fb6158bd073
2011-08-01 17:45:16 -07:00
Tadashi G. Takaoka
1516d055df
Add KeyboardParams class
...
This object will hold all keyboard parameter while parsing XML file
and act like a Keyboard. After finishing reading XML file, this will be
passed as an argument for the Keyboard class constructor.
Bug: 5023981
Change-Id: I2737b30036b6e4d204e8ed9984a1272e195209be
2011-08-01 17:41:30 -07:00
Tadashi G. Takaoka
723dd753e9
Remove Keyboard reference from Key object
...
Bug: 5023981
Change-Id: Ib0b9debf2018a0a9e9efe9323738e85174589e71
2011-08-01 17:07:45 -07:00
Tadashi G. Takaoka
30479de9e5
Merge "Cleanup key label case adjustment"
2011-08-01 17:04:09 -07:00
Tadashi G. Takaoka
c499866948
Cleanup key label case adjustment
...
Bug: 5023981
Change-Id: Ida06fc6a588c4eb8543455d932e71ac2797d27e5
2011-08-01 16:43:14 -07:00
Tadashi G. Takaoka
b118d4cb58
Cleanup icon drawable related code
...
Bug: 5023981
Change-Id: I729354f32797eef354ec9af8e05f17839f0a361c
2011-08-01 16:37:13 -07:00
Jean Chalard
cb1cc0d0de
Merge "Try to compensate for a race condition."
2011-08-01 04:17:22 -07:00
Jean Chalard
f2f9715319
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
2011-08-01 19:51:55 +09:00
Tadashi G. Takaoka
271e55fe53
Merge "Filter non-ascii popup charcters from password keyboard"
2011-08-01 01:32:48 -07:00
Tadashi G. Takaoka
2fe68b9616
Filter non-ascii popup charcters from password keyboard
...
Change-Id: I10885efd317770f892165b6bb059313abf241436
2011-08-01 00:35:59 -07:00
Ken Wakasa
9351550dc6
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
2011-08-01 16:03:43 +09:00
Tadashi G. Takaoka
c3afe2c244
Replace the notion of "voice" with "shortcut" as many as possible
...
Bug: 4340933
Change-Id: I98b4eca5167cc3767a0868fae8f6436164adbe4d
2011-07-31 18:46:44 -07:00
Tadashi G. Takaoka
83f6ca10d4
Merge "Fix exception message"
2011-07-31 18:43:22 -07:00
Tadashi G. Takaoka
2afc2adb01
Merge "Eliminate "..." from the key that has no popup mini keyboard automatically"
2011-07-31 18:43:17 -07:00
Tadashi G. Takaoka
09430720d5
Fix exception message
...
Bug: 4340933
Change-Id: I81e7b0c72116b5bb56b0fdcd02386288aebd73e7
2011-07-31 18:40:58 -07:00
Tadashi G. Takaoka
0c6e57f2d1
Eliminate "..." from the key that has no popup mini keyboard automatically
...
Bug: 4340933
Change-Id: I08bbdee71f4bc2285fd0c1233d284150be61748e
2011-07-31 18:22:29 -07:00
Tadashi G. Takaoka
73e716f202
Be aware of "nm" and "noMicrophoneKey" private IME option
...
Bug: 4340933
Change-Id: I787108a73d4450963d644bc7070ae1672ebb4455
2011-07-31 18:20:20 -07:00
Ken Wakasa
2ba975afb9
Turn off the Settings key by default
...
bug:5094401
Change-Id: Ieb42fdfa79be2afcfa6634e7404c17737ef6927d
2011-07-31 07:26:24 +09:00
Tadashi G. Takaoka
97c35650ad
Dismiss key preview regardless of key preview settings
...
Bug: 5099213
Change-Id: Id6c5cb0ae4a07897b34153d4b350b1b45a06aa1a
2011-07-29 19:52:49 -07:00
Tadashi G. Takaoka
364f1fd1f8
Add WindowWidthCache
...
Bug: 4311428
Change-Id: I9f006525c0932d9d49bb8655caf58523135366d7
2011-07-29 18:43:50 -07:00
Tadashi G. Takaoka
0a054dd107
Cleanup KeyboardSwitcher internal a bit
...
Bug: 4311428
Change-Id: Ibe933d0351f750a3a41a08f09befd833d677961b
2011-07-29 17:00:09 -07:00
Ken Wakasa
f12aa77c4b
Merge "Simplifying accessibility code in keyboard's dispatchTouchEvent()"
2011-07-29 01:22:11 -07:00
satok
4e7d0663ba
Merge "Modified the test spell checker"
2011-07-28 18:09:51 -07:00
Tadashi G. Takaoka
259ce17f5d
Merge "Use isFullscreenMode to determine candidate container height"
2011-07-28 17:40:18 -07:00
Tadashi G. Takaoka
ecf43d4f9d
Merge "Remove dead area around separators in the suggestion strip"
2011-07-28 17:39:43 -07:00
Tadashi G. Takaoka
3782f2bf1e
Merge "Remove icon and negative button from dialogs"
2011-07-28 17:39:07 -07:00
Tadashi G. Takaoka
5b3c834a9c
Merge "Remove enableShiftLock attribute from KeyboardId"
2011-07-28 17:38:50 -07:00
Tadashi G. Takaoka
6d9bcd5e13
Remove enableShiftLock attribute from KeyboardId
...
This change is a follow up of Ia72de236.
Bug: 4311428
Change-Id: I0ad0f1fb93545ceb40df8dffe377240b020c2602
2011-07-28 17:25:44 -07:00
Tadashi G. Takaoka
34400204a5
Merge "Remove unused method"
2011-07-28 15:42:53 -07:00
Tadashi G. Takaoka
b9538bc447
Merge "Fix that long pressing shift on symbol keyboard registers caps lock code"
2011-07-28 15:27:40 -07:00
Tadashi G. Takaoka
d4b533774d
Remove unused method
...
Bug: 4521802
Change-Id: Iae649f8b77b3bb144ee7eedbb6545e237fa79a17
2011-07-28 15:24:46 -07:00
Tadashi G. Takaoka
4b1780fa95
Use isFullscreenMode to determine candidate container height
...
Bug: 5081182
Change-Id: I3783d3994e96f8bf466cbc47c9e0aecc2a6bed50
2011-07-28 15:06:15 -07:00
Tadashi G. Takaoka
a1aab83a24
Remove dead area around separators in the suggestion strip
...
If user touches the separator, the right hand side suggestion will be
selected.
Bug: 4431485
Change-Id: Ieaa79fe2ac7b15e312829dca847ddb1b25056c09
2011-07-28 14:15:24 -07:00
Tadashi G. Takaoka
e4b445f1ce
Remove icon and negative button from dialogs
...
Bug: 5092028
Change-Id: I25b86c6e74e380e6cee4998bfe494bdafb611f36
2011-07-28 13:49:57 -07:00
Tadashi G. Takaoka
851c3267d4
Fix that long pressing shift on symbol keyboard registers caps lock code
...
Bug: 5088376
Change-Id: I586a9fb685f3443aa22fd877df52b36247c4f858
2011-07-28 12:04:35 -07:00
Alan Viverette
65a898d9ef
Simplifying accessibility code in keyboard's dispatchTouchEvent()
...
Change-Id: Ie33cf93ee2d7eadad38ca170aa8ad988bb0ae9a9
2011-07-28 11:55:45 -07:00
Tadashi G. Takaoka
c3d175c01f
Fix wrong keyboard width when orientation has changed while IME is not shown
...
Bug: 5084021
Change-Id: Ie42da40b8249eaf9cf29707058906949278eff6a
2011-07-28 11:02:29 -07:00
satok
a90992e562
Modified the test spell checker
...
Change-Id: Ib64fac8672a4107638cd05a0232d46b49fc4aa8c
2011-07-28 20:55:00 +09:00
Tadashi G. Takaoka
0a5345c7b6
Fix NPE
...
Bug: 5086698
Change-Id: Iaa3082649344722bd643c49c9d151df754d6e337
2011-07-27 15:37:42 -07:00
Tadashi G. Takaoka
60ccbe16ee
Clean up keyboard loading and switching
...
Bug: 4311428
Change-Id: Ia72de23634f824d82b7b5f2267d439ce922a3b57
2011-07-27 13:34:16 -07:00
Jean Chalard
a48f8b3764
Merge "Load the binary dictionary asynchronously."
2011-07-26 23:34:52 -07:00
Jean Chalard
3af9f05f29
Load the binary dictionary asynchronously.
...
This should help with LatinIME opening performance.
It should not be merged before Ia9e4741f (if it is, there is a
race condition where the wrong dictionary is opened).
Bug: 5023141
Change-Id: I39c52de70a449929a622dddfdd92b38425ad9416
2011-07-27 15:18:49 +09:00
Jean Chalard
e576a0d537
Fix a NPE when sent buggy data by an application
...
Bug: 5072247
Change-Id: I7369877072f6bb94dff5b1bcf52c9f8dde4854b7
2011-07-27 13:27:37 +09:00
Ken Wakasa
3ca85794a0
Merge "Fixed duplicate call to dispatchOnPopulateAccessibilityEvent()"
2011-07-26 15:15:34 -07:00
Tadashi G. Takaoka
4692af50da
Support multiple key preview
...
Bug: 4298393
Change-Id: Ibd3681f7255c85e3602e1af4ace8f8e7fce3fb06
2011-07-26 14:55:19 -07:00
Alan Viverette
586a15c3f0
Fixed duplicate call to dispatchOnPopulateAccessibilityEvent()
...
Bug: 5060194
Change-Id: I585ae52204a045fa3941e846b4f9bdd7d541bea6
2011-07-26 14:06:26 -07:00
Tadashi G. Takaoka
ff6ad279e6
Merge "Make PointerTracker aware of that popup panel is showing"
2011-07-26 11:33:35 -07:00
Tadashi G. Takaoka
9ec80d9d89
Make PointerTracker aware of that popup panel is showing
...
Bug: 5070598
Change-Id: I0604287b8c373e4763b4ccf88c0bd7235af907d5
2011-07-26 10:22:07 -07:00
Jean Chalard
d3da6e6311
Close a multiprocess file handle.
...
Bug: 5034192
Change-Id: I9c3d757cfae313e9b7510e167de797a74c74a351
2011-07-26 22:13:34 +09:00
Jean Chalard
f50aa19337
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
2011-07-26 16:25:57 +09:00
Ken Wakasa
e9d74adcc8
Merge "Take care of bidi-mirrored characters in suggestion strip as well"
2011-07-25 15:59:18 -07:00
Ken Wakasa
83ffff2a49
Take care of bidi-mirrored characters in suggestion strip as well
...
Follow up to I1b884848
bug: 5047217
Change-Id: I18b9962c4943363bae88009354fcc75ab60ad2ba
2011-07-26 07:55:12 +09:00
Tadashi G. Takaoka
71ffd74f05
Merge "Add Bidi-Mirrored letter list link as comment"
2011-07-25 15:25:51 -07:00
Tadashi G. Takaoka
34ce778802
Add Bidi-Mirrored letter list link as comment
...
Bug: 5047217
Change-Id: I29449892803c5150726aebfe97ecef6d481e1e97
2011-07-25 15:00:55 -07:00
Tadashi G. Takaoka
5800eb48d0
Merge "Fix voice key mode default back to "on main keyboard""
2011-07-25 14:52:10 -07:00