Searched refs:mTextOn (Results 1 – 2 of 2) sorted by relevance
42 private CharSequence mTextOn; field in ToggleButton57 mTextOn = a.getText(com.android.internal.R.styleable.ToggleButton_textOn); in ToggleButton()88 if (checked && mTextOn != null) { in syncTextState()89 setText(mTextOn); in syncTextState()102 return mTextOn; in getTextOn()111 mTextOn = textOn; in setTextOn()193 return mTextOn == null ? getResources().getString(R.string.capital_on) : mTextOn; in getButtonStateDescription()
117 private CharSequence mTextOn; field in Switch252 mTextOn = a.getText(com.android.internal.R.styleable.Switch_textOn); in Switch()846 return mTextOn; in getTextOn()855 mTextOn = textOn; in setTextOn()911 mOnLayout = makeLayout(mTextOn); in onMeasure()980 final CharSequence text = isChecked() ? mTextOn : mTextOff; in onPopulateAccessibilityEventInternal()1177 return mTextOn == null ? getResources().getString(R.string.capital_on) : mTextOn; in getButtonStateDescription()1520 CharSequence switchText = isChecked() ? mTextOn : mTextOff; in onProvideStructure()