Searched refs:mOnLayout (Results 1 – 2 of 2) sorted by relevance
173 private Layout mOnLayout; field in SwitchCompat796 if (mOnLayout == null) { in onMeasure()797 mOnLayout = makeLayout(mTextOn); in onMeasure()820 maxTextWidth = Math.max(mOnLayout.getWidth(), mOffLayout.getWidth()) in onMeasure()1234 final Layout switchText = getTargetCheckedState() ? mOnLayout : mOffLayout; in onDraw()
156 private Layout mOnLayout; field in Switch814 if (mOnLayout == null) { in onMeasure()815 mOnLayout = makeLayout(mTextOn); in onMeasure()838 maxTextWidth = Math.max(mOnLayout.getWidth(), mOffLayout.getWidth()) in onMeasure()1250 final Layout switchText = getTargetCheckedState() ? mOnLayout : mOffLayout; in onDraw()