Ken Wakasa
a0a60b37b2
Revert changes to keyboard_popup.xml for now.
...
This unexpectedly bloated keys in mini popup keyboard.
bug: 3048638
Change-Id: I2b717c9007ce7717bac514f1d8bcae1280130cf4
2010-10-01 09:46:04 +09:00
Tadashi G. Takaoka
3297ee80f0
Merge "Long pressing mic/comma key will show settings menue" into gingerbread
2010-09-30 04:57:40 -07:00
Tadashi G. Takaoka
a1cc4f0a8d
Long pressing mic/comma key will show settings menue
...
Bug: 3050703
Change-Id: I62773c10f435d13174f6ff6574912cb99303e83c
2010-09-30 20:18:10 +09:00
Tadashi G. Takaoka
77c9f2d314
Merge "Display feedback popup for saving word while the word is pressing." into gingerbread
2010-09-30 01:58:41 -07:00
satok
36f97dd689
Fixed assets
...
- Make the background of popup key a full transparent color
- Updated the background mdpi asset of keyboard
Bug: 2975027
Bug: 3048638
Change-Id: I8709a1ca403e5c3f862a8be9be1668d30c7687f8
2010-09-30 17:54:21 +09:00
Tadashi G. Takaoka
fcba53ef7c
Display feedback popup for saving word while the word is pressing.
...
Bug: 3004696
Change-Id: Icc5bdd6945f3bf79f7234a0227d8036d6f6d4c1d
2010-09-30 17:32:29 +09:00
Tadashi G. Takaoka
11a578f4f1
Disable suggestion bar before invoke Voice input
...
Bug: 3002817
Change-Id: I099dd63e58d5159a609c1d934dbb6f5aab914305
2010-09-30 16:04:09 +09:00
Tadashi G. Takaoka
8ff9680522
Merge "Eliminate compiler warning" into gingerbread
2010-09-29 20:51:34 -07:00
Tadashi G. Takaoka
eebe37e836
Merge "Disable suggestion selection preview popup" into gingerbread
2010-09-29 20:46:21 -07:00
Tadashi G. Takaoka
e7cfc8ab88
Eliminate compiler warning
...
Change-Id: Ib3effaa6f4e8cfc3951ab5d5d099335fd3856a2f
2010-09-30 12:43:43 +09:00
Tadashi G. Takaoka
c9716b28ce
Disable suggestion selection preview popup
...
Bug: 3048642
Bug: 3004920
Change-Id: Ibfb495a246c9e2da6ebf3c03d10ed8acff00f54b
2010-09-30 12:41:03 +09:00
Ying Wang
2d6a0c68c2
Merge "Fix proguard flag file dependency." into gingerbread
2010-09-29 16:12:41 -07:00
Amith Yamasani
15b840cd48
Merge "Check recorrection on focusing into a text field that has text already." into gingerbread
2010-09-29 16:08:49 -07:00
Ying Wang
bdfcb664f4
Fix proguard flag file dependency.
...
Change-Id: I26a639aea0e0b11ba65d621696c42e861847498e
2010-09-29 15:21:28 -07:00
Amith Yamasani
b8fa10080d
Check recorrection on focusing into a text field that has text already.
...
Bug: 3004827
Change-Id: I00e9d925fcf17fa9f7a9aefe6572a648e023be11
2010-09-29 11:37:43 -07:00
Tadashi G. Takaoka
179ada958b
Refactor CandidateView touch event handling
...
This change also fixes tha the touch slop value is applyed only for
initial movement of scrolling suggestion bar.
Bug: 3004920
Change-Id: I62afdedc210156e41e8c84c48cade442f9d5a1aa
2010-09-29 19:45:03 +09:00
Tadashi G. Takaoka
c2c9cd82da
Merge "Mini keyboard works even while shift is being pressed" into gingerbread
2010-09-28 21:01:46 -07:00
Tadashi G. Takaoka
afb3532779
Mini keyboard works even while shift is being pressed
...
Bug: 3038861
Change-Id: I94011ca80710ff6eb24e940104f7d9d3bb86840a
2010-09-29 12:36:13 +09:00
Tadashi G. Takaoka
46941882b2
Tune mini keyboard vertical correction to match with key height
...
Bug: 3040529
Change-Id: I8e3cc635737224537a019e66c38e1e2ea7a8bb8b
2010-09-29 12:23:57 +09:00
Tadashi G. Takaoka
6e5a398685
Fixed key code and key coordinates when move debounce has been in action
...
This change refactors a key index and pointer position variables into
a separate static inner class KeyState . This change also disables
time debouncing.
Bug: 3033737
Change-Id: Ie4fc37316c260330d8f0861e0771ea903a99cfce
2010-09-28 20:57:30 +09:00
satok
008e9b3e1a
Fix Null pointer exception on closing and update assets
...
Change-Id: I30fdac74685beae06b5c61140452b26b29ae4c39
2010-09-28 16:52:54 +09:00
Eric Fischer
e07bc39a3b
Merge "Trim unwanted whitespace from translations. DO NOT MERGE" into gingerbread
2010-09-27 12:27:43 -07:00
Eric Fischer
2245c3a5a9
Trim unwanted whitespace from translations. DO NOT MERGE
...
Change-Id: Ie380334bc725aa55beb8ec084d1ade881a50812c
2010-09-27 12:22:28 -07:00
Ken Wakasa
0b4ae1f578
Capitalize the displayed text in the suggestion bar when all of the user typed chars are upper case
...
bug:3014227
Change-Id: Ic453e2fde57ce51be00f3a506e1c9328103ca99a
2010-09-28 01:15:11 +09:00
satok
3a2b90357c
Merge "Add Debug Settings Activity" into gingerbread
2010-09-26 22:15:57 -07:00
satok
bf96661d33
Add Debug Settings Activity
...
Bug:3033472
Change-Id: I311c66ac3c612a30d7da3be8ee35a352f49016ac
2010-09-27 14:07:10 +09:00
Eric Fischer
89711080dc
Merge "Import revised translations. DO NOT MERGE" into gingerbread
2010-09-24 10:39:07 -07:00
Eric Fischer
5deb1678b2
Import revised translations. DO NOT MERGE
...
Change-Id: I1bf6a9e39adbe7d8e938f6dd5fe12227f8da4053
2010-09-24 10:26:49 -07:00
Ken Wakasa
6ee1bd425b
Merge "Keep addWordToDictionary from doing disk I/O on main thread" into gingerbread
2010-09-24 08:33:31 -07:00
Ken Wakasa
336bc6bfeb
Keep addWordToDictionary from doing disk I/O on main thread
...
bug: 2999524
Change-Id: Id8b04d38079cfa1dadd5955eb7f83085e60eb8e2
2010-09-25 00:14:24 +09:00
Tadashi G. Takaoka
64e5a1940f
Merge "Add enter/exit animation style to prevew and mini keyboard" into gingerbread
2010-09-24 06:07:23 -07:00
Tadashi G. Takaoka
0ae817c9ae
Add enter/exit animation style to prevew and mini keyboard
...
TODO This animation style API of PopupWindow can be called only in
Gingrebread or later. We should refactor this using reflection to be
able to be compatible with Froyo.
Bug: 3004787
Bug: 2973989
Change-Id: I2abfcc853b1a0af2bccee7bdf5fbd723456b7d34
2010-09-24 20:51:13 +09:00
satok
1bebdcb4e4
Move RingCharBuffer as a singleton in Util
...
Change-Id: I08d09555a99a64038374e62019777d331c48319b
2010-09-24 16:27:36 +09:00
Ken Wakasa
5339950bbc
Update mdpi visual assets of upper-right number hint
...
Change-Id: I77e2b70f4ec954ea2a0822f7bdb92d8a4d405f7f
2010-09-24 15:03:02 +09:00
Tadashi G. Takaoka
9d44411a82
Fixed popup mini-keyboard position
...
This change reverts I28bf3e4deb46a428dc8422a3a165183e00608604 partly
Bug: 3029284
Change-Id: I0701ab9dfa1cfddbecbef3d32e525c0a143fc297
2010-09-23 20:04:13 +09:00
Tadashi G. Takaoka
77542988b8
Tune left and right padding of popup mini keyboard
...
This change also fix popup window display position calculation.
Bug: 3029284
Change-Id: I28bf3e4deb46a428dc8422a3a165183e00608604
2010-09-23 15:53:05 +09:00
Tadashi G. Takaoka
23f7fb035d
Merge "Disable invoking VoiceIME using swipe right action" into gingerbread
2010-09-22 22:51:11 -07:00
Tadashi G. Takaoka
b75dee4b00
Merge "Fix ArrayIndexOutOfBoundsException in WordComposer" into gingerbread
2010-09-22 22:50:36 -07:00
Tadashi G. Takaoka
d1a8e3088b
Fix ArrayIndexOutOfBoundsException in WordComposer
...
Bug: 3028277
Change-Id: I1c4d8dca4db8a70f851589d1fbd45a16ea1bfc1b
2010-09-23 14:47:26 +09:00
Tadashi G. Takaoka
a96d8a11e8
Use SystemClock.uptimeMillis() for event time
...
Change-Id: If20f289992f829ae3a0a2a1eb60a4fc9b35c308a
2010-09-23 13:06:03 +09:00
Tadashi G. Takaoka
abd7bba981
Disable invoking VoiceIME using swipe right action
...
Bug: 3028268
Change-Id: I4bcf35051d5e82b60bb6a346a80ad6c3c03c31cb
2010-09-23 12:55:44 +09:00
Tadashi G. Takaoka
8493e43148
Use constant for keycode.
...
This is follow up change of Idb3adcb6fac1a23836510912d35312fa11b4f259
Change-Id: I130e381b0d5ac01176a746a4a915e2fc9d54587b
2010-09-22 18:29:19 +09:00
Tadashi G. Takaoka
9d1cb89939
Merge "Choose smaller or shorter language name for space bar" into gingerbread
2010-09-22 02:17:06 -07:00
Tadashi G. Takaoka
8243c7a5e5
Choose smaller or shorter language name for space bar
...
To fit a language name to the space bar or the language switcher, this
change chooses smaller text size or shorter language name
appropriately.
This change also tunes the vertical position of a language name in the
space bar by parameter SPACEBAR_LANGUAGE_BASELINE.
Bug: 3004640
Bug: 3001021
Change-Id: Idb3adcb6fac1a23836510912d35312fa11b4f259
2010-09-22 18:03:46 +09:00
satok
fd56a14c6b
Merge "Remove unnecessary assets for LatinIME in GingerBread" into gingerbread
2010-09-22 01:30:14 -07:00
satok
824623a9ca
Remove unnecessary assets for LatinIME in GingerBread
...
Change-Id: I6f690f261cdcad9aaf1dd4b0a13a7a9102b3dded
2010-09-22 17:22:40 +09:00
Tadashi G. Takaoka
3a2896c804
Fix issue space key preview remains on screen and would not dismiss
...
The space key preview should be displayed one of the following case.
- Popup preview is enabled
- Language switcher is in action, whether popup preview is enabled or
not.
For phone number keyboard, popup preview is never displayed even if
popup preview is enabled.
Bug: 3006612
Bug: 3021091
Change-Id: I5385c776d0e8e3981fc8d8851db9140d92599ce5
2010-09-22 15:50:31 +09:00
Ken Wakasa
75c23ced94
Add lightweight visual indication for numbers.
...
This change adds lightweight visual hints of alternate numeric characters on the top row - e.g. having a light gray '1' on the upper right corner of letter 'q'
Note that MDPI resources are tentative (the same as HDPI for now, until we get fixed MDPI visual assets).
bug: 3004632
Change-Id: I7a25cf90b702433a844c88f5c47bf914706af9bc
2010-09-22 13:00:11 +09:00
Tadashi G. Takaoka
a104575c99
Merge "Draw language label on space key of symbol+alt mode" into gingerbread
2010-09-21 08:34:57 -07:00
Tadashi G. Takaoka
31ff846e8c
Draw language label on space key of symbol+alt mode
...
Bug: 3003888
Change-Id: I0bafcd13f3e5e5c69c65ed72580d108f2745e004
2010-09-21 23:05:29 +09:00
Tadashi G. Takaoka
6b75eaa12d
Fix mini keyboard display position when preview is disabled
...
Bug: 3021082
Change-Id: I2cfb462c89b222449ee2ba5559462a9f5d2306ed
2010-09-21 21:10:17 +09:00
Tadashi G. Takaoka
56cd6df95e
Merge "Space key will no longer auto-repeat" into gingerbread
2010-09-20 22:46:10 -07:00
Tadashi G. Takaoka
aaa163b2b7
Space key will no longer auto-repeat
...
Bug: 3014225
Change-Id: I94d4904726985d5e17b665d4042c873ea07221f1
2010-09-21 13:00:13 +09:00
Tadashi G. Takaoka
4da43a25cb
Shorten popup preview residual time (100ms)
...
The residual time was formerly 150ms by
Ia63662a549481d18046a46ef8292c0a4438b5588, and originally was 70ms.
Bug: 3004787
Change-Id: If60a74c51e9a68f008711cca2423094e8204755f
2010-09-21 12:00:55 +09:00
Tadashi G. Takaoka
7763b36d6d
Align key preview and mini-keyboard positions
...
Bug: 3004793
Change-Id: I1839e6ff3c8c66a576bfb3db9391c146ed225451
2010-09-18 02:19:03 +09:00
Tadashi G. Takaoka
4a3ffcbf32
Longer popup preview residual time (150ms)
...
Bug: 3004787
Change-Id: Ia63662a549481d18046a46ef8292c0a4438b5588
2010-09-18 01:48:03 +09:00
satok
62955c7951
Update mdpi assets
...
bug: 2973737
Change-Id: I2efc96886a3f5656ca3d9e799a4052f044e61e70
2010-09-17 19:23:03 +09:00
Ken Wakasa
86fa29ade9
DO NOT MERGE. Get rid of the user feedback preference from Gingerbread.
...
Change-Id: I2f0dc3b0cba78c85249cb6cecc9b5c588de4f26b
2010-09-17 18:12:03 +09:00
Ken Wakasa
29d8bde4de
Merge "Use the phone keyboard for NUMBER and DATETIME until we get a dedicated number entry keypad." into gingerbread
2010-09-16 20:03:35 -07:00
Ken Wakasa
08f664fa65
Use the phone keyboard for NUMBER and DATETIME until we get a dedicated number entry keypad.
...
bug: 2992459
Change-Id: Ie597a68aa394c48e08a5d3fda19a0b613795b47b
2010-09-17 11:47:37 +09:00
Tadashi G. Takaoka
1476988ebb
Default puctuation suggestions have same color
...
Bug: 3000978
Change-Id: Iedb3d4619ada8bd3ccc301ca2a8fb16fba6580c0
2010-09-17 11:45:46 +09:00
Ken Wakasa
809bef520b
Merge "Increase gradient of suggestion bar" into gingerbread
2010-09-16 04:41:04 -07:00
Ken Wakasa
06ff4c2175
Merge "Change suggestion & bold colors" into gingerbread
2010-09-16 04:24:05 -07:00
Ken Wakasa
749b1eaaaa
Increase gradient of suggestion bar
...
bug: 3001007
Change-Id: I0f05d62b2a6848f37975b7a15b3ba14a90776d24
2010-09-16 20:21:30 +09:00
Tadashi G. Takaoka
ed8eabcc39
Cleanup keyboard layout files
...
Change-Id: I095c1294b9e826b503ff741eeff9dc93ad39f060
2010-09-16 20:02:04 +09:00
Ken Wakasa
d98cd76896
Change suggestion & bold colors
...
bug: 3004846
Change-Id: Id6878ea0a5b1f67af68b4690fdc1527513c999ab
2010-09-16 16:36:41 +09:00
Tadashi G. Takaoka
08cfebda8b
Move comma as default position of mini keyboard
...
Bug: 3000978
Change-Id: I0369b3dc6ae58b77e7af112e446ae8189f5bbfc9
2010-09-16 12:22:53 +09:00
Ken Wakasa
1508c0e84f
Add a new preference item to show/hide the settings key.
...
bug: 2998722
Change-Id: Iac1641c338388fd8f85e0cf47e31afdaeb34c0c0
2010-09-16 02:48:10 +09:00
Amith Yamasani
dd5d4e378a
Merge "Fix : Bouncing Extract Text when correcting multiple lines of text." into gingerbread
2010-09-15 09:55:02 -07:00
Amith Yamasani
c1020c3aa6
Fix : Bouncing Extract Text when correcting multiple lines of text.
...
Bug: 2996887
Override the methods in InputMethodService that hide the candidates view, since
it was just an optimization to show more lines of text when editing, which
conflicts with the re-correct feature.
Change-Id: Ibfed5ccd9efa048d0b69297a5cf8a638a0d00c72
2010-09-15 09:34:17 -07:00
Tadashi G. Takaoka
bf1f16f35f
Merge "All keys should be processed before processing modifier key" into gingerbread
2010-09-15 02:54:43 -07:00
Tadashi G. Takaoka
bd1cc1da00
Fix bug that upper case mini-keyboard does not work
...
This issue is introduced by I1932b0a382e172cb77b9e098ae182049c834dfe0
Bug: 2993769
Change-Id: I344d21e046b58b3bb9831605a7425a94c97d8492
2010-09-15 18:46:24 +09:00
Tadashi G. Takaoka
2aa8078df8
All keys should be processed before processing modifier key
...
Bug: 2987077
Change-Id: I971c44be121d8780ec27aa1649fd0925e249fbbc
2010-09-15 18:41:54 +09:00
Tadashi G. Takaoka
12a4e08a64
Handling multi-character uppercase key input
...
Change-Id: Ie0820a2627e18109036d5f6f286d5a366c9b9f87
2010-09-14 17:20:48 +09:00
Tadashi G. Takaoka
eb68036798
Add keyHysteresisDistance xml attribute
...
This change also introduces MiniKeyboardKeyDetector and
mini_keyboad_slide_allowance parameter to tune the key detection
behavior.
Bug: 2993769
Change-Id: I1932b0a382e172cb77b9e098ae182049c834dfe0
2010-09-14 16:26:45 +09:00
Ken Wakasa
9717d5b1ee
Get rid of execution bit
...
Change-Id: I25b530c2ab50c045da321e00d905cbec19188ea3
2010-09-14 11:51:58 +09:00
Eric Fischer
0ca8cf67a3
Merge "Rename altchars.xml to keep translation imports from altering it." into gingerbread
2010-09-13 10:04:49 -07:00
satok
395d501252
Rename keyboard_popup_keyboard.xml keyboard_key_preview.xml
...
Change-Id: I7c98a91c77f5ef46ee0b15783242024c0bd10503
2010-09-13 23:06:49 +09:00
satok
c706b1cf75
Remove unused popup layout
...
Change-Id: I7009ec8cdb7977236d57b03c8603d0476186d885
2010-09-13 20:27:43 +09:00
satok
c931021da0
Fix the gap of popup
...
Change-Id: I8b727fce857c1f943bd6f1eff6fa5d9b3c158a60
2010-09-13 18:59:48 +09:00
satok
6d51f0ea0c
Merge "Add mdpi assets and fix mode" into gingerbread
2010-09-13 02:57:56 -07:00
satok
a56271976a
Add mdpi assets and fix mode
...
Bug: 2973737
Change-Id: I3eb0bc2fb7701315dd9b646a2f204884134c54de
2010-09-13 18:57:16 +09:00
satok
fe5a49ed0d
Add popup layout for theme of gingerbread
...
Change-Id: I464dc6cef4ca8cfd3c2fdb2fe99b2dc7d4e7988d
2010-09-13 17:42:48 +09:00
satok
0edddce011
Merge "Update working.png" into gingerbread
2010-09-12 20:36:01 -07:00
Ken Wakasa
0ea6270ffb
More commit -> apply changes with SharedPreferencesCompat.
...
The newly added SharedPreferencesCompat adapter class does apply() when available (Gingerbread+), else do commit().
This change incorporates I4eca20fb and I39f6aa04.
bug: 2983837
Change-Id: Iec4e8b69840ad71dbbd6098eeba349934d8248ff
2010-09-13 00:50:48 +09:00
Ken Wakasa
aed0122734
Fix a bug in y-axis offset for sliding finger key detection for mini popup keyboard.
...
Also, tentatively added key detection allowance for below of the keys in mini popup keyboard.
bug: 2979407
Change-Id: I84794969facd929c84df23e0120d46dff71c6efb
2010-09-12 19:17:08 +09:00
Ken Wakasa
f62166c13b
Mini popup keyboard adjustment: Have the leftmost number right above the key.
...
Also fixed an issue when the mini popup keyboard hits the right edge of the view.
A few code cleanups as well.
bug: 2980864
Change-Id: I95f8392521e57560907d54b662e3483ebaf6f7ce
2010-09-12 04:09:36 +09:00
Eric Fischer
87d0dc827d
Rename altchars.xml to keep translation imports from altering it.
...
It looks like these files are now being maintained in the source tree
instead of by the translators, so add a "donottranslate" prefix so that
reimporting translations will not overwrite the changes.
Change-Id: I471744ef7d5786ddb705cbda494bb1fbced3028b
2010-09-10 13:22:47 -07:00
satok
5c2e3ed20f
Update working.png
...
Change-Id: I62f80b2d6e85ffa7bbf92992fe6942690163ef17
2010-09-11 04:57:54 +09:00
Tadashi G. Takaoka
6aa1939510
Add Hawaiian, Maori, and other Polynesian macron
...
Bug: 2862018
Change-Id: I32e1d2472abcc00f4d89a737593f7d0edcb49294
2010-09-10 15:26:31 +09:00
satok
f9e0207aac
Merge "Update assets for LatinIME" into gingerbread
2010-09-09 21:34:58 -07:00
satok
64a3b589a8
Update assets for LatinIME
...
Change-Id: I75b28bbc17339d2ffc9c61521c9b1f0d90c34b77
2010-09-10 13:29:02 +09:00
Ken Wakasa
3de8f34b8c
Code cleanup
...
Change-Id: I333693ab8e4088180cc25768d874ad7320d9da8b
2010-09-10 13:15:45 +09:00
Tadashi G. Takaoka
efc4a43794
Symbol key acts as modifier key
...
On a device that has distinct multi-touch panel, pressing '123?' key
will change keyboard layout to symbol mode. While pressing '123?'
key, you can press other symbol key to input. Then releasing '123?'
key will change keyboard layout back to alphabet mode.
Bug: 2973383
Change-Id: I3b069fb19141820def8060db4766a08c7c0a6ff0
2010-09-09 20:43:13 +09:00
Tadashi G. Takaoka
681b676b0a
Keep Keyboard in cache through SoftReference
...
This change also adds final to attributes
Change-Id: Ie2b9a1b1f83606b24ad4e35ad72a28d55ed0423e
2010-09-09 13:32:17 +09:00
Tadashi G. Takaoka
3c55911040
Merge "Add digit alternates" into gingerbread
2010-09-08 21:30:44 -07:00
Ken Wakasa
0e300c83a1
Avoid a disk write on UI thread
...
bug: 2983837
Change-Id: I4eca20fb4defcf149788032a98fe5894b57e1e19
2010-09-09 11:57:55 +09:00
Tadashi G. Takaoka
012075a711
Add digit alternates
...
This also re-orders keyboard layout attribute and adds some
android:popupCharacters.
Bug: 2973749
Change-Id: I300fb4029a1844947731cb98a464d8d754cb03ef
2010-09-09 01:06:58 +09:00
Tadashi G. Takaoka
2dd905b3c7
Move alternate chars from keyboard layout to altchars.xml
...
Bug: 2973749
Change-Id: Ic6e5f986c32be07c1e1038594a0e420ba6902351
2010-09-08 19:47:09 +09:00
Tadashi G. Takaoka
c29ef3ec15
Remove unnecessary android:codes attribute
...
If there is no android:codes specified, the first character of
keyLabel's code point will be used instead.
Also introduce readable codes as @integer/key_XXX resources
Bug: 2973749
Change-Id: If9021ca35f9a7b922817e2099186fce0cd993652
2010-09-08 18:16:30 +09:00