HomeSort by relevance Sort by last modified time
    Searched refs:mOffLayout (Results 1 - 2 of 2) sorted by null

  /development/samples/ApiDemos/src/com/example/android/apis/accessibility/
CustomViewAccessibilityActivity.java 203 private Layout mOffLayout;
253 if (mOffLayout == null) {
254 mOffLayout = makeLayout(mTextOff);
256 final int minWidth = Math.max(mOnLayout.getWidth(), mOffLayout.getWidth())
258 final int minHeight = Math.max(mOnLayout.getHeight(), mOffLayout.getHeight())
275 Layout switchText = mChecked ? mOnLayout : mOffLayout;
  /frameworks/base/core/java/android/widget/
Switch.java 92 private Layout mOffLayout;
316 if (mOffLayout == null) {
317 mOffLayout = makeLayout(mTextOff);
321 final int maxTextWidth = Math.max(mOnLayout.getWidth(), mOffLayout.getWidth());
376 CharSequence text = mOffLayout.getText();
594 Layout switchText = getTargetCheckedState() ? mOnLayout : mOffLayout;

Completed in 8131 milliseconds