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()
107 private CharSequence mTextOn; field in Switch234 mTextOn = a.getText(com.android.internal.R.styleable.Switch_textOn); in Switch()754 return mTextOn; in getTextOn()763 mTextOn = textOn; in setTextOn()811 mOnLayout = makeLayout(mTextOn); in onMeasure()880 final CharSequence text = isChecked() ? mTextOn : mTextOff; in onPopulateAccessibilityEventInternal()1399 CharSequence switchText = isChecked() ? mTextOn : mTextOff; in onProvideStructure()1419 CharSequence switchText = isChecked() ? mTextOn : mTextOff; in onInitializeAccessibilityNodeInfoInternal()
95 private CharSequence mTextOn; field in SwitchCompat202 mTextOn = a.getText(R.styleable.SwitchCompat_android_textOn); in SwitchCompat()477 return mTextOn; in getTextOn()484 mTextOn = textOn; in setTextOn()526 mOnLayout = makeLayout(mTextOn); in onMeasure()595 final CharSequence text = isChecked() ? mTextOn : mTextOff; in onPopulateAccessibilityEvent()1124 CharSequence switchText = isChecked() ? mTextOn : mTextOff; in onInitializeAccessibilityNodeInfo()