summaryrefslogtreecommitdiff
path: root/core/java/android/widget/CheckBox.java
Commit message (Collapse)AuthorAgeFilesLines
* Enable use of of CompoundButtons in RemoteViewsSteven Kideckel2021-02-031-0/+2
| | | | | | | | | | | | | | | | | This change adds @RemoteView and @RemotableViewMethod to the relevant views we'd like to enable. New APIs have been added to set Icons in CompooundButton and Switch. onCheckedChange support will be added in a follow-up CL. CompoundButton.setChecked and RadioGroup.check aren't directly remotable since RemoteViews will need to control those calls directly to ensure that any onCheckedChange listeners aren't triggered by RemoteViews actions. Bug: 179245670 Test: manual, atest Change-Id: I85e2aee62cf39ed008d9c9c1fece813293841fbd
* Fix import statements in android.widget package.Aurimas Liutikas2016-10-111-7/+6
| | | | | | | Additionally this CL removes spaces at the end of the line. Test: code still compiles. Change-Id: I1ce98b4e70aa3ae614f87966c3bc6181fa4389a4
* Remove unused imports in frameworks/base.John Spurlock2015-02-281-2/+0
| | | | Change-Id: I031443de83f93eb57a98863001826671b18f3b17
* First quick implementation of auto assist data.Dianne Hackborn2015-02-061-11/+2
| | | | | | | | | | | | | | Introduce new AssistData class that contains all data the framework automatically generates for assist. Currently populated with a very simple tree structure representing the app's view hierarchy. Reworked how we populate the class name for accessibility info, so this is provided through a new method call on View that subclasses can override. This method is also used to populate the class name in AssistData. Change-Id: Ibd0acdc8354727d4291473283b5e4b70894905dc
* Fix accessibility delegationAlan Viverette2015-01-071-4/+6
| | | | | | | | | | | | | | | Ensures that delegate code is run last. Previously, calling the super method from an accessibility delegate set on a widget would only run code in the widget's parent. Next, the delegate code would run. Finally, the widget's code would run. As a result, the widget code would override any data supplied by the delegate. By moving all overridden code to internal methods, we ensure that the call chain for super includes the widget's parent code followed by the widget's code. The delegate code will always run last. BUG: 17641433 Change-Id: Ib9d403156c1fc4fb04f65f3c126d1277a44b3740
* Add View constructor that supplies a default style resourceAlan Viverette2013-09-091-2/+6
| | | | | | | Also updates the constructor of every class that extends View. BUG: 10676369 Change-Id: Ifaf27bf82028d180afa4931c0e906df88d858ac3
* Revert "Simple MVC based binding mechanism for android controls."Philip Milne2013-04-181-22/+1
| | | | | | | | | | | | Fix for bug 8656899 API REVIEW: android.util.PropertyValueModel/ValueModel, android.widget.ValueEditor etc Revert the change that added this API to remove it outright. This reverts commit 989709a973448980f36dacd587b0a58f89ffa11e Change-Id: I9018cd8dadb1b1a54ad8749c816bd02bb7e7a38b
* am 7c00f816: am 2f5b61a7: Merge "docs: fix a bunch of links from javadocs to ↵Scott Main2012-07-251-2/+2
|\ | | | | | | | | | | | | api guides and add some attributes to Spinner and Switch" into jb-dev * commit '7c00f81606de1880c3f28e54cea064c3b90da3e7': docs: fix a bunch of links from javadocs to api guides and add some attributes to Spinner and Switch
| * docs: fix a bunch of links from javadocs to api guidesScott Main2012-07-241-2/+2
| | | | | | | | | | | | and add some attributes to Spinner and Switch Change-Id: If015ad000c1a36e19904c132e98ebff1ceaf718b
* | Simple MVC based binding mechanism for android controls.Philip Milne2012-07-201-1/+22
|/ | | | Change-Id: I80fe18e0e15f8a840d558de9863650505bd5fb00
* CheckBox should not populate AccessibilityEvent with text.Svetoslav Ganov2012-04-121-12/+0
| | | | | | | | | | | | | 1. Accessibility services are the ones that choose how to announces the checked state of a checkable control, so CheckBox should not add strings for its state to access events. 2. Removed some unused accessibility related strings. bug:6241115 Change-Id: I572b961191da4b3537fb6cad529d9764d39161ec
* AccessibilityEvent/AccessibilityNodeInfo class name property should be set ↵Svetoslav Ganov2012-01-171-0/+13
| | | | | | | | | | | | | | | to only framework classes. AccessibilityEvent and AccessibilityNodeInfo have a property className which is set to the source Java class. This is problematic since leads to leaking private classes which would allow an accessibility service to load classes from other packages. This is strongly undesirable since not trusted code can be loaded, and hence executed, in the accessibility service. To address that the class name is set to the most concrete framework class extended by the info/event source. bug:5878943 Change-Id: I7b3114ece8772ea2773f5151e21b8a6f2006882a
* Improving accessibility feedback for two state widgets.Svetoslav Ganov2011-07-291-0/+13
| | | | | | | | | | | | 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
* docs: add links from widget classes to tutorialsScott Main2010-08-191-0/+3
| | | | Change-Id: I817e885524951853182b0458df4a32dea1614243
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+65
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-65/+0
|
* Initial ContributionThe Android Open Source Project2008-10-211-0/+65