Commit graph

680 commits

Author SHA1 Message Date
Tadashi G. Takaoka
f7d71c338f Merge "Refactor PointerTracker to add isValidKeyIndex() predicate." into gingerbread 2010-09-01 17:29:46 -07:00
Amith Yamasani
c354167c84 am b00a1d0c: Correction improvements - use the new InputConnection APIs for underlining and fetching the selected text.
Merge commit 'b00a1d0c0adbdfc507676772201e979e539a2801' into gingerbread-plus-aosp

* commit 'b00a1d0c0adbdfc507676772201e979e539a2801':
  Correction improvements - use the new InputConnection APIs for underlining and
2010-09-01 14:53:08 -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
c6df09182c Refactor PointerTracker to add isValidKeyIndex() predicate.
Bug: 2910379
Change-Id: If2b28764dc777bb62949a95bc61c4a16ff152220
2010-09-02 02:49:52 +09:00
Tadashi G. Takaoka
2c7583f6c3 am c6cb2ec1: Add new public attribute mPointerId to PointerTracker
Merge commit 'c6cb2ec1f3264a7b626022bcfdc8da180b87920c' into gingerbread-plus-aosp

* commit 'c6cb2ec1f3264a7b626022bcfdc8da180b87920c':
  Add new public attribute mPointerId to PointerTracker
2010-09-01 10:48:19 -07: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
57a41d09b6 am 2085d43d: Make abstract KeyDetector class
Merge commit '2085d43daf44752deae1b6b00a14cb0f517d69cb' into gingerbread-plus-aosp

* commit '2085d43daf44752deae1b6b00a14cb0f517d69cb':
  Make abstract KeyDetector class
2010-09-01 09:58:51 -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
f3231f4531 am 681b102a: Track all pointers events
Merge commit '681b102a492b7d5301c1ca87985b4c391eb5eb14' into gingerbread-plus-aosp

* commit '681b102a492b7d5301c1ca87985b4c391eb5eb14':
  Track all pointers events
2010-09-01 06:40:26 -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
fb82afd48b am 40ac45eb: Get rid of arrows in candidate view
Merge commit '40ac45ebdcd71940394dda00371d4847f7db0f26' into gingerbread-plus-aosp

* commit '40ac45ebdcd71940394dda00371d4847f7db0f26':
  Get rid of arrows in candidate view
2010-09-01 02:13:05 -07: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
103381ebf1 am d4f60bc8: Merge "Fix new theme assets and resources" into gingerbread
Merge commit 'd4f60bc8fcf60990aa7593a866c645eaf7c08a93' into gingerbread-plus-aosp

* commit 'd4f60bc8fcf60990aa7593a866c645eaf7c08a93':
  Fix new theme assets and resources
2010-09-01 01:53:44 -07:00
satok
d4f60bc8fc Merge "Fix new theme assets and resources" into gingerbread 2010-09-01 01:52:31 -07:00
satok
fcba07adb7 am 4de4d51d: Merge "Remove old unused delete key assets" into gingerbread
Merge commit '4de4d51dfab8327739cff64d192fe0a6ca9e6e7a' into gingerbread-plus-aosp

* commit '4de4d51dfab8327739cff64d192fe0a6ca9e6e7a':
  Remove old unused delete key assets
2010-09-01 01:44:05 -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
fbd2aaf5ff am a8d5e6d3: Remove duplicated assets
Merge commit 'a8d5e6d3730cae70195bdeaed372da25413e5c0b' into gingerbread-plus-aosp

* commit 'a8d5e6d3730cae70195bdeaed372da25413e5c0b':
  Remove duplicated assets
2010-09-01 00:46:30 -07:00
satok
186bb0b360 Remove old unused delete key assets
Change-Id: Id50b0f3069b37e6751a4cfbd374c22c13fb0f505
2010-09-01 16:36:30 +09:00
satok
4d09b2e78e am 31adfa78: Add a new theme for Gingerbread
Merge commit '31adfa78e2edae188edb05e869f9f68798857582' into gingerbread-plus-aosp

* commit '31adfa78e2edae188edb05e869f9f68798857582':
  Add a new theme for Gingerbread
2010-09-01 00:33:35 -07: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
c3b55809a5 am c7c6203f: Merge "Introduce multiple PointerTracker" into gingerbread
Merge commit 'c7c6203f330883235c8cb4f1c84013cdb28a8b12' into gingerbread-plus-aosp

* commit 'c7c6203f330883235c8cb4f1c84013cdb28a8b12':
  Introduce multiple PointerTracker
2010-09-01 00:05:32 -07: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
3412a892dd am d44b79eb: Merge "Add new assets" into gingerbread
Merge commit 'd44b79eb5bdaaa74bac482df4ddab44aa260d711' into gingerbread-plus-aosp

* commit 'd44b79eb5bdaaa74bac482df4ddab44aa260d711':
  Add new assets
2010-08-31 22:52:50 -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
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