History log of /packages/apps/Settings/src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
91c23ca03f9ffa9ac9f2644e50e51e481a423662 10-Jun-2016 Yohei Yukawa <yukawa@google.com> Fix sentence capitalization of locale names.

It turns out that out previous CL [1] is not sufficient to address all
the requests regarding capitalization.

With [1], now InputMethodSubtype#getLocaleDisplayName() returns a locale
name whose capitalization is basically optimized to be used as a list
item. It works well for list UI, but on a UI element that looks like a
sentence text, we still need to capitalize the first character.

This CL takes care of those UI elements in the Settings app. This CL
also addresses a remaining TODO about locale-unaware text formatting by
using about android.icu.text.ListFormatter.

[1]: If105082ce703db7a86738455db7e9fb37f3c6fe8
e489baf96df2837a3a63b626d9023a4a8b322c28

Bug: 29035638
Change-Id: I59f93f0bc067cdd87c6065c972a7da3cde1128f9
/packages/apps/Settings/src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java
217b1d15815f199900a4ee6f1c4cc736b3597727 27-May-2016 Roozbeh Pournader <roozbeh@google.com> Show only up to two locales in Settings

The list could otherwise grow very long, spamming the screen.

Bug: 28872122
Change-Id: I8c4dbe659e1c088eba8b5ba1b2905b5eb8bc0229
/packages/apps/Settings/src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java
1ef9c4afd56b534f836c38437624eabaa6691f0b 18-May-2016 Yohei Yukawa <yukawa@google.com> Follow class package change: LocaleList

In order to avoid layering violation, LocaleList needs to be moved from
android.util package to android.os package [1]. This CL follows up that
package change.

No behavior change is intended.

[1]: Ia8de2ee9df3dd0a42b1fe84574439519b680fe18

Bug: 28819696
Change-Id: Ibd7934b30062046830d63f33d1c6febef32da976
/packages/apps/Settings/src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java
c7fc075e122b46fd80fd6692819709bb60a69256 17-Apr-2016 Keisuke Kuroyanagi <ksk@google.com> Fix: Spell checker cannot be re-enabled.

Without this CL, preference for enabling spell checking is disabled
when spell checking is disabled.
This issue makes it impossible to re-enable spell checking from the
settings UI.
This was introduced in I0ed71bbb580e3547d97e321799ac2b77b1f284a3
that fixes Bug: 26685795.

Bug: 28157871
Change-Id: I386baf2dd79347c1202f885a3f749aea3fb6a58d
/packages/apps/Settings/src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java
1ea368b5d5e353110eb131579b8eda00b4e35c59 26-Feb-2016 Yohei Yukawa <yukawa@google.com> Handle the case where no spell checker is selected.

This follows up to a previous CL [1] that fixed Bug 26685795 that the
Settings app crashes when no spell checker is selected, but introduced
another Bug 26686710 that the user cannot re-select the spell checker
once the device has fallen into that state because the button to select
new spell checker is disabled.

This CL tries to deal with such a case more carefully and gracefully, by
adding more null checking and by showing a meaningful text
("Not selected" for English) to users when no spell checker is currently
selected.

[1]: I65e6d269572e064aa6897807b6611ef947d90211
093a6467723208be9c776af7e2b0fdca9841ad20

Bug: 26108333
Bug: 26685795
Bug: 26686710
Change-Id: I0ed71bbb580e3547d97e321799ac2b77b1f284a3
/packages/apps/Settings/src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java
0c7bce8222b1d538d3e5a3735dfc94da86a9ade1 28-Jan-2016 Mihai Nita <mnita@google.com> Sentence-case the locale list.

Bug: 26730313
Change-Id: I015c50cb0e82cf3f5ad88a57d43d39e7202cf62d
/packages/apps/Settings/src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java
9d1bfd1e8de6e46137a9571507c03526880d6a46 27-Jan-2016 Chris Wren <cwren@android.com> port settings over to new metrics enum

