Commit Graph

3818 Commits (fef82761c7b7938d3871978e54c2809b437b6390)

Author SHA1 Message Date
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 2803f67fea am dc1afa87: Merge "Fix CHAR LIMIT"
* commit 'dc1afa87329fb6dd3485209d197f810389e63c9a':
  Fix CHAR LIMIT
2011-09-29 08:12:23 -07: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 2f81802ac1 am db096d68: Merge "Add a flag to demote completed suggestions"
* commit 'db096d681f40b8547b4ce83d07d8d8b54e30634e':
  Add a flag to demote completed suggestions
2011-09-29 04:02:12 -07: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 b882f36447 am a45c6f24: Add missing spacers in the number password layout
* commit 'a45c6f24c3fe8ffc82cf0e80a0e808eb91dd2065':
  Add missing spacers in the number password layout
2011-09-29 03:40:58 -07: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 1ed6fa6960 am 3ff95b72: Merge "Add a threshold for suggestion score."
* commit '3ff95b72908818dac3615e14a0ba3bf626e05dd7':
  Add a threshold for suggestion score.
2011-09-29 01:49:41 -07:00
Jean Chalard 3ff95b7290 Merge "Add a threshold for suggestion score." 2011-09-29 01:47:50 -07:00
Yusuke Nojima e8cb8d2836 am 43149e45: Merge "Pass the touch position correction data to native."
* commit '43149e454c31dde869ae5dfebb1245d9687efc70':
  Pass the touch position correction data to native.
2011-09-29 01:44:59 -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 070d7913a8 am 4866758a: Merge "Update suggestions when user presses the backspace even when there is not two or more suggestions"
* commit '4866758a98fbf38bedebf65f9ea4993464627ce0':
  Update suggestions when user presses the backspace even when there is not two or more suggestions
2011-09-29 00:20:41 -07: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 3c2deff5f0 am 2087cf50: Merge "Handle back key and outside touch correctly in more suggestions window"
* commit '2087cf508a399f930c21a9cbeeac735e317a58d8':
  Handle back key and outside touch correctly in more suggestions window
2011-09-28 23:43:13 -07: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 8a75f125df am b45e095a: Merge "Add touch position correction data to resources."
* commit 'b45e095aa205c25c29689be6c5db3308fb97e673':
  Add touch position correction data to resources.
2011-09-28 22:43:30 -07: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 e1ced58327 am 2f1fdf28: Merge "Move some arguments to final members."
* commit '2f1fdf28898f861ae6e7b03acfcc579db3567931':
  Move some arguments to final members.
2011-09-28 21:24:17 -07: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 7cc9450473 am 27bac397: Merge "Remove unnecessary permission from open source LatinIME as well"
* commit '27bac39754a0cbbb9498cfe840d2708ddde3b7e1':
  Remove unnecessary permission from open source LatinIME as well
2011-09-28 20:46:45 -07:00
Ken Wakasa 27bac39754 Merge "Remove unnecessary permission from open source LatinIME as well" 2011-09-28 20:45:36 -07:00
Ken Wakasa 8d712e0d63 Remove unnecessary permission from open source LatinIME as well
Change-Id: Ifd954aa9133c8da49206f1f77a2d5d4f779cd99d
2011-09-29 12:40:44 +09:00
Jean Chalard ee34a9549e am 55072fef: Merge "Fix a bug where ampersands in XML would not work"
* commit '55072fefe601a08511df1b6387d918ca5831d2c7':
  Fix a bug where ampersands in XML would not work
2011-09-28 20:19:11 -07:00
Jean Chalard 55072fefe6 Merge "Fix a bug where ampersands in XML would not work" 2011-09-28 20:17:35 -07:00
satok 2258aa830e am 3da2b612: Merge "add vibration duration settings"
* commit '3da2b6128367498577fc4ac83cb07075c2904205':
  add vibration duration settings
2011-09-28 20:10:47 -07:00
satok 3da2b61283 Merge "add vibration duration settings" 2011-09-28 20:09:05 -07:00
satok 433965784d add vibration duration settings
Change-Id: I56a1a94df63160f367f866da759d7dd4fc428ed5
2011-09-29 11:46:20 +09:00
Eric Fischer a2ee19e5df am 727672d3: (-s ours) am 4c5452c1: (-s ours) Import revised translations. DO NOT MERGE.
* commit '727672d3fc8038180cf5e193cda5c3574bfabdcd':
  Import revised translations.  DO NOT MERGE.
2011-09-28 17:02:50 -07:00
Eric Fischer 727672d3fc am 4c5452c1: (-s ours) Import revised translations. DO NOT MERGE.
* commit '4c5452c15ea301ce9b82b384a437a9868b1c9de1':
  Import revised translations.  DO NOT MERGE.
2011-09-28 17:01:10 -07:00
Eric Fischer 4c5452c15e Import revised translations. DO NOT MERGE.
Change-Id: I65bae1aaa5ed3371c3f9dc678080f1105015f5fa
2011-09-28 16:38:48 -07:00
Jean Chalard e12e29ca7f Fix a bug where ampersands in XML would not work
Change-Id: Icc1bce28b78c4da2d529c308f251e298ea94539f
2011-09-28 20:58:59 +09:00
Jean Chalard 6238d1a3cd am 90086846: Merge "Change the logic of the LOOKS_LIKE_TYPO flag"
* commit '90086846dc9a677dafc1ea92138ac88f3f933046':
  Change the logic of the LOOKS_LIKE_TYPO flag
2011-09-28 04:03:15 -07:00
Jean Chalard 90086846dc Merge "Change the logic of the LOOKS_LIKE_TYPO flag" 2011-09-28 03:59:26 -07:00
Tadashi G. Takaoka c4518d54ac am 2fc42487: Introduce hit box to Key and get rid of edge flags
* commit '2fc4248700023853980b0006c12425079e3f9257':
  Introduce hit box to Key and get rid of edge flags
2011-09-28 03:44:01 -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 386489983d am a59f65ad: Merge "Extend JNI interface to pass the theme id of the keybaord to the native."
* commit 'a59f65ad0cadfd2e71ebbe7ca8b14285a4db6ae2':
  Extend JNI interface to pass the theme id of the keybaord to the native.
2011-09-27 20:36:29 -07:00
Tadashi G. Takaoka cc4d71a062 am 63584323: Add themeId to Keyboard
* commit '63584323cab56c76debf6bb000621f2c605329a9':
  Add themeId to Keyboard
2011-09-27 20:36:29 -07: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