Searched refs:switchText (Results 1 – 3 of 3) sorted by relevance
52 final TextView switchText = (TextView) switchBar.findViewById(R.id.switch_text); in onViewCreated() local54 switchText.setText(isEnabled() in onViewCreated()67 switchText.setText(newState in onViewCreated()
1250 final Layout switchText = getTargetCheckedState() ? mOnLayout : mOffLayout; in onDraw() local1251 if (switchText != null) { in onDraw()1266 final int left = cX / 2 - switchText.getWidth() / 2; in onDraw()1267 final int top = (switchInnerTop + switchInnerBottom) / 2 - switchText.getHeight() / 2; in onDraw()1269 switchText.draw(canvas); in onDraw()1420 CharSequence switchText = isChecked() ? mTextOn : mTextOff; in onProvideAutoFillStructureForAssistOrAutofill() local1421 if (!TextUtils.isEmpty(switchText)) { in onProvideAutoFillStructureForAssistOrAutofill()1424 structure.setText(switchText); in onProvideAutoFillStructureForAssistOrAutofill()1427 newText.append(oldText).append(' ').append(switchText); in onProvideAutoFillStructureForAssistOrAutofill()1440 CharSequence switchText = isChecked() ? mTextOn : mTextOff; in onInitializeAccessibilityNodeInfoInternal() local[all …]
1234 final Layout switchText = getTargetCheckedState() ? mOnLayout : mOffLayout; in onDraw() local1235 if (switchText != null) { in onDraw()1250 final int left = cX / 2 - switchText.getWidth() / 2; in onDraw()1251 final int top = (switchInnerTop + switchInnerBottom) / 2 - switchText.getHeight() / 2; in onDraw()1253 switchText.draw(canvas); in onDraw()1400 CharSequence switchText = isChecked() ? mTextOn : mTextOff; in onInitializeAccessibilityNodeInfo() local1401 if (!TextUtils.isEmpty(switchText)) { in onInitializeAccessibilityNodeInfo()1404 info.setText(switchText); in onInitializeAccessibilityNodeInfo()1407 newText.append(oldText).append(' ').append(switchText); in onInitializeAccessibilityNodeInfo()