Commit Graph

45 Commits

Author SHA1 Message Date
Fan Zhang
1c118b5f2a Always reserve space for preference icons.
This aligns text on preferences on the same screen when some of them
don't have icons.

- Use a custom layout for
  preference
  EditPreference
  switch preference
  VolumeSeekPreference
  DialogPreferencei
  Restricted*Preference
  DropdownPreference

- Moved related style defs into a new file styles_preference.xml,
  because current styles file is too large to read.
- Switch <PreferenceScreen ...> to <Preference ...> for a bunch of
  regular preferences.
- Also removed some dead style.

Bug: 33430928
Test: runtest --path packages/apps/Settings/tests/app/src/com/android/settings/dashboard/PreferenceThemeTest.java

Change-Id: Ic9b75d3f133f2a83cd999297b8596253d4b10161
2016-12-12 16:02:45 -08:00
Andy Hung
acef55d099 Add mono audio to AccessibilitySettings
Bug: 15283594
Change-Id: If5ca14a800e1932b17ef479589beb8a5d1489b5d
2016-02-26 14:35:09 -08:00
Jason Monk
31c7c32fcc Broadscale logging for Settings
Bug: 26687914
Change-Id: Ida75ccf95376538e2ba95d212d333c40fd2dd6e0
2016-01-30 10:38:43 -05:00
Noah Wang
a6bb3d2307 Add entry point of screen zoom to accessibility and font size to display.
Also removing large text preference.

Change-Id: I076664edf1d1afd69385e34f9300bf5c0788b3e7
2016-01-28 12:49:38 -08:00
Anna Galusza
b1795f5549 Make A11y SUW launchable from SUW and small UX changes based on last round of
UX studies.

Change-Id: I9c20cd3abf910a37731da2af604f3af2cd30e942
2016-01-20 15:42:58 -08:00
Noah Wang
49fabb9b47 Accomodating multiple preview screen with ViewPager for the users to
swipe across, along with some UI refinements.

Change-Id: I9487bcce88cdab490a4b6baa752224acddc5be52
2016-01-14 22:50:54 -08:00
Noah Wang
e64cc267e7 Adding settings screen for font size. Also factored out common
components from screen magnification settings screen.

Change-Id: I1828c7c0246f14493903172f2da7419fdc8e5f09
2016-01-11 12:57:00 -08:00
Anna Galusza
6bc8144e97 Add A11y SUW hub page after verifying build fix.
Original CL: 
https://googleplex-android-review.git.corp.google.com/#/c/828444/.

Diff (fixes build and adds a period):
https://googleplex-android-review.git.corp.google.com/#/c/841247/

This reverts commit 44be967e95.

Change-Id: I971806022dcd791de2d7819fa19df7801f51b673
2016-01-07 17:45:31 +00:00
Anna Galusza
44be967e95 Revert to fix build breakage.
Revert "Add A11y SUW hub page. Minor alterations of Magnification screen to be consistent wtih most recent desigs."

This reverts commit bf95133f75.

Change-Id: I4559dfdcf5c0f6eea316a190d507a3bccd195149
2016-01-06 21:42:43 +00:00
Anna Galusza
bf95133f75 Add A11y SUW hub page. Minor alterations of
Magnification screen to be consistent wtih most
recent desigs.

Change-Id: I191f6f66edb26597db6f4ed41311998b8ce26ca4
2015-12-18 12:58:31 -08:00
Jun Mukai
5875bb86a1 Add a toggle switch for accessibility large pointer icons.
Bug: 25778857
Change-Id: I85f23253dda73b315aa8b1a612cb556f843d94db
2015-12-07 11:52:40 -08:00
Toni Barzic
76be5e352a Add a11y setting for Automatically click after pointer stops
Adds new preference screen for the feature, where the feature can be
enabled/disabled, and delay before click can be specified (implemented
as seek bar preference, enabled iff the feature is enabled).

Preference is added to Accessibility setting. The preference summary is
set to string describing the delay after pointer stops moving before
click is scheduled (the string also contains numerical value of the
delay).

BUG=20049245

Change-Id: Ib7b2f5c24efbd08e3200143c069bcdbc9b5a327a
2015-10-05 14:19:04 -07:00
Fabrice Di Meglio
d8ae35ea50 Fix bug #15730311 Checkboxes on R side should update to Quantum/Material 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
2014-10-13 17:09:08 -07:00
Alan Viverette
aaa066b66d Add "experimental" subtitle to color correction and inversion
BUG: 17112912
Change-Id: I84eaa94e755bfcfbdf014fae09d1b02ae5d2eb4a
2014-08-19 17:37:16 -07:00
Fabrice Di Meglio
df77106e94 Fix bug #16712121 Add 'Experimental' substring to 'High contrast text'
- add "(Experimental)" as a summary text for "High contrast text"

Change-Id: I6faf1ea382e90a4f0dffcc8a093e4aa5a4653d23
2014-08-06 10:55:39 -07:00
Alan Viverette
04e1acc12b Remove inversion quick settings toggle
Also removes remnants of contrast preference screen.

BUG: 16303790
Change-Id: I9833b53e187e5f41c0442bcbaf9b728d55577d88
2014-07-21 22:46:20 +00:00
Chris Craik
fc72424cd7 Accessibility text contrast control
b/14624452

Change-Id: I0f6708680eb37cf8e7dc63cae56b639eaf7c8dbd
2014-07-16 18:04:26 -07:00
Alan Viverette
02d1aec286 Simplify accessibility display adjustments
BUG: 14680114
Change-Id: Ifd66256f4a8301d4c159f62a4211a2fbaaa6111a
2014-05-12 15:13:54 -07:00
Fabrice Di Meglio
c169ee6fdc Improve titles
- makes titles consistent with what is shown into the Drawer and
defined into the PreferenceScreen files

