Commit Graph

148 Commits

Author SHA1 Message Date
Tadashi G. Takaoka
d2dd7d33c9 Add TODO comments to Language & input settings
Bug: 16115751
Change-Id: I7bc426b95af214374db98c35314f4893dabfb2d4
2014-07-09 15:29:33 +09:00
Tadashi G. Takaoka
47f6f81b72 Refactor spell checker settings a bit
This CL removes unnecessary SpellCheckerUtils class.

Change-Id: I1b94b76620fee9119df726b86cec73fb32c0ee8b
2014-07-04 21:37:39 +09:00
Fabrice Di Meglio
5bdf0423f9 Fix SettingsPreferenceFragment.startFragment()
- was always passing R.string.lock_settings_picker_title as a title res

Change-Id: Iab47ef3da00e91d5ce3b6dc50c50c943bd78b08f
2014-07-01 15:36:47 -07:00
Fabrice Di Meglio
e4f58f9c52 Fix Spell Checker layout padding
- update padding layout for being consistent with the rest of the Settings App

See bug: #15384992 Setting Dashboard - padding updates

Change-Id: I37ce631425b3e075f4a5d44a41c6a3bac7607a3d
2014-06-18 16:25:33 -07:00
Fabrice Di Meglio
e767d2ea97 Fix Language & Input Settings layouts padding
- make padding consistent with the rest of the Settings App

See bug: #15384992 Setting Dashboard - padding updates

Change-Id: I9aab93e6b18d0fa966e79e93a334b339fa2ca20a
2014-06-17 19:07:53 -07:00
Alan Viverette
2c461006b8 am 6bfec2d6: Remove all dialog icons in Settings
* commit '6bfec2d6b197068dd355bd1742179fe3da07136f':
  Remove all dialog icons in Settings
2014-06-11 13:07:58 +00:00
Alan Viverette
6bfec2d6b1 Remove all dialog icons in Settings
BUG: 15474733
Change-Id: I43ab10a3bbcabdac6109abf80266f1c4b52bf6fb
2014-06-10 13:41:07 -07:00
Jean Chalard
976d0ce7f1 Allow multiple shortcuts for a personal dictionary word
Bug: 13869301

Change-Id: I040613bdddc9f18875e29f3382418476262b00ce
2014-06-04 22:00:00 +09:00
Fabrice Di Meglio
15826d4ea1 Mode code cleaning: remove obsolete references to EXTRA_NO_HEADERS
- the EXTRA_NO_HEADERS flag as no more meaning as we are showing
the Tiles (previously named "Headers") only in the Dashboard
(which is the main Settings screen)

Change-Id: I55656de0d28ca9c84adbe6647d870838b4ac230b
2014-05-13 13:10:34 -07:00
Fabrice Di Meglio
bb26141ddf 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
2014-04-21 13:27:23 -07:00
Svetoslav
990159abaa 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
2014-04-14 17:31:23 -07:00
Fabrice Di Meglio
263bcc8b73 Use Drawer in Settings app
- get rid of PreferenceActivity as much as we can and use fragments instead
- add Drawer widget
- add Dashboard high level entry into the Drawer (but this is work in progress and would be done in another CL)
- add bypass of fragment's Header  validation when launched from the Drawer but *force* validation if external
call thru an Intent

Be aware that WifiPickerActivity should remain for now a PreferenceActivity. It is used by SetupWizard and should
not trigger running the SettingsActivity's header building code. SetupWizard is a Home during the provisionnig process
and then deactivate itself as a Home but would make the Home header to appear in the Drawer (because momentarily we
would have two Home).

Also, verified that:

- the WiFi settings still work when called from SetupWizard
- when you have multiple Launchers, the Home header will appear in the list of Headers in the Drawer

Change-Id: I407a5e0fdd843ad7615d3d511c416a44e3d97c90
2014-02-03 16:36:46 -08:00
RoboErik
813a54d216 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
2014-01-08 13:57:34 -08:00
Satoshi Kataoka
aa4fa0ea09 Fix a bug on updating enabled IMEs
Bug: 11354619
Change-Id: Ie33630b3dc150536bc0325ad6116ea5fdcf60740
2013-11-01 07:00:13 +09:00
Satoshi Kataoka
ea90cd2fca Do not merge. Refresh "InputMethodPreference"s onResume
Corresponding change is I015075d57ebed94d6b

