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()
1255 final Layout switchText = getTargetCheckedState() ? mOnLayout : mOffLayout; in onDraw() local1256 if (switchText != null) { in onDraw()1271 final int left = cX / 2 - switchText.getWidth() / 2; in onDraw()1272 final int top = (switchInnerTop + switchInnerBottom) / 2 - switchText.getHeight() / 2; in onDraw()1274 switchText.draw(canvas); in onDraw()1425 CharSequence switchText = isChecked() ? mTextOn : mTextOff; in onProvideAutoFillStructureForAssistOrAutofill() local1426 if (!TextUtils.isEmpty(switchText)) { in onProvideAutoFillStructureForAssistOrAutofill()1429 structure.setText(switchText); in onProvideAutoFillStructureForAssistOrAutofill()1432 newText.append(oldText).append(' ').append(switchText); in onProvideAutoFillStructureForAssistOrAutofill()1445 CharSequence switchText = isChecked() ? mTextOn : mTextOff; in onInitializeAccessibilityNodeInfoInternal() local[all …]
1233 final Layout switchText = getTargetCheckedState() ? mOnLayout : mOffLayout; in onDraw() local1234 if (switchText != null) { in onDraw()1249 final int left = cX / 2 - switchText.getWidth() / 2; in onDraw()1250 final int top = (switchInnerTop + switchInnerBottom) / 2 - switchText.getHeight() / 2; in onDraw()1252 switchText.draw(canvas); in onDraw()1396 CharSequence switchText = isChecked() ? mTextOn : mTextOff; in onInitializeAccessibilityNodeInfo() local1397 if (!TextUtils.isEmpty(switchText)) { in onInitializeAccessibilityNodeInfo()1400 info.setText(switchText); in onInitializeAccessibilityNodeInfo()1403 newText.append(oldText).append(' ').append(switchText); in onInitializeAccessibilityNodeInfo()