summaryrefslogtreecommitdiffstats
path: root/src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java
Commit message (Collapse)AuthorAgeFilesLines
* Fix NPE in Settings -> Language & input -> Default -> Setup inputDanny Baumann2013-04-211-4/+5
| | | | | | | | | | | methods If the InputMethodAndLanguageSettings fragment is launched in IME-only mode, it removes most preferences, so we need to null-check them before use. Change-Id: I297cc9c6885f62ed6ff65937ef5da401ab7cd271 JIRA:CYAN-896
* inputmethod: Fixup remove stylus preference for non stylus devicesfuzz2013-04-131-3/+8
| | | | | | | | | | | This commit included following changes * Move show stylus icon checkbox to Pointer Settings Category * Fixup issues stylus preference doesn't remove if not supported * Improve the code remove stylus preference if not supported * Remove an unnecessary variable introduced on http://review.cyanogenmod.org/#/c/33774/ Change-Id: I0f2e1b5cda00033915bb25902ce970f9eda52048
* Stylus gestures features (2/2)masiullah2013-04-121-0/+8
| | | | | | | Forward-port of https://github.com/CyanogenMod/android_packages_apps_Settings/commit/b3d850521e0042b85422903c70130f350f57b87a to CM-10.1 Change-Id: I0ab78f1129d2d04b0af21e9b38da027dfe3d1295
* Fix up hide Volume key cursor controlfuzz2013-02-191-2/+2
| | | | | | | | | I'm sorry but I broke the code while review had been in progress between http://review.cyanogenmod.org/#/c/26310/ and http://review.cyanogenmod.org/#/c/32108/ Now Volume key cursor control should be hidden as intended. Change-Id: I697984f25e6a53af4ee0c95a9951a31c5116eb91
* Add ability to hide volume rocker preferencesfuzz2013-02-181-6/+10
| | | | | | | | also make the config_show_volumeRockerWake config to false see more details: http://review.cyanogenmod.org/#/c/26310/ Change-Id: Id885aa423074b3e3fb871716560837a183357cac
* settings: Add option to toggle the pointer icon when using stylusSteve Kondik2013-01-031-0/+12
| | | | Change-Id: Ib9c22ecb05cc698ead5bfffa34d2a2ffa9c21e13
* Port "Option to control cursor in text fields using volume keys (2/2)"Konsta2012-12-151-0/+19
| | | | Change-Id: I8dad625fd0fa7c56111814ef6b950bd04f2460ae
* Settings: Fix NPE when CM IME switcher is disabledTakazumi Matsumoto2012-11-281-3/+13
| | | | Change-Id: I8c1dc5874accc6d1340dc46a58867d97f708aeb7
* settings: port ime selector notification toggleRick C2012-11-261-1/+12
| | | | | | framework changes already present Change-Id: Iffd7cf5c3eb7368974e792194e9ebe8a75ca35b7
* am 5b7a8204: Merge "Show only the language if there\'s only one locale for ↵Amith Yamasani2012-06-131-4/+32
|\ | | | | | | | | | | | | the language." into jb-dev * commit '5b7a8204d875c901782ff482b68fde8da7a0081f': Show only the language if there's only one locale for the language.
| * Show only the language if there's only one locale for the language.Amith Yamasani2012-06-131-4/+32
| | | | | | | | | | | | | | | | If the system has only one instance of that language, then only show the language without the country name. Bug: 6522572 Change-Id: I1e99182b1c669b200090f6c360bb902376b63ab0
* | Swap start/stop of SettingsObserver and InputDeviceListenerJean-Baptiste Queru2012-06-121-2/+2
| | | | | | | | Change-Id: Ic6b7bab860f71889a6ec476ccab1e83d2efd0e64
* | resolved conflicts for merge of 051f46d7 to jb-dev-plus-aospJean-Baptiste Queru2012-06-121-3/+15
|\ \ | |/ |/| | | Change-Id: I73165a3d77318cbb0271e0d5c64cc49caad8f693
| * Unregister ContentObserver in InputMethodAndLanguageSettings classShuhrat Dehkanov2012-06-131-3/+15
| | | | | | | | | | | | | | | | | | | | | | | | A content observer (SettingsObserver) is registered when InputMethodAndLanguageSettings is created, but it is never unregistered. Added resume() and pause() methods to SettingsObserver inner class to register/unregister the content observer when InputMethodAndLanguageSettings is resumed/paused. Change-Id: I6d4cc2625a5fd8435967d930f46e8fe86eda4714 Signed-off-by: Shuhrat Dehkanov <uzbmaster@gmail.com>
* | Fix comparison of device source bits.Jeff Brown2012-05-301-2/+1
| | | | | | | | | | Bug: 6576743 Change-Id: I123307defc32a84a965590fbded95c6997260675
* | Add UI to select multiple keyboard layouts.Jeff Brown2012-05-201-8/+40
| | | | | | | | | | Bug: 6405203 Change-Id: I27ca4630aebcb39b83298d37d8fb3f4ef0080317
* | Add support for grouping keyboard layouts by collection.Jeff Brown2012-05-171-1/+1
| | | | | | | | | | Bug: 6405203 Change-Id: I458c4976562ecea2fa03d96258ff28ebbdc95294
* | Cut a helper method to increase encapsulation.Jean Chalard2012-05-091-4/+4
| | | | | | | | Change-Id: Ie47503a99d455f7266e281914e92ed680b993551
* | Fix a janky transitionJean Chalard2012-05-081-0/+2
| | | | | | | | | | Bug: 6026080 Change-Id: I75bd244b2b09c371805a67057d2a9c45dc12f3db
* | Add label for default keyboard layout.Jeff Brown2012-04-171-0/+2
| | | | | | | | | | Bug: 6110399 Change-Id: I2431b99884cbd01de32f8cd6c14a3afbd18b5020
* | Add setting to redirect vibrator to game controller.Jeff Brown2012-04-131-6/+43
| | | | | | | | | | Bug: 6334179 Change-Id: I62c9c163aa4ee2c88286daee77641418869a1dab
* | Use new input device listener API to refresh keyboards.Jeff Brown2012-04-131-6/+28
| | | | | | | | | | Bug: 6110399 Change-Id: Ibb0bbeb40af2ee7204e4682bc7493262407fd83f
* | Update use of input manager API in settings.Jeff Brown2012-04-101-6/+3
| | | | | | | | Change-Id: I7aa033df8b5eec69cc6002b0bcc20b1d9902e4e0
* | Add new settings UI to select keyboard layout.Jeff Brown2012-04-051-47/+106
|/ | | | | Bug: 6110399 Change-Id: Ib2758bdcdd6b271be402f46c56d41619dc7aecb9
* Update the current IME labelsatok2011-09-121-1/+40
| | | | | Bug: 5069983 Change-Id: I84d6ac7c39b5f3a035aa04c35065280a14024c47
* Fix an NPEJean Chalard2011-09-021-1/+3
| | | | | | | | 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
* Update settings wording for ICSJean Chalard2011-09-011-2/+1
| | | | | Bug: 5069983 Change-Id: I882aded067e8cc75197f6d3fa5c11388368b6996
* Fix the visibility of preferences in the input method settingssatok2011-08-311-0/+1
| | | | | | Bug: 5129385 Change-Id: I1b01712995fd77e13b0e5935b8000ec09be489e4
* Fix a crash in settings if a hard keyboard is attached.Jean Chalard2011-08-291-1/+1
| | | | | | | | For some reason the type of the options was wrong, but otherwise it seems to work. Bug: 5004175 Change-Id: I668b8bba1933aee6ad1243e446bd66c479bd6944
* [step6] Apply api and fix crush in spell checker settings.satok2011-07-261-2/+5
| | | | Change-Id: Ie430ca7ff4147c530aae895d1d13a40a01c63b98
* [Step 1] Add preference activities for spell checkerssatok2011-07-251-0/+6
| | | | | Bug: 5057977 Change-Id: I8f2f3d480325029c794c058beed2475033a617f9
* Remove the "user dictionary" settings entry if noneJean Chalard2011-07-211-1/+6
| | | | | | | | 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
* Implement new UI for IME settingssatok2011-06-301-18/+163
| | | | | | Bug: 4645160 Change-Id: If9046e7e96732f6ee4c0594cc66622b6462bdec9
* Change the interface for user dictionary multiple locales.Jean Chalard2011-05-181-51/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Fix NPE in InputMethodAndLanguageSettingssatok2011-05-141-1/+1
| | | | | | Bug: 4422368 Change-Id: I495eb8de9928922b18b37c6658bd8fd8b4ee3e1a
* Enable showing the user dictionary in several locales.Jean Chalard2011-05-111-0/+59
| | | | | Bug: 3479738 Change-Id: Ic57a5675c44c36ad255f9927da151ad6a2a8c44c
* Clear current input method when a current ime was disabled.satok2011-01-171-14/+0
| | | | Change-Id: Iade2c025e686bce47a94daa96bc0787431fafa01
* Implement new design for settings of InputMethodssatok2010-12-171-159/+57
| | | | Change-Id: I82392e4a028abe2d588622a7e89fd035966f603a
* Move Voice input/output settings to Language & keyboardAmith Yamasani2010-12-101-0/+3
| | | | | Bug: 3267042 Change-Id: I127a2e9d11fb70283812e68979bdde3976e32cf9
* Call showInputMethodPicker instead of showInputMethodSubtypePickersatok2010-11-251-1/+1
| | | | | | - because showInputMethodSubtypePicker will be removed. Change-Id: I01086d29663a14f4ebf9d8dfa9376735af2e193d
* Not to set IME when the current IME was disabled, because framework will ↵satok2010-11-131-8/+1
| | | | | | | | | | | 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
* Move classes related to input method to com.android.settings.inputmethodsatok2010-11-011-0/+265
- Updated proguard.flags Change-Id: I198761b0f0ad5288c8c807a7a3c2e965731fcee5