Commit Graph

5532 Commits (c7318bbc0b47662799d2f7a01e5b53edb43ebf2a)

Author SHA1 Message Date
Ken Wakasa a8d9702fc4 Fix layout issue of the bottom row in web entry mode
bug: 2977061
Change-Id: I76e0f4a21480d10f79fd5dcbe58c63cc3516d5d7
2010-09-05 22:26:55 +09:00
satok ac021708ae am 34830114: am 0a498cf8: Merge "Extend space LED for autocompletion" into gingerbread
Merge commit '34830114e66882bf30505f1e538764c9abd3025b'

* commit '34830114e66882bf30505f1e538764c9abd3025b':
  Extend space LED for autocompletion
2010-09-03 04:27:20 -07:00
satok 0a498cf8d8 Merge "Extend space LED for autocompletion" into gingerbread 2010-09-03 04:24:01 -07:00
satok 1bf265d185 Extend space LED for autocompletion
Change-Id: If59ea7c871ffc2af6fe2bfde72303f2612e43c3b
2010-09-03 20:20:10 +09:00
Tadashi G. Takaoka ab5653dce0 am 232b0394: am e8f45ab5: One alternate is treated as key action, not open mini keyboard
Merge commit '232b039496ef95c543bac5128e6378b38760de21'

* commit '232b039496ef95c543bac5128e6378b38760de21':
  One alternate is treated as key action, not open mini keyboard
2010-09-03 04:13:20 -07:00
Tadashi G. Takaoka e8f45ab56f One alternate is treated as key action, not open mini keyboard
This change also fixes bug#2973683.

Bug: 2973546
Bug: 2973683
Change-Id: I67573e5b7cad4af261591a4a608d0596dd7901f2
2010-09-03 20:09:21 +09:00
Tadashi G. Takaoka bf669e4379 am c93ac9db: am ffa88f0e: Merge "Move inflating mini keyboard code into separate method" into gingerbread
Merge commit 'c93ac9db7129f935425f79d5a460e7b926cb4a22'

* commit 'c93ac9db7129f935425f79d5a460e7b926cb4a22':
  Move inflating mini keyboard code into separate method
2010-09-03 02:59:42 -07:00
Tadashi G. Takaoka ffa88f0ef5 Merge "Move inflating mini keyboard code into separate method" into gingerbread 2010-09-03 02:54:44 -07:00
satok 6a36764a8d am e5ae8c62: am 1b09ac4f: Merge "Add a showing input method picker option by longpressing setting key" into gingerbread
Merge commit 'e5ae8c62c83ad29d623562a74355bc619c216742'

* commit 'e5ae8c62c83ad29d623562a74355bc619c216742':
  Add a showing input method picker option by longpressing setting key
2010-09-03 01:55:37 -07:00
satok 1b09ac4f93 Merge "Add a showing input method picker option by longpressing setting key" into gingerbread 2010-09-03 01:51:38 -07:00
satok 9a6a4d3d5f Add a showing input method picker option by longpressing setting key
Bug: 2959271

Change-Id: I4b7e9a2de3cbe17b168ed8d0541a9b1cd9a9e107
2010-09-03 17:48:44 +09:00
Tadashi G. Takaoka 0b4734396f Move inflating mini keyboard code into separate method
Change-Id: Iba8e43ba6125e559d4c7d9cadb6bcb13b8eefc83
2010-09-03 17:35:54 +09:00
Tadashi G. Takaoka 80e518d36b am 1274cd16: am 5583cb0a: Merge "Followup TBR in I87060049" into gingerbread
Merge commit '1274cd160f81d7a59828e0dbe66d87dfbe87c544'

* commit '1274cd160f81d7a59828e0dbe66d87dfbe87c544':
  Followup TBR in I87060049
2010-09-03 00:41:48 -07:00
Tadashi G. Takaoka 5583cb0afc Merge "Followup TBR in I87060049" into gingerbread 2010-09-03 00:37:59 -07:00
Tadashi G. Takaoka 0529a04b6a Followup TBR in I87060049
This change is followup TBR in I87060049cad6f9d6432b6c4a246c15587ae0d837

Change-Id: I02ee33da269162f5e95ce5b985dbf5094ba14c0d
2010-09-03 15:55:18 +09:00
satok 133bad6b85 am 025bafb5: am 6f8ff3b9: Merge "Update delete key" into gingerbread
Merge commit '025bafb5d4272323491eb90a845ead44de4d80b7'

* commit '025bafb5d4272323491eb90a845ead44de4d80b7':
  Update delete key
2010-09-02 23:34:16 -07:00
satok 6f8ff3b971 Merge "Update delete key" into gingerbread 2010-09-02 23:30:40 -07:00
satok ec8c4f0d37 am 66546535: am c5841994: Merge "Change symbol on space bar when autocompletion is activated" into gingerbread
Merge commit '6654653562d0ec5d46a74f8c49eab2488e273cf2'

* commit '6654653562d0ec5d46a74f8c49eab2488e273cf2':
  Change symbol on space bar when autocompletion is activated
2010-09-02 23:30:24 -07:00
satok cf41bd392f Update delete key
Change-Id: I0348e4846131f9913b4ab6c2c2a9427a9a53c74e
2010-09-03 15:27:07 +09:00
satok c5841994af Merge "Change symbol on space bar when autocompletion is activated" into gingerbread 2010-09-02 23:26:06 -07:00
satok 41feaaadb7 Change symbol on space bar when autocompletion is activated
bug: 2959279

Change-Id: Icc70b7cce0c245ae2451d324debd346f226b8769
2010-09-03 15:17:26 +09:00
Tadashi G. Takaoka 7d4833a8bf am 22776af8: am c5d33b16: Fix NPE in LatinKeyboardBaseView
Merge commit '22776af828c69db22d90b42d196f487095905c70'

* commit '22776af828c69db22d90b42d196f487095905c70':
  Fix NPE in LatinKeyboardBaseView
2010-09-02 22:23:09 -07:00
Tadashi G. Takaoka c5d33b1652 Fix NPE in LatinKeyboardBaseView
This change also refactors some mini-keyboard related methods in
LatinKeyboardBaseView and PointerTracker class.

Bug: 2973236
Change-Id: I3190fe89ea3ac3c6d351ed4b6d77de98a0aa65db
2010-09-03 13:03:08 +09:00
Tadashi G. Takaoka efabc4eb52 am 2fb112f1: am 7083b748: Propagate preview enable attribute to mini-keyboard
Merge commit '2fb112f142bdac2c7cb96da5f264b5575ce611e7'

* commit '2fb112f142bdac2c7cb96da5f264b5575ce611e7':
  Propagate preview enable attribute to mini-keyboard
2010-09-02 13:35:17 -07:00
Tadashi G. Takaoka 7083b7486e Propagate preview enable attribute to mini-keyboard
Bug: 2959169
Change-Id: Iea1bec44baf3344d9f91280bd2b8f28476cbcf51
2010-09-03 05:28:43 +09:00
Tadashi G. Takaoka 539fb1bc67 am 20052f34: am fe72f135: Remove close button from mini keyboard
Merge commit '20052f34f987ab946d54cc405fa42cd0510fb94f'

* commit '20052f34f987ab946d54cc405fa42cd0510fb94f':
  Remove close button from mini keyboard
2010-09-02 13:15:20 -07:00
Tadashi G. Takaoka e46f44714d am cea6a25b: am 07221a4a: Support sliding pop-up mini-keyboard input
Merge commit 'cea6a25b904f536aff4efbf9eeb865bef8a3a4b4'

* commit 'cea6a25b904f536aff4efbf9eeb865bef8a3a4b4':
  Support sliding pop-up mini-keyboard input
2010-09-02 13:01:25 -07:00
Tadashi G. Takaoka fe72f135b8 Remove close button from mini keyboard
Bug: 2959169
Change-Id: I9c78f9417aaa448b8b23596bc3e748fe99085393
2010-09-03 04:56:12 +09:00
Tadashi G. Takaoka 6c8109dc15 am a723409a: am f0fd5065: Merge "Add a number alternation to English popup mini keyboard" into gingerbread
Merge commit 'a723409acfe9a2c32be2c3a0d6e5be9a0dd82f00'

* commit 'a723409acfe9a2c32be2c3a0d6e5be9a0dd82f00':
  Add a number alternation to English popup mini keyboard
2010-09-02 12:56:00 -07:00
Tadashi G. Takaoka a18e956f7a am 23eb4711: am 6bfb234f: Refactor KeyDetector to share more methods
Merge commit '23eb4711020f73ebb89a761a0c4ab917a94cfabe'

* commit '23eb4711020f73ebb89a761a0c4ab917a94cfabe':
  Refactor KeyDetector to share more methods
2010-09-02 12:54:02 -07:00
Tadashi G. Takaoka 07221a4ad1 Support sliding pop-up mini-keyboard input
TODO:
- Remove close button on mini-keyboard
- Dismiss mini-keyboard when finger leave the screen while no key is selected

This change also renames some instance variables to have more meaningful name.

Bug: 2959169
Change-Id: I9fd79116a647d7be82415c6e9e7cdaf6edcb2bf6
2010-09-03 04:51:37 +09:00
Tadashi G. Takaoka f0fd506520 Merge "Add a number alternation to English popup mini keyboard" into gingerbread 2010-09-02 12:50:52 -07:00
Tadashi G. Takaoka 6bfb234f29 Refactor KeyDetector to share more methods
Bug: 2959169
Change-Id: I87060049cad6f9d6432b6c4a246c15587ae0d837
2010-09-03 00:46:19 +09:00
Tadashi G. Takaoka ac64a5c3ed am b52edca1: am 83b3cf56: Merge "Corresponding to TBR of Id2b0b974" into gingerbread
Merge commit 'b52edca15df778372e52986bc4f379d1b625a14a'

* commit 'b52edca15df778372e52986bc4f379d1b625a14a':
  Corresponding to TBR of Id2b0b974
2010-09-02 07:26:55 -07:00
Tadashi G. Takaoka 83b3cf56cd Merge "Corresponding to TBR of Id2b0b974" into gingerbread 2010-09-02 07:22:50 -07:00
Tadashi G. Takaoka 2fb7e2ff4d am c98e7cb2: am 0fe4c9e1: Corresponding to TBR of Ie6cf6768
Merge commit 'c98e7cb28b4e05883531266c31ea4c09fca74edc'

* commit 'c98e7cb28b4e05883531266c31ea4c09fca74edc':
  Corresponding to TBR of Ie6cf6768
2010-09-02 06:44:13 -07:00
Tadashi G. Takaoka 72d98fab21 Corresponding to TBR of Id2b0b974
This is follow up change of Id2b0b974fffdf6f09ee1828e957b973d2ce1c315
Bug: 2959169

Change-Id: Ie47db5fce7937a4d70c432ab76510d0dc3f68401
2010-09-02 22:36:22 +09:00
Tadashi G. Takaoka 0fe4c9e1a7 Corresponding to TBR of Ie6cf6768
This is follow up change of Ie6cf67681180467bd8ba35d0205ce6727b7684a2

Bug: 2959169
Change-Id: I9e4cb0c9178856ddd6049f0b751b54f3ad26a266
2010-09-02 22:34:15 +09:00
Tadashi G. Takaoka e9eda7ea94 am 7f67c211: am 400046d6: Encapsulate vertical and horizontal correction values into KeyDetector.
Merge commit '7f67c211e7ec4bdf148c9dd468cc8e73ffeb66e3'

* commit '7f67c211e7ec4bdf148c9dd468cc8e73ffeb66e3':
  Encapsulate vertical and horizontal correction values into KeyDetector.
2010-09-02 06:02:53 -07:00
Tadashi G. Takaoka 400046d62e Encapsulate vertical and horizontal correction values into KeyDetector.
Bug: 2959169
Change-Id: Id2b0b974fffdf6f09ee1828e957b973d2ce1c315
2010-09-02 21:54:26 +09:00
Tadashi G. Takaoka 3b4ecdeb05 Add a number alternation to English popup mini keyboard
This change is only for English locale.  For other locales we should
need specification because keyboard layout and alternations are
different by locale.

Bug: 2959169
Change-Id: Ib63f53ce6c30d75eff78777aa0049b05d58ce55f
2010-09-02 21:06:30 +09:00
Tadashi G. Takaoka 9b5867e3e6 am a4397ce3: am 6b4d521f: Merge "Add PointerTracker argument to long press related methods" into gingerbread
Merge commit 'a4397ce38af2e1ac3a8284bc078bd1e9cb4fecf4'

