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.java112 private CharSequence mTextOff; field in Switch
239 mTextOff = a.getText(com.android.internal.R.styleable.Switch_textOff); in Switch()
777 return mTextOff; in getTextOff()
786 mTextOff = textOff; in setTextOff()
819 mOffLayout = makeLayout(mTextOff); in onMeasure()
884 final CharSequence text = isChecked() ? mTextOn : mTextOff; in onPopulateAccessibilityEventInternal()
1420 CharSequence switchText = isChecked() ? mTextOn : mTextOff; in onProvideAutoFillStructureForAssistOrAutofill()
1440 CharSequence switchText = isChecked() ? mTextOn : mTextOff; in onInitializeAccessibilityNodeInfoInternal()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DSwitchCompat.java127 private CharSequence mTextOff; field in SwitchCompat
232 mTextOff = a.getText(R.styleable.SwitchCompat_android_textOff); in SwitchCompat()
757 return mTextOff; in getTextOff()
766 mTextOff = textOff; in setTextOff()
799 mOffLayout = makeLayout(mTextOff); in onMeasure()
863 final CharSequence text = isChecked() ? mTextOn : mTextOff; in onPopulateAccessibilityEvent()
1395 CharSequence switchText = isChecked() ? mTextOn : mTextOff; in onInitializeAccessibilityNodeInfo()