Change-Id: I0b3efd2f4db773ccbc52bfe59ee8eb0dab9584fb
/packages/apps/Settings/src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java
976bb3f45915bdd5165d9a50402d4c1163dae809 20-Jan-2016 Abodunrinwa Toki <toki@google.com> Change Input Settings UI flow.

1. Introduces new UI components as per the new flow
2. Temporarily disables components in the old flow that are to be
replaced by the new flow. This is done so we can neatly revert
to the old flow if there are issues with the new flow
3. AvailableVirtualKeyboardActivity now responds to
android.settings.INPUT_METHOD_SETTINGS intents instead of
InputMethodAndLanguageSettingsActivity

Bug: 25752812
Change-Id: I728d7ee185827ed328c16cb7abce244557a26518
/packages/apps/Settings/src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java
d7d48fda53747a7a25e903d9ef6defa6ea590ebb 12-Jan-2016 Mihai Nita <mnita@google.com> Implement multiple locales and sublocales in Settings

Does drag-and-drop reordering, supports adding / removing locales,
suggestions, search, removes locales already selected in the
user preferences.

Bug: 25800339
Change-Id: Iffe7b9810c77ec93a84d848ab20b2ba405249676
/packages/apps/Settings/src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java
17b631988451613393c4656900c1821e23d8434a 03-Nov-2015 Michael Wright <michaelwr@google.com> Directly show the layout selection screen.

When a user clicks on the physical keyboard in order to select a
layout, rather than showing them a dialog with an empty list of
layouts, send them straight to the screen where they can pick which
layouts to enable.

Also, only request keyboard layouts that are appropriate for the
input device we're in the process of configuring.

Bug: 25062009
Change-Id: I4483dfc89afc8d148b2cfa7c6a5f66d2a02f712a
/packages/apps/Settings/src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java
9d80eeabe7807b5ff0a60bd40d3a1a84f681ea37 20-Nov-2015 Jason Monk <jmonk@google.com> Add some more summaries for Settings Home

Change-Id: Iaca8db6bdce87e667832b5b670e4eb027580b668
/packages/apps/Settings/src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java
39b467482d1bf256a111c757e9b7621c6f523271 10-Sep-2015 Jason Monk <jmonk@google.com> Depend on support lib preferences

Bug: 24576551
Change-Id: Ic6190bacd3f7582c9bbc8de972da4612bd92421e
/packages/apps/Settings/src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java
67b438b1185f6d11712ee9c962066c1651479507 10-Jun-2015 Xiyuan Xia <xiyuan@google.com> am a218ebb0: am 9823f279: Merge "Implement default assist app setting" into mnc-dev

* commit 'a218ebb090e3ac06d5c324bafb89e2d4d3ef7741':
Implement default assist app setting
86a554091d0705f2152fcf1d78ca1c7720d9842c 02-Jun-2015 Xiyuan Xia <xiyuan@google.com> Implement default assist app setting

- 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
/packages/apps/Settings/src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java
b84c5d3fce61bf302f4cca26fab163638572beaf 03-Jun-2015 Jason Monk <jmonk@google.com> am 21c43016: Merge "Dont crash if there is no spellchecker"

* commit '21c430160fe6d9a6e53600ac350e3661802b85aa':
Dont crash if there is no spellchecker
e792729b4ca60632b43c9e1ee6126fb5e031deae 05-May-2015 Seigo Nonaka <nona@google.com> Making the behavior deterministic when the IME picker is shown.

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
/packages/apps/Settings/src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java
093a6467723208be9c776af7e2b0fdca9841ad20 07-Mar-2015 Johan Redestig <johan.redestig@sonymobile.com> Dont crash if there is no spellchecker

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
/packages/apps/Settings/src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java
8a963babe2e36b7a41f77b8d2598c97658196e58 20-Mar-2015 Chris Wren <cwren@android.com> log visibility of views

Depends-On: I5b1dccb5d103ece3112acf38889bae16273b092f
Change-Id: I116aed2bb805f723a5bf2ec9eb94257de0b4a7b5
/packages/apps/Settings/src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java
d34dd4fb9ebae8c909fcb268d7f76d9e7a8267bd 07-Nov-2014 Fabrice Di Meglio <fdimeglio@google.com> Update synonyms and fix some issues related to them

