Searched refs:mOffLayout (Results 1 – 1 of 1) sorted by relevance
203 private Layout mOffLayout; field in CustomViewAccessibilityActivity.BaseToggleButton253 if (mOffLayout == null) { in onMeasure()254 mOffLayout = makeLayout(mTextOff); in onMeasure()256 final int minWidth = Math.max(mOnLayout.getWidth(), mOffLayout.getWidth()) in onMeasure()258 final int minHeight = Math.max(mOnLayout.getHeight(), mOffLayout.getHeight()) in onMeasure()275 Layout switchText = mChecked ? mOnLayout : mOffLayout; in onDraw()