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