Tadashi G. Takaoka
0aa0133795
Fix missing initializartion of key preview position
...
This is followup of Iddab254c
Change-Id: I2d8e68b696779b742d29fdcf03c5fb509cb0bd87
2011-05-25 16:14:19 +09:00
Tadashi G. Takaoka
598a25d990
Merge "Enable long press even if the key is disabled"
2011-05-24 23:52:12 -07:00
Tadashi G. Takaoka
e07b51e7c6
Enable long press even if the key is disabled
...
Change-Id: Iddab254c7d6625bf44473109b4a52d2f7a163a27
2011-05-25 15:22:03 +09:00
Tadashi G. Takaoka
f3cd2bb33d
Fix IllegalStateException when setting input view
...
This is followup change of I95f379b9.
Bug: 4175031
Change-Id: Ibf3e3bd2524c9543ec6193cb6e59529b2c4df3b1
2011-05-25 15:09:09 +09:00
Tadashi G. Takaoka
187a8da246
Merge "Move CandidateView into input view"
2011-05-24 00:12:20 -07:00
Tadashi G. Takaoka
f71454fecb
Slightly lower the keyboard height on 7" landscape (DO NOT MERGE)
...
Bug: 4479212
Change-Id: Ie3b1d82ee659c5f67eede936c079e99c1a4451b9
2011-05-24 16:10:54 +09:00
Tadashi G. Takaoka
c150acc7c8
Move CandidateView into input view
...
Bug: 4175031
Change-Id: I95f379b9943d1dcab1dc5527b6e5ac5abd58e280
2011-05-24 15:37:53 +09:00
Tadashi G. Takaoka
5903e061ad
Merge "Reorganize drawable for large and xlarge device (DO NOT MERGE)" into honeycomb-mr2
2011-05-23 23:11:48 -07:00
Tadashi G. Takaoka
eef3b7b328
Add number password keyboard layout to phone (DO NOT MERGE)
...
Bug: 4479212
Change-Id: Ia0a284a365af99257ed47351bdd3387fd9a53eba
2011-05-24 12:31:52 +09:00
Tadashi G. Takaoka
5979673c9e
Merge "Fix reflection method invokation"
2011-05-23 19:27:11 -07:00
Tadashi G. Takaoka
8e26dfeaae
Add missing IME_ACTION_NEXT
...
Change-Id: I377042c1750dd97b922bcf40bffb4046e023f6bb
2011-05-24 11:22:25 +09:00
Tadashi G. Takaoka
f23f00a13a
Fix reflection method invokation
...
Either of Method.invoke, Field.get and Field.set can accept null as
receiver.
Change-Id: I4539dcc95a794f6ee84cf4e7aabf4e8f0206728f
2011-05-24 11:15:18 +09:00
Tadashi G. Takaoka
83fdaddda8
Reorganize drawable for large and xlarge device (DO NOT MERGE)
...
Because the holo theme drawables have "holo" effect around 9-patch as
fixed size image, so we need dedicated drawables for each sw600dp-mdpi
and sw768dp-mdpi resolutions for visual designers.
* drawable-mdpi (fallback resources)
* drawable-sw600dp-mdpi (7" tablet, phone style keyboard, placeholder for now)
* drawable-sw768dp-mdpi (10" tablet, tablet style keybaord)
Note that:
* Eventually sw600dp drawables will be updated by designers.
* We need sw768dp drawable copies because, without these, 10" tablet
will use updated sw600dp drawables wrongly.
* We have to keep drawable-mdpi as final fallback resources.
Bug: 4436327
Change-Id: I93db87ee99c2abb8d18e869e5411e3cb5bec1020
2011-05-23 19:44:50 +09:00
Tadashi G. Takaoka
88100d3651
Rename filename of hint icons for numbers (DO NOT MERGE)
...
Bug: 4436327
Change-Id: I1f3bc846683edc4be666dce8ea89659225ef7301
2011-05-23 19:10:39 +09:00
Jean Chalard
8c08a49895
Merge "Squash case for bigram insertion/lookup."
2011-05-23 02:34:48 -07:00
Tadashi G. Takaoka
3a38fef7a0
Remove CandidatesView related method call from voice ime
...
Change-Id: I33ccf2c141d94437b175222b9e65c0b4e2671a35
2011-05-23 18:05:46 +09:00
Tadashi G. Takaoka
20920c0178
Remove unnecessary executable permission from drawable
...
Cherry-Pick: Ie8644396e1df8fbc16e4047808857c91aa2451ba
Bug: 4436327
Change-Id: I6917876995f20361358b6e6577fc646795f04d7e
2011-05-23 16:22:49 +09:00
Tadashi G. Takaoka
51139a6104
Merge "Remove unnecessary executable permission from drawable" into honeycomb-mr2
2011-05-22 23:51:04 -07:00
Tadashi G. Takaoka
f4e2af842c
Remove unnecessary executable permission from drawable
...
Bug: 4436327
Change-Id: Ie8644396e1df8fbc16e4047808857c91aa2451ba
2011-05-23 15:49:00 +09:00
Jean Chalard
ed8c29568d
Squash case for bigram insertion/lookup.
...
Bug: 4464446
Change-Id: If7b6d73fb408d53f941c82ed4f47221e85c845d8
2011-05-23 15:44:35 +09:00
Tadashi G. Takaoka
f4911e4348
Rename resources with new scheme (DO NOT MERGE)
...
This change renames resources along with new naming scheme.
* large to sw600dp (7" tablet uses phone keyboard layout)
* xlarge to sw768dp (10" tablet)
Bug: 4436327
Change-Id: I96678fa699d2abcb48022d8878557f1486e839aa
2011-05-23 13:16:08 +09:00
Tadashi G. Takaoka
c142f5e48c
Fix Android Keyboard crash on hdpi device
...
Cherry-pick: I9fcb970c214e92ad7711fbbf4a375a8c3c6d024b
Bug: 4436327
Change-Id: I0d1831783cbff7b9056f84819fbcb8a4a9a34d5d
2011-05-21 14:51:05 +09:00
Tadashi G. Takaoka
4bb0992fd2
Fix Android Keyboard crash on hdpi device
...
Change-Id: I9fcb970c214e92ad7711fbbf4a375a8c3c6d024b
2011-05-21 03:26:38 +09:00
Tadashi G. Takaoka
28ad889d0e
Remove unused resources (DO NOT MERGE)
...
This change also syncs the drawables with Master.
Cherry-pick: I2573786aac5fd8d543cf12d24c951b67c7353fd7
Bug: 4436327
Change-Id: I88dc0162033a1017040205590c0c34a5111b835a
2011-05-20 21:43:20 +09:00
Tadashi G. Takaoka
20e16475e6
Merge "Remove manual config item controlling to show input language settings"
2011-05-20 03:02:14 -07:00
Tadashi G. Takaoka
29a4b1ac88
Merge "Reload keyboard after SoftInputWindow size changed"
2011-05-20 00:42:13 -07:00
Tadashi G. Takaoka
e896d31bb9
Reload keyboard after SoftInputWindow size changed
...
Bug: 4450008
Change-Id: Ic6c457db808d8e7479bfaa509192c07a384453e2
2011-05-20 16:23:20 +09:00
Tadashi G. Takaoka
9d98a7ed18
Merge "Fix copyright author from Google to AOSP"
2011-05-19 20:38:12 -07:00
Tadashi G. Takaoka
d794c6f078
Remove manual config item controlling to show input language settings
...
Change-Id: I77f831c653567f2cf214a5b61107b25cca6d751d
2011-05-20 12:36:46 +09:00
Tadashi G. Takaoka
f5443e4ef5
Replace large device keyboard with phone style keyboard (DO NOT MERGE)
...
This change also fixes copyright comments.
Bug: 4442045
Change-Id: I297a2c64e709fb0d613404e5f1de45d810f9de15
2011-05-20 12:28:26 +09:00
Tadashi G. Takaoka
8632bff2d5
Fix copyright author from Google to AOSP
...
Change-Id: Iaceedc783181e43af6dd48ece218a42eace66532
2011-05-20 12:09:57 +09:00
Tadashi G. Takaoka
24e6643fbc
Merge "Fix Serbian (Cyrillic) keyboard layout (DO NOT MERGE)" into honeycomb-mr2
2011-05-18 23:40:42 -07:00
Tadashi G. Takaoka
d73bdfeb18
Fix Serbian (Cyrillic) keyboard layout (DO NOT MERGE)
...
Cherry-pick: Iae1d8e9752c355d08d7f3d0fe7057fce61ea702f
Bug: 4406840
Change-Id: I5e0109b427093a459d2937809498985dc8409f97
2011-05-19 15:20:48 +09:00
Tadashi G. Takaoka
a4944dffa9
Fix NPE in Key.isDigitPopupCharacter (DO NOT MERGE)
...
This is the cherry-pick Ie6e8d31e41010db27e2db415b577458b73a9f1a2
Bug: 4442045
Change-Id: I004b15858d3d69b336c66accd0e078f0eaec0a9a
2011-05-19 14:36:47 +09:00
Tadashi G. Takaoka
96f185d8af
Fix NPE in Key.isDigitPopupCharacter
...
Change-Id: Ie6e8d31e41010db27e2db415b577458b73a9f1a2
2011-05-19 14:32:33 +09:00
Freeman Ng
0e8bbe3ab4
Merge "move setup wizard package name to google namespace"
2011-05-18 12:26:57 -07:00
satok
0b47f3af83
Merge "Show full display names in the popup of the spacebar language swicher"
2011-05-18 02:34:37 -07:00
Tadashi G. Takaoka
3f72d81388
Copy xlarge layout/values/drawable to large (DO NOT MERGE)
...
Bug: 4442045
Change-Id: Iaec97c019eed8f035fef0e8f0b7604db7ecba2b7
2011-05-18 18:28:31 +09:00
satok
eaa10f44a4
Show full display names in the popup of the spacebar language swicher
...
- Multiply the speed of the slide
Bug: 4427222
Change-Id: Ifd2de9843191296f0f311440ea7b8ab075c67d8d
2011-05-18 18:15:50 +09:00
Eric Fischer
a205d23ffd
Import revised translations.
...
Change-Id: I8d37e4dc59fbb9fdb55597b04840e86838ae0650
2011-05-17 17:05:55 -07:00
Jean Chalard
bf65f31c5f
Fix a bug in one of the methods to get a dictionary.
...
One of the two methods for getting a dictionary from the dictionary
pack had a bug and would not tolerate not getting an actual dictionary.
This change fixes that.
Change-Id: Id58bb27258494fb3aa60ec07a4eb27cfb5cc7279
2011-05-17 22:55:58 +09:00
Tadashi G. Takaoka
0041e96d69
Fix minKeyboardHeight of tablet
...
Change-Id: I5520a2e1abdc24736cb7ef96badefc06bb78e2a3
2011-05-17 00:26:54 +09:00
Tadashi G. Takaoka
a645d88228
Remove unused resources
...
Bug: 4436327
Change-Id: I2573786aac5fd8d543cf12d24c951b67c7353fd7
2011-05-16 16:22:39 +09:00
Tadashi G. Takaoka
869c8759a8
Cleanup VoiceIME related drawable
...
Bug: 4436327
Change-Id: I55d7ab043f32d51c32acfd11434214b79a7ae204
2011-05-16 12:09:31 +09:00
satok
1f050f6348
Fix NPE
...
Change-Id: Ib9a000ead8be91fab815dda161fcb258f678c3f4
2011-05-14 05:52:13 +09:00
Tadashi G. Takaoka
0da235208e
Merge "Fix missing max/minKeyboardHeight in es/pl/pt locale"
2011-05-13 05:33:14 -07:00
Tadashi G. Takaoka
3bedf1094c
Fix missing max/minKeyboardHeight in es/pl/pt locale
...
Change-Id: I7bb32aa918ed2f5f4785aaf070026fac1ae43592
2011-05-13 21:29:32 +09:00
Tadashi G. Takaoka
96e822c94c
Merge "Lower the key preview position a bit on phone layout"
2011-05-13 05:04:40 -07:00
Tadashi G. Takaoka
a3aeaaf3b5
Lower the key preview position a bit on phone layout
...
Change-Id: I90ded245ceb7e13d3e8a76d8c1cc0e7325ab6aab
2011-05-13 20:58:28 +09:00
Jean Chalard
bb02bd1d50
Merge "Add advanced settings screen"
2011-05-13 04:44:26 -07:00
satok
7f3674af5a
Merge "Fix null pointer exception in LatinIME"
2011-05-13 04:43:47 -07:00
Jean Chalard
240297d0ee
Add advanced settings screen
...
Also add an option for popup dismissal delay so as to inaugurate the
new screen. Besides, remove a path for options to escape from
LatinIME and replace with a direct read from the settings.
Change-Id: I7ec6e724262871fa6523506ecc39f65c5fbe34da
2011-05-13 20:40:21 +09:00
satok
fe1a6d961c
Fix null pointer exception in LatinIME
...
Change-Id: Ic4d60fe651bdc83771137c0f61f07c3879a3f1a1
2011-05-13 20:34:53 +09:00
Tadashi G. Takaoka
bdd732721d
Merge "Refactor KeyboardView constructor"
2011-05-13 04:08:20 -07:00
Tadashi G. Takaoka
bdd9341f61
Refactor KeyboardView constructor
...
Change-Id: I1fd869c180c6c9f966936fce90bc031bc7824983
2011-05-13 20:04:06 +09:00
Jean Chalard
17d6348f3f
Merge "Fix a bug with dictionary add interface."
2011-05-13 03:55:04 -07:00
Jean Chalard
777118a40a
Fix a bug with dictionary add interface.
...
Fix a bug where the "Touch again to save" message would not stay
on screen, following a wrong fix for a problem where Gingerbread-
would not display punctuation in the suggestion strip in
WebTextView.
Change-Id: I3556f83f867240ed7f16753450e6c975853208e5
2011-05-13 19:33:33 +09:00
satok
950def1df3
Merge "Update the setting of re-correction when user changed"
2011-05-13 03:19:18 -07:00
Tadashi G. Takaoka
d157834345
Auto text sizing using fraction of key height
...
Bug: 4411676
Change-Id: I8f289dcebe577d277fe2ad6a8331d59f735cbada
2011-05-13 18:44:57 +09:00
Tadashi G. Takaoka
13e6725a78
Merge "Add minKeyboardHeight attribute to Keyboard layout"
2011-05-13 02:41:50 -07:00
satok
9467a7a523
Update the setting of re-correction when user changed
...
Bug: 4401929
Change-Id: I5929e44f27ba057201110d814e9ec767d09c0ee7
2011-05-13 18:35:09 +09:00
Tadashi G. Takaoka
ce1902bb0e
Merge "Remove double high-reversed-9 quotation mark"
2011-05-12 23:12:55 -07:00
Tadashi G. Takaoka
b05c913fb1
Remove double high-reversed-9 quotation mark
...
Because current DroidSans font lacks double high-reversed-9 quotation
mark '\u201f' glyph (Bug: 4368421), this change remove it from symbol
keyboard popup mini keyboard. This change also removes corresponding
double low-9 quotation marks as well.
Bug: 4347045
Change-Id: I30d1493376efe5af98722e76999107de5dfcae3e
2011-05-13 13:02:32 +09:00
satok
cbcae9a6e8
Merge "Fix the available input locales and moved Recorrection"
2011-05-12 19:33:58 -07:00
Freeman Ng
1af8006352
move setup wizard package name to google namespace
...
bug: 3027897
Change-Id: I0113db212d41212142265a133c1763a4acd003a5
2011-05-12 16:55:08 -07:00
satok
f733074aae
Fix the available input locales and moved Recorrection
...
Bug: 4409091
Change-Id: I6efd23ebb9528bf1bd35320057a0ea264c187451
2011-05-12 20:26:24 +09:00
Jean Chalard
b47f4cd1c6
Merge "Fix a bug where the locale of the keyboard app would end up wrong."
2011-05-12 03:04:29 -07:00
Jean Chalard
039e6d7695
Merge "Fix a bug where suggestions would not update in Froyo WebTextView"
2011-05-12 02:51:24 -07:00
Jean Chalard
0d2843d852
Fix a bug where the locale of the keyboard app would end up wrong.
...
Change-Id: I1f9172dd987f8c2ed9b2f3d16a494e4cd264ead7
2011-05-12 18:50:21 +09:00
Jean Chalard
892b1fb18a
Fix a bug where suggestions would not update in Froyo WebTextView
...
Bug: 4396864
Change-Id: Ia45466319498ae7e35fe8a39b4e3a361d66ac2cc
2011-05-12 18:24:55 +09:00
Tadashi G. Takaoka
ff483e8d0c
Add minKeyboardHeight attribute to Keyboard layout
...
Bug: 4411676
Change-Id: I1f56ba58bacb90790f82326718bf9de95dba5d28
2011-05-12 18:19:12 +09:00
Tadashi G. Takaoka
ade1649331
Merge "Include horizontal and vertical gap in the count of Key.isOnKey" into honeycomb-mr2
2011-05-11 19:00:09 -07:00
Tadashi G. Takaoka
101a00e3d4
Revert "Added support for speaking keys through accessibility service."
...
This reverts commit dcade18113
.
Bug: 4379983
Change-Id: I2448d8f03990a39a3e328a88904d82efc70241a2
2011-05-12 00:14:55 +09:00
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