Commit Graph

286 Commits

Author SHA1 Message Date
satok
e077d2b607 [Step 1] Add preference activities for spell checkers
Bug: 5057977
Change-Id: I8f2f3d480325029c794c058beed2475033a617f9
2011-07-25 09:40:36 +09:00
satok
dbaae5ad17 Merge "Allow applications to set the title of the subtype enabler Bug: 5058105" 2011-07-21 19:41:03 -07:00
satok
5e9c5e7bcf Allow applications to set the title of the subtype enabler
Bug: 5058105

Change-Id: Id5e4ccbdf4f830ce5c67232f530d73679d9e038f
2011-07-22 07:48:29 +09:00
Jean Chalard
410e75b15b Remove the "user dictionary" settings entry if none
When the user dictionary service is not present or disabled,
the settings application should not be showing an entry to use it.

Bug: 5024166
Change-Id: Ic57d67eb03cf54e2c411fb0909c2a5d23d3e1fd7
2011-07-21 20:30:17 +09:00
Jean Chalard
ea41e087f9 Do not crash when the user dictionary service is disabled.
This still does not remove the UI. It only prevents the Settings
application from crashing.

Bug: 5024166
Change-Id: I6e8c0a8953af6c02273de2a881e85a5248cb8bd6
2011-07-21 19:08:04 +09:00
satok
078b435743 Change IME picker dialog from Activity to Broadcast
Change-Id: I7bc3c3aa5544f3cb170703d6e71bad1bd54545b8
2011-07-12 10:39:37 +09:00
satok
4c5fdcc3f7 Update settings for aux imes
Change-Id: I7528241eb0882fa5fae2a80e380375683cce2075
2011-07-04 17:47:11 +09:00
satok
3fa13775e8 Implement new UI for IME settings
Bug: 4645160

Change-Id: If9046e7e96732f6ee4c0594cc66622b6462bdec9
2011-06-30 20:13:29 +09:00
satok
fb0fd42fa0 Add an activity to show an ime switch dialog
Bug: 4671417

Change-Id: I8e29dbfb3d0bbb9270888ac757f53542ce658ba9
2011-06-20 21:39:06 +09:00
satok
f0ae329740 Use getDisplayName for the name of InputMethodSubtype
Change-Id: I9ad7790bc36ff2950e0238cae8ce3b785bb8eaa1
2011-06-08 18:44:52 +09:00
Jean Chalard
71ad1f4e3e Change the interface for user dictionary multiple locales.
The user dictionary interface now works the following way:
* Locale gathering
- The current locale is always considered as present, even if
there are no words for it in the user dictionary.
- Any locale for which at least one word is registered is
considered present.
- A null locale is considered a valid locale meaning "all
languages".
- If no words are present at all, since the current locale is
always considered present, the system will consider there is
exactly one locale present - and allow editing this user
dictionary.

* Options display
- If only one locale is present, the interface is the same as
for Honeycomb: display a "User dictionary" PreferenceScreen
that brings up the dictionary editor interface.
- If there are several locales present, then the user
dictionary option will jump to a screen that will display a
list of available locales.

* Word insertion
- Inserting a word will always use the locale of the currently
displayed dictionary. If it is the "all languages" null
pseudo-locale, that will still hold and the word will be added
to this pseudo-locale.

It is worthy to note that the "All languages" locale is only
accessible if for some reason there are already words with a
null locale in the database before this is installed. For
example, if an application has inserted some words that way,
or if the user inserted words with a previous version of the
settings application.
On a freshly flashed device, barring the use of third-party
application that would add such words, it is not possible to
access the "all languages" locale any more because there is
no interface to do it, though it works if such words are
inside.

Bug: 3479738
Change-Id: Iba323e5aeb3f4f575896903a4e8bef6ffb3ea306
2011-05-18 12:54:20 +09:00
satok
722ea03231 Fix NPE in InputMethodAndLanguageSettings
Bug: 4422368

Change-Id: I495eb8de9928922b18b37c6658bd8fd8b4ee3e1a
2011-05-14 04:56:12 +09:00
Jean Chalard
c087e35d7f Enable showing the user dictionary in several locales.
Bug: 3479738
Change-Id: Ic57a5675c44c36ad255f9927da151ad6a2a8c44c
2011-05-11 22:26:32 +09:00
satok
85819c8c32 Fix a bug which can't enable mutiple non-preinstalled IMEs at a time
Bug: 3459430
Change-Id: Ieee340a92862047135a03c131517b927e1ed2f5e
2011-02-16 19:04:29 +09:00
satok
d7973d1c0a Do not reset IME Subtype in InputMethodConfig fragment
Bug: 3415292

Change-Id: Ic9a27982402c6bfd747960d32cce13f3856545da
2011-02-04 12:29:17 +09:00
Daisuke Miyakawa
649b9f19e1 Disable left pane of "Input languages" conditionally.
The screen is available from LatinIME's setting button, in which
we don't want the left pane, while we want the left pane when
launched as part of Settings app.

