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
Ken Wakasa
e486175987
Merge "Fixed speaking keys when editing password fields"
2011-08-16 18:45:26 -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
29ea7b79c7
Merge "Have a pool of dictionaries to check spelling."
2011-08-16 03:05:50 -07:00
Yusuke Nojima
dbf4f2a552
Merge "Pass the touch event in the top padding of keyboard."
2011-08-16 03:04:30 -07:00
Yusuke Nojima
5ec13092a5
Pass the touch event in the top padding of keyboard.
...
Bug: 5139932
Change-Id: Id176f92f69160f76ae7e0d46cb3d639080779497
2011-08-16 18:33:40 +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
Ken Wakasa
f18bda60aa
Code cleanup
...
Change-Id: I7df8c813038adec750eda260740bcc8a4da41acf
2011-08-16 17:32:37 +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
Yusuke Nojima
8f7f406c5b
Merge "Add a margin between "123" and the mic icon."
2011-08-15 18:17:48 -07:00
Yusuke Nojima
35775197aa
Add a margin between "123" and the mic icon.
...
Bug: 5161711
Change-Id: I04c777c24b9aac4d82eb3adff8e077640a866f61
2011-08-16 10:07:34 +09:00
Ken Wakasa
e8bbc54e74
Merge "Update shift state in onSizeChanged()"
2011-08-15 04:12:24 -07:00
Ken Wakasa
286a5bf1c6
Update shift state in onSizeChanged()
...
bug: 5130446
Change-Id: I830de4d184dffa2b263206c3f078de054e227b9e
2011-08-15 20:10:28 +09:00
Jean Chalard
7674f869dc
Remove the "Touch to correct words" option.
...
Bug: 5113009
Change-Id: Idc4a464e499a2530f517bf7fa449326779129371
2011-08-15 16:38:00 +09:00
Jean Chalard
ab791d0bbc
Revert "Remove the "Touch to correct words" option."
...
This reverts commit 8e69dd80d8
...since it breaks the build
2011-08-14 23:49:01 -07:00
Jean Chalard
8e69dd80d8
Remove the "Touch to correct words" option.
...
Bug: 5113009
Change-Id: Iae8a64e22cf618f4533f966feaf0b5a76725d551
2011-08-15 15:02:51 +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
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