Searched refs:mOffLayout (Results 1 – 2 of 2) sorted by relevance
141 private Layout mOffLayout; field in SwitchCompat529 if (mOffLayout == null) { in onMeasure()530 mOffLayout = makeLayout(mTextOff); in onMeasure()549 maxTextWidth = Math.max(mOnLayout.getWidth(), mOffLayout.getWidth()) in onMeasure()960 final Layout switchText = getTargetCheckedState() ? mOnLayout : mOffLayout; in onDraw()
153 private Layout mOffLayout; field in Switch814 if (mOffLayout == null) { in onMeasure()815 mOffLayout = makeLayout(mTextOff); in onMeasure()834 maxTextWidth = Math.max(mOnLayout.getWidth(), mOffLayout.getWidth()) in onMeasure()1245 final Layout switchText = getTargetCheckedState() ? mOnLayout : mOffLayout; in onDraw()