- 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
/packages/apps/Settings/src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java
daef2e2b066a0bf204b9a63b7cae13e3d5441f4e 16-Oct-2014 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #15730311 Checkboxes on R side should update to Quantum/Material on/off switch

Per UX request, convert more CheckBoxes to Switches

Change-Id: I04712bce4c0a54516d9ecedbb554f403fd6dd9e7
/packages/apps/Settings/src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java
29aaa20442a9c86aad431303bf43d48bd306f5cd 23-Sep-2014 Michael Wright <michaelwr@google.com> If a device identifier is specified, bring up keyboard layouts dialog.

Bug: 17614683
Change-Id: I0c25033d05d482ba45f17b3141b0a8673d0ff4b5
/packages/apps/Settings/src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java
81395c8f3d908e2f41a147b33ca02fd1963af7ea 09-Sep-2014 Elliott Hughes <enh@google.com> Always use the LocalePicker's preferred locale names.

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
/packages/apps/Settings/src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java
d5ee3bc858f2e3c7e4dee6887c982c768c355c7a 22-Aug-2014 Elliott Hughes <enh@google.com> Merge "Settings psuedolocalization fixes." into lmp-dev
c550f0bff4b668f725b990df37c97077418d7058 22-Aug-2014 Elliott Hughes <enh@google.com> Settings psuedolocalization fixes.

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
/packages/apps/Settings/src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java
333f2bc71a0866053f8e2fce8efbfb0bcec68811 21-Aug-2014 Kenny Guy <kennyguy@google.com> Disable non-permitted accessibility services and IMEs

Bug: 14469005
Change-Id: I4986f035318854c27ecb92bbe2f0c977d53b6361
/packages/apps/Settings/src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java
fe3794a9372d643afe8cd6d8e70ec4f9e1b47a48 21-Aug-2014 Tadashi G. Takaoka <takaoka@google.com> Remove "Choose Keyboards" settings

Bug: 17109233
Change-Id: Ia3860b12238d9d2233dc270e37a055a9a411b037
/packages/apps/Settings/src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java
bf55863b41efc3ad29c752f133f8739aac35d103 12-Aug-2014 Michael Wright <michaelwr@google.com> Remove indexes for removed hard keyboard options.

Bug: 16027438
Change-Id: If668024e3b7073b49142de7e9aae4a46b4969d40
/packages/apps/Settings/src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java
9dc5f80874709866500744a48d8cf5d734688aaf 12-Aug-2014 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #16958103 android.content.res.Resources$NotFoundException: String resource ID #0x7f080971

- remove the indexing offending part from InputMethodAndLanguageSettings as the strings
has been changed
- add indexing for VoiceInputSettings

Change-Id: Ib8da55c935e00538ad6fff2f2590b0d525140734
/packages/apps/Settings/src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java
572f90bdf8183e42c522fdf041b20b064ffc8549 10-Aug-2014 Michael Wright <michaelwr@google.com> Remove non-functional hardware keyboard options.

Bug: 16027438
Bug: 16486654
Change-Id: Ia53d5d98c05586bbbd232519d8094706877ecaaf
/packages/apps/Settings/src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java
02d501433dd58df1c2cdc2dd60599b7fca1a242a 10-Aug-2014 Michael Wright <michaelwr@google.com> Show physical keyboard settings even when IME is enabled.

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
/packages/apps/Settings/src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java
9a8b4f239f219bb2cd2d08470b8c858fd74341e7 22-Jul-2014 Tadashi G. Takaoka <takaoka@google.com> Preserve enabled subtypes across disabling and re-enabling an IME

Bug: 16464156
Change-Id: I2ea4d010e47e5f48b2df11775b0c262330b28e89
/packages/apps/Settings/src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java
a82c3824f3bc2d2eb04c6be81b08a8877b315d3f 20-Jul-2014 Tadashi G. Takaoka <takaoka@google.com> Fix Settings behavior when disabling current IME

