Commit Graph

18 Commits

Author SHA1 Message Date
satok
b9509d046c Update the current IME label
Bug: 5069983
Change-Id: I84d6ac7c39b5f3a035aa04c35065280a14024c47
2011-09-12 19:14:16 +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
8ba5c42b21 Update settings wording for ICS
Bug: 5069983
Change-Id: I882aded067e8cc75197f6d3fa5c11388368b6996
2011-09-01 20:38:52 +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
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
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
satok
3fa13775e8 Implement new UI for IME settings
Bug: 4645160

Change-Id: If9046e7e96732f6ee4c0594cc66622b6462bdec9
2011-06-30 20:13:29 +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
062c3c3c3d Clear current input method when a current ime was disabled.
Change-Id: Iade2c025e686bce47a94daa96bc0787431fafa01
2011-01-17 16:45:03 +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
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