Searched refs:mTextOn (Results 1 – 3 of 3) sorted by relevance
37 private CharSequence mTextOn; field in ToggleButton50 mTextOn = a.getText(com.android.internal.R.styleable.ToggleButton_textOn); in ToggleButton()78 if (checked && mTextOn != null) { in syncTextState()79 setText(mTextOn); in syncTextState()91 return mTextOn; in getTextOn()100 mTextOn = textOn; in setTextOn()
108 private CharSequence mTextOn; field in Switch235 mTextOn = a.getText(com.android.internal.R.styleable.Switch_textOn); in Switch()755 return mTextOn; in getTextOn()764 mTextOn = textOn; in setTextOn()812 mOnLayout = makeLayout(mTextOn); in onMeasure()881 final CharSequence text = isChecked() ? mTextOn : mTextOff; in onPopulateAccessibilityEventInternal()1405 CharSequence switchText = isChecked() ? mTextOn : mTextOff; in onProvideStructure()1425 CharSequence switchText = isChecked() ? mTextOn : mTextOff; in onInitializeAccessibilityNodeInfoInternal()
115 private CharSequence mTextOn; field in SwitchCompat222 mTextOn = a.getText(R.styleable.SwitchCompat_android_textOn); in SwitchCompat()729 return mTextOn; in getTextOn()738 mTextOn = textOn; in setTextOn()786 mOnLayout = makeLayout(mTextOn); in onMeasure()855 final CharSequence text = isChecked() ? mTextOn : mTextOff; in onPopulateAccessibilityEvent()1407 CharSequence switchText = isChecked() ? mTextOn : mTextOff; in onInitializeAccessibilityNodeInfo()