Searched refs:mOffLayout (Results 1 – 2 of 2) sorted by relevance
161 private Layout mOffLayout; field in SwitchCompat789 if (mOffLayout == null) { in onMeasure()790 mOffLayout = makeLayout(mTextOff); in onMeasure()809 maxTextWidth = Math.max(mOnLayout.getWidth(), mOffLayout.getWidth()) in onMeasure()1242 final Layout switchText = getTargetCheckedState() ? mOnLayout : mOffLayout; in onDraw()
154 private Layout mOffLayout; field in Switch815 if (mOffLayout == null) { in onMeasure()816 mOffLayout = makeLayout(mTextOff); in onMeasure()835 maxTextWidth = Math.max(mOnLayout.getWidth(), mOffLayout.getWidth()) in onMeasure()1246 final Layout switchText = getTargetCheckedState() ? mOnLayout : mOffLayout; in onDraw()