summaryrefslogtreecommitdiffstats
path: root/src/com/android/settings/AccessibilitySettings.java
Commit message (Collapse)AuthorAgeFilesLines
* Let accessibility feature instructions scroll.Danny Baumann2013-07-091-1/+2
| | | | | Change-Id: Ie0a9eae16e8bf2ea6033a9e5e4e2c149ab4859cc JIRA:CYAN-1531
* Settings: RTL layout fixesOr Harambam2013-01-191-1/+1
| | | | | | | | | | Replaced Left with Start, and Right with End to fit Google's new RTL API. Replaced setPadding with setPaddingRelative (which uses Start and End instead of Left and Right) around switches to make them look right in RTL UIs Added RTL Support to LinearColorBar in order to make App Management's storageBar compatible with the RTL UI. Reversed App Management's ViewPager in RTL langs Fastscroll aligned to the left Change-Id: I495f4794a9861fa01692d766ef86f4fdd8e4b38d
* Adds ability to answer call with hardware HOME button (preparation to winter ↵Oleksandr Byelkin2013-01-041-0/+33
| | | | | | time) Change-Id: I0d22a6fbb92a61f08b50cae5c14d0030b81ee6ec
* Accessibility enabled by gesture not reflected in settings screen.Svetoslav Ganov2012-10-101-13/+47
| | | | | | | | | | | | | | | | 1. We have added a global gesture to enable accessibility which is long press on power followed by a long press with two fingers. If this gesture is performed when the settings for an accessibility service are on the screen, accessibility and the screen-reader are enabled while the UI does not reflect that and the user may try to enable the already enabled screen-reader which will show two irrelevant warning dialogs - one for enabling the screen-reader and one for enabling explore by touch (assuming the screen-reader requests it). This change adds a simple content observer for the relevant accessibility settings which upon a change calls the functions to refresh the settings UI. bug:7309127 Change-Id: I214c64877086eeb1fe156bcc195aa4e2931d6bdb
* Accessibility settings should update after gesture to enable accessibility.Svetoslav Ganov2012-10-081-0/+30
| | | | | | | | | | | | | | | | 1. We have added a global gesture to enable accessibility which is long press on power follower by a long press with two fingers. If this gesture is performed when accessibility settings are on the screen, accessibility and the screen-reader are enabled while the UI does not reflect that and the user may try to enable the already enabled screen-reader which will show two irrelevant warning dialogs - one for enabling the screen-reader and one for enabling explore by touch (assuming the screen-reader requests it). This change adds a simple content observer for the relevant accessibility settings which upon a change calls the functions to refresh the settings UI. bug:7309127 Change-Id: I45851d7789e24e9e0a5bc5aaac39db9a12b60e0c
* Updating the screen magnification strings.Svetoslav Ganov2012-10-051-2/+2
| | | | | | bug:7295457 Change-Id: Idef3950b975fbb8071067c165fa52358aa6b828d
* Upading the strings for accessibility multi-user.Svetoslav Ganov2012-10-011-3/+3
| | | | | | bug:7255486 Change-Id: I775165896124a6fde3684d0f302a90396ce19d2e
* Setting to enable the global gesture for turning on accessibility.Svetoslav Ganov2012-09-281-6/+56
| | | | | | | | | | | 1. Adding a setting to enable the gesture to turn on accessibility. This is a new screen with a toggle switch similarly as screen magnification which will contain explanation of how to perform the gesture. bug:6171929 Change-Id: I84dfa46a9b7b789d99923684e08e52cf7d236eb2
* Settings for the screen magnification feature.Svetoslav Ganov2012-09-071-182/+256
| | | | | | | | | | | | | | | | | 1. Screen magnification on the device has to he explicitly enabled by the user before allowing a global gesture related interactions. The feature toggle setting is in Settings->Accessibility and it is a separate screen with instructions how to use the feature and a toggle switch. 2. Added a setting in developer options for toggling the magnification auto update feature. If this features is on the screen is zoomed out or rotation or activity start. Also if the feature is enabled the magnified viewport will scroll to show popped up windows. bug:5587727 Change-Id: Ic45a21d3a3928e2f5aac034751801f090b261488
* am 677e2ff6: am d7db6baa: Merge "Don\'t direct to market if no markets ↵Jeff Sharkey2012-08-131-3/+14
|\ | | | | | | | | | | | | installed" * commit '677e2ff670eb48adf252e1bb9d1e2e5b3af558ee': Don't direct to market if no markets installed
| * Merge "Don't direct to market if no markets installed"Jeff Sharkey2012-08-131-3/+14
| |\
| | * Don't direct to market if no markets installedXingrun Chen2012-07-261-3/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The search intent cannot be resolved if there aren't any market apps installed, so it will cause Settings crashed by the ActivityNotFound exception. So we need to check if the market intent requst can be resolved. Then determine to notify user to direct the accessibility services to market to get TalkBack or not. Change-Id: I0f0d7b54eb5215e1a886315bb6816704384f6c59 Signed-off-by: Roger Chen <cxr514033970@gmail.com>
* | | am 6fb425e2: am eefa61ed: Merge "Settings: Use ICS alert drawable"Jean-Baptiste Queru2012-08-131-1/+1
|\ \ \ | |/ / | | | | | | | | | * commit '6fb425e2805a1c27c048fc954d402f4612cbf74d': Settings: Use ICS alert drawable
| * | Merge "Settings: Use ICS alert drawable"Jean-Baptiste Queru2012-08-131-1/+1
| |\ \ | | |/ | |/|
| | * Settings: Use ICS alert drawableBjörn Lundén2012-05-311-1/+1
| | | | | | | | | | | | | | | | | | Point to the correct holo alert drawable. Change-Id: Ia15aaa028c8371cb2478baeecd2da31520c43a5d
* | | Make Settings app aware of layout directionFabrice Di Meglio2012-07-241-1/+1
|/ / | | | | | | | | | | - see bug #5429822 UI should be mirrored for RTL locales (Arabic, Hebrew, farsi) Change-Id: I696c0f66a16640af767da3c05b5d300fd2284ecb
* | Fix NPE in rotation lock content observer.Jeff Brown2012-06-121-2/+5
| | | | | | | | | | Bug: 6647846 Change-Id: Idd17edb78f451807eabdd988017b68ce02b9c75f
* | Implement new rotation policy.Jeff Brown2012-06-051-39/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | Show "auto-rotate screen" option in Display only if the Rotation Lock feature is not available on the device. When the "auto-rotate screen" option is disabled in Accessibility or Display settings, hide the Rotation Lock feature. Use new RotationPolicy class to adjust rotation settings. Bug: 6523269 Change-Id: Ifa89ff055e5ad0a00888e10720dd76b0054fe290
* | Lock screen rotation accessibility preference not updated.Svetoslav Ganov2012-05-291-0/+24
| | | | | | | | | | | | | | | | | | | | 1. If the lock screen rotation preference is changed from the status bar the checkbox in the accessibility settings was not updated. bug:6562028 Change-Id: I353e3ad59374ad207297d2a6682e50ed07df820c
* | Updating the checkbox state to match the title.Svetoslav Ganov2012-05-181-13/+13
| | | | | | | | | | | | | | | | | | | | 1. Now the the setting is names lock screen rotation which is the opposite as it was before so this patch reverses the checkbox state. bug:6507335 Change-Id: Ic0aab21fa70871f64e37ac05f7917d69f9c0a0df
* | Removing explore by touch from settings.Svetoslav Ganov2012-05-181-103/+52
| | | | | | | | | | | | | | | | | | | | | | 1. Now accessibility services request this mode and we show a dialog so the user can give a consent. Accessibility servces can toggle this mode at runtime from their settings, for example. bug:5932640 Change-Id: Id4d3e9c83c488f97b7e53d4baadf7de886958a4d
* | Update to follow API change.Dianne Hackborn2012-04-201-1/+1
| | | | | | | | Change-Id: Ife399fb336016cfa8faadf655d887ae611c6ad9b
* | AccessibilityService description not internationalized (Settings).Svetoslav Ganov2012-01-031-1/+1
|/ | | | | | bug:5807616 Change-Id: Iab6cf000ce1029ab253d56cb8abe222ad3204e6d
* Adding a system preference whether to speak passwords in accessibility mode ↵Svetoslav Ganov2011-12-051-0/+20
| | | | | | | | | | | | | | (settings). By default we do not speak passwords if the user has no headset. However, many users find this too restrictive and would like a way to enable password announcement. While we cannot speak the passwords all the time ,to avoid leaking them, we expose a preference so each user can choose the option that best works for him/her. bug:5712607 Change-Id: I1a6e95c392c18dc8d7406b1cef49705756b31254
* Accessibility service toggle setting state not preserved on screen rotation.Svetoslav Ganov2011-10-181-0/+4
| | | | | | | | | The state of the toggle switch for enabling/disabling an accessibility service is not preserved on screen rotation after its state has been changed once. bug:5478062 Change-Id: Ie453f78bc07dcd39d88bb4acf260768eccc73a74
* Use WM APIs to change rotation preference.Jeff Brown2011-10-051-3/+16
| | | | | | | | | | Bug: 5371750 Changing the system setting directly results in inconsistent behavior among the three different places where "auto-rotate" settings appear in the UI. Use the WM APIs instead. Change-Id: I1a8239af66b1cc3aeec8310383e72fc96c878d73
* Settings may show enabled accessiiblity services after restore even if ↵Svetoslav Ganov2011-09-231-34/+30
| | | | | | | | | | | | | | accessibility is off. Now the state of accessibility is determined from the number of running, i.e. enabled and installed, accessibility services - more than zero access is on else it is off. After a restore the device may have some enabled and installed services but disabled accessibility setting. In such case settings should respect the restored values and the services should be displayed as disabled initially and then enabling one of them will enable accessibility. bug:5367404 Change-Id: If3756aba3f59e282000247e99f87ebff2b64c9fd
* Accessibility settings get into state not allowing to enable accessibility.Svetoslav Ganov2011-09-201-43/+85
| | | | | | | | | | If the setting for enabled accessibility serivces contains a service that is not installed on the device the system gets into a state that does not allow enabling accessibility. This state is not recoverable. bug:5343351 Change-Id: I6127ae00f7a16b190cfe43b68b8e71d49b10911e
* Enabled accessibility services settings may end with a separator.Svetoslav Ganov2011-09-151-2/+7
| | | | | | | | | | | SetupWizard was adding a separator after the last service name while building the enabled accessibility services string. This case was not handled by the settings. Added code to handle that case since it is possible to have not well-formed settings backed up. bug:5098493 Change-Id: I8381872037611a7456ca31526c85effdb9949885
* Polish of the accessibility settings.Svetoslav Ganov2011-09-141-14/+19
| | | | | | | | | | | | | | 1. Some string changes according to updated UX specs. 2. Explore by touch now shown only if accessibility is on. 3. The one time dialog for installing TalkBack if no services are installed was not showing. bug:5293099 bug:5286578 Change-Id: I633999f798b16e2910d95d541a7c33d1a4f296b9
* Update of accessibility settingsSvetoslav Ganov2011-09-011-205/+154
| | | | | | | | | | | | | 1. Removed the global toggle switch - now each accessibility feature has to be turned on or off separately. 2. Added a setting for the screen rotation (same as Dispaly) since most of blind users want that behavior. bug:5166161 bug:5127475 Change-Id: I659aef62a8499461075f43520a3008fa7b8ff911
* Potential fix for NPE in AccessibilitySettings.Amith Yamasani2011-08-121-0/+2
| | | | | Bug: 5093363 Change-Id: I1e6b9bf0fd25b0298606035155bb87e6f64711c4
* Accessibility settings crash when run for the first time on clean deviceSvetoslav Ganov2011-07-291-1/+2
| | | | Change-Id: I9bb0b9d1ab381ba00838b1be3a76f549f32be655
* Polish of the accessibility settings.Svetoslav Ganov2011-07-291-164/+312
| | | | Change-Id: Ifb32ec6745e566cf7ffafe20019b68d95661b45d
* Revamp of the accessibility settings.Costin Manolache2011-07-251-345/+554
| | | | | | | | | | | | 1. Reimplemented accessibility settings accrding to UX design. NOTE: The strings are not final, rather reasonable placeholders to avoid blocking on them. Will submit another CL with string updates and any necessary polishes. bug:5065409 Change-Id: I3ba229a624298dbf238bc8562b42616b386f8c34
* Fix issue #4976176: Font size setting does not persistDianne Hackborn2011-07-191-1/+1
| | | | Change-Id: Ie36c97680f43414b5cdc1615519527ba5e8fa902
* Merge "Adding temporary setting for enabling touch exploration."Svetoslav Ganov2011-07-181-0/+15
|\
| * Adding temporary setting for enabling touch exploration.Svetoslav Ganov2011-07-151-0/+15
| | | | | | | | Change-Id: I81cef6f3bf4e533da1082bf836a74e38fe718af3
* | Settings crash if android:settingsActivity AccessibilityServiceInfo XML is ↵Svetoslav Ganov2011-07-171-7/+9
|/ | | | | | | | | | | incorrect. 1. The code was not checking whether the settings activity exists before passing in to the SettingCheckboxClass. bug:5038386 Change-Id: Iba4f5e2e5f6f3ed9c0fed5a5103d2e9a34399d97
* Add "large text" accessibility option.Dianne Hackborn2011-06-231-13/+49
| | | | | | | | Also re-arrange the UI a bit to clearly put the button for enabling/disabiling accessibility services along-side said services. Change-Id: Ica1ddecddf6e97800909ba6bea9ce4e124b59c01
* Accessibility service specific settings.Svetoslav Ganov2011-05-271-15/+29
| | | | | | | | | | | | | | | This is the settings part of the change for adding support for accessibility service specific settings. 1. Added the first cut of a SettingsCheckBoxPreference that is a CheckBoxPreference that optionally takes an intent to be lauched as settings of the item represented by the preference. 2. Updated the AccessibilitySettigns to use the SettingsCheckBoxPreference. Change-Id: If44262b8965c65620c6b8c252f8ef356eb0d95cf
* Adding system wide long press timeout configurability under accessibility.Svetoslav Ganov2011-03-021-1/+23
| | | | | | | | bug:3505096 Added an option in the accessibility set Change-Id: Ie36240229ca15a252d5f34051bfe8ac77a101da9
* 3328848 Script injection property is enabled when accessibility is disabledSvetoslav Ganov2011-01-061-2/+4
| | | | Change-Id: I23da008eea88f3e96a7de4823a6f6ff9d8e21ee0
* 3244931 ANR while in settings attempting to enable Accessibility->Talkabout ↵Svetoslav Ganov2010-12-101-34/+46
| | | | | | (IKXEVEREST-1847) Change-Id: Ifea9324671d0e80a417f4b2fe6dbbe981f8b0679
* 3053971 Accessibility settings are not using Fragment APIs for dialogs. + ↵Svetoslav Ganov2010-09-301-146/+154
| | | | | | 3053903 Pressing back while showing disable accessibility warning disables accessibility with no explicit user consent. Change-Id: Iac7e7a96d8d9f37d1b39c29237b3e2c93381b39b
* WebView accessibility support - Adding opt-in setting for enabling ↵Svetoslav Ganov2010-09-161-3/+54
| | | | | | accessibility script injection from Google Change-Id: I1676f34c30a0e9414d51060ad4fb2c9c502b09c3
* Refrain flickering in AccessibilitySettings.Daisuke Miyakawa2010-09-161-5/+0
| | | | | Bug: 3006118 Change-Id: I40249340242323e23bbd3008a8fb50589e939096
* Conditionally remove settings that aren't required on the tablet.Amith Yamasani2010-09-111-2/+4
| | | | | | | | | Bug: 2985267 Changes not done : SD card related stuff, as we need some way still to figure out if there is a real SD card in the device. Change-Id: I21c41f18ebe6c050981918481a7f6d69f04b65d0
* Refactor settings top level activities to use fragments.Amith Yamasani2010-08-181-17/+21
| | | | | | | | | | | | | Added a base class SettingsPreferenceFragment from which the settings activities should be derived so that they can behave like fragments. It contains some commonly called utility methods and dialog conversion to DialogFragment. Some of the top-level activities can be launched directly without the left pane. Settings.java acts as a proxy activity that contains just that settings fragment without the left pane. There are still a lot of second and third level activities that need to be fragmentized. This is just the first pass to test the 2-pane layout.
* Add "Power button ends call" accessibility setting.David Brown2010-03-111-6/+48
| | | | | | | | | | | | | | | | | | | This is part 3 of the fix for bug 2364220 "Accessibility improvements for ending calls". This change adds a checkbox under "Accessibility settings" to control the new Settings.Secure.INCALL_POWER_BUTTON_BEHAVIOR value, which allows the user to specify that the Power button should hang up while in-call (instead of just turning off the screen.) The checkbox is only shown on devices that actually have a POWER button. Yeah, it's a little strange having this under Accessibility (since it's not that obvious *why* this feature is accessibility-related), but there's no obvious better place. See discussion in the bug for more info. Bug: 2364220 Change-Id: I0fd7cf357972519b390575b9c06a4bbe46ff1c9b