Commit Graph

137 Commits (436834bff768466f46ada7a50b7c8e4b9d0e0356)

Author SHA1 Message Date
satok 23726dbdca Refactor of SuggestionSpanUtils
Change-Id: Id266062831e8c28a346e129168b883ee3d5622bf
2011-06-17 18:25:36 +09:00
satok 064e21bb1d Remove the original text from SuggestionSpan
Change-Id: If70d32cad980b46ba77f399606d7ab3957c5d096
2011-06-15 18:32:07 +09:00
Ken Wakasa a88a5eddbc Revise hasMultipleEnabledIMEsOrSubtypes()
bug: 4559308

Change-Id: If831c0827dbf030eaf1d241ebfa60d4e5029ae63
2011-06-07 22:22:15 +09:00
Tadashi G. Takaoka c25e07d212 Fix web input type judgment
Bug: 4490948
Change-Id: I71efb8f5784970f1d2a94da1d2eb852f7f11885f
2011-05-30 19:10:25 +09:00
Tadashi G. Takaoka 9e2d810dc5 Remove web mode and add webInput boolean
Bug: 4490948
Change-Id: I6fe23c9ab4918eab6806cc621c4d6821c2e1baf9
Cherry-Pick: I4cd1af0b
2011-05-27 21:47:14 +09:00
satok ea9098ca69 Add SuggestionSpan suggestion picked notification receiver
Bug: 4443922

Change-Id: I8a9dc5077ae06c6d0c39fd7fdd823fc4f4d05f45
2011-05-26 19:47:29 +09:00
satok 0d4757bb0b Disable the legacy recorrection functionalities if the suggestion span is supported
Bug: 4346045

Change-Id: Ib4594a9073b961038564bbcd601f9c290d153d5d
2011-05-25 18:37:48 +09:00
satok 1fef530ec7 Put SuggestionSpan at commitText
Bug: 4346045
Change-Id: Iaabdb8a148b2601bb9cbc2b08509adac164105a4
2011-05-25 17:48:31 +09:00
Tadashi G. Takaoka 5979673c9e Merge "Fix reflection method invokation" 2011-05-23 19:27:11 -07:00
Tadashi G. Takaoka 8e26dfeaae Add missing IME_ACTION_NEXT
Change-Id: I377042c1750dd97b922bcf40bffb4046e023f6bb
2011-05-24 11:22:25 +09:00
Tadashi G. Takaoka f23f00a13a Fix reflection method invokation
Either of Method.invoke, Field.get and Field.set can accept null as
receiver.

Change-Id: I4539dcc95a794f6ee84cf4e7aabf4e8f0206728f
2011-05-24 11:15:18 +09:00
Jean Chalard 0c8d5ca023 Fix Eclipse warnings.
This change is only there to fix warning issued by Eclipse.
It should have absolutely no impact on the program logic.

Change-Id: Ie0e242ac6c167297d33de19902340b0f6ecae9e1
2011-04-26 16:39:45 +09:00
satok 49a11524fc Fix language selection settings
Change-Id: I99e2039579a5bd606a8e698cdee2739465b998bc
2011-04-21 19:46:06 +09:00
satok 015b21cf52 Tweak voice layout for Dogfood
Change-Id: Ic51a044901a63c4cec907163e35cd5e458f36dde
2011-04-20 15:13:57 +09:00
satok bc3dba451a A fix for handling dummy voice subtypes
Change-Id: I75d4d1625e0925d01ae84c9577e15087d83e4191
2011-04-18 19:32:40 +09:00
satok 6d9021527a Fix for language bar switching
Change-Id: Id3974642b62b012968c537eff7c1a7ee37e2def2
2011-04-14 12:34:48 +09:00
Tadashi G. Takaoka dc3d4e8c06 Merge "Fast key preview" 2011-04-13 03:12:06 -07:00
Tadashi G. Takaoka 7a3d3ae17f Fast key preview
Previously the key preview was implemented by PopupWindow.  The key
preview popup window would be dismissed and shown each time the key
was released and pressed.  It turned out that it was taking several
milliseconds.

This change implements the key preview by a simple TextView which will
be layout-ed at absolute coordinates within the screen FrameLayout.
And dismissing and showing the key preview is implemented by the
TextView's visibility.

