summaryrefslogtreecommitdiff
path: root/core/java/android/preference/CheckBoxPreference.java
Commit message (Collapse)AuthorAgeFilesLines
* Deprecates framework Preference classesLouis Pullen-Freilich2018-11-191-1/+8
| | | | | | | | | The AndroidX Preference Library is the recommended way to build settings screens moving forward. Bug: b/114357488 Test: n/a Change-Id: I3b3bff2daf43d8239d8bf247a9c2acebbc6374eb
* Fix accessibility events emitted from TwoStatePreferenceAlan Viverette2014-09-021-1/+0
| | | | | | | | | | 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
* Add View constructor that supplies a default style resourceAlan Viverette2013-09-091-5/+10
| | | | | | | Also updates the constructor of every class that extends View. BUG: 10676369 Change-Id: Ifaf27bf82028d180afa4931c0e906df88d858ac3
* Improving accessibility feedback for two state widgets.Svetoslav Ganov2011-07-291-2/+1
| | | | | | | | | | | | 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
* TwoStatePreference does not fire click events.Svetoslav Ganov2011-07-221-2/+2
| | | | | | | | | | | | | 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
* Add SwitchPreferenceAdam Powell2011-06-081-266/+7
| | | | Change-Id: I073e9bfba8c4e1a625c27f976f71ea56a81ba20f
* CheckBoxPreferences do not fire accessibility eventsSvetoslav Ganov2011-03-151-2/+12
| | | | | | | | | | | | | | bug:4091160 We no longer allow not shown views to fire accessibility events. Therefore, CheckBoxPreference can no longer ask its associated checkbox to fire an accessibility event because the latter is not attached to the view hierarchy (i.e. not shown) by the time the CheckBoxPreference has a chance to send an accessibility event. Instead the CheckBoxPreference itself is responsible for firing the event. Change-Id: Ia742882b13bf6c441cc76fa1e84b47a55cee601c
* add a supportsUploading flag in the SyncAdapter description and honor it in ↵Fred Quintana2009-08-201-8/+6
| | | | the SyncManager
* Accessibility feature - framework changes (replacing 698, 699, 700, 701 and ↵svetoslavganov2009-05-141-4/+30
| | | | merging with the latest Donut)
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+295
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-295/+0
|
* Code drop from //branches/cupcake/...@124589The Android Open Source Project2008-12-171-1/+1
|
* Initial ContributionThe Android Open Source Project2008-10-211-0/+295