e724ee4b04d121556e9764f72f9b921a0e16392a |
|
31-Aug-2011 |
Gilles Debunne <debunne@google.com> |
Fix for NPE in Switch Happens when the checked state is set in XML in the CompoundButton constructor. The drawable are not yet loaded at that point. This still work since the Switch constructor calls setChecked, which will invalidate. Change-Id: I76459307e77596ce0f2759e9449eb42287c6bad7
/frameworks/base/core/java/android/widget/Switch.java
|
150176d83023e3c486dba10edebb72af36b4099a |
|
26-Aug-2011 |
Chet Haase <chet@google.com> |
Made the Switch class public. Tweaked the API of Switch slightly and made the class public (it was hidden before). Change-Id: I4a099e8afd18a11a5850252025ae3bbbb866830d
/frameworks/base/core/java/android/widget/Switch.java
|
01d11edc1ea2c495ba4bd6bbea8ba7bb7f597678 |
|
10-Aug-2011 |
Adam Powell <adamp@google.com> |
Flingable switches Change-Id: I640656358cf28569242d900d41493a69845f7305
/frameworks/base/core/java/android/widget/Switch.java
|
ec1d60369f751c2d9b60237077ceb9c03e4c0aed |
|
08-Aug-2011 |
Adam Powell <adamp@google.com> |
Fix bug 5112702 - switches should have "ON" on the right Make Switches obey the Grand Unified Theory of Button Ordering. This also matches their behavior with volume/brightness sliders. Change-Id: I4e72801e81b10002542a05f61c99a57991f130ff
/frameworks/base/core/java/android/widget/Switch.java
|
7650259a597dd24137420d32acc35efc44db381e |
|
29-Jul-2011 |
Svetoslav Ganov <svetoslavganov@google.com> |
Improving accessibility feedback for two state widgets. 1. Added population of sensible text for the state of the two state controls such as CheckBox, Switch, etc. This is important since if they are in a layout manager which fires an accessibility event there should be a description of the widget. bug:5092552 Change-Id: Ie3ca955653563496b84db379ae23a23fe88089a8
/frameworks/base/core/java/android/widget/Switch.java
|
63bce03cc69be4a45230aa8bbd89dbde60681067 |
|
24-Jul-2011 |
Svetoslav Ganov <svetoslavganov@google.com> |
Switch state text not added to accessibility events. 1. Adding the text to the events now. bug:5071053 Change-Id: If36afb1f5327720fc002b8c49e5d7b00c5f189f7
/frameworks/base/core/java/android/widget/Switch.java
|
c2ab0d665c9d1c332fbd726abf582a27cf7a6701 |
|
13-Jun-2011 |
Gilles Debunne <debunne@google.com> |
Switch is not affected by touch when disabled Also unchanged at the end of a drag/fling if the switch has been disabled in the mean time. Change-Id: Ie471a7fcf57fa633ee8eeefdfaa2939883ccfef0
/frameworks/base/core/java/android/widget/Switch.java
|
be0a4535053bbfdebd215e244b154ac810fd8edc |
|
30-Nov-2010 |
Adam Powell <adamp@google.com> |
Add SwitchPreference Change-Id: I073e9bfba8c4e1a625c27f976f71ea56a81ba20f
/frameworks/base/core/java/android/widget/Switch.java
|
c3eabb9b6ce7f556313c8e3870d76c5b443f1c51 |
|
08-Jan-2011 |
Joe Onorato <joeo@google.com> |
The switch widget didn't work properly until after onMeasure had run. Change-Id: I3259193ca60392ffc133f2ff6479feb8e4ad536e
/frameworks/base/core/java/android/widget/Switch.java
|
96e6b8bfc82e04d06923c372657768b4866e4fb9 |
|
14-Dec-2010 |
Gilles Debunne <debunne@google.com> |
Remove line height attribute from TextView. This attribute was introduced in HC and is only partially supported. It should actually also be used by the layout to be meaningful. Bug 3223987 Change-Id: Idb47be319a236326f7624fd865466356c19bc342
/frameworks/base/core/java/android/widget/Switch.java
|
189ee18d6c6483ad63cc864267328259e2e00b95 |
|
03-Dec-2010 |
Dianne Hackborn <hackbod@google.com> |
Implement smarter sizing of WRAP_CONTENT windows. This extends the view hierarchy's measure pass to allow view to propagate up to their parent additional information besides just their measured size. They can now report that their measured width and/or height should be larger than the size their parent is limiting them to (even though by definition they need to contrain their reported measurements to the limits imposed by the parent). ViewRoot uses this information to determine if it should remeasure the window with a larger size limit to try to make it fit. Change-Id: I90af3b7a8ec45d0a5c003fb009857025209d83eb
/frameworks/base/core/java/android/widget/Switch.java
|
12190b36a9da88f8db7dbd9ce16d127d76a904b7 |
|
29-Nov-2010 |
Adam Powell <adamp@google.com> |
Add the Switch widget Switch is hidden currently; it will be used in SystemUI and preferences. Change-Id: I2cd8458783f938f00f5ee5e7a67fb5a90404797d
/frameworks/base/core/java/android/widget/Switch.java
|