Tadashi G. Takaoka
3f652e2477
Merge "Clear composing text when the auto-corrected word is reverted" into honeycomb
2011-01-18 04:44:45 -08:00
Tadashi G. Takaoka
c1c4ee6b3a
Load keyboard correctly when subtype has been changed to keyboard
...
Bug: 3299191
Change-Id: I5d75898aca5de25d9955efac52979097e529990b
2011-01-18 21:44:02 +09:00
Tadashi G. Takaoka
30be3f9845
Clear composing text when the auto-corrected word is reverted
...
Bug: 3363133
Change-Id: Ib7582ad354ba16eb8ebc9f0b4f51c8ec3790f578
2011-01-18 21:01:26 +09:00
Jean Chalard
fd7d814c81
Simplify latin IME settings page.
...
Do not show the recorrection option on xlarge terminals,
and make it true by default. Also, bring the Auto-capitalization
at the top of the settings page.
Issue: 3282448
Change-Id: I51a9ae6c7e496be2970107277f0a4ac65b12821e
2011-01-18 18:41:15 +09:00
Jean Chalard
6c381b38cc
Remove the keyboard popup option by default.
...
Add an option to mask the sound on keypress preference, and
make it false on xlarge terminals by default.
bug: 3282448
Change-Id: I747272d9edf854dc229aa620836cfa35a437d13f
2011-01-18 16:26:11 +09:00
satok
7766340cac
Add debug log for subtypes.
...
Change-Id: I7941adeab3357db1ceb7bc0c9c01a01d6ac9cf98
2011-01-18 13:52:14 +09:00
Tadashi G. Takaoka
d5a6b910e8
Purge keyboard only when voice input will be invoked
...
This change also draws the language name in light gray on spacebar
without fading out even when the keyboard locale has not been changed.
Bug: 3362369
Bug: 3361915
Change-Id: I66538b03ce2e48c3441091319d0377176f8118ec
2011-01-18 11:41:12 +09:00
Tadashi G. Takaoka
9835307690
Merge "Preserve punctuation character after canceling auto correction" into honeycomb
2011-01-17 06:07:01 -08:00
Tadashi G. Takaoka
a0ff76638c
Merge "Make sure that keyboard is not displayed when voice mode" into honeycomb
2011-01-17 05:49:00 -08:00
Tadashi G. Takaoka
04f815eca4
Make sure that keyboard is not displayed when voice mode
...
Bug: 3352347
Change-Id: I43cf5159f8bdcf2bc2c9a48662ea44a43ad4e25d
2011-01-17 22:41:05 +09:00
Tadashi G. Takaoka
504e8d5171
Preserve punctuation character after canceling auto correction
...
Bug: 3230708
Change-Id: I939ca19c9c08d9b79658261b1e654a66af5cc493
2011-01-17 22:37:36 +09:00
Tadashi G. Takaoka
8bec4aa912
Fix voice key enable status has not been reflected to keyboard id
...
Bug: 3355428
Change-Id: Id4e572357a7b5603e9a609b7e80b81d8e2c500f6
2011-01-17 19:27:39 +09:00
Tadashi G. Takaoka
dc64b138b5
Revert I432be8f7 partially
...
This change reverts removing SubtypeSwitcher.onConfigurationChanged by careless in I432be8f7.
Bug: 3290290
Change-Id: I796ea01877d61eb750dabdeb3fdbf87666646c56
2011-01-17 17:52:15 +09:00
Tadashi G. Takaoka
9d446fc13f
Merge "Place language name at center of spacebar if no space icon" into honeycomb
2011-01-17 00:39:01 -08:00
Tadashi G. Takaoka
66432cfc9b
Place language name at center of spacebar if no space icon
...
This change also leaves the language name as light grayed after fading out.
Bug: 3290290
Change-Id: I71adf80c9a3b77d2fd34bca458845d85d55cbee7
2011-01-17 17:04:53 +09:00
Ken Wakasa
3ff0fb77ce
Merge "Fixes in close() in BinaryDictionary." into honeycomb
2011-01-16 23:12:55 -08:00
Ken Wakasa
da50e1e98d
Fixes in close() in BinaryDictionary.
...
Avoid using 'synchronized' in finalizer as well.
bug: 3340837
Change-Id: I9b28f54e4490ecb844ba33a379f71b625e4246a2
2011-01-17 15:58:07 +09:00
satok
f250c56a38
Allow implicitly enabled subtypes in subtype switcher.
...
Change-Id: I30cd9df85fd1927ee9c3bfbe0574167d4953a765
2011-01-17 14:46:25 +09:00
Tadashi G. Takaoka
67e08bb0fb
Invoke voice recognition certainly onStartInputView
...
Bug: 3352347
Change-Id: I80763c0a48ebf1ecd23549d78269421ebb40d206
2011-01-15 06:13:34 +09:00
Tadashi G. Takaoka
93e2d77741
Merge "Fix froyo-ub-LatinImeGoogle compatibility" into honeycomb
2011-01-14 06:59:01 -08:00
Tadashi G. Takaoka
5a88787e67
Merge "Add SubtypeLocale class" into honeycomb
2011-01-14 05:25:47 -08:00
Tadashi G. Takaoka
34cee317d8
Fix froyo-ub-LatinImeGoogle compatibility
...
Change-Id: I46fca4735d08552dfb414b2b302b4ed97ae96ab0
2011-01-14 22:24:10 +09:00
Tadashi G. Takaoka
de0c8874a4
Notify keyboard language on space bar when it has changed
...
This change also introduces the following.
* space bar language switcher is enabled for phone device.
* get rid of spcae key icon from number keyboard of tablet.
* slightly lower the position of language name on space bar of tablet.
Bug: 3290290
Change-Id: I432be8f757bcc84c257770112ff1f6fa7970c584
2011-01-14 20:11:52 +09:00
satok
1c835437a5
Merge "Do not triggerVoiceIME at changing subtype if IME is not shown." into honeycomb
2011-01-14 00:22:03 -08:00
Tadashi G. Takaoka
e276d8ddaa
Add SubtypeLocale class
...
Change-Id: Ic4c73c313f976ad6df1b4ddf48b914d05a08d283
2011-01-14 16:12:36 +09:00
Tadashi G. Takaoka
212368e877
Merge "Support "nm" (no mic) privateImeOptions" into honeycomb
2011-01-13 23:09:38 -08:00
Tadashi G. Takaoka
96680f28e8
Use integer value instead of symbolic name for os version
...
Change-Id: I1574915ededf5d47d245a3f09692ebbbfe37e4c6
2011-01-14 14:48:23 +09:00
Tadashi G. Takaoka
41f7fb51b0
Make input language selection settings work
...
This change also tweaks the padding of candidate strip for phone.
Change-Id: Iefe4dfeb7015e11d5b2d1566121f719d60b1377e
2011-01-14 14:21:12 +09:00
Tadashi G. Takaoka
0f901aab36
Support "nm" (no mic) privateImeOptions
...
Bug: 3331635
Change-Id: Ide160b9317c8f7d966f879dd460640fc4f894e9b
2011-01-14 10:02:26 +09:00
satok
255831206b
Do not triggerVoiceIME at changing subtype if IME is not shown.
...
Bug: 3325103
Change-Id: I5474553f0b55f286f573af80134e8ef1eeb39354
2011-01-13 21:05:29 +09:00
Tadashi G. Takaoka
a5627e4e1f
Merge "Reset old keyboard state before switching to new keyboard" into honeycomb
2011-01-11 22:54:26 -08:00
Tadashi G. Takaoka
ee66e6fa90
Reset old keyboard state before switching to new keyboard
...
This change is ported version of I8030202f from Gingerbread.
Bug: 3322158
Change-Id: Idc1ef7f174b50b0478ba53b14427485275e97748
2011-01-12 14:13:32 +09:00
Ken Wakasa
a776b7fc4a
Should update suggestion strip even if suggetion count is 1, in case typed word's length is 1
...
bug: 3320818
Change-Id: I98ac8e0649de5dfd8b886401d42f2e5bcc2a8a1a
2011-01-11 12:59:33 +09:00
Ken Wakasa
2faf0a176c
Merge "Clean up: Update variable names to comply with spec of ApplicationInfo." into honeycomb
2011-01-10 09:05:34 -08:00
Ken Wakasa
255c044b0e
Fix StringIndexOutOfBoundsException
...
bug: 3325065
Change-Id: Ic3d2dca5b2aa1681d472c7f96b31737e15f4952d
2011-01-09 18:44:28 +09:00
Ken Wakasa
90d96615bc
Clean up: Update variable names to comply with spec of ApplicationInfo.
...
ApplicationInfo.sourceDir may or may not be apk file name. It can be a directory as well.
The spec just says it's "Full path to the location of this package".
Also, added error handling in loadDictionary().
Change-Id: I5e64d0aba4b1ec7634f4b3ac5537e7a774433ece
2011-01-09 16:53:33 +09:00
Satoshi Kataoka
6d075dbda5
Merge "Get rid of the space bar symbol on the tablet." into honeycomb
2011-01-07 07:38:27 -08:00
Ken Wakasa
715189fe6e
Get rid of the space bar symbol on the tablet.
...
bug: 3290290
Change-Id: I4c57151197989375e6e9f36f508e6e875f856654
2011-01-08 00:15:14 +09:00
Ken Wakasa
e90b333017
Load main dic in native
...
Follow up to Id57dce51
bug: 3219819
Change-Id: I00e11ef21d0252ffa88c12dffb9c55b0f2e19a66
2011-01-07 19:51:45 +09:00
Tadashi G. Takaoka
f16028b92e
Remove digit popup characters from mini keyboard of tablet
...
Bug: 3321376
Change-Id: I38d963952d3c6d2cf1ad19a69b32f90191f17178
2011-01-07 01:12:15 +09:00
Tadashi G. Takaoka
cc55d947ad
Calculate mini keyboard key width from labels
...
Change-Id: I4259753bd10fdf488fcffacb6b131e30511e780f
2011-01-06 22:40:20 +09:00
Tadashi G. Takaoka
ca65332145
Merge "Remove Row object from MiniKeyboardBuilder"
2011-01-05 21:20:18 -08:00
Ken Wakasa
458249e703
Consolidate main dictionary files.
...
This change is a preparation for upcoming optimizations on dictionary file loading.
* We can consolidate dictionary files because we are no longer relying on Asset Manager.
* Stopping compressing dictionary files as planning to use mmap() on the region in the apk file.
* Probably we won't rely on Asset Manager. Instead we'll probably use offset and size obtained from AssetFileDescriptor.
Change-Id: Id57dce512fd3d2397a58628f8264bd824194da76
2011-01-05 11:31:58 +09:00
Tadashi G. Takaoka
e89af1fa5f
Remove Row object from MiniKeyboardBuilder
...
Change-Id: I981278f29fdd23d80c3da21ecdbbda6d62a0dfde
2011-01-01 13:52:36 +09:00
Tadashi G. Takaoka
a96574fdd5
Move NOT_A_TOUCH_COORDINATE constant to KeyboardActionListener
...
Change-Id: Iff3fde48682a7c56201fc9eb3640755e0090d0ee
2011-01-01 13:43:28 +09:00
Tadashi G. Takaoka
611044ab30
Merge "Snap back to the previous keyboard when sliding input is canceled"
2010-12-31 03:28:35 -08:00
Tadashi G. Takaoka
5f922caff8
Snap back to the previous keyboard when sliding input is canceled
...
Bug: 3316517
Change-Id: Iffaad1eb93b6a014d8445f3e27b0e24c20967daf
2010-12-31 14:02:04 +09:00
Tadashi G. Takaoka
1a6fba5702
Fix potential keyboard layout change bug
...
Change-Id: I2518dd1d2ef4b77fe32bb1fed4e0c722f3d120c1
2010-12-31 11:46:48 +09:00
Tadashi G. Takaoka
5797cefca6
Longer long-press timeout in sliding input
...
Change-Id: Id74bddef4837ee46569775ce54f54d5535cfa463
2010-12-30 17:27:47 +09:00
Tadashi G. Takaoka
07357f33db
Merge "Add config_default_keyboard_theme_id resource"
2010-12-28 04:33:02 -08:00
Tadashi G. Takaoka
05ddb9a5d2
Add config_default_keyboard_theme_id resource
...
Change-Id: Ie4e9e85694cfd43fcd1fdfeeaa477f13c372a8a6
2010-12-28 21:06:45 +09:00
satok
ceaca96b5c
Merge "Fix miss spelling"
2010-12-28 03:08:13 -08:00
satok
9111d76cee
Fix miss spelling
...
Change-Id: I29d92d316525a897c86eab44f948a6c61ae38c35
2010-12-28 19:49:43 +09:00
satok
43046fef25
Initialize mMode in SubtypeSwitcher and added TODO
...
Change-Id: If3fa38c5ecf12159cee8d237fa3d5260a9ed66cb
2010-12-28 19:16:36 +09:00
Tadashi G. Takaoka
363cd6ef0f
Make dismissing keyboard by swiping down as configurable
...
Bug: 3306370
Change-Id: If4e258ce4db05fb75dcd3b23fefa422c1287955b
2010-12-23 12:44:40 +09:00
Tadashi G. Takaoka
23a3b74722
Merge "Suppress punctuation suggestions if not needed"
2010-12-21 18:57:09 -08:00
Tadashi G. Takaoka
9fb8c6dd48
Suppress punctuation suggestions if not needed
...
Bug: 3294256
Bug: 3284745
Change-Id: I77d54cbfcc2e809315bab59ecb808ae944982501
2010-12-22 01:48:20 +09:00
Ken Wakasa
9aa20e6ad1
Ignore case in editDistance()
...
bug: 3278422
Change-Id: Ibd20488dcec215038970749b181857527311947b
2010-12-22 00:42:41 +09:00
Tadashi G. Takaoka
baf83886be
Filter out too short noisy touch events
...
Bug: 3294017
Change-Id: I1769eab1d096d16bfa9d6f23b973483ee6e7a478
2010-12-21 23:46:15 +09:00
Tadashi G. Takaoka
1d7d9664a9
Refactor PointerTracker class to include queue management
...
Change-Id: I81d025220df6d970d8758157a89168851c8421ae
2010-12-21 18:56:27 +09:00
Tadashi G. Takaoka
6311acb7f4
Merge "Suppress long press timer on hinted key while temporary upper case mode"
2010-12-21 00:47:03 -08:00
Tadashi G. Takaoka
2b13b4f5e5
Suppress long press timer on hinted key while temporary upper case mode
...
Bug: 3301932
Change-Id: I29b5e5a9aa8b44681e763a4d6485109f3f99f6fa
2010-12-21 17:28:19 +09:00
satok
68d483e2a2
Merge "Add a parameter to getEnabledSubtype"
2010-12-20 23:19:40 -08:00
satok
127ae5465e
Add a parameter to getEnabledSubtype
...
Change-Id: Iaa87613086093bc83d155ed2c0113fc513898801
2010-12-21 14:14:00 +09:00
Tadashi G. Takaoka
c4f71668d7
Remove multi-tap feature
...
Change-Id: Ife44b3f9d420d77d2cfb51044a8356f02ed63e8b
2010-12-20 21:58:31 +09:00
Tadashi G. Takaoka
8aa3f5a3ad
Cleanup KeyboardActionListener interface
...
Change-Id: I851eaea479f1590fd404a7a37a9a35d1bdcd378c
2010-12-20 19:52:08 +09:00
Tadashi G. Takaoka
cb2469ae17
Suppress haptic feedback while sliding key input
...
Bug: 3298222
Change-Id: I9507a98cc833fc6403cf9abf23457748a2bf89de
2010-12-20 19:48:27 +09:00
Tadashi G. Takaoka
5ef421b58a
Cancel long press timer when sliding key input is not allowed
...
This change also fixes auto snap back behavior of key which has output
text, such as smiley key.
Bug: 3297825
Change-Id: Ia06e1abc0fbdff2a26504ddcce1dc7f933b45453
2010-12-19 21:57:50 +09:00
Tadashi G. Takaoka
cc0e41222d
Merge "Do not pick up closest key if the point is out of any key"
2010-12-19 04:07:41 -08:00
Tadashi G. Takaoka
6d929d586f
Do not pick up closest key if the point is out of any key
...
Bug: 3286308
Change-Id: I62771fb209027ddec4595d099d5d397ae4e200fd
2010-12-19 20:34:32 +09:00
Tadashi G. Takaoka
ef71c4aa4c
Fix checking of sliding off from key
...
This is follow up change of Id6f69e82.
Change-Id: I15127929b8eeb511a652c7ae6a14ababbb49ee24
2010-12-19 19:52:15 +09:00
Tadashi G. Takaoka
dbc44989a5
Refactor PointerTracker class
...
Change-Id: Id6f69e82119a9a3f618d95443a3ecc766abab08a
2010-12-19 19:15:01 +09:00
Tadashi G. Takaoka
9e91472285
Automaticaly snap back to the previous mode from sliding symbol input
...
Bug: 3280151
Change-Id: I48ea134639465d0cc178e524af8d7885d185957d
2010-12-19 18:48:49 +09:00
Tadashi G. Takaoka
67a4ecacc7
Disallow sliding key input
...
This feature is configurable by R.bool.config_sliding_key_input_enabled.
Bug: 3294076
Change-Id: I0225a6ce19d9b911c9d9543a106ab57ee0b7de75
2010-12-18 20:41:53 +09:00
Tadashi G. Takaoka
9b6d1d52d9
Add popupKeyboardTemplate attribute to Keyboard
...
This change
- introduces the popupKeyboardTemplate attribute of Keyboard to
specify XML Keyboard file for popup mini keyboard.
- introduces the maxPopupKeyboardColumn attribute of Keyboard to
specify the maximum column of popup mini keyboard.
- changes the content format of the popupCharacters attribute of Key.
It now represents keyLabel, codes and keyTextOutput of each key of
popup mini keyboard using CSV format.
Bug: 2214959
Change-Id: I539e310f7e38a049ee193de0b4ad5d7afdce37b1
2010-12-17 17:18:28 +09:00
Ken Wakasa
014f4883c7
Merge "Revise language string size on spacebar"
2010-12-16 00:50:42 -08:00
Tadashi G. Takaoka
a8baf5701f
Merge "Tweak base line of key top letter"
2010-12-16 00:22:23 -08:00
Ken Wakasa
183fbbb0db
Revise language string size on spacebar
...
bug: 3290290
Change-Id: I09694392d7fa447796c56a1f74b5b719ca28e466
2010-12-16 16:53:02 +09:00
Tadashi G. Takaoka
98935836f0
Tweak base line of key top letter
...
Bug: 3285380
Change-Id: Idf6b9b7e000d87df924742634188d193f948130f
2010-12-16 16:07:40 +09:00
Tadashi G. Takaoka
e9311bc893
Update suggestion strip drawables
...
Bug: 3286297
Change-Id: I51d4051ea22c465f81852e4fb98e48bad9cf57f1
2010-12-16 12:38:43 +09:00
Tadashi G. Takaoka
1d11e7903f
Fix adding user dictionary
...
This change is follow up of I9fe45a61
Bug: 3264920
Change-Id: Ic7b95892e36e30fd9fadd7bea011efad7f2f98ca
2010-12-16 12:25:01 +09:00
Tadashi G. Takaoka
a893ac38f5
Merge "Tune padding of candidate word"
2010-12-13 01:01:54 -08:00
Tadashi G. Takaoka
4700a6f2b0
Tune padding of candidate word
...
Change-Id: I980e568f9b4b87b0f414aa7ce0197dba39a7708f
2010-12-13 17:46:11 +09:00
Tadashi G. Takaoka
7bb84eac3b
Merge "Check user dictionary before inserting new word"
2010-12-12 23:57:15 -08:00
Tadashi G. Takaoka
c5f1368090
Check user dictionary before inserting new word
...
Bug: 3264920
Change-Id: I9fe45a61b2ad2b1ed69d3a0cbc6eebecb4038acc
2010-12-13 16:52:25 +09:00
satok
7f1d3fa5d8
Remove language settings from preference activity
...
Bug: 3268561
Change-Id: Ia910f0a090dc66c7dd9176999930d8cb763203b0
2010-12-13 15:27:33 +09:00
Tadashi G. Takaoka
9ecad8c2e8
Fix auto correction threshold values array reference
...
This change also removes unused argument from Suggest.getSuggestions().
Change-Id: I512f8695d22898bb906e136a66e0ee6b521cd1d1
2010-12-13 14:40:49 +09:00
Tadashi G. Takaoka
4ca16dbd65
Highlight auto corrected word
...
Bug: 3230726
Bug: 3215175
Change-Id: I086324cdab610b50a96d8eb08b81aa89c886ba00
2010-12-12 22:23:39 +09:00
Tadashi G. Takaoka
1b1f7f907f
Cleanup unused string resources
...
This change also renames some "completion" to "correction".
Change-Id: I156dd7ccafe99a632721f20769d5f0ea5915a564
2010-12-12 21:55:00 +09:00
Tadashi G. Takaoka
7e181fe101
Introduce SuggestedWords class to represent suggestions list
...
Change-Id: I81677a785640d37296be8b42c7a74bd0c00edf46
2010-12-12 16:44:42 +09:00
Tadashi G. Takaoka
a15e45ef45
Keep previous suggestions when there is only one suggestion found
...
Bug: 1647861
Change-Id: I7aa7ceeb93b5d8db69480d73cc8a7177ab6bbb42
2010-12-10 18:30:50 +09:00
Tadashi G. Takaoka
e26ef1bccd
Remove Tutorial class and unused debug feature
...
This change also cleanups compiler warnings.
Bug: 2897373
Change-Id: If972cf45c1eb40436adbddbf71969e5409f4c9c5
2010-12-10 18:24:00 +09:00
satok
20cdb37bd0
Use setInputMethodAndSubtype and shortcutIME API instead of changing only view to Voice Input
...
Bug: 3201828
Change-Id: If452f0b2d19eeb1f8f6e7e40539ba4bac6759fcd
2010-12-10 18:03:30 +09:00
Tadashi G. Takaoka
9502cc177c
Remove LatinIME prefix from classes
...
This change also cleanups preference key string constants
Change-Id: I58510f220a90d00d71a935731abeab87384675bb
2010-12-09 21:54:51 +09:00
Tadashi G. Takaoka
55b9d333c5
Show auto correction feedback
...
Bug: 3230726
Change-Id: Iecf6fc837952c4721f6b726edcf16179254179ca
2010-12-09 20:37:07 +09:00
Tadashi G. Takaoka
8ec36be4f5
Cleanup calling Spannable.setSpan() to set character style span
...
This change is followup of Iadc11992
Bug: 3230726
Change-Id: I4f6692c3dbfb42986d478f4315105726ff89723a
2010-12-09 14:43:54 +09:00
Tadashi G. Takaoka
522d5c16d2
Show underline for auto-completion candidate instead of bolding
...
Bug: 3230726
Change-Id: Iadc11992d45776f7a4002ee9ebf24828646bcc53
2010-12-09 14:04:50 +09:00
Tadashi G. Takaoka
89c58745d6
Tweak candidate view height and etc.
...
Change-Id: I91963d0be122baf2274ea03b5028a66259a2cdb6
2010-12-08 20:05:34 +09:00
Tadashi G. Takaoka
4a734aa21e
Fix popup mini keyboard for smiley and .com key
...
Change-Id: Idd156b14a4a259bc7dcaf498fbc8a121a069cbe9
2010-12-08 17:48:23 +09:00
Tadashi G. Takaoka
9f01ed51d7
Support keyboardHeight and maxKeyboardHeight to Keyboard XML
...
This change introduces,
- new attribute keyboardHeight to specify default keyboard height.
- new attribute maxKeyboardHeight to specify maximum keyboard height,
usually specified by percentage to the screen height.
- keyHeight attribute is obsoleted
- new attribute rowHeight to specify a row height, can be specifed as
percentage of the keyboard height. And verticalGap is included to
the row height (row height = key height + vertical gap).
Change-Id: I48a2f2661e8a91a998503a847437c1baf1de9b9c
2010-12-08 17:43:29 +09:00
satok
59cd73b916
Merge "Suggest excessive characters"
2010-12-07 23:58:23 -08:00
satok
cdbbea735f
Suggest excessive characters
...
bug: 3193883
Change-Id: Iea7a0fce7ce62d8779a7c7e4613d50db30d82b07
2010-12-08 16:56:06 +09:00
Tadashi G. Takaoka
e49bd1c43a
Implement CandidateView using HorizontalScrollView
...
This change re-implements CandidateView using HorizontalScrollView and
customized Button, so that the candidate strip can be flingable.
This change also introduces the following features.
- Highlighting candidate strip and space bar is configurable by
@bool/config_candidate_highlight_enabled.
- Candidate strip can be centered with left/right padding if
@dimen/candidate_strip_padding size is greater than 0.
- Candidate text size is configurable by @dimen/candidate_text_size.
Bug: 1575885
Bug: 3230726
Change-Id: Iedf78ff31bc9f2f6291a8e8fb7faa0e6b961dd6d
2010-12-08 16:55:36 +09:00
satok
e00b7c5f7b
Merge "Fix a crash when MAX_WORD_LENGTH is too short."
2010-12-06 20:06:03 -08:00
Tadashi G. Takaoka
292faee8ba
Fix ghost popup mini keyboard
...
Bug: 3257700
Change-Id: I522ceb426b825575c90e8445336191bcf889f05d
2010-12-07 11:24:18 +09:00
Ken Wakasa
d024ea605c
Fix an issue with lingering composing span underline after orientation changes
...
bug: 3246868
Change-Id: Id3887953e195281d677f31fba5feca1e60016bfa
2010-12-06 23:35:32 +09:00
satok
f5cded1c6c
Fix a crash when MAX_WORD_LENGTH is too short.
...
Change-Id: Idcb5aa2685321b8d0ac7d846caecbd1c79e4dd77
2010-12-06 22:58:56 +09:00
Tadashi G. Takaoka
e18bd3e323
Fix voice key on phone device
...
This change,
- changes voice key code back to -102
- renames some key code names and method names
- adds mic_slash_holo to drawable-hdpi
Change-Id: I8be3a20921f472ece4298edad2d275f29a7e4955
2010-12-06 12:29:59 +09:00
Tadashi G. Takaoka
a275e9eb48
Make Key, Row and Keyboard attributes final
...
Change-Id: Ie87e9e8936646334646cc93b228e0f6a93a79e5b
2010-12-03 14:11:38 +09:00
Tadashi G. Takaoka
7545ec8df0
Fix no smiley popup mini keyboard
...
Change-Id: I0e010c6f0c06fd59b7aef75fc142a4ce0089e740
2010-12-03 13:36:17 +09:00
Tadashi G. Takaoka
391a7ce6d8
Remove LatinKey class
...
Change-Id: I56b15980d994eed698566a1d0451e3ec7ab490a0
2010-12-03 12:55:51 +09:00
Tadashi G. Takaoka
566870c0f1
Fix NPE at Keyboard
...
Bug: 3250672
Change-Id: Ieef7ff5e8ba77a2d43f561c2bd2a1921230bd49d
2010-12-03 12:36:31 +09:00
Tadashi G. Takaoka
418d80d7de
Double tap on shift key turns on caps lock
...
Bug: 3238128
Change-Id: Ib641d33da148b72c7c775caa11e0b2ab58a8c081
2010-12-03 09:31:35 +09:00
Tadashi G. Takaoka
571bdb401f
Refactor LatinKeyboard and LatinKey
...
This change also moves KeyboardSwitcher and related classes to
com.android.inputmethod.keyboard package.
Multi project change with Ib23017b2
Change-Id: Id7d54b24615fe22ebb540ca847549909e346ee24
2010-12-02 23:03:59 +09:00
Tadashi G. Takaoka
5a309f5715
Move some inner static class to top class in new package
...
This change introduces new package com.android.inputmethod.keyboard
which hosts keyboard related classes.
Also adds missing @Override and @SuppressWarning("unused") annotation
Change-Id: I0317f5cfa317e13f3c77815f48ffc69b5d1ade05
2010-12-02 20:06:01 +09:00
satok
711abe6756
Merge "Fix parameters of native functions and refactor Dictionary"
2010-12-01 18:30:33 -08:00
satok
3008825948
Fix parameters of native functions and refactor Dictionary
...
- created bigram/unigram dictionary classes
Change-Id: I233a28ed8d611870db3f4cf8f25fc45b5d41529b
2010-12-02 01:16:44 +09:00
Tadashi G. Takaoka
8d7ecc70a6
Load keyboard only when subtype is keyboard mode
...
Bug: 3224990
Change-Id: I1ae1d86dce923464d4474fc7ce02f2ff22067603
2010-12-01 22:53:06 +09:00
Ken Wakasa
383d6d8c81
Disable "touch to correct words" when suggestion strip is off
...
bug: 3232408
Change-Id: Ic0d5f86288befcd5cf93cd86aaf8936929dbcdcc
2010-12-01 20:24:05 +09:00
Tadashi G. Takaoka
c0007568d9
Merge "Key release event should be sent when finger sliding"
2010-12-01 02:35:17 -08:00
satok
d4952c8fe9
Move a logic for finding words with a missing character to the native code.
...
Change-Id: I58338643830ff4f9708f78a9c26f75c8bf2ebf45
2010-12-01 19:26:36 +09:00
Tadashi G. Takaoka
bd20db25be
Merge "Tweak tablet keyboard design"
2010-12-01 02:07:26 -08:00
Tadashi G. Takaoka
5d04042663
Tweak tablet keyboard design
...
This change introduces,
- center align "More" key label
- remove drop shadow from key label
- darker key label color when manual temporary upper case
- narrower pop up mini keyboard
- remove unnecessary key background from pop up mini keyboard
- smaller key label in portrait
Bug: 3216592
Change-Id: I77e0733f467a88aa32e09fcbace56fe08f755229
2010-12-01 18:51:38 +09:00
Tadashi G. Takaoka
c0b5c9c43e
Key release event should be sent when finger sliding
...
This change is cherry-pick I1a020e3d from Gingerbread-MR
Bug: 3132881
Change-Id: I885eab7744369dfb841f9b34d210b6c2aef8f19a
2010-12-01 15:12:08 +09:00
Ken Wakasa
80e459f8c9
Update the voice input warning dialog message string.
...
Updated the relevant settings menu as well.
bug: 3194809
Change-Id: Ibcd00fcf32f82b7733da155ef6e15e389d53c645
2010-12-01 14:14:47 +09:00
satok
965004fbe9
Remove excessive call of onKeyboardLanguageChanged in SubtypeSwitcher
...
Change-Id: I8f85f9b053a70b8ad1755e4f343ac06ecd9e103b
2010-11-30 11:10:50 +09:00
Tadashi G. Takaoka
fa086c9076
Cleanup unused Java import
...
This change also fixes wrong file mode.
Change-Id: Ifcf4c9444ddcdc62d2e4b394891d6eee135c1e8f
2010-11-29 17:57:48 +09:00
Ken Wakasa
27d13713bb
Preload SharedPreferences at start.
...
bug: 3207554
Change-Id: I84072461aee9675cc67897de03f89e9c0036bc1f
2010-11-26 18:48:04 +09:00
Tadashi G. Takaoka
7f0befe1f0
Update tablet keyboard layout to the latest design
...
This change introduces shiftedIcon attribute for Key which specifies
icon to draw the shift key while the key is in shifted state.
This change also intriduces new configurable dimension value
key_label_horizontal_alignment_padding which represents horizontal
padding for left or right alignment of key label.
Bug: 3216592
Bug: 3201839
Change-Id: I3aa7392227ce573c404517678e6340a8d1fcb328
2010-11-25 00:11:21 -08:00
satok
79efbed76f
Call showInputMethodPicker instead of showInputMethodSubtypePicker
...
- because showInputMethodSubtypePicker will be removed.
Change-Id: I255f9bbff77de24ce067f35ee101d368e36edd45
2010-11-25 14:09:50 +09:00
satok
1fb28137f4
Fix a bug at showing warning dialog at the first time when IME is trigerred in voice mode
...
bug: 3226268
Change-Id: Ife7c752ad309ef796d9b7cc32517f00c2bb2af34
2010-11-24 20:53:57 +09:00
Tadashi G. Takaoka
2c60d6e28e
Support dedicated number/date keyboard layout
...
Bug: 3009716
Change-Id: Idc12cc9d8ee4f5febfae4e11712e2aaca327a6ea
2010-11-24 00:16:00 -08:00
Tadashi G. Takaoka
6624fd8736
Support imeOptions condition in <case>
...
Change-Id: Ie5494601efb29cf65363c4aa3bf5a9ab04a0109a
2010-11-23 23:13:39 -08:00
Tadashi G. Takaoka
59c9930ca9
Support colorScheme <case/> condition in Keyboard XML
...
Change-Id: Ibbfb99e0e2b15df301f83af6739b7bca01ebf490
2010-11-23 18:07:27 -08:00
Tadashi G. Takaoka
a963d0b2e4
Merge "Fix odd "more" key behavior on tablet phone number keyboard"
2010-11-23 15:59:10 -08:00
satok
da64719c6d
Merge "Enabled to change the current subtype to voice input subtypes"
2010-11-23 13:35:20 -08:00
Tadashi G. Takaoka
4b8bbbadac
Fix odd "more" key behavior on tablet phone number keyboard
...
Bug: 3176540
Change-Id: Iaa1f3776d5ac236b2655910ede7522ceac36a9a1
2010-11-23 09:52:59 -08:00
satok
8e09172df1
Enabled to change the current subtype to voice input subtypes
...
bug: 3201828
Change-Id: I4450cbc8ba8829060d702564889c735f1326cf23
2010-11-23 20:20:50 +09:00
Tadashi G. Takaoka
a444889403
Merge "Use normal font for functional key label instead of italic font"
2010-11-23 01:01:43 -08:00
Tadashi G. Takaoka
fab243a183
Use normal font for functional key label instead of italic font
...
This change also uses slightly larger font size for functional key
label according to the v4 keyboard design.
Bug: 3216592
Change-Id: I027f109b7748ade8564dc808487d9a6ce1da9761
2010-11-23 00:38:09 -08:00
Tadashi G. Takaoka
cc359dddb3
Merge "Fix caps lock release in non-distinct multi touch device"
2010-11-22 22:54:34 -08:00
Tadashi G. Takaoka
0d0a46da03
Fix caps lock release in non-distinct multi touch device
...
Bug: 3221869
Change-Id: I7c5d407c465f22945cba37e42683345913b43acc
2010-11-22 22:41:17 -08:00
Tadashi G. Takaoka
0b60f83192
Support <key-style/> and keyStyle attribute for Keyboard XML
...
Change-Id: Ie052e989d0180eecfc8c244ba6c60594a46103d1
2010-11-22 18:33:47 -08:00
satok
4092205833
Refactor to move voice functionarities in LatinIME to VoiceIMEConnector
...
Change-Id: I593a8187d48338c9c0e7d75c73c2dbfc32400335
2010-11-23 10:32:12 +09:00
Tadashi G. Takaoka
04448c2978
Make F1 and Symbol keys static in XML file
...
Change-Id: If869f5ad4fe8f192f89a8679a4abde99a25e02e6
2010-11-21 03:00:53 -08:00
Tadashi G. Takaoka
cd39f2adee
Add keyLabelAlign attribute to Keyboard XML
...
Bug: 3216592
Change-Id: I88f8055199f2cd0525faf9374114fbebba53b951
2010-11-20 18:48:55 -08:00
Tadashi G. Takaoka
45911256fd
Perform editor action IME_ACTION_NEXT/PREVIOUS by tab key
...
Bug: 3122995
Change-Id: I44280fe1c6cc27f429b311edec71e1027178222d
2010-11-19 21:36:37 -08:00
Tadashi G. Takaoka
07f903afba
Merge "Fix automatic temporary upper case mode behaviour"
2010-11-19 17:21:55 -08:00
Tadashi G. Takaoka
6769c67987
Fix automatic temporary upper case mode behaviour
...
This change is a followup of I948ef26f
Automatic Temporary Upper Case mode acts like Normal mode until shift
key is pressed. However, after shift key is pressed, it acts like
Manual Temporary Upper Case mode.
Bug: 3193390
Change-Id: Id3d7a38a1f5905322cd46ded36b1db26576d49af
2010-11-19 16:51:50 -08:00
Tadashi G. Takaoka
1d8196cd41
Use "flag" feature of attr.xml to represent keyboard mode
...
Change-Id: Ibc317ada5167a119477fe8ea2994df6c6462afd0
2010-11-19 14:57:24 -08:00
Tadashi G. Takaoka
75fde64890
Cleanup drawable-xlarge resources into drawable-mdpi
...
Change-Id: I2db335a601ddb0062a637a71289e14cf1d375a1e
2010-11-19 01:37:38 -08:00
Tadashi G. Takaoka
f27364600c
Implement both automatic and manual temporary upper cases
...
With this change,
- Shift and Shift lock state of keyboard is maintained by
LatinKeyboard.ShiftState.
- Shift key state is maintained by ShiftKeyState object in
KeyboardSwitcher.
- LatinIME informs KeyboardSwitcher that shift key press, release and
long press and KeyboardSwitcher determines which state LatinKeyboard
and ShiftLeyState should be.
Bug: 3193390
Change-Id: I948ef26fda512eb1cb0ebddc89d322c4f4f4d670
2010-11-18 19:32:59 -08:00
satok
1d2d3228a3
Merge "Add a functionarity to handle Subtype"
2010-11-18 18:10:25 -08:00
satok
4ab730dbd3
Add a functionarity to handle Subtype
...
Change-Id: Ic6055ba218b64f4276e3db99a435f546c3990ee5
2010-11-19 08:30:02 +09:00
Ken Wakasa
95a5daa3e3
Merge "Avoid disk writes on UI thread."
2010-11-18 12:46:58 -08:00
Ken Wakasa
11eb13e04f
Avoid disk writes on UI thread.
...
bug: 3207554
Change-Id: I285691f9e94d989823fcb5c21615ca50cecddff6
2010-11-19 05:38:18 +09:00
satok
279da1da91
Hide space bar preview when space bar switcher is disabled.
...
Change-Id: I469197a4b3f55335eaee104177f0970cc904bb34
2010-11-18 20:50:37 +09:00
satok
3b776b7892
Move functions in LatinKeyboard related to LanguageSwitcher to SubtypeSwitcher
...
Change-Id: I777db896bd0287931ce7c810b080ccee1121d34e
2010-11-18 08:35:26 +09:00
satok
0ed7191b4d
Move functions related to LanguageSwitcher to LatinIMESubtypeSwitcher
...
Change-Id: I5fa306cf311063ff96b6d45faaca2ffe84cddbf9
2010-11-18 06:58:49 +09:00
Ken Wakasa
378a1b516d
Stop highlighting in suggestion strip after auto-completion cancellation
...
Follow up change to I2185fcf6
bug: 2847211
Change-Id: I7874bc8400e5a7613bfbae83b790ea6192d287b3
2010-11-17 16:40:48 +09:00
Tadashi G. Takaoka
b643dab73a
Refactor KeyboardSwitcher and LatinIME
...
Bug: 3193390
Change-Id: Id894c9bc574a53966d9efc419ab398bae89c34c1
2010-11-16 23:06:37 -08:00
Tadashi G. Takaoka
10227a71a0
Implement temporary upper case hint icon
...
This change partially implements the requested feature. The following
are not supported yet.
- Non-letter key handling on automatic temporary upper case layout.
- Non-letter key handling on shift chording in caps lock layout.
- Hint icons for manual temporary upper case layout are not final ones.
Bug: 3193390
Change-Id: I636da99d1be05b1337935d87c6f4d140661e1cc8
2010-11-16 13:45:49 -08:00
Ken Wakasa
c1e2e827b5
Canceled auto-completion shouldn't be re-auto-completed
...
bug: 2847211
Change-Id: I2185fcf6b798a41135c329485914bc035fad5119
2010-11-16 19:18:05 +09:00
Tadashi G. Takaoka
889691eca1
Refactor shift key state into KeyboardSwitcher
...
Change-Id: If484d3d7e7a0794ee7fc88f0771229d6f90db466
2010-11-16 01:47:39 -08:00
Tadashi G. Takaoka
d7641636db
Refactor UI Handler of LatinIME
...
Change-Id: Iabae338c32969997cb3c7f612c2e5a6999420e28
2010-11-16 01:37:19 -08:00
Tadashi G. Takaoka
89cfd23f34
Merge "Refactor symbol key state into KeyboardSwitcher"
2010-11-16 01:17:26 -08:00
Tadashi G. Takaoka
6c92ee127d
Refactor symbol key state into KeyboardSwitcher
...
Change-Id: Idce4e9bf070b08b8a930fd8e800df9c4d8829f8f
2010-11-16 01:15:16 -08:00
satok
af41759729
Add functions for usability logging
...
Change-Id: I9b66bde1b5ae76742cb685bbc558ce9570dca50a
2010-11-16 18:03:28 +09:00
satok
18e9a7c6fb
Add a logging functionarity for usability study.
...
Bug: 3193879
- Log char input
Change-Id: I5c1568f81012743b7068d423baa99b0f9d1653f8
2010-11-16 17:15:37 +09:00
satok
7599cfea4a
Add showing suggestion only on portrait mode and fixing the state of suggestion strip
...
Change-Id: I7babd1400a3516c87506a3ea4bd46ddaf89e19b4
2010-11-16 07:30:08 +09:00
Tadashi G. Takaoka
71c353aa87
Refactor Tutorial class
...
Change-Id: Ib8dbcf8f36966988fb0d4efdc6bdb7e30b776a68
2010-11-13 01:49:29 -08:00
Tadashi G. Takaoka
1679432d1c
Get rid of the reference to LatinKeyboard from LatinIME
...
Change-Id: I94286ecec0aa8dbfdfaa74d3a76b744c4a250370
2010-11-13 01:45:12 -08:00
Ken Wakasa
3009310283
Partially revert I63ad561c
...
This is required to make cancellations of auto-corrections/completions work.
Change-Id: I091fb9946d4642847fde39d86a6b3b09735e93a8
2010-11-13 15:16:43 +09:00
Tadashi G. Takaoka
d98c20b036
Fix NPE that is caused by null EditorInfo
...
Bug: 3192772
Change-Id: Ia057d29e070ccbb90ee60df1e141de14de95f820
2010-11-12 15:26:54 -08:00
Tadashi G. Takaoka
b0465116bd
Keyboard XML supports switch-case-default tags to select rows and keys
...
Change-Id: I0d92e513757e765d9de98561205754af5a143650
2010-11-12 14:30:25 -08:00
Tadashi G. Takaoka
8b00bc4f32
Rename KeyboardSwitcher.setKeyboardMode to loadKeyboard
...
This change also eliminates KeyboardSwitcher.refreshKeyboardCache,
LatinIME.reloadKeyboards() and LanguageSwicther.getLocales().
Change-Id: I5fd4914660ea1c955ddfa0ca62b920f9bcd53e1b
2010-11-11 15:44:50 -08:00
Ken Wakasa
4174655e23
Check the system vibrator availability for the "Vibrate on keypress" preference.
...
bug: 3021001
Change-Id: I7843a3e4765333c720fd8f258c1fffdf6f090d3a
2010-11-11 19:15:34 +09:00
satok
ca26f20fa4
Fix states for showing PunctuationList and correction
...
- Fixed the visibility of the suggestion strip
Change-Id: I63ad561c71464657521661dbd25c72dd34841834
2010-11-11 17:37:11 +09:00
Tadashi G. Takaoka
48bc6b158b
Refactor KeyboardSwitch.KeyboardId class
...
This change defers determining which keyboard should be loaded and
holds the information in KeyboardId object as much as possible. At
keyboard loading time, the determination deferred will be made
depending on the information of KeyboardId.
Change-Id: Ice2455d9e5b21671a250c342c06c043e4baa5355
2010-11-10 21:26:53 -08:00
Tadashi G. Takaoka
507495efd5
Refactor to remove KeyboardSwitcher.setVoiceMode
...
This change also renames KeyboardSwitcher.makeKeyboards to
refreshKeyboardCache.
Change-Id: I76897562d5876a53364dc378e7800ab92fb2a37b
2010-11-10 21:16:47 -08:00
Tadashi G. Takaoka
8aaab7c286
Should cancel both normal and shift long press timers
...
Bug: 3132881
Change-Id: Ib89e2efa4e68e7d57ac1123df2ec6241f1b902d1
2010-11-10 15:27:24 -08:00
Tadashi G. Takaoka
f8e30a9153
Refactor calling KeyboardSwitcher.setKeyboardMode
...
This change also eliminates unnecessary recursive call in
KeyboardSwitcher.setKeyboardMode.
Change-Id: Iff25fe23b34227d526dee0bbe8710842545c2afa
2010-11-08 23:50:27 -08:00
Tadashi G. Takaoka
59b7bd0730
Using distance to the edge of key as proximity detection
...
Because there may be very long key, such as space bar on tablet, we
should not use the distance between the touch point and the center of
key as proximity detection. Instead of that, this change uses the
distance between the point and the nearest edge of key as proximity
detection.
Also this change fixes the bug that space key (code 32) was not
counted in proximity detection.
Bug: 3164020
Bug: 3168138
Change-Id: I687f1ce94a8e944c3f6eea0fe00e18ed6e68e278
2010-11-06 01:10:55 +09:00
Tadashi Takaoka
68864723cf
Rename LatinKeyboardBaseView class to KeyboardBaseView
...
Change-Id: I496ecbfa7d398583d01f821398f49f75d17311d8
2010-11-05 18:36:19 +09:00
Leon Scroggins
47f795dc87
Treat the new web fields like their corresponding variations.
...
Bug:2692655
Bug:2460543
Change-Id: I86e814902447ecd5c8b00e399a0143d3dc2ad2cf
2010-11-04 11:27:55 -04:00
Ken Wakasa
17fcd719de
Make sure there are no modes with settings key on tablet.
...
Follow-up change to I73b8a502
bug: 3095814
Change-Id: I79bb05c61dc73b036331e17d02c791f08a0168fc
2010-11-02 19:33:27 +09:00
Ken Wakasa
200ece7907
Capitalization for "Quick Fixes" words doesn't work
...
bug: 3151706
Change-Id: I7770a1d26edb1ea72ee93396181953a724dcc4bf
2010-11-01 20:25:07 +09:00
Ken Wakasa
2a952e9b7e
am b5e8c779: am 69db35c4: Make the buttons work for edge pixels of the keyboard
...
* commit 'b5e8c7799726a5975283fa138ad2870ab02d01a4':
Make the buttons work for edge pixels of the keyboard
2010-10-29 08:28:28 -07:00
Ken Wakasa
69db35c493
Make the buttons work for edge pixels of the keyboard
...
Follow-up change to If7630b89
bug: 3142416
Change-Id: I2660e3d688eb0490363e460d5b4944c89b8ca35c
2010-10-29 19:24:08 +09:00
satok
dd8c4c0068
Merge "Increased the size of GRID in Keyboard"
2010-10-29 03:01:32 -07:00
satok
74103ee1b9
Increased the size of GRID in Keyboard
...
Bug: 3122894
- Changed width 10 -> 32
- Changed height 5 -> 16
Change-Id: I07354cf5c942974cc25a5e043f41e0f13a09351b
2010-10-29 18:50:18 +09:00
Ken Wakasa
37a0f2d5de
am e32a77c6: am 9dce586e: Bugfix: IME gives haptic feedback when button wasn\'t pressed
...
* commit 'e32a77c691567bdb3031d877e80786508bd47e4a':
Bugfix: IME gives haptic feedback when button wasn't pressed
2010-10-28 11:38:38 -07:00
Ken Wakasa
9dce586eaa
Bugfix: IME gives haptic feedback when button wasn't pressed
...
bug: 3142416
Change-Id: If7630b89d6c2a8ec38e191c263c03f8f11d3c498
2010-10-29 03:15:02 +09:00
Ken Wakasa
fd0bd57deb
Change suggestion update delay from 100ms to 180ms to avoid flashy suggestion strip with quick multi-finger typing.
...
bug: 3122641
Change-Id: I385f9eb2e392487d7b4c252553d1f8d7c21da2e4
2010-10-27 18:05:27 +09:00
Ken Wakasa
8252de1a60
Remove auto capitalization by Shift+puncs
...
bug: 3133312
Change-Id: I12a05d9028ab2fad07e1819407d63cf8ffd4d30c
2010-10-27 14:10:36 +09:00
Ken Wakasa
276845c7a9
Follow-up change to revise Caps Lock sequence.
...
bug: 3122877
Change-Id: I44c539d7c041443f3ad027de4b75a67adf6b2c87
2010-10-26 20:00:21 +09:00
Ken Wakasa
eec7bb9386
Get rid of mCapsLock in LatinIME.java
...
Change-Id: I9c6387ee387d53460d23a12225829da344674579
2010-10-25 23:34:47 +09:00
Ken Wakasa
29ff343f77
Remove LatinKeyboardBaseView.isShifted() and setShifted() for refactoring
...
Change-Id: I9a1106b679a9ffb3ae959d90377eef096e5af842
2010-10-25 19:55:06 +09:00
Ken Wakasa
0ce98cbf98
Get rid of references to BaseKeyboard in Latin-specific classes
...
Change-Id: I6871a24967b1410bdb14e902bdd311ef82fd4f0b
2010-10-25 18:04:01 +09:00
Tadashi G. Takaoka
4189eb2308
Revise caps lock sequences
...
This change also fixes that the popup preview of ALT on symbol
keyboard is not showing.
Bug: 3122877
Bug: 3127255
Change-Id: I978cb30a0d05298274d8ab6541b91323a0fef211
2010-10-25 00:03:46 +09:00
Tadashi G. Takaoka
71cc4ef673
Merge "Tablet keyboard should always show "?123" as symbol key"
2010-10-22 10:53:44 -07:00
Tadashi G. Takaoka
36af0880c3
Tablet keyboard should always show "?123" as symbol key
...
Bug: 3118554
Change-Id: Ib609799f28dee56a4ded2e8144ac4a0c0d113ad6
2010-10-22 23:59:21 +09:00
Tadashi G. Takaoka
0b1cb2d039
Refactor BaseKeyboardParser as Recursive Descendent Parser
...
Bug: 3082538
Change-Id: Ic0d72c6fe08cfc20db86aeffb10a27efe678095e
2010-10-22 21:58:45 +09:00
Tadashi G. Takaoka
4f6060b8b7
Table keyboard should always show return icon on enter key
...
Bug: 3122750
Change-Id: I75d2b5adff3a349d29d8a56e7b761c26b04683c0
2010-10-22 18:27:59 +09:00
Tadashi G. Takaoka
503797ae0e
Make "show settings key option" dependent to device configuration
...
Bug: 3095814
Change-Id: I73b8a5023b398621a910c953eade252dc6412923
2010-10-22 17:04:14 +09:00
Tadashi G. Takaoka
41338e6c32
Move BaseKeyboardParser to top-level class
...
Bug: 3082538
Change-Id: If0ddf32bc3811e3c65a7a96503c61ed3351eeb66
2010-10-21 19:38:31 +09:00
Tadashi G. Takaoka
bf77bb7678
Refactor BaseKeyboard parsing code
...
Change-Id: I241125b5b15c9d6bbba456476f1f4fd3ef9db3f2
2010-10-21 17:58:34 +09:00
Ken Wakasa
e354a85ef4
Manual merge of the following Gingerbread changes logically
...
I8b38e280
Ia3929bb0
If925b546
I1062763d
I901e36aa
bug: 3100311
Change-Id: Ic7e01277ec816e77d34732599b2b9552668b81c2
2010-10-20 22:51:33 +09:00
Tadashi G. Takaoka
58bfa35072
Update xlarge drawable of Keyboard
...
Bug: 3109804
Change-Id: I316f9cfcec377a7d0ea1417e1e3cea55cbdb9e2b
2010-10-19 21:59:17 +09:00
Tadashi G. Takaoka
28d8a488c0
Disable gesture detector on mini-keyboard
...
Gesture detector, for closing keyboard by swiping down, must be
disabled not only when mini-keyboard is on the screen, but also in the
mini-keyboard itself.
Bug: 3105595
Change-Id: I548501f7117ca2310943cabb678c1e250e5012ce
2010-10-19 02:20:03 +09:00
Ken Wakasa
b0a6f354ac
DO NOT MERGE. Add '...' (hint) to period/smiley keys which triggers mini popup by long-press.
...
bug: 3105185
Change-Id: I901e36aa12dad5968ba1a420fff6a2f2efb16da5
2010-10-19 01:16:07 +09:00
Tadashi G. Takaoka
2348ca0e76
Cleanup LatinKeyboard and LatinKeyboard.LatinKey classes
...
Change-Id: I4c5a37315dea1c7545b77a8a6c93b930927a5a82
2010-10-18 16:06:05 +09:00
Tadashi G. Takaoka
4571fff019
Merge "Showing popup preview only when IME is in foreground"
2010-10-17 19:55:15 -07:00
Tadashi G. Takaoka
3740a26c21
Showing popup preview only when IME is in foreground
...
Bug: 3100922
Change-Id: Icd59fc3978dc1fccb523a368b0a7d4549fc2db78
2010-10-17 23:50:24 +09:00
Tadashi G. Takaoka
a2de8f0f83
Save default enter key attributes and restore these if needed
...
Bug: 3103016
Change-Id: Id8128d5b685ac040afd2c248e1ad17e9aaf1fdf0
2010-10-17 18:27:48 +09:00
Tadashi G. Takaoka
cd7b7d3e8f
Specify keyboard metrics with physical unit "inch"
...
Cherrypick I44f3b2eef8086d6e0b0db53d38f08487549060c6 from Gingerbread
This change also introduces the key background drawables which has no
fixed bottom padding. Instead of relying on bottom padding in
drawable, this change also specifies Keyboard.verticalGap with
physical unit. Other keyboard related length, distance and size are
also specified by physical unit.
Bug: 3066107
Change-Id: Ib38355ebfc2f8d5b1d26c4e90eba87196fbeddfa
2010-10-17 18:19:42 +09:00
Ken Wakasa
86953d170d
DO NOT MERGE. Revise the setting hint visual and its handling code.
...
This is a follow up change to I8b38e280.
bug: 3084022
Change-Id: I1062763d87b4498e19598b4e7d99bb91c510c6d2
2010-10-17 12:42:40 +09:00
Ken Wakasa
4e2feed325
am 4b6b11b5: am 8a26e853: Fix an issue of adding extra character.
...
Merge commit '4b6b11b5064a3b8b604a6441e7a037b0443ec6ed'
* commit '4b6b11b5064a3b8b604a6441e7a037b0443ec6ed':
Fix an issue of adding extra character.
2010-10-16 09:13:17 -07:00
Ken Wakasa
1cbfc6c968
DO NOT MERGE. Follow up change to I8b38e280
...
Add visual indicator that long press / or @ on F1 key will bring up Settings
bug: 3084022
Change-Id: If925b546829ca8e8806e1f8f89eaf72fc8c220da
2010-10-16 02:54:54 +09:00
Ken Wakasa
8a26e85387
Fix an issue of adding extra character.
...
LatinKeyboardBaseView should have removed "long pressed" pointer tracker from the multi-touch pointer queue.
bug: 3099130
Change-Id: I3d358a373b0de07558a204e9ff5a95e9ece38bcc
2010-10-15 17:56:05 +09:00
Tadashi G. Takaoka
0661496ee0
Follow up change of I8b38e280 (DO NOT MERGE)
...
This is follow up change of I8b38e2803eb32469653484701882af35108eb69a
This change fixes the following when "Voice input on symbols keyboard"
option is selected.
- LatinIME.onCreateInputView fails to show "123mic" icon.
- Email and URL variation keyboard fails to show "123mic" icon.
Bug: 3084022
Change-Id: Ia3929bb0cc5c5c8651af816718c21d1f20e8f016
2010-10-15 10:00:06 +09:00
Maryam Garrett
93b3d50041
resolved conflicts for merge of 21c3e696
to master
...
Change-Id: I35b6abc1569f3e16ddf2db523dc1326ff294962a
2010-10-14 15:36:50 -04:00
Ken Wakasa
179fa2c03e
DO NOT MERGE. Add visual indicator that long press , or mic key will bring up Settings
...
bug:3084022
Change-Id: I8b38e2803eb32469653484701882af35108eb69a
2010-10-14 19:52:46 +09:00
Tadashi G. Takaoka
3d20d99902
Specify keyboard metrics with physical unit "inch" (DO NOT MERGE)
...
This change also introduces the key background drawables which has no
fixed bottom padding. Instead of relying on bottom padding in
drawable, this change also specifies Keyboard.verticalGap with
physical unit. Other keyboard related length, distance and size are
also specified by physical unit.
Bug: 3066107
Change-Id: I44f3b2eef8086d6e0b0db53d38f08487549060c6
2010-10-14 13:40:31 +09:00
Tadashi G. Takaoka
323971b51e
Merge "Follow up change of I4c6df819"
2010-10-12 08:03:11 -07:00
Tadashi G. Takaoka
ed3443ebd7
Follow up change of I4c6df819
...
This change is follow up of I4c6df8197b734feb998da78478a4d9a41f6d92b2
Change-Id: I3b8a82dd71305f34afb2e8b6a705efabdc2bc0cf
2010-10-13 00:02:28 +09:00
Tadashi G. Takaoka
adf24e2eb4
Follow up change of If9472a2a
...
This change is follow up of If9472a2acb029e56790dc4d19ab62e608c970175
Change-Id: I0a474a130f49e2acccbb5a164bdf2984a5bd9042
2010-10-13 00:00:59 +09:00
Tadashi G. Takaoka
50a61083d3
Add text variation keyboard layout
...
Change-Id: I4c6df8197b734feb998da78478a4d9a41f6d92b2
2010-10-12 14:01:28 +09:00
Maryam Garrett
a5a5ffc0dc
Fix the over-calling of VoiceSearch Logging
...
bug: 3035228 This change will reduce the number of times VoiceSearch app
is called to log IME events. This is because it 1) only
flushes the logs when there is relevant logging information
available and 2) sets a flag in UserHappinessSignals so
that other apps (eg: gmail/sms) can know if there is
relevant logging information before sending the logging
intent to voice search.
Change-Id: I708fea5a38f854091f1101e4f6a3db46296f3e92
2010-10-11 15:37:32 -04:00
Ken Wakasa
39004972b1
resolved conflicts for merge of fd64e47c
to master
...
Change-Id: I07434c251fafa5eee548a54dae30d91df3a24085
2010-10-12 03:15:36 +09:00
Ken Wakasa
3de6ba6ab9
am 938c0a37: am 364da8c6: Fix - "Touch again to save" not working for manually picked suggestion when re-correction is enabled.
...
Merge commit '938c0a3722a9c597931e6f75408dc7ab636d7052'
* commit '938c0a3722a9c597931e6f75408dc7ab636d7052':
Fix - "Touch again to save" not working for manually picked suggestion when re-correction is enabled.
2010-10-11 10:42:25 -07:00
Kenny Root
ef38215fa4
Merge "Fix merge that should have been manually merged"
2010-10-10 17:16:51 -07:00
Kenny Root
c4b93e8d90
Fix merge that should have been manually merged
...
master was still using the deleted constants in different places and
Java 6 didn't like the imports.
Change-Id: If9472a2acb029e56790dc4d19ab62e608c970175
2010-10-10 17:15:21 -07:00
Tadashi G. Takaoka
e56e2d85df
am 02b8d91b: am 7e1f5a2d: Make sure to set symbol keyboard shifted
...
Merge commit '02b8d91b2dbe4290d4b09d93a22efbc5552326db'
* commit '02b8d91b2dbe4290d4b09d93a22efbc5552326db':
Make sure to set symbol keyboard shifted
2010-10-10 17:14:19 -07:00
Kenny Root
6f6dd71862
resolved conflicts for merge of 23d50bfb
to master
...
Change-Id: Ia3fd85bd0c231f7b910b14caad38fa453a2336f6
2010-10-10 15:19:53 -07:00
Ken Wakasa
c2d7ac79bd
Tweak key width for 'o'-popup chars.
...
We'll merge this to master for now, but we should have new attr (such as popupCharWidth) to handle this reasonably in the newly created BaseKeyboard class.
bug: 3082178
Change-Id: I024b946aafbbeb07b865a09f489dacb56f0478d0
2010-10-11 04:32:54 +09:00
Ken Wakasa
364da8c618
Fix - "Touch again to save" not working for manually picked suggestion when re-correction is enabled.
...
bug: 3082806
Change-Id: I64e652b0ad1d496e102a7cc2cf9a5615df423192
2010-10-11 02:55:05 +09:00
Ken Wakasa
9c50d2ea36
am 018afe8c: am 6495bfc7: Follow-up to I36faf679 Cancel pending messages related to suggestion updates.
...
Merge commit '018afe8c7e90b8dd0fde4f22873ecdf38086358e'
* commit '018afe8c7e90b8dd0fde4f22873ecdf38086358e':
Follow-up to I36faf679 Cancel pending messages related to suggestion updates.
2010-10-08 14:36:31 -07:00
Ken Wakasa
9870638da7
am 64444586: am 55b10796: Addressed bug: 3058217 "-" key not working at beginning of line
...
Merge commit '644445868f1023b3263a149f2faf617b88341d20'
* commit '644445868f1023b3263a149f2faf617b88341d20':
Addressed bug: 3058217 "-" key not working at beginning of line
2010-10-08 13:17:45 -07:00
Tadashi G. Takaoka
7e1f5a2d5a
Make sure to set symbol keyboard shifted
...
To avoid a corner case of bug#3070963, in toggleShift() method of
KeyboardSwitcher, the shifted symbol keyboard will be set if current
keyboard is symbol keyboard or is not shifted symbol keyboard.
This change also implements mini keyboard cache with WeakHashMap.
Bug: 3070963
Change-Id: I868fc072e2f21bddded1622b800a53b9a6a43e91
2010-10-09 02:39:39 +09:00
Tadashi G. Takaoka
5e02930a7f
Reduce delay before mini popup keyboard is shown
...
Before this change, the delay was 500 ms that came from
ViewConfiguration.getLongPressTimeout(). This change reduces the
delay to 400 ms.
Bug: 3074984
Change-Id: Ia5af5e877a3c4bb29211ef4040c728ac09a9fe85
2010-10-08 19:05:16 +09:00
satok
7af745e6f6
Call InputMethodSubtypePicker instead of InputMethodPicker
...
Change-Id: I7c29285f4fd304d08bfd8f5f72df3fc421090681
2010-10-08 15:56:25 +09:00
Tadashi G. Takaoka
d663555c9f
Keyboard XML file supports include and merge tag
...
Keyboard XML file can include other keyboard XML file using directive
<include keyboardLayout="@xml/...">. The keyboard XML file which is
included must have <merge> tag as root element.
Change-Id: I06c35fe7b3db5232acdb33f73a79f38d31261b32
2010-10-07 23:51:38 +09:00
Ken Wakasa
6495bfc7a6
Follow-up to I36faf679 Cancel pending messages related to suggestion updates.
...
bug: 3058217
Change-Id: I54e29bf051b76ad27e6d653adbf14892083ad7eb
2010-10-06 18:39:47 +09:00
Ken Wakasa
55b1079652
Addressed bug: 3058217 "-" key not working at beginning of line
...
Also fixed related issues below:
* Punc suggestions list was sometimes not displayed after cursor move which follows re-correction
* Punc suggestions list was disappearing with words which contains certain punc chars (but not word separator) such as ' and -
Change-Id: I36faf679321782fa8eaf318411308a4a6b89cc25
2010-10-06 17:13:27 +09:00
Tadashi G. Takaoka
66e306d01c
Add keyHintIcon attribute to BaseKeyboard.Key class
...
This keyHintIcon attribute is used to specify hint icon drawable at
top right corner of Key.
Change-Id: Icaa91e63c4473b2513396bd3fbeb8ed6fd73586c
2010-10-05 20:28:04 +09:00
Mitsuhiro Shimoda
b1abda8d62
Add an auto complete's threshold option.
...
Change-Id: I3a6821ced8642ab8f954e79a25e31766e4a18eb8
2010-10-05 14:44:00 +09:00
Tadashi G. Takaoka
6614ac9f7b
Modify BaseKeyboard to be able to handle multiple shift keys
...
Change-Id: Ie840ae113ee6bd5b629a90959d7f955a5ceba95a
2010-10-02 21:37:34 +09:00
satok
4fc510a789
Unbundle Keyboard.java to BaseKeyboard.java
...
Change-Id: I8b310c2c0cae1a151e53c22001c586697346982c
2010-10-02 00:02:00 +09:00
Tadashi G. Takaoka
932a1b756d
am c0fc4bf9: am 8e1f1be0: Long press mic/comma key bring mini keyboard with settings
...
Merge commit 'c0fc4bf9932caf536af5d5d86bb61ec6d8a44a99'
* commit 'c0fc4bf9932caf536af5d5d86bb61ec6d8a44a99':
Long press mic/comma key bring mini keyboard with settings
2010-10-01 04:04:38 -07:00
Tadashi G. Takaoka
8e1f1be0f3
Long press mic/comma key bring mini keyboard with settings
...
Bug: 3050703
Change-Id: I090b2bfebfb48e5ec461615d4c911024ea6d130a
2010-10-01 19:27:37 +09:00
Tadashi G. Takaoka
3750d56d73
am 8e6a9270: am 18d536f6: Merge "Dismiss orange highlight after suggestion has been selected" into gingerbread
...
Merge commit '8e6a92703d1bdf530d32c8cdf90deefc6bc3a878'
* commit '8e6a92703d1bdf530d32c8cdf90deefc6bc3a878':
Dismiss orange highlight after suggestion has been selected
2010-09-30 23:24:11 -07:00
Tadashi G. Takaoka
4fa67efc79
Dismiss orange highlight after suggestion has been selected
...
Bug: 3051311
Change-Id: Ia32cd8748a0afade07a9896ad77400cf42aed0f5
2010-10-01 12:55:34 +09:00
Tadashi G. Takaoka
c29d565428
am 105f7c36: am 3297ee80: Merge "Long pressing mic/comma key will show settings menue" into gingerbread
...
Merge commit '105f7c36b7fa1845b9edbf47ca55b4a6660303b6'
* commit '105f7c36b7fa1845b9edbf47ca55b4a6660303b6':
Long pressing mic/comma key will show settings menue
2010-09-30 13:37:40 -07:00
Tadashi G. Takaoka
f06cab73ec
am 93176d86: am 77c9f2d3: Merge "Display feedback popup for saving word while the word is pressing." into gingerbread
...
Merge commit '93176d869a496051344d80ef03573bc6bb99035a'
* commit '93176d869a496051344d80ef03573bc6bb99035a':
Display feedback popup for saving word while the word is pressing.
2010-09-30 13:37:38 -07:00
Tadashi G. Takaoka
b050829609
am e6e45510: am 11a578f4: Disable suggestion bar before invoke Voice input
...
Merge commit 'e6e45510674b31d0c82fa5f8a7943668d7e8503a'
* commit 'e6e45510674b31d0c82fa5f8a7943668d7e8503a':
Disable suggestion bar before invoke Voice input
2010-09-30 13:37:30 -07:00
Tadashi G. Takaoka
e909d4f12e
am 48ef72ac: am 8ff96805: Merge "Eliminate compiler warning" into gingerbread
...
Merge commit '48ef72acef92bb774bad84d647427eaab0acc83b'
* commit '48ef72acef92bb774bad84d647427eaab0acc83b':
Eliminate compiler warning
2010-09-30 13:37:27 -07:00
Tadashi G. Takaoka
2e7ce8ec50
am 259778c3: am eebe37e8: Merge "Disable suggestion selection preview popup" into gingerbread
...
Merge commit '259778c3a18246b3117c2874b87f1adaf2d9fb81'
* commit '259778c3a18246b3117c2874b87f1adaf2d9fb81':
Disable suggestion selection preview popup
2010-09-30 13:37:23 -07:00
Amith Yamasani
d2a74e9f16
am 4d158dc2: am 15b840cd: Merge "Check recorrection on focusing into a text field that has text already." into gingerbread
...
Merge commit '4d158dc2779ffff8c92a41f32e6885bd0f155fc3'
* commit '4d158dc2779ffff8c92a41f32e6885bd0f155fc3':
Check recorrection on focusing into a text field that has text already.
2010-09-30 11:26:57 -07: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
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
Tadashi G. Takaoka
8bae0829d2
resolved conflicts for merge of ab1348e8
to master
...
Change-Id: Ica94a5f9ac4feae477297f14fc1bc21d02efb6a4
2010-09-30 09:01:04 +09: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
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
e3da18803d
am fcd5f2b9: am c2c9cd82: Merge "Mini keyboard works even while shift is being pressed" into gingerbread
...
Merge commit 'fcd5f2b9b4229c00a6589aad1fda9b727759d343'
* commit 'fcd5f2b9b4229c00a6589aad1fda9b727759d343':
Mini keyboard works even while shift is being pressed
2010-09-28 21:55:19 -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
819e05f5fe
am 0ea7e504: am 6e5a3986: Fixed key code and key coordinates when move debounce has been in action
...
Merge commit '0ea7e504887702bace7b2e765704d08e737ab1b5'
* commit '0ea7e504887702bace7b2e765704d08e737ab1b5':
Fixed key code and key coordinates when move debounce has been in action
2010-09-28 13:19:45 -07:00
satok
ed85235bee
am ad090ac3: am 008e9b3e: Fix Null pointer exception on closing and update assets
...
Merge commit 'ad090ac3f4cee327adf74e8b35bbc446a8d64070'
* commit 'ad090ac3f4cee327adf74e8b35bbc446a8d64070':
Fix Null pointer exception on closing and update assets
2010-09-28 12:48:46 -07: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
Tadashi G. Takaoka
8bfcac4d84
Fix NPE in LatinKeyboard when it represent phone keyboard
...
Bug: 3041532
Change-Id: I1d846e9175bd033f056a8715287a936be2fe8f74
2010-09-28 10:15:55 +09:00
Ken Wakasa
0517bffc06
am 7f2a6a05: am 0b4ae1f5: Capitalize the displayed text in the suggestion bar when all of the user typed chars are upper case
...
Merge commit '7f2a6a056b67efa2a1fb623ca4cf73f7fb6c7d8c'
* commit '7f2a6a056b67efa2a1fb623ca4cf73f7fb6c7d8c':
Capitalize the displayed text in the suggestion bar when all of the user typed chars are upper case
2010-09-27 09:30: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
Tadashi G. Takaoka
dc7097b4e7
Merge "Add xlarge keyboard layouts (tentative)"
2010-09-27 08:39:12 -07:00
Tadashi G. Takaoka
b1fcbec730
Add xlarge keyboard layouts (tentative)
...
This keyboard layout is tentative for UX study.
This change added xlarge keyboard layouts only for "regular text",
"symbol/number mode" and "symbol/number mode shifted".
TODO other text mode variants should have dedicated layout.
Change-Id: I36077efcec4b57c3b5cada0a851e1409a289eeb9
2010-09-28 00:17:53 +09:00
satok
a48d298d10
resolved conflicts for merge of b9c0ed59
to master
...
Change-Id: Ib42164a5889eb9792b5e94de1e0ffd4c1924e29d
2010-09-27 15:33:24 +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
Ken Wakasa
760e7b24ad
am ca2fba71: am 6ee1bd42: Merge "Keep addWordToDictionary from doing disk I/O on main thread" into gingerbread
...
Merge commit 'ca2fba71086b3832998ee9039723b66cce3be300'
* commit 'ca2fba71086b3832998ee9039723b66cce3be300':
Keep addWordToDictionary from doing disk I/O on main thread
2010-09-24 08:40:48 -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
05ebb2e511
am bf03559f: am 64e5a194: Merge "Add enter/exit animation style to prevew and mini keyboard" into gingerbread
...
Merge commit 'bf03559f7e38cd51cb5fd6b0afa937982cbffc67'
* commit 'bf03559f7e38cd51cb5fd6b0afa937982cbffc67':
Add enter/exit animation style to prevew and mini keyboard
2010-09-24 06:27:24 -07: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
3da22f8146
am 27bddbe6: am 1bebdcb4: Move RingCharBuffer as a singleton in Util
...
Merge commit '27bddbe67f00953dc82a8543fe610c9010f7077c'
* commit '27bddbe67f00953dc82a8543fe610c9010f7077c':
Move RingCharBuffer as a singleton in Util
2010-09-24 00:36:20 -07:00
satok
1bebdcb4e4
Move RingCharBuffer as a singleton in Util
...
Change-Id: I08d09555a99a64038374e62019777d331c48319b
2010-09-24 16:27:36 +09:00
Tadashi G. Takaoka
ae7e550662
am bc63621f: am 9d44411a: Fixed popup mini-keyboard position
...
Merge commit 'bc63621fcf1db2933f708bf3dd81b2b2f2211c5e'
* commit 'bc63621fcf1db2933f708bf3dd81b2b2f2211c5e':
Fixed popup mini-keyboard position
2010-09-23 04:14:55 -07: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
6721b98b5c
am ec8b7360: am 77542988: Tune left and right padding of popup mini keyboard
...
Merge commit 'ec8b7360161f37d00d178bef37c30352982cd007'
* commit 'ec8b7360161f37d00d178bef37c30352982cd007':
Tune left and right padding of popup mini keyboard
2010-09-23 00:13:48 -07: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
48ef8f4a25
am a8f77c36: am 23f7fb03: Merge "Disable invoking VoiceIME using swipe right action" into gingerbread
...
Merge commit 'a8f77c36ca985cb356b03b25f5cd30fd3b25dc9a'
* commit 'a8f77c36ca985cb356b03b25f5cd30fd3b25dc9a':
Disable invoking VoiceIME using swipe right action
2010-09-22 22:57:15 -07:00
Tadashi G. Takaoka
fc66213d9e
am 4fab9f2f: am b75dee4b: Merge "Fix ArrayIndexOutOfBoundsException in WordComposer" into gingerbread
...
Merge commit '4fab9f2fee9cfb1a67d805c1598deae02fa4d8cc'
* commit '4fab9f2fee9cfb1a67d805c1598deae02fa4d8cc':
Fix ArrayIndexOutOfBoundsException in WordComposer
2010-09-22 22:57:13 -07: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
437cabe0df
am 1241be7e: am a96d8a11: Use SystemClock.uptimeMillis() for event time
...
Merge commit '1241be7e8498b8cca348d74363ece68b3ade730c'
* commit '1241be7e8498b8cca348d74363ece68b3ade730c':
Use SystemClock.uptimeMillis() for event time
2010-09-22 22:07:58 -07: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
36f64d2bba
am 84af4309: am 8493e431: Use constant for keycode.
...
Merge commit '84af4309f8a2d030bfd042d8363669cc477c676f'
* commit '84af4309f8a2d030bfd042d8363669cc477c676f':
Use constant for keycode.
2010-09-22 02:42:59 -07: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
99d6a248ef
am 8957296f: am 9d1cb899: Merge "Choose smaller or shorter language name for space bar" into gingerbread
...
Merge commit '8957296f066b1f624dc4fae71d3eeb5a0fec1b4f'
* commit '8957296f066b1f624dc4fae71d3eeb5a0fec1b4f':
Choose smaller or shorter language name for space bar
2010-09-22 02:21:20 -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
Tadashi G. Takaoka
db6b897118
am 7c120ce4: am 3a2896c8: Fix issue space key preview remains on screen and would not dismiss
...
Merge commit '7c120ce4872398ea4f61a67aba1d069e45f1c012'
* commit '7c120ce4872398ea4f61a67aba1d069e45f1c012':
Fix issue space key preview remains on screen and would not dismiss
2010-09-22 00:10:16 -07: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
60f6e5d461
am 33c13c41: am 75c23ced: Add lightweight visual indication for numbers.
...
Merge commit '33c13c413ad7cf30d5a12e2ba6c463e01b47e92a'
* commit '33c13c413ad7cf30d5a12e2ba6c463e01b47e92a':
Add lightweight visual indication for numbers.
2010-09-21 21:45:40 -07: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
41acad294c
am c01d978f: am a104575c: Merge "Draw language label on space key of symbol+alt mode" into gingerbread
...
Merge commit 'c01d978f56f90425f070d57a66968aa77ef69a7d'
* commit 'c01d978f56f90425f070d57a66968aa77ef69a7d':
Draw language label on space key of symbol+alt mode
2010-09-21 10:44:29 -07:00
Tadashi G. Takaoka
75abaf5d8f
am 9c822ec4: am 6b75eaa1: Fix mini keyboard display position when preview is disabled
...
Merge commit '9c822ec48de0e6839a861212d8b7143f70b29fd1'
* commit '9c822ec48de0e6839a861212d8b7143f70b29fd1':
Fix mini keyboard display position when preview is disabled
2010-09-21 10:44:22 -07:00
Tadashi G. Takaoka
051511fa09
am 1d82ee9a: am 56cd6df9: Merge "Space key will no longer auto-repeat" into gingerbread
...
Merge commit '1d82ee9a13b1e57af80d2bd0e3f879305bda137d'
* commit '1d82ee9a13b1e57af80d2bd0e3f879305bda137d':
Space key will no longer auto-repeat
2010-09-21 10:43:52 -07: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
a628e46c11
am 0ab6747d: am 4da43a25: Shorten popup preview residual time (100ms)
...
Merge commit '0ab6747d424f412a103a4092bc3fcb2e891994ad'
* commit '0ab6747d424f412a103a4092bc3fcb2e891994ad':
Shorten popup preview residual time (100ms)
2010-09-20 21:07:12 -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
3a997ae631
am 66774575: am 7763b36d: Align key preview and mini-keyboard positions
...
Merge commit '667745750735d7535a6e6e9580b7c762735fad12'
* commit '667745750735d7535a6e6e9580b7c762735fad12':
Align key preview and mini-keyboard positions
2010-09-17 10:38:40 -07:00
Tadashi G. Takaoka
6f3d98f115
am 051d4f45: am 4a3ffcbf: Longer popup preview residual time (150ms)
...
Merge commit '051d4f459d35eac61772a0fe0f6487b8c34ec479'
* commit '051d4f459d35eac61772a0fe0f6487b8c34ec479':
Longer popup preview residual time (150ms)
2010-09-17 10:38:37 -07: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
Ken Wakasa
ef5f2102c5
am 300362f2: am 29d8bde4: Merge "Use the phone keyboard for NUMBER and DATETIME until we get a dedicated number entry keypad." into gingerbread
...
Merge commit '300362f20982974d07876dee01b4550b8e54d449'
* commit '300362f20982974d07876dee01b4550b8e54d449':
Use the phone keyboard for NUMBER and DATETIME until we get a dedicated number entry keypad.
2010-09-16 23:23:45 -07:00
Tadashi G. Takaoka
99a23923e6
am 8ef27577: am 1476988e: Default puctuation suggestions have same color
...
Merge commit '8ef27577da17f4203db00d5df96c3d2ed32ac713'
* commit '8ef27577da17f4203db00d5df96c3d2ed32ac713':
Default puctuation suggestions have same color
2010-09-16 23:23:42 -07: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
6fecf0796c
am 37a8c654: am 809bef52: Merge "Increase gradient of suggestion bar" into gingerbread
...
Merge commit '37a8c654a0cb9728451623dc1eed13ec9767b889'
* commit '37a8c654a0cb9728451623dc1eed13ec9767b889':
Increase gradient of suggestion bar
2010-09-16 04:45:56 -07:00
Ken Wakasa
749b1eaaaa
Increase gradient of suggestion bar
...
bug: 3001007
Change-Id: I0f05d62b2a6848f37975b7a15b3ba14a90776d24
2010-09-16 20:21:30 +09:00
Ken Wakasa
2b90a1adcb
am 13a6c8c1: am 1508c0e8: Add a new preference item to show/hide the settings key.
...
Merge commit '13a6c8c1f8691b753cd1a6b7a77d99af4f7d78ac'
* commit '13a6c8c1f8691b753cd1a6b7a77d99af4f7d78ac':
Add a new preference item to show/hide the settings key.
2010-09-15 16:49:53 -07:00
Amith Yamasani
9b2c10284b
am d6210de7: am dd5d4e37: Merge "Fix : Bouncing Extract Text when correcting multiple lines of text." into gingerbread
...
Merge commit 'd6210de709a0ed724f355743f196e827ebd7df50'
* commit 'd6210de709a0ed724f355743f196e827ebd7df50':
Fix : Bouncing Extract Text when correcting multiple lines of text.
2010-09-15 16:48:56 -07:00
Tadashi G. Takaoka
f027b1c5eb
am b9705959: am bf1f16f3: Merge "All keys should be processed before processing modifier key" into gingerbread
...
Merge commit 'b9705959df5d7de38df5dea53270bf702b87716d'
* commit 'b9705959df5d7de38df5dea53270bf702b87716d':
All keys should be processed before processing modifier key
2010-09-15 16:47:02 -07:00
Tadashi G. Takaoka
1e445ed2af
am 4b813f56: am bd1cc1da: Fix bug that upper case mini-keyboard does not work
...
Merge commit '4b813f56bbe11210835a31de7fd73bfe5a566ead'
* commit '4b813f56bbe11210835a31de7fd73bfe5a566ead':
Fix bug that upper case mini-keyboard does not work
2010-09-15 16:46:51 -07: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
b0b9f3b830
am b36a653c: am 12a4e08a: Handling multi-character uppercase key input
...
Merge commit 'b36a653ca65f3c26ba070a73b9d43beb57f620ee'
* commit 'b36a653ca65f3c26ba070a73b9d43beb57f620ee':
Handling multi-character uppercase key input
2010-09-15 07:07:04 -07:00
Tadashi G. Takaoka
53a68e7dcf
am b2835ef2: am eb680367: Add keyHysteresisDistance xml attribute
...
Merge commit 'b2835ef2e506b7d1b3db1c810b7dae349d2461d2'
* commit 'b2835ef2e506b7d1b3db1c810b7dae349d2461d2':
Add keyHysteresisDistance xml attribute
2010-09-15 07:07:01 -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
67ffd0b0ea
am 45606d3c: am 0ea6270f: More commit -> apply changes with SharedPreferencesCompat.
...
Merge commit '45606d3c48c5f079673879add3e700ea571e2a93'
* commit '45606d3c48c5f079673879add3e700ea571e2a93':
More commit -> apply changes with SharedPreferencesCompat.
2010-09-12 09:26:59 -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
3e5ebd3d40
am 65dab907: am aed01227: Fix a bug in y-axis offset for sliding finger key detection for mini popup keyboard.
...
Merge commit '65dab9078dd0c77adcc49d08c46039dad2a950f6'
* commit '65dab9078dd0c77adcc49d08c46039dad2a950f6':
Fix a bug in y-axis offset for sliding finger key detection for mini popup keyboard.
2010-09-12 06:07:55 -07: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
fcaca2121b
am d73d267f: am f62166c1: Mini popup keyboard adjustment: Have the leftmost number right above the key.
...
Merge commit 'd73d267f34efb131467d9103bb9a56c18f9623b7'
* commit 'd73d267f34efb131467d9103bb9a56c18f9623b7':
Mini popup keyboard adjustment: Have the leftmost number right above the key.
2010-09-11 22:27:11 -07: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
Ken Wakasa
40cff6faa2
am 08a5ba3a: am 3de8f34b: Code cleanup
...
Merge commit '08a5ba3a69bef5182128f90e49eae4548795e9c9'
* commit '08a5ba3a69bef5182128f90e49eae4548795e9c9':
Code cleanup
2010-09-09 23:11:12 -07:00
Ken Wakasa
3de8f34b8c
Code cleanup
...
Change-Id: I333693ab8e4088180cc25768d874ad7320d9da8b
2010-09-10 13:15:45 +09:00
Tadashi G. Takaoka
f888b99d36
am 94fe2b62: am efc4a437: Symbol key acts as modifier key
...
Merge commit '94fe2b626164f275a7f07f546ceca1b1f0d214a2'
* commit '94fe2b626164f275a7f07f546ceca1b1f0d214a2':
Symbol key acts as modifier key
2010-09-09 04:51:41 -07: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
2cfe3409bd
am 72a66d3d: am 681b676b: Keep Keyboard in cache through SoftReference
...
Merge commit '72a66d3d860c92c1c05ba987a44b3811360f935d'
* commit '72a66d3d860c92c1c05ba987a44b3811360f935d':
Keep Keyboard in cache through SoftReference
2010-09-08 22:49:54 -07: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
Ken Wakasa
6fff167a8d
am 38f6ff42: am 0e300c83: Avoid a disk write on UI thread
...
Merge commit '38f6ff4289933aaa54461f72ba14d33ad1d6c5d7'
* commit '38f6ff4289933aaa54461f72ba14d33ad1d6c5d7':
Avoid a disk write on UI thread
2010-09-08 20:40:30 -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
Ken Wakasa
fa12d86cb5
am dacc927a: am c1ff2846: Update strings for the settings access - based on the latest GB IME spec (ver 03). Please refer to bug: 2979069 for the latest mock.
...
Merge commit 'dacc927a57b0c7adfbdf244441b9b2495c959980'
* commit 'dacc927a57b0c7adfbdf244441b9b2495c959980':
Update strings for the settings access - based on the latest GB IME spec (ver 03).
2010-09-07 05:35:02 -07:00
Ken Wakasa
c1ff28462e
Update strings for the settings access - based on the latest GB IME spec (ver 03).
...
Please refer to bug: 2979069 for the latest mock.
Got rid of obsolete string too.
Change-Id: Ic02d1651b288f24f9c3a9da5d0dcf09055256ab0
2010-09-07 21:28:44 +09:00
Tadashi G. Takaoka
ca43ce0588
am e5abf25d: am 83e63ace: Dismiss mini keyboard when finger is released outside mini keyboard
...
Merge commit 'e5abf25d4b57ecdfc01ca3ddf94753d5bcb07fea'
* commit 'e5abf25d4b57ecdfc01ca3ddf94753d5bcb07fea':
Dismiss mini keyboard when finger is released outside mini keyboard
2010-09-07 01:49:04 -07:00
Tadashi G. Takaoka
83e63ace2a
Dismiss mini keyboard when finger is released outside mini keyboard
...
Bug: 2978975
Change-Id: Ie634e8ae827fe093c5c673b75d85835050b03794
2010-09-07 17:44:31 +09:00
Tadashi G. Takaoka
0415ddde59
am bc1a0354: am 26aff8c6: Merge "Fixed extra periods when chording with shift and space" into gingerbread
...
Merge commit 'bc1a0354ef1cac0319cab63822c66203f1fa2c24'
* commit 'bc1a0354ef1cac0319cab63822c66203f1fa2c24':
Fixed extra periods when chording with shift and space
2010-09-07 01:34:06 -07:00
Tadashi G. Takaoka
26aff8c62f
Merge "Fixed extra periods when chording with shift and space" into gingerbread
2010-09-07 01:31:04 -07:00
Tadashi G. Takaoka
6252f468bc
Fixed extra periods when chording with shift and space
...
Actually it was caused by canceling repeat key (space and delete) when
multiple pointer are touching.
Bug: 2975041
Change-Id: If82183b9225efdace7b5418860b9664f1705b7ec
2010-09-07 17:29:09 +09:00
satok
e1cb2e4977
resolved conflicts for merge of 36d2d0e7
to master
...
Change-Id: Ib4b6ef593d7f4ce5b0666f2e0987ee8398cabe12
2010-09-07 15:37:32 +09:00
satok
66b42a1c2d
Add shared preference for re-correction
...
Change-Id: Ie5b2e0d2f9739dd33524c2688e172e77aac1f243
2010-09-07 15:23:10 +09:00
Tadashi G. Takaoka
623818a8db
am 7bbea0dd: am 8d7ffcb2: Disable pop-up preview on mini keyboard
...
Merge commit '7bbea0dd8fe04b378a9a7a161c2995998f4a8dcf'
* commit '7bbea0dd8fe04b378a9a7a161c2995998f4a8dcf':
Disable pop-up preview on mini keyboard
2010-09-06 06:49:01 -07:00
Tadashi G. Takaoka
920c507cd3
am efe7abe0: am 12659d4c: Fix ALT key light behavior
...
Merge commit 'efe7abe03dce1779ce76e175d0fe9422d2f8eaad'
* commit 'efe7abe03dce1779ce76e175d0fe9422d2f8eaad':
Fix ALT key light behavior
2010-09-06 06:47:03 -07:00
Tadashi G. Takaoka
8d7ffcb2ac
Disable pop-up preview on mini keyboard
...
This change also disable the special behavior of long press a key that
has only one digit alternate. If the visual design of both the pop-up
preview and the mini keyboard will look like same, I think that
showing mini keyboard is enough for the key that has one digit
alternate.
Bug: 2973546
Change-Id: I04f138c120aa58526fe054626dac856171fb7a58
2010-09-06 22:42:17 +09:00
Tadashi G. Takaoka
12659d4c0c
Fix ALT key light behavior
...
This change also cleanups some imports, unnecessary cast and null check.
Bug: 2977256
Change-Id: I81b9e539ff8a13ae0cc1eb5c4fb2246732cca3e9
2010-09-06 22:25:49 +09:00
Tadashi G. Takaoka
cba7b0b6ab
am d5bcbf81: am c8b9afe0: Support multi-touch only when device has distinct multi-touch panel
...
Merge commit 'd5bcbf8156fdba8199452b8f95ed1940b7e96d31'
* commit 'd5bcbf8156fdba8199452b8f95ed1940b7e96d31':
Support multi-touch only when device has distinct multi-touch panel
2010-09-06 02:19:13 -07:00
Tadashi G. Takaoka
c8b9afe037
Support multi-touch only when device has distinct multi-touch panel
...
Bug: 2973373
Change-Id: I9871c09ec8c1c2aa945d97392e61ee1ec585baef
2010-09-06 17:57:13 +09:00
satok
ac021708ae
am 34830114: am 0a498cf8: Merge "Extend space LED for autocompletion" into gingerbread
...
Merge commit '34830114e66882bf30505f1e538764c9abd3025b'
* commit '34830114e66882bf30505f1e538764c9abd3025b':
Extend space LED for autocompletion
2010-09-03 04:27:20 -07:00
satok
0a498cf8d8
Merge "Extend space LED for autocompletion" into gingerbread
2010-09-03 04:24:01 -07:00
satok
1bf265d185
Extend space LED for autocompletion
...
Change-Id: If59ea7c871ffc2af6fe2bfde72303f2612e43c3b
2010-09-03 20:20:10 +09:00
Tadashi G. Takaoka
ab5653dce0
am 232b0394: am e8f45ab5: One alternate is treated as key action, not open mini keyboard
...
Merge commit '232b039496ef95c543bac5128e6378b38760de21'
* commit '232b039496ef95c543bac5128e6378b38760de21':
One alternate is treated as key action, not open mini keyboard
2010-09-03 04:13:20 -07:00
Tadashi G. Takaoka
e8f45ab56f
One alternate is treated as key action, not open mini keyboard
...
This change also fixes bug#2973683.
Bug: 2973546
Bug: 2973683
Change-Id: I67573e5b7cad4af261591a4a608d0596dd7901f2
2010-09-03 20:09:21 +09:00
Tadashi G. Takaoka
bf669e4379
am c93ac9db: am ffa88f0e: Merge "Move inflating mini keyboard code into separate method" into gingerbread
...
Merge commit 'c93ac9db7129f935425f79d5a460e7b926cb4a22'
* commit 'c93ac9db7129f935425f79d5a460e7b926cb4a22':
Move inflating mini keyboard code into separate method
2010-09-03 02:59:42 -07:00
Tadashi G. Takaoka
ffa88f0ef5
Merge "Move inflating mini keyboard code into separate method" into gingerbread
2010-09-03 02:54:44 -07:00
satok
6a36764a8d
am e5ae8c62: am 1b09ac4f: Merge "Add a showing input method picker option by longpressing setting key" into gingerbread
...
Merge commit 'e5ae8c62c83ad29d623562a74355bc619c216742'
* commit 'e5ae8c62c83ad29d623562a74355bc619c216742':
Add a showing input method picker option by longpressing setting key
2010-09-03 01:55:37 -07:00
satok
1b09ac4f93
Merge "Add a showing input method picker option by longpressing setting key" into gingerbread
2010-09-03 01:51:38 -07:00
satok
9a6a4d3d5f
Add a showing input method picker option by longpressing setting key
...
Bug: 2959271
Change-Id: I4b7e9a2de3cbe17b168ed8d0541a9b1cd9a9e107
2010-09-03 17:48:44 +09:00
Tadashi G. Takaoka
0b4734396f
Move inflating mini keyboard code into separate method
...
Change-Id: Iba8e43ba6125e559d4c7d9cadb6bcb13b8eefc83
2010-09-03 17:35:54 +09:00
Tadashi G. Takaoka
80e518d36b
am 1274cd16: am 5583cb0a: Merge "Followup TBR in I87060049" into gingerbread
...
Merge commit '1274cd160f81d7a59828e0dbe66d87dfbe87c544'
* commit '1274cd160f81d7a59828e0dbe66d87dfbe87c544':
Followup TBR in I87060049
2010-09-03 00:41:48 -07:00
Tadashi G. Takaoka
5583cb0afc
Merge "Followup TBR in I87060049" into gingerbread
2010-09-03 00:37:59 -07:00
Tadashi G. Takaoka
0529a04b6a
Followup TBR in I87060049
...
This change is followup TBR in I87060049cad6f9d6432b6c4a246c15587ae0d837
Change-Id: I02ee33da269162f5e95ce5b985dbf5094ba14c0d
2010-09-03 15:55:18 +09:00
satok
ec8c4f0d37
am 66546535: am c5841994: Merge "Change symbol on space bar when autocompletion is activated" into gingerbread
...
Merge commit '6654653562d0ec5d46a74f8c49eab2488e273cf2'
* commit '6654653562d0ec5d46a74f8c49eab2488e273cf2':
Change symbol on space bar when autocompletion is activated
2010-09-02 23:30:24 -07:00
satok
c5841994af
Merge "Change symbol on space bar when autocompletion is activated" into gingerbread
2010-09-02 23:26:06 -07:00
satok
41feaaadb7
Change symbol on space bar when autocompletion is activated
...
bug: 2959279
Change-Id: Icc70b7cce0c245ae2451d324debd346f226b8769
2010-09-03 15:17:26 +09:00
Tadashi G. Takaoka
7d4833a8bf
am 22776af8: am c5d33b16: Fix NPE in LatinKeyboardBaseView
...
Merge commit '22776af828c69db22d90b42d196f487095905c70'
* commit '22776af828c69db22d90b42d196f487095905c70':
Fix NPE in LatinKeyboardBaseView
2010-09-02 22:23:09 -07:00
Tadashi G. Takaoka
c5d33b1652
Fix NPE in LatinKeyboardBaseView
...
This change also refactors some mini-keyboard related methods in
LatinKeyboardBaseView and PointerTracker class.
Bug: 2973236
Change-Id: I3190fe89ea3ac3c6d351ed4b6d77de98a0aa65db
2010-09-03 13:03:08 +09:00
Tadashi G. Takaoka
efabc4eb52
am 2fb112f1: am 7083b748: Propagate preview enable attribute to mini-keyboard
...
Merge commit '2fb112f142bdac2c7cb96da5f264b5575ce611e7'
* commit '2fb112f142bdac2c7cb96da5f264b5575ce611e7':
Propagate preview enable attribute to mini-keyboard
2010-09-02 13:35:17 -07:00
Tadashi G. Takaoka
7083b7486e
Propagate preview enable attribute to mini-keyboard
...
Bug: 2959169
Change-Id: Iea1bec44baf3344d9f91280bd2b8f28476cbcf51
2010-09-03 05:28:43 +09:00
Tadashi G. Takaoka
539fb1bc67
am 20052f34: am fe72f135: Remove close button from mini keyboard
...
Merge commit '20052f34f987ab946d54cc405fa42cd0510fb94f'
* commit '20052f34f987ab946d54cc405fa42cd0510fb94f':
Remove close button from mini keyboard
2010-09-02 13:15:20 -07:00
Tadashi G. Takaoka
e46f44714d
am cea6a25b: am 07221a4a: Support sliding pop-up mini-keyboard input
...
Merge commit 'cea6a25b904f536aff4efbf9eeb865bef8a3a4b4'
* commit 'cea6a25b904f536aff4efbf9eeb865bef8a3a4b4':
Support sliding pop-up mini-keyboard input
2010-09-02 13:01:25 -07:00
Tadashi G. Takaoka
fe72f135b8
Remove close button from mini keyboard
...
Bug: 2959169
Change-Id: I9c78f9417aaa448b8b23596bc3e748fe99085393
2010-09-03 04:56:12 +09:00
Tadashi G. Takaoka
a18e956f7a
am 23eb4711: am 6bfb234f: Refactor KeyDetector to share more methods
...
Merge commit '23eb4711020f73ebb89a761a0c4ab917a94cfabe'
* commit '23eb4711020f73ebb89a761a0c4ab917a94cfabe':
Refactor KeyDetector to share more methods
2010-09-02 12:54:02 -07:00
Tadashi G. Takaoka
07221a4ad1
Support sliding pop-up mini-keyboard input
...
TODO:
- Remove close button on mini-keyboard
- Dismiss mini-keyboard when finger leave the screen while no key is selected
This change also renames some instance variables to have more meaningful name.
Bug: 2959169
Change-Id: I9fd79116a647d7be82415c6e9e7cdaf6edcb2bf6
2010-09-03 04:51:37 +09:00
Tadashi G. Takaoka
6bfb234f29
Refactor KeyDetector to share more methods
...
Bug: 2959169
Change-Id: I87060049cad6f9d6432b6c4a246c15587ae0d837
2010-09-03 00:46:19 +09:00
Tadashi G. Takaoka
ac64a5c3ed
am b52edca1: am 83b3cf56: Merge "Corresponding to TBR of Id2b0b974" into gingerbread
...
Merge commit 'b52edca15df778372e52986bc4f379d1b625a14a'
* commit 'b52edca15df778372e52986bc4f379d1b625a14a':
Corresponding to TBR of Id2b0b974
2010-09-02 07:26:55 -07:00
Tadashi G. Takaoka
83b3cf56cd
Merge "Corresponding to TBR of Id2b0b974" into gingerbread
2010-09-02 07:22:50 -07:00
Tadashi G. Takaoka
2fb7e2ff4d
am c98e7cb2: am 0fe4c9e1: Corresponding to TBR of Ie6cf6768
...
Merge commit 'c98e7cb28b4e05883531266c31ea4c09fca74edc'
* commit 'c98e7cb28b4e05883531266c31ea4c09fca74edc':
Corresponding to TBR of Ie6cf6768
2010-09-02 06:44:13 -07:00
Tadashi G. Takaoka
72d98fab21
Corresponding to TBR of Id2b0b974
...
This is follow up change of Id2b0b974fffdf6f09ee1828e957b973d2ce1c315
Bug: 2959169
Change-Id: Ie47db5fce7937a4d70c432ab76510d0dc3f68401
2010-09-02 22:36:22 +09:00
Tadashi G. Takaoka
0fe4c9e1a7
Corresponding to TBR of Ie6cf6768
...
This is follow up change of Ie6cf67681180467bd8ba35d0205ce6727b7684a2
Bug: 2959169
Change-Id: I9e4cb0c9178856ddd6049f0b751b54f3ad26a266
2010-09-02 22:34:15 +09:00
Tadashi G. Takaoka
e9eda7ea94
am 7f67c211: am 400046d6: Encapsulate vertical and horizontal correction values into KeyDetector.
...
Merge commit '7f67c211e7ec4bdf148c9dd468cc8e73ffeb66e3'
* commit '7f67c211e7ec4bdf148c9dd468cc8e73ffeb66e3':
Encapsulate vertical and horizontal correction values into KeyDetector.
2010-09-02 06:02:53 -07:00
Tadashi G. Takaoka
400046d62e
Encapsulate vertical and horizontal correction values into KeyDetector.
...
Bug: 2959169
Change-Id: Id2b0b974fffdf6f09ee1828e957b973d2ce1c315
2010-09-02 21:54:26 +09:00
Tadashi G. Takaoka
9b5867e3e6
am a4397ce3: am 6b4d521f: Merge "Add PointerTracker argument to long press related methods" into gingerbread
...
Merge commit 'a4397ce38af2e1ac3a8284bc078bd1e9cb4fecf4'
* commit 'a4397ce38af2e1ac3a8284bc078bd1e9cb4fecf4':
Add PointerTracker argument to long press related methods
2010-09-02 04:35:57 -07:00
Tadashi G. Takaoka
3d4123fabb
Add PointerTracker argument to long press related methods
...
This change also adds debugging log to PointerTracker class
Bug: 2959169
Change-Id: Ie6cf67681180467bd8ba35d0205ce6727b7684a2
2010-09-02 20:28:31 +09:00
Tadashi G. Takaoka
373656f09b
am d0457eae: am 3491c877: Merge "Queuing PointerTracker to support n-key roll-over and shift modifier." into gingerbread
...
Merge commit 'd0457eae17d10535023a02579d16ede7bfcc6bec'
* commit 'd0457eae17d10535023a02579d16ede7bfcc6bec':
Queuing PointerTracker to support n-key roll-over and shift modifier.
2010-09-02 01:21:36 -07:00
Tadashi G. Takaoka
3491c877dd
Merge "Queuing PointerTracker to support n-key roll-over and shift modifier." into gingerbread
2010-09-02 01:17:56 -07:00
Tadashi G. Takaoka
40a05f62ed
Queuing PointerTracker to support n-key roll-over and shift modifier.
...
Bug: 2910379
Change-Id: I5cfae33e72a406585137842a2260310813cee07f
2010-09-02 16:03:46 +09:00
satok
11b448528b
am c5363012: am a327485e: Change the preference name for a theme and remove a preference settings
...
Merge commit 'c5363012b846733e9a3b7ce7de5b04e58644bedc'
* commit 'c5363012b846733e9a3b7ce7de5b04e58644bedc':
Change the preference name for a theme and remove a preference settings
2010-09-01 22:07:20 -07:00
satok
a327485e59
Change the preference name for a theme and remove a preference settings
...
Change-Id: I5ad980559477775eb44df022e54ce5ef32398601
2010-09-02 13:54:30 +09:00
satok
ee01bf1408
am 308acfa7: am ac4f8e46: Merge "Change background color for functional keys in LatinIME" into gingerbread
...
Merge commit '308acfa714a3a0aae073871e76e753b5a98096d1'
* commit '308acfa714a3a0aae073871e76e753b5a98096d1':
Change background color for functional keys in LatinIME
2010-09-01 20:06:05 -07:00
satok
ac4f8e4629
Merge "Change background color for functional keys in LatinIME" into gingerbread
2010-09-01 19:52:46 -07:00
satok
dd8dd9fc1b
Change background color for functional keys in LatinIME
...
Change-Id: I45f13c1fd139ce43478e5d0b2cdb62e56e9f77a8
2010-09-02 11:47:33 +09:00
Tadashi G. Takaoka
896aa23f06
am d8417f1c: am f7d71c33: Merge "Refactor PointerTracker to add isValidKeyIndex() predicate." into gingerbread
...
Merge commit 'd8417f1cfe0c5eaf7746ecd4f8e140c15624fedd'
* commit 'd8417f1cfe0c5eaf7746ecd4f8e140c15624fedd':
Refactor PointerTracker to add isValidKeyIndex() predicate.
2010-09-01 17:34:29 -07:00
Tadashi G. Takaoka
f7d71c338f
Merge "Refactor PointerTracker to add isValidKeyIndex() predicate." into gingerbread
2010-09-01 17:29:46 -07:00
Amith Yamasani
ec1f2486b0
am c354167c: am b00a1d0c: Correction improvements - use the new InputConnection APIs for underlining and fetching the selected text.
...
Merge commit 'c354167c84b06b572067efaddfbd3667ffdadb98'
* commit 'c354167c84b06b572067efaddfbd3667ffdadb98':
Correction improvements - use the new InputConnection APIs for underlining and
2010-09-01 17:01:25 -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
568743e182
am 2c7583f6: am c6cb2ec1: Add new public attribute mPointerId to PointerTracker
...
Merge commit '2c7583f6c3c24202492b9404955b1aee2dc5ce94'
* commit '2c7583f6c3c24202492b9404955b1aee2dc5ce94':
Add new public attribute mPointerId to PointerTracker
2010-09-01 13:04:27 -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
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
a4c5745852
am 57a41d09: am 2085d43d: Make abstract KeyDetector class
...
Merge commit '57a41d09b6427a0d2c1e4884678a933753350a9c'
* commit '57a41d09b6427a0d2c1e4884678a933753350a9c':
Make abstract KeyDetector class
2010-09-01 10:01:35 -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
1d3678ef2f
am f3231f45: am 681b102a: Track all pointers events
...
Merge commit 'f3231f45310ae28b78662ae39b1961d80b3b01f8'
* commit 'f3231f45310ae28b78662ae39b1961d80b3b01f8':
Track all pointers events
2010-09-01 08:31:14 -07:00
Ken Wakasa
d7dba7c33d
am fb82afd4: am 40ac45eb: Get rid of arrows in candidate view
...
Merge commit 'fb82afd48b6882cbdbb6477dca9526cd22d69400'
* commit 'fb82afd48b6882cbdbb6477dca9526cd22d69400':
Get rid of arrows in candidate view
2010-09-01 08:30:56 -07:00
satok
6f99ca9eaa
am 103381eb: am d4f60bc8: Merge "Fix new theme assets and resources" into gingerbread
...
Merge commit '103381ebf1a833ec478dd1bac41e67cf7d538f67'
* commit '103381ebf1a833ec478dd1bac41e67cf7d538f67':
Fix new theme assets and resources
2010-09-01 08:30:54 -07:00
satok
132927f20e
am 4d09b2e7: am 31adfa78: Add a new theme for Gingerbread
...
Merge commit '4d09b2e78e68ef0f1b713b10e280e56d91592717'
* commit '4d09b2e78e68ef0f1b713b10e280e56d91592717':
Add a new theme for Gingerbread
2010-09-01 08:30:31 -07:00
Tadashi G. Takaoka
35682aff05
am c3b55809: am c7c6203f: Merge "Introduce multiple PointerTracker" into gingerbread
...
Merge commit 'c3b55809a5e650200a67c8f8164ba48db995c24c'
* commit 'c3b55809a5e650200a67c8f8164ba48db995c24c':
Introduce multiple PointerTracker
2010-09-01 08:30:18 -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
40ac45ebdc
Get rid of arrows in candidate view
...
bug: 2959293
Change-Id: Ia5dcb29397f608846f865fabb3c696866b3687aa
2010-09-01 17:59:12 +09: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
31adfa78e2
Add a new theme for Gingerbread
...
bug: 2959293
Change-Id: I8aef19a7485ffd5639a177aee21103b3a1e04cf2
2010-09-01 16:18:01 +09:00
Tadashi G. Takaoka
a521b31d96
Introduce multiple PointerTracker
...
Bug: 2910379
Change-Id: Iefafa2d30ad16f898a00664e4bf3e3e88dcd2cb2
2010-09-01 15:59:54 +09:00
Tadashi G. Takaoka
64f4915f46
am ad60fe2e: am 409731fb: Merge "Make KeyDebounce class a top-level class and rename it to PointerTracker" into gingerbread
...
Merge commit 'ad60fe2e80878e1b1caa2c9207d8f601e203560f'
* commit 'ad60fe2e80878e1b1caa2c9207d8f601e203560f':
Make KeyDebounce class a top-level class and rename it to PointerTracker
2010-08-31 20:43:33 -07:00
Ken Wakasa
5d95dfc2cb
am 7bb640c1: am 543dbdfd: Always present suggestion strip whenever in appropriate mode.
...
Merge commit '7bb640c1e06718936412af2c2198e09a57ce5124'
* commit '7bb640c1e06718936412af2c2198e09a57ce5124':
Always present suggestion strip whenever in appropriate mode.
2010-08-31 20:43:31 -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
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
890c1d5fa3
am 5bb2e9a5: am b24cc640: Fix ArrayIndexOutOfBoundsException.
...
Merge commit '5bb2e9a55de237e1955ac1fd19eea3771e671afe'
* commit '5bb2e9a55de237e1955ac1fd19eea3771e671afe':
Fix ArrayIndexOutOfBoundsException.
2010-08-31 17:22:49 -07:00
Ken Wakasa
b24cc640c1
Fix ArrayIndexOutOfBoundsException.
...
bug: 2964045
Change-Id: I97d95181e1a6838ace9c135aa92e7f20034e821f
2010-09-01 09:11:38 +09:00
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
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
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
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
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
eeb77d4f6a
Merge "Remove mAbortKey flag completely" into gingerbread
2010-08-30 18:19:03 -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
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
d2a431efa7
Remove extension keyboard
...
Bug: 2959287
Change-Id: I344ac58b4119e96daf5928c784275ee0b7095958
2010-08-30 21:20:55 +09: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
5d55cf6dfc
Remove Log functions from Gingerbread
...
Change-Id: I0ab19726a6bfaf14b42c05903f38dfb74cbd0d37
2010-08-30 16:32:50 +09:00
satok
cb6221257a
DO NOT MERGE. Remove a preference for bigram suggestion
...
Change-Id: I1a9142d988352abf88da5eefe1d02596c7fc2beb
2010-08-30 14:56:49 +09: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
00dda50efd
Revert "Show key preview instantaneously"
...
This reverts commit 09f530e248
.
Change-Id: I3106cd22cc1eac750f05bce26df6af3026dfaf86
2010-08-27 21:04:31 +09: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
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
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
830fd4af56
Merge "Refactor onModifiedTouchEvent into several methods." into gingerbread
2010-08-26 19:56:32 -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
e83d7385ab
Refactor getKeyIndexAndNearbyCodes into independent class
...
Bug: 2910379
Change-Id: Ib26a898ea108ee4292f9f91b6d7d10c1fc380fd1
2010-08-26 23:33:08 +09:00
Tadashi G. Takaoka
dfbc5080a1
Refactor SwipeTracker class
...
This change moves SwipeTracker out from LatinKeyboardBaseView. Also
this introduces EventBuffer class for swipe tracking buffer.
Bug: 2910379
Change-Id: I48ff714226a248ca063cbaf9755cf45e458f7402
2010-08-26 23:28:52 +09:00
satok
542f057ef6
Add a log for getting coordinates of keys
...
Change-Id: I57cc6fb6a9eeb65ce8c0c3c3262fd525726643e2
2010-08-26 18:08:12 +09:00
Tadashi G. Takaoka
0c54809891
Refactor gesture detector logic
...
GestureDetector listener's onFling method will not call detectAndSendKey
anymore.
Make gesture detector be ignoring multitouch. Refactoring
GestureDetector out of LatinKeyboardBaseView class change will follow.
Bug: 2910379
Change-Id: I0b2a9c4cf7d432f89f9085f3c2bdf3a3757a8903
2010-08-26 15:54:50 +09:00
Tadashi G. Takaoka
0d098c514e
Fix bugs in key repeat logic
...
Bug: 2950714
Change-Id: I3110369c085f89ee1e8f7392a9a04a6b9e377ed4
2010-08-26 12:03:17 +09:00
Tadashi G. Takaoka
05d1904ed7
Refactor SwipeTracker to top level class
...
Bug: 2910379
Change-Id: If0ef09d8b0e7ca1c62b4c5a31bcaa620664868f2
2010-08-25 17:21:43 +09:00
Tadashi G. Takaoka
f4271e51e7
Refactor key repeating related code
...
This change encapsulates mInKeyRepeat (former mRepeatKeyIndex) into
UIHandler class. Also this eliminates mCurrentKey and mLastTapTime
dependency from repeatKey method.
Bug: 2910379
Change-Id: I9351a558be2ebc04de4ebb0d323af4be33bd470c
2010-08-25 12:33:46 +09:00
Tadashi G. Takaoka
8ee1321264
Refactor long press related code
...
This change eliminates mCurrentKey dependency from openPopupIfRequired
method. Also slightly cleanup onModifiedTouchEvent.
Bug: 2910379
Change-Id: I90c9b39c46c0bb32ecc6588abfc49eb60315f54c
2010-08-25 12:08:20 +09:00
Tadashi G. Takaoka
edadd2661b
Merge "Refactor onModifiedTouchEvent of LatinKeyboardBaseView" into gingerbread
2010-08-24 18:27:47 -07:00
Tadashi G. Takaoka
8b0cb128be
Refactor onModifiedTouchEvent of LatinKeyboardBaseView
...
This change simplifies onModifierTouchEvent to focus on handling
motion event related to a key event.
Other refactoring will follow in order to support multi touch.
Bug: 2910379
Change-Id: I036be64168d951a535600a7910b36bc109f88490
2010-08-25 10:17:14 +09:00
satok
525141a402
Clean up LatinIME java
...
- remove unused code
- add @Override
- change the inappropriate cast
Change-Id: Ib25b4939e5b4273794ab0f6349776b5b62d89894
2010-08-24 12:40:00 +09:00
Ken Wakasa
78c4611719
Fix LatinIME crashing due to crash in Contacts DB
...
bug: 2895391
Change-Id: I3a0628942b74556f8b600b63ebc5d808fb2f0abd
2010-08-20 20:12:39 +09:00
Ken Wakasa
17dc363a63
Fix an NPE found in KeyboardSwitcher.isAlphabetMode()
...
Change-Id: I03d3d9b25147632d25c1502f796acad4cdaeb239
2010-08-20 18:28:22 +09:00
satok
979f869096
DO NOT MERGE. Backport LatinIME from master to Gingerbread
...
TODO: Cleanup will follow.
Change-Id: I4a68ba9f2f55760aa24187f1f13fdfa8a0b70963
2010-08-20 14:37:03 +09:00
Ken Wakasa
6511376ff6
am 65582531: Fix a bug in backspace handling for the "Tap again to save"
...
Merge commit '6558253160e2039c87f424bd814f402ecd31de3b' into gingerbread
* commit '6558253160e2039c87f424bd814f402ecd31de3b':
Fix a bug in backspace handling for the "Tap again to save"
2010-08-05 16:37:47 -07:00
Ken Wakasa
6558253160
Fix a bug in backspace handling for the "Tap again to save"
...
bug: 2889273
Change-Id: I0f317e203f368f5f47738154a6dee0f556d56148
2010-08-06 01:14:09 +09:00
Amith Yamasani
b1068051c7
am f0296426: Don\'t auto-select the system language in IME language selection screen.
...
Merge commit 'f02964264f196447b03a88591a2964b67c318718' into froyo-plus-aosp
* commit 'f02964264f196447b03a88591a2964b67c318718':
Don't auto-select the system language in IME language selection screen.
2010-05-04 12:05:33 -07:00
Amith Yamasani
f02964264f
Don't auto-select the system language in IME language selection screen.
...
Fixes http://b/2650378
On entering the selection screen, don't add the system language in addition
to other selected languages.
Change-Id: Id7a3b45df39a8493d17be668029eee139bf00ff3
2010-05-03 14:13:34 -07:00
Amith Yamasani
335a0c5511
am 938c1782: Fix for hanging extension keyboard. Bug: 2593488
...
Merge commit '938c178215d38c6f085b32b0994598f9e8bc5ab5' into froyo-plus-aosp
* commit '938c178215d38c6f085b32b0994598f9e8bc5ab5':
Fix for hanging extension keyboard. Bug: 2593488
2010-04-15 16:48:13 -07:00
Amith Yamasani
938c178215
Fix for hanging extension keyboard. Bug: 2593488
...
Sometimes the only motion event that is above the keyboard is the UP
event. In that case we can't expect one more event to come that will
dismiss the extension. So don't show the extension if the only Y < 0
event is an UP event.
Change-Id: I04a8b742dea03cd700006dc5df740ac7d9620c0b
2010-04-15 14:44:22 -07:00
Valentin Kravtsov
b98c17a7a9
am f9d0f3a8: Fix for: For Voice IME busy circle displayed below waveform
...
Merge commit 'f9d0f3a81ad4220672f90a8799a79e63e53c46d3' into froyo-plus-aosp
* commit 'f9d0f3a81ad4220672f90a8799a79e63e53c46d3':
Fix for: For Voice IME busy circle displayed below waveform
2010-04-14 12:01:40 -07:00
Valentin Kravtsov
f9d0f3a81a
Fix for: For Voice IME busy circle displayed below waveform
...
bugfix for: http://b/issue?id=2568048
[Sapphire] ]For Voice IME busy circle displayed below waveform.
STEPS TO REPRODUCE:
1. launch Calendar . -> Select menu -> New Event.
2. Switch soft keyboard to Number view.
3. Tap on mic symbol of to speak
4. Speak any word to enter in Text field .
5. Verify busy icon ( circular icon ) displayed in "working " screen.
EXPECTED RESULTS:
Busy circle should be displayed in center of waveform
OBSERVED RESULTS:
Busy circle displayed below waveform
ADDITIONAL INFORMATION:
Spoken word is enetering in text field correctly.
Change-Id: I043ce6a985f526cade0e9f63525619a92d918485
2010-04-12 21:02:27 +01:00
Amith Yamasani
97f4b4ad34
am c2b8c16b: Possible fix for monkey bug: 2529350
...
Merge commit 'c2b8c16bdf392c81785031483d21740c5e883046' into froyo-plus-aosp
* commit 'c2b8c16bdf392c81785031483d21740c5e883046':
Possible fix for monkey bug: 2529350
2010-04-06 12:39:02 -07:00
Amith Yamasani
4f695092a2
am 3e0c82ec: Fix for 2568664 : Slide gesture on spacebar is not reliable anymore
...
Merge commit '3e0c82ec80a69c4adbd60546c3c56c83c43ec7eb' into froyo-plus-aosp
* commit '3e0c82ec80a69c4adbd60546c3c56c83c43ec7eb':
Fix for 2568664 : Slide gesture on spacebar is not reliable anymore
2010-04-06 12:38:59 -07:00
Amith Yamasani
c2b8c16bdf
Possible fix for monkey bug: 2529350
...
Don't try to show the extension if the main keyboard is not showing.
Change-Id: Ic3368f48f8973dedfb1ab8f4644b0766b52aed1b
2010-04-06 11:22:19 -07:00
Amith Yamasani
3e0c82ec80
Fix for 2568664 : Slide gesture on spacebar is not reliable anymore
...
This was due to the multi-touch error correction code that was recently
added. Make sure that one of the move points is in the upper 3 rows
to allow for fast swipe on spacebar.
Change-Id: I420bdb83a4cd8833c4158bc37a2d806b8c83b948
2010-04-06 11:14:03 -07:00