Home
last modified time | relevance | path

Searched refs:mTextOn (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/android/widget/
DToggleButton.java42 private CharSequence mTextOn; field in ToggleButton
57 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()
DSwitch.java117 private CharSequence mTextOn; field in Switch
252 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()