* commit 'a4397ce38af2e1ac3a8284bc078bd1e9cb4fecf4':
  Add PointerTracker argument to long press related methods
2010-09-02 04:35:57 -07:00
Tadashi G. Takaoka 6b4d521fb4 Merge "Add PointerTracker argument to long press related methods" into gingerbread 2010-09-02 04:31:57 -07:00
Tadashi G. Takaoka 3d4123fabb Add PointerTracker argument to long press related methods
This change also adds debugging log to PointerTracker class

Bug: 2959169
Change-Id: Ie6cf67681180467bd8ba35d0205ce6727b7684a2
2010-09-02 20:28:31 +09:00
Ken Wakasa 5cb51224b2 am 3e6bd26f: am 83c6069b: Decrease LatinKeyboardBaseView_keyPreviewOffset. Popup will be displayed closer to each key typed.
Merge commit '3e6bd26f7d2d78c3c2ae123d0f34682d374371f6'

* commit '3e6bd26f7d2d78c3c2ae123d0f34682d374371f6':
  Decrease LatinKeyboardBaseView_keyPreviewOffset.  Popup will be displayed closer to each key typed.
2010-09-02 02:18:05 -07:00
Ken Wakasa 83c6069b98 Decrease LatinKeyboardBaseView_keyPreviewOffset. Popup will be displayed closer to each key typed.
Change-Id: I863ade61cb4688214d90b24240743ee7fe16e491
2010-09-02 18:07:50 +09:00
Tadashi G. Takaoka 373656f09b am d0457eae: am 3491c877: Merge "Queuing PointerTracker to support n-key roll-over and shift modifier." into gingerbread
Merge commit 'd0457eae17d10535023a02579d16ede7bfcc6bec'

* commit 'd0457eae17d10535023a02579d16ede7bfcc6bec':
  Queuing PointerTracker to support n-key roll-over and shift modifier.
2010-09-02 01:21:36 -07:00
Tadashi G. Takaoka 3491c877dd Merge "Queuing PointerTracker to support n-key roll-over and shift modifier." into gingerbread 2010-09-02 01:17:56 -07:00
satok 0798443d3d am e66f3fbd: am 8f5b0ccc: Update assets for LatinIME
Merge commit 'e66f3fbdfec8ceee127c47654dfbe227577ab484'

* commit 'e66f3fbdfec8ceee127c47654dfbe227577ab484':
  Update assets for LatinIME
2010-09-02 00:17:10 -07:00
satok 8f5b0ccc50 Update assets for LatinIME
Change-Id: Ia3027b68abcc9a51bc6a21320926b9c8b5c5975a
2010-09-02 16:05:19 +09:00
Tadashi G. Takaoka 40a05f62ed Queuing PointerTracker to support n-key roll-over and shift modifier.
Bug: 2910379
Change-Id: I5cfae33e72a406585137842a2260310813cee07f
2010-09-02 16:03:46 +09:00
satok d5180e0401 am 81f7989c: am c175e80d: Merge "Add modifiers to functional keys" into gingerbread
Merge commit '81f7989c1aa626f10e2ad8def6de7003b96dcef0'

* commit '81f7989c1aa626f10e2ad8def6de7003b96dcef0':
  Add modifiers to functional keys
2010-09-01 22:39:39 -07:00
satok c175e80d57 Merge "Add modifiers to functional keys" into gingerbread 2010-09-01 22:36:06 -07:00
satok d383364ee4 Add modifiers to functional keys
- update assets for language switcher

Change-Id: I8f29d3d38fb73ab5673f9e58cf28ed37cc8b4004
2010-09-02 14:18:46 +09:00
satok 11b448528b am c5363012: am a327485e: Change the preference name for a theme and remove a preference settings
Merge commit 'c5363012b846733e9a3b7ce7de5b04e58644bedc'

* commit 'c5363012b846733e9a3b7ce7de5b04e58644bedc':
  Change the preference name for a theme and remove a preference settings
2010-09-01 22:07:20 -07:00
satok a327485e59 Change the preference name for a theme and remove a preference settings
Change-Id: I5ad980559477775eb44df022e54ce5ef32398601
2010-09-02 13:54:30 +09:00
satok ee01bf1408 am 308acfa7: am ac4f8e46: Merge "Change background color for functional keys in LatinIME" into gingerbread
Merge commit '308acfa714a3a0aae073871e76e753b5a98096d1'

* commit '308acfa714a3a0aae073871e76e753b5a98096d1':
  Change background color for functional keys in LatinIME
2010-09-01 20:06:05 -07:00
satok ac4f8e4629 Merge "Change background color for functional keys in LatinIME" into gingerbread 2010-09-01 19:52:46 -07:00
satok dd8dd9fc1b Change background color for functional keys in LatinIME
Change-Id: I45f13c1fd139ce43478e5d0b2cdb62e56e9f77a8
2010-09-02 11:47:33 +09:00
Tadashi G. Takaoka 896aa23f06 am d8417f1c: am f7d71c33: Merge "Refactor PointerTracker to add isValidKeyIndex() predicate." into gingerbread
Merge commit 'd8417f1cfe0c5eaf7746ecd4f8e140c15624fedd'

* commit 'd8417f1cfe0c5eaf7746ecd4f8e140c15624fedd':
  Refactor PointerTracker to add isValidKeyIndex() predicate.
2010-09-01 17:34:29 -07:00
Tadashi G. Takaoka f7d71c338f Merge "Refactor PointerTracker to add isValidKeyIndex() predicate." into gingerbread 2010-09-01 17:29:46 -07:00
Amith Yamasani ec1f2486b0 am c354167c: am b00a1d0c: Correction improvements - use the new InputConnection APIs for underlining and fetching the selected text.
Merge commit 'c354167c84b06b572067efaddfbd3667ffdadb98'

* commit 'c354167c84b06b572067efaddfbd3667ffdadb98':
  Correction improvements - use the new InputConnection APIs for underlining and
2010-09-01 17:01:25 -07:00
Amith Yamasani b00a1d0c0a Correction improvements - use the new InputConnection APIs for underlining and
fetching the selected text.

Bug: 2950652

Some refinements to correction behavior, such as retaining the tap-to-save
when in correction mode.

Use reflection to access the new InputConnection APIs with fallbacks, in case
we run on older OS versions.

Some refactoring to separate lookup for voice alternatives and typed alternatives.

Change-Id: I7c4178bf7e6b47ee274c49fa7a694f8c2d50cea7
2010-09-01 14:16:50 -07:00
Tadashi G. Takaoka 568743e182 am 2c7583f6: am c6cb2ec1: Add new public attribute mPointerId to PointerTracker
Merge commit '2c7583f6c3c24202492b9404955b1aee2dc5ce94'

* commit '2c7583f6c3c24202492b9404955b1aee2dc5ce94':
  Add new public attribute mPointerId to PointerTracker
2010-09-01 13:04:27 -07:00
Tadashi G. Takaoka c6df09182c Refactor PointerTracker to add isValidKeyIndex() predicate.
Bug: 2910379
Change-Id: If2b28764dc777bb62949a95bc61c4a16ff152220
2010-09-02 02:49:52 +09:00
Tadashi G. Takaoka c6cb2ec1f3 Add new public attribute mPointerId to PointerTracker
It is easier to track each pointer if a PointerTracker object keeps
its pointer id.

Bug: 2910379
Change-Id: If3e3b0cf3d834d22302598f4d85d54c9a4ce92ba
2010-09-02 02:21:17 +09:00
Tadashi G. Takaoka a4c5745852 am 57a41d09: am 2085d43d: Make abstract KeyDetector class
Merge commit '57a41d09b6427a0d2c1e4884678a933753350a9c'

* commit '57a41d09b6427a0d2c1e4884678a933753350a9c':
  Make abstract KeyDetector class
2010-09-01 10:01:35 -07:00
Tadashi G. Takaoka 2085d43daf Make abstract KeyDetector class
The KeyDetector abstracts key detection algorithm. The
ProximityKeyDetector is one of its concrete implementations.  Another
one that might be called XAxisKeyDetector will follow to realize the
pop-up mini-keyboard behavior described in bug#2959169.

Bug: 2959169
Change-Id: Idd3fc53282e6b721ec7a4ce500af8aba21ce07a3
2010-09-02 01:53:26 +09:00
Tadashi G. Takaoka 1d3678ef2f am f3231f45: am 681b102a: Track all pointers events
Merge commit 'f3231f45310ae28b78662ae39b1961d80b3b01f8'

* commit 'f3231f45310ae28b78662ae39b1961d80b3b01f8':
  Track all pointers events
2010-09-01 08:31:14 -07:00
Ken Wakasa d7dba7c33d am fb82afd4: am 40ac45eb: Get rid of arrows in candidate view
Merge commit 'fb82afd48b6882cbdbb6477dca9526cd22d69400'

* commit 'fb82afd48b6882cbdbb6477dca9526cd22d69400':
  Get rid of arrows in candidate view
2010-09-01 08:30:56 -07:00
satok 6f99ca9eaa am 103381eb: am d4f60bc8: Merge "Fix new theme assets and resources" into gingerbread
Merge commit '103381ebf1a833ec478dd1bac41e67cf7d538f67'

* commit '103381ebf1a833ec478dd1bac41e67cf7d538f67':
  Fix new theme assets and resources
2010-09-01 08:30:54 -07:00
satok 948ddac172 am fcba07ad: am 4de4d51d: Merge "Remove old unused delete key assets" into gingerbread
Merge commit 'fcba07adb72962029d6d046301d471fc471af352'

* commit 'fcba07adb72962029d6d046301d471fc471af352':
  Remove old unused delete key assets
2010-09-01 08:30:45 -07:00
satok 270db06604 am fbd2aaf5: am a8d5e6d3: Remove duplicated assets
Merge commit 'fbd2aaf5ffb98035f6ed85589effa7a73b85fa70'

* commit 'fbd2aaf5ffb98035f6ed85589effa7a73b85fa70':
  Remove duplicated assets
2010-09-01 08:30:36 -07:00
satok 132927f20e am 4d09b2e7: am 31adfa78: Add a new theme for Gingerbread
Merge commit '4d09b2e78e68ef0f1b713b10e280e56d91592717'

* commit '4d09b2e78e68ef0f1b713b10e280e56d91592717':
  Add a new theme for Gingerbread
2010-09-01 08:30:31 -07:00
Tadashi G. Takaoka 35682aff05 am c3b55809: am c7c6203f: Merge "Introduce multiple PointerTracker" into gingerbread
Merge commit 'c3b55809a5e650200a67c8f8164ba48db995c24c'

* commit 'c3b55809a5e650200a67c8f8164ba48db995c24c':
  Introduce multiple PointerTracker
2010-09-01 08:30:18 -07:00
Tadashi G. Takaoka 681b102a49 Track all pointers events
Bug: 2910379
Change-Id: I179ae4359afb57c351d5fcc5f5453c30d3ef0c01
2010-09-01 22:37:37 +09:00
Ken Wakasa 40ac45ebdc Get rid of arrows in candidate view
bug: 2959293
Change-Id: Ia5dcb29397f608846f865fabb3c696866b3687aa
2010-09-01 17:59:12 +09:00
satok d4f60bc8fc Merge "Fix new theme assets and resources" into gingerbread 2010-09-01 01:52:31 -07:00
satok 4de4d51dfa Merge "Remove old unused delete key assets" into gingerbread 2010-09-01 01:42:13 -07:00
satok 8d3ca2fc44 Fix new theme assets and resources
- Add a layout for popup for new theme
- Change the color of language bar
- Fix a drawable for settings feedback

Change-Id: I7c0c9e238c8223554a62f7b0c8092d074cf9743f
2010-09-01 17:38:50 +09:00
satok 186bb0b360 Remove old unused delete key assets
Change-Id: Id50b0f3069b37e6751a4cfbd374c22c13fb0f505
2010-09-01 16:36:30 +09:00
satok a8d5e6d373 Remove duplicated assets
Change-Id: I4f8abf917ff9dfa3c5d31e441476e032fb4ce3a9
2010-09-01 16:26:08 +09:00
satok 31adfa78e2 Add a new theme for Gingerbread
bug: 2959293

Change-Id: I8aef19a7485ffd5639a177aee21103b3a1e04cf2
2010-09-01 16:18:01 +09:00
Tadashi G. Takaoka c7c6203f33 Merge "Introduce multiple PointerTracker" into gingerbread 2010-09-01 00:01:22 -07:00
Tadashi G. Takaoka a521b31d96 Introduce multiple PointerTracker
Bug: 2910379
Change-Id: Iefafa2d30ad16f898a00664e4bf3e3e88dcd2cb2
2010-09-01 15:59:54 +09:00
satok d3e8308a17 am 3412a892: am d44b79eb: Merge "Add new assets" into gingerbread
Merge commit '3412a892dd21a3e9ad27ba11abe7125e88556c5b'

