summaryrefslogtreecommitdiffstats
path: root/src/com/android/settings/inputmethod
Commit message (Collapse)AuthorAgeFilesLines
* Settings: move high touch sensitivity setting to DisplayRoman Birg2016-08-121-25/+0
| | | | | | | | | For devices that support this feature, it makes sense to place this under display settings as most people wouldn't look under language. Ticket: CYNGNOS-3250 Change-Id: Ib99f5e8c5f0f2bdae7b5b5f788a364a1d63aa146 Signed-off-by: Roman Birg <roman@cyngn.com>
* Settings : Add multiuser support for CMHardwareDanesh M2016-03-141-15/+12
| | | | | | | | | | - Show button for other users - Use services instead of CMHardware for vibrator and touch sensitivity - Do a one time restore of tunable settings CYNGNOS-1166 Change-Id: I0de8eef6bf73c344ee5789e9650dd96b25b1a6bc
* Settings: Add CMMetricsLogger constants to proper pages.Adnan Begovic2016-01-111-2/+2
| | | | Change-Id: I6e1d0ec2be4c6da51267c163575472827c9c50cd
* Settings: request runtime permissions inside VoiceWakeupRoman Birg2016-01-111-3/+3
| | | | | | | | | | | | | | | If the user has selected a Direct dial shortcut for their voice wakeup action, then the app which launches this intent must hold the dangerous permission CALL_PHONE. So when the user picks an intent which would require this permission, make sure VoiceWakeup requests and grants the permission. Otherwise reset to default. Ref: CYNGNOS-1560 Change-Id: I02e2c7a7d9958a5b15f438687f509802e75db704 Signed-off-by: Roman Birg <roman@cyngn.com>
* Settings: remove voice wakeup link as necessaryRoman Birg2016-01-061-4/+10
| | | | | | | | - Package check wasn't using the package constant - Hide link for secondary users Change-Id: Id3c8269311d5cfabd146af7ce1687cdbdb35a19c Signed-off-by: Roman Birg <roman@cyngn.com>
* Merge tag 'android-6.0.1_r3' of ↵Steve Kondik2015-12-071-1/+5
|\ | | | | | | | | | | | | | | https://android.googlesource.com/platform/packages/apps/Settings into HEAD Android 6.0.1 release 3 Change-Id: If54bacef03fc826fd02ca48db5ef3a25c8fc7127
| * Fix crashes in SettingsJason Monk2015-10-161-1/+5
| | | | | | | | | | | | | | | | Fix problems from unsupported intents being launched through adb. Remove the ones we can, fix the other. Bug: 19634064 Change-Id: Iba0adeb135e76ee70365e5891380ba8b55110c26
* | add Voice Wakeup switchRoman Birg2015-11-131-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Requires CYNGN package to do the actual work. Change-Id: I1c129adf1104dd95d3afb76224af4c9ba2b5db96 Settings: Fix build error after 70f60fa685b1eae960fe3bb25cc85bef9361e288 Change-Id: I6e83391e02fd0e6dc0d050d5a9a7dd6816a1910b Settings: Update voice wakeup icon Change-Id: Ie75e8a41f69097384f3d2eec2503ae4cfe6a2a0b Settings: Hide voice wakeup category when package isn't present Change-Id: I33a34a56b3a1d1ad04b07bde4aec6c3c230fc297 Add metrics category for VoiceWakeup Change-Id: I101729d964f9aca032a9899917b59a035c299ecf
* | Settings : Move System settings to CmSettingsDanesh M2015-11-121-1/+1
| | | | | | | | Change-Id: Id8d5e36c0a61b93d8785a7b9b88a7829c37f66a5
* | HighTouchSensitivity [2/2]: Add Settings preferenceAdrianDC2015-10-301-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Allows the HighTouchSensitivity (Glove mode) value to be saved in the CMSettings provider * Can be used in a device specific service to handle the Glove mode in a way closer to the device's vendor * Changes include : android_packages_apps_Settings cm_platform_sdk Change-Id: If57bbfddbed1324fcb8488ef5a03ff242a128ba3 Signed-off-by: AdrianDC <radian.dc@gmail.com>
* | Settings: Refactor for M changes.Adnan Begovic2015-10-291-0/+7
| | | | | | | | Change-Id: I64da201ca8ac1785c4b5c417ca640dadb7ae2d2b
* | settings: Move CMHW to CMSDKSteve Kondik2015-10-291-22/+22
| | | | | | | | | | | | * Update all references and API usage. Change-Id: If6bda2547bdd251ccf9a04ad0deac7f2fd51fa29
* | Revert "Remove non-functional hardware keyboard options."Michael Gernoth2015-10-291-0/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | The removed options are actually functional on QWERTY-phones and allow users to disable auto-correction, auto-capitalization and auto- punctuation when the hw-keyboard is used. So get these settings back and change the CheckBox to a Switch while doing that. Also add back the search-indexes for the options. This reverts commits 572f90bdf8183e42c522fdf041b20b064ffc8549 and bf55863b41efc3ad29c752f133f8739aac35d103. Change-Id: I4cc37d1c0cde638b50a2ed532c37d031b5ed73d2
* | Settings: Change to CmHardwareServiceScott Mertz2015-10-291-27/+44
| | | | | | | | Change-Id: Iab392aefa9476a2e956a697210f3f7e6426ff815
* | Settings: Add touchscreen hovering supportFranco2015-10-291-1/+26
| | | | | | | | Change-Id: I5e8d607cb7530e4e1addaf545f520f672cdc5c10
* | settings: Add option to toggle the pointer icon when using stylus(1/3)Steve Kondik2015-10-291-1/+14
| | | | | | | | | | | | Forward port from CM-11.0 Change-Id: I43ce881b91f2a7d58acaa3225818997c4e4e364f
* | Stylus gestures features (2/2)masiullah2015-10-292-0/+208
| | | | | | | | | | | | *Forward-port to CM-12.0 Change-Id: I0ab78f1129d2d04b0af21e9b38da027dfe3d1295
* | settings: check if ime switcher pref was remove previouslyJorge Ruesga2015-10-291-2/+4
| | | | | | | | | | | | | | | | | | | | This could happend in tablet devices JIRA: BUGDUMP-20712 https://jira.cyanogenmod.org/browse/BUGDUMP-20712 Signed-off-by: Jorge Ruesga <jorge@ruesga.com> Change-Id: I85c1d6e56f85e3220311aabc68d6532d6ffdf59f
* | Fix NPE in HighTouchSensivityMichael Bestas2015-10-291-5/+12
| | | | | | | | Change-Id: I7c33decbd34da8e57a22b66980a51be8e422a2b4
* | Settings: Add HighTouchSensitivity supportXiao-Long Chen2015-10-291-1/+27
| | | | | | | | | | | | refactored for CM12 Change-Id: I4e55ec992ed7b0241211e0fb36ebc877879b8e89
* | settings: port IME selector notification toggle (1/2)Takazumi Matsumoto2015-10-291-0/+8
| | | | | | | | Change-Id: Idb29f94aa4be51166b24b59930428401ddd7416b
* | Settings : Add hooks for device specific featuresDanesh M2015-10-291-0/+2
|/ | | | | | | | | | Add support for : Devices with bluetooth input peripherals Devices with screen gesture support Devices with a back touchpad Change-Id: Ia4835c69a8ba8fb76597e0ab0540f8ef1ed6e322
* Dont crash if there is no spellcheckerJohan Redestig2015-06-261-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | The fact that isSpellCheckerEnabled returns true does not mean that getCurrentSpellChecker will return non null. By default isSpellCheckerEnabled is true in TextServicesSettings, even when there is no spellchecker service active on the device. The issue can be verified by disabling the Google Keyboard (assuming the GMS LatinImeGoogle is used) in Settings|Apps and later entering Settings|Language & input. Without this patch Settings crashes at that point with the following stack: E/AndroidRuntime(13020): Caused by: java.lang.NullPointerException: \ Attempt to invoke virtual method 'java.lang.CharSequence android.vie\ w.textservice.SpellCheckerInfo.loadLabel(android.content.pm.PackageM\ anager)' on a null object reference E/AndroidRuntime(13020): at com.android.settings.inputmethod.\ InputMethodAndLanguageSettings.onResume(InputMethodAndLanguageSettin\ gs.java:253) E/AndroidRuntime(13020): at android.app.Fragment.performResum\ e(Fragment.java:2096) E/AndroidRuntime(13020): at android.app.FragmentManagerImpl.m\ oveToState(FragmentManager.java:928) E/AndroidRuntime(13020): at android.app.FragmentManagerImpl.m\ oveToState(FragmentManager.java:1067) Bug: 19832033 Change-Id: I65e6d269572e064aa6897807b6611ef947d90211
* Implement default assist app settingXiyuan Xia2015-06-101-8/+0
| | | | | | | | | | | | - Add "None" support to AppListPreference - Add DefaultAssistPreference to manage assist; - Add AppListPreferenceWithSettings to show a settings icon; - Implement DefaultAssistPreference based on AppListPreferenceWithSettings; - Move voice input settings into ManageAssist and implement it based on AppListPreferenceWithSettings; Bug:20210110 Change-Id: If283b8b55a46b428ecfa6e45dc2123292b1d4302
* Making the behavior deterministic when the IME picker is shown.Seigo Nonaka2015-05-072-2/+2
| | | | | | | | | | In the language & input settings, the auxiliary IME subtypes have been hidden since they should not be a default. With Id156c85535a22, now we can explicitly control the behavior of input method picker. Note the this CL should not change any user visible behaviors. Bug: 20763994 Change-Id: I9f797d07ba02363fab58ceb9aecb3cc11fbc407e
* log visibility of viewsChris Wren2015-03-276-2/+38
| | | | | Depends-On: I5b1dccb5d103ece3112acf38889bae16273b092f Change-Id: I116aed2bb805f723a5bf2ec9eb94257de0b4a7b5
* Settings: Remove all unused imports.John Spurlock2015-03-182-3/+0
| | | | Change-Id: Iebfa52cb849d69974c94902b0b020893cf5618a3
* Stop using InputMethodUtils.isValidSystemDefaultImeYohei Yukawa2015-03-171-2/+5
| | | | | | | | | | | | | | | | | | | | | | This is a follow up CL for a recent attempt to minimize the number of default enabled IMEs. - part1: I831502db502f4073c9c2f50ce7705a4e45e2e1e3 - part2: Ife93d909fb8a24471c425c903e2b7048826e17a3 - part3: I6571d464a46453934f0a8f5e79018a67a9a3c845 - part4: I871ccda787eb0f1099ba3574356c1da4b33681f3 In the above changes, InputMethodUtils.isValidSystemDefaultIme was deprecated in favor of InputMethodUtils.isSystemImeThatHasSubtypeOf. With this CL, InputMethodUtils.isValidSystemDefaultIme is not used by the setting app anymore and we can remove that method from InputMethodUtils finally. This is a pure code refactoring with preserving the current logic. Hence no behavior change is intended. Change-Id: Ie96b0d17745735db63eebe6fe1654f32d9b9a170
* Update synonyms and fix some issues related to themFabrice Di Meglio2014-11-061-0/+4
| | | | | | | | | | | | | - update synonyms definitions - fix issue with L release regression for indexing "Backup & reset": was missing the marker interface "Indexable" - fix non working synonyms for "Language & input": their declaration was done in the XML preference file but was not used because the SearchIndexProvider was built "by hand" See bug #17474866 Settings search synonyms needs an update Change-Id: Iceab71a0e3214f3a8ba0dcd77756c3632609c5ce
* Fix bug #15730311 Checkboxes on R side should update to Quantum/Material ↵Fabrice Di Meglio2014-10-151-12/+7
| | | | | | | | on/off switch Per UX request, convert more CheckBoxes to Switches Change-Id: I04712bce4c0a54516d9ecedbb554f403fd6dd9e7
* If a device identifier is specified, bring up keyboard layouts dialog.Michael Wright2014-09-221-1/+10
| | | | | Bug: 17614683 Change-Id: I0c25033d05d482ba45f17b3141b0a8673d0ff4b5
* Always use the LocalePicker's preferred locale names.Elliott Hughes2014-09-091-37/+15
| | | | | | | | | | | | | Without this change we have the odd situation where LocalePicker goes out of its way to avoid saying certain things but then -- as long as there's more than one locale for a given language -- Settings would happily report the name we'd been avoiding. (Either because it's too specific or because it's too sensitive.) Also remove the unused bit-rotted duplicate of the blacklist; even if we needed to access that list directly, we should use LocalePicker's copy. Bug: 17150708 Change-Id: I9bfa0bf9a82bebd29ba45f4cbeaabb4e78570779
* Merge "Settings psuedolocalization fixes." into lmp-devElliott Hughes2014-08-221-10/+1
|\
| * Settings psuedolocalization fixes.Elliott Hughes2014-08-221-10/+1
| | | | | | | | | | | | | | | | | | | | We don't need -c zz_ZZ any more, and LocalePicker now checks the global developer options settings itself. Also remove some dead code now zz_ZY and zz_ZZ are gone. Bug: 17190407 Change-Id: I27f9f5bc8b27457004e7e4996ec76b76a17523eb
* | Disable non-permitted accessibility services and IMEsKenny Guy2014-08-212-3/+20
| | | | | | | | | | Bug: 14469005 Change-Id: I4986f035318854c27ecb92bbe2f0c977d53b6361
* | Remove "Choose Keyboards" settingsTadashi G. Takaoka2014-08-211-9/+0
|/ | | | | Bug: 17109233 Change-Id: Ia3860b12238d9d2233dc270e37a055a9a411b037
* Remove indexes for removed hard keyboard options.Michael Wright2014-08-131-27/+0
| | | | | Bug: 16027438 Change-Id: If668024e3b7073b49142de7e9aae4a46b4969d40
* Fix bug #16958103 android.content.res.Resources$NotFoundException: String ↵Fabrice Di Meglio2014-08-121-40/+8
| | | | | | | | | | resource ID #0x7f080971 - remove the indexing offending part from InputMethodAndLanguageSettings as the strings has been changed - add indexing for VoiceInputSettings Change-Id: Ib8da55c935e00538ad6fff2f2590b0d525140734
* Remove non-functional hardware keyboard options.Michael Wright2014-08-111-27/+0
| | | | | | Bug: 16027438 Bug: 16486654 Change-Id: Ia53d5d98c05586bbbd232519d8094706877ecaaf
* Show physical keyboard settings even when IME is enabled.Michael Wright2014-08-111-92/+88
| | | | | | | | | | | The WindowManager lies about the configuration in order to get the IME to show but the Settings page should still show the physical keyboard options if one is connected though, so remove the configuration check and just always check to see if there's a full keyboard connected. Bug: 14066881 Change-Id: I085fe4160f3524f3c95737a6809ee03fec5230b4
* Preserve enabled subtypes across disabling and re-enabling an IMETadashi G. Takaoka2014-07-283-59/+134
| | | | | Bug: 16464156 Change-Id: I2ea4d010e47e5f48b2df11775b0c262330b28e89
* Show "up navigate" icon in input method subtype enablerTadashi G. Takaoka2014-07-271-0/+18
| | | | | | | | | | | | | Since API 16 (and API 14 with support library) and later, we started supporting "up navigation" model. http://developer.android.com/training/implementing-navigation/ancestral.html As a part of Settings app and a part of an IME's settings activity, the input method subtype enabler should have a "up navigate icon on its action bar. Bug: 16595009 Change-Id: Iaaadd970395b9c9254ab60b2e8fee22dffb8c7f6
* Use SwitchPreference for input method subtype enablerTadashi G. Takaoka2014-07-224-22/+50
| | | | | Bug: 15781377 Change-Id: I80fe987e499722af7768147a184934650bbf8385
* Use OnPreferenceChangeLister for subtype enablerTadashi G. Takaoka2014-07-221-21/+27
| | | | Change-Id: Id9eaed14803b6c4e194f1cf62900de0a053da012
* Remove unused and unnecessary code from subtype enablerTadashi G. Takaoka2014-07-211-71/+0
| | | | Change-Id: I9935b5bda8ae7cd1ce2d20ee6c4622eeb9a02b6a
* Fix Settings behavior when disabling current IMETadashi G. Takaoka2014-07-191-1/+0
| | | | | Bug: 16195373 Change-Id: I95d086e152b07e81aece773bc115ac0ac4517392
* Remove unnecessary saved persistent preferenceTadashi G. Takaoka2014-07-183-28/+33
| | | | | | | | | This CL also fixes a bug in InputMethodAndSubtypeUtil.updateSubtypesPreferenceChecked method that prevents solving the issue/16115751. Bug: 16115751 Change-Id: Ib46790172ed539d444fd609a1a97dabb2cb2d2f3
* (DO NOT MERGE) Refactor InputMethodAndSubtypeEnabler to separate loopsTadashi G. Takaoka2014-07-151-145/+150
| | | | | Change-Id: I1b7d26c37293e03dc20f87d60eb146017a574c47 (cherry picked from commit 61d97ddda8ed09761f48fa1ed7c99b1a6caed948)
* (DO NOT MERGE) Refactor InputMethodAndSubtypeEnabler a bitTadashi G. Takaoka2014-07-151-104/+92
| | | | Change-Id: Id91b62ed084f98e3a6dc724aac9d926d89a96201 (cherry picked from commit a5db65fe11f862747c34f271ea416052c653300d)
* Small refactor, remove unused/unnecessary code, and cosmetic fixTadashi G. Takaoka2014-07-121-63/+64
| | | | Change-Id: Ia0771f547b0489d3519faf23495e5c6bdfefa42e