/**@class android.widget.Switch
@extends android.widget.CompoundButton

 A Switch is a two-state toggle switch widget that can select between two
 options. The user may drag the "thumb" back and forth to choose the selected option,
 or simply tap to toggle as if it were a checkbox. The {@link #setText(CharSequence) text}
 property controls the text displayed in the label for the switch, whereas the
 {@link #setTextOff(CharSequence) off} and {@link #setTextOn(CharSequence) on} text
 controls the text on the thumb. Similarly, the
 {@link #setTextAppearance(android.content.Context, int) textAppearance} and the related
 setTypeface() methods control the typeface and style of label text, whereas the
 {@link #setSwitchTextAppearance(android.content.Context, int) switchTextAppearance} and
 the related setSwitchTypeface() methods control that of the thumb.

 <p>{@link android.support.v7.widget.SwitchCompat} is a version of
 the Switch widget which runs on devices back to API 7.</p>

 <p>See the <a href="{@docRoot}guide/topics/ui/controls/togglebutton.html">Toggle Buttons</a>
 guide.</p>

 @attr ref android.R.styleable#Switch_textOn
 @attr ref android.R.styleable#Switch_textOff
 @attr ref android.R.styleable#Switch_switchMinWidth
 @attr ref android.R.styleable#Switch_switchPadding
 @attr ref android.R.styleable#Switch_switchTextAppearance
 @attr ref android.R.styleable#Switch_thumb
 @attr ref android.R.styleable#Switch_thumbTextPadding
 @attr ref android.R.styleable#Switch_track
*/
var Switch = {

/**Sets the switch text color, size, style, hint color, and highlight color
 from the specified TextAppearance resource.
@attr ref android.R.styleable#Switch_switchTextAppearance
*/
setSwitchTextAppearance : function(  ) {},

/**Sets the typeface and style in which the text should be displayed on the
 switch, and turns on the fake bold and italic bits in the Paint if the
 Typeface that you provided does not have all the bits in the
 style that you specified.
*/
setSwitchTypeface : function(  ) {},

/**Sets the typeface in which the text should be displayed on the switch.
 Note that not all Typeface families actually have bold and italic
 variants, so you may need to use
 {@link #setSwitchTypeface(Typeface, int)} to get the appearance
 that you actually want.
@attr ref android.R.styleable#TextView_typeface
@attr ref android.R.styleable#TextView_textStyle
*/
setSwitchTypeface : function(  ) {},

/**Set the amount of horizontal padding between the switch and the associated text.
@param {Number} pixels Amount of padding in pixels
@attr ref android.R.styleable#Switch_switchPadding
*/
setSwitchPadding : function(  ) {},

/**Get the amount of horizontal padding between the switch and the associated text.
@return {Number} Amount of padding in pixels
@attr ref android.R.styleable#Switch_switchPadding
*/
getSwitchPadding : function(  ) {},

/**Set the minimum width of the switch in pixels. The switch's width will be the maximum
 of this value and its measured width as determined by the switch drawables and text used.
@param {Number} pixels Minimum width of the switch in pixels
@attr ref android.R.styleable#Switch_switchMinWidth
*/
setSwitchMinWidth : function(  ) {},

/**Get the minimum width of the switch in pixels. The switch's width will be the maximum
 of this value and its measured width as determined by the switch drawables and text used.
@return {Number} Minimum width of the switch in pixels
@attr ref android.R.styleable#Switch_switchMinWidth
*/
getSwitchMinWidth : function(  ) {},

/**Set the horizontal padding around the text drawn on the switch itself.
@param {Number} pixels Horizontal padding for switch thumb text in pixels
@attr ref android.R.styleable#Switch_thumbTextPadding
*/
setThumbTextPadding : function(  ) {},

/**Get the horizontal padding around the text drawn on the switch itself.
@return {Number} Horizontal padding for switch thumb text in pixels
@attr ref android.R.styleable#Switch_thumbTextPadding
*/
getThumbTextPadding : function(  ) {},

/**Set the drawable used for the track that the switch slides within.
@param {Object {Drawable}} track Track drawable
@attr ref android.R.styleable#Switch_track
*/
setTrackDrawable : function(  ) {},

/**Set the drawable used for the track that the switch slides within.
@param {Number} resId Resource ID of a track drawable
@attr ref android.R.styleable#Switch_track
*/
setTrackResource : function(  ) {},

/**Get the drawable used for the track that the switch slides within.
@return {Object {android.graphics.drawable.Drawable}} Track drawable
@attr ref android.R.styleable#Switch_track
*/
getTrackDrawable : function(  ) {},

/**Applies a tint to the track drawable. Does not modify the current
 tint mode, which is {@link PorterDuff.Mode#SRC_IN} by default.
 <p>
 Subsequent calls to {@link #setTrackDrawable}(Drawable) will
 automatically mutate the drawable and apply the specified tint and tint
 mode using {@link Drawable#setTintList(ColorStateList)}.
@param {Object {ColorStateList}} tint the tint to apply, may be {@code null} to clear tint
@attr ref android.R.styleable#Switch_trackTint
@see #getTrackTintList()
@see Drawable#setTintList(ColorStateList)
*/
setTrackTintList : function(  ) {},

/**
@return {Object {android.content.res.ColorStateList}} the tint applied to the track drawable
@attr ref android.R.styleable#Switch_trackTint
@see #setTrackTintList(ColorStateList)
*/
getTrackTintList : function(  ) {},

/**Specifies the blending mode used to apply the tint specified by
 {@link #setTrackTintList}(ColorStateList)} to the track drawable.
 The default mode is {@link PorterDuff.Mode#SRC_IN}.
@param {Object {PorterDuff.Mode}} tintMode the blending mode used to apply the tint, may be
                 {@code null} to clear tint
@attr ref android.R.styleable#Switch_trackTintMode
@see #getTrackTintMode()
@see Drawable#setTintMode(PorterDuff.Mode)
*/
setTrackTintMode : function(  ) {},

/**Specifies the blending mode used to apply the tint specified by
 {@link #setTrackTintList}(ColorStateList)} to the track drawable.
 The default mode is {@link BlendMode#SRC_IN}.
@param {Object {BlendMode}} blendMode the blending mode used to apply the tint, may be
                 {@code null} to clear tint
@attr ref android.R.styleable#Switch_trackTintMode
@see #getTrackTintMode()
@see Drawable#setTintBlendMode(BlendMode)
*/
setTrackTintBlendMode : function(  ) {},

/**
@return {Object {android.graphics.PorterDuff.Mode}} the blending mode used to apply the tint to the track
         drawable
@attr ref android.R.styleable#Switch_trackTintMode
@see #setTrackTintMode(PorterDuff.Mode)
*/
getTrackTintMode : function(  ) {},

/**
@return {Object {android.graphics.BlendMode}} the blending mode used to apply the tint to the track
         drawable
@attr ref android.R.styleable#Switch_trackTintMode
@see #setTrackTintBlendMode(BlendMode)
*/
getTrackTintBlendMode : function(  ) {},

/**Set the drawable used for the switch "thumb" - the piece that the user
 can physically touch and drag along the track.
@param {Object {Drawable}} thumb Thumb drawable
@attr ref android.R.styleable#Switch_thumb
*/
setThumbDrawable : function(  ) {},

/**Set the drawable used for the switch "thumb" - the piece that the user
 can physically touch and drag along the track.
@param {Number} resId Resource ID of a thumb drawable
@attr ref android.R.styleable#Switch_thumb
*/
setThumbResource : function(  ) {},

/**Get the drawable used for the switch "thumb" - the piece that the user
 can physically touch and drag along the track.
@return {Object {android.graphics.drawable.Drawable}} Thumb drawable
@attr ref android.R.styleable#Switch_thumb
*/
getThumbDrawable : function(  ) {},

/**Applies a tint to the thumb drawable. Does not modify the current
 tint mode, which is {@link PorterDuff.Mode#SRC_IN} by default.
 <p>
 Subsequent calls to {@link #setThumbDrawable}(Drawable) will
 automatically mutate the drawable and apply the specified tint and tint
 mode using {@link Drawable#setTintList(ColorStateList)}.
@param {Object {ColorStateList}} tint the tint to apply, may be {@code null} to clear tint
@attr ref android.R.styleable#Switch_thumbTint
@see #getThumbTintList()
@see Drawable#setTintList(ColorStateList)
*/
setThumbTintList : function(  ) {},

/**
@return {Object {android.content.res.ColorStateList}} the tint applied to the thumb drawable
@attr ref android.R.styleable#Switch_thumbTint
@see #setThumbTintList(ColorStateList)
*/
getThumbTintList : function(  ) {},

/**Specifies the blending mode used to apply the tint specified by
 {@link #setThumbTintList}(ColorStateList)} to the thumb drawable.
 The default mode is {@link PorterDuff.Mode#SRC_IN}.
@param {Object {PorterDuff.Mode}} tintMode the blending mode used to apply the tint, may be
                 {@code null} to clear tint
@attr ref android.R.styleable#Switch_thumbTintMode
@see #getThumbTintMode()
@see Drawable#setTintMode(PorterDuff.Mode)
*/
setThumbTintMode : function(  ) {},

/**Specifies the blending mode used to apply the tint specified by
 {@link #setThumbTintList}(ColorStateList)} to the thumb drawable.
 The default mode is {@link PorterDuff.Mode#SRC_IN}.
@param {Object {BlendMode}} blendMode the blending mode used to apply the tint, may be
                 {@code null} to clear tint
@attr ref android.R.styleable#Switch_thumbTintMode
@see #getThumbTintMode()
@see Drawable#setTintBlendMode(BlendMode)
*/
setThumbTintBlendMode : function(  ) {},

/**
@return {Object {android.graphics.PorterDuff.Mode}} the blending mode used to apply the tint to the thumb
         drawable
@attr ref android.R.styleable#Switch_thumbTintMode
@see #setThumbTintMode(PorterDuff.Mode)
*/
getThumbTintMode : function(  ) {},

/**
@return {Object {android.graphics.BlendMode}} the blending mode used to apply the tint to the thumb
         drawable
@attr ref android.R.styleable#Switch_thumbTintMode
@see #setThumbTintBlendMode(BlendMode)
*/
getThumbTintBlendMode : function(  ) {},

/**Specifies whether the track should be split by the thumb. When true,
 the thumb's optical bounds will be clipped out of the track drawable,
 then the thumb will be drawn into the resulting gap.
@param {Boolean} splitTrack Whether the track should be split by the thumb
@attr ref android.R.styleable#Switch_splitTrack
*/
setSplitTrack : function(  ) {},

/**Returns whether the track should be split by the thumb.
@attr ref android.R.styleable#Switch_splitTrack
*/
getSplitTrack : function(  ) {},

/**Returns the text displayed when the button is in the checked state.
@attr ref android.R.styleable#Switch_textOn
*/
getTextOn : function(  ) {},

/**Sets the text displayed when the button is in the checked state.
@attr ref android.R.styleable#Switch_textOn
*/
setTextOn : function(  ) {},

/**Returns the text displayed when the button is not in the checked state.
@attr ref android.R.styleable#Switch_textOff
*/
getTextOff : function(  ) {},

/**Sets the text displayed when the button is not in the checked state.
@attr ref android.R.styleable#Switch_textOff
*/
setTextOff : function(  ) {},

/**Sets whether the on/off text should be displayed.
@param {Boolean} showText {@code true} to display on/off text
@attr ref android.R.styleable#Switch_showText
*/
setShowText : function(  ) {},

/**
@return {Boolean} whether the on/off text should be displayed
@attr ref android.R.styleable#Switch_showText
*/
getShowText : function(  ) {},

/**
*/
onMeasure : function(  ) {},

/**
@hide 
*/
onPopulateAccessibilityEventInternal : function(  ) {},

/**
*/
onTouchEvent : function(  ) {},

/**
*/
toggle : function(  ) {},

/**
*/
setChecked : function(  ) {},

/**
*/
draw : function(  ) {},

/**
*/
getCompoundPaddingLeft : function(  ) {},

/**
*/
getCompoundPaddingRight : function(  ) {},

/**
*/
drawableHotspotChanged : function(  ) {},

/**
*/
jumpDrawablesToCurrentState : function(  ) {},

/**
*/
getAccessibilityClassName : function(  ) {},

/**
@hide 
*/
onInitializeAccessibilityNodeInfoInternal : function(  ) {},


};