* commit '3412a892dd21a3e9ad27ba11abe7125e88556c5b':
  Add new assets
2010-08-31 23:05:09 -07:00
satok d44b79eb5b Merge "Add new assets" into gingerbread 2010-08-31 21:42:50 -07:00
satok d0ef2ae291 Add new assets
- drawable-hdpi/keyboard_popup_panel_background.9.png
- drawable-hdpi/voice_ime_background.9.png

Change-Id: Iac75c8d488454534a921c59267f2523e47bb5e11
2010-09-01 13:32:51 +09:00
satok 9a47419979 am 3fa7486c: am fd36a98d: Merge "Add new assets for LatinIME" into gingerbread
Merge commit '3fa7486c940e4b66ba23eadb2c5541f371ce31b1'

* commit '3fa7486c940e4b66ba23eadb2c5541f371ce31b1':
  Add new assets for LatinIME
2010-08-31 20:45:27 -07:00
Tadashi G. Takaoka 64f4915f46 am ad60fe2e: am 409731fb: Merge "Make KeyDebounce class a top-level class and rename it to PointerTracker" into gingerbread
Merge commit 'ad60fe2e80878e1b1caa2c9207d8f601e203560f'

* commit 'ad60fe2e80878e1b1caa2c9207d8f601e203560f':
  Make KeyDebounce class a top-level class and rename it to PointerTracker
2010-08-31 20:43:33 -07:00
Ken Wakasa 5d95dfc2cb am 7bb640c1: am 543dbdfd: Always present suggestion strip whenever in appropriate mode.
Merge commit '7bb640c1e06718936412af2c2198e09a57ce5124'

* commit '7bb640c1e06718936412af2c2198e09a57ce5124':
  Always present suggestion strip whenever in appropriate mode.
2010-08-31 20:43:31 -07:00
satok fd36a98dac Merge "Add new assets for LatinIME" into gingerbread 2010-08-31 20:40:33 -07:00
Tadashi G. Takaoka 409731fb46 Merge "Make KeyDebounce class a top-level class and rename it to PointerTracker" into gingerbread 2010-08-31 20:26:58 -07:00
Tadashi G. Takaoka 6a1514a0de Make KeyDebounce class a top-level class and rename it to PointerTracker
Bug: 2910379
Change-Id: I9503b2211b272a4a2903d0732985e5ab8ee39440
2010-09-01 12:26:32 +09:00
satok eee0a637b4 Add new assets for LatinIME
Change-Id: I62b544d6ed2d3ef7a5e37cdcedef7a60d09a1cb2
2010-09-01 12:00:05 +09:00
Ken Wakasa 543dbdfdbd Always present suggestion strip whenever in appropriate mode.
Some cleanups too.

bug: 2959293
Change-Id: Idf07fc25c5700b69b93ab4b09ce34941f0d9c157
2010-09-01 11:25:08 +09:00
Ken Wakasa 890c1d5fa3 am 5bb2e9a5: am b24cc640: Fix ArrayIndexOutOfBoundsException.
Merge commit '5bb2e9a55de237e1955ac1fd19eea3771e671afe'

* commit '5bb2e9a55de237e1955ac1fd19eea3771e671afe':
  Fix ArrayIndexOutOfBoundsException.
2010-08-31 17:22:49 -07:00
Ken Wakasa b24cc640c1 Fix ArrayIndexOutOfBoundsException.
bug: 2964045
Change-Id: I97d95181e1a6838ace9c135aa92e7f20034e821f
2010-09-01 09:11:38 +09:00
Tadashi G. Takaoka e202e5e298 am cc742449: am b57b4785: Refactor KeyDebounce class
Merge commit 'cc7424498f63712077e8e4009932b22fabdc1e38'

* commit 'cc7424498f63712077e8e4009932b22fabdc1e38':
  Refactor KeyDebounce class
2010-08-31 10:10:48 -07:00
Tadashi G. Takaoka 224453eea2 am f4230c49: am dc406a2d: Merge "Refactor key preview methods" into gingerbread
Merge commit 'f4230c498d2424e52170599da7cd231df5a9311e'

* commit 'f4230c498d2424e52170599da7cd231df5a9311e':
  Refactor key preview methods
2010-08-31 10:10:46 -07:00
satok 203629d649 am 86bbd685: am 4f3741d4: Merge "Add missing resources for LatinIME" into gingerbread
Merge commit '86bbd685f6d47574a0d9aeaf88fb5117fbbd611b'

* commit '86bbd685f6d47574a0d9aeaf88fb5117fbbd611b':
  Add missing resources for LatinIME
2010-08-31 10:10:31 -07:00
satok 981ddd228d am 28f6351d: am 673aed42: Add settings button
Merge commit '28f6351df341bd27c330b79f315e7419f2f35100'

* commit '28f6351df341bd27c330b79f315e7419f2f35100':
  Add settings button
2010-08-31 10:10:15 -07:00
Tadashi G. Takaoka b57b478569 Refactor KeyDebounce class
This change moves the following methods into KeyDebounce class.
- MotionEvent handling methods (onDownEvent etc.).
- Keyboard action event generator method (detectAndSendKey).
- Multi-tap key support methods (resetMultiTap etc.).
- Key preview text generator method (getPreviewText).

The change that makes KeyDebounce a top-level class will follow.

Bug: 2910379
Change-Id: I1526c0461e247d97f0c4b3bd580330f137c787be
2010-09-01 00:18:49 +09:00
Maryam Garrett 32511ef6cb Merge "Logging for the VoiceSearch alternates" 2010-08-31 07:48:07 -07:00
Tadashi G. Takaoka dc406a2db6 Merge "Refactor key preview methods" into gingerbread 2010-08-31 02:39:41 -07:00
Tadashi G. Takaoka 2ca84dacff Refactor key preview methods
Extract key press and release handling out of previewKey() to
KeyDebouncer class. And pass Key object as argument of previewKey()
instead of key index.

Bug: 2910379
Change-Id: Ifec39cfc4845bd92da2f62eba2b26ac6a5cbb341
2010-08-31 18:39:20 +09:00
satok 4f3741d4e9 Merge "Add missing resources for LatinIME" into gingerbread 2010-08-30 22:14:03 -07:00
satok 0ca1bf7158 Add missing resources for LatinIME
Change-Id: I470387ab9f9d867c1ac839b75fe18c1ce711083d
2010-08-31 14:12:54 +09:00
satok 673aed42c3 Add settings button
- delete unused keyboard layout

Change-Id: Iab39446653460797f1ca876a7d9a23190c3a8df6
2010-08-31 14:03:50 +09:00
Tadashi G. Takaoka 85c1c43540 am c4154ba8: am eeb77d4f: Merge "Remove mAbortKey flag completely" into gingerbread
Merge commit 'c4154ba8dec50eaf7f9d118067d3eb7d89701192'

* commit 'c4154ba8dec50eaf7f9d118067d3eb7d89701192':
  Remove mAbortKey flag completely
2010-08-30 18:29:01 -07:00
Tadashi G. Takaoka eeb77d4f6a Merge "Remove mAbortKey flag completely" into gingerbread 2010-08-30 18:19:03 -07:00
Eric Fischer c788e3c3c9 Import revised translations
Change-Id: I4de68ff4db492e7efbaafaf01c7d1b97110a948a
2010-08-30 13:40:34 -07:00
Maryam Garrett 7b9ed1aa76 Logging for the VoiceSearch alternates
Log which voice-based alternates were selected, and what
word in the recognition results were replaced.

Change-Id: I1527dc794902a18a226ca45e186ecf84841094c8

Conflicts:

	java/src/com/android/inputmethod/latin/LatinIME.java
2010-08-30 14:34:10 -04:00
Eric Fischer 164972b678 Merge "Import revised translations. DO NOT MERGE" into gingerbread 2010-08-30 10:30:21 -07:00
Tadashi G. Takaoka ba9b24edff Remove mAbortKey flag completely
These three conditions assign true to the mAbortKey flag.
1. setKeyboard() sets the new keyboard layout.
2. long press shows the pop-up mini keyboard.
3. ACTION_CANCEL event is occurred.

In the case 1, in LatinIME so far, only "symbol key" and "language
switch" cause keyboard layout change.  In both cases, the event is
occurred in onUpEvent(), so we do not need to worry about aborting
event.

In the case 2, long press is used only to pop-up mini-keyboard and at that
time mMiniKeyboardOnScreen could be used as a flag.

In the case 3, though I'm not sure when this case occurs, in
onCancelEvent() all the things that should be canceled are canceled
in onCancelEvent().

Bug: 2910379
Change-Id: I12377c5f3e808f1c017ce980e12b1513895047bc
2010-08-31 00:43:40 +09:00
Tadashi G. Takaoka a66ccc3e8d am 1cd7d96f: am ed5ce6c1: Merge "Remove extension keyboard" into gingerbread
Merge commit '1cd7d96fe42e63577d70e911c4b5dbfd8b50bba1'

* commit '1cd7d96fe42e63577d70e911c4b5dbfd8b50bba1':
  Remove extension keyboard
2010-08-30 08:34:08 -07:00
Tadashi G. Takaoka 205fb4b7f1 am 36007521: am 82798ac0: Disable long-press on symbol keys on international locale keyboards.
Merge commit '36007521cef25259150127c83ccba5fe38eda14c'

* commit '36007521cef25259150127c83ccba5fe38eda14c':
  Disable long-press on symbol keys on international locale keyboards.
2010-08-30 08:33:58 -07:00
Tadashi G. Takaoka ed5ce6c1a3 Merge "Remove extension keyboard" into gingerbread 2010-08-30 07:32:21 -07:00
Tadashi G. Takaoka 82798ac066 Disable long-press on symbol keys on international locale keyboards.
This change is supplement of I27007b55a30a3699bf63fd8f64d58c4b23d97d9f

Bug: 2910379
Change-Id: I634226a503594e76cea9ca29e32db5801a05ae09
2010-08-30 21:40:23 +09:00
Tadashi G. Takaoka d2a431efa7 Remove extension keyboard
Bug: 2959287
Change-Id: I344ac58b4119e96daf5928c784275ee0b7095958
2010-08-30 21:20:55 +09:00
satok 15078eb548 am ad0aac23: am 4fc6539b: Remove unused assets
Merge commit 'ad0aac23ab5882d88f532896c63d234a6cf62267'

* commit 'ad0aac23ab5882d88f532896c63d234a6cf62267':
  Remove unused assets
2010-08-30 02:23:23 -07:00
satok 8650230abc am e975c196: am 5d55cf6d: Remove Log functions from Gingerbread
Merge commit 'e975c196c5638ac7f5a61e45100a6eba49900412'

* commit 'e975c196c5638ac7f5a61e45100a6eba49900412':
  Remove Log functions from Gingerbread
2010-08-30 02:01:20 -07:00
satok 4fc6539bcb Remove unused assets
Change-Id: I65de6335b19dec03785df51ddd544b7e4d39c036
2010-08-30 17:14:10 +09:00
satok 5d55cf6dfc Remove Log functions from Gingerbread
Change-Id: I0ab19726a6bfaf14b42c05903f38dfb74cbd0d37
2010-08-30 16:32:50 +09:00
satok cb6221257a DO NOT MERGE. Remove a preference for bigram suggestion
Change-Id: I1a9142d988352abf88da5eefe1d02596c7fc2beb
2010-08-30 14:56:49 +09:00
Eric Fischer 22708e6638 Import revised translations. DO NOT MERGE
Change-Id: I968a456446b782b1e20cad0b6d3c82a8aa9a663a
2010-08-27 17:18:02 -07:00
Tadashi G. Takaoka c5f136465d am fd2ccb7d: am 06123e56: Don\'t re-allocate KeyDebouncer when keyboard is switched.
Merge commit 'fd2ccb7dd41d616255e2cc3d9aa3d01a8c40bfb8'

* commit 'fd2ccb7dd41d616255e2cc3d9aa3d01a8c40bfb8':
  Don't re-allocate KeyDebouncer when keyboard is switched.
2010-08-27 16:05:49 -07:00
Tadashi G. Takaoka f0673a4c1d am 2603c979: am 00dda50e: Revert "Show key preview instantaneously"
Merge commit '2603c97979ce9658788e8aff33b282d4c30a0b9d'

* commit '2603c97979ce9658788e8aff33b282d4c30a0b9d':
  Revert "Show key preview instantaneously"