Bug: 16195373
Change-Id: I95d086e152b07e81aece773bc115ac0ac4517392
/packages/apps/Settings/src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java
cd6fdead7c7a42f4a18a37523bb4feef230559c0 10-Jul-2014 Tadashi G. Takaoka <takaoka@google.com> Reorganize spell checkers settings

Bug: 15976603
Bug: 16115751
Change-Id: I3b23d7f01d8d39da27215a5263b12304ac64db0f
/packages/apps/Settings/src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java
74e7c3e3601f4808854cf12bffe11ebf4c6ea8ab 09-Jul-2014 Tadashi G. Takaoka <takaoka@google.com> Reorganize language & input settings

Bug: 14860252
Bug: 16115751
Change-Id: I198aabebc08421764b78e137e7f26d2a7772d452
/packages/apps/Settings/src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java
d2dd7d33c9206f7aa29abbff48119d0f86ddfc36 09-Jul-2014 Tadashi G. Takaoka <takaoka@google.com> Add TODO comments to Language & input settings

Bug: 16115751
Change-Id: I7bc426b95af214374db98c35314f4893dabfb2d4
/packages/apps/Settings/src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java
5bdf0423f9dbc3cf5970045aacdfef79daacc430 02-Jul-2014 Fabrice Di Meglio <fdimeglio@google.com> Fix SettingsPreferenceFragment.startFragment()

- was always passing R.string.lock_settings_picker_title as a title res

Change-Id: Iab47ef3da00e91d5ce3b6dc50c50c943bd78b08f
/packages/apps/Settings/src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java
bb26141ddfc0c53a7dcb0cedf0499d9b214897eb 21-Apr-2014 Fabrice Di Meglio <fdimeglio@google.com> Enable Search result highlight for Accessibility and IME settings

- add missing keys
- update Database version to force re-indexing (because the keys
were missing)

Change-Id: I7533d86b0f9d79d838e5c16d4bc51b7b09dffae5
/packages/apps/Settings/src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java
990159abaad7f314fbe1f9eaf064a088806ffb19 15-Apr-2014 Svetoslav <svetoslavganov@google.com> Adding search for dynamic accessibility settings.

The language and input settings are highly dynamic and this change adds search
support for that. This category depends on installed IMEs, input devices, user
dictionary configuration, etc. We not only compute the right preferences to be
indexed but also track related system state in the settings app to rebuild the
index if needed.

bug:14066763

Change-Id: Ia89d9e35bd79abf8d74614691aedf4ca9b11b6f2
/packages/apps/Settings/src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java
813a54d216010a16d714355c61d606dd3eb589aa 08-Jan-2014 RoboErik <epastern@google.com> b/12068020 Update calls to InputManager

This is part of work on making key layouts get saved per vendor/product
instead of per device. The corresponding change in fw is
https://googleplex-android-review.git.corp.google.com/#/c/399886/
This changes all uses of InputDevice descriptor to InputDeviceIdentifier.

Change-Id: I3eeebc0223820aeab62c2b8aa822f4d91adaf2d1
/packages/apps/Settings/src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java
aa4fa0ea0950ecd61af64a6bdeea109cfed64362 30-Oct-2013 Satoshi Kataoka <satok@google.com> Fix a bug on updating enabled IMEs

Bug: 11354619
Change-Id: Ie33630b3dc150536bc0325ad6116ea5fdcf60740
/packages/apps/Settings/src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java
ea90cd2fca08e5c65e54d8df1c208337e08fc541 18-Oct-2013 Satoshi Kataoka <satok@google.com> Do not merge. Refresh "InputMethodPreference"s onResume

Corresponding change is I015075d57ebed94d6b

Bug: 11245599
Change-Id: I8be2b9a81d41fab979afe000bd1bce6fc57550c7
/packages/apps/Settings/src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java
cabde98bcddc2c609a5929b019ebe73f1a68e004 05-Aug-2013 Satoshi Kataoka <satok@google.com> Change the refresh timing in input method settings

