Home
last modified time | relevance | path

Searched refs:mTextOn (Results 1 – 3 of 3) 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.java132 private CharSequence mTextOn; field in Switch
267 mTextOn = a.getText(com.android.internal.R.styleable.Switch_textOn); in Switch()
918 return mTextOn; in getTextOn()
928 mTextOn = textOn; in setTextOn()
986 mOnLayout = makeLayout(mTextOn); in onMeasure()
1055 final CharSequence text = isChecked() ? mTextOn : mTextOff; in onPopulateAccessibilityEventInternal()
1252 return mTextOn == null ? getResources().getString(R.string.capital_on) : mTextOn; in getButtonStateDescription()
1595 CharSequence switchText = isChecked() ? mTextOn : mTextOff; in onProvideStructure()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt69474 Landroid/widget/Switch;->mTextOn:Ljava/lang/CharSequence;
70102 Landroid/widget/ToggleButton;->mTextOn:Ljava/lang/CharSequence;