Searched refs:mOffLayout (Results 1 – 1 of 1) sorted by relevance
170 private Layout mOffLayout; field in Switch906 if (mOffLayout == null) { in onMeasure()907 mOffLayout = makeLayout(mTextOff); in onMeasure()926 maxTextWidth = Math.max(mOnLayout.getWidth(), mOffLayout.getWidth()) in onMeasure()1341 final Layout switchText = getTargetCheckedState() ? mOnLayout : mOffLayout; in onDraw()