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