Home
last modified time | relevance | path

Searched refs:mTextOff (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/java/android/widget/
DToggleButton.java38 private CharSequence mTextOff; field in ToggleButton
51 mTextOff = a.getText(com.android.internal.R.styleable.ToggleButton_textOff); in ToggleButton()
80 } else if (!checked && mTextOff != null) { in syncTextState()
81 setText(mTextOff); in syncTextState()
109 return mTextOff; in getTextOff()
118 mTextOff = textOff; in setTextOff()
DSwitch.java109 private CharSequence mTextOff; field in Switch
236 mTextOff = a.getText(com.android.internal.R.styleable.Switch_textOff); in Switch()
774 return mTextOff; in getTextOff()
783 mTextOff = textOff; in setTextOff()
816 mOffLayout = makeLayout(mTextOff); 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()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DSwitchCompat.java116 private CharSequence mTextOff; field in SwitchCompat
223 mTextOff = a.getText(R.styleable.SwitchCompat_android_textOff); in SwitchCompat()
748 return mTextOff; in getTextOff()
757 mTextOff = textOff; in setTextOff()
790 mOffLayout = makeLayout(mTextOff); in onMeasure()
855 final CharSequence text = isChecked() ? mTextOn : mTextOff; in onPopulateAccessibilityEvent()
1407 CharSequence switchText = isChecked() ? mTextOn : mTextOff; in onInitializeAccessibilityNodeInfo()