Commit Graph

644 Commits (525776b681a0548fa6f98ee22a74ae4225c7fa07)

Author SHA1 Message Date
Ken Wakasa 5bb2e9a55d am b24cc640: Fix ArrayIndexOutOfBoundsException.
Merge commit 'b24cc640c1485590b1e9912397ea9acd68b43d99' into gingerbread-plus-aosp

* commit 'b24cc640c1485590b1e9912397ea9acd68b43d99':
  Fix ArrayIndexOutOfBoundsException.
2010-08-31 17:21:01 -07:00
Ken Wakasa b24cc640c1 Fix ArrayIndexOutOfBoundsException.
bug: 2964045
Change-Id: I97d95181e1a6838ace9c135aa92e7f20034e821f
2010-09-01 09:11:38 +09:00
Amith Yamasani 725e94482d am ca4e4278: Fix UnsatisfiedLinkError for Latin IME. Don\'t use old NDK version in a platform build.
Merge commit 'ca4e42785f598af9f24a9e3e2ae644ffa83c77ed' into gingerbread-plus-aosp

* commit 'ca4e42785f598af9f24a9e3e2ae644ffa83c77ed':
  Fix UnsatisfiedLinkError for Latin IME. Don't use old NDK version in a platform build.
2010-08-31 12:14:53 -07:00
Amith Yamasani ca4e42785f Fix UnsatisfiedLinkError for Latin IME. Don't use old NDK version in a platform build.
Also added a clean step, since it's only a Makefile change.

Change-Id: Ide1684a5f34e99496e969edb8443dc4545b57306
2010-08-31 12:04:30 -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
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 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 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
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 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 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 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 fd2ccb7dd4 am 06123e56: Don\'t re-allocate KeyDebouncer when keyboard is switched.
Merge commit '06123e56912b5dcd7aca3d0c18c7ceb1f1cde573' into gingerbread-plus-aosp

* commit '06123e56912b5dcd7aca3d0c18c7ceb1f1cde573':
  Don't re-allocate KeyDebouncer when keyboard is switched.
2010-08-27 09:31:10 -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 2603c97979 am 00dda50e: Revert "Show key preview instantaneously"
Merge commit '00dda50efda107daec8bfcafe2639603b655f183' into gingerbread-plus-aosp

* commit '00dda50efda107daec8bfcafe2639603b655f183':
  Revert "Show key preview instantaneously"
2010-08-27 05:07:39 -07: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 44ecfdb60b am 09f530e2: Show key preview instantaneously
Merge commit '09f530e248a3caf0037ca89aa79a836385a03fab' into gingerbread-plus-aosp

* commit '09f530e248a3caf0037ca89aa79a836385a03fab':
  Show key preview instantaneously
2010-08-27 04:14:14 -07: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 6ad0d15ca2 am 7986d783: Merge "Disable long-press on shift and symbol keys" into gingerbread
Merge commit '7986d78328e17bdbe7ec05558e93a2c6a25641c6' into gingerbread-plus-aosp

* commit '7986d78328e17bdbe7ec05558e93a2c6a25641c6':
  Disable long-press on shift and symbol keys
2010-08-26 23:56:00 -07: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 6bd55470fd am f17a50f5: Merge "Not to reset the ring buffer in LatinImeLogger" into gingerbread
Merge commit 'f17a50f5a5a6c185d3a223bea3a7475c8482a110' into gingerbread-plus-aosp

* commit 'f17a50f5a5a6c185d3a223bea3a7475c8482a110':
  Not to reset the ring buffer in LatinImeLogger
2010-08-26 22:46:10 -07: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 61f49165b5 am 830fd4af: Merge "Refactor onModifiedTouchEvent into several methods." into gingerbread
Merge commit '830fd4af566cf2545df5f45cd2f53d97c481e254' into gingerbread-plus-aosp

* commit '830fd4af566cf2545df5f45cd2f53d97c481e254':
  Refactor onModifiedTouchEvent into several methods.
2010-08-26 19:58:26 -07:00
Tadashi G. Takaoka 830fd4af56 Merge "Refactor onModifiedTouchEvent into several methods." into gingerbread 2010-08-26 19:56:32 -07:00
Tadashi G. Takaoka 01b25346c5 am bdd9c3dc: Remove unused import statement
Merge commit 'bdd9c3dc4fad8012ec18134d0db65c98b92dcbdf' into gingerbread-plus-aosp

* commit 'bdd9c3dc4fad8012ec18134d0db65c98b92dcbdf':
  Remove unused import statement
2010-08-26 19:13:04 -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 6c1644a7dd am e83d7385: Refactor getKeyIndexAndNearbyCodes into independent class
Merge commit 'e83d7385abbd0b58899b8190d644a0cb8e9f2774' into gingerbread-plus-aosp

* commit 'e83d7385abbd0b58899b8190d644a0cb8e9f2774':
  Refactor getKeyIndexAndNearbyCodes into independent class
2010-08-26 17:56:17 -07:00
Tadashi G. Takaoka e83d7385ab Refactor getKeyIndexAndNearbyCodes into independent class
Bug: 2910379
Change-Id: Ib26a898ea108ee4292f9f91b6d7d10c1fc380fd1
2010-08-26 23:33:08 +09:00