Bug: 11245599
Change-Id: I8be2b9a81d41fab979afe000bd1bce6fc57550c7
2013-10-18 18:55:07 +09:00
Satoshi Kataoka
cabde98bcd Change the refresh timing in input method settings
Bug: 8364845
Change-Id: I564a4b0d80cec5be670e2ca89e09d45944671082
2013-08-07 18:24:10 +09:00
Satoshi Kataoka
5aef342aad Use isAsciiCapable when disabling system ime
Bug: 8364845
Change-Id: I2bb02b0c57b65ac3496b92d379e6d4ff21f338b1
2013-08-07 17:10:22 +09:00
Satoshi Kataoka
d3e8bed913 Fix ime settings
Bug: 8364845
Change-Id: I1c9b30fa64682b905ef32c10bda0c9f93e8be975
2013-08-02 20:52:12 +09:00
Satoshi Kataoka
c6fc8e46f2 Allow the users to disable system IME
Bug: 8364845
Change-Id: Icc5173a68fa00b2895c0768ff8f8b9dcf30e6171
2013-08-02 20:06:34 +09:00
Amith Yamasani
a677ee210c Whitelist fragments appropriate for an activity
Change-Id: If4f8c4e9d9949b652946cffe0ebb09b587e5a042
2013-07-30 16:24:58 -07:00
Satoshi Kataoka
4e46424761 Merge "Refactor ime settings" 2013-07-30 08:10:58 +00:00
Satoshi Kataoka
993f6ecf40 Refactor ime settings
Bug: 8364845
Change-Id: Ie8db248314f2014278e1006b4b37aa64ce76f893
2013-07-30 16:21:27 +09:00
Satoshi Kataoka
4b6603cb79 Fix the displayed name of the personal dictionary
Bug: 8976598
Change-Id: I3a8b50790b6da1658f32ff89df222127cb310da6
2013-07-30 12:42:43 +09:00
Jean Chalard
1fb887f264 Fix a bug with multiple word insertion.
Bug: 7903831
Change-Id: I5202bc529a570292dd78d8503d8e2cc93b43d354
2013-07-25 16:07:31 +09:00
Satoshi Kataoka
bac2974dd0 Show all languages if user enables multiple subtypes
Bug: 8976598
Change-Id: Idbed69da04321a6f27033329686572d452d26f7a
2013-07-24 15:26:26 +09:00
Satoshi Kataoka
b355683253 Stop redirecting the user dicitonary settings fragments
Bug: 9755092
Change-Id: If4443412ca8f33e076edbe2c23c15b07b9b89fa9
2013-07-23 17:28:07 +09:00
Satoshi Kataoka
a5c08c9a6f Remove the locale spinner and show the current language
Bug: 8976598
Change-Id: I092141d0cc5c6d7af499ab8ceb69275923180e37
2013-07-22 16:34:41 +09:00
Satoshi Kataoka
1ecdb22b4e Use InputMethodUtils in input method settings
Change-Id: Ifd054c86b7099db3984e559feb5fadf1df5ca227
2013-07-11 02:20:04 +09:00
Satoshi Kataoka
f64e3b7b92 Improve the language list in the personal dictionary
Bug: 9117704
Change-Id: I0b0fdb9418baa634eeaf4b8a65aebabe291aa005
2013-06-27 20:29:01 +09:00
Satoshi Kataoka
71c915b672 Show subtype locales in the personal dictionary
...and change the destination of the intent

Bug: 9117704
Bug: 8856930

Change-Id: I39e55d2c5ca9a602f9a586625dcf25d5fb065a0a
2013-06-20 19:28:34 +09:00
Jean Chalard
8385f1c622 Fix a bug where a user dict entry is too long
Since there is a maxLength attribute to the text field, if the
requested entry is too long for the text field it will be truncated,
then setSelection will crash with an IOOB exception.