2010-08-27 16:04:34 -07:00
Tadashi G. Takaoka 2380f99973 am 44ecfdb6: am 09f530e2: Show key preview instantaneously
Merge commit '44ecfdb60b7473030fcf478412fb9cfd01ea2d01'

* commit '44ecfdb60b7473030fcf478412fb9cfd01ea2d01':
  Show key preview instantaneously
2010-08-27 16:04:29 -07:00
Tadashi G. Takaoka 3ee0f70c3e am 6ad0d15c: am 7986d783: Merge "Disable long-press on shift and symbol keys" into gingerbread
Merge commit '6ad0d15ca28aa23a85c2480966bc58b2f2d4694c'

* commit '6ad0d15ca28aa23a85c2480966bc58b2f2d4694c':
  Disable long-press on shift and symbol keys
2010-08-27 16:04:23 -07:00
satok 2878bb92ed am 6bd55470: am f17a50f5: Merge "Not to reset the ring buffer in LatinImeLogger" into gingerbread
Merge commit '6bd55470fd9378808ec3b7d3e6008b83d803267c'

* commit '6bd55470fd9378808ec3b7d3e6008b83d803267c':
  Not to reset the ring buffer in LatinImeLogger
2010-08-27 15:53:26 -07:00
Tadashi G. Takaoka 565a9ec8ac am 61f49165: am 830fd4af: Merge "Refactor onModifiedTouchEvent into several methods." into gingerbread
Merge commit '61f49165b579635cd10374276575cab1251f2198'

* commit '61f49165b579635cd10374276575cab1251f2198':
  Refactor onModifiedTouchEvent into several methods.
2010-08-27 15:53:11 -07:00
Tadashi G. Takaoka 12e2cdd9b3 am 01b25346: am bdd9c3dc: Remove unused import statement
Merge commit '01b25346c586ac4bbec1130565210eaa93fdee36'

* commit '01b25346c586ac4bbec1130565210eaa93fdee36':
  Remove unused import statement
2010-08-27 15:53:07 -07:00
Tadashi G. Takaoka 0974c94081 am 6c1644a7: am e83d7385: Refactor getKeyIndexAndNearbyCodes into independent class
Merge commit '6c1644a7ddc2d182bf7c63c7791b345b9187713f'

* commit '6c1644a7ddc2d182bf7c63c7791b345b9187713f':
  Refactor getKeyIndexAndNearbyCodes into independent class
2010-08-27 15:52:48 -07:00
Tadashi G. Takaoka 06123e5691 Don't re-allocate KeyDebouncer when keyboard is switched.
This change also re-orders instance variables and eliminates
unnecessary ones.

Bug: 2910379
Change-Id: I6b2217f75738fada32a33f59f0f7adba5e99dd6e
2010-08-28 01:23:01 +09:00
Tadashi G. Takaoka 00dda50efd Revert "Show key preview instantaneously"
This reverts commit 09f530e248.

Change-Id: I3106cd22cc1eac750f05bce26df6af3026dfaf86
2010-08-27 21:04:31 +09:00
Tadashi G. Takaoka 09f530e248 Show key preview instantaneously
This change will display the key board preview instantaneously when
the key is pressed.  Dismissing the key preview will be delayed
slightly after the key is released, as we do now.

Because in multi touch mode, we should instantaneously change keyboard
layout when modifier key, such as shit and symbol, is pressed.

Change-Id: I49348d563ca0f40f5a0a236bdcd0bb07eedd599b
2010-08-27 19:38:52 +09:00
Tadashi G. Takaoka 7986d78328 Merge "Disable long-press on shift and symbol keys" into gingerbread 2010-08-26 23:54:29 -07:00
Tadashi G. Takaoka cec1495071 Disable long-press on shift and symbol keys
Long-press on shift and symbol keys will conflict with press-and-hold
these keys and press normal key (a.k.a. multi touch support).

Bug: 2910379

Change-Id: I27007b55a30a3699bf63fd8f64d58c4b23d97d9f
2010-08-27 15:47:35 +09:00
satok f17a50f5a5 Merge "Not to reset the ring buffer in LatinImeLogger" into gingerbread 2010-08-26 22:42:07 -07:00
satok 975fc3cfd8 Not to reset the ring buffer in LatinImeLogger
Change-Id: I3286b2562e07d77a9dfd745ad6ec44aae4396e21
2010-08-27 14:26:58 +09:00
Tadashi G. Takaoka 830fd4af56 Merge "Refactor onModifiedTouchEvent into several methods." into gingerbread 2010-08-26 19:56:32 -07:00
Tadashi G. Takaoka bdd9c3dc4f Remove unused import statement
Change-Id: I61890a702060650369c6edf70c3de823a0fc1bf1
2010-08-27 11:11:05 +09:00
Tadashi G. Takaoka 5b6fbf9a4f Refactor onModifiedTouchEvent into several methods.
This change eliminates the need of extra MotionEvent allocation.  Also
this will lead to the easy way to handle multi touch events.

Bug: 2910379
Change-Id: Ibcfcba554b732c13105f91877b41b553ee6928ba
2010-08-27 09:59:59 +09:00
Tadashi G. Takaoka 480f022f76 am 6056fee8: am dfbc5080: Refactor SwipeTracker class
Merge commit '6056fee826bbc011dd7742cb2e01fe4645e88c6f'

* commit '6056fee826bbc011dd7742cb2e01fe4645e88c6f':
  Refactor SwipeTracker class
2010-08-26 07:33:39 -07:00
Tadashi G. Takaoka e83d7385ab Refactor getKeyIndexAndNearbyCodes into independent class
Bug: 2910379
Change-Id: Ib26a898ea108ee4292f9f91b6d7d10c1fc380fd1
2010-08-26 23:33:08 +09:00
Tadashi G. Takaoka dfbc5080a1 Refactor SwipeTracker class
This change moves SwipeTracker out from LatinKeyboardBaseView.  Also
this introduces EventBuffer class for swipe tracking buffer.

Bug: 2910379

Change-Id: I48ff714226a248ca063cbaf9755cf45e458f7402
2010-08-26 23:28:52 +09:00
satok c3da8084ea am 3a196bb9: am 542f057e: Add a log for getting coordinates of keys
Merge commit '3a196bb92846a44283be40170e4b97908ced3031'

* commit '3a196bb92846a44283be40170e4b97908ced3031':
  Add a log for getting coordinates of keys
2010-08-26 02:14:14 -07:00
satok 542f057ef6 Add a log for getting coordinates of keys
Change-Id: I57cc6fb6a9eeb65ce8c0c3c3262fd525726643e2
2010-08-26 18:08:12 +09:00
Tadashi G. Takaoka 0b60d0f619 am f6545f21: am 0c548098: Refactor gesture detector logic
Merge commit 'f6545f2138288f6cdc44c1690b24813a48173fc6'

* commit 'f6545f2138288f6cdc44c1690b24813a48173fc6':
  Refactor gesture detector logic
2010-08-26 00:03:29 -07:00
Tadashi G. Takaoka 0c54809891 Refactor gesture detector logic
GestureDetector listener's onFling method will not call detectAndSendKey
anymore.

Make gesture detector be ignoring multitouch.  Refactoring
GestureDetector out of LatinKeyboardBaseView class change will follow.

Bug: 2910379
Change-Id: I0b2a9c4cf7d432f89f9085f3c2bdf3a3757a8903
2010-08-26 15:54:50 +09:00
Tadashi G. Takaoka 04b5c5cd56 am 0a9ea46c: am 0d098c51: Fix bugs in key repeat logic
Merge commit '0a9ea46c2a8a438de13016d60ceccb96f81eb4d5'

* commit '0a9ea46c2a8a438de13016d60ceccb96f81eb4d5':
  Fix bugs in key repeat logic
2010-08-25 20:08:28 -07:00
Tadashi G. Takaoka 0d098c514e Fix bugs in key repeat logic
Bug: 2950714
Change-Id: I3110369c085f89ee1e8f7392a9a04a6b9e377ed4
2010-08-26 12:03:17 +09:00
Tadashi G. Takaoka e724b4a62b am 47db8fe1: am d900867b: Change all-subdir-java-files to all-java-files-under,src
Merge commit '47db8fe121a3ba439bd192f6fb318792719e4a68'

* commit '47db8fe121a3ba439bd192f6fb318792719e4a68':
  Change all-subdir-java-files to all-java-files-under,src
2010-08-25 02:57:30 -07:00
Tadashi G. Takaoka d900867b37 Change all-subdir-java-files to all-java-files-under,src
Change-Id: I3c15101a769f19b3f3696f315db47c929979b703
2010-08-25 18:12:18 +09:00
Tadashi G. Takaoka 95f59ed268 am cd163679: am 05d1904e: Refactor SwipeTracker to top level class
Merge commit 'cd1636790d550bc66331524282bc0a7ea085dfa1'

* commit 'cd1636790d550bc66331524282bc0a7ea085dfa1':
  Refactor SwipeTracker to top level class
2010-08-25 02:11:54 -07:00
Tadashi G. Takaoka 05d1904ed7 Refactor SwipeTracker to top level class
Bug: 2910379
Change-Id: If0ef09d8b0e7ca1c62b4c5a31bcaa620664868f2
2010-08-25 17:21:43 +09:00
Tadashi G. Takaoka bd48619388 am f8737965: am f4271e51: Refactor key repeating related code
Merge commit 'f8737965be2039e4176db4b570d7f587e7ea2fcb'

* commit 'f8737965be2039e4176db4b570d7f587e7ea2fcb':
  Refactor key repeating related code
2010-08-24 23:17:51 -07:00
Tadashi G. Takaoka f4271e51e7 Refactor key repeating related code
This change encapsulates mInKeyRepeat (former mRepeatKeyIndex) into
UIHandler class.  Also this eliminates mCurrentKey and mLastTapTime
dependency from repeatKey method.

Bug: 2910379
Change-Id: I9351a558be2ebc04de4ebb0d323af4be33bd470c
2010-08-25 12:33:46 +09:00
Tadashi G. Takaoka d3bc51ccaf am ed99b8d9: am 8ee13212: Refactor long press related code
Merge commit 'ed99b8d9c12da744596c1ec42f8090a59927f142'

* commit 'ed99b8d9c12da744596c1ec42f8090a59927f142':
  Refactor long press related code
2010-08-24 20:25:47 -07:00
Tadashi G. Takaoka 8ee1321264 Refactor long press related code
This change eliminates mCurrentKey dependency from openPopupIfRequired
method.  Also slightly cleanup onModifiedTouchEvent.

Bug: 2910379
Change-Id: I90c9b39c46c0bb32ecc6588abfc49eb60315f54c
2010-08-25 12:08:20 +09:00
Tadashi G. Takaoka d89ceafb6d am 4a2ad03a: am edadd266: Merge "Refactor onModifiedTouchEvent of LatinKeyboardBaseView" into gingerbread
Merge commit '4a2ad03a56de5cda14a8c7c3bd79e357c28efe07'

* commit '4a2ad03a56de5cda14a8c7c3bd79e357c28efe07':
  Refactor onModifiedTouchEvent of LatinKeyboardBaseView
2010-08-24 18:31:19 -07:00
Tadashi G. Takaoka edadd2661b Merge "Refactor onModifiedTouchEvent of LatinKeyboardBaseView" into gingerbread 2010-08-24 18:27:47 -07:00
Tadashi G. Takaoka 8b0cb128be Refactor onModifiedTouchEvent of LatinKeyboardBaseView
This change simplifies onModifierTouchEvent to focus on handling
motion event related to a key event.

Other refactoring will follow in order to support multi touch.

Bug: 2910379

Change-Id: I036be64168d951a535600a7910b36bc109f88490
2010-08-25 10:17:14 +09:00
satok 287abe8f1b am d4f91263: am 525141a4: Clean up LatinIME java
Merge commit 'd4f9126336b16cf6aa2fb21ddcd654ebfc1f4af9'

* commit 'd4f9126336b16cf6aa2fb21ddcd654ebfc1f4af9':
  Clean up LatinIME java
2010-08-24 11:55:13 -07:00
Ken Wakasa 48852f33b3 am 6b6ae29b: am 78c46117: Fix LatinIME crashing due to crash in Contacts DB
Merge commit '6b6ae29b61acf1f8317f5dd261d5c74ec51b155e'

* commit '6b6ae29b61acf1f8317f5dd261d5c74ec51b155e':
  Fix LatinIME crashing due to crash in Contacts DB
