Searched refs:mOffLayout (Results 1 – 2 of 2) sorted by relevance
174 private Layout mOffLayout; field in SwitchCompat800 if (mOffLayout == null) { in onMeasure()801 mOffLayout = makeLayout(mTextOff); in onMeasure()820 maxTextWidth = Math.max(mOnLayout.getWidth(), mOffLayout.getWidth()) in onMeasure()1234 final Layout switchText = getTargetCheckedState() ? mOnLayout : mOffLayout; in onDraw()
157 private Layout mOffLayout; field in Switch818 if (mOffLayout == null) { in onMeasure()819 mOffLayout = makeLayout(mTextOff); in onMeasure()838 maxTextWidth = Math.max(mOnLayout.getWidth(), mOffLayout.getWidth()) in onMeasure()1250 final Layout switchText = getTargetCheckedState() ? mOnLayout : mOffLayout; in onDraw()