Commit Graph

704 Commits (bf03559f7e38cd51cb5fd6b0afa937982cbffc67)

Author SHA1 Message Date
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 3fa7486c94 am fd36a98d: Merge "Add new assets for LatinIME" into gingerbread
Merge commit 'fd36a98dacaaa2ddf57abe6bfa140dea060f9b5d' into gingerbread-plus-aosp

* commit 'fd36a98dacaaa2ddf57abe6bfa140dea060f9b5d':
  Add new assets for LatinIME
2010-08-31 20:43:26 -07:00
satok fd36a98dac Merge "Add new assets for LatinIME" into gingerbread 2010-08-31 20:40:33 -07:00
Tadashi G. Takaoka ad60fe2e80 am 409731fb: Merge "Make KeyDebounce class a top-level class and rename it to PointerTracker" into gingerbread
Merge commit '409731fb46f5a7298005f3d6dbdd0bf4ee435236' into gingerbread-plus-aosp

* commit '409731fb46f5a7298005f3d6dbdd0bf4ee435236':
  Make KeyDebounce class a top-level class and rename it to PointerTracker
2010-08-31 20:28:59 -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 7bb640c1e0 am 543dbdfd: Always present suggestion strip whenever in appropriate mode.
Merge commit '543dbdfdbda259aa56be9670480c7d802beba332' into gingerbread-plus-aosp

* commit '543dbdfdbda259aa56be9670480c7d802beba332':
  Always present suggestion strip whenever in appropriate mode.
2010-08-31 19:49:26 -07: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 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