2010-08-24 10:16:17 -07:00
satok 525141a402 Clean up LatinIME java
- remove unused code
- add @Override
- change the inappropriate cast

Change-Id: Ib25b4939e5b4273794ab0f6349776b5b62d89894
2010-08-24 12:40:00 +09:00
Ken Wakasa 159bc3cf43 am 3ecb4813: am 17dc363a: Fix an NPE found in KeyboardSwitcher.isAlphabetMode()
Merge commit '3ecb4813f1f77ce9330b08a1a2ab83d26df05e51'

* commit '3ecb4813f1f77ce9330b08a1a2ab83d26df05e51':
  Fix an NPE found in KeyboardSwitcher.isAlphabetMode()
2010-08-23 12:02:52 -07:00
Yohei Fujii 4cd593d02a Fixed the issue of unsufficient description about popup_on_keypress at strings.xml
Bug:2930812
Change-Id: I3a6af4d2a6b0dea1d3391300f7bf9a577daf3c8d
2010-08-23 18:47:46 +09:00
Ken Wakasa 78c4611719 Fix LatinIME crashing due to crash in Contacts DB
bug: 2895391
Change-Id: I3a0628942b74556f8b600b63ebc5d808fb2f0abd
2010-08-20 20:12:39 +09:00
Ken Wakasa 17dc363a63 Fix an NPE found in KeyboardSwitcher.isAlphabetMode()
Change-Id: I03d3d9b25147632d25c1502f796acad4cdaeb239
2010-08-20 18:28:22 +09:00
satok 979f869096 DO NOT MERGE. Backport LatinIME from master to Gingerbread
TODO: Cleanup will follow.

Change-Id: I4a68ba9f2f55760aa24187f1f13fdfa8a0b70963
2010-08-20 14:37:03 +09:00
Tadashi G. Takaoka f95e947223 Refactor shift state and caps lock state handling code.
Move setShifted and setShifLocked methods to KeyboardSwitcher, then
delegate to LatinKeyboardView.

Bug: 2910379

Change-Id: I5dba70ec0dfc7a1ed67f1e05d54a2bd92252ed24
2010-08-20 11:42:28 +09:00
Eric Fischer 103634dd8d Merge "Import Romansh translations." 2010-08-19 12:01:53 -07:00
satok 22ac244d5e Add subtype to method.xml
Change-Id: I6006c729f89cc91d5674c19b95cf19ad2cab14cf
2010-08-19 20:02:00 +09:00
Eric Fischer 4c510f83a0 Import Romansh translations.
Change-Id: Ib6529182be031be2e54072a87516caee5f0d2c1d
2010-08-18 16:27:03 -07:00
Yohei Fujii e68bba227f Fixed the popup default value problem.
Bug:2909517

Change-Id: Ic323d38219a2af211b8a8db09746febe4ccbede9
2010-08-18 16:54:26 +09:00
Eric Fischer b9ab7ddd33 Merge "Import revised translations." 2010-08-17 17:24:41 -07:00
Eric Fischer 1193da8ed2 Import revised translations.
Change-Id: I975bcb5cf09211c6379cc7e7ad89ea09d91e7ec1
2010-08-17 16:56:36 -07:00
Ken Wakasa 5403336357 Merge "Fix various modifier keys on the Norwegian keyboard." 2010-08-17 16:34:10 -07:00
Amith Yamasani c20c5a8d4c Fixes for correction mode - reliably show the corrections when tapping on a word.
Also, continue to show the corrections when user keeps replacing the word repeatedly
with different corrections from the suggestion strip. There were problems with
tapping suggestions quickly or tapping the same suggestion more than once (same length).

Also fixes Bug: 2852891 - Text suggestion appears incorrectly when selecting text that's
not a whole word.

Changed the TextEntryState states to an enum type instead of int. Needed it to show the
states for debugging purposes.
2010-08-17 09:05:24 -07:00
Steinar H. Gunderson 4b892a1daa Fix various modifier keys on the Norwegian keyboard.
There are some traditional differences between Norwegian and Swedish
keyboard layouts -- for instance, few Norwegians would search for ü
on the y key, but it is so on the Swedish keyboard. Correct the most
obvious differences.

Change-Id: Iab53fa51ff7faa2022b10b551e47060a6f2c5652
2010-08-17 15:18:26 +02:00
Yohei Fujii c9a181b1b3 Fixed default preference issue.
Change-Id: I6d12bc054fde0fe3ea03b673e7b5b7d7f8db8d54
2010-08-17 18:11:43 +09:00
Yohei Fujii fda1ae71b5 Fixed the issue of popup enabled when i change to symbol keyboard.
Bug:2909517
Change-Id: I1c010b1079a04ff3b08d690c536fbe8d4414ea14
2010-08-13 19:02:34 +09:00
Ken Wakasa 648dcf55a3 Revert the open-source LatinIME package name -
from com.google.android.inputmethod.latin to com.android.inputmethod.latin

Related change: https://android-git.corp.google.com/g/60862

bug: 2786392

Change-Id: Ib7c6cfe61db19ef50c401a01497eef5f1f5e239e
2010-08-13 00:01:03 +09:00
Yohei Fujii 0b0a686281 add new preference for popup preview
this option is disabled as the default at x-large

Bug:2909517

Change-Id: Ifda1b7ff89bc4beeee02ba0f3e01d441a9435b37
2010-08-12 16:45:44 +09:00
Satoshi Kataoka 8dbb0973e9 Merge "Fix the bug that black symbols are shown when only one lanugage is selected. (Update with the files left out from Change-Id: I15f83fc43d91c2c9d74b40fdcecdfe239242d565.)" 2010-08-10 22:59:37 -07:00
Jae Yong Sung c868d0444c Merge "-UserBigram -UnitTest for UserBigram -Changes for number of bigrams to load" 2010-08-10 20:22:11 -07:00
Jae Yong Sung ac093396ba -UserBigram
-UnitTest for UserBigram
-Changes for number of bigrams to load

Change-Id: I2c6fbe6194d34112ccc52c7e199461d2350e8516
2010-08-10 13:30:58 -07:00
Eric Fischer 4e19a93cbd Import revised translations.
Change-Id: I19c1bce22c2395b727891f60776946a0eec7145b
2010-08-10 12:13:13 -07:00
Amith Yamasani 6dea425480 Fix for NPE in saveWordInHistory
Bug: 2898207
2010-08-05 17:31:19 -07:00
Eric Fischer d31d814c58 Merge "Import revised translations." 2010-08-05 16:52:33 -07:00
Ken Wakasa 6be8e35235 am b608a93c: am 6511376f: am 65582531: Fix a bug in backspace handling for the "Tap again to save"
Merge commit 'b608a93c0f3087b191c88cd75665886b7c52015e'

* commit 'b608a93c0f3087b191c88cd75665886b7c52015e':
  Fix a bug in backspace handling for the "Tap again to save"
2010-08-05 16:44:39 -07:00
Ken Wakasa 6511376ff6 am 65582531: Fix a bug in backspace handling for the "Tap again to save"
Merge commit '6558253160e2039c87f424bd814f402ecd31de3b' into gingerbread

* commit '6558253160e2039c87f424bd814f402ecd31de3b':
  Fix a bug in backspace handling for the "Tap again to save"
2010-08-05 16:37:47 -07:00
Eric Fischer 15c37520c9 Import revised translations.
Change-Id: I5671feaa4760b2583052527f3026de9c4411c3a4
2010-08-05 16:10:04 -07:00
Ken Wakasa 6558253160 Fix a bug in backspace handling for the "Tap again to save"
bug: 2889273
Change-Id: I0f317e203f368f5f47738154a6dee0f556d56148
2010-08-06 01:14:09 +09:00
Eric Fischer 7faf89f801 Import revised translations. DO NOT MERGE
Change-Id: Ia4de960b5d1168d49b7a97b22751fde11047f5ea
2010-08-04 10:45:43 -07:00
Gilles Debunne 0981a442f3 Generated hdpi drawable size reduced
Change-Id: I653e483f85d04026654a5cd74b48a97b28bd7e45
2010-08-03 18:37:36 -07:00
Gilles Debunne 99991cf0ee Removed conflicting .9 png
Change-Id: Ifafdf81efa05445e143f4e2a44385f540540ecff
2010-08-03 12:19:32 -07:00
Gilles Debunne d5b1296738 packages/inputmethods/LatinIME/ : added scaled hdpi version of assets that were moved to drawable-mdpi
Change-Id: I3e0281e20362f051495b2750cd0b06ab77ed090f
2010-08-03 10:47:36 -07:00
Fredrik Roubert 7ed4c6b81a Fix the bug that black symbols are shown when only one lanugage is selected.
(Update with the files left out from
Change-Id: I15f83fc43d91c2c9d74b40fdcecdfe239242d565.)
2010-08-03 18:35:00 +02:00
Gilles Debunne 11fa0a220b Move pngs from drawable to drawable-mdpi in project packages/inputmethods/LatinIME/
Change-Id: I7df8040996aab9c90547a472a7627f1f1afe4eb9
2010-08-02 15:12:15 -07:00
Tadashi G. Takaoka 35f6cd905d Fix possible NPE and IndexOutOfBoundsException.
Bug: 2868304
Change-Id: I2c474736fb9bb95da9e04bdeb9b9b641e7c3adda
2010-07-29 14:54:21 -07:00
Tadashi G. Takaoka bc305c21bf Merge "Fix NPE introduced by Change-Id: Ie482167b2ae2804fa1aa43ffb5067af47b7553f1" 2010-07-29 11:38:29 -07:00
Tadashi G. Takaoka 87fe3b8556 Fix NPE introduced by Change-Id: Ie482167b2ae2804fa1aa43ffb5067af47b7553f1
Bug: 2868304
Change-Id: I60895e76c4288d4e0e960e5ba22cb47c4b989bf3
2010-07-29 11:37:07 -07:00
Ken Wakasa 4081653744 Move dictionary.xml which refers to the vendor-specific dictionaries to the vendor-specific directory.
Change-Id: I0eff59ca186002fdafe3940720606cc4a39077a6
2010-07-30 01:41:17 +09:00
satok 5f14188625 Merge "Add a layout for a black-characters based theme" 2010-07-28 23:13:46 -07:00
satok db60e6f369 Add a layout for a black-characters based theme
bug: 2838151

Change-Id: Ia7136ac7432258386a53ebec2b26251c8caae0ea
2010-07-29 14:44:34 +09:00
Tadashi G. Takaoka f00341fdc5 Fix grammar error in comment
Change-Id: I728c2fefcf3c22d30d192a9f4b3aedad4eddc2ed
2010-07-28 20:43:48 -07:00
Tadashi G. Takaoka 820e4260cd Fix inconsistency between pop-up preview key and input key
This issue is caused by three reasons.
- In touch move event and while time debouncing is going on, wrong key
  is shown as pop-up preview.
- There is no pop-up preview key shown when touch up event occurs and
  also showing pop-up preview message is unintentionally canceled.
- In detectAndSendKey() method, nearby keys' primary codes are
  mistakenly sent as Key codes.

This is the last of three changes to fix bug #2868304

Bug: 2868304
Change-Id: Ie482167b2ae2804fa1aa43ffb5067af47b7553f1
2010-07-28 20:30:04 -07:00
Tadashi G. Takaoka 7a73c18fd7 Merge "Add hysteresis movement key debouncing" 2010-07-28 11:31:59 -07:00
Jae Yong Sung 80aa14fd43 - separate dict (uses xml)
- retrieve bigrams that only starts with character typed and neighbor keys
- contacts bigram
- performance measure

bug: 2873133

Change-Id: If97c005b18c82f3fafef50009dd2dfd972b0ab8f
2010-07-28 11:08:08 -07:00
Tadashi G. Takaoka e36bce042b Add hysteresis movement key debouncing
When key is pressed, each key will have a halo which is 0.05 inch
wider than the key.

Bug: bug2517112

Change-Id: I1368ff4af5f5d230b8c2f0c05c3c27bdb89027ae
2010-07-28 10:54:06 -07:00
satok 679b838b05 Update resources of the tentertive UI for tablet friendly UI
Change-Id: I59acd50b3531cf02d71c124d7ce8211d0c3dcd7e
2010-07-29 02:18:29 +09:00
Tadashi G. Takaoka e55a9a170e Refactor move and time de-bouncing codes into separate static class
This is the second one of three changes to fix the bug#2868304.

Bug: 2868304
Change-Id: I11a6d2e501888da98faf0c88c8d861c508d500fc
2010-07-27 09:35:05 -07:00
Maryam Garrett 879b79be27 Merge "Read the alternatives from the server-side" 2010-07-27 08:43:49 -07:00
satok 9f1db5fbcd Merge "Add a logging code to send Bigram data" 2010-07-27 01:45:15 -07:00
satok d5276e4a72 Add a logging code to send Bigram data
- with some cleanups

