Commit graph

5205 commits

Author SHA1 Message Date
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
cc7424498f am b57b4785: Refactor KeyDebounce class
Merge commit 'b57b47856930ca4b7a5391f92947ab2ce9de9c59' into gingerbread-plus-aosp

* commit 'b57b47856930ca4b7a5391f92947ab2ce9de9c59':
  Refactor KeyDebounce class
2010-08-31 08:26:41 -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
f4230c498d am dc406a2d: Merge "Refactor key preview methods" into gingerbread
Merge commit 'dc406a2db6d9820f2deb2cbd89f394a76b52dfd4' into gingerbread-plus-aosp

* commit 'dc406a2db6d9820f2deb2cbd89f394a76b52dfd4':
  Refactor key preview methods
2010-08-31 02:41:05 -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
86bbd685f6 am 4f3741d4: Merge "Add missing resources for LatinIME" into gingerbread
Merge commit '4f3741d4e90d8cbea34cc2eaadb741fae3c9a034' into gingerbread-plus-aosp

* commit '4f3741d4e90d8cbea34cc2eaadb741fae3c9a034':
  Add missing resources for LatinIME
2010-08-30 22:15:56 -07: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
28f6351df3 am 673aed42: Add settings button
Merge commit '673aed42c3b291fc9f81ead58ca35a5d150f4dce' into gingerbread-plus-aosp

* commit '673aed42c3b291fc9f81ead58ca35a5d150f4dce':
  Add settings button
2010-08-30 22:06:33 -07: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
c4154ba8de am eeb77d4f: Merge "Remove mAbortKey flag completely" into gingerbread
Merge commit 'eeb77d4f6a56a140fd22c657074ad8de6676cb94' into gingerbread-plus-aosp

* commit 'eeb77d4f6a56a140fd22c657074ad8de6676cb94':
  Remove mAbortKey flag completely
2010-08-30 18:22:42 -07:00
Tadashi G. Takaoka
eeb77d4f6a Merge "Remove mAbortKey flag completely" into gingerbread 2010-08-30 18:19:03 -07:00
Eric Fischer
690bea3421 Merge "Import revised translations" 2010-08-30 14:22:17 -07:00
Eric Fischer
c788e3c3c9 Import revised translations
Change-Id: I4de68ff4db492e7efbaafaf01c7d1b97110a948a
2010-08-30 13:40:34 -07:00
Eric Fischer
6452478d37 am 272a84b1: (-s ours) am 164972b6: Merge "Import revised translations. DO NOT MERGE" into gingerbread
Merge commit '272a84b17ae599d8dd3054dad697cc53789be2f8'

* commit '272a84b17ae599d8dd3054dad697cc53789be2f8':
  Import revised translations.  DO NOT MERGE
2010-08-30 13:29:04 -07:00
Eric Fischer
272a84b17a am 164972b6: Merge "Import revised translations. DO NOT MERGE" into gingerbread
Merge commit '164972b678b986aecdf96e239cd0bce838b2033d' into gingerbread-plus-aosp

* commit '164972b678b986aecdf96e239cd0bce838b2033d':
  Import revised translations.  DO NOT MERGE
2010-08-30 12:32:41 -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
1cd7d96fe4 am ed5ce6c1: Merge "Remove extension keyboard" into gingerbread
Merge commit 'ed5ce6c1a3d3a38a28cd2ed480a4d877160fa6ae' into gingerbread-plus-aosp

* commit 'ed5ce6c1a3d3a38a28cd2ed480a4d877160fa6ae':
  Remove extension keyboard
2010-08-30 08:05:42 -07:00
Tadashi G. Takaoka
36007521ce am 82798ac0: Disable long-press on symbol keys on international locale keyboards.
Merge commit '82798ac066c8ffc497a68a313aee17cc4ad56bbd' into gingerbread-plus-aosp

* commit '82798ac066c8ffc497a68a313aee17cc4ad56bbd':
  Disable long-press on symbol keys on international locale keyboards.
2010-08-30 08:05:39 -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
ad0aac23ab am 4fc6539b: Remove unused assets
Merge commit '4fc6539bcb8a99b489b5cb72bfc977b9829f5603' into gingerbread-plus-aosp

* commit '4fc6539bcb8a99b489b5cb72bfc977b9829f5603':
  Remove unused assets
2010-08-30 01:51:14 -07:00
satok
e975c196c5 am 5d55cf6d: Remove Log functions from Gingerbread
Merge commit '5d55cf6dfc64ff54766aadda8897532bec9abf45' into gingerbread-plus-aosp

* commit '5d55cf6dfc64ff54766aadda8897532bec9abf45':
  Remove Log functions from Gingerbread
2010-08-30 01:20:22 -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
a8f4e3eaee am 65333e71: (-s ours) am cb622125: DO NOT MERGE. Remove a preference for bigram suggestion
Merge commit '65333e712b638cea6b990944ff255c7b834975c4'

* commit '65333e712b638cea6b990944ff255c7b834975c4':
  DO NOT MERGE. Remove a preference for bigram suggestion
2010-08-30 00:10:04 -07:00
satok
65333e712b am cb622125: DO NOT MERGE. Remove a preference for bigram suggestion
Merge commit 'cb6221257a2f4025c91de4d65f5591e6563c54ce' into gingerbread-plus-aosp

* commit 'cb6221257a2f4025c91de4d65f5591e6563c54ce':
  DO NOT MERGE. Remove a preference for bigram suggestion
2010-08-29 23:30:51 -07: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