Searched refs:mOnLayout (Results 1 – 2 of 2) sorted by relevance
140 private Layout mOnLayout; field in SwitchCompat525 if (mOnLayout == null) { in onMeasure()526 mOnLayout = makeLayout(mTextOn); in onMeasure()549 maxTextWidth = Math.max(mOnLayout.getWidth(), mOffLayout.getWidth()) in onMeasure()960 final Layout switchText = getTargetCheckedState() ? mOnLayout : mOffLayout; in onDraw()
152 private Layout mOnLayout; field in Switch810 if (mOnLayout == null) { in onMeasure()811 mOnLayout = makeLayout(mTextOn); in onMeasure()834 maxTextWidth = Math.max(mOnLayout.getWidth(), mOffLayout.getWidth()) in onMeasure()1245 final Layout switchText = getTargetCheckedState() ? mOnLayout : mOffLayout; in onDraw()