Bug: 9410958
Change-Id: I7e916b4d77d338f49db7d3dab4e536d27ec76bc1
2013-06-14 13:10:07 +09:00
Satoshi Kataoka
5e86985b3a Fix the label for the personal dictionary settings
Bug: 8859441
Change-Id: I18ae1e1d92e1280e1782685b99307f1e48ce8e66
2013-05-08 16:15:45 +09:00
Satoshi Kataoka
5df3307309 Fix the title of the fragments of the personal dictionary settings
Bug: 8600958
Change-Id: I9b8bab21b144385bc2386e7fcb67e1c197f84113
2013-04-30 16:08:00 +09:00
Satoshi Kataoka
ef120bea7b Fix sort order of InputMethodSubtype
Bug: 8638372
Change-Id: I65d30f968708dc836635f687aa51b51816daccdb
2013-04-19 02:09:26 +09:00
Benjamin Poiesz
cbde502ebb 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
2013-04-11 13:32:39 -07:00
Jean Chalard
5031683a72 am d0a9d5b6: am a374d816: Distinguish adding an already present word / cancelling
* commit 'd0a9d5b6e0b557c3796616791fd3ac93d12bcad9':
  Distinguish adding an already present word / cancelling
2012-12-17 10:46:29 -08:00
Jean Chalard
a374d81605 Distinguish adding an already present word / cancelling
Bug: 7725834
Change-Id: Iab3d1818f008a553868fb30e8460ea3f77c2de50
2012-12-17 15:52:07 +09:00
Mike Cleron
6d3925ce5b am 49ce96a1: am 1f597c87: Merge "Call back to whom requested to add a word to the user dict" into jb-mr1.1-dev
* commit '49ce96a14be5d414128b9e8ca12de281b610a57f':
  Call back to whom requested to add a word to the user dict
2012-12-14 11:00:28 -08:00
Jean Chalard
e3f1171309 Call back to whom requested to add a word to the user dict
Bug: 7725834
Change-Id: I2537754789f25fa978efd457979ed130806b9fbf
2012-12-14 18:08:05 +09:00
Shuhrat Dehkanov
96577681a2 Grey out settings icon when it is in disabled state
If engine is not active, its settings icon is disabled in
Settings > Language & input > Text-to-speech output screen.
Currently, settings icons for all TTS engines are shown at
the same opacity. This fix dims settings icons of not-selected
engines.
Make sure that more than one TTS engine are installed on the
target, for e.g., Google Text-to-speech Engine and Classic
Text To Speech Engine (SVOX Classic TTS).

Additionally, since setAlpha() is used in multiple places within
Settings package, moved DISABLED_ALPHA declaration to Utils.java
in order to have single point of reference.

Change-Id: Ifa7de79814a2f4a4aa021cd8621cbfab41655680
Signed-off-by: Shuhrat Dehkanov <uzbmaster@gmail.com>
2012-11-28 23:45:35 +09:00
Björn Lundén
c8272b0752 Fix use of holo drawables in a few more places
Change-Id: Ie549ff14812da807729641fab1871fffe35f80b6
2012-08-14 01:25:21 +02:00
Jean-Baptiste Queru
eefa61ed2e Merge "Settings: Use ICS alert drawable" 2012-08-13 11:53:46 -07:00
Amith Yamasani
e5147e4933 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.
2012-06-13 15:24:12 -07:00
Amith Yamasani
140b6f5234 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
2012-06-13 12:56:21 -07:00
Jean-Baptiste Queru
093cf6094c Swap start/stop of SettingsObserver and InputDeviceListener
Change-Id: Ic6b7bab860f71889a6ec476ccab1e83d2efd0e64
2012-06-12 15:43:17 -07:00
Jean-Baptiste Queru
89d702ac68 resolved conflicts for merge of 051f46d7 to jb-dev-plus-aosp
Change-Id: I73165a3d77318cbb0271e0d5c64cc49caad8f693
2012-06-12 15:22:22 -07:00
Shuhrat Dehkanov
9bcc607049 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>
2012-06-13 03:20:38 +09:00
Björn Lundén
e7c53b1c9e Settings: Use ICS alert drawable
Point to the correct holo alert drawable.

Change-Id: Ia15aaa028c8371cb2478baeecd2da31520c43a5d
2012-05-31 23:35:24 +02:00
satok
1506521362 Do not show security warning for the system IMEs
Bug: 6587127
Change-Id: I00584fb81cf5b39806c30a801b215a0e9a1e9399
2012-05-31 23:43:37 +09:00
Jeff Brown
bf677f48b7 Fix comparison of device source bits.
Bug: 6576743
Change-Id: I123307defc32a84a965590fbded95c6997260675
2012-05-30 14:33:16 -07:00