History log of /packages/apps/Settings/src/com/android/settings/widget/SwitchBar.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
b47b2c3f6af650441f8069b87d0d82549913f7c5 04-Apr-2015 John Spurlock <jspurlock@google.com> Zen: Move zen mode preference to switch bar.

- Add summary line support to SwitchBar.
- Remove obsolete strings.
- Wire up switchbar to zen mode w/ dialog prompt.
- Remove obsolete callback pref helper.

Bug: 20064962
Change-Id: Ifede00b5d43d441ccd94db96bd2796bc57d1a990
/packages/apps/Settings/src/com/android/settings/widget/SwitchBar.java
9a23adf69dc53126c9858b19760eab5b67c23b97 18-Mar-2015 John Spurlock <jspurlock@google.com> Settings: Remove all unused imports.

Change-Id: Iebfa52cb849d69974c94902b0b020893cf5618a3
/packages/apps/Settings/src/com/android/settings/widget/SwitchBar.java
b18e2423667b132d8de428fdbdb32572a1befe62 19-Aug-2014 Lifu Tang <lifu@google.com> Set switch to the correct enabling state

- Fix b/16951708

Change-Id: I4f9a2a374a771fd353fca436a0d34644f9bc8320
/packages/apps/Settings/src/com/android/settings/widget/SwitchBar.java
09be4b3c87998b9dca99383cb03c71c0889a01a7 23-Jul-2014 Alan Viverette <alanv@google.com> Stop using framework-private switch asset

BUG: 16467249
Change-Id: I0829c3dea522cf59e0f92046ea7c6092d416ad4c
/packages/apps/Settings/src/com/android/settings/widget/SwitchBar.java
1b18665dbc49663f290859ce9cdf3237b8a30b7c 16-Jul-2014 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #16319697 ACTION_DEVICE_INFO_SETTINGS intent causes Settings app to crash

- fix the way we are passing switchBarMarginStart / switchBarMarginEnd

Change-Id: Ic6e67643be10877a74ae68075460fa5fd4cc5da1
/packages/apps/Settings/src/com/android/settings/widget/SwitchBar.java
006b2cca1311e61472a8b66fb0c50854fc36d2e7 28-Jun-2014 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #15897505 Talk back state shows "off" while the talk back is still 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
/packages/apps/Settings/src/com/android/settings/widget/SwitchBar.java
d2b1e441b7314640b2c51ca367c6cc3925147a81 28-Jun-2014 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #15939648 "Use TalkBack ?" is shown after orientation change even if it was OFF before

- prevent onSaveInstanceState() on the ToggleSwitch
- fix missing setOnCheckedChangeListener() when restoring the SwitchBar state

Change-Id: I818577004f142be46fa378389f264c7f37cfd7b8
/packages/apps/Settings/src/com/android/settings/widget/SwitchBar.java
138ff8c0457c6e1345015973668d652fa17c7c3b 12-Jun-2014 Fabrice Di Meglio <fdimeglio@google.com> Make the SwitchBar appear immediately

- change the way the SwitchBar is shown and hidden
- save its state
- remove the delay transition code

Change-Id: I07260430e6709b42517ca011f6d3c3446a626731
/packages/apps/Settings/src/com/android/settings/widget/SwitchBar.java
e9cb75c636234e44c94b38a877f3c60091d907dc 03-Jun-2014 Fabrice Di Meglio <fdimeglio@google.com> Entire Switch bar should be a touch state

- add click listener for toggling the Switch and its text
- add Ripple background to the SwitchBar to make a nice Ripple
when there is a click/touch

See bug #15385724 Entire Switch bar should be a touch state

Change-Id: I26ef77ace596029e9c3e1e17b153b54df4a9110e
/packages/apps/Settings/src/com/android/settings/widget/SwitchBar.java
6220275d6dec8ffc6f1df2cbfbf42934d09d41f0 16-May-2014 Fabrice Di Meglio <fdimeglio@google.com> Use SwitchBar for Accessibility Settings

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
/packages/apps/Settings/src/com/android/settings/widget/SwitchBar.java
41937766981423c9252e12e3319b2e7532739627 14-May-2014 Fabrice Di Meglio <fdimeglio@google.com> Introduce SwitchBar widget

- SwitchBar is a LinearLayout that containts a TextView and a Switch and
is intended to replace all Switches that are put in the ActionBar as a
custom view
- use the new SwitchBar for WifiSetting only for now (a later CL will
take care of all the other Setting that are using a Switch in the
ActionBar)

Related to bug #14898161 On/Off switches must move down from Action Bar

Change-Id: I5e98dbe995bba8f440d08459e09ca3ac09d3464b
/packages/apps/Settings/src/com/android/settings/widget/SwitchBar.java