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

  /development/samples/ApiDemos/src/com/example/android/apis/accessibility/
CustomViewAccessibilityActivity.java 202 private Layout mOnLayout;
250 if (mOnLayout == null) {
251 mOnLayout = makeLayout(mTextOn);
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;
  /packages/apps/Camera/src/com/android/camera/ui/
Switch.java 88 private Layout mOnLayout;
162 if (mOnLayout == null) {
163 mOnLayout = makeLayout(mTextOn, mSwitchTextMaxWidth);
171 Math.max(mOnLayout.getWidth(), mOffLayout.getWidth()));
193 CharSequence text = isChecked() ? mOnLayout.getText() : mOffLayout.getText();
418 Layout switchText = getTargetCheckedState() ? mOnLayout : mOffLayout;
  /packages/apps/Camera2/src/com/android/camera/ui/
Switch.java 82 private Layout mOnLayout;
153 if (mOnLayout == null) {
154 mOnLayout = makeLayout(mTextOn, mSwitchTextMaxWidth);
162 Math.max(mOnLayout.getWidth(), mOffLayout.getWidth()));
184 CharSequence text = isChecked() ? mOnLayout.getText() : mOffLayout.getText();
409 Layout switchText = getTargetCheckedState() ? mOnLayout : mOffLayout;
  /frameworks/base/core/java/android/widget/
Switch.java 105 private Layout mOnLayout;
483 if (mOnLayout == null) {
484 mOnLayout = makeLayout(mTextOn);
491 final int maxTextWidth = Math.max(mOnLayout.getWidth(), mOffLayout.getWidth());
511 Layout layout = isChecked() ? mOnLayout : mOffLayout;
752 Layout switchText = getTargetCheckedState() ? mOnLayout : mOffLayout;

Completed in 141 milliseconds