Change-Id: I737c9ee7f148f94e6299d6e962dda82701454759
2010-07-27 17:42:52 +09:00
satok 6591321cc1 Remove values-xlarge/styles.xml and added key_text_size to dimens.xml
Change-Id: I5b23950447742f70e7ca6dca21e8afaed28d30ec
2010-07-27 16:04:54 +09:00
Tadashi G. Takaoka 994d4000f4 Merge "Refactor UI message handling class to be more readable" 2010-07-26 22:44:36 -07:00
Tadashi G. Takaoka bd0f31f492 Refactor UI message handling class to be more readable
This is the first one of three changes to fix the bug#2868304.

Bug: 2868304

Change-Id: I2eb31c0966b2a7695e19aed7fceb13dad0c5bf0d
2010-07-26 22:40:02 -07:00
Tadashi G. Takaoka 999368ef0c Updating keyboard ids must happen everytime makeKeyboards() is called
In makeKeyboards(), there is a fall through pass in which the
keyboards' id (mSymbolsId and mSymbolsShiftedId) will not be updated.
Then in toggleShift(), current keyboard id (mCurrentId) will not match
any of two and nothing happens.

Bug: 2825858

Change-Id: Iaf8a7368f513b35cf77a67794ecd3e21aa08484b
2010-07-26 16:35:47 -07:00
Maryam Garrett 262748c8da Read the alternatives from the server-side
This change will parse the voice-search word-based
alternatives from the bundle returned by the server,
rather than generating them on the client.

Change-Id: I7d7abc224de3ab8f37eca18632a427d39fd61a78
2010-07-26 13:56:26 -04:00
satok b851e406c0 Merge "Change the default value of keyTextSize for xlarge" 2010-07-26 03:43:30 -07:00
satok c97c326cb8 Change the default value of keyTextSize for xlarge
- rename ginger to stone

Change-Id: I6968ed1b388e1f55ecb27a449ca49be77790f9cc
2010-07-26 19:29:30 +09:00
Ken Wakasa ae1b71c6a8 Move Google's proprietary dictionaries for LatinIME to vendor/google/apps/LatinImeGoogle.
bug: 2811749

Refer to https://android-git.corp.google.com/g/58621

Change-Id: I3721ad3b3a29673f1ddd32871b1575a45c7365ee
2010-07-24 11:50:38 +09:00
Ken Wakasa 68df22eebc Get rid of wrongly added "Don't translate" entries in values-sr/strings.xml
Change-Id: I10437a119fac68ae3231ad923b2ce090f56847e6
2010-07-23 01:01:53 +09:00
Ken Wakasa 74635f5146 Merge "Add Norwegian and Danish keyboard layouts." 2010-07-21 22:20:39 -07:00
Fredrik Roubert 7c76990c03 Add Norwegian and Danish keyboard layouts.
Change-Id: I77e4f6105b1f5d4569ad59e3d536941310cc6c0d
2010-07-21 10:16:23 +02:00
satok 512cba7838 Merge "Fix a string for zh-rCN" 2010-07-20 06:25:30 -07:00
satok 096b87a4b4 Fix a string for zh-rCN
Change-Id: I63d9c5254188a84c92cb4ff34988ebb5a2a034ae
2010-07-20 22:24:00 +09:00
satok 40bd98816d Enable re-edit feature
Change-Id: I4c6a9ddf3f3c4eb35076f4ed27e009462cfc2e9e
2010-07-20 20:19:21 +09:00
Ken Wakasa b42ceab02e Merge "Change the default vaule of Log to be false" 2010-07-20 01:59:23 -07:00
satok 7df1c4e6c9 Change the default vaule of Log to be false
Change-Id: I8a3c0ce81b67e27b7559b534b4ccde2ad0783dbc
2010-07-20 17:46:09 +09:00
Ken Wakasa 9a5d3cd9a5 Merge "Prepare for master merge - Rename the jni library name - Revert the local cert - LatinIme2Google -> LatinIME Please note that we'll use the new package name: com.google.android.inputmethod.latin" 2010-07-20 00:51:23 -07:00
satok 9ebcc21450 Merge "Change the name of the application to Latin Keyboard" 2010-07-20 00:50:43 -07:00
Ken Wakasa debd74c678 Prepare for master merge
- Rename the jni library name
- Revert the local cert
- LatinIme2Google -> LatinIME
Please note that we'll use the new package name: com.google.android.inputmethod.latin

Change-Id: Ibbab07e8102ade5a93660c0723cd86f600c14a7d
2010-07-20 16:37:12 +09:00
satok 91d96f2a64 Add xlarge resources
Change-Id: I8879322ed8573d57257faf15b66b8ae04101971f
2010-07-20 14:21:54 +09:00
satok e04cc8b826 Change the name of the application to Latin Keyboard
Change-Id: I0ae02c61fae200672004028196d3e8d990b4c32c
2010-07-20 14:17:34 +09:00
satok 481a75fcfa Merge remote branch 'goog/master'
Conflicts:
	java/src/com/android/inputmethod/latin/LatinIME.java
2010-07-17 19:20:35 +09:00
Tadashi G. Takaoka 44f92495c1 Merge "Slightly reluctant to scroll candidate strip to be able to easily choose the suggestion" 2010-07-16 22:56:00 -07:00
Ken Wakasa 1812bcebd6 am 88e7b49f: Backport https://android-git.corp.google.com/g/#change,52371 to Froyo. Fix bug: 2693836 - Russian keyboard is missing a letter
Merge commit '88e7b49fc8657544380620729eb28966669103a2' into gingerbread

* commit '88e7b49fc8657544380620729eb28966669103a2':
  Backport https://android-git.corp.google.com/g/#change,52371 to Froyo.  Fix bug: 2693836 - Russian keyboard is missing a letter
2010-07-16 18:12:48 -07:00
Tadashi G. Takaoka 353c20a62f Slightly reluctant to scroll candidate strip to be able to easily choose the suggestion
Also fixed the comment of mMinTouchableWidth

Bug: 2581826

Change-Id: Idc79186b0647b0e7e7ec889488b019b7db5241ad
2010-07-16 18:04:18 -07:00
Ken Wakasa 88e7b49fc8 Backport https://android-git.corp.google.com/g/#change,52371 to Froyo. Fix bug: 2693836 - Russian keyboard is missing a letter
Change-Id: Ic931991bc188f646d30a399bb0b268f415f12051
2010-07-17 09:51:26 +09:00
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
satok f336adc4bf Comment out re-editing feature
Change-Id: Ib4ffee3a00b8dae75e3472ccdfcb3765625ed4ed
2010-07-16 17:59:24 +09:00
satok 9dc82cb77e Merge "Change version to 0.21" 2010-07-16 01:43:06 -07:00
satok f73907ab5a Change version to 0.21
Change-Id: I8e3792ba43293313baab0bb0d6bebba8c65df4b9
2010-07-16 17:42:33 +09:00
satok 7ff4da9489 Fix build failure by adding an input
Change-Id: I0f8f7549423deb6d18df4cca949b210c9ec494a5
2010-07-16 17:38:25 +09:00
satok b9c57e6540 Merge remote branch 'goog/master'
Conflicts:
	java/res/xml/prefs.xml
	java/src/com/android/inputmethod/latin/BinaryDictionary.java
	java/src/com/android/inputmethod/latin/Dictionary.java
	java/src/com/android/inputmethod/latin/ExpandableDictionary.java
	java/src/com/android/inputmethod/latin/LatinIME.java
	java/src/com/android/inputmethod/latin/Suggest.java
	tests/src/com/android/inputmethod/latin/tests/SuggestTests.java
2010-07-16 13:02:45 +09: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
satok b5a0d8ef42 Merge "Change version" 2010-07-02 01:38:19 -07:00
satok 2941dc28d7 Change version
Change-Id: I1e4042eef1a6b19e1e75cc62f24e8b229970b608
2010-07-02 17:37:41 +09:00
satok 09ecdc8bd6 Disable re-editting feature.
Change-Id: I1fd8d7b3037ec8ee2eb468ed7770b10c09c5e73c
2010-07-02 17:32:55 +09:00
satok bc0b0a6478 Show preview of F1 keys properly
Change-Id: Ie1c6a13efcada09d29c1006224dcf54000c14283
2010-07-02 08:02:55 +09:00
satok e8e153490d Merge "Null check at BackToAcceptedDefault" 2010-07-01 14:45:28 -07:00
satok ac108d5b34 Null check at BackToAcceptedDefault
Change-Id: Ib232475520f822bf8613258afb9638e1be50d7f7
2010-07-02 06:36:02 +09:00
satok a86a942d7c Fix the mic icon key is not black in the black scheme.
Change-Id: I2be3507019601bc93a3e49cc60777e1515f53dc4
2010-07-02 05:35:27 +09:00
satok c700ffcddf Merge commit 'goog/master' 2010-07-01 15:59:27 +09:00
Ken Wakasa b54abe22ab Merge "Add key debounce. bug: 2517112" 2010-06-30 18:38:50 -07:00
Ken Wakasa 59d271ee76 Add key debounce. bug: 2517112
Change-Id: I461e481226395ce8964003c2ad1f4af888c6f7f9
2010-07-01 10:31:14 +09:00
satok c891d4d16c Merge "Fix NPE on logging words" 2010-06-30 17:37:29 -07:00
satok 9c76844da2 Fix NPE on logging words
Change-Id: Idb01cc3226a979de656b30e57422bb35b25d13fa
2010-07-01 08:42:20 +09:00
satok 222c9019e7 Add a key to the keyboard layout for Russia
bug: 2693836
Change-Id: I88a3664af8074788c6bfc146247ab33ae8a02c08
2010-07-01 07:33:06 +09:00
satok 9d2e059f83 Merge commit 'goog/master'
Conflicts:
	java/src/com/android/inputmethod/latin/LatinIME.java
2010-07-01 05:11:23 +09:00
Amith Yamasani daf88d35e7 Move the Serbian keyboard and strings to the correct folder. 2010-06-30 11:13:49 -07:00
Ken Wakasa 67607ea8b1 Fix "pi" input issues. Added a popup for greek capital pi. Bug: 2220892
Change-Id: Ie465e2ed93c79b0efe9d518cc44df1028f1bb392
2010-06-30 19:10:11 +09:00
Ken Wakasa 40c86618c1 No capitalization for inputs from the symbols keyboard. bug: 2220892
Change-Id: I832e855e8882c0ccbc48505acce5b605761cd93a
2010-06-30 13:42:36 +09:00
satok f5d9b3d4e4 change version code
Change-Id: I54b45774d12ea6791e567c9908202606475503ff
2010-06-30 13:18:39 +09:00
satok 421915cd74 Merge "change version" 2010-06-29 21:14:23 -07:00
satok 0208492cae change version
Change-Id: I94e110b3180dc740a7708984440eda12e32a849f
2010-06-30 13:13:31 +09:00
satok 0fbdf1035b Change color of a shodow behind the current language in Black symbols scheme
Change-Id: I8ce049e1d77753a481cd45b53254ba248dca9f15
2010-06-30 12:34:01 +09: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
satok 6c20ab55b5 Add a typeFace element and a symbol's color element
- add default bold theme
- add

Change-Id: Ie3f31a6973c12e7f8b885d0036f50e8647c9fe82
2010-06-29 08:41:33 +09:00
satok cd61cadb71 Remove additional layouts
Change-Id: I65dbf3a4484b02ff1d854f704088ca527e273b85
2010-06-26 10:15:08 +09: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
satok 2b2db815d2 Move KeyboardView in the framework to LatinKeyboardViewBase
Change-Id: I99e3ea5eb1f1f5e5f9b36306930cdf0f50acfb01
2010-06-26 04:01:29 +09: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
satok 9512706adf Make DropBox.addText AsyncTask in IMELogger
Change-Id: I84d5915a3197a67cda6bec8b0ef3343df2e510be
2010-06-17 05:53:49 +09:00
satok b373d460c7 Log the current launguage and enabled languages
Change-Id: Ie504961be7c90bdcabe73ca3bddf98cac61f3d3b
2010-06-16 10:06:25 +09: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
satok d5d61c3485 Catch inflate exception
Change-Id: Ia5a384f5cbd2d0063904c2959ccbeb987198616b
2010-06-09 00:54:18 +09:00
satok acbe38f3e1 Try GC at OutOfMemoryError
Change-Id: Icfaecc6a0e8858622649ce9115ab94b00e240cc2
2010-06-09 00:01:21 +09:00
satok 3a7adf6569 Merge "Fix logging issues" 2010-06-07 18:40:57 -07:00
satok 297444953c Fix logging issues
- send non-main dic words after filling blank
- send cancellation counts per dic

