History log of /frameworks/base/core/java/android/preference/TwoStatePreference.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
996a63859fd6e1e77f88ae465afa2c71e4dd3245 03-Sep-2014 Alan Viverette <alanv@google.com> Fix accessibility events emitted from TwoStatePreference

Removes redundant and conflicting events emitted from check and switch
preferences. Sends VIEW_CLICKED accessibility events from AdapterView
rows after calling their on click listeners, which ensures data is
consistent.

BUG: 16961152
Change-Id: I4b57bceec6830d775c2da57226b8ee482242caf7
/frameworks/base/core/java/android/preference/TwoStatePreference.java
a927fb61694df52459e44a0298e91cf63cffc2ae 10-Sep-2013 Amith Yamasani <yamasani@google.com> am 23d6b7b3: am 618f8cc5: Merge "Don\'t leave space for summary text if it\'s an empty string" into klp-dev

* commit '23d6b7b36096eef53f819ee5eee0aba3beecde67':
Don't leave space for summary text if it's an empty string
617feb99a06e7ffb3894e86a286bf30e085f321a 10-Sep-2013 Alan Viverette <alanv@google.com> Add View constructor that supplies a default style resource

Also updates the constructor of every class that extends View.

BUG: 10676369
Change-Id: Ifaf27bf82028d180afa4931c0e906df88d858ac3
/frameworks/base/core/java/android/preference/TwoStatePreference.java
b25158886bba80ca8e03bc252121f5f89fb80f46 09-Sep-2013 Amith Yamasani <yamasani@google.com> Don't leave space for summary text if it's an empty string

Bug: 10639567
Change-Id: Ifeb71ea0779a86e39fe55fb0bc6cd267dba4a92e
/frameworks/base/core/java/android/preference/TwoStatePreference.java
c1b07211b8a2a1eebefa8e5403ca7b2c6ccdccc6 10-Aug-2012 Adam Powell <adamp@google.com> Don't assume a default of 'false' for TwoStatePreference

TwoStatePreference would treat a default value of false as having no
effect since it matched the initial value of the internal field. This
caused asymmetric behavior around persistence and listener
notification when the default was true (persisted) vs. false (not
persisted).

Standard behavior for most Preferences is to persist the default
value. Make TwoStatePreference (CheckBoxPreference and
SwitchPreference) follow this pattern.

Bug 5722690

Change-Id: I8b3cf55efc5dfd573b511913b48ced017f0432d8
/frameworks/base/core/java/android/preference/TwoStatePreference.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/preference/TwoStatePreference.java
a28a16d1c2b58999d757a4cd3bc66a2f3499a2eb 28-Jul-2011 Svetoslav Ganov <svetoslavganov@google.com> Updating the data base upgrade/creation code for the new touch exploraion setting.

1. Update the database creation/upgrade code to take care of the new setting
to enable touch exploration.

2. Made the tocuh exploration settings persistent to the cloud.

Change-Id: Ie24e9184b4a21869432d11d207cb6464fadbac3b
/frameworks/base/core/java/android/preference/TwoStatePreference.java
5c3ea06a7a5558509545450ccc465d695bd1a2e6 23-Jul-2011 Svetoslav Ganov <svetoslavganov@google.com> TwoStatePreference does not fire click events.

1. Event were send in onBindView but since we have fixed the bug
of unattached views firing accessibility events and there is
no guarantee that the view is attached in onBindView no events
were sent. Now posting a runnable so on the next run the UI
tread will send the event i.e. after the view is bound and
attached.

bug:5008841

Change-Id: I4ed914f7fb65d6896f0c55e7c46e6508d2b2f11f
/frameworks/base/core/java/android/preference/TwoStatePreference.java
be0a4535053bbfdebd215e244b154ac810fd8edc 30-Nov-2010 Adam Powell <adamp@google.com> Add SwitchPreference

Change-Id: I073e9bfba8c4e1a625c27f976f71ea56a81ba20f
/frameworks/base/core/java/android/preference/TwoStatePreference.java