Commit Graph

132 Commits

Author SHA1 Message Date
Amith Yamasani
709d1c61da am bf0f4d9c: Remove dupes from suggestions. Fixes 2213629
Merge commit 'bf0f4d9c8b789035255d6b89752c77801929002e' into eclair-mr2

* commit 'bf0f4d9c8b789035255d6b89752c77801929002e':
  Remove dupes from suggestions. Fixes 2213629
2009-10-29 01:29:00 -07:00
Amith Yamasani
bf0f4d9c8b Remove dupes from suggestions. Fixes 2213629
Dupes are sometimes generated, especially for names, from Contacts
and main dictionary. Check for dupes before showing suggestions.
2009-10-28 10:53:29 -07:00
Daisuke Miyakawa
7d92b6ffc5 Add missing "android:codes" in i.
Also, add some comments to @string/key_i.
Currently there's a possiblity where some translator misunderstand what this means.

Internal issue number: 2213965
2009-10-28 07:04:28 +09:00
Eric Fischer
40bf8352fe am b04157a8: (-s ours) Import revised translations. DO NOT MERGE
Merge commit 'b04157a83614f386d2a43b1839f8d22c80151ea7' into eclair-mr2

* commit 'b04157a83614f386d2a43b1839f8d22c80151ea7':
  Import revised translations.  DO NOT MERGE
2009-10-22 06:45:39 -07:00
Eric Fischer
b04157a836 Import revised translations. DO NOT MERGE
Approver: jerryw
2009-10-21 10:48:20 -07:00
Android (Google) Code Review
4611b578a1 Merge change I6c27819c into eclair-mr2
* changes:
  Fix for #2185627 : ArrayIndexOutOfBounds in BinaryDictionary.getWords()
2009-10-14 19:42:27 -04:00
Amith Yamasani
d0e43ecb34 Fix for #2185627 : ArrayIndexOutOfBounds in BinaryDictionary.getWords()
Make sure the word count doesn't exceed the maximum suggested words.

And also, only get the count one time instead of every time a match
is found.
2009-10-14 16:30:34 -07:00
Eric Fischer
fc80c3151d Import revised translations. DO NOT MERGE 2009-10-13 16:08:17 -07:00
Amith Yamasani
dd8c1d8db3 am 8850bdc7: Fix for 2170453: Capitalization sticks when entering passwords in Browser
Merge commit '8850bdc7e4c1da7049231bc1e21f17213562f9b6' into eclair-mr2

* commit '8850bdc7e4c1da7049231bc1e21f17213562f9b6':
  Fix for 2170453: Capitalization sticks when entering passwords in Browser
2009-10-12 13:21:01 -07:00
Amith Yamasani
8850bdc7e4 Fix for 2170453: Capitalization sticks when entering passwords in Browser
This is caused by a delay in changing the shift state for performance reasons.
The delay was too long, causing multiple characters to be in shifted state when
typing fast (300ms interval).

Fix removes the optimization for the forward typing case. Doesn't affect the
backspace long-press optimization.

Triage: Hiroshi
Dr. No: mcleron
2009-10-12 12:59:34 -07:00
Amith Yamasani
95a21916b9 am 0f3b8e89: Merge change Ieef539c3 into eclair
Merge commit '0f3b8e8966d3da99e7844d6ca8083cccf23bef01' into eclair-mr2

* commit '0f3b8e8966d3da99e7844d6ca8083cccf23bef01':
  Fix a potential IllegalArgumentException caught by monkeys. #2176776
2009-10-09 10:24:57 -07:00
Android (Google) Code Review
0f3b8e8966 Merge change Ieef539c3 into eclair
* changes:
  Fix a potential IllegalArgumentException caught by monkeys. #2176776
2009-10-09 13:17:48 -04:00
Amith Yamasani
eef539c3f2 Fix a potential IllegalArgumentException caught by monkeys. #2176776
For some reason the key code is outside the code point range. Adding
a safeguard to deal with possible out of range key codes.
2009-10-09 07:03:11 -07:00
Amith Yamasani
f195bd94f3 am b7a94fd7: Merge change Ib3f6d58b into eclair
Merge commit 'b7a94fd7d66ad2cb73ed6c7226de5535935ab8b0' into eclair-mr2

