Searched refs:mOnLayout (Results 1 – 1 of 1) sorted by relevance
167 private Layout mOnLayout; field in Switch910 if (mOnLayout == null) { in onMeasure()911 mOnLayout = makeLayout(mTextOn); in onMeasure()934 maxTextWidth = Math.max(mOnLayout.getWidth(), mOffLayout.getWidth()) in onMeasure()1360 final Layout switchText = getTargetCheckedState() ? mOnLayout : mOffLayout; in onDraw()