Change-Id: I010794cc810339d7b04d64f7b0a6fa5d5cbf8826
2010-06-08 10:34:10 +09:00
Ken Wakasa 71a0e3f551 Update the cert to catch up with a bug fix - https://android-git.corp.google.com/g/53188
Change-Id: I144a80be8f47aac292f320e9a6cdb9a970886d38
2010-06-07 23:49:22 +09:00
Ken Wakasa cf325a4031 Bump the versionCode for the next release
modified:   java/AndroidManifest.xml

Change-Id: I4084dbad22f000e793b635615130c92f46f477cc
2010-06-07 23:26:27 +09:00
Ken Wakasa d8dac11374 Ver up to v0.17
Change-Id: I88a5033f5573b738315755813a2d5c52f8704da7
2010-06-04 11:17:39 +09:00
satok 03d88c0b1f Show a current locale in the space bar
Change-Id: I317a0b0b20c3065f2e7454f7b44654a34b97500d
2010-06-04 10:25:55 +09:00
satok 88327fb73b Fix NPE onDestroy
Change-Id: I6aa1951fd3d69e07d1fbc7712fe2526dd9a5ef57
2010-06-04 00:51:17 +09:00
satok dac53d9c7d Change RuntimeErrot to OutOfMemoryError
Change-Id: Ic237bc7f0631dcb192be7203379bdf4c5d832b28
2010-06-04 00:13:43 +09:00
satok e4c7ad3097 Show encoded log
Change-Id: I59a8c1506409097a1e8864b51051d969edaf2680
2010-06-03 20:55:42 +09:00
satok 0f97599f1a Delete extra inflating view
- this is not called in froyo-LatinIME, so it can be removed

Change-Id: I3a761145dd30a93ba71d39df9fa504383c5425a5
2010-06-03 20:47:10 +09:00
satok c6bc1a93a3 URL encode a log of exception
Change-Id: I50c08d58b4ce8555d88c68cae44c12600ae93221
2010-06-03 20:45:27 +09:00
satok 0eaca7aa99 Fix NPE and addded logOnWarning
Change-Id: I4cca905ce044c014490ada6d00a76d79a20ed885
2010-06-03 20:31:45 +09:00
satok 8edbaf0433 Hide debug mode
- Tap feedback option 10 times, then debug mode will be enabled.
- Change default value of KeyboardMode to avoid NPE
- Update version code

Change-Id: I3a4e64db0d3aa9a08f0e3b3ad1669e728e32cddf
2010-06-03 19:25:12 +09:00
satok 518643a2c5 Remove non-main dictionary candidates
Change-Id: I9f33da674c2c2a0101671ba24424640ba3e695e5
2010-06-03 18:46:44 +09:00
satok 4ff7bbcb97 Fix a bug that force closing happens even when SUPPRESS_EXCEPTION flag is on.
Change-Id: I927b11da1e62b147813fbbf01e2afce5915aed73
2010-06-03 15:25:18 +09:00
satok 219d9d52e5 Flush before re-throwing exception in logOnException
Change-Id: I061738c5b1a1509015344c2c27848bac1e29d833
2010-06-03 11:48:33 +09:00
satok dd58fe92d1 Add candidates of manually picked suggestions
Change-Id: Ieed585be5f4e88509cdcc31f5d82474cb06add6a
2010-06-02 21:58:36 +09:00
Ken Wakasa 0175d7da21 Add additional punctuations to suggestion strip. Bug: 2729632
Change-Id: I5a3d47fee2a09da06b395529c4eccce6d14ecb9d
2010-06-02 20:44:16 +09:00
satok 4ee3676cf3 Check suggested words whether they are from mainDic or not
- Added counters for suggestions by dictionarys
- Added a counter for cancelled suggestions

Change-Id: Ia7d3a73855b1e82b60a010f18dba4e1c0fe1c2bb
2010-06-02 19:18:22 +09:00
satok 7f96616c75 Add minSdkVersion
Change-Id: Id0d95983b98dcb3eda52705cc709356ce53991c6
2010-06-02 13:20:18 +09:00
satok 928ebfeaf8 Add aggressive cancellation for auto suggestion
- Add ring buffer
- Count separator for auto suggestion
- Add a test for ring buffer

Change-Id: Id4a0aa00ceb1b055b8fc96c45e100d318cceb2ab
2010-06-02 12:59:35 +09:00
satok ac2b332e94 Merge "Get the log of exceptions. And delete the gradient background." 2010-06-01 01:11:57 -07:00
satok e607db631d Get the log of exceptions. And delete the gradient background.
- Add a logger of Exception
- Catch RuntimeException where bug reported.
- Delete gradient background.

Change-Id: I98b5fbc4a51163de7e56bee4f8312585d8e98eb7
2010-06-01 17:07:39 +09:00
satok a146069dbd change version
Change-Id: Ie43ec5fab87eeb5494b05fc5683c616937b5c444
2010-05-31 22:28:06 +09:00
satok 7c00957e46 Log version of IME
Change-Id: I6e6dc751da05cdc94d38a2a819f659b9f1885414
2010-05-31 22:23:07 +09:00
satok bfccd09079 Merge "Clear user's input and manually picked suggestion" 2010-05-31 05:20:04 -07:00
satok f4973b3d41 Clear user's input and manually picked suggestion
Change-Id: I7bbad73b87a9341440621489db7fbdb4ad81c7f6
2010-05-31 21:07:39 +09:00
satok 1d2acf6ac4 Change name of default theme
Change-Id: Iee11ad318126793291b6acada35ee6c6c865ef48
2010-05-31 21:04:13 +09:00
satok 37340b3fb4 Merge "Add black resources" 2010-05-31 04:40:40 -07:00
satok c03c7cb268 Logging issues
- Swap user's input and auto suggested words if they are same
- Set user's input blank if punctuation is selected
- Not count when user's input has one or more digit

Change-Id: I8bbe1cb43287c06f8e284ada0712b1b9ec714dc3
2010-05-31 20:39:48 +09:00
satok faeed22612 Add black resources
Change-Id: Ibd1ac2610b70693975011f85e232348388245553
2010-05-31 20:38:38 +09:00
satok 352f8bc9a3 Fix log dupplication of auto suggest
Change-Id: Ic2af15adff64631cc275b07113b42991363c92f8
2010-05-31 19:07:02 +09:00
satok cddf471210 Fix the name drawable
Change-Id: Idf359a81b59522c030839e00ea5287bad5069677
2010-05-31 13:05:46 +09:00
satok f4b5e6b252 Merge "Change version to v0.11 from v0.10" 2010-05-27 10:24:37 -07:00
satok a3b2fa6722 Change version to v0.11 from v0.10
Change-Id: I88f14f1ab5c325a82589fc8a3becd1a7a56e2cd3
2010-05-28 02:23:32 +09:00
satok 2776a9f2c3 Change default theme to Ginger Bread "6"
Change-Id: I68d5519c03dba0f8b6344a103c5bcf4f9b18e760
2010-05-28 02:18:09 +09:00
satok 574a7cc82d Fix the bug that black symbols are shown when only one lanugage is selected.
Change-Id: I15f83fc43d91c2c9d74b40fdcecdfe239242d565
2010-05-28 02:01:32 +09:00
satok bf336cb4a2 Change symbol to use black icons
Change-Id: I834efd322b4ef6e99707028d38223d837a3d4e36
2010-05-27 22:14:24 +09:00
satok f22d479e48 Log and UI fix
- add Log entry for the setting of auto completion
- fix the parameter names
- reduce the time to commit
- copy popup window's resources from framework
- change extention window to use the current layout

Change-Id: I5f52c41dc8027c28a874ba8f198471eb3c9bdd1e
2010-05-27 12:06:58 +09:00
satok b72f348467 Add new UI for Gingerbread refering to Heiko's sample
Change-Id: I80db4a52f5bbb25c77dfe7df94bdced69debf831
2010-05-26 19:15:14 +09:00
satok 3e5b8b3520 Merge commit 'goog/master'
Conflicts:
	java/res/values-de/strings.xml
	java/res/values-it/strings.xml
2010-05-24 15:02:28 +09:00
Amith Yamasani 90599bd107 Fix bug: 2693836 - Russian keyboard is missing a letter 2010-05-21 17:05:11 -07:00
satok 107d9dd5c0 Fix the valid length of a logged data
Change-Id: I94abccd9585edc42555ab3ffaed35f09cdfadd44
2010-05-21 15:01:37 +09: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
Ken Wakasa ed5d613e36 Add versionCode and versionName. versionCode needs to be incremented to keep the unbundled LatinIME even after the reboot.
Change-Id: I78f2d7400e71dd011d2d086e035aadeb96b16ce0
2010-05-21 01:28:33 +09:00
satok 01303e39f5 Commit on finishInput
Change-Id: I26254cfdaecd0d85571be3f930476040de935d6c
2010-05-19 15:20:03 +09:00
Ken Wakasa bfd3b8bf86 Restore the original-package entry to support overwrite-install with the old package name.
Change-Id: I1ddbcb3e1b41ef7d0e4017d7de11b600ec645197
2010-05-18 11:01:46 +09: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
satok 07865c0530 Fix not resource found exception
Change-Id: Id94ef1ccbeb9a1566c91e0fcc62dfa51dea71909
2010-05-17 19:08:12 +09:00
satok b2447f73bc Merge "Add logging for UI" 2010-05-17 02:58:20 -07:00
satok 853083627a Add logging for UI
Change-Id: Ib47919be442feb7a0cb22e886a537ef4ff5b8533
2010-05-17 18:41:04 +09:00
Ken Wakasa 758388f14e Merge "Change the package name to override the current LatinIME." 2010-05-17 02:32:41 -07:00
Ken Wakasa a25324fbe1 Change the package name to override the current LatinIME.
Change-Id: I9fa0740ddd47cb3a4ee13bc38e82957b7cc07f13
2010-05-17 18:24:02 +09:00
satok f9ce9105ba Merge commit 'goog/master' 2010-05-17 17:52:04 +09:00
satok a0f8739914 Add Keyboard Theme Switcher
Change-Id: If1bf7d20e4f8a47a7c0429d2445431dc73c1b31b
2010-05-17 17:37:09 +09: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 6bf73582cb Merge commit 'goog/master' 2010-05-12 15:11:47 +09:00
satok 8d6bd9389f Clean up
- extract color

Change-Id: Ic9cbb44502e71941eb74f15cc2f96b9abdb4b327
2010-05-12 14:44:22 +09:00
satok 00dd9e180a Fix NPE
Change-Id: Ic438704af64e8ebcecba13dbc0f3e72b14ac6f4f
2010-05-12 11:54:28 +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 f6ecc28767 Merge commit 'goog/master' 2010-05-12 10:05:17 +09:00
satok 9e820fa0f4 Cleanup
- Remove dead code
- Add colors

Change-Id: I011146b33a37375d2a0b12342d65bad62ba7542b
2010-05-12 09:57:30 +09:00
satok 912fb384da Merge commit 'goog/master' 2010-05-11 10:37:11 +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 ee2ab40c7a Add settings for "enable log" to UI
Change-Id: Ib6ebfbc586dbea4dce037e484598cbc47ba58c7e
2010-05-10 19:00:54 +09:00
satok 34a69469ac Change the application name
Change-Id: I097bfe031ff8a0652329469fa11074e109653fdb
2010-05-10 18:03:09 +09: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
satok 1263d23466 Insert logging code
- Add log of auto suggestion
- Add log of cancelling auto suggestion
- Add log of actual number of charactors
- Add log of manually clicking suggestion

Change-Id: I8fc1cef356bf1a98b0676ed171bfb17825e18425
2010-05-10 15:11:26 +09: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 53393240e8 Merge commit 'goog/master'
Conflicts:
	native/Android.mk
2010-05-07 19:57:51 +09:00
satok 5c7c33735d IME Logger improvement
- Eabled to handle an array value in the log entry
- Added word counter
- Added parameters to Log APIs
- Obfuscate user privacy support

Change-Id: I5e2a7d58113b0581e51d22d6dac9a6a6fdc34356
2010-05-07 19:23:11 +09: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
satok 85b6c5fc6b Fix NPE
Change-Id: I27fc6268ea325f6e5f2a8bfd36499bf6c2b9f146
2010-04-28 17:25:29 +09:00
satok 22f7ea7518 Add logging
- add logging for delete
- add logging for inputchar

