Tadashi G. Takaoka
824876ebbb
Merge "Fix JNI as 64bit ready"
2011-10-31 05:49:39 -07:00
satok
cbd8ece513
am 352b9310: Merge "Use reflection to get field values of SuggestionSpan" into ics-mr1
...
* commit '352b93104afa73fd53a04c4414bf382fcf477f04':
Use reflection to get field values of SuggestionSpan
2011-10-31 12:26:22 +00:00
Tadashi G. Takaoka
5fdcd7d5cd
Fix JNI as 64bit ready
...
Change-Id: I7a3ed2cee3b20744869aa5cf89ff9fd95f5ab8fe
2011-10-31 20:44:01 +09:00
satok
352b93104a
Merge "Use reflection to get field values of SuggestionSpan" into ics-mr1
2011-10-28 18:26:11 -07:00
Svetoslav Ganov
adc5e6f12c
am f2c57551: Merge "Removed lift-to-type from LatinIME accessibility." into ics-mr1
...
* commit 'f2c57551a70de651dc34bd2d73f5e622ba3887db':
Removed lift-to-type from LatinIME accessibility.
2011-10-28 22:27:19 +00:00
Eric Fischer
653dda2865
Merge "Import revised translations."
2011-10-28 12:16:15 -07:00
Eric Fischer
f1a44148d1
Import revised translations.
...
Change-Id: I980a04f15289bc1af6b150e4329795865686de63
2011-10-28 11:39:17 -07:00
Svetoslav Ganov
f2c57551a7
Merge "Removed lift-to-type from LatinIME accessibility." into ics-mr1
2011-10-28 11:13:15 -07:00
satok
68ef7b77ed
Use reflection to get field values of SuggestionSpan
...
Bug: 5440299
Change-Id: I5e40edf6f790c078c4a05d0d347a89d63f7c042a
2011-10-28 19:03:49 +09:00
Tadashi G. Takaoka
6f811bd13f
Merge "Make some private method static"
2011-10-27 22:57:58 -07:00
Tadashi G. Takaoka
8fbf29e2d5
Make some private method static
...
Change-Id: Ia23765268be0ef89d7fe7c3f5372ed32d6615765
2011-10-28 13:31:31 +09:00
Tadashi G. Takaoka
3122cf8daa
am 07a44557: Merge "Cancel pending rotation when another rotation start" into ics-mr1
...
* commit '07a445572f7fa21c0e24f5cdb0f0b88ff2adc672':
Cancel pending rotation when another rotation start
2011-10-27 22:59:14 +00:00
Tadashi G. Takaoka
07a445572f
Merge "Cancel pending rotation when another rotation start" into ics-mr1
2011-10-27 15:55:41 -07:00
Eric Fischer
d36f3f8393
Merge "Import revised translations. DO NOT MERGE" into ics-mr1
2011-10-27 09:46:05 -07:00
Ken Wakasa
644d33d60e
Display "Touch again to save" in the keyboard locale
...
bug: 524239
Change-Id: I227c193ba149f9296f8b1cf40aa3d9cf4e6ae2ab
2011-10-28 00:33:15 +09:00
Tadashi G. Takaoka
dd25e4fa2c
Cancel pending rotation when another rotation start
...
Bug: 5516802
Change-Id: Iccb0abeb94e6dc1322a98a0c744188bb74034c7f
2011-10-27 17:03:03 +09:00
Tadashi G. Takaoka
49998fc7d3
am 556a7147: Merge "Tweak more suggesitons modal tolerance a bit longer" into ics-mr1
...
* commit '556a7147c124d389da963ebda09410bfd61f5b18':
Tweak more suggesitons modal tolerance a bit longer
2011-10-27 02:35:12 +00:00
Tadashi G. Takaoka
37c6bbb675
am a7c41996: Merge "Preventing infinite call of dismissMoreKeysPanel" into ics-mr1
...
* commit 'a7c419964f46d1c354e81c5688f5da6b43428c9a':
Preventing infinite call of dismissMoreKeysPanel
2011-10-27 02:35:12 +00:00
Tadashi G. Takaoka
ab617c0745
am ba1c5d44: Merge "Add a few Arabic symbols" into ics-mr1
...
* commit 'ba1c5d44346eef1a6c05cdd11d504e9ebce3610f':
Add a few Arabic symbols
2011-10-27 02:35:11 +00:00
Alan Viverette
166530b195
Removed lift-to-type from LatinIME accessibility.
...
Bug: 5522854
Change-Id: I32df86450fa0d5dd9606609ea693d0e331b64b19
2011-10-26 18:52:08 -07:00
Eric Fischer
a54c178ea7
Import revised translations. DO NOT MERGE
...
Change-Id: I85572da23cd451558d994d8ac36faf1902f07f0d
2011-10-26 17:41:00 -07:00
Tadashi G. Takaoka
556a7147c1
Merge "Tweak more suggesitons modal tolerance a bit longer" into ics-mr1
2011-10-26 17:27:44 -07:00
Tadashi G. Takaoka
a7c419964f
Merge "Preventing infinite call of dismissMoreKeysPanel" into ics-mr1
2011-10-26 17:27:35 -07:00
Tadashi G. Takaoka
ba1c5d4434
Merge "Add a few Arabic symbols" into ics-mr1
2011-10-26 17:27:21 -07:00
Ken Wakasa
2be38a0faf
Merge "DO NOT MERGE: Fix a bug where the sequence numbers would be wrong" into ics-mr1
2011-10-26 16:21:11 -07:00
Eric Fischer
531b5543fc
Import revised translations. DO NOT MERGE
...
Change-Id: Ie99d52a052033a4994b95b25209fade85d628736
2011-10-26 11:11:11 -07:00
Tadashi G. Takaoka
ef543c725e
Merge "Use onCustomRequest to request haptick and audio feedback"
2011-10-26 07:54:23 -07:00
Tadashi G. Takaoka
d999ea4480
Use onCustomRequest to request haptick and audio feedback
...
Change-Id: I958f274d8cfebb1551cdf08f1bada50c20fb9ca0
2011-10-26 23:32:38 +09:00
Tadashi G. Takaoka
e648e83939
Merge "Remove eventTime argument from PointerTracker.onShowMoreKeysPanel"
2011-10-26 07:29:25 -07:00
Ken Wakasa
44f4d77b75
am cb8cb95d: Fix NPE
...
* commit 'cb8cb95d0afd340de9f1a0e15948f0068d2450bc':
Fix NPE
2011-10-26 14:25:28 +00:00
Tadashi G. Takaoka
e51d164482
Remove eventTime argument from PointerTracker.onShowMoreKeysPanel
...
Change-Id: Idbcd6e3047c6c0c407e3b347cf9f65951d43a312
2011-10-26 20:54:35 +09:00
Tadashi G. Takaoka
b35f70acec
Tweak more suggesitons modal tolerance a bit longer
...
Bug: 5459166
Change-Id: I18f10f7d537a451462cf7874e525c5eba103fb9a
2011-10-26 19:33:28 +09:00
Jean Chalard
5a0b4881f8
Merge "Group special spaces and double/swapped spaces in undo mode"
2011-10-26 03:19:58 -07:00
Jean Chalard
120586c226
Group special spaces and double/swapped spaces in undo mode
...
This introduces an elementary undo facility that accounts
for magic space, strong space, double space and its cancelling,
and swapped punctuation and its cancelling.
The former three were existing behavior ; this change adds
the swapped punctuation cancelling behavior.
Bug: 5454442
Change-Id: I87af633f30caa2788e9af725e556a7f0746d9a14
2011-10-26 19:12:55 +09:00
Jean Chalard
dec6c0f929
DO NOT MERGE: Fix a bug where the sequence numbers would be wrong
...
The spell checker cannot afford to return static objects,
seeing as the framework will then use the same objects to
pair the cookie and sequence ids to the request.
This is a backport of Ia9c3a933
Bug: 5503243
Change-Id: Ia9c3a933bfb30cf5525418b240ef60632d72c9d0
2011-10-26 17:57:00 +09:00
Tadashi G. Takaoka
0cf7a45ac5
Preventing infinite call of dismissMoreKeysPanel
...
Bug: 5514583
Change-Id: Idf8dd1ebba0afdb768e538c2626b60770421d4be
2011-10-26 17:03:41 +09:00
Tadashi G. Takaoka
7fe66ea42e
Add a few Arabic symbols
...
Bug: 5458689
Change-Id: I61ce876606ce3fa620d606752c8e5442b8ad78d6
2011-10-26 14:25:11 +09:00
Ed Heyl
720baf0cb3
Merge remote branch 'goog/ics-mr0' into ics-mr1
2011-10-25 19:50:41 +00:00
Eric Fischer
d726d09389
Merge "Import revised translations."
2011-10-25 11:47:24 -07:00
Eric Fischer
ace21e5b57
Import revised translations.
...
Change-Id: I45b2224d22ea73a50b7bfcc1a05b3ece25f402c5
2011-10-25 11:08:58 -07:00
Ken Wakasa
cb8cb95d0a
Fix NPE
...
bug: 5512097
Change-Id: Id6752c95c9c4b39e7975daa187a2ab92b740060a
2011-10-26 02:35:44 +09:00
Jean Chalard
d0c5f9395a
Cleanup.
...
Remove a state that can never be reached, and ajust all the
callers that would always have received false.
Change-Id: Iac025568be11743428419e0772da306a4f0a0bf1
2011-10-25 21:57:30 +09:00
Jean Chalard
ce668e7a0b
Small clean up.
...
Remove unused methods and constants.
Change-Id: If72e04394a2943b416915217d22cb6e58a0508b3
2011-10-25 21:35:43 +09:00
Jean Chalard
126698fdd2
Add a strong space behavior.
...
Bug: 5454442
Change-Id: Ic095cb65dd7b4427617cd74fc7c53a9666b218c4
2011-10-25 18:40:14 +09:00
Jean Chalard
c47c2dc65a
Merge "Fix a cosmetic bug where text would blink on space swap"
2011-10-25 02:14:28 -07:00
Jean Chalard
b715299125
Fix a cosmetic bug where text would blink on space swap
...
On space swap or space removal in some occasions there would be
a small blink on the screen. This change fixes that.
Change-Id: I486cbcc5dfcafd531b3fa92c4f9a3255832f22cc
2011-10-25 18:02:23 +09:00
Jean Chalard
cd43edbc32
Small clean up
...
Remove an unused method and constant
Change-Id: I3e99ea9fc182c83399d46aca81d1b69aab2c36d1
2011-10-25 17:12:51 +09:00
Eric Fischer
5809d47402
Import revised translations. DO NOT MERGE
...
Change-Id: Ifc8a89ad2be03ebbac311ab9b8ade1d168a592fd
2011-10-24 16:50:18 -07:00
Jean Chalard
cba1af9c56
Fix a bug where the sequence numbers would be wrong
...
The spell checker cannot afford to return static objects,
seeing as the framework will then use the same objects to
pair the cookie and sequence ids to the request.
Bug: 5503243
Change-Id: Ia9c3a933bfb30cf5525418b240ef60632d72c9d0
2011-10-24 22:40:41 +09:00
Jean Chalard
ee89b40a92
Merge "Use the contacts dictionary in the spell checker."
2011-10-24 03:48:34 -07:00
Jean Chalard
2e3c6da868
Use the contacts dictionary in the spell checker.
...
Bug: 5447495
Change-Id: I7292eb291a1630265884cc8e505a2e83a74f0c72
2011-10-24 19:44:01 +09:00
Tadashi G. Takaoka
b2b1eb5ca5
Call updateFulscreenMode before calling isFullscreenMode
...
Bug: 5495739
Change-Id: I25eab59833a8b95a0b75893d37a45e67504fa7d0
2011-10-24 15:30:49 +09:00
Eric Fischer
9e8ed3f7ce
Import revised translations. DO NOT MERGE
...
Change-Id: I0efc2b5673fae7551d2e4e438974f6c5aac79602
2011-10-21 14:42:50 -07:00
Jean Chalard
26a531c6fe
Rename a flag
...
...and insert some explaining commands
Change-Id: Iff6511e71d66abfaea9f6c21c47f74fa0a67ad78
2011-10-21 19:59:46 +09:00
Eric Fischer
6464273f7b
Import revised translations. DO NOT MERGE
...
Change-Id: I77b8dd34e9bdd9d22e850de7c075e9c4c99ff88a
2011-10-20 18:05:02 -07:00
Eric Fischer
bf33637eb2
Merge "Import revised translations. DO NOT MERGE" into ics-mr0
2011-10-20 11:28:36 -07:00
Eric Fischer
2a4e1b6dd3
Import revised translations. DO NOT MERGE
...
Change-Id: I6065f17e96761b203ebff71f81e1feb9de518aad
2011-10-20 11:16:39 -07:00
Tadashi G. Takaoka
49426a1ea9
Fix potential NPE
...
Bug: 5462524
Change-Id: I76012d1bbcd83d58f034c2f588802e4d1b7edc4d
2011-10-20 20:31:17 +09:00
Tadashi G. Takaoka
9f058749f2
am 61aebb0a: Merge "Update suggestions strip divider" into ics-mr0
...
* commit '61aebb0a1e3d12cd5287c9be3c2e37df565af888':
Update suggestions strip divider
2011-10-19 18:11:20 -07:00
Tadashi G. Takaoka
61aebb0a1e
Merge "Update suggestions strip divider" into ics-mr0
2011-10-19 18:09:17 -07:00
Tadashi G. Takaoka
78674d0ff7
Add warning log for unexpected inputType (DO NOT MERGE)
...
This is a cherry-pick of I3484c751 from Master.
Bug: 5130446
Change-Id: I140980bf093fb3310496c8021166d16f0ddc362f
2011-10-19 18:52:07 +09:00
Tadashi G. Takaoka
2c47080e7b
Update suggestions strip divider
...
Bug: 5142447
Change-Id: I275a304e46456e3b80968fb5de330a3b04bd2035
2011-10-19 16:54:37 +09:00
Tadashi G. Takaoka
82c8c2e6c0
Add warning log for unexpected inputType
...
Bug: 5130446
Change-Id: I3484c75144ba68db0734a4d38186d2eafd1b1879
2011-10-19 16:53:07 +09:00
Tadashi G. Takaoka
cc02aa8af3
Fix missing TypedArray.recycle calls
...
Change-Id: I333e55b4e7925dac5495e2e73ac57ffcef4fabb4
2011-10-19 13:06:33 +09:00
Eric Fischer
f6dffc3089
Merge "Import revised translations."
2011-10-18 16:36:38 -07:00
Eric Fischer
d707eeceb5
Import revised translations.
...
Change-Id: I3c98722dfddac5fe3b600cae61255f15540666e4
2011-10-18 15:50:51 -07:00
Eric Fischer
167f76aacb
Import revised translations. DO NOT MERGE
...
Change-Id: I6eaad7122120f7b6454028d5cae2b1db85a7280a
2011-10-18 11:16:04 -07:00
Tadashi G. Takaoka
bf7d8ecb48
Merge "Close XmlResourceParser when finish parsing"
2011-10-17 19:11:12 -07:00
satok
c5d51a40a4
am fe2d9079: Fix a bug that the typed word with the blue underline indicator will be duplicated
...
* commit 'fe2d90798ea409ee39d6f63942eb01bb7eed98e3':
Fix a bug that the typed word with the blue underline indicator will be duplicated
2011-10-17 11:32:24 -07:00
Tadashi G. Takaoka
ddd759aa9e
Close XmlResourceParser when finish parsing
...
Change-Id: If21ee187c83f044b235d88fba15af00e6ac8a308
2011-10-18 02:44:55 +09:00
satok
fe2d90798e
Fix a bug that the typed word with the blue underline indicator will be duplicated
...
Bug: 5466373
Change-Id: I0300c34cb6076b12ecb89cb29bea95288559108f
2011-10-17 13:25:22 +09:00
Tadashi G. Takaoka
d2bc850c4c
am 908a2f63: Merge "Special handling of one key mini-keyboard to mitigate visual flicker" into ics-mr0
...
* commit '908a2f63949687c9e7acb2e3d50fd50815582e8b':
Special handling of one key mini-keyboard to mitigate visual flicker
2011-10-14 12:21:17 -07:00
Tadashi G. Takaoka
75c4b5fe1b
am 5ad37baf: Merge "Release bitmap buffer when KeyboardView is detached from Window" into ics-mr0
...
* commit '5ad37baf1e09416b197da76881a30e79ac2032c7':
Release bitmap buffer when KeyboardView is detached from Window
2011-10-14 12:21:17 -07:00
Tadashi G. Takaoka
908a2f6394
Merge "Special handling of one key mini-keyboard to mitigate visual flicker" into ics-mr0
2011-10-14 12:20:02 -07:00
Tadashi G. Takaoka
5ad37baf1e
Merge "Release bitmap buffer when KeyboardView is detached from Window" into ics-mr0
2011-10-14 12:19:49 -07:00
satok
c1981eb83b
am 59a55fcb: Merge "Set SuggestionSpan with FLAG_AUTO_CORRECTION as a composing span" into ics-mr0
...
* commit '59a55fcbec6e9f2b856c3876e51da6191fd2774e':
Set SuggestionSpan with FLAG_AUTO_CORRECTION as a composing span
2011-10-14 11:16:59 -07:00
satok
59a55fcbec
Merge "Set SuggestionSpan with FLAG_AUTO_CORRECTION as a composing span" into ics-mr0
2011-10-14 11:15:14 -07:00
satok
53af4ae634
Set SuggestionSpan with FLAG_AUTO_CORRECTION as a composing span
...
Bug: 5460262
Change-Id: Ibeb875bb885fb663ed23f0299d671e995a66b642
2011-10-15 02:02:41 +09:00
Tadashi G. Takaoka
28d841534d
Release bitmap buffer when KeyboardView is detached from Window
...
Bug: 5450387
Change-Id: I3e60edd8c0ea70aff9e484f6e00dadcc8f8981f6
2011-10-14 20:13:16 +09:00
Tadashi G. Takaoka
a0e4f40994
Special handling of one key mini-keyboard to mitigate visual flicker
...
Use pre-computed width and height of mini keyboard if
* Popup key preview is enabled
* The mini keyboard has only one key
* Pre-computed width and height are specified
Bug: 5248783
Change-Id: I53475698e87d5bd67d36e63323c25a9e9f18fbb1
2011-10-14 17:49:48 +09:00
Tadashi G. Takaoka
6262fa5307
am ed6bc82d: Merge "Revert "Bug 5352720: IME_FLAG_NO_EXTRACT_UI is not enforced"" into ics-mr0
...
* commit 'ed6bc82d9785372c407e1a4f563ae7d30c479b8a':
Revert "Bug 5352720: IME_FLAG_NO_EXTRACT_UI is not enforced"
2011-10-13 22:09:08 -07:00
Tadashi G. Takaoka
8aecd2c990
am 431452d0: Revised Arabic alternates
...
* commit '431452d04bdb65916a23ec9ca66cfe06282f6e4a':
Revised Arabic alternates
2011-10-13 22:09:07 -07:00
Tadashi G. Takaoka
ed6bc82d97
Merge "Revert "Bug 5352720: IME_FLAG_NO_EXTRACT_UI is not enforced"" into ics-mr0
2011-10-13 22:07:17 -07:00
Tadashi G. Takaoka
d874ac581e
Revert "Bug 5352720: IME_FLAG_NO_EXTRACT_UI is not enforced"
...
This reverts commit b1bc5fd896
. (If3a73179)
Bug: 5410786
2011-10-14 12:15:24 +09:00
Tadashi G. Takaoka
431452d04b
Revised Arabic alternates
...
Bug: 5439635
Change-Id: Ic6ea1317f8892d5dbaaa7e0cbb274e8e06ea89d7
2011-10-13 21:45:06 +09:00
Tadashi G. Takaoka
b94166dedd
am 31e6d20d: Merge "Use consecutive Arabic TATWEEL for its label for discrimination" into ics-mr0
...
* commit '31e6d20db0c0883736a81bbc606d19a8710264b1':
Use consecutive Arabic TATWEEL for its label for discrimination
2011-10-12 23:50:12 -07:00
Tadashi G. Takaoka
31e6d20db0
Merge "Use consecutive Arabic TATWEEL for its label for discrimination" into ics-mr0
2011-10-12 23:48:44 -07:00
satok
22c2a23cda
am 605a6fea: Merge "Fix the safety net Bug: 5453150" into ics-mr0
...
* commit '605a6fea750c4acc96a5136ecaf7162e0a858b9f':
Fix the safety net Bug: 5453150
2011-10-12 23:46:25 -07:00
Tadashi G. Takaoka
706114382e
Use consecutive Arabic TATWEEL for its label for discrimination
...
Bug: 5446409
Change-Id: I448b39fda42d51139f53c9a48b1d743c5495fb51
2011-10-13 15:45:12 +09:00
satok
605a6fea75
Merge "Fix the safety net Bug: 5453150" into ics-mr0
2011-10-12 23:44:54 -07:00
satok
2aa1dd45c4
Fix the safety net
...
Bug: 5453150
Change-Id: I5990feb2622738988bf29843c6bcdb9cbf8bbf33
2011-10-13 15:16:59 +09:00
Tadashi G. Takaoka
ca922b440a
am 8a4472f0: Merge "Update virtual LED on shift keys" into ics-mr0
...
* commit '8a4472f0ecd774757c7077a40585f2d05e4f9210':
Update virtual LED on shift keys
2011-10-12 23:16:53 -07:00
Tadashi G. Takaoka
8a4472f0ec
Merge "Update virtual LED on shift keys" into ics-mr0
2011-10-12 23:15:05 -07:00
Tadashi G. Takaoka
1d8abfcf29
Update virtual LED on shift keys
...
Bug: 5142447
Change-Id: I69ca713071bca5a9ff3a0b710e1821264a15ea18
2011-10-13 13:58:46 +09:00
Tadashi G. Takaoka
283d35cb6c
am 62fb8a48: Merge "Take invisible extractArea height into account" into ics-mr0
...
* commit '62fb8a480df325ebc6b2a4dc023a944e3cd0bcef':
Take invisible extractArea height into account
2011-10-12 12:00:44 -07:00
Tadashi G. Takaoka
62fb8a480d
Merge "Take invisible extractArea height into account" into ics-mr0
2011-10-12 11:02:05 -07:00
satok
e596fe2702
am ef0a7b75: Merge "Suppress flickers of the auto correction indicator" into ics-mr0
...
* commit 'ef0a7b75462c75b756caa09d9dd356309968abf3':
Suppress flickers of the auto correction indicator
2011-10-12 10:10:41 -07:00
satok
ef0a7b7546
Merge "Suppress flickers of the auto correction indicator" into ics-mr0
2011-10-12 10:08:50 -07:00
satok
604d80c671
Suppress flickers of the auto correction indicator
...
Bug: 5440788
Change-Id: I7832b449ee777dbd87388a02cebdfee0ce350fbd
2011-10-12 19:14:13 +09:00
Tadashi G. Takaoka
d44647e76f
Take invisible extractArea height into account
...
Bug: 5410786
Change-Id: I97ce2d72f86ce62b37d408103863af66f91e7107
2011-10-12 19:13:28 +09:00
Tadashi G. Takaoka
7ca1a9dad4
am 9ad9425e: Merge "Fix code for initial form of Heh" into ics-mr0
...
* commit '9ad9425e9bc44c593e14da1f5953925cbf75a8a5':
Fix code for initial form of Heh
2011-10-11 23:30:59 -07:00
Tadashi G. Takaoka
ab18e39953
am 5f89fbae: Get rid of daggers from Arabic/Hebrew keyboard
...
* commit '5f89fbaea27666b6d7892e5ac48f40201922c06b':
Get rid of daggers from Arabic/Hebrew keyboard
2011-10-11 23:30:58 -07:00
Tadashi G. Takaoka
9ad9425e9b
Merge "Fix code for initial form of Heh" into ics-mr0
2011-10-11 23:29:16 -07:00
Tadashi G. Takaoka
79e3c2f13b
Fix code for initial form of Heh
...
Bug: 5446566
Change-Id: I9ea4ce288d0678083c6b94867b999f7ec4192097
2011-10-12 12:57:49 +09:00
Tadashi G. Takaoka
5f89fbaea2
Get rid of daggers from Arabic/Hebrew keyboard
...
Bug: 5445200
Change-Id: I5e4e19a17b0edcd0c0de8fa8fe4289b0ca7d66b1
2011-10-12 11:55:30 +09:00
satok
a86869711e
Merge "Add a settings to change the sound effect volume"
2011-10-11 06:29:11 -07:00
satok
79c0acf519
Add a settings to change the sound effect volume
...
Bug: 5345401
Bug: 5402541
Change-Id: I1e653573a3362160104b77388d6cbd1700424649
2011-10-11 22:25:13 +09:00
Tadashi G. Takaoka
8d4be2516a
Merge "Fix haptic and audio feedback of caps-lock mode changing"
2011-10-11 00:38:17 -07:00
Tadashi G. Takaoka
f44aeb6618
Fix haptic and audio feedback of caps-lock mode changing
...
Bug: 5435669
Change-Id: Ic1c1eb00d7e535a3ac602b9b505fd8bf43da5a8d
2011-10-11 15:27:56 +09:00
Tadashi G. Takaoka
ed2b6c714b
Remove unused import
...
Change-Id: I31115c29e47cdd09b2d8cc8f04e9fc9f9d542811
2011-10-11 12:53:36 +09:00
Tadashi G. Takaoka
6984a42024
Get rid of card suits from Arabic keyboard
...
Bug: 5439295
Change-Id: Idbcd51acb927d5a9d549c91c93a1a6e32ba8be24
2011-10-11 11:10:25 +09:00
Eric Fischer
381adec657
Merge "Import revised translations."
2011-10-10 11:49:56 -07:00
Eric Fischer
14583f9e5d
Import revised translations.
...
Change-Id: I26adc3038ae5f4d9593f7a71a9efc2967e77d223
2011-10-10 11:29:19 -07:00
satok
f8767fdb00
Merge "Turn off the auto correction space bar led by default"
2011-10-10 03:10:09 -07:00
satok
633f9592d1
Turn off the auto correction space bar led by default
...
Bug: 5245468
Change-Id: I0c25d733b21dcc43674d9fe4ca22dd2e1d18105a
2011-10-10 19:01:05 +09:00
satok
602bcecf6b
Merge "Put SuggestionSpan as the indicater of the auto-correction"
2011-10-10 02:58:22 -07:00
satok
ec780e2868
Put SuggestionSpan as the indicater of the auto-correction
...
Bug: 5245468
Change-Id: Ia5609e1b3c69f5553e3632fbce60a55665a5b185
2011-10-10 18:44:52 +09:00
Svetoslav Ganov
7c2d7ad634
Merge "Let accessibility users know to connect a headset when the IME connects to a password field."
2011-10-07 15:36:04 -07:00
Jean Chalard
fee149abe0
Use the whitelist as a dictionary in the spell checker.
...
Bug: 5402436
Change-Id: If89b8bbdebf6751697c4788270d01d4639cff665
2011-10-07 19:25:36 +09:00
Jean Chalard
266ae6964d
Merge "Fix a bug with the whitelist"
2011-10-07 02:50:11 -07:00
Jean Chalard
5f41b705fc
Fix a bug with the whitelist
...
This bug would kill the case where the whitelist contains
a word to be autocorrected to an uppercased version of
itself, and the user would enter the uppercase version.
In this case, this bug would cause the typed word to be
killed off the list of candidates, and possibly autocorrected
to the *next* candidate.
When the whitelist checks whether this the typed word is
a candidate for whitelisting, this change has it check whether
the whitelisting results in the typed word before returning.
Hence, it can keep the case-insensitive behavior of the
whitelist.
Coincidentally, this change renames the method used to do
this, because it does not comply with the general contract
of Dictionary. This happens to be in the way of another
upcoming change.
Bug: 5420371
Change-Id: Ifb305271acc5f171adf9b18c762ae7975b14be0a
2011-10-07 18:40:23 +09:00
Tadashi G. Takaoka
beac24226b
Merge "Add haptic feedback for caps lock"
2011-10-07 02:21:15 -07:00
Jean Chalard
af0f13d15c
Add pretty-printing to SuggestedWords.Builder to help debug
...
Change-Id: I2f40ca40f2b452078d0f24cef72e0182e10e2269
2011-10-07 14:35:18 +09:00
Tadashi G. Takaoka
416ee19d33
Add haptic feedback for caps lock
...
When long press triggers caps lock, the keyboard also triggers haptic
feedback.
This change also fixes trivial harmless bug in KeyboardSwitcher.
Bug: 5424681
Change-Id: I62706b49abd7be1dcebc3c5166ea03f426fc8c86
2011-10-07 13:57:49 +09:00
Tadashi G. Takaoka
ce9e4f926b
Merge "Use XmlPullParser interface instead of XmlResourceParser"
2011-10-06 18:10:19 -07:00
Alan Viverette
b0c8db018d
Let accessibility users know to connect a headset when the IME connects to a password field.
...
Change-Id: If96cd7626950dd12e88a8a97f5e405d303d41e06
2011-10-06 11:02:29 -07:00
Jean Chalard
3d36cdcd2d
Merge "Fix possible NPE in debug mode"
2011-10-06 03:44:24 -07:00
Jean Chalard
51075d145a
Fix possible NPE in debug mode
...
Change-Id: I55776110a489621c99e9a3bf58daa6fcaf415cb3
2011-10-06 19:36:40 +09:00
Jean Chalard
c53661f152
Fix a possible OutOfBoundsException
...
Change-Id: I6eb13c228738119c78496a96acaedbccefd83cd3
2011-10-06 19:05:23 +09:00
Tadashi G. Takaoka
406a54f41c
Use XmlPullParser interface instead of XmlResourceParser
...
Change-Id: I00e8a82aaaf5fec1e27707bce0a82cbfd1bc9fae
2011-10-06 18:40:32 +09:00
Jean Chalard
3458d61807
Make the whitelist an instanciable class.
...
This goes together with I6b8628b9acc32449e4147a2a754b222fbb76c754
or it will break the build
Bug: 5402436
Change-Id: I07c6266b713773a8de80bb22afdd4c566261f78a
2011-10-06 16:05:21 +09:00
Tadashi G. Takaoka
cf6d374505
Remove unused local variable
...
Change-Id: Ia71e03ee59153db1dbc35028569f7c76d5b12bf7
2011-10-04 16:46:15 +09:00
Tadashi G. Takaoka
ab72a97d7c
Cleanup unused import
...
This change also gets rid of several compiler warnings.
Change-Id: I23962edaadad18a6e0395d528af17b909dcf5dad
2011-10-04 12:46:20 +09:00
Yusuke Nojima
a25dd3b5c3
Merge "Pass the touch position correction flag from KeyboardSwitcher."
2011-10-03 04:42:53 -07:00
Yusuke Nojima
294e1b4a5a
Pass the touch position correction flag from KeyboardSwitcher.
...
Change-Id: Ia242a9fa2fa71f7fdf8f974071a2df7acc4aa51f
2011-10-03 20:41:03 +09:00
Jean Chalard
45f45a4fdb
Cleanup : remove recorrection-related stuff.
...
This removes UPDATE_OLD_SUGGESTIONS, and the associated settings.
Bug: 5402537
Change-Id: Ie87d4e05c54e4b7d2dd5a05f2d0b570e9cd3e463
2011-10-03 18:23:23 +09:00
Jean Chalard
fe5364c825
Cleanup : remove old recorrection code
...
This removes the calls, but another change will be needed to remove
the messages LatinIME used to send itself to update the suggestion
strip.
Bug: 5402537
Change-Id: I5d1aa63a892516f339f3ceac21f43771b5ffda34
2011-10-03 17:45:45 +09:00
Jean Chalard
6b64a0fedc
Merge "Fix a bug where moving the cursor would not reset selection"
2011-10-03 01:32:30 -07:00
Jean Chalard
cd95a36558
Fix a bug where moving the cursor would not reset selection
...
This change updates suggestions when the cursor is moved.
It is now reasonable to remove the explicit test for
TextEntryState.isAcceptedDefault because it is now shielded
by mExpectingUpdateSelection : actually, this probably fixes
a long-standing bug.
Bug: 5337309
Change-Id: Iee4046420c6a88d1a07d428230f93c3ebef25c39
2011-10-03 17:18:29 +09:00
Satoshi Kataoka
21ffb08a73
Merge "Fix obtainStyledAttribute not to look for default"
2011-10-03 00:50:21 -07:00
Tadashi G. Takaoka
a27812ae15
Fix obtainStyledAttribute not to look for default
...
Bug: 5402266
Change-Id: I8f84754b0080b315f9360e1ffa8353b386e88ad7
2011-10-03 16:48:03 +09:00
Jean Chalard
397f6f8299
Merge "Small refactoring"
2011-10-02 23:12:41 -07:00
Jean Chalard
4c0fe57198
Small refactoring
...
Change-Id: Ifc33e109562abb3dd720ad4fed76add8ab1a64aa
2011-10-03 14:58:34 +09:00
satok
904baab25a
Remove code related to AutoText
...
Bug: 5245751
Change-Id: Ic02f951e8e1dbde9d8964d2c16e4928fb374ca41
2011-10-03 14:38:44 +09:00
satok
0aa9595773
Merge "Move auto text to white list dictionary"
2011-10-02 22:11:50 -07:00
satok
e2b6617f4a
Move auto text to white list dictionary
...
Bug: 5245751
Change-Id: Ifc790ac6c0ac3b70006a5ed299f35b52b9617731
2011-10-03 14:08:50 +09:00
Tadashi G. Takaoka
ad2dfa7697
Fix keyboard theme parsing
...
This is a followup of I13b9997e.
Change-Id: I4c10fbc8b250c3bad72e38d46089684a839bdd5f
2011-10-03 12:34:36 +09:00
Tadashi G. Takaoka
aef4f906ff
Merge "Move themeId and touch correction data to Keyboard style"
2011-09-30 20:02:19 -07:00
Eric Fischer
991a473707
Import revised translations.
...
Change-Id: I9fe5fbc28c1bb82bd094841ba3edcbcd8fe1384a
2011-09-30 16:47:24 -07:00
Tadashi G. Takaoka
5c26922ab2
Move themeId and touch correction data to Keyboard style
...
Change-Id: I13b9997e013b704734b6fa94131b1f7fec7a152d
2011-09-30 22:59:53 +09:00
satok
62c7e25e11
Move SharedPreferencesCompat to com.android.inputmethod.compat
...
Change-Id: Ied336339b8eb3643f14517c251b07c09398f61fe
2011-09-30 20:17:32 +09:00
satok
ba76e6ff27
Show the duration of vibration in settings
...
bug: 5345401
Change-Id: I666d48d8ddf6c14540eb401129c20ce93972d9cf
2011-09-30 20:09:04 +09:00
Yusuke Nojima
da9f556a15
Merge "Classify touches into three types."
2011-09-30 01:26:15 -07:00
Yusuke Nojima
258bfe66e0
Classify touches into three types.
...
Change-Id: I7c1d42835e0c15d596a1b66d421b0aa514ec0890
2011-09-30 17:22:22 +09:00
Jean Chalard
646a66159a
Merge "Make use of the FULL_EDIT_DISTANCE flag."
2011-09-30 00:41:14 -07:00
Jean Chalard
673cebf9e9
Make use of the FULL_EDIT_DISTANCE flag.
...
In effect, this stops the spell checker from suggesting overly
long words.
More precisely, it takes advantage of the new facility that
takes into account the whole length of the dictionary word when
computing scores, so words much longer than the input word will
see their score demoted accordingly.
Bug: 5384578
Change-Id: I326cd7c87c3080e7fa8729f78517f8ba13672a9b
2011-09-30 16:00:07 +09:00
Tadashi G. Takaoka
59f8ca752d
Skip successive InputMethodService callbacks after orientation changed
...
IME is called back four methods for each input field as a IME life
cycle. The four methods are onStartInput, onStartInputView,
onFinishInputView and onFinishInput.
After orientation changed, Those quartet methods will be called back
twice. This behavior of the framework might be a bug.
In order to restore the previous keyboard layout, we should skip
onFinishInputView and onFinishInput of the first quartet and
onStartInput and onStartInputView of the second quartet.
Bug: 4311428
Change-Id: I450ddc0cce5d00abc971ffd42a507a8a86682548
2011-09-30 10:38:32 +09:00
Tadashi G. Takaoka
dc1afa8732
Merge "Fix CHAR LIMIT"
2011-09-29 08:10:44 -07:00
Tadashi G. Takaoka
e0aed8d3a2
Fix CHAR LIMIT
...
Bug: 5387401
Change-Id: I97161de79006a23e507a55041c7840267fbb2df8
2011-09-29 21:28:15 +09:00
satok
db096d681f
Merge "Add a flag to demote completed suggestions"
2011-09-29 03:58:27 -07:00
satok
40a5f6fa4d
Add a flag to demote completed suggestions
...
Bug: 5390063
Change-Id: I0ef4fbcc705539624269fd2f8c4e782679fc44b3
2011-09-29 19:48:18 +09:00
Ken Wakasa
a45c6f24c3
Add missing spacers in the number password layout
...
bug: 5366732
Change-Id: Ie9f56fb5bd9978d5882197a2305a96fb40fccb11
2011-09-29 19:25:37 +09:00
Jean Chalard
3ff95b7290
Merge "Add a threshold for suggestion score."
2011-09-29 01:47:50 -07:00
Yusuke Nojima
43149e454c
Merge "Pass the touch position correction data to native."
2011-09-29 01:42:54 -07:00
Jean Chalard
4609c02f9e
Add a threshold for suggestion score.
...
Bug: 5384578
Change-Id: Ic0b0203d873492a41c72defef835adf36f010f47
2011-09-29 17:38:08 +09:00
Yusuke Nojima
ad35835bac
Pass the touch position correction data to native.
...
Change-Id: I92958779377a530410d1682100f9d0a2ba267dea
2011-09-29 17:00:49 +09:00
satok
4866758a98
Merge "Update suggestions when user presses the backspace even when there is not two or more suggestions"
2011-09-29 00:19:17 -07:00
satok
074cda4d26
Update suggestions when user presses the backspace even when there is not two or more suggestions
...
Bug: 5384445
Change-Id: I419999da8f5745ac114d0173beeadcb365a8c3ac
2011-09-29 16:12:11 +09:00
Tadashi G. Takaoka
2087cf508a
Merge "Handle back key and outside touch correctly in more suggestions window"
2011-09-28 23:41:55 -07:00
Tadashi G. Takaoka
bfc1d732ac
Handle back key and outside touch correctly in more suggestions window
...
Bug: 5385284
Change-Id: Ic0517182d294c79e37c88f1ef30cb4d2917b2800
2011-09-29 15:07:15 +09:00
Yusuke Nojima
b45e095aa2
Merge "Add touch position correction data to resources."
2011-09-28 22:41:11 -07:00
Yusuke Nojima
d6339639c3
Add touch position correction data to resources.
...
Change-Id: I156205672f3935f70c250a6c538793f35c5d86b2
2011-09-29 14:29:23 +09:00
Jean Chalard
2f1fdf2889
Merge "Move some arguments to final members."
2011-09-28 21:22:09 -07:00
Jean Chalard
85782abaf1
Move some arguments to final members.
...
This is preparation for
Bug: 5384578
Change-Id: I7d493c441f375fa5f23c5e3cfa8134e2ce7775fe
2011-09-29 13:11:09 +09:00
Ken Wakasa
8d712e0d63
Remove unnecessary permission from open source LatinIME as well
...
Change-Id: Ifd954aa9133c8da49206f1f77a2d5d4f779cd99d
2011-09-29 12:40:44 +09:00
satok
433965784d
add vibration duration settings
...
Change-Id: I56a1a94df63160f367f866da759d7dd4fc428ed5
2011-09-29 11:46:20 +09:00
Jean Chalard
90086846dc
Merge "Change the logic of the LOOKS_LIKE_TYPO flag"
2011-09-28 03:59:26 -07:00
Jean Chalard
647db70fec
Change the logic of the LOOKS_LIKE_TYPO flag
...
It now follows the following logic:
- If the word should be filtered out => false
- Else => !IN_THE_DICTIONARY
This defines the behavior for ICS MR0, and prepares for addition
of a new HAS_LIKELY_SUGGESTIONS flag in MR1.
Bug: 5383800
Change-Id: I530b1404ae8cf3337ff68ef5ab0f4d95f2dad0e8
2011-09-28 19:42:43 +09:00
Tadashi G. Takaoka
2fc4248700
Introduce hit box to Key and get rid of edge flags
...
Change-Id: I2b78d2ca756223b5497d01127c3a0190dcc81e57
2011-09-28 19:31:37 +09:00
Yusuke Nojima
a59f65ad0c
Merge "Extend JNI interface to pass the theme id of the keybaord to the native."
2011-09-27 20:27:17 -07:00
Tadashi G. Takaoka
63584323ca
Add themeId to Keyboard
...
Change-Id: I6abdeaf41459406cf9021efdf5bb96232ba104c7
2011-09-28 12:08:48 +09:00
Yusuke Nojima
1c923d8581
Extend JNI interface to pass the theme id of the keybaord to the native.
...
Change-Id: I705ec2fa1d32a673a8d84bc9afc2a46208a414a1
2011-09-28 11:56:28 +09:00
Tadashi G. Takaoka
ffd156c77e
Postpone onDisplayCompletions until onStartInputView has been executed
...
Bug: 5108267
Change-Id: I42d297ce4e4913e5dab5f5d647b1d13dc860b884
2011-09-28 09:36:40 +09:00
Tadashi G. Takaoka
f451ed2012
Forward touch events above the keyboard to the suggestions strip
...
The gutter area between the suggestions strip and the top-row keys
looks like a part of the suggestions strip, and the touch events
landing on the area should be forwarded to the suggestions strip.
Bug: 5246673
Change-Id: I92af763be0feed21aa36ceffb5d575abe554f19e
2011-09-27 19:02:24 +09:00
Tadashi G. Takaoka
73cd4c1428
Fix onDeatchedFromWindow to protected
...
Change-Id: Ief666554ffd405a43363e66ea2bc2d87aa76a882
2011-09-27 15:18:02 +09:00
Ben Komalo
17fbdbc261
am 0b65f463: Merge "Mark IME as a core app" into ics-factoryrom
...
* commit '0b65f463c3cb9437d185a4a6439463f85620a9ce':
Mark IME as a core app
2011-09-26 12:02:20 -07:00
Ben Komalo
0b65f463c3
Merge "Mark IME as a core app" into ics-factoryrom
2011-09-26 12:00:55 -07:00
Jean Chalard
b95f454018
Merge "Fix a possible deadlock."
2011-09-26 02:30:21 -07:00
Jean Chalard
a9876980c8
Fix a possible deadlock.
...
Bug: 5359873
Change-Id: I80ae901c43b6ae59879e3c8b1a9dd8a937d558c1
2011-09-26 18:16:24 +09:00
Tadashi G. Takaoka
049e49fb85
Merge "Add horizontal edges paddings to phone/number layout"
2011-09-26 01:44:07 -07:00
Tadashi G. Takaoka
287f4f83e9
Add horizontal edges paddings to phone/number layout
...
Bug: 4948171
Change-Id: I8a06a25ffcbd141c9418e77e982233166a347914
2011-09-26 17:11:01 +09:00
Tadashi G. Takaoka
3829f363dd
Fix mini keyboard style on tablet device
...
Change-Id: Ib255697c606199e24e631ed886331d981c4dec38
2011-09-26 17:04:26 +09:00
Tadashi G. Takaoka
acf6b6815a
Merge "Fix keyboard row height calculation"
2011-09-25 19:25:28 -07:00
Tadashi G. Takaoka
8fbfac4ffb
Fix keyboard row height calculation
...
The keyboard height will be distrubuted as:
top_padding + (key_height + vertical_gap) * row_count - vertical_gap + bottom_padding
Change-Id: I841f356b9dbf8cfaf3756178bc9e4e6b2aa61364
2011-09-26 10:25:49 +09:00
Ken Wakasa
c9f562a9a4
Partially revert I0fa5eefc
...
bug: 5344295
Change-Id: Idb10e37862773a62ff60afe874844e8968a58b5d
2011-09-24 09:38:45 +09:00
Eric Fischer
3b2e030c45
Import revised translations. DO NOT MERGE
...
Change-Id: Ia96480c5178ad7f28e196502d31658326f9358e9
2011-09-23 15:29:35 -07:00
Ben Komalo
fde61497f0
Mark IME as a core app
...
Bug: 5233488
Change-Id: I58e05ee1187d4f32450037cb088129d1deec58b4
2011-09-23 15:10:13 -07:00
Fabrice Di Meglio
c66a7278d2
Merge "Revert "Use "..." instead of "\u2026"""
2011-09-23 15:08:23 -07:00
Fabrice Di Meglio
9bdce3a59e
Revert "Use "..." instead of "\u2026""
...
This reverts commit 8673ceb066
The Roboto Font is having the real ellipsis back
2011-09-23 14:59:33 -07:00
Justin Ho
1af5db91ed
am 992a4a98: Merge "Revert "New IME assets"" into ics-factoryrom
...
* commit '992a4a98908b095ec5023102d776ec2d749b3705':
Revert "New IME assets"
2011-09-22 10:33:40 -07:00
Justin Ho
992a4a9890
Merge "Revert "New IME assets"" into ics-factoryrom
2011-09-22 10:30:56 -07:00
Justin Ho
b2ef55a6b4
Revert "New IME assets"
...
This reverts commit 358e33aa88
2011-09-22 10:24:29 -07:00
Yusuke Nojima
b225516366
Merge "Extend JNI interface to pass the key coordinate information"
2011-09-22 02:50:51 -07:00
Yusuke Nojima
0e1f656c1b
Extend JNI interface to pass the key coordinate information
...
Change-Id: Iec0d1415d6abba43b775a014516b961b167597b7
2011-09-22 18:39:34 +09:00
Gilles Debunne
8d6fd877c5
am b1bc5fd8: Bug 5352720: IME_FLAG_NO_EXTRACT_UI is not enforced
...
* commit 'b1bc5fd896329a39ad51a8c79e2970750c814ea0':
Bug 5352720: IME_FLAG_NO_EXTRACT_UI is not enforced
2011-09-21 18:57:03 -07:00
Gilles Debunne
b1bc5fd896
Bug 5352720: IME_FLAG_NO_EXTRACT_UI is not enforced
...
CL https://android-git.corp.google.com/g/#/c/136474 refactored
the fullscreen test, but ithe IME_FLAG_NO_EXTRACT_UI test was
lost in the process.
Note that there is still a problem (orthogonal to that change
with key_preview_backing, which appears opaque and black sometimes.
I'll re-open 5315001.
Change-Id: If3a73179d21eaca10bdc948db7bac4b4f7a88d34
2011-09-21 16:14:30 -07:00
Tadashi G. Takaoka
68c7b9b195
Merge "Remove "autoCorrectInvert" feature from SuggestionsView"
2011-09-20 23:28:31 -07:00
Tadashi G. Takaoka
92a83e74ec
Merge "Fix key preview backing view height"
2011-09-20 23:24:43 -07:00
Tadashi G. Takaoka
77a87e3cb5
Remove "autoCorrectInvert" feature from SuggestionsView
...
Bug: 5162005
Change-Id: Iec679f5f05f28cd7e8013d7350ea03372f1cd7b2
2011-09-21 15:06:51 +09:00
Tadashi G. Takaoka
8673ceb066
Use "..." instead of "\u2026"
...
Because "TRHEE DOT LEADER" glyph of Roboto font is broken, we decide
to use "..." instead.
Bug: 5344295
Change-Id: I0fa5eefc00baf80747ff5215c018619a7e15a58e
2011-09-21 14:00:36 +09:00
Tadashi G. Takaoka
f5fe245df0
Fix key preview backing view height
...
Bug: 5344344
Change-Id: Ied0cda2c4b822b391ece54a6880fae8e349cc0bc
2011-09-21 11:22:05 +09:00
Tadashi G. Takaoka
3fc4ddec68
Sliding suggestions strip starts showing more suggestions
...
Bug: 5301019
Change-Id: I87daa9e472f9e93a6da9de754376b7fa4740171a
2011-09-21 10:42:50 +09:00
Eric Fischer
d79ca32543
Import revised translations. DO NOT MERGE
...
Change-Id: Ia9df50887d79187478c19dae66f8235587360a2c
2011-09-20 15:24:33 -07:00
Justin Ho
5e3340227d
am d36ad739: Merge "New IME assets" into ics-factoryrom
...
* commit 'd36ad739a4e5cef0e016b7f5c3fe6fa983a958a6':
New IME assets
2011-09-20 14:14:07 -07:00
Justin Ho
d36ad739a4
Merge "New IME assets" into ics-factoryrom
2011-09-20 11:16:40 -07:00
Eric Fischer
452a977b11
Merge "Import revised translations."
2011-09-20 11:03:14 -07:00
Eric Fischer
5de6586036
Import revised translations.
...
Change-Id: I74959a565a438f6f6a96b67275a84ac73015ed02
2011-09-20 10:41:51 -07:00
Justin Ho
358e33aa88
New IME assets
...
Change-Id: I5782a9f2c244e0b8651d99a53091469a325e1462
2011-09-20 07:26:16 -07:00
Ken Wakasa
37af28dd23
Enable vibrate on keypress by default
...
bug: 5337363
Change-Id: I14c95d27dd236d0a43e64a46ae6fbf9f2a97a3da
2011-09-20 20:31:03 +09:00
Ken Wakasa
34a9831811
Merge "Tweak LatinIME's keypress volume"
2011-09-20 04:07:38 -07:00
Tadashi G. Takaoka
95dba8a82c
Merge "The back button key event is delivered correctly"
2011-09-20 04:00:44 -07:00
Ken Wakasa
f58293f6eb
Tweak LatinIME's keypress volume
...
bug: 5337902
Change-Id: I7f864f158d110aa3e755961303799882f59b7e4c
2011-09-20 20:00:43 +09:00
Tadashi G. Takaoka
d7b00f3490
The back button key event is delivered correctly
...
Bug: 5275063
Change-Id: I439ce18665e40dc8b2e40e923e5cabfcae7c81cf
2011-09-20 19:51:03 +09:00
Tadashi G. Takaoka
6d8d25ee5a
(DO NOT MERGE) Update fullscreen mode also at onStartInputView
...
This is a cherry-pick cheof I190a71f7 from Master.
Bug: 5315001
Change-Id: I76c756eeecf21eec4c88dd4558d5c50f10ff3d3c
2011-09-20 16:59:00 +09:00
Tadashi G. Takaoka
3ea503c851
Merge "Update fullscreen mode also at onStartInputView"
2011-09-20 00:47:00 -07:00
Tadashi G. Takaoka
59010a89b8
Update fullscreen mode also at onStartInputView
...
This change also separates controlling visibility of "key preview
backing view" from suggestions strip visibility.
Bug: 5315001
Change-Id: I190a71f7956c804e5d89d2d5bacecc62d565ac2c
2011-09-20 16:38:24 +09:00
Jean Chalard
d2547c6888
Merge "Have the spell checker report IN_DICT correctly"
2011-09-19 23:19:47 -07:00
Ken Wakasa
8efe9bb15a
Merge "Tweak LatinIME's keypress vibration duration"
2011-09-19 19:29:09 -07:00
Ken Wakasa
28f36d68af
Tweak LatinIME's keypress vibration duration
...
bug: 5337363
Change-Id: If6e6de587cbcddf26710d8f0b237c4bc393589b6
2011-09-20 11:23:30 +09:00
Tadashi G. Takaoka
40fd76faf2
Use Build.HARDWARE to determine "sudden jumping hack"
...
Bug: 5182291
Change-Id: I6c1ec0c4dd0f96902be89a0ad230dd2264a0dade
2011-09-20 11:09:42 +09:00
Eric Fischer
43d8dee6ac
Import revised translations. DO NOT MERGE
...
Change-Id: I218f108021fa31b5ff137591864347c24ee324fc
2011-09-16 15:39:57 -07:00
Ken Wakasa
2d9722e46c
Update the theme pref key.
...
Follow up to Ia139813b
Change-Id: Ic4c2ea63041af02119dc404e704a04608d041163
2011-09-16 20:25:23 +09:00
Jean Chalard
e897e4d342
Have the spell checker report IN_DICT correctly
...
...even if the word is filtered out.
This also contains minor refactoring.
Bug: 5329658
Change-Id: I397a2a74f819a51df3bd07c6b94e8d29244389c4
2011-09-16 18:26:02 +09:00
Ken Wakasa
60e4997eab
Merge "Use the correct theme on ICS"
2011-09-16 01:08:56 -07:00
Tadashi G. Takaoka
dc7974d54c
Merge "Draw more suggestions hint using text font"
2011-09-16 01:07:17 -07:00
Tadashi G. Takaoka
cd0ee08656
Merge "Add missing "action" key background definition"
2011-09-16 00:48:15 -07:00
Tadashi G. Takaoka
0967ef4036
Draw more suggestions hint using text font
...
Bug: 5287964
Change-Id: I692b5303268c7b5115853177c956e147312c582d
2011-09-16 16:47:58 +09:00
Ken Wakasa
dc52a5621a
Use the correct theme on ICS
...
bug: 5329939
Change-Id: Ia139813b83eefe53863cae9cbe46b8b3a940e0df
2011-09-16 16:26:13 +09:00
Tadashi G. Takaoka
b66d0602c1
Add missing "action" key background definition
...
Change-Id: I11e7ad1ebcc2621c528a38fc82acf05011ca5d8b
2011-09-16 15:07:34 +09:00
Ken Wakasa
32cf5bb9f9
Stop auto-switching-back to the main layout by quotes.
...
bug: 5314117
Change-Id: Idcd6a146665b93eabdc03875b98988f9fa049791
2011-09-16 14:53:04 +09:00
Tadashi G. Takaoka
ba0e30f212
(DO NOT MERGE) Fix checking capitalized word code
...
This is a follow up change of If6c0edef.
This is a cherry-pick of Idb415f53 from Master.
Bug: 5328922
Change-Id: I36d8bda9fb95e4809598296226c598a9f08bd8bb
2011-09-16 12:40:09 +09:00
Tadashi G. Takaoka
436a645ea8
Fix checking capitalized word code
...
This is a follow up change of If6c0edef.
Bug: 5328922
Change-Id: Idb415f53f3fea6660c7802577d08b4d89d4e7842
2011-09-16 12:28:13 +09:00
Tadashi G. Takaoka
5b0c124ca8
Remove Key.isStick, use backgroundType="stick" instead
...
Change-Id: I50e88c0870a3fe360b81f19163ca2f64ec38d8e8
2011-09-15 18:33:01 +09:00
Tadashi G. Takaoka
a1b68eb126
Merge "Remove functionalKeyStyle, use backgroundType="functional" instead"
2011-09-15 02:28:42 -07:00
Jean Chalard
97ec205504
Merge "Add an option to user dict to match more precise locales"
2011-09-15 02:28:20 -07:00
Jean Chalard
cfed273922
Add an option to user dict to match more precise locales
...
This should not be used lightly, as it violates the general
contract of locale, and does kill some legitimate (albeit
alledgedly rare) use patterns.
Currently, the spell checker uses this because it uses a
negative logic: it should match broadly, and when in doubt,
match even more broadly, which is almost never the case of
something that uses the locale.
In other words: don't use this option unless you are
very, VERY sure that's what you want. Hint: it isn't
Bug: 5280929
Change-Id: Ib3cae319c692161d653630038c5bcde1f4340c05
2011-09-15 18:01:13 +09:00
Tadashi G. Takaoka
85c0ebddce
Remove functionalKeyStyle, use backgroundType="functional" instead
...
Change-Id: I5facf17779cfe50bdc71a3592e851b3f58295a92
2011-09-15 17:57:42 +09:00
Tadashi G. Takaoka
3dcb281fb0
Merge "Make action key background more visually prominent"
2011-09-15 01:51:15 -07:00
Tadashi G. Takaoka
a6d3a4d61b
Make action key background more visually prominent
...
Bug: 5232726
Change-Id: I76ff2fb431ca295693ceb231a0f13da44f9293e6
2011-09-15 17:40:44 +09:00
Jean Chalard
39fe5bfc3c
Merge "Avoid returning an object that's still used internally"
2011-09-15 00:28:19 -07:00
Jean Chalard
5c08151c22
Avoid returning an object that's still used internally
...
There is no definite path known for this to end up being
touched by other classes, but we could imagine through
some way or some other it ends up shoved in the stringbuilder
pool, leading to catastrophic results.
Hopefully related to
Bug: 5248688
Change-Id: Ib8abfc31263cbf31d515ed607ced5d8253971938
2011-09-15 16:23:03 +09:00
Jean Chalard
b568a627b4
Merge "Don't kill LatinIME if the spellchecker crashes."
2011-09-15 00:13:45 -07:00
Jean Chalard
199dc5e0e4
Don't kill LatinIME if the spellchecker crashes.
...
If the spellchecker encounters a bug and happens to crash,
it may be sensible to avoid killing the keyboard in response.
This is a possible way to do it, which comes with the big
drawback of making bugs in the spell checker harder to find.
Change-Id: Idb26fb592b9718e1dbdadeda8fbd1a8a1d805c28
2011-09-15 16:01:21 +09:00
Tadashi G. Takaoka
7918ed0169
Refactor Key.isFunctional to more generic Key.keyType
...
Bug: 5232726
Change-Id: Idc861ca725f62eaf37795f57401573394a17d6d3
2011-09-15 14:38:45 +09:00
satok
fa52a09f21
Merge "Remove experimental settings"
2011-09-14 02:57:58 -07:00
Jean Chalard
d2738757d2
Merge "Filter out of spellchecking words that don't look like words"
2011-09-14 02:05:48 -07:00
Jean Chalard
88fa53b840
Filter out of spellchecking words that don't look like words
...
Note that this affects only the results of the spell checker if
actually passed such a word. For example, the spell checker will
not flag "http://oju " as a typo, because it looks like a URL.
But in the current implementation, TextView passes "http" and
"oju" separately, so "oju" is still flagged as a typo.
Bug: 5281875
Change-Id: I9d721fd3af34edc51b11908cf2e8fe994b164242
2011-09-14 17:46:06 +09:00
Jean Chalard
adda8e358b
Add a string for main dictionary
...
Change-Id: I6d5a7af534faffc812537ad3068de22eec5112dc
2011-09-14 17:01:40 +09:00
satok
c9c54a84bc
Remove experimental settings
...
Bug: 5314288
Change-Id: I31cbc6da0ca5e61a5fa4a893c774f2110a5698f1
2011-09-14 16:24:39 +09:00
Jean Chalard
1586dc6edf
Merge "Fix a bug where the user dict's locale match would be wrong"
2011-09-13 23:44:44 -07:00
Jean Chalard
d97def5925
Fix a bug where the user dict's locale match would be wrong
...
This is preparation for
Bug: 5280929
Change-Id: Iab0096acf057aa288b1986d225aad815bd70b145
2011-09-14 15:41:46 +09:00
Jean Chalard
14c840fb27
Merge "Don't report 1-char words as typos"
2011-09-13 20:57:38 -07:00
Ken Wakasa
94f73000e3
Clean up the mini keyboard for the Double low-9 quotation mark U+201E key
...
bug: 5310432
Change-Id: I15fe2e9854e9bcf43e833c786feffcb1a081c565
2011-09-14 12:13:58 +09:00
Jean Chalard
63e55cd55e
Don't report 1-char words as typos
...
Bug: 5281875
Change-Id: If6b6d057e18390bf01dcd31c46104b6856fbdbda
2011-09-13 21:45:19 +09:00
Tadashi G. Takaoka
ea843f2a24
Make WordComposer aware of capitalized word
...
Change-Id: If6c0edef2334f018f2e04c6034f8ce747206f150
2011-09-13 19:11:10 +09:00
Tadashi G. Takaoka
6602b03e80
Merge "Linger the "more suggestions" when the user is sliding the touch point"
2011-09-12 21:33:14 -07:00
Tadashi G. Takaoka
02ce5392f5
Merge "Dismiss the more suggestions when the user is sliding down the touch point"
2011-09-12 21:32:40 -07:00
Tadashi G. Takaoka
87104bace9
Dismiss the more suggestions when the user is sliding down the touch point
...
Bug: 5299142
Change-Id: I466ff41948bbb49fb6874817ecfd94d338238d19
2011-09-13 13:03:50 +09:00
Tadashi G. Takaoka
2abd8547e3
Linger the "more suggestions" when the user is sliding the touch point
...
Bug: 5299024
Change-Id: I00b5e59ba480cbf057bdd69d1357d2c477be90f7
2011-09-13 13:03:24 +09:00
Tadashi G. Takaoka
697bf585f8
Update suggestions strip text color
...
Bug: 5287964
Change-Id: Ic40bb656873f41bb6d65427f02399464e831aab2
2011-09-13 12:54:59 +09:00
Eric Fischer
cd15b9300f
Mark configuration string as not translatable.
...
Change-Id: I691e5a2254c20d339f831ccc79c581b74079e8c9
2011-09-12 16:32:11 -07:00
Eric Fischer
9b5961ba5f
Merge "Import revised translations."
2011-09-12 10:16:39 -07:00
Eric Fischer
9ea0071f62
Import revised translations.
...
Change-Id: I8c8eddff23a899ed58aac7b4435ef3aa6f48f9fe
2011-09-12 09:57:59 -07:00
Ken Wakasa
eada6b880c
Merge "Update comment for "log_screen_metrics""
2011-09-12 03:16:50 -07:00
Ken Wakasa
2057f3b8d8
Update comment for "log_screen_metrics"
...
Change-Id: Ic558246814a09fa53c99c4b96ecd5c0f77ca5e93
2011-09-12 18:44:21 +09:00
Tadashi G. Takaoka
4630590350
Remove unused string resource ngram_category
...
This is a follow up change for Ib1fc608a.
Change-Id: Id53965310fa4d13739835f37e1d6facf5b654a3f
2011-09-12 18:12:46 +09:00
Tadashi G. Takaoka
290f563160
Merge "Rename mini keyboard template xml file"
2011-09-12 01:50:33 -07:00
Tadashi G. Takaoka
ed5fe5505e
Merge "Remove unused string resource label_more_key"
2011-09-12 01:50:20 -07:00
Tadashi G. Takaoka
74a571793e
Rename mini keyboard template xml file
...
This is a follow up change for Ic83cd120.
Change-Id: I459fb68a795dfedf9327bac5b63e9b031af1c167
2011-09-12 17:39:33 +09:00
Tadashi G. Takaoka
4486d77270
Introduce autoXScale label option
...
Bug: 5267649
Change-Id: I7fdcb98c209b7ccf73075ef3a4e758782fe161e3
2011-09-12 17:32:28 +09:00
Tadashi G. Takaoka
7ac280895f
Remove unused string resource label_more_key
...
Change-Id: Id798ad572344beca39e2775090c362ffc1a12809
2011-09-12 17:30:18 +09:00
Jean Chalard
f5ef30dfc6
Have the spell checker honor case
...
Bug: 5281103
Change-Id: I415c84dbb55f1eeb5deb9f248b4056881982ee13
2011-09-12 12:25:25 +09:00
satok
53bbf4da5a
Merge "Remove the exception in SubtypeSwitcher"
2011-09-09 02:49:18 -07:00
satok
1ecf0fb5d7
Remove the exception in SubtypeSwitcher
...
Bug: 5261455
Change-Id: Idb070702418caeb6cb975849d71b39952ac4afab
2011-09-09 18:44:48 +09:00
Jean Chalard
a40aba0022
Merge "Fix an NPE"
2011-09-09 02:18:11 -07:00
Jean Chalard
5955cfdaea
Fix an NPE
...
I think only the monkey can realistically stumble on this one,
but still.
Bug: 5276917
Change-Id: I0d9f76e4786973d3695fcd46127f0bed46621c33
2011-09-09 18:08:53 +09:00
Tadashi G. Takaoka
e304359213
Merge "Currency symbol keys are more aware of locale"
2011-09-09 00:52:46 -07:00
Tadashi G. Takaoka
f01ba10c8f
Merge "Cancel more suggestions when its outside is touched"
2011-09-09 00:49:15 -07:00
Tadashi G. Takaoka
9426f7df2a
Currency symbol keys are more aware of locale
...
* Locale is one of EU, main currency is Euro, and more currencies are
Pound, Yen and Dollar (plus Cent on 10" tablet)
* Locale is GB, main currency is Pound, and more currencies are
Euro, Yen and Dollar (plus Cent on 10" tablet)
* Locale has special currency symbol such as Hebrew,
main currency is the one, and more currencies are
Pound, Euro, Dollar (plus Cent on 10" tablet)
* Other than these, main currency is Dollar, and more currencies are
Pound, Cent, Euro (plus Yen on 10" tablet)
Bug: 5281876
Change-Id: I548dc663bafdb3b3f717f4328fda8dfcbafca2df
2011-09-09 16:46:10 +09:00
Tadashi G. Takaoka
530b4176c2
Merge "Fix potential ArrayIndexOutOfBoundsException"
2011-09-08 23:24:20 -07:00
Tadashi G. Takaoka
4a9be115f2
Cancel more suggestions when its outside is touched
...
Bug: 5241105
Change-Id: Ic28afaf998dabd3c5529286a3e60400d733d3d82
2011-09-09 14:21:43 +09:00
Tadashi G. Takaoka
8332fd0b81
Fix potential ArrayIndexOutOfBoundsException
...
Change-Id: I5dad81fb274cbbcf2c4f106825eecf8e4903461c
2011-09-09 09:42:22 +09:00
Tadashi G. Takaoka
2cb36637f4
Back button to dismiss the more suggestions
...
Bug: 5275063
Change-Id: If31e9a25d827f44c8d4ff455a780ec2a6d2d9bef
2011-09-09 09:33:35 +09:00
Tadashi G. Takaoka
a08a7e99b4
Merge "Add visual dividers to more suggestions panel"
2011-09-08 07:25:17 -07:00
Tadashi G. Takaoka
30bd8cb2da
Add visual dividers to more suggestions panel
...
Bug: 5275003
Change-Id: I9464db71388a40ea768984b4cf06c8da05bfa26c
2011-09-08 23:05:55 +09:00
Jean Chalard
af3b56c887
Fix a bug where the wrong suggestion score would matter.
...
Also introduce a few debug prints.
Bug: 5240463
Change-Id: Iea2fffa3be9d7bd69da751ece9e67e94e9819ee1
2011-09-08 21:17:24 +09:00
Tadashi G. Takaoka
236928c555
Merge "Make Spacer as extended Key class"
2011-09-08 01:44:24 -07:00
Tadashi G. Takaoka
18453d69e0
Make Spacer as extended Key class
...
Bug: 5275003
Change-Id: I809a8ca363ba72b22ac5cfd926414990f7e8467c
2011-09-08 17:38:50 +09:00
Ken Wakasa
293db0873f
Get rid of the double quote from the suggestion strip
...
bug: 5271209
Change-Id: I1823eaac07e184092bdf2a5d607fa08ff680fca5
2011-09-08 11:46:09 +09:00
Tadashi G. Takaoka
2be872555c
Use full screen mode on landscape/phone device
...
Bug: 5262767
Change-Id: I721c18522c972ced9f359f2e5208572d54a4b7a1
2011-09-08 11:02:55 +09:00
Ken Wakasa
6b97d2b9c2
Tweak bottom padding for the "..." popup hint
...
Follow up to I45bd6edf
bug: 5255103
Change-Id: I6d5368dadbaf6c7dffadd783d8a8756fea9dbff7
2011-09-07 21:58:30 +09:00
Tadashi G. Takaoka
ed3758e33c
Merge "Tune the threshold of fullscreen mode from 2.5in to 500dip"
2011-09-07 01:08:51 -07:00
Tadashi G. Takaoka
f80b6a0699
Tune the threshold of fullscreen mode from 2.5in to 500dip
...
Bug: 5262767
Change-Id: Ie418ab766951a568d0f40822d8e8d719582749ba
2011-09-07 16:37:50 +09:00
Tadashi G. Takaoka
ae56d5c33d
Merge "Use different reference character for hit label"
2011-09-07 00:30:32 -07:00
Tadashi G. Takaoka
2ed13003af
Use different reference character for hit label
...
Bug: 5255103
Change-Id: I45bd6edfa68abccb9d67fed617b88efad2bfcc04
2011-09-07 15:06:59 +09:00
Tadashi G. Takaoka
25047fca0b
Merge "Use Eastern Arabic numerals as hint label on phone"
2011-09-06 21:08:22 -07:00
Tadashi G. Takaoka
ad14c62981
Use Eastern Arabic numerals as hint label on phone
...
Bug: 5266051
Change-Id: I8981c43a4d8060395b97cc90accdefaa3c494895
2011-09-07 13:00:56 +09:00
satok
6d468c513f
Fix NPE in settings
...
Bug: 5246032
Change-Id: I452dab9bf863fb8cba142467f338088ee8b30283
2011-09-07 12:36:07 +09:00
Eric Fischer
ade62577d4
Merge "Import revised translations."
2011-09-06 11:51:57 -07:00
Tadashi G. Takaoka
c811ec7328
Merge "More suggestions view can be modal"
2011-09-06 03:24:04 -07:00
Tadashi G. Takaoka
115ec8eabe
Merge "Revert "search" icon back to white"
2011-09-06 03:18:54 -07:00
Tadashi G. Takaoka
50e1073e11
More suggestions view can be modal
...
Bug: 5241105
Change-Id: Ib430ee129b9f3cad0bdb1ae083b1068c51a5f2ea
2011-09-06 19:18:40 +09:00
Tadashi G. Takaoka
4269a7cebd
Add gap between suggestions strip and more suggestions
...
Bug: 5260292
Change-Id: Iba792ebe0767f5117f259bcb73ac0bff778b166e
2011-09-06 18:33:01 +09:00
Tadashi G. Takaoka
beaf82d8bb
Revert "search" icon back to white
...
Bug: 5232726
Change-Id: I97f53d70eb8eb3f0e88736e397ffd0c4397bcea7
2011-09-06 16:04:49 +09:00
Tadashi G. Takaoka
8ac6d505b7
More processTouchEvent from LatinKeyboardView to PointerTracker
...
Bug: 5241105
Change-Id: I8a5d15f43e2c9f294e78127eda68b0f85da5ad15
2011-09-06 15:57:15 +09:00
Tadashi G. Takaoka
ea0c567f86
Tune mini keyboard visual
...
This change only gets rid of the surrounding paddings of the mini keyboard.
Bug: 5248783
Change-Id: Idb95ac1467085c230fd60e4bc0f466fef5700bfb
2011-09-05 20:36:19 +09:00
Tadashi G. Takaoka
3f8351e186
Merge "Introduce maxMoreSuggestionsRow and minMoreSuggetionsWidth attributes to SuggestionsView"
2011-09-05 03:56:37 -07:00
Tadashi G. Takaoka
9676038b6e
Introduce maxMoreSuggestionsRow and minMoreSuggetionsWidth attributes to SuggestionsView
...
Bug: 5257594
Change-Id: Id52c841b72e38eb9034a1a7f26bcf3d4d81ad216
2011-09-05 18:59:37 +09:00
satok
6a9f0db202
Merge "Support automatic language"
2011-09-05 02:39:58 -07:00
satok
0cba0c11f6
Support automatic language
...
Bug: 5057886
Change-Id: I807776b0a3d1286c66ba032c3701b3503911664c
2011-09-05 17:54:01 +09:00
Tadashi G. Takaoka
1d8ec1cb9f
Merge "Rename suggestionsPaneViewStyle to moreSuggestionsViewStyle"
2011-09-05 01:39:33 -07:00
Tadashi G. Takaoka
0e7bd388d2
Merge "Get rid of LinearLayoutCompatUtils"
2011-09-05 01:22:15 -07:00
Tadashi G. Takaoka
0e2fa66144
Rename suggestionsPaneViewStyle to moreSuggestionsViewStyle
...
Change-Id: I30873ad870c728e28a044baf9946b4461ab03575
2011-09-05 16:48:56 +09:00
Tadashi G. Takaoka
c412309b7a
Get rid of LinearLayoutCompatUtils
...
Change-Id: If0f63eaeb4539c0e03ef20190d2f9211a176babc
2011-09-05 16:15:28 +09:00
Jean Chalard
59b501a050
Only set LOOKS_LIKE_TYPO if the max score meets a threshold
...
Bug: 5240463
Change-Id: I51e85edae57789d638aa1e12b82e6a75c49d33c7
2011-09-05 12:31:43 +09:00
Eric Fischer
7becf36a07
Import revised translations.
...
Change-Id: Ib94827629904dceb6808f4571b81b7f42dafe026
2011-09-02 15:07:23 -07:00
Tadashi G. Takaoka
787bac0603
Merge "Use separate View for key preview backing"
2011-09-02 12:59:31 -07:00
Tadashi G. Takaoka
abb0c77af1
Use separate View for key preview backing
...
Bug: 5246982
Change-Id: Icec4281cb01771909fcece36647ee42ba179118c
2011-09-03 01:36:26 +09:00
satok
e197542a57
Merge "Add logs"
2011-09-02 04:21:07 -07:00
satok
8e5d12af9f
Add logs
...
Change-Id: I640186c8be8013841b542e8cefa5f033eb7afc32
2011-09-02 19:55:09 +09:00
Tadashi G. Takaoka
f2bd8a07bb
Merge "Squash MiniKeyboardKeyDetector and SuggestionsPaneKeyDetector into one"
2011-09-02 03:08:41 -07:00
Tadashi G. Takaoka
9734ecbf46
Squash MiniKeyboardKeyDetector and SuggestionsPaneKeyDetector into one
...
Bug: 5241105
Change-Id: I4c310373fb8b2426fb46205fa17a49a8346f8244
2011-09-02 17:58:39 +09:00
Tadashi G. Takaoka
d4d9b33c39
Move Row class into KeyboardBuilder
...
This is a followup of I5929e656.
Bug: 5245837
Change-Id: I06bc2774f77a2c5ddf0b6fe1b3ee70e9b3a7dd23
2011-09-02 17:51:27 +09:00
Tadashi G. Takaoka
08e64e1874
Merge "Calculate x coordinate with floating point"
2011-09-02 01:13:34 -07:00
Tadashi G. Takaoka
ae835286b7
Merge "Rename a resource more appropriate one"
2011-09-02 01:07:36 -07:00
Tadashi G. Takaoka
f8c617028b
Merge "Squash SuggestionsStripParams into SuggestionsViewParams"
2011-09-02 01:07:30 -07:00
Tadashi G. Takaoka
b58925ea0d
Calculate x coordinate with floating point
...
This change also fixes some keyboard layouts a bit.
Bug: 5245837
Change-Id: I5929e656763b150e71afe89238386904da214e21
2011-09-02 17:05:24 +09:00
Tadashi G. Takaoka
3e0511e304
Merge "Move current x coordinate value into Row class"
2011-09-02 00:58:15 -07:00
Tadashi G. Takaoka
99f6760c40
Rename a resource more appropriate one
...
Bug: 5246982
Change-Id: Ic0e43c0e67f63ea069dd4758cf900765ad7a3678
2011-09-02 16:56:19 +09:00
Tadashi G. Takaoka
d3e50a2acf
Squash SuggestionsStripParams into SuggestionsViewParams
...
Bug: 5246982
Change-Id: Idc2563cb0175aabc4282f9fd45eefaa129ed4961
2011-09-02 16:53:38 +09:00
Tadashi G. Takaoka
e84274ede1
Move current x coordinate value into Row class
...
This is a preparation to address the issue.
Bug: 5245837
Change-Id: If5d463304c1689a840c8b761fedb0a8e2193734b
2011-09-02 16:24:36 +09:00
Ken Wakasa
9a33611b1a
Merge "Remove unreferenced assets in LatinIME Bug: 5032006"
2011-09-02 00:21:40 -07:00
Jean Chalard
5bb7a64fe2
Merge "Fix an NPE in settings"
2011-09-01 23:42:43 -07:00
Jean Chalard
ad56a9ac51
Fix an NPE in settings
...
Change-Id: I264c001a9cc28f864ad024fcf51fb42e9c203d3f
2011-09-02 15:35:23 +09:00
Jean Chalard
66a5884ad8
Merge "Add an option to prevent insertion of suggestion spans"
2011-09-01 22:57:39 -07:00
Jean Chalard
1531528bfe
Add an option to prevent insertion of suggestion spans
...
This is to help debug of
Bug: 5250788
Change-Id: I961321aff3776c4912eaf7a1fa4de0c01d715f24
2011-09-02 14:43:13 +09:00
Tadashi G. Takaoka
78778ca9df
Merge "Dim keyboard when more suggestions are shown"
2011-09-01 22:21:22 -07:00
Justin Ho
fa5f94cde7
Remove unreferenced assets in LatinIME
...
Bug: 5032006
Change-Id: I05b7df6c4ac4d7a32d052e0f2e98a3b9538a198e
2011-09-01 10:45:12 -07:00
Jean Chalard
2e58804a98
Merge "Change settings wording for ICS"
2011-09-01 04:39:54 -07:00
Jean Chalard
7bf1d7f437
Change settings wording for ICS
...
Bug: 5066983
Change-Id: I7f5e680da963dc4e9cf4744f7696cb35a9ca3efb
2011-09-01 19:46:25 +09:00
Tadashi G. Takaoka
1b087064c0
Dim keyboard when more suggestions are shown
...
Bug: 5241009
Change-Id: Ia42bcfc34dddf93d35f9cea8a4f0efead6ce3a6a
2011-09-01 18:48:19 +09:00
Tadashi G. Takaoka
913e2aeef2
Rename CandidateView to SuggestionsView
...
Change-Id: I6480cdf025f065130e1969899b259a243e7a11be
2011-09-01 15:41:34 +09:00
Jean Chalard
b17300e2f0
Merge "Fix a bug where autotext would occasionally not work"
2011-08-31 22:42:11 -07:00
Tadashi G. Takaoka
537e3d3696
Merge "Remove unused suggestions pane code"
2011-08-31 22:35:12 -07:00
Tadashi G. Takaoka
3a566c48b0
Remove unused suggestions pane code
...
This is a followup for Ie1d69131.
Bug: 5023981
Change-Id: I42ec596af40cb7dcdd84b96ba5bff9ef1fb5dc92
2011-09-01 14:28:59 +09:00
Tadashi G. Takaoka
d81479a340
Implement KeyboardLocale InputMethodSubtype extra key
...
The locale is specified by KeyboardLocale extra key in method.xml,
LatinIME will use the specified locale for keyboard layout.
Bug: 5238658
Change-Id: I8e6cb66c73a7ac1bf611d9910b42fa9cff38eba0
2011-09-01 14:05:01 +09:00
Jean Chalard
358e1327d8
Fix a bug where autotext would occasionally not work
...
Autotext correction would check whether the first suggestion
so far was the same as what Autotext would return, and if it
was indeed the same, would not send its result as
autocorrect. However, the first suggestion is not guaranteed
to have a high enough score to trigger autocorrection, and
there would be cases where a word in autotext would not get
autocorrected because the word came out of bigram
suggestions. These occurrences would be extremely rare, as
they would require concomitant insert between autotext for
one char and bigram suggestion. It is, in fact, probably
limited to the capitalization of "I".
This did not happen in gingerbread because gingerbread would
not register 1-letter words as valid bigrams.
This fix works by just always sending the result of autotext
regardless of whether it is already the first suggestion or
not. This is okay because duplicates are removed afterwards
anyway - and this processing is absolutely necessary because
the autotext'd word may actually be somewhere else in the
suggestion, so it made really no sense checking for only the
first one.
Please note that there is also a race condition that can
result in "i" not being converted to "I": at the moment,
Latin IME relies on having the suggestions evaluated
at the time autocorrection is performed, but when typing
very, very fast, those messages may have been canceled.
This is not limited to the autocorrection of "i", but
affects all autocorrections. It requires a nearly
inhumane typing speed to trigger, but hitting "i" and
space in turn as fast as one can it's possible to
reproduce occasionally.
Bug: 5135113
Change-Id: I530ea6212487300001a2c0fc5b25a5c7716bdf63
2011-09-01 12:59:17 +09:00
Tadashi G. Takaoka
b91b3a3e5c
Merge "Rename alternates_for_ as more_keys_for_"
2011-08-31 05:54:38 -07:00
Tadashi G. Takaoka
fdec5c1a78
Merge "Implement popup suggestions pane"
2011-08-31 05:23:54 -07:00
Tadashi G. Takaoka
29e7b7ed6e
Implement popup suggestions pane
...
Bug: 5023981
Change-Id: Ie1d69131dbf884a3f6a2beb3ac3427e5437c1486
2011-08-31 21:21:22 +09:00
Tadashi G. Takaoka
623ac18174
Rename alternates_for_ as more_keys_for_
...
This is a followup change for I37209a5a.
Change-Id: I17cf4596034ed900cb4c769f89a2607a53b19c0a
2011-08-31 21:14:59 +09:00
Jean Chalard
0fd2135219
Merge "Fix a possible NPE"
2011-08-31 03:06:37 -07:00
Jean Chalard
a770d650b5
Fix a possible NPE
...
Change-Id: I5c57752772414b4f9475d0ad43d7fc52b97c3f33
2011-08-31 19:04:34 +09:00
Tadashi G. Takaoka
e5c705f164
Fix missing renames
...
This is a followup for Ic83cd120.
Change-Id: Ib51bae45939aa67394c5988a4f4451c20fff6959
2011-08-31 18:47:21 +09:00
Tadashi G. Takaoka
dcb1c7b802
Merge "Rename PopupCharactersParser to MoreKeySpecParser"
2011-08-31 02:39:03 -07:00
Tadashi G. Takaoka
9d5601e901
Rename PopupCharactersParser to MoreKeySpecParser
...
Also renames PopupPanel to MoreKeysPanel
Change-Id: I37209a5a8fe7dbba1eef03e3be88ba5253653926
2011-08-31 18:34:35 +09:00
Ken Wakasa
b2f93c53db
Merge "Update the LatinIME app icon"
2011-08-31 00:47:52 -07:00
Tadashi G. Takaoka
2fe9a43ab7
Merge "Remove unused XML attribute"
2011-08-31 00:14:55 -07:00
Ken Wakasa
8ab247700f
Update the LatinIME app icon
...
bug: 5209784
Change-Id: I67be041f55732abbff7722c0e782277497a773bc
2011-08-31 16:09:01 +09:00
Tadashi G. Takaoka
79dc056d22
Remove unused XML attribute
...
This is a followup for Ic83cd120.
Change-Id: Iecdcf28e2e07e1110c1b2974a9cb994ab2c0a769
2011-08-31 16:08:25 +09:00
Jean Chalard
b29b225847
Merge "Clean up bigram settings"
2011-08-31 00:03:41 -07:00
Jean Chalard
18ccd552a8
Clean up bigram settings
...
Move bigram suggestion option to the advanced settings screen,
remove bigram prediction option for ICS release and remove the
now-empty bigram option category.
Bug: 5240082
Change-Id: Ib1fc608ad33d5598410f7b0cb4a1639bffef28c7
2011-08-31 15:41:13 +09:00
Tadashi G. Takaoka
0e7ee45f54
Merge "Rename PopupMiniKeyboardView to MiniKeyboardView"
2011-08-30 23:39:14 -07:00
Tadashi G. Takaoka
9237a72634
Rename PopupMiniKeyboardView to MiniKeyboardView
...
Change-Id: Ic83cd1200cfb8f8c0b0cfbcad449031b8e8a29e0
2011-08-31 15:30:54 +09:00
Jean Chalard
fcee70ea92
Merge "Check the magic number of a decoded file"
2011-08-30 22:58:29 -07:00
Jean Chalard
7a408431fe
Check the magic number of a decoded file
...
Checking the magic number of a file upon decoding is necessary,
because if the file is corrupt and we don't check it, we will
fall back to a simple copy of the corrupted file. Latin IME
would realize this and would not crash, but would not use the
corrupted dictionary. If this happened to be a main dictionary,
then the user would lose the ability to use the correct
built-in dictionary.
Not the same, but kinda similar to
Bug: 5223031
Change-Id: Ic2783dc9dd5f3dcf2865623d9452765fe3778db7
2011-08-31 14:37:11 +09:00
Tadashi G. Takaoka
b8dc674663
Get rid of MeasureSpec.UNSPECIFIED
...
Bug: 5023981
Change-Id: I14ded3c3d554ac72b66f190110652f54d91df954
2011-08-31 14:15:20 +09:00
Tadashi G. Takaoka
241f1cfdf6
Add outputText and icon to the Key constructor
...
This is a follow up change for I737bacb1.
Bug: 5023981
Change-Id: I980e3e993c81afe4fbdb95c9c263d7aa52aff66c
2011-08-30 21:47:12 +09:00
Tadashi G. Takaoka
39cc806605
Merge "Cleanup keyboard related code a bit"
2011-08-30 03:40:37 -07:00
Tadashi G. Takaoka
c06d0ef01d
Cleanup keyboard related code a bit
...
Change-Id: I04f1014ab3b115bd457e25a267d2e46d306c8a0e
2011-08-30 19:16:46 +09:00
Tadashi G. Takaoka
392276d73d
Add Key constructor for suggestions pane
...
Bug: 5023981
Change-Id: I737bacb1a6bb40f70be65d6eff85614afe6c79ed
2011-08-30 19:14:52 +09:00
Tadashi G. Takaoka
84b1284d01
Revert "Add hintLabel to Key constructor"
...
This reverts commit be34d97334
.
Bug: 5023981
Change-Id: I34f75cde035f04a9a82c9259442ed0e255cb7118
2011-08-30 18:40:21 +09:00
Tadashi G. Takaoka
be34d97334
Add hintLabel to Key constructor
...
This change also partialy reverts I5832421c, because of incorrect
popup mini key width calculation.
Bug: 5023981
Change-Id: I1acde090c01d3d861fcc5559cad81e638de2c2bb
2011-08-30 16:48:38 +09:00
Tadashi G. Takaoka
619f707c95
Fix another mismatched attribute in KeyboardView
...
This is a followup of Iea7f8f34.
Bug: 5023981
Change-Id: I1135383ff0f0a2b8a5940d0d5c407fd01706a7f7
2011-08-30 15:19:42 +09:00
Tadashi G. Takaoka
3e63fbe400
Fix mismatched attribute in KeyboardView
...
This is a followup of Iea7f8f34.
Bug: 5023981
Change-Id: Ice6d949581aea7ca68799be2b91ff28234dd88d6
2011-08-30 14:55:56 +09:00
Tadashi G. Takaoka
60dfe896d4
Update "search" icon
...
Bug: 5232726
Change-Id: Ie42729d15dad05c1650b021396596c1f09c844c2
2011-08-30 14:38:19 +09:00
Tadashi G. Takaoka
2d80400a23
Fix keyLetterSize and keyLabelSize format
...
This is a followup of Iea7f8f34.
Bug: 5023981
Change-Id: I375a1647343e1d5fa80b328a6824f6c549135e80
2011-08-30 14:20:15 +09:00
Tadashi G. Takaoka
aed8598e3f
Add translatable=false to the device list
...
Bug: 5222586
Change-Id: I0a1dd27c6719d38f6344300fc027162cc47a2976
2011-08-30 09:28:35 +09:00
Tadashi G. Takaoka
3b71e5fae6
Merge "Add keyLetterSize and keyLabelSize as KeyboardView attribute"
2011-08-29 08:13:29 -07:00
Tadashi G. Takaoka
83da6c18fb
Add keyLetterSize and keyLabelSize as KeyboardView attribute
...
Bug: 5023981
Change-Id: Iea7f8f340775cbb093c50d6e741b2f1476e9ac39
2011-08-29 23:45:05 +09:00
Tadashi G. Takaoka
2315bfc7c8
Clean up some MiniKeyboard.Builder code
...
Change-Id: I5832421cab3d496d4bb8a5e9902d0b5f4929fd0b
2011-08-29 21:15:05 +09:00
Tadashi G. Takaoka
a9311741b8
Merge "Add KeyboardActionListener.Adapter"
2011-08-29 03:19:04 -07:00
Tadashi G. Takaoka
e3be3bcebc
Add KeyboardActionListener.Adapter
...
Change-Id: If13df42efffc7cef746c09d5abfe7a8619452a0b
2011-08-29 19:09:56 +09:00
Jean Chalard
5406d63d34
Merge "Fix a bug with synchronicity of spell checking/user dict"
2011-08-29 02:55:46 -07:00
Tadashi G. Takaoka
46286874f3
Add guard to prevent possible IllegalStateException
...
Bug: 5227682
Change-Id: Iff93b425f52981b5e2c65e309b07bcfe4485eeb1
2011-08-29 18:38:04 +09:00
Jean Chalard
f019d505d7
Fix a bug with synchronicity of spell checking/user dict
...
This fixes a race condition that would end up with the spell
checker not finding some words in the user dictionary when it
just booted.
Bug: 5194627
Change-Id: I1ba911cc53e6ae3b111d54a6f91d1d5feef3f5de
2011-08-29 18:33:20 +09:00
Tadashi G. Takaoka
ed23cc7f0b
Merge "Make PopupPanel decoupled with LatinKeyboardView and Keyboard"
2011-08-29 01:27:07 -07:00
Tadashi G. Takaoka
f44a01b408
Make PopupPanel decoupled with LatinKeyboardView and Keyboard
...
Bug: 5023981
Change-Id: Ib4fd55d52718aa244178ca2313f5e8487378324f
2011-08-29 17:07:48 +09:00
Jean Chalard
940514989a
Merge "Move locale-related utility methods to LocaleUtils."
2011-08-28 20:34:02 -07:00
Jean Chalard
ef35cb631c
Move locale-related utility methods to LocaleUtils.
...
Change-Id: I7e9e6e5bc4486d8618d0213b112308c3d305c15e
2011-08-29 12:29:35 +09:00
Eric Fischer
1f89147493
Import revised translations.
...
Change-Id: I9f822bcc46c870e6c01053b36a497e36849be8d6
2011-08-26 15:02:22 -07:00
Tadashi G. Takaoka
85b4752270
Merge "Move debug information back to suggestions strip"
2011-08-26 04:07:00 -07:00
Tadashi G. Takaoka
013ba3e3e7
Move debug information back to suggestions strip
...
Change-Id: I8cfad5f780a481a251cc4f752bff3cda5ae3ffbe
2011-08-26 20:05:19 +09:00
satok
add3e05379
Do not put the suggestion span for obsolete suggestions.
...
Bug: 5219037
Change-Id: I0300fbc7e1cc97f0f8ba4d21e0e699d9fe66ed76
2011-08-26 19:12:18 +09:00
Tadashi G. Takaoka
7fe084a856
Merge "Fix "touch to save" colors"
2011-08-26 03:06:40 -07:00
Tadashi G. Takaoka
c04bbc1ae9
Fix "touch to save" colors
...
Bug: 5218662
Change-Id: I094b2ceb7438148eb5bdf620b188f598e8442a07
2011-08-26 18:55:36 +09:00
satok
5335535871
Add spell checker subtypes
...
Change-Id: Id0dadb881a74c654c1c4fa972ee82f4238d66d4e
2011-08-26 18:29:40 +09:00
Tadashi G. Takaoka
f3f3189adb
Wrap up popup mini keyboard
...
Bug: 5218641
Change-Id: I88b3e7efa1f7c009c8a8e4f5453a5c4df2f91cfc
2011-08-26 15:45:05 +09:00
Jean Chalard
de4e8dedcc
Allow sharing dictionaries between similar locales.
...
Bug: 5058488
Change-Id: Ib12013f58afad957a8205b439f87480cc12ea06f
2011-08-25 19:42:06 +09:00
Tadashi G. Takaoka
633bc88a0f
Add key preview icon of settings key
...
The new icon has been created just enlarging
sym_keyboard_settings_holo.png to the size of other feedback icon. The
icon should be designed properly by designer after.
Bug: 4948171
Change-Id: I00b018e82ca93190fe87443c8ad8911b36551002
2011-08-25 12:23:12 +09:00
Jean Chalard
a16621ada4
Add a debug variable
...
...that was missing
Change-Id: Ia3b17909f295e0a93dee633c8d67c0e03840023e
2011-08-24 21:36:18 +09:00
Jean Chalard
20973de72b
Avoid unnecessary output to the system log.
...
The message this removes gets printed under normal conditions.
Normally dictionary files are compressed then crypted, but not
compressed a second time; however LatinIME tries to open a
compressed-crypted-compressed file first, because it could not
do it afterwards and we want to support this case. So under
normal operations, the first method LatinIME tries is actually
expected to fail.
Also, if we decide to stop compressing or/and encrypting dicts
LatinIME supports it as a valid use case. It should not print
errors to the log.
If the file cannot be open at all, then it is an unexpected
case, and Latin IME still reports to the log.
Change-Id: Ic5228c51365a101af1d03e2c893484d3050b5a1c
2011-08-24 20:27:04 +09:00
Tadashi G. Takaoka
1d59e0dbdf
Merge "Fix suggestions strip press state to align vertically"
2011-08-24 03:35:57 -07:00
Tadashi G. Takaoka
580e1d7ac0
Fix suggestions strip press state to align vertically
...
This change also tweaks more_suggestions_hint drawables to eliminate
unnecessarily padding at the bottom.
Bug: 5204563
Change-Id: If5ec731c9a490da0116a020e8fd405c7d025d707
2011-08-24 18:15:19 +09:00
Tadashi G. Takaoka
1cdd7caef9
Merge "Remove tablet specific suggestions updating delay"
2011-08-24 01:37:50 -07:00
Tadashi G. Takaoka
d1bf701196
Remove tablet specific suggestions updating delay
...
Bug: 5100007
Change-Id: I3ab1bffbda4f8535489a2fcc41ffe33b43d1a96b
2011-08-24 17:36:18 +09:00
Jean Chalard
38d512c0b2
Call the decrypt/unzip routines upon copying a dictionary.
...
Bug: 5095140
Change-Id: I7000f752bc9b7fd6a7af4839b2f225c085300128
2011-08-24 17:12:12 +09:00
Jean Chalard
8b21eb2507
Merge "Refactoring: cut out a method for caching a word list"
2011-08-23 23:17:31 -07:00
Jean Chalard
7b1f74bb9d
Refactoring: cut out a method for caching a word list
...
This is preparation to have the decrypting/unzipping code
moved over to LatinIME.
Bug: 5095140
Change-Id: Ic3fdcc3de673b46cef2eb9ebe6a52cbdd614e50a
2011-08-24 15:09:57 +09:00
Tadashi G. Takaoka
fd47b5d09c
Merge "Move some static methods from SubtypeSwitcher to Utils"
2011-08-23 22:39:51 -07:00
Tadashi G. Takaoka
af52c0ea04
Implement "forceAscii" private IME option
...
This change also introduces "AsciiCapable" extra value for subtype
that indicates the subtype can input any ASCII code point from its
keyboard layout.
Only if the input field has "forceAscii" private IME option and the
current subtype doesn't have "AsciiCapable" extra value, the en_US
keyboard layout will be used for the input field.
Bug: 3384942
Change-Id: I25e2553e37ecb5002df1164e45f6273845fe463b
2011-08-24 13:19:56 +09:00
Tadashi G. Takaoka
57f05f4412
Move some static methods from SubtypeSwitcher to Utils
...
Change-Id: I3ea8ffcdefcefaa82ae76a31bb65977009d8a040
2011-08-24 12:54:53 +09:00
Jean Chalard
1616e2e96e
Merge "Fix an excessive fallback problem."
2011-08-23 02:12:17 -07:00
Tadashi G. Takaoka
c84bc3460d
Rename LatinKeyboardBaseView to LatinKeyboardView
...
Bug: 5182291
Change-Id: I5089a14902b9f4ff1ab4f34e3f7a42aca5040d3e
2011-08-23 17:57:02 +09:00
Jean Chalard
0ee3b69483
Fix an excessive fallback problem.
...
LatinIME has several fallbacks to ensure a dictionary is used.
However, it should now be possible to deactivate the main dictionary
through the dictionary pack settings. In this case, Latin IME should
not fallback to the built-in dictionary.
Change-Id: Ibd992ad89793169f04a968b40781fce819b87b6f
2011-08-23 17:55:46 +09:00
Tadashi G. Takaoka
32572948d7
Refactor and rename popup mini keyoard related classes
...
Change-Id: Ia92ec4612090b03829db9a87ce68d701db6e15bc
2011-08-23 17:51:57 +09:00
Tadashi G. Takaoka
2d306a225c
Merge "Extract sudden jumping touch event hack into separate class"
2011-08-23 01:49:38 -07:00
Tadashi G. Takaoka
c403a46f6d
Extract sudden jumping touch event hack into separate class
...
Bug: 5182291
Change-Id: I6a88ed4df3ec98e31ea4966d82da56f7fca342ac
2011-08-23 17:44:41 +09:00
Tadashi G. Takaoka
2b27f3e698
Merge "Remove password field special handling"
2011-08-23 01:29:11 -07:00
Tadashi G. Takaoka
f9da4c548f
Remove password field special handling
...
Change-Id: Iaf1b4bbb54be7a4cade856d1ba363e976774f442
2011-08-23 16:49:35 +09:00
Tadashi G. Takaoka
0940093c30
Merge "Remove screen orientation confirmation hack"
2011-08-23 00:39:19 -07:00
Jean Chalard
d6834c8125
Merge "Fix a bug with the string pool."
2011-08-22 23:05:51 -07:00
Tadashi G. Takaoka
f94df382fb
Remove screen orientation confirmation hack
...
Bug: 4311428
Change-Id: Ie7e094ded9c7c1fe811b7eb97bc33ffecb29a73c
2011-08-23 14:58:45 +09:00
Jean Chalard
a6e912cf98
Fix a bug with the string pool.
...
This also adds some optional debug code to detect more easily possible
future occurrences of the same problem.
Bug: 5195017
Change-Id: I2558b468e46f7090de868f1ec2dc9e24895d670f
2011-08-23 14:55:34 +09:00
Tadashi G. Takaoka
6dde878d51
Move some methods from LatinKeyboardView up into LatinKeyboardBaseView
...
Bug: 5182291
Change-Id: I699ecef6fb8ea492d96fca1939f51faf0aac7fa6
2011-08-23 12:22:24 +09:00
Eric Fischer
b041412cd7
Merge "Import revised translations."
2011-08-22 12:05:10 -07:00
Eric Fischer
80d6f6716e
Import revised translations.
...
Change-Id: If2817e3bd44c400cd290cba1c1977e38a68d73d0
2011-08-22 11:36:46 -07:00
Tadashi G. Takaoka
450f1c068d
Merge "Remove 7inch dedicated icons"
2011-08-22 03:35:03 -07:00
Tadashi G. Takaoka
9f31575045
Merge "Fix suggestions strip text colors"
2011-08-22 03:32:05 -07:00
Tadashi G. Takaoka
320346f001
Remove 7inch dedicated icons
...
This change also tweaks the size of letters and labels.
Change-Id: Id3f04015778ebca5e8f6833bc695e221fe7a8079
2011-08-22 19:30:59 +09:00
Tadashi G. Takaoka
d47a955610
Fix suggestions strip text colors
...
This change also shows the valid typed word in bold face.
Bug: 5161713
Change-Id: I15355a11888fc8ef90ecc8b64a52eb08c1a2b367
2011-08-22 18:56:54 +09:00
Jean Chalard
70a92a33f8
Merge "Remove duplicates from the spell checker suggestions."
2011-08-22 02:49:33 -07:00
Jean Chalard
6b166a1933
Remove duplicates from the spell checker suggestions.
...
Bug: 5175740
Change-Id: I592401b3b8c3074d70e06dc3a9919cc3cb47ba49
2011-08-22 18:44:04 +09:00
Tadashi G. Takaoka
b39f612d97
Remove hacks related to determine window width
...
Bug: 4311428
Change-Id: Ic93f264101d13963503fcd447a69bbffd06e69f3
2011-08-22 17:17:42 +09:00
Jean Chalard
5d4c5692f1
Fix case sensitivity for the spell checker.
...
The new behavior is as follows:
- If the word in the dictionary is not fully lower case, then the
exact case is required to match.
- If the word in the dictionary is fully lower case, then any of
the following patterns match:
- fully lower case
- only the first char capitalized
- all caps
Any other capitalization is rejected.
This is probably what people want. If you type a name in all lower
case, it should be marked as a typo, but if you type a word with a
capital for emphasis or just because it's the start of the sentence,
it should match a lower case word in the dictionary. If you have
a spurious capital letter in the middle of a word because of a typo,
it should be marked as such.
Accents are not affected, and should not be. An accented letter
is a different letter and a missing accent should be reported.
We should maybe consider again for some common transpositions
like the "ue" digraph for German, which is now considered a typo,
but will suggest the correct diacritics as the first suggestion.
Bug: 5145751
Change-Id: I651e24f13c90fb94700a1674ad380e95336e7dca
2011-08-22 14:02:57 +09:00
Ken Wakasa
cee174b8cc
Settings key visibility should always follow the system default value,
...
by ignoring its preference value, when the "show settings key option" in
the settings is disabled.
Change-Id: I934be2d9eb0bf6bf731e03f5d9b752de4a7a1c7c
2011-08-22 12:21:25 +09:00
Jean Chalard
6da8b74582
Move the dupes-removing method to the Utils class
...
This is preparation for bug: 5175740
Change-Id: I18b2042317f740cb1e021d3dfbf90ecfbb1a1d37
2011-08-19 19:49:59 +09:00
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
f0025a50ac
Remove "thisd" from the whitelist
...
Change-Id: Ie834cd87f4579f3df5935607a4b94648b7c145dd
2011-08-19 12:06:03 +09:00
Jean Chalard
1e841de2ce
Merge "Check the main dict id to be able to fallback."
2011-08-18 19:55:16 -07:00
Jean Chalard
a018c67914
Merge "Add "let's" to the whitelist"
2011-08-18 18:21:14 -07:00
Ken Wakasa
d621b73ebb
A follow up to Id6e50398
...
bug: 5151430
Change-Id: I2cc91cc3f426ba1b42a1421344e1183ce35c60e0
2011-08-18 22:23:47 +09:00
Ken Wakasa
e56e88beff
A follow up to I830de4d1
...
bug: 5130446
Change-Id: Ib1a4603590387c30be7555b8386f5e0607ea7249
2011-08-18 21:51:04 +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
b1d2b12ce3
Add "let's" to the whitelist
...
As discussed by e-mail, this change implements the proposal of
including a "lets" -> "let's" entry to the whitelist.
Change-Id: Ia7b7737c34ebf85675af78501acd865ce399f38d
2011-08-18 13:37:14 +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
Eric Fischer
3fba65bbc2
Merge "Import revised translations."
2011-08-15 10:22:13 -07: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
Eric Fischer
790c77fdc5
Import revised translations.
...
Change-Id: I8a8e531887b11318de0af7e15eaff82ae4e51d85
2011-08-12 17:22:07 -07: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
Ken Wakasa
f84107cae7
Fix discrepancy in the "show settings key" option
...
bug: 5155640
Change-Id: I2f5f88edde18d6464a67adcfad5aa92b05c36821
2011-08-12 18:59:16 +09:00
Ken Wakasa
1d0807c42c
Merge "Tiny fix for access to cyrillic soft sign on Russian layouts"
2011-08-12 01:58:09 -07:00
Ken Wakasa
758011a118
Tiny fix for access to cyrillic soft sign on Russian layouts
...
bug: 5151430
Change-Id: Id6e50398d087f62a305fad734432135c00329316
2011-08-12 17:52:35 +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
4ef448ac82
Externalize the dictionary pack's name and settings
...
Some changes downward the road need Latin IME to know the dictionary
pack by package name. This makes the name an external string.
Bug: 5095140
Change-Id: Ibebf5eb892af19681c18da38955e50dfb573330a
2011-08-11 21:48:59 +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