Bug: 8364845
Change-Id: I564a4b0d80cec5be670e2ca89e09d45944671082
/packages/apps/Settings/src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java
c6fc8e46f2e78187cb751f2ae81e6101181c93c0 31-Jul-2013 Satoshi Kataoka <satok@google.com> Allow the users to disable system IME

Bug: 8364845
Change-Id: Icc5173a68fa00b2895c0768ff8f8b9dcf30e6171
/packages/apps/Settings/src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java
b355683253506fbe6112ee81775caf02c1b7485c 23-Jul-2013 Satoshi Kataoka <satok@google.com> Stop redirecting the user dicitonary settings fragments

Bug: 9755092
Change-Id: If4443412ca8f33e076edbe2c23c15b07b9b89fa9
/packages/apps/Settings/src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java
1ecdb22b4e7b97e34a0b5e557732b65aa00af4b7 04-Jul-2013 Satoshi Kataoka <satok@google.com> Use InputMethodUtils in input method settings

Change-Id: Ifd054c86b7099db3984e559feb5fadf1df5ca227
/packages/apps/Settings/src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java
71c915b67213c38875a687d42f957b6fa2fa990b 19-Jun-2013 Satoshi Kataoka <satok@google.com> Show subtype locales in the personal dictionary

...and change the destination of the intent

Bug: 9117704
Bug: 8856930

Change-Id: I39e55d2c5ca9a602f9a586625dcf25d5fb065a0a
/packages/apps/Settings/src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java
5df3307309cd3e807984a4962c2d1e2785bdae87 30-Apr-2013 Satoshi Kataoka <satok@google.com> Fix the title of the fragments of the personal dictionary settings

Bug: 8600958
Change-Id: I9b8bab21b144385bc2386e7fcb67e1c197f84113
/packages/apps/Settings/src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java
cbde502ebb2ffe00eec713a91e1f05d753b2b603 05-Apr-2013 Benjamin Poiesz <bpoiesz@google.com> Forcing the settings apk to be built with the zz_ZZ pseudolocale.
This will enable Settings to show the effects of the zz_ZZ pseudolocale when selected in the LocalePicker.

Bug #8556677

Change-Id: I68ffc81454865dec94a3c1460019d1efce00ea49
/packages/apps/Settings/src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java
e5147e4933e61c762f63b115e41c5aa8a2e37bd4 14-Jun-2012 Amith Yamasani <yamasani@google.com> am 5b7a8204: Merge "Show only the language if there\'s only one locale for the language." into jb-dev

* commit '5b7a8204d875c901782ff482b68fde8da7a0081f':
Show only the language if there's only one locale for the language.
140b6f5234a9b49dd1ec431e7adcf10754daeab1 13-Jun-2012 Amith Yamasani <yamasani@google.com> Show only the language if there's only one locale for the language.

If the system has only one instance of that language, then only show the language
without the country name.

Bug: 6522572
Change-Id: I1e99182b1c669b200090f6c360bb902376b63ab0
/packages/apps/Settings/src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java
093cf6094c2fdf6d84e3ae7ecb53aa955e893c38 13-Jun-2012 Jean-Baptiste Queru <jbq@google.com> Swap start/stop of SettingsObserver and InputDeviceListener

Change-Id: Ic6b7bab860f71889a6ec476ccab1e83d2efd0e64
/packages/apps/Settings/src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java
89d702ac6864e0111ea2f16a524c71804bae5a5c 13-Jun-2012 Jean-Baptiste Queru <jbq@google.com> resolved conflicts for merge of 051f46d7 to jb-dev-plus-aosp

Change-Id: I73165a3d77318cbb0271e0d5c64cc49caad8f693
9bcc60704991879a0f8c9098eef26233942d6fe2 19-May-2012 Shuhrat Dehkanov <uzbmaster@gmail.com> Unregister ContentObserver in InputMethodAndLanguageSettings class

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>
/packages/apps/Settings/src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java
bf677f48b73fc8d6fea9f09ad9d0e423f982d260 30-May-2012 Jeff Brown <jeffbrown@google.com> Fix comparison of device source bits.