Change-Id: I6077d947b3afcc63bfbe9c78b973709778064f9b
2014-02-13 18:55:15 -08:00
Alan Viverette
4098dba253 Remove extra fragment in captioning preferences
BUG: 11813771
Change-Id: Ied0b268aca93d7081cdcee1ea9db6347a762e3ac
2013-12-04 17:19:24 -08:00
Alan Viverette
fc0ab213b8 Add accessibility display adjustments to Settings
This will be redesigned soon, but for now it allows access to quick
setting tiles for testing display adjustments.

BUG: 9057596
Change-Id: I4b760487b2fe0a336b188930306000e5dfc01951
2013-10-02 16:36:33 -07:00
Alan Viverette
cc0e782871 Add captioning preferences screen
BUG: 9926077
Change-Id: Iea141d5d6fd0e4f134c36c51d89830b3c31abd09
2013-08-06 13:53:58 -07:00
Alan Viverette
341ff66e03 Move accessibility settings to their own package
Change-Id: I5822bf4a81f5ade4ee0649ed30c2daa40d7e8fe2
2013-07-18 17:49:33 -07:00
Svetoslav
53023d6178 Remove "enhance web scripts" from settings.
See change Ic125514c34f191aea0416a469e4b3481ab3200b9 for details.

bug:8089372

Change-Id: I47eda16579c29051aa24b8d4c38035439aa00915
2013-01-29 13:57:04 -08:00
Svetoslav Ganov
a59f1aacc0 Setting to enable the global gesture for turning on accessibility.
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
2012-09-28 15:43:21 -07:00
Svetoslav Ganov
decf36e6a5 Settings for the screen magnification feature.
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
2012-09-07 16:07:57 -07:00
Svetoslav Ganov
2121f097c0 Updating the checkbox state to match the title.
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
2012-05-18 18:00:31 -07:00
Svetoslav Ganov
ec94c78ec8 Removing explore by touch from settings.
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
2012-05-18 12:35:58 -07:00
Svetoslav Ganov
9ad9cf646e Adding Text-To-Speech under Accessibility.
1. Adding text to speech (TTS) settings link under accessibility since
   the TTS settings are buried under language and input, therefore it is
   hard to find for a blind user. Note that TTS settings are some of the most
   important for a visually impaired user.

bug:5713535

Change-Id: I60aed1aeec5d40aa633dbac6e6149ad12366e9e6
2012-04-12 19:38:03 -07:00
Svetoslav Ganov
24f81a68bb am 7e8dcbea: Adding a system preference whether to speak passwords in accessibility mode (settings).
* commit '7e8dcbea65356807ca052ee5e98c9b25b7f0b1ca':
  Adding a system preference whether to speak passwords in accessibility mode (settings).
2011-12-06 10:31:05 -08:00
Svetoslav Ganov
7e8dcbea65 Adding a system preference whether to speak passwords in accessibility mode (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
2011-12-05 13:09:27 -08:00
Svetoslav Ganov
1ada233046 Remove install accessibility scripts confirmation dialog title.
bug:5552414

Change-Id: If5042632123da4388007d4ae98bc26e4cc53da81
2011-11-07 15:28:20 -08:00
Svetoslav Ganov
9b539cc584 Polish of the accessibility settings.
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
2011-09-14 12:26:33 -07:00
Svetoslav Ganov
ea5a50a708 Update of accessibility settings
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
2011-09-01 10:25:23 -07:00
Svetoslav Ganov
1a97fa13d0 Polish of the accessibility settings.
Change-Id: Ifb32ec6745e566cf7ffafe20019b68d95661b45d
2011-07-29 15:11:33 -07:00
Costin Manolache
672b3c6576 Revamp of the accessibility settings.
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
2011-07-25 12:17:01 -07:00
Svetoslav Ganov
37d04f748f Adding temporary setting for enabling touch exploration.
Change-Id: I81cef6f3bf4e533da1082bf836a74e38fe718af3
2011-07-15 14:26:53 -07:00
Dianne Hackborn
00453157ae Add "large text" accessibility option.
Also re-arrange the UI a bit to clearly put the button for
enabling/disabiling accessibility services along-side said
services.

Change-Id: Ica1ddecddf6e97800909ba6bea9ce4e124b59c01
2011-06-23 16:36:43 -07:00
Svetoslav Ganov
c82b60dcc7 Updated the strings for configuring long press timeout.
Change-Id: I1a4b2e05bf63933861198b8bcf7a34d0f4f6b1fd
2011-03-03 13:21:20 -08:00
Svetoslav Ganov
82623019d2 Adding system wide long press timeout configurability under accessibility.
bug:3505096

Added an option in the accessibility set

Change-Id: Ie36240229ca15a252d5f34051bfe8ac77a101da9
2011-03-02 14:02:23 -08:00
Svetoslav Ganov
3d64653d1f WebView accessibility support - Adding opt-in setting for enabling accessibility script injection from Google
Change-Id: I1676f34c30a0e9414d51060ad4fb2c9c502b09c3
2010-09-16 12:45:19 -07:00
Amith Yamasani
d79934731c Refactor settings top level activities to use fragments.
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.
2010-08-18 22:59:33 -07:00
David Brown
6e101d125a Add "Power button ends call" accessibility setting.
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
2010-03-11 17:39:11 -08:00
Charles Chen
52b221d94b Removing the summary texts for the Accessibility checkbox
as requested by Raman.
2009-06-11 15:54:36 -07:00
svetoslavganov
a05d0dc67e Accessibility feature - settings (replacing 704 and merging with the latest Donut) 2009-05-14 22:26:34 -07:00