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()
1246 final Layout switchText = getTargetCheckedState() ? mOnLayout : mOffLayout; in onDraw() local1247 if (switchText != null) { in onDraw()1262 final int left = cX / 2 - switchText.getWidth() / 2; in onDraw()1263 final int top = (switchInnerTop + switchInnerBottom) / 2 - switchText.getHeight() / 2; in onDraw()1265 switchText.draw(canvas); in onDraw()1405 CharSequence switchText = isChecked() ? mTextOn : mTextOff; in onProvideStructure() local1406 if (!TextUtils.isEmpty(switchText)) { in onProvideStructure()1409 structure.setText(switchText); in onProvideStructure()1412 newText.append(oldText).append(' ').append(switchText); in onProvideStructure()1425 CharSequence switchText = isChecked() ? mTextOn : mTextOff; in onInitializeAccessibilityNodeInfoInternal() local[all …]
1242 final Layout switchText = getTargetCheckedState() ? mOnLayout : mOffLayout; in onDraw() local1243 if (switchText != null) { in onDraw()1258 final int left = cX / 2 - switchText.getWidth() / 2; in onDraw()1259 final int top = (switchInnerTop + switchInnerBottom) / 2 - switchText.getHeight() / 2; in onDraw()1261 switchText.draw(canvas); in onDraw()1407 CharSequence switchText = isChecked() ? mTextOn : mTextOff; in onInitializeAccessibilityNodeInfo() local1408 if (!TextUtils.isEmpty(switchText)) { in onInitializeAccessibilityNodeInfo()1411 info.setText(switchText); in onInitializeAccessibilityNodeInfo()1414 newText.append(oldText).append(' ').append(switchText); in onInitializeAccessibilityNodeInfo()