Searched refs:mOffLayout (Results 1 – 1 of 1) sorted by relevance
184 private Layout mOffLayout; field in Switch989 if (mOffLayout == null) { in onMeasure()990 mOffLayout = makeLayout(mTextOff); in onMeasure()1009 maxTextWidth = Math.max(mOnLayout.getWidth(), mOffLayout.getWidth()) in onMeasure()1435 final Layout switchText = getTargetCheckedState() ? mOnLayout : mOffLayout; in onDraw()