* commit 'b7a94fd7d66ad2cb73ed6c7226de5535935ab8b0':
  Fix for 2148982: Keyboard freezes while typing
2009-10-08 17:30:50 -07:00
Android (Google) Code Review
b7a94fd7d6 Merge change Ib3f6d58b into eclair
* changes:
  Fix for 2148982: Keyboard freezes while typing
2009-10-08 17:33:59 -04:00
Amith Yamasani
b3f6d58b6e Fix for 2148982: Keyboard freezes while typing
Contacts dictionary code was being triggered too frequently during sync and
during presence updates and this seems expensive for accounts with a lot of
contacts.

Throttling the contacts read to every 30 minutes.
2009-10-08 13:06:37 -07:00
Eric Fischer
e9c82cbb2b am 75e5091c: (-s ours) am b49679fa: (-s ours) Import revised translations. DO NOT MERGE
Merge commit '75e5091ceacb201b9a1c81cab21f357bd2e91f17' into eclair-mr2

* commit '75e5091ceacb201b9a1c81cab21f357bd2e91f17':
  Import revised translations.  DO NOT MERGE
2009-10-08 10:58:28 -07:00
Eric Fischer
75e5091cea am b49679fa: (-s ours) Import revised translations. DO NOT MERGE
Merge commit 'b49679fa547f52ad548539cfa8719c2b07207da7' into eclair

* commit 'b49679fa547f52ad548539cfa8719c2b07207da7':
  Import revised translations.  DO NOT MERGE
2009-10-08 10:48:36 -07:00
Amith Yamasani
379bcf8064 Fix a bug in suggestion algorithm not returning all matches. Fixes 2170908.
Native code was not returning the correct count for found matches. Fixed the
incorrect assumption that words usually get inserted in descending order of
frequency.
2009-10-06 15:46:24 -07:00
Eric Fischer
142dc94031 am 3fd9d9e3: (-s ours) Import revised translations. DO NOT MERGE
Merge commit '3fd9d9e3e07587a913cc5bb54c6a0fc08f048d0d' into eclair-mr2

* commit '3fd9d9e3e07587a913cc5bb54c6a0fc08f048d0d':
  Import revised translations.  DO NOT MERGE
2009-10-04 15:15:31 -07:00
Eric Fischer
3fd9d9e3e0 Import revised translations. DO NOT MERGE
Approver: jerryw
2009-10-01 17:02:35 -07:00
Amith Yamasani
12e582c79c Fix 2146178: On-screen keyboard is wider than screen
Sometimes the keyboard is getting confused about it's width when switching
between hard keyboard open and close state and portrait-forced home. Force
creation of keyboard layouts after a configuration change to fix the
inconsistent state.

Don't force create when just switching between input fields, too expensive.

Also fixes the problem of keyboard not changing layout after a locale change,
unless there's an orientation change.
2009-09-30 21:15:47 -07:00
Amith Yamasani
56f96fe05b AI 150810: Fix for 2023252 & 2023256: Turkish accented characters for the keyboard
BUG=2023252,2023256

Automated import of CL 150810
2009-09-30 17:37:51 -07:00
Daniel Sandler
5442c7d4ba New hdpi assets.
Drop dated 29-Sep-2009.

Change-Id: I47d6adde00f70baef8b0b52cbde60e297452dd76
2009-09-30 00:36:24 -04:00
Eric Fischer
b49679fa54 Import revised translations. DO NOT MERGE 2009-09-29 16:44:31 -07:00
Eric Laurent
2296317b8f Fix issue 2141503: Keyclick sound doesn't honor volume settings.
Align sound effect volume on music volume.
2009-09-29 12:00:38 -07:00
Daniel Sandler
59faad8abd New high-density artwork for the LatinIME (drop dated 09/24/09). 2009-09-24 09:24:25 -04:00
Amith Yamasani
7b138f7fbf Make auto-correct the default 2009-09-23 16:01:52 -07:00
Eric Fischer
b58c9c0dcc Import revised translations. DO NOT MERGE 2009-09-17 14:36:14 -07:00
Amith Yamasani
36ebae2e8d Handle new flag NO_SUGGESTIONS and no auto-correct for single-line fields unless requested. Fix: 2030364
Don't show suggestions if NO_SUGGESTIONS flag is specified. And don't do auto-correction unless
explicitly requested or it's a multi-line text.
2009-09-17 11:10:15 -07:00
Amith Yamasani
3ec2ed75c6 Send a semicolon for Wait. Fix for #2083806. 2009-09-15 11:35:47 -07:00
Android (Google) Code Review
64e245f60b Merge change 24211 into eclair
* changes:
  Adjust the size of bottom row of keys for email mode. Fix for 2099889