Change-Id: I684692385f4c3acb66ab2bcd6421dae1d84feb8f
2010-04-28 16:48:48 +09:00
satok 8677ac3586 Logger improvements
- Made each method static
- Added a setter of contest
- Added a function to entry counts periodically

Change-Id: I644dfa83c4fcb1933dc267fc4cfad05c9bb7adc7
2010-04-28 16:33:40 +09: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 3592749a4c Merge "Remove ByteBuffer prefix which wrongly suppresses a class member." 2010-04-27 08:11:28 -07:00
Ken Wakasa e945a182c2 Remove ByteBuffer prefix which wrongly suppresses a class member.
Change-Id: I5114106eca0f67326fb3f939165bae0c122ed982
2010-04-27 23:35:45 +09: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
satok 59d77a1586 Merge "Add a base class of logger" 2010-04-26 23:47:13 -07:00
satok ac981fd39a Add a base class of logger
Change-Id: I8462369d59f90642331c08baada354f7a0b07e45
2010-04-27 15:14:36 +09:00
Ken Wakasa 4606367f98 Get rid of dependency on native AssetManager API. Confirmed the native code builds with the NDK r3.
Change-Id: I6a9a5bb4129e9269d74348801436c9e5e0058da5
2010-04-27 08:56:56 +09:00
Ken Wakasa 07cab72ce4 Fix the sandbox build & get rid of ICU dependency.
Changed package name from com.android.inputmethod.latin2 to com.google.android.inputmethod.latin2.
Copied LatinIME's current dictionaries from master's vendor directory.
Confirmed latin_tolower() function returns the result identical to ICU's u_tolower().
- Note that I will merge the ICU dependency removal change to master.

Change-Id: Ia85bd3e88ce5159934684e2228d8b0c5a8885296
2010-04-20 17:55:53 +09:00
satok 19266dc860 Merge commit 'goog/master' 2010-04-16 15:55:35 +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
Valentin Kravtsov b98c17a7a9 am f9d0f3a8: Fix for: For Voice IME busy circle displayed below waveform
Merge commit 'f9d0f3a81ad4220672f90a8799a79e63e53c46d3' into froyo-plus-aosp

* commit 'f9d0f3a81ad4220672f90a8799a79e63e53c46d3':
  Fix for: For Voice IME busy circle displayed below waveform
2010-04-14 12:01:40 -07:00
Amith Yamasani bb488c1476 Merge "Add hebrew keyboard to LatinIME Bug: 2532052" 2010-04-13 10:06:22 -07:00
Valentin Kravtsov f9d0f3a81a Fix for: For Voice IME busy circle displayed below waveform
bugfix for: http://b/issue?id=2568048

[Sapphire] ]For Voice IME busy circle displayed below waveform.
STEPS TO REPRODUCE:
1. launch Calendar . -> Select menu -> New Event.
2.  Switch soft keyboard to Number view.
3.  Tap on mic symbol of  to speak
4. Speak any word to enter in Text field .
5. Verify busy icon ( circular icon ) displayed in "working " screen.

EXPECTED RESULTS:
 Busy circle should be displayed in center of waveform

OBSERVED RESULTS:
 Busy circle displayed below waveform

ADDITIONAL INFORMATION:
 Spoken word is enetering in text field correctly.

Change-Id: I043ce6a985f526cade0e9f63525619a92d918485
2010-04-12 21:02:27 +01:00
Ken Wakasa 1cf0ce74e8 Make this sandbox buildable under the froyo tree using symlink under vendor/google/apps.
Change-Id: Ia83a8e27d7a44a3a4dcf21b7a0bf0ab814f106ea
2010-04-07 18:58:46 +09:00
Amith Yamasani 97f4b4ad34 am c2b8c16b: Possible fix for monkey bug: 2529350
Merge commit 'c2b8c16bdf392c81785031483d21740c5e883046' into froyo-plus-aosp

* commit 'c2b8c16bdf392c81785031483d21740c5e883046':
  Possible fix for monkey bug: 2529350
2010-04-06 12:39:02 -07:00
Amith Yamasani 4f695092a2 am 3e0c82ec: Fix for 2568664 : Slide gesture on spacebar is not reliable anymore
Merge commit '3e0c82ec80a69c4adbd60546c3c56c83c43ec7eb' into froyo-plus-aosp

* commit '3e0c82ec80a69c4adbd60546c3c56c83c43ec7eb':
  Fix for 2568664 : Slide gesture on spacebar is not reliable anymore
2010-04-06 12:38:59 -07:00
Amith Yamasani c2b8c16bdf Possible fix for monkey bug: 2529350
Don't try to show the extension if the main keyboard is not showing.

Change-Id: Ic3368f48f8973dedfb1ab8f4644b0766b52aed1b
2010-04-06 11:22:19 -07:00
Amith Yamasani 3e0c82ec80 Fix for 2568664 : Slide gesture on spacebar is not reliable anymore
This was due to the multi-touch error correction code that was recently
added. Make sure that one of the move points is in the upper 3 rows
to allow for fast swipe on spacebar.

Change-Id: I420bdb83a4cd8833c4158bc37a2d806b8c83b948
2010-04-06 11:14:03 -07:00
Jean-Baptiste Queru 443c360d0a Clarify licensing
-use AOSP copyright instead of Google
-add NOTICE and tag file

Bug: 2548782
Change-Id: If50b2e9e9cc4b4876b0d047fc9f34e2d537a6da4
2010-04-05 09:47:36 -07:00
Amith Yamasani dad0e792aa Fix for 2559069 IME ".com" should be erasable with one backspace
Change-Id: Ifef97a9b66e051fef7ca8b0a92bfe21f3d1e6cf6
2010-04-01 06:28:52 -07:00
Amith Yamasani 0fef498a07 Treat fast moves as multi-touch. Bug: 2561786
Detect sudden moves that have a large delta that would not be a typical drag
by the user when hunting for a key. Drop move events until the user releases
the touch and register both starting and ending keys instead of only the
ending key. This reduces the frequency of dropped keys on touch hardware that
isn't able to detect multi-touch reliably.

This also takes into account diagonal moves or right angled moves due to
pseudo-multi-touch.

It weakens the swipe gestures (to swipe, you'll need to swipe slowly and fully,
  otherwise it will trigger 2 keys)

Change-Id: Ieba3a0bef4c8910f0f17aa20baedb3581d1de12b
2010-03-31 15:18:17 -07:00
Amith Yamasani fbd1866424 Avoid race conditions between queries and closing of the auto_dict database.
Keep a reference to the openhelper around across locale and input language
changes. Also, share the openhelper between the queries and updates. Creating
a new one in a separate thread could cause it to be closed at the wrong time.

Monkey bugs, probably dupes.

Bug: 2560471
Bug: 2544169
Change-Id: I6eb39145de7191732ddde455728bf147a2d1ba31
2010-03-31 14:01:59 -07:00
Jean-Michel Trivi 06933183c8 Fix bug 2553592 API REVIEW: android.speech
Change 3 of 4
Notes from API Council review:
Rename RecognitionManager to SpeechRecognizer

Change-Id: Ieea0ade975b7c01f1fccb83a78a5b8f75e0c62de
2010-03-30 10:29:41 -07:00
Kenny Root 7f4f7b877a Merge "Import revised translations" into froyo 2010-03-30 09:35:14 -07:00
Kenny Root c39ae1d0e0 Import revised translations
Change-Id: If95d873337fa1f368fd098a5ba4497bff6dc65b6
2010-03-30 09:17:01 -07:00
Amith Yamasani d079b98ec4 Fix build breakage due to api change
Change-Id: I72661c51f277cb9aa3df0bd5a16756408b53ab7f
2010-03-29 18:04:13 -07:00
Amith Yamasani 0c05902e33 Don't auto-add when in suggest-only mode. Bug: 2521344
Also don't highlight quickfixes when in suggest-only mode
In general, reduce the situations where words are auto-added. It was
too eagerly adding even words that were in the dictionary.
2010-03-24 19:31:49 -07:00
Amith Yamasani 4ff60be170 Write the auto dictionary data to disk in a background thread to avoid blocking the UI thread.
Bug: 2536846

This also potentially fixes the occasional hangs on pressing space. Need to verify.
Bug: 2509010
2010-03-23 16:21:46 -07:00
Roman Mitnitski c12588d40b Add hebrew keyboard to LatinIME
Bug: 2532052

Change-Id: Id2de988327fa3501e9049dc972a215b754bd3d91
2010-03-21 11:29:07 +02:00
Amith Yamasani bad436e93b Potential fix for extension keyboard not cleaning up bubbles sometimes.
This might also fix the keyboard closing suddenly when using the extension.
Re-enable bubble for landscape extension keyboard, since the framework can
now display it to the side.
2010-03-19 17:31:54 -07:00
Eric Fischer 7be15a1899 Merge "Import revised translations" 2010-03-18 10:54:02 -07:00
Kenny Root 1866d9ec83 Import revised translations
Change-Id: Id1db465dcf22f183bbf365f25905f408b51709f6
2010-03-17 22:16:48 -07:00
Amith Yamasani 6780b898ec Fix a StringIndexOutOfBounds. Bug: 2524050 2010-03-17 21:39:02 -07:00
Amith Yamasani 1ab409272b Merge "Remove popup for extension keyboard in landscape. bug: 2519903" 2010-03-17 17:09:14 -07:00
Amith Yamasani 1e5374e98b Remove popup for extension keyboard in landscape. bug: 2519903
Also add a summary text in the input language list for languages with
a dictionary so that users don't feel cheated when they pick a language
that doesn't happen to have a dictionary. Remove greek as it isn't an
extension of the QWERTY keyboard.
2010-03-17 17:02:28 -07:00
Amith Yamasani b248c2f7bf Remove the shared uid for LatinIME
Bug: 2512241

Since we cannot market update apps with shared uid, had to be removed.

Added READ_CONTACTS permission, now that it has a non-shared uid.
2010-03-16 14:01:52 -07:00
Amith Yamasani c3413faf92 Merge "Fix occasional correction errors in suggesting obvious corrections." 2010-03-16 12:24:13 -07:00
Fredrik Roubert b1cb13292f Update Swedish keyboard layout to not use external strings. 2010-03-15 18:42:24 +01:00
Maryam Garrett 4f1f2201bd Fixes the over-logging of TextModified
We were overlogging the TextMoified action because the old
implementation would log a cursor change as a text
modification. This CL logs 4 specific actions (choose
suggestion, delete text, insert text, insert punctuation)
as a text modification rather than any action in the textbox

I also add in logging of the length of the recognition result
so that we can get some more context around the scope of the
editing of the ime result.

Change-Id: I172df24ddc0a7b62bcc5ed806fd70ef7e1c42310
2010-03-15 12:18:08 -04:00
Amith Yamasani 231cacd080 Fix occasional correction errors in suggesting obvious corrections.
Bug: 2513996

The array of adjacent letters did not have the primary code in the first
position. Swap the codes around to make the primary the first one.

Change-Id: Id753254c88d440d3d76dbc048d123dfc78edf58d
2010-03-14 22:53:16 -07:00
Amith Yamasani 6c2f9f5ba7 Fix bug: 2512075 : Current input language resets to first in list on orientation change
Have separate variables for system locale and input locale.
2010-03-12 17:29:23 -08:00
Amith Yamasani 3656fb7987 Fix Russian keyboard layout, bug: 2509080
Also add a similar Swedish keyboard layout, contributed by Fredrik.
2010-03-12 14:14:29 -08:00
Amith Yamasani 8102ae7941 2175312 : IME suggestions stay on screen after switching orientation in search dialog
Only show the candidate strip if the input view is showing. Otherwise ignore any
completions from the AutoCompleteTextView
2010-03-10 21:18:49 -08:00
Amith Yamasani 283a77f633 Load UserDictionary and AutoDictionary in a background thread.
This is to avoid ANRs during bootup, as some of the providers
may not have been initialized yet.

Refactored the ContactsDictionary and moved the async loading
code to ExpandableDictionary to share with the other dicts.

Bug: 2501133
Change-Id: I20393edb6fdf5df2f54ebac8dd04419a592177a2
2010-03-10 11:39:06 -08:00
Amith Yamasani 07b1603a3f Don't let the native code target be included twice when unbundling.
Move java code to a different directory so that the unbundled
version doesn't try to compile the native code again.

Change-Id: I05cf9e643824ddc448821f69805ccb0240c5b986
2010-03-09 15:01:09 -08:00