Home | History | Annotate | Download | only in ui

Lines Matching defs:Switch

51  * A Switch is a two-state toggle switch widget that can select between two
55 public class Switch extends CompoundButton {
99 * Construct a new Switch with default styling, overriding specific style
105 public Switch(Context context, AttributeSet attrs) {
110 * Construct a new Switch with a default style determined by the given theme attribute,
118 public Switch(Context context, AttributeSet attrs, int defStyle) {
145 * Sets the switch text color, size, style, hint color, and highlight color
210 * @return true if (x, y) is within the target area of the switch thumb
226 switch (action) {
239 switch (mTouchMode) {
303 // Up and not canceled, also checks the switch has not been disabled during the drag
356 switch (getGravity() & Gravity.VERTICAL_GRAVITY_MASK) {
385 // Draw the switch
485 event.setClassName(Switch.class.getName());
492 info.setClassName(Switch.class.getName());