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