Commit Graph

84 Commits (1342666d6ae48999a9522373f91a9e3161d17ecf)

Author SHA1 Message Date
Amith Yamasani 8b96a9a238 Underlining for correction is causing problems with styled text. Disable for now.
Disable until we find a cleaner solution to highlighting for correction (may need
a framework change).

Removed a check for VoiceInput.DELETE_SYMBOL, which is not in use any more.
2010-07-16 13:28:38 -07:00
Ying Wang 2a118d844e Unbundle LatinIME
Change-Id: I9f55377d5de050d18ee4a3b29bc43b19b0fababd
2010-07-14 17:32:12 -07:00
Jae Yong Sung 937d5ad013 added bigram prediction
- after first character, only suggests bigram data (but doesn't autocomplete)
  - after second character, words from dictionary gets rearranged by using bigram
  - compatible with old dictionary
  - added preference option to disable bigram

Change-Id: Ia8f4e8fa55e797e86d858fd499887cd396388411
2010-07-13 11:33:39 -07:00
Amith Yamasani b71547f2d0 Fix some bugs in editing feature
- Fixed caching of words - some StringBuilders were being recycled while also being cached. Making copies now.
- Fixed regression in revert - don't reset the word composer after saving the accepted word.
- Removed flicker when cursoring through a word - delay the abortCorrection() until we need to and do the correction
   as an atomic operation.
- Fixed replacing of "selected" words (double-tap to select a word)

Still to do:
- Remove flicker on highlighting a word - may need a framework change
- Don't remove spans on text that's already in the text field - may require a framework change.
- Figure out what to do about the punctuations that share the suggestion strip when in correction mode.
2010-07-09 14:08:01 -07:00
Amith Yamasani daf88d35e7 Move the Serbian keyboard and strings to the correct folder. 2010-06-30 11:13:49 -07:00
Maryam Garrett 57691a3574 Show word alternatives for spoken input
With this change, we show alternatives for a word that has
been spoken.The user triggers the display of alternatives by
tapping on the word. The alternatives are currently
generated by a client-side algorithm, but will be improved
when we move to a server-side generation of the alternatives

Change-Id: I454ee28fef9bf97a1b026ce8c605ca4badb39e79
2010-06-29 09:52:48 -04:00
Amith Yamasani 578096b688 Quick adjustment to keyboard size on xlarge screens.
And adjust the text size of the extension keyboard too.
2010-06-25 14:55:57 -07:00
Amith Yamasani a62f7c18f9 Remember typed words for auto-corrections
Change-Id: I475c2fa7604f91659100510079fa13c7615177e9
2010-06-24 19:25:32 -07:00
Kenny Root dae9017014 am 3e59cea2: am a008d164: am 7697133c: Import revised translations
Merge commit '3e59cea2c0807ec0fc7e39edb900cb096668a868'

* commit '3e59cea2c0807ec0fc7e39edb900cb096668a868':
  Import revised translations
2010-06-21 12:39:20 -07:00
Kenny Root a008d16402 am 7697133c: Import revised translations
Merge commit '7697133c85f30ae2ec046d9fd19fdb5f2ddc7cbc' into gingerbread

* commit '7697133c85f30ae2ec046d9fd19fdb5f2ddc7cbc':
  Import revised translations
2010-06-21 12:36:18 -07:00
Kenny Root 7697133c85 Import revised translations
Change-Id: If4c56c6cea6a99cc784e3e16457a43ca550fdefa
2010-06-21 11:05:32 -07:00
Kenny Root 4c20a92fa0 am e6de8785: am 36dcfec5: Import revised translations 2010-06-09 23:24:10 -07:00
Kenny Root e6de8785d6 am 36dcfec5: Import revised translations
Merge commit '36dcfec5a744996ee35735ffa4c796d37b946a9b' into kraken

* commit '36dcfec5a744996ee35735ffa4c796d37b946a9b':
  Import revised translations
2010-06-09 23:19:48 -07:00
Kenny Root 36dcfec5a7 Import revised translations
Change-Id: I7ffd12b24b3946d83899813c498c32eea0b75de0
2010-06-09 22:51:48 -07:00
Amith Yamasani 90599bd107 Fix bug: 2693836 - Russian keyboard is missing a letter 2010-05-21 17:05:11 -07:00
Amith Yamasani db8dcd8b02 Only use fullscreen mode if the number of inches in height is less than 2.5in 2010-05-20 10:19:23 -07:00
Kenny Root 60d81e3a80 am 71403bcc: am 8099a06b: Import revised translations 2010-05-17 15:03:16 -07:00
Kenny Root 71403bcc58 am 8099a06b: Import revised translations
Merge commit '8099a06ba4e70177cfa2c8a997a6ed146fbe2fbf' into froyo-plus-aosp

* commit '8099a06ba4e70177cfa2c8a997a6ed146fbe2fbf':
  Import revised translations
2010-05-17 12:05:45 -07:00
Kenny Root 8099a06ba4 Import revised translations
Change-Id: I05cc3d1908de8a9a9765f4887cdf641639e65cfd
2010-05-17 11:43:46 -07:00
Amith Yamasani 8aaca66928 Merge "Fix a bug throwing IndexOutOfBoundsException when IME receives completions more than MAX_SUGGESTIONS in full-screen mode." 2010-05-12 16:44:14 -07:00
satok 8d6bd9389f Clean up
- extract color

Change-Id: Ic9cbb44502e71941eb74f15cc2f96b9abdb4b327
2010-05-12 14:44:22 +09:00
Yuncheol Heo 75e0abcfdb Fix a bug throwing IndexOutOfBoundsException when IME receives completions more than MAX_SUGGESTIONS in full-screen mode.
Change-Id: Ic76287c2f8aa91733769e789df1f2a0614100f65
2010-05-12 10:56:57 +09:00
satok 9e820fa0f4 Cleanup
- Remove dead code
- Add colors

Change-Id: I011146b33a37375d2a0b12342d65bad62ba7542b
2010-05-12 09:57:30 +09:00
Amith Yamasani 44357b74a3 Merge "Sync hebrew keyboard with the rest (removed popular domain button)" 2010-05-10 13:08:25 -07:00
satok 8e0575db72 Cleanup unused function
Change-Id: I7417bcaa578ef85f0b634bcac8ddde2b0368b905
2010-05-10 15:49:11 +09:00
Roman Mitnitski 54b3fe771f Sync hebrew keyboard with the rest (removed popular domain button)
Change-Id: Ib7e91513fcb02e7383c7d0e524b7f56a53b1abd8
2010-05-10 09:26:58 +03:00
Amith Yamasani 7e615228de Merge "Tests and some new constructors to help in testing." 2010-05-07 13:43:11 -07:00
Amith Yamasani e4e1130d00 Tests and some new constructors to help in testing.
Added tests for the dictionary lookup and correction logic on the primary dictionary.
This exercises part of the Suggest class and the native dictionary lookup code.
2010-05-07 13:40:20 -07:00
satok 4c3ff1a760 am a8e487be: am d6b80c6e: Merge "Fix hardcoded "isDefault" setting" into froyo 2010-05-07 10:53:20 -07:00
satok a8e487be4c am d6b80c6e: Merge "Fix hardcoded "isDefault" setting" into froyo
Merge commit 'd6b80c6ed4433d66381501cd0a00813647261a6c' into froyo-plus-aosp

* commit 'd6b80c6ed4433d66381501cd0a00813647261a6c':
  Fix hardcoded "isDefault" setting
2010-05-07 10:34:41 -07:00
satok d6b80c6ed4 Merge "Fix hardcoded "isDefault" setting" into froyo 2010-05-07 10:32:51 -07:00
satok 8a3f6dfba9 Fix hardcoded "isDefault" setting
Bug:2661261

- Changed true to @bool/im_is_default
- isDefault was changed in https://android-git.corp.google.com/g/#patch,sidebyside,37627,3,res/xml/method.xml by mistake

Change-Id: Id1c20c292bed27523fb41f32514f2abdee11f992
2010-05-07 18:00:45 +09:00
Amith Yamasani dbab992963 am b1068051: am f0296426: Don\'t auto-select the system language in IME language selection screen. 2010-05-04 13:08:44 -07:00
Amith Yamasani b1068051c7 am f0296426: Don\'t auto-select the system language in IME language selection screen.
Merge commit 'f02964264f196447b03a88591a2964b67c318718' into froyo-plus-aosp

* commit 'f02964264f196447b03a88591a2964b67c318718':
  Don't auto-select the system language in IME language selection screen.
2010-05-04 12:05:33 -07:00
Amith Yamasani f02964264f Don't auto-select the system language in IME language selection screen.
Fixes http://b/2650378

On entering the selection screen, don't add the system language in addition
to other selected languages.

Change-Id: Id7a3b45df39a8493d17be668029eee139bf00ff3
2010-05-03 14:13:34 -07:00
Kenny Root d96df289a4 am 8701305f: am 221d99c8: Merge "Import revised translations" into froyo 2010-04-28 09:54:01 -07:00
Kenny Root 8701305f4f am 221d99c8: Merge "Import revised translations" into froyo
Merge commit '221d99c891b1ea0955957849abc5df3019cb18c7' into froyo-plus-aosp

* commit '221d99c891b1ea0955957849abc5df3019cb18c7':
  Import revised translations
2010-04-28 09:32:58 -07:00
Kenny Root 221d99c891 Merge "Import revised translations" into froyo 2010-04-28 08:07:51 -07:00
Amith Yamasani dd7a2cb283 am afae9b25: am 6aab3310: Remove .com key from URL and Email address keyboards. Bug: 2630268 2010-04-27 18:56:38 -07:00
Kenny Root 0dfa3e6dad Import revised translations
Change-Id: I1050cb361860cbea36bba762d37b4558dee8cecb
2010-04-27 14:30:47 -07:00
Amith Yamasani afae9b251e am 6aab3310: Remove .com key from URL and Email address keyboards. Bug: 2630268
Merge commit '6aab33105a64dabe0b85c4d4fdc4f784a7a57c4f' into froyo-plus-aosp

* commit '6aab33105a64dabe0b85c4d4fdc4f784a7a57c4f':
  Remove .com key from URL and Email address keyboards. Bug: 2630268
2010-04-27 13:10:01 -07:00
Amith Yamasani 6aab33105a Remove .com key from URL and Email address keyboards. Bug: 2630268
Have the spacebar be normal width and remove the .com keys.

Change-Id: I470ee4ffa2c84b91e3207e016c99bc66b34ef564
2010-04-27 11:30:17 -07:00
Ken Wakasa 826269c8ae Get rid of dependency on native AssetManager API. Confirmed the native code builds with the NDK r3.
Change-Id: I0d2d3a0e262847d6948a0336a35440e21e312ad2
2010-04-27 22:23:03 +09:00
Amith Yamasani 857cde9007 am 335a0c55: am 938c1782: Fix for hanging extension keyboard. Bug: 2593488 2010-04-15 17:00:07 -07:00
Amith Yamasani 335a0c5511 am 938c1782: Fix for hanging extension keyboard. Bug: 2593488
Merge commit '938c178215d38c6f085b32b0994598f9e8bc5ab5' into froyo-plus-aosp

* commit '938c178215d38c6f085b32b0994598f9e8bc5ab5':
  Fix for hanging extension keyboard. Bug: 2593488
2010-04-15 16:48:13 -07:00
Amith Yamasani 938c178215 Fix for hanging extension keyboard. Bug: 2593488
Sometimes the only motion event that is above the keyboard is the UP
event. In that case we can't expect one more event to come that will
dismiss the extension. So don't show the extension if the only Y < 0
event is an UP event.

Change-Id: I04a8b742dea03cd700006dc5df740ac7d9620c0b
2010-04-15 14:44:22 -07:00
Kenny Root 228e817578 am 41c2b30a: am 48832c86: Import revised translations 2010-04-15 13:31:38 -07:00
Valentin Kravtsov 17450fd29b am b98c17a7: am f9d0f3a8: Fix for: For Voice IME busy circle displayed below waveform 2010-04-15 06:36:59 -07:00
Kenny Root 41c2b30a34 am 48832c86: Import revised translations
Merge commit '48832c860377e5515be6ccf57fce9299a408584a' into froyo-plus-aosp

* commit '48832c860377e5515be6ccf57fce9299a408584a':
  Import revised translations
2010-04-15 05:59:54 -07:00
Kenny Root 48832c8603 Import revised translations
Change-Id: I2d221b9501462110848592e76c6bd8490f2b209e
2010-04-14 20:34:58 -07:00