Bug: 6576743
Change-Id: I123307defc32a84a965590fbded95c6997260675
/packages/apps/Settings/src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java
766b286187d02b3da6e0142376a4478072f30a16 19-May-2012 Jeff Brown <jeffbrown@google.com> Add UI to select multiple keyboard layouts.

Bug: 6405203
Change-Id: I27ca4630aebcb39b83298d37d8fb3f4ef0080317
/packages/apps/Settings/src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java
a350352e03a1cd08942cce99d7e5f6a1b48c224f 18-May-2012 Jeff Brown <jeffbrown@google.com> Add support for grouping keyboard layouts by collection.

Bug: 6405203
Change-Id: I458c4976562ecea2fa03d96258ff28ebbdc95294
/packages/apps/Settings/src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java
f54622e46c9164e4ab46c09c9c3ff173828d5940 08-May-2012 Jean Chalard <jchalard@google.com> Cut a helper method to increase encapsulation.

Change-Id: Ie47503a99d455f7266e281914e92ed680b993551
/packages/apps/Settings/src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java
b9f837dd1da22f41c72e0cdc1454a486dbc6c448 08-May-2012 Jean Chalard <jchalard@google.com> Fix a janky transition

Bug: 6026080
Change-Id: I75bd244b2b09c371805a67057d2a9c45dc12f3db
/packages/apps/Settings/src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java
512d0cb3eb82d3e95807f018b035fba8a6d48f34 17-Apr-2012 Jeff Brown <jeffbrown@google.com> Add label for default keyboard layout.

Bug: 6110399
Change-Id: I2431b99884cbd01de32f8cd6c14a3afbd18b5020
/packages/apps/Settings/src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java
f8fb0e5b240b1e954660b8221eaa9a18a310a1df 14-Apr-2012 Jeff Brown <jeffbrown@google.com> Add setting to redirect vibrator to game controller.

Bug: 6334179
Change-Id: I62c9c163aa4ee2c88286daee77641418869a1dab
/packages/apps/Settings/src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java
96cdcd80a8ba9d9a808a712037c3e4fa3fdcf084 14-Apr-2012 Jeff Brown <jeffbrown@google.com> Use new input device listener API to refresh keyboards.

Bug: 6110399
Change-Id: Ibb0bbeb40af2ee7204e4682bc7493262407fd83f
/packages/apps/Settings/src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java
4397f406a3c9e09ca2d5174ba46328345faa504e 09-Apr-2012 Jeff Brown <jeffbrown@google.com> Update use of input manager API in settings.

Change-Id: I7aa033df8b5eec69cc6002b0bcc20b1d9902e4e0
/packages/apps/Settings/src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java
e46c5f30caddb10c69eee62fc2f9db3f26f29bb5 05-Apr-2012 Jeff Brown <jeffbrown@google.com> Add new settings UI to select keyboard layout.

Bug: 6110399
Change-Id: Ib2758bdcdd6b271be402f46c56d41619dc7aecb9
/packages/apps/Settings/src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java
b9509d046c911b7b334aa45f693c49a7182ef470 12-Sep-2011 satok <satok@google.com> Update the current IME label

Bug: 5069983
Change-Id: I84d6ac7c39b5f3a035aa04c35065280a14024c47
/packages/apps/Settings/src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java
4e658ba969830e8c9617dc8938271df1ed09aa44 02-Sep-2011 Jean Chalard <jchalard@google.com> 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
/packages/apps/Settings/src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java
8ba5c42b213c4cd5b8773595fea2a1be6a18d711 31-Aug-2011 Jean Chalard <jchalard@google.com> Update settings wording for ICS

Bug: 5069983
Change-Id: I882aded067e8cc75197f6d3fa5c11388368b6996
/packages/apps/Settings/src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java
8ff6222a9136cdbaeea9191869b90abd179efc85 31-Aug-2011 satok <satok@google.com> Fix the visibility of preferences in the input method settings

