Commit Graph

55 Commits

Author SHA1 Message Date
satok
88b75f740a Tweak ime settings
Bug: 5282046
Change-Id: I8ef3913fc46c00288ac13fbc2a2d447efd531382
2011-09-13 14:46:56 +09:00
satok
b9509d046c Update the current IME label
Bug: 5069983
Change-Id: I84d6ac7c39b5f3a035aa04c35065280a14024c47
2011-09-12 19:14:16 +09:00
satok
ae70ee4949 Sort subtypes in subtype enabler settings
Bug: 3377334
Change-Id: Ie8dab8f6fb52610e783803cb902b032508d2b250
2011-09-06 17:16:32 +09:00
satok
a849f9f74b Merge "Support automatic language" 2011-09-05 04:04:17 -07:00
satok
94bc76f1aa Support automatic language
Bug: 5057886

Change-Id: I7e18676622750c9b7299ab6a44856ad1aaca1b49
2011-09-05 19:53:26 +09:00
satok
5efb531d2d Tweak IME settings
Change-Id: I09bb9994737b29765ea7b13119ee2b9b3fb076cc
2011-09-05 19:16:06 +09:00
Jean Chalard
4e658ba969 Fix an NPE
It seems the user dictionary fragment does not tolerate being
called by name, and needs to be called only by action.

Bug: 5242122
Change-Id: I6b954db549b98d4d0076fdce8e00d336fc18b6e3
2011-09-02 21:44:12 +09:00
Jean Chalard
dbb3afd7ed Merge "Update settings wording for ICS" 2011-09-01 04:40:13 -07:00
Jean Chalard
8ba5c42b21 Update settings wording for ICS
Bug: 5069983
Change-Id: I882aded067e8cc75197f6d3fa5c11388368b6996
2011-09-01 20:38:52 +09:00
satok
14413a02e3 Add a functionality to disable the spell checker
Change-Id: I2c2663e8232c5ba4b7499fd17a173c8c65252cf3
2011-08-31 21:15:53 +09:00
satok
8ff6222a91 Fix the visibility of preferences in the input method settings
Bug: 5129385

Change-Id: I1b01712995fd77e13b0e5935b8000ec09be489e4
2011-08-31 20:11:27 +09:00
Jean Chalard
427a7ba104 Fix a crash in settings if a hard keyboard is attached.
For some reason the type of the options was wrong, but
otherwise it seems to work.

Bug: 5004175
Change-Id: I668b8bba1933aee6ad1243e446bd66c479bd6944
2011-08-29 19:21:23 +09:00
satok
ef283b41b0 Add debug code to spell checker settings
Change-Id: Iab3bee33e4d6bd19c30e20591d6a2f08e1cff157
2011-08-26 18:01:07 +09:00
satok
e36f1c581b SpellChecker settings
Change-Id: I0d7af408d2b70e8e593e490484526dd8fffdc725
2011-08-26 16:03:19 +09:00
satok
16c3e74d72 Fix the title of the input method subtype enabler
Bug: 5097548
Change-Id: If01e13bd1ab7ac851b613450018f68f7f42f1e14
2011-08-12 12:46:27 +09:00
Ken Wakasa
1c2b175d7a Prevent crashes when IME's settings activity is missing
bug: 5029444
Change-Id: I5c045123dbca2581f2e7d9f602e7511398b83504
2011-08-10 16:58:53 +09:00
satok
ffc731207f Add a way to choose the current spell checker
Bug: 5057977

Change-Id: I86366d6be0d59dfb7a80431fcc87f55b1f27a014
2011-08-02 15:57:13 +09:00
satok
3bca416061 [step8] Use api to get the current spell checker
Change-Id: I082785314710af2c8db33c2c18050651a0302b62
2011-07-26 08:01:54 +09:00
satok
c0b569c317 [step6] Apply api and fix crush in spell checker settings.
Change-Id: Ie430ca7ff4147c530aae895d1d13a40a01c63b98
2011-07-26 06:51:46 +09:00
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