This implementation needs careful coordination of candidates.xml
layout and LatinIME.onComputeInsets to control suggestion strip
visibility.

Bug: 4179964
Change-Id: Id6347cb35b91eb14ab20dd2f312e58b54b6625a7
2011-04-13 18:59:33 +09:00
satok 88fc9d4418 Support language bar swich for InputMethodSubtype
Change-Id: Ie49f0c1c7aea135331dc1d4a635197b3f4a96e93
2011-04-13 17:05:24 +09:00
satok 44783b6965 Merge "Enable VoiceInput even if there is no shortcut subtype supported" 2011-04-01 00:35:57 -07:00
satok 7429009838 Enable VoiceInput even if there is no shortcut subtype supported
Change-Id: I1d455348f56d73ecb942f22c2bbd03f240b489a6
2011-04-01 16:12:06 +09:00
satok 6f18a1fbcc Disable Recorrection when APIs are not supported.
Change-Id: I3b8fdc149d350215fd4852a50456824fe3fabe0b
2011-04-01 16:09:06 +09:00
satok cf383a8175 Fix a NPE in InputMethodManagerCompatWrapper
Change-Id: Ia7c9b7135ba38a8df29464f7776b51d412f71acb
2011-03-25 20:01:24 -07:00
satok 9115dd2723 Fix some compat bugs and add VoiceInputLoggerCompatUtils
Change-Id: I54ed0853ed4423704a300977d7880678e066a6fb
2011-03-25 18:38:20 -07:00
satok f1a81f5eb3 Move a debug utility function to EditorInfoCompatUtils
- imeOptionName

Change-Id: I7a7ea9bee410cedc0ef9b3d2aa4df8260d7f6a35
2011-03-25 12:56:57 -07:00
satok e9957752bc Added InputTypeCompatUtils
Also Moved utilities related to InputType to InputTypeCompatUtils

Change-Id: Iab8ff5389f624f2abe627ece2acb156b0e1285ef
2011-03-25 00:46:40 -07:00
satok b2707856ab Added InputConnectionCompatUtils and EditorInfoCompatUtils
Change-Id: Ie69d5e90c4ee978d3ecb40b68e6466082569ca7a
2011-03-24 22:57:58 -07:00
satok 5a41db8814 Merge "Moved a functionality of setOverScrollMode to InputMethodServiceCompatWrapper" 2011-03-24 22:41:04 -07:00
satok a3ef6cde21 Moved a functionality of setOverScrollMode to InputMethodServiceCompatWrapper
Change-Id: Ie473c9fced9f0a8da5643390b44aa4b86128396d
2011-03-24 22:02:21 -07:00
satok 01829b8847 Merge "Added VibratorCompatWrapper" 2011-03-24 21:49:00 -07:00
satok f000bdc696 Merge "Moved a functionality of setting touchableRegion to InputMethodServiceCompatWrapper." 2011-03-24 21:28:25 -07:00
satok 699e429f19 Added VibratorCompatWrapper
Change-Id: I7640f051873f42aa15337edc718ac95ec1c51698
2011-03-24 21:25:22 -07:00
satok 24119dfd41 Moved a functionality of setting touchableRegion to InputMethodServiceCompatWrapper.
Change-Id: I8b9fe507885ef5ae7cb09db93a977e23b1bbd0db
2011-03-24 13:27:45 -07:00
satok 2e36fb68d0 Added InputMethodInfoCompatWrapper
Change-Id: I5f2970e986afbe3b0b24ccf819f57f524e83ef3f
2011-03-24 12:24:50 -07:00
satok 10dd34de0f Add InputMethodServiceCompatWrapper for moving the callback from LatinIME.
Change-Id: If6b0180c63738e5e78a20fe5b938ef50d62865d6
2011-03-23 01:12:27 -07:00
satok 610f1dc855 Use reflections for classes related to InputMethodSubtype
Change-Id: Ica53ce879c2b4c5eb47f757fb788a795a881c30e
2011-03-18 22:49:57 -07:00
satok 2cff4d7e4a Added CompatUtils for starting a language selector
Change-Id: I158414efaff43d0c6abe1f9af83ed3425992dfb9
2011-03-18 12:33:04 +09:00