2009-09-09 06:19:01 -07:00
Eric Fischer
b50a1a3c91 Import revised translations. DO NOT MERGE 2009-09-08 16:31:52 -07:00
Amith Yamasani
d9688c77a9 Adjust the size of bottom row of keys for email mode. Fix for 2099889
Also recreate the keyboards when locale changes.
2009-09-08 15:55:17 -07:00
Christopher Tate
f265392f7f Don't kill the IME after a restore 2009-09-01 21:16:19 -07:00
Amith Yamasani
e3803800c5 Fixed accidental switch to symbols mode from alphabet.
The KeyboardSwitcher was remembering state from a previous edittext
where the user was in symbols mode and applying the switch code
when user hits space in the new edittext for the first time.
Make sure to reset the state when a new keyboard mode is requested.

Also make sure that we don't switch from symbols to alphabet keyboard
when editing in a number/datetime field and hitting space.
2009-09-01 14:05:19 -07:00
Amith Yamasani
5d11ccc27d Swipe down gesture to dismiss keyboard. 2009-08-27 17:35:33 -07:00
Dmitri Plotnikov
41fc8f4a18 [Issue 2061094] Upgrading ContactDictionary to new API 2009-08-27 11:24:57 -07:00
Amith Yamasani
6a001f58da Tweak spacebar target area between landscape and portrait. 2009-08-20 18:35:30 -07:00
Amith Yamasani
ffa3fdd819 Keyboard layout improvements.
Increase key height in portrait.
Increase spacebar width and reduce punctuation width.
Increase vertical target area for spacebar to avoid accidentally
   hitting "V" and "B".
Increase height of candidate strip.
2009-08-19 15:16:33 -07:00
Eric Fischer
d4b94b49aa am 399d49b7: (-s ours) Import revised translations. DO NOT MERGE
Merge commit '399d49b76d450fffc7e7e5e8ccc4111061dc9b87' into eclair

* commit '399d49b76d450fffc7e7e5e8ccc4111061dc9b87':
  Import revised translations.  DO NOT MERGE
2009-08-18 11:01:01 -07:00
Jeff Hamilton
10f1a4d39c Don't crash if the contacts provider returns a null Cursor. 2009-08-18 11:53:22 -05:00
Eric Fischer
399d49b76d Import revised translations. DO NOT MERGE 2009-08-17 13:16:04 -07:00
Christopher Tate
9a66cd81e7 Add the BACKUP_DATA permission to the LatinIME package 2009-08-13 18:33:32 -07:00
Amith Yamasani
f51d16a4aa Reduce weight of missing-char suggestions. 2009-08-13 18:03:56 -07:00
Brandon Ballinger
71351469e3 Use public SDK APIs for the InputMethodManager and Vibrator. 2009-08-13 18:03:48 -07:00
Amith Yamasani
3263841911 Some performance optimizations.
Makes the user/contacts dictionary lookup faster. This is necessary because
there's more in these dictionaries now and it's written in Java.

Fix an auto-caps issue when moving the cursor. And do it a little lazily.

Fixed a bug that was causing user dictionary words to get a much
higher weightage than the main dictionary.
2009-08-13 18:03:41 -07:00
Amith Yamasani
f115088924 Allow for non-starting letters to be upper case in dictionary lookup.
Add lowercase optimization to user dictionary as well.
2009-08-13 18:03:07 -07:00
Amith Yamasani
4dfe799602 Use correct size key backgrounds to avoid scaling.
Also increase padding at the bottom of the keyboard, below the spacebar.
2009-08-13 18:02:59 -07:00
Amith Yamasani
81115075d2 Fix a stack overflow when typing long words. Limit the size of auto-added words. 2009-08-13 17:30:57 -07:00