Jean Chalard
150bad6fd4
Have the spell checker use the User dictionary.
...
Bug: 5175868
Change-Id: I165eee4c865caa5ee1daf3e0b1acde8788b996ef
2011-08-19 17:19:49 +09:00
Jean Chalard
ee7daefd97
Check the main dict id to be able to fallback.
...
Bug: 5095140
Change-Id: I02032923ca2a65bd8fbabc0abbe6a476f7542187
2011-08-18 20:09:35 +09:00
Jean Chalard
89fdb82753
Merge "Move the settings test to a more appropriate place."
2011-08-18 03:39:08 -07:00
Jean Chalard
83207fb482
Move the settings test to a more appropriate place.
...
This change refactors the dictionary selection code so that the
cached dictionary files list and the settings tests are more
cleanly separated.
This will also help with future refactorings that will test for
the presence of the main dictionary and insert the fall back if
it's not supplied by the dictionary pack.
Bug: 5095140
Change-Id: I8d7caad7c054031df71fe78b043801a774d50f65
2011-08-18 19:35:52 +09:00
Jean Chalard
4e01afc520
Make the string builder pool in Suggest a singleton.
...
This is internal refactoring, done as preliminary work to fix
Bug: 5175740
Change-Id: I21bd4c001c27e7b925ddb87a152105b4dcab320a
2011-08-18 18:41:57 +09:00
Jean Chalard
5ba5ff9b80
Merge "Exception refactoring"
2011-08-18 02:36:42 -07:00
Jean Chalard
03c3b64ee5
Merge "Refactor string removal to make it static"
2011-08-18 02:36:32 -07:00
Jean Chalard
3016863f86
Refactor string removal to make it static
...
The next step is to move this over to the Utils class.
The ultimate goal is to make use of the duplicate removal code
also in the spell checker as per
Bug: 5175740
Change-Id: Ica36691b843b0713b832c56ffc65e5b2ec427c4a
2011-08-18 15:16:59 +09:00
Jean Chalard
80e0bf0429
Exception refactoring
...
Now that the dictionary pack can return several files, it's better
to handle IO exceptions for each file rather than globally. This
also will help with next implementation steps.
Bug: 5095140
Change-Id: I5ed135ad2ad4f55f61f9b3f92c48a35d5c24bdb2
2011-08-18 15:11:19 +09:00
Jean Chalard
091bbf85d8
Merge "Factor dict pack settings reading into a static inner class"
2011-08-17 19:34:31 -07:00
Jean Chalard
c11c4fd61b
Factor dict pack settings reading into a static inner class
...
This is essentially refactoring to help next steps
Bug: 5095140
Change-Id: Ic97044d2ed354027bac4f84e6ce69d20ef6da092
2011-08-17 11:25:21 +09:00
Tadashi G. Takaoka
961453c3b3
Merge "Get rid of auto correction flash animation in the suggestion strip"
2011-08-16 18:49:36 -07:00
Tadashi G. Takaoka
bea6b72106
Get rid of auto correction flash animation in the suggestion strip
...
This change also reverts I1350ad3d.
Bug: 5156762
Change-Id: I047e75699e8eea02204ad95e12dcc0aefe49ac34
2011-08-16 17:47:23 -07:00
Tadashi G. Takaoka
5cb10f78ed
Fix possible NPE
...
Bug: 5171442
Change-Id: I280f6a0ef5fb06f1e03e17c0065d078604e4747a
2011-08-16 17:36:13 -07:00
Jean Chalard
c160373b6a
Close dictionary pools when they are not used any more.
...
Bug: 5156851
Change-Id: Icaba54734eb790b40dc2012aac25df5b2af71dbb
2011-08-16 20:04:57 +09:00
Jean Chalard
a562767a14
Have a pool of dictionaries to check spelling.
...
The dictionaries and proximities are not thread-safe. In order to
be able to check spelling in parallel, make a dictionary pool to
call upon when a spelling check is necessary.
Bug: 5156851
Change-Id: Ie3796164187dd7b7abf5ccd5d014073d43d74408
2011-08-16 18:13:12 +09:00
Jean Chalard
70b9c5d991
Make the spell checker re-entrant.
...
Until the dictionary itself is re-entrant, unfortunately we have
to synchronize accesses to it.
Bug: 5156851
Change-Id: I1629a160d707e6fa1ad80cba828798abb24b68b1
2011-08-16 13:58:37 +09:00
Ken Wakasa
bb5504c47d
Merge "Get rid of auto correction flash animation in the suggestion strip"
2011-08-12 07:19:50 -07:00
Ken Wakasa
59f5cc8572
Get rid of auto correction flash animation in the suggestion strip
...
bug: 5156762
Change-Id: I1350ad3d7125f8ecdfc699233ed05e253cc3f010
2011-08-12 23:14:34 +09:00
Jean Chalard
b6b7d81f5d
Merge "Add a settings activity for the spell checker."
2011-08-12 03:11:33 -07:00
Jean Chalard
31fd54c53f
Add a settings activity for the spell checker.
...
Bug: 5156940
Change-Id: I762de1296f861abce2d0413404bca54571e0ea0a
2011-08-12 19:07:51 +09:00
Jean Chalard
86e517fe4a
Read shared prefs from the dictionary pack.
...
Bug: 5095140
Change-Id: I227fbd95d8a0330b6dede6de99fde3a5a715fe2d
2011-08-12 17:31:24 +09:00
Ken Wakasa
7fca6a5357
Merge "Key click sound volume fix"
2011-08-11 10:06:49 -07:00
Ken Wakasa
bf7dd47329
Key click sound volume fix
...
bug: 5145886
Change-Id: Ic599373ee17423ef9c61b3dd5177c3763aa31015
2011-08-12 02:02:03 +09:00
Jean Chalard
08868624ed
Use the dictionaries cached LatinIME-side
...
Dictionaries are now copied over from the dictionary pack to Latin IME.
This change enables Latin IME to use all dictionaries that have been
cached until now.
Bug: 5095140
Change-Id: Id9a2bacf9dc1c693189b0ac8aa3f75756dc1e3e6
2011-08-11 18:15:39 +09:00
Jean Chalard
2896673461
Rename a function and update a comment
...
Bug: 5095140
Change-Id: Idf66a04c6a1a05015f94187a8dbce3d443bbf38b
2011-08-11 17:07:28 +09:00
Jean Chalard
f102f6a3ac
Merge "Give the orders to delete the source files to the dict pack"
2011-08-10 21:54:27 -07:00
Jean Chalard
5774908bb3
Give the orders to delete the source files to the dict pack
...
Bug: 5095140
Change-Id: I64552861768ca30073ffe0d631b2e0c44dad4aa9
2011-08-10 21:55:15 +09:00
Luca Zanolin
c359d75ca7
Merge "Execute the switching to a different IME in a POOL_EXECUTOR."
2011-08-10 04:17:53 -07:00
Luca Zanolin
613073d01b
Execute the switching to a different IME in a POOL_EXECUTOR.
...
Using only a single thread may slow down the application, if there is already another thread running.
Bug: 5142142
Change-Id: I314480a58af20ea09458ff82e586304fc3c7c070
2011-08-10 10:29:06 +01:00
Jean Chalard
d4c08d9be3
Make sure the directory where to put files actually exists
...
Bug: 5095140
Change-Id: I764471e54ce0bf6aefe5d604cee97639d5ad0af9
2011-08-10 17:14:34 +09:00
Ken Wakasa
11b7febc0b
Ellipsis for "Space" key for triggering the IME switcher
...
bug:5136497
Change-Id: Iab7c68135500e9fed212521484090b52943550ca
2011-08-10 00:31:23 +09:00
Jean Chalard
f098fbbef3
Add proximity info for the spell checker.
...
Bug: 5119987
Change-Id: I35700fd8b0ffa6bced428cc6d46b3f64eb251281
2011-08-09 17:24:28 +09:00
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
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
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
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
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
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
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
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
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
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
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
Ken Wakasa
2ba975afb9
Turn off the Settings key by default
...
bug:5094401
Change-Id: Ieb42fdfa79be2afcfa6634e7404c17737ef6927d
2011-07-31 07:26:24 +09: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
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
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
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
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
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
5800eb48d0
Merge "Fix voice key mode default back to "on main keyboard""
2011-07-25 14:52:10 -07:00
Tadashi G. Takaoka
f92bd4de20
Fix voice key mode default back to "on main keyboard"
...
Bug: 5074042
Change-Id: I0c4a09b286c7680306741d47a48d5d9783e4a890
2011-07-25 14:44:47 -07:00
satok
2c18ffb97f
Merge "[step3] Add spell checker service."
2011-07-25 13:48:47 -07:00
satok
022c1cc203
[step3] Add spell checker service.
...
Change-Id: Ib13b3a524e0f0b90de40a3e255040b3158d49258
2011-07-25 11:05:24 +09:00
Tadashi G. Takaoka
cce61aa045
Merge "Refactor Keyboard and KeyboardView resizing and drawing code"
2011-07-22 18:41:23 -07:00
Tadashi G. Takaoka
38f55b36c3
Refactor Keyboard and KeyboardView resizing and drawing code
...
Bug: 4311428
Change-Id: Ice4050f92c8f3cec1bec2074fe6a913d04f50524
2011-07-22 16:50:53 -07:00
Tadashi G. Takaoka
f3e7688361
Merge "Disable VoiceInputLogger inside LatinIME"
2011-07-22 02:41:31 -07:00
Tadashi G. Takaoka
255486a5d0
Disable VoiceInputLogger inside LatinIME
...
Bug: 4985273
Change-Id: I6c70e50a58be0973f78c6a1abc1fb4eac5449c0b
2011-07-22 02:37:56 -07:00
Tadashi G. Takaoka
60c8eba634
Merge "Check user dictionary is enabled before showing touch-to-save"
2011-07-22 02:35:16 -07:00
Tadashi G. Takaoka
ada26bb383
Check user dictionary is enabled before showing touch-to-save
...
Bug: 5024127
Change-Id: If4d691a4a59c43579d1f977e9a0545495f30bafb
2011-07-22 01:32:53 -07:00
Jean Chalard
f6f0e63d79
Do not register null pointers as dictionaries
...
Bug: 5062425
Change-Id: I025991424de40c2b31b90238f99ef160e7efd92e
2011-07-22 14:46:43 +09:00
Jean Chalard
a3dd3887c9
Merge "Set the locale for opening an asset"
2011-07-21 03:18:23 -07:00
Jean Chalard
e150ef9856
Set the locale for opening an asset
...
This is necessary because we don't know any more whether the
locale of the process is the expected one when the dictionary
is loaded asynchronously.
Bug: 5023141
Change-Id: Ia9e4741f3b4a04a9f085f5b65ec122471b0c2dff
2011-07-21 19:14:16 +09:00
Tadashi G. Takaoka
3be0039164
Fix potential NPE
...
Change-Id: I3679d24b6c89e081d24d59c91b136c139dcb3d5c
2011-07-21 02:27:27 -07:00
Tadashi G. Takaoka
055265684b
Revert "Guard unused voice functions"
...
This reverts commit 795a712ecf
.
Bug: 4985273
2011-07-21 02:18:35 -07:00
satok
60cb1cc7b3
Merge "Guard unused voice functions"
2011-07-21 00:10:30 -07:00
satok
795a712ecf
Guard unused voice functions
...
Bug: 4985273
Change-Id: I9491b4af24e636cba6362cdde44568d14f7b2b85
2011-07-21 16:07:00 +09:00
Jean Chalard
728ab86f8c
Merge "Fallback to the included dict if the passed one is invalid"
2011-07-20 19:50:54 -07:00
Jean Chalard
7e19a64c86
Fallback to the included dict if the passed one is invalid
...
If all dictionaries returned by the dictionary pack are invalid,
then fallback to the dictionary included in the resources for this
locale.
Bug: 5052486
Change-Id: Id875194ca56a74b2ed6f5b0b4fdd55475f6842c8
2011-07-20 19:53:47 +09:00
Tadashi G. Takaoka
ef5dfc480c
Remove sliding spacebar language switcher
...
Bug: 4971680
Change-Id: Ia3485ddcf8051bf7b7ba7f7a37fa75c3bc8a4798
2011-07-19 23:24:49 -07:00
Tadashi G. Takaoka
1dc80048d7
Merge "Support select input method dialog on pre-HC platform"
2011-07-19 23:22:37 -07:00
Tadashi G. Takaoka
bf9d8348d8
Support select input method dialog on pre-HC platform
...
Bug: 4971680
Change-Id: I641b336da54813e13409bd7874aa22e51f790729
2011-07-19 22:22:47 -07:00
Tadashi G. Takaoka
5ab5807d91
Remove long-press-to-save feature from CandidateView
...
Bug: 5027059
Change-Id: I884a84e50e810c0c4a8255217b39ea24937c756b
2011-07-19 17:22:02 -07:00
Jean Chalard
40f7efc172
Fix an NPE related to absent InputConnection
...
Bug: 5035577
Change-Id: I1a11fc475d4a0f692636000d0b0f40bc35427867
2011-07-19 19:25:48 +09:00
Jean Chalard
44861474fb
Add a number of NULL pointer guards.
...
None of these are expected to actually be null, but those are
included for peace of mind and foolproofing against future
code changes.
Bug: 4580040
Change-Id: Ib112b3e5db5f177aaf61767164b7e78d711f90a0
2011-07-19 18:19:23 +09:00
Jean Chalard
494ab16396
Merge "Deactivate the user unigram dictionary."
2011-07-19 01:50:57 -07:00
Jean Chalard
52f20d6a43
Deactivate the user unigram dictionary.
...
Bug: 3459274
Change-Id: I41b7617623b5b2e48c2e460dc7f2d5ff410c8a4c
2011-07-19 17:30:52 +09:00
Jean Chalard
2b4eabed2b
Allow double-space-period after relevant punctuation signs.
...
This allows the user to enter a period via double-space after quotes,
currency symbols, brackets and other non-sentence-finishing
punctuation marks.
Bug: 3430389
Change-Id: Ibe40b3902861207eb918e7be6113e8be12216f53
2011-07-19 16:12:24 +09:00
Tadashi G. Takaoka
2811841ab4
Honor EditorType's IME_FLAG_NO_EXTRACT_UI and IME_FLAG_NO_FULLSCREEN flags
...
Bug: 5030408
Change-Id: I1c5649725780cd063db7a437b8559b7f2573469c
2011-07-15 16:21:16 -07:00
Jean Chalard
f422345211
Rename AutoDictionary to UserUnigramDictionary.
...
...and adjust internal functions, variables and constant names.
Bug: 3459274
Change-Id: I1b11c6adfee360ac0fc22d627955688b3dbdcffc
2011-07-15 12:14:47 +09:00
Tadashi G. Takaoka
41c1f48028
Fix IndexOutOfBound exception
...
Bug: 5011243
Change-Id: Iaaafa50b42e5155e3682132217d3e079a170ed89
2011-07-13 18:45:10 -07:00
Tadashi G. Takaoka
5cbdb23621
Fix IOOB Exception
...
Bug: 5021745
Change-Id: I58815ca3f3c8b1bead895e8a94e2f89dbcc67436
2011-07-13 12:26:40 -07:00
Jean Chalard
092826c8cd
Fix crash on adding a word in the user dictionary.
...
When the User dictionary service is off, LatinIME still allows to add
words to it and it crashed if the user tries to do so. This change
fixes the crash; it does not however fix the interface.
Bug: 5004408
Change-Id: I5bd2684ab3010963c1f737fc764e70e79aadbe8d
2011-07-13 17:52:34 +09:00
Ken Wakasa
4f365403c5
Fix build breakage
...
Change-Id: Id2c2d152f54d00842ef9e200ccdce1e13cc128cb
2011-07-13 13:49:13 +09:00
Ken Wakasa
84cb23a789
Small code cleanup
...
Change-Id: I7075d85f745c3b186e6d06086b9fcd54e7459feb
2011-07-13 12:15:22 +09:00
Ken Wakasa
8558cfb42a
Code cleanup
...
Change-Id: Ie43181721ba18e0c04048eaa9e3016dcea9f5a49
2011-07-12 16:47:08 +09:00
Ken Wakasa
9318d33b6e
Change variable names for readability
...
Change-Id: I9face4e90af4bcd6040eb7e303b596af7d643934
2011-07-12 12:08:58 +09:00
satok
4a0c343dbd
Use InputMethodSettingsActivity
...
Bug: 4979539
Change-Id: Ib721814bfe80822ded7b0d801f6bc0c854588da4
2011-07-11 10:15:03 +09:00
satok
1a3bb54bb4
Use InputMethodSettingsFragment
...
Bug: 4979539
Change-Id: I4f2010f785eb29ccd42b488c402ef9957633e0c2
2011-07-09 11:25:54 +09:00
satok
68d419d1f5
Merge "Internal cleanup before using InputMethodSettingsFragment"
2011-07-08 17:40:32 -07:00
satok
4598d12064
Internal cleanup before using InputMethodSettingsFragment
...
Change-Id: I7e3211feadf7b87b789040f6dcd6dda84a9d454a
2011-07-09 09:22:03 +09:00
satok
41f1509334
Remove override which will be invalid.
...
Change-Id: I8b548e0167791c1f5e46971901d13ee1aadc45da
2011-07-09 08:15:36 +09:00
Tadashi G. Takaoka
c71854a661
Remove swipe gesture
...
Bug: 4971680
Change-Id: Ifff27f3bd3dd26417bfcb7072aaba074025b1bb7
2011-07-08 00:00:14 -07:00
Ken Wakasa
1bd62a5621
Fix missing suggestions after "Touch again to save"
...
This is an amendment to If848320c
bug: 5000317
Change-Id: I7eed5759c6adc0538c51f540c84a597919e792fa
2011-07-07 17:59:19 +09:00
Tadashi G. Takaoka
c810b0d63a
Merge "Make sure that each view has its own dedicated background drawable"
2011-07-06 19:12:39 -07:00
Tadashi G. Takaoka
88110d1799
Clear CandidateView in onStartInputView
...
Before starting input on new TextView, we must clear the CandidateView
because it may hold the suggestion of previous TextView or even worse
the suggestions pane has been expanded and keyboard has been hidden.
Bug: 4995414
Change-Id: If848320c1a510e7018d36ed8ac61291be2fc6ce5
2011-07-06 17:57:24 -07:00
Tadashi G. Takaoka
7c57e3bda1
Make sure that each view has its own dedicated background drawable
...
Bug: 4998490
Change-Id: I3527fc41f0f03bbb32e3d1880665c6995354aa57
2011-07-06 17:42:03 -07:00
Ken Wakasa
273e5d60f4
Use the new settings activity class name
...
Follow up to I96230f05
Change-Id: I0ee7ccb5461764490ae9c977658883b10fe3ed3d
2011-07-06 12:38:34 +09:00
Tadashi G. Takaoka
f60d09ac30
Narrower KeyboardView reference
...
This change also rename static inner class to more readable name and
get rid of unnecessary object reference from PointerTracker.
Bug: 4768084
Change-Id: Ie4e2b940d66b47d41efcae7eeac853cdae2e4d38
2011-07-04 22:42:48 +09:00
satok
e55996373f
Removed unused import
...
Change-Id: I87344f071e982dfc37b17553c5a7054e26009cc7
2011-07-04 22:26:05 +09:00
Tadashi G. Takaoka
5f6816fa8b
Move keyboard event handling code to separate LatinKeyboardBaseView class
...
To sort out the issue, main keyboard and mini keyboard have to share
the pointer trackers.
In order to prepare for that, KeyboardView needs to be refactored as
two separate classes. KeyboardView is responsible for drawing keyboard
visual. And LatinKeyboardBaseView is responsible for handling key
event and mini keyboard as well.
Bug: 4768084
Change-Id: I5643e333b9bdfde0c939a0693cea76bd22f38897
2011-07-04 18:53:50 +09:00
Tadashi G. Takaoka
386899a8b0
Merge "Disable auto-correction when application auto completion has set"
2011-07-04 02:20:05 -07:00
satok
67b5180e85
Merge "Add SettingsActivity"
2011-07-04 02:11:38 -07:00
satok
29387a8922
Merge "Fixed a visibility of a shortcut button"
2011-07-04 02:10:44 -07:00
satok
1be5028dcf
Add SettingsActivity
...
Change-Id: I26d9f90fe18bd7723f1c3c0c9fafbb659cb2f020
2011-07-04 18:08:26 +09:00
satok
1cda6eb176
Fixed a visibility of a shortcut button
...
Change-Id: I65e57f6742186b3434d6582ce7f2a1d5d91ce588
2011-07-04 17:49:30 +09:00
Tadashi G. Takaoka
5238df54ad
Disable auto-correction when application auto completion has set
...
Change-Id: I3f4ecfe7f2d96613dd37d41d9195d94864f82b48
2011-07-04 16:21:32 +09:00
Tadashi G. Takaoka
e583371b13
Use Key background for suggestions strip control
...
Change-Id: I5e43c0919e89972283fd18eb29d69f96f1bd0290
2011-07-04 15:42:20 +09:00
Tadashi G. Takaoka
5a931efe1e
Set candidates pane control visibility gone when touch-to-save is activated
...
Bug: 4985540
Change-Id: I9ca9e9bd990d9cdae0da22625be88bbfa4c7ee62
2011-07-02 01:59:49 +09:00
Tadashi G. Takaoka
7f3e5979d7
Merge "Calculate text width more conservatively"
2011-07-01 06:35:10 -07:00
Tadashi G. Takaoka
fe9b65afa8
Calculate text width more conservatively
...
Change-Id: If937ca0d05d50def115f6d275ed4b727c71e7bf4
2011-07-01 22:26:24 +09:00
Tadashi G. Takaoka
4edc7d074b
Disable candidate pane controller just after suggestions are set
...
Change-Id: I62e24bc39e80e2b51d1a29d093a96a8480254da2
2011-07-01 21:19:31 +09:00
Tadashi G. Takaoka
f008ae9ece
Merge "Tweak ICS theme a bit"
2011-07-01 05:12:43 -07:00
Tadashi G. Takaoka
3118277dd4
Tweak ICS theme a bit
...
Change-Id: Ib8f1a712a1fc3fd6f08b336617b4b6a17af11376
2011-07-01 21:11:34 +09:00
satok
dec7703d9b
Refactor settings
...
Change-Id: I2e0108ba429b477a07cfd53dcc664c0e43ff16a7
2011-07-01 19:43:09 +09:00