Bug: 5129385

Change-Id: I1b01712995fd77e13b0e5935b8000ec09be489e4
/packages/apps/Settings/src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java
427a7ba1048d81b6b4fdcf29072c7584f6c18b87 29-Aug-2011 Jean Chalard <jchalard@google.com> 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
/packages/apps/Settings/src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java
c0b569c317fad96abbf0ea23d07eb6d19f634ccf 25-Jul-2011 satok <satok@google.com> [step6] Apply api and fix crush in spell checker settings.

Change-Id: Ie430ca7ff4147c530aae895d1d13a40a01c63b98
/packages/apps/Settings/src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java
e077d2b607032fb66a4a046aa4b46945d32d281e 25-Jul-2011 satok <satok@google.com> [Step 1] Add preference activities for spell checkers

Bug: 5057977
Change-Id: I8f2f3d480325029c794c058beed2475033a617f9
/packages/apps/Settings/src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java
410e75b15bd7ecfcb8985c4368fec5e355e2c099 21-Jul-2011 Jean Chalard <jchalard@google.com> 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
/packages/apps/Settings/src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java
3fa13775e805df6cc7244d3f93105c5d3a5b748f 27-Jun-2011 satok <satok@google.com> Implement new UI for IME settings

Bug: 4645160

Change-Id: If9046e7e96732f6ee4c0594cc66622b6462bdec9
/packages/apps/Settings/src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java
71ad1f4e3e819a40a830a148a2d1bd7b10fed09d 12-May-2011 Jean Chalard <jchalard@google.com> 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
/packages/apps/Settings/src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java
722ea032317eb47acc6bcf1cd146576bccbb95c5 13-May-2011 satok <satok@google.com> Fix NPE in InputMethodAndLanguageSettings

Bug: 4422368

Change-Id: I495eb8de9928922b18b37c6658bd8fd8b4ee3e1a
/packages/apps/Settings/src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java
c087e35d7f9a968ea035e931aa318cf36a3e1b90 11-May-2011 Jean Chalard <jchalard@google.com> Enable showing the user dictionary in several locales.

Bug: 3479738
Change-Id: Ic57a5675c44c36ad255f9927da151ad6a2a8c44c
/packages/apps/Settings/src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java
062c3c3c3d5890e85bff61ca067860641aa8f8f8 17-Jan-2011 satok <satok@google.com> Clear current input method when a current ime was disabled.

Change-Id: Iade2c025e686bce47a94daa96bc0787431fafa01
/packages/apps/Settings/src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java
c88a7ff1efd10374974e45768bde1658cc1d8483 14-Dec-2010 satok <satok@google.com> Implement new design for settings of InputMethods

Change-Id: I82392e4a028abe2d588622a7e89fd035966f603a
/packages/apps/Settings/src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java
b44161f3ed9b91f39086247d8efbdac42656b93b 10-Dec-2010 Amith Yamasani <yamasani@google.com> Move Voice input/output settings to Language & keyboard

Bug: 3267042
Change-Id: I127a2e9d11fb70283812e68979bdde3976e32cf9
/packages/apps/Settings/src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java
103cc7da5f3ff9a46aa0b1dd9fcd0c7759c2d096 25-Nov-2010 satok <satok@google.com> Call showInputMethodPicker instead of showInputMethodSubtypePicker

- because showInputMethodSubtypePicker will be removed.

Change-Id: I01086d29663a14f4ebf9d8dfa9376735af2e193d
/packages/apps/Settings/src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java
5fd39cafe1de792300e9e3dd60258a1ce5079f73 09-Nov-2010 satok <satok@google.com> 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
/packages/apps/Settings/src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java
0417e4094713c5f4dac700b645000d0959bf62fa 01-Nov-2010 satok <satok@google.com> Move classes related to input method to com.android.settings.inputmethod

- Updated proguard.flags

Change-Id: I198761b0f0ad5288c8c807a7a3c2e965731fcee5
/packages/apps/Settings/src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java