summaryrefslogtreecommitdiffstats
path: root/src/com/android/settings/accessibility
Commit message (Collapse)AuthorAgeFilesLines
* Settings: sync qs invert color with color inversion in SettingsAnkit Gupta2016-05-052-1/+3
| | | | | | | | | | | Color inversion in settings is not consistent with the quick settings tiles for the inverted color. This patch registers the invert color settings variable to content resolver to apply any change to it from either qs tiles or settings menu. Change-Id: Ib1433238d4985e930f3a1c650198dbeb05ccba52 Issue-id: FEIJ-164
* Settings: Remove screen rotation from accessibilityMichael Bestas2015-11-261-46/+0
| | | | | | We have a more advanced option in display settings Change-Id: I8be43e899a14d184374b422a381b0db839709fbf
* Answer call with hardware HOME button (1/2)Oleksandr Byelkin2015-10-291-33/+0
| | | | | | | | | | | | | | | Squashed commit of the following: Author: Oleksandr Byelkin <sanja.byelkin@gmail.com> Adds ability to answer call with hardware HOME button preparation to winter time Change-Id: I0d22a6fbb92a61f08b50cae5c14d0030b81ee6ec Author: Michael Bestas <mikeioannina@gmail.com> Settings: Move home answer & power end call options Move 'Home answers call' & 'Power ends call' options to button settings Change-Id: I2f365a3d278b0845b7c5ffcfe70c54160a00c24e
* Make sure accessibility service desc isn't clickableJason Monk2015-08-041-0/+1
| | | | | Bug: 21644974 Change-Id: Ic645a78382c5c8343b22254ce4844068735efce9
* Ensure "default" and "none" caption colors are consistent w/ frameworkAlan Viverette2015-06-221-7/+36
| | | | | | | Also enables scroll indicators in color grid dialog. Bug: 21602597 Change-Id: I7fabd36787fc8689966eb8dcece3d4d047ee8066
* Require explicit userId in LockPatternUtilsAdrian Roos2015-04-281-1/+2
| | | | | Bug: 18931518 Change-Id: Ie2faa18918aaadf17a84287898438549a693b0cc
* Allow help to be defined to intent uriJason Monk2015-04-141-0/+5
| | | | | | | | | Allow help uris to be either an intent uri or as uri (as they were before). Also add a default help uri, and specific helps for several screens. Bug: 15475009 Change-Id: Iff982892973f01d32ff61ea88d4844e9a7153500
* log visibility of viewsChris Wren2015-03-276-0/+36
| | | | | Depends-On: I5b1dccb5d103ece3112acf38889bae16273b092f Change-Id: I116aed2bb805f723a5bf2ec9eb94257de0b4a7b5
* Settings: Remove all unused imports.John Spurlock2015-03-182-7/+0
| | | | Change-Id: Iebfa52cb849d69974c94902b0b020893cf5618a3
* Show a toast when filtering obscured touch inputAlan Viverette2014-12-161-3/+23
| | | | | | | | We can't verify user consent if the touch input is obscured, so the best we can do is fail with an informative message. BUG: 18082299 Change-Id: I99bea51171d998c0e0ba58dd7bbf1167d4af925d
* am edbada7a: am ba202e9f: Merge "Accessibility no longer overrides strong ↵Svetoslav2014-10-171-3/+12
|\ | | | | | | | | | | | | encryption (Settings)." into lmp-dev * commit 'edbada7acd2d40db1c472e291f3191c6f26d980a': Accessibility no longer overrides strong encryption (Settings).
| * Accessibility no longer overrides strong encryption (Settings).Svetoslav2014-10-171-3/+12
| | | | | | | | | | | | | | | | | | | | | | Updating the accessibility layer behavior to reflect the new model where accessibility no longer overrides strong encryption. Now enabling an accessibility service lowers the encryption level but the user can bump it up in settings if desired. bug:17881324 Change-Id: Iaf46cbabf1c19c193ea39b35add27aaa4ff509e4
* | am 431e2460: am 3ea423ae: User to confirm credentials if an accessibility ↵Svetoslav2014-10-171-7/+57
|\ \ | |/ | | | | | | | | | | service changes encryption. * commit '431e246032d58b8aae72d348107f0d2aaa9efbac': User to confirm credentials if an accessibility service changes encryption.
| * User to confirm credentials if an accessibility service changes encryption.Svetoslav2014-10-161-7/+57
| | | | | | | | | | | | | | | | | | | | | | When an accessibility service is enabled we are not using the user secure lock when encrypting the data. If the latter is already used for encryption we are decreasing the encryption level and therefore shall challenge the user with their secure lock. bug:17881324 Change-Id: If8905c05e20bc6bb6a6415e501871e5ad83f3d86
* | Prevent NPE when no accessibility services are enabledAlan Viverette2014-10-161-2/+3
| | | | | | | | | | BUG: 18023183 Change-Id: Icad0631410f1436f7726bd7311ac3b766a2c46b2
* | Merge "Fix bug #15730311 Checkboxes on R side should update to ↵Fabrice Di Meglio2014-10-141-11/+10
|\ \ | | | | | | | | | Quantum/Material on/off switch" into lmp-mr1-dev
| * | Fix bug #15730311 Checkboxes on R side should update to Quantum/Material ↵Fabrice Di Meglio2014-10-131-11/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | on/off switch Per UX request, use a Switch for: Accessibility - Large text - High contrast text - Power button ends call - Auto-rotate screen - Speak passwords Change-Id: I668586f3eb0e458db631e60f272e62f1315d3758
* | | Update Settings to use themed Context.getDrawable()Alan Viverette2014-10-101-2/+2
|/ / | | | | | | | | | | | | | | | | | | Explicit null theme is passed when using Resources.getDrawable() and no theme is available, e.g. when using getResourcesForApplication(). This fixes an issue with ic_text_dot theming and helps avoid similar issues in the future. BUG: 17648301 Change-Id: I3e97c3490b6f2a55744f567b21284f2935ae9af7
* | Update accessibility service toggle switch when resuming.Svetoslav2014-10-081-4/+9
|/ | | | | | | | | An accessibility service can be enabled via a global gesture in which case if the settings activity for enabling the service is running its toggle switch is shown in the wrong state. bug:16558106 Change-Id: I2821b148475a7afae21e29148ef98db724c817f2
* Use default encryption password if an accessibility service is enabled.Svetoslav2014-09-301-0/+12
| | | | | | | | | | | | | If accessibility is on and the user selectes a secure lock we use weaker encryption to enable running accessibility layer at the time the user authenticates. This change adds a warning message to the enable accessibility service dialog if there is a secure lock and also adds a warning as a summary for the secure lock in the lock chooser activity. Both warning mention the weaker encryption to be used. bug:17671790 Change-Id: Ib5cc9d3a78f751e18362bb9238fd2804c3b600f8
* Fix bug #17374913 Accessibility settings crashes when there is no ↵Fabrice Di Meglio2014-09-031-9/+3
| | | | | | | | | accessibility service installed - use the Preference.setSummary(CharSequence) instead of trying to set the summary manually Change-Id: I3692c50e3821a34a9c03a614cbc40209157068f3
* Disable non-permitted accessibility services and IMEsKenny Guy2014-08-211-3/+25
| | | | | Bug: 14469005 Change-Id: I4986f035318854c27ecb92bbe2f0c977d53b6361
* Add "experimental" subtitle to color correction and inversionAlan Viverette2014-08-191-2/+2
| | | | | BUG: 17112912 Change-Id: I84eaa94e755bfcfbdf014fae09d1b02ae5d2eb4a
* Get rid of duplicated code in accessibility settings.Narayan Kamath2014-07-231-92/+8
| | | | | | | | | | | Has the side effect of picking up changes to LocalePicker that added support for 3 letter language codes. bug: 10090157 (cherry picked from commit 26edbccb58c6da452f20ad0695716324e3c29224) Change-Id: I0f41f27e3e6eb88f0265c9ef6b3f34df04bfff1b
* Merge "Treat caption preview viewport as clipped 16:9 aspect" into lmp-devAlan Viverette2014-07-211-1/+4
|\
| * Treat caption preview viewport as clipped 16:9 aspectAlan Viverette2014-07-211-1/+4
| | | | | | | | | | | | | | Also adds standard start/end padding to preview frame. BUG: 16462107 Change-Id: I89001d1656cee0c2d8abd95eae09975307b1ff06
* | Remove inversion quick settings toggleAlan Viverette2014-07-212-115/+31
|/ | | | | | | Also removes remnants of contrast preference screen. BUG: 16303790 Change-Id: I9833b53e187e5f41c0442bcbaf9b728d55577d88
* Access high contrast setting directlyChris Craik2014-07-171-1/+2
| | | | Change-Id: I6dd6359a9a0ed26955bbe7a9f24e460f85a17383
* Accessibility text contrast controlChris Craik2014-07-161-0/+19
| | | | | | b/14624452 Change-Id: I0f6708680eb37cf8e7dc63cae56b639eaf7c8dbd
* Fix bug #15897505 Talk back state shows "off" while the talk back is still ↵Fabrice Di Meglio2014-06-277-13/+12
| | | | | | | | | | enabled. - we were missing the update of the TextView from the SwitchBar so provide a new setCheckedInternal() method that is doing the TextView and Switch update at the same time Change-Id: I6dd9c472a386bb534a58fbf5cf82d9d01fa74f6c
* Make the SwitchBar appear immediatelyFabrice Di Meglio2014-06-122-11/+14
| | | | | | | | - change the way the SwitchBar is shown and hidden - save its state - remove the delay transition code Change-Id: I07260430e6709b42517ca011f6d3c3446a626731
* Remove all dialog icons in SettingsAlan Viverette2014-06-101-2/+0
| | | | | BUG: 15474733 Change-Id: I43ab10a3bbcabdac6109abf80266f1c4b52bf6fb
* Add defaults for caption colors and edge type, fix preview sizeAlan Viverette2014-06-053-11/+34
| | | | | | BUG: 15116066 BUG: 8151470 Change-Id: Ieca00f0da209138bdfa691715720263ef5406773
* Settings: Remove quick settings options for daltonizer.John Spurlock2014-06-041-13/+1
| | | | | Bug:15424806 Change-Id: I91a9cd974d9e370f899e7573d00f6d27fe2e5538
* Use SwitchBar for Accessibility SettingsFabrice Di Meglio2014-05-157-76/+68
| | | | | | | | | | Deals with Talkback / Captions / Magnification Gestures - follow up CL to 41937766981423c9252e12e3319b2e7532739627 Related to bug #14898161 On/Off switches must move down from Action Bar Change-Id: Ibda0ed05b399f1b2b4464c5b22a3e9fd3d378867
* Code refactoringFabrice Di Meglio2014-05-158-66/+9
| | | | | | - move ToggleSwitch to the widget package Change-Id: Id277fc11c78363bf7d7b229ef9ae91c1ec5d6774
* Mode code cleaning: remove obsolete references to EXTRA_NO_HEADERSFabrice Di Meglio2014-05-131-3/+1
| | | | | | | | - 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
* Merge "Simplify accessibility display adjustments"Alan Viverette2014-05-123-133/+0
|\
| * Simplify accessibility display adjustmentsAlan Viverette2014-05-123-133/+0
| | | | | | | | | | BUG: 14680114 Change-Id: Ifd66256f4a8301d4c159f62a4211a2fbaaa6111a
* | Allow restore instance before setValues() in ListDialogPreferenceAlan Viverette2014-05-121-4/+10
|/ | | | | BUG: 14570831 Change-Id: I0fd24acab5221d1414f749ec18e70a72f36cc5e4
* Enable Search result highlight for Accessibility and IME settingsFabrice Di Meglio2014-04-211-1/+7
| | | | | | | | - add missing keys - update Database version to force re-indexing (because the keys were missing) Change-Id: I7533d86b0f9d79d838e5c16d4bc51b7b09dffae5
* Fix bug #14118555 NPE in settings app when it is launched by UiAutomatorFabrice Di Meglio2014-04-161-0/+3
| | | | | | - prevent the potential NPE Change-Id: I428f49c4ee55fb1e8fe121b27dd12e21eced4dad
* Use action bar widget context for accessibility toggle switchesAlan Viverette2014-04-152-10/+10
| | | | Change-Id: I078968b3f4f59439743356e9fe241cdf385deef6
* Adding search for dynamic accessibility settings.Svetoslav2014-04-111-1/+48
| | | | | | | | | | The accessibility service list is dynamically constructed, therefore we need a local provider that will emit accessibility service data to be indexed. bug:13928519 Change-Id: Idd29cd1698f36b54fabf013dfa36029412bbb8a9
* Remove unused fields and imports.Svetoslav2014-03-121-20/+0
| | | | Change-Id: If95879a506a9657b3dd370a35c1060712dcb9e93
* Remove toggle switch on accessibility preference fragment detachAlan Viverette2014-02-242-41/+88
| | | | | BUG: 13169998 Change-Id: Id6bac95feb53fec7bb56e6af5c7f5e407e8eba55
* Set caption preview font size in dipsAlan Viverette2014-02-172-4/+7
| | | | Change-Id: I9844b6f927b557b46f23c6211b5be47647002ab8
* Use Drawer in Settings appFabrice Di Meglio2014-02-031-3/+3
| | | | | | | | | | | | | | | | | | | | - 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
* Additional caption settings for edge styles and window colorAlan Viverette2013-12-191-0/+24
| | | | Change-Id: Ib967bc566a7b8f7674c696fc05d799e12269ec42
* Update A11y service dialog for explicit create() before getButton()Alan Viverette2013-12-111-2/+2
| | | | Change-Id: Ic0fb7e2e7985dd3d3b65e40a639ab5fc0f5a8fd5