Bug: 3383738
Change-Id: I62e901e7cc14053742ae35829d82c20e432a358f
2011-01-31 22:12:01 -08:00
satok
f2d812a5d4 Merge "Disable the checkbox even if there is a hard keyboard" into honeycomb 2011-01-20 18:25:15 -08:00
satok
c080c0488e Disable the checkbox even if there is a hard keyboard
Change-Id: I9ef8ce273fd72327089ada1133d923715645a141
2011-01-21 02:35:59 +09:00
Ken Wakasa
5a813ba7f9 Refine InputMethodInfo API
bug: 3370297
Change-Id: Ifaaad399586ee5b842f9b7762281d76e7969d24c
2011-01-21 00:46:26 +09:00
Tadashi G. Takaoka
9f7320132b Use android.provider.Settings.EXTRA_INPUT_METHOD_ID
This change also fixes the action name of
android.settings.INPUT_METHOD_SUBTYPE_SETTINGS.

Change-Id: Ie08e7f9144f8ff8faa8e7d8edf63fbd59421b18c
2011-01-21 00:13:33 +09:00
Tadashi G. Takaoka
d38896c7d6 Rename action to ACTION_INPUT_METHOD_SUBTYPE_SETTINGS
Change-Id: I2aa16ecfffe3b575132437a9e3a071cd1c747e28
2011-01-20 17:58:29 +09:00
satok
517c10dd9c Always clear hashcodes when input method settings is changed
Change-Id: Ia2a5d3a856f0ce9e1c81052397e3d704a3b6b396
2011-01-20 00:07:18 +09:00
satok
062c3c3c3d Clear current input method when a current ime was disabled.
Change-Id: Iade2c025e686bce47a94daa96bc0787431fafa01
2011-01-17 16:45:03 +09:00
Chia-chi Yeh
e5b5f6ebe0 Merge "Fix PhysicalKeyboardSettings by merging it into InputMethodConfig." into honeycomb 2011-01-14 01:21:12 -08:00
Chia-chi Yeh
71966ce931 Fix PhysicalKeyboardSettings by merging it into InputMethodConfig.
Change-Id: I00deeda813f438f9eb2b7932e3b4d273be2e1ab8
2011-01-14 17:12:01 +08:00
satok
74a5414b3c Automatically turn on "Use system language" when no subtypes become selected
Bug:  3327257

Change-Id: I99a8c2769957963db99fa72be6cc76cc9cd97abf
2011-01-11 23:19:01 +09:00
satok
1c58c15e7a Add a preference for selecting subtypes automatically
bug: 3142286

Change-Id: I9129df7671252d7ccc611a2892a4ba96e1dacdaf
2010-12-28 20:13:26 +09:00
satok
10d2e1bc2f Fix a null pointer exception when disabledSystemIMEs is null.
Bug: 3298244

Change-Id: Ifb3349def052bd50633b0cfe04e5636e22115245
2010-12-20 12:30:25 +09:00
satok
c88a7ff1ef Implement new design for settings of InputMethods
Change-Id: I82392e4a028abe2d588622a7e89fd035966f603a
2010-12-17 18:32:36 +09:00
Amith Yamasani
b44161f3ed Move Voice input/output settings to Language & keyboard
Bug: 3267042
Change-Id: I127a2e9d11fb70283812e68979bdde3976e32cf9
2010-12-10 13:20:52 -08:00
satok
103cc7da5f Call showInputMethodPicker instead of showInputMethodSubtypePicker
- because showInputMethodSubtypePicker will be removed.

Change-Id: I01086d29663a14f4ebf9d8dfa9376735af2e193d
2010-11-25 09:37:48 +09:00
satok
5fd39cafe1 Not to set IME when the current IME was disabled, because framework will find an applicable IME when the current IME was unset.
Bug: 3186000

- This enables us to share the code between Settings and the framework.
- Removed the parameter for lastImeTicked because an applicable IME can be found in the framework.

Change-Id: Icfb6168c5a22506f225bfe58425adeb540835456
2010-11-13 10:08:09 +09:00
satok
6ea661863d Change API for input method subtype's mode from resource id to String
Change-Id: Ibf053d1747337cce3829288c6a47782f4dee9522
2010-11-05 11:44:36 +09:00
satok
23bdc18843 Reset selected InputMethodSubtype when the checkbox for the selected InputMethodSubtype was disabled
Change-Id: I04586cb4935b34d03af5e4dac54cfd000474af16
2010-11-04 11:07:08 +09:00
satok
3de7021756 Save and update enabled Subtypes in InputMethodAndSubtypeEnabler
Change-Id: I01ce22b7cc17457dde34967957a27658067ec674
2010-11-02 16:00:06 +09:00
satok
0417e40947 Move classes related to input method to com.android.settings.inputmethod
- Updated proguard.flags

Change-Id: I198761b0f0ad5288c8c807a7a3c2e965731fcee5
2010-11-01 19:07:44 +09:00