Commit Graph

136 Commits (9ecad8c2e8571ece6f3f7fbb19ceda5be7866cf0)

Author SHA1 Message Date
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 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 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
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
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 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
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 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
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
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
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 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 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 4ab730dbd3 Add a functionarity to handle Subtype
Change-Id: Ic6055ba218b64f4276e3db99a435f546c3990ee5
2010-11-19 08:30:02 +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
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 6c92ee127d Refactor symbol key state into KeyboardSwitcher
Change-Id: Idce4e9bf070b08b8a930fd8e800df9c4d8829f8f
2010-11-16 01:15:16 -08: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 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 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 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 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 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