Searched refs:switchText (Results 1 – 2 of 2) 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()
1341 final Layout switchText = getTargetCheckedState() ? mOnLayout : mOffLayout; in onDraw() local1342 if (switchText != null) { in onDraw()1357 final int left = cX / 2 - switchText.getWidth() / 2; in onDraw()1358 final int top = (switchInnerTop + switchInnerBottom) / 2 - switchText.getHeight() / 2; in onDraw()1360 switchText.draw(canvas); in onDraw()1501 CharSequence switchText = isChecked() ? mTextOn : mTextOff; in onProvideStructure() local1502 if (!TextUtils.isEmpty(switchText)) { in onProvideStructure()1505 structure.setText(switchText); in onProvideStructure()1508 newText.append(oldText).append(' ').append(switchText); in onProvideStructure()1521 CharSequence switchText = isChecked() ? mTextOn : mTextOff; in onInitializeAccessibilityNodeInfoInternal() local[all …]