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