OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:switchText
(Results
1 - 4
of
4
) sorted by null
/packages/apps/Camera/src/com/android/camera/ui/
Switch.java
418
Layout
switchText
= getTargetCheckedState() ? mOnLayout : mOffLayout;
420
canvas.translate((thumbLeft + thumbRight) / 2 -
switchText
.getEllipsizedWidth() / 2,
421
(switchInnerTop + switchInnerBottom) / 2 -
switchText
.getHeight() / 2);
422
switchText
.draw(canvas);
493
CharSequence
switchText
= isChecked() ? mTextOn : mTextOff;
494
if (!TextUtils.isEmpty(
switchText
)) {
497
info.setText(
switchText
);
500
newText.append(oldText).append(' ').append(
switchText
);
/packages/apps/Camera2/src/com/android/camera/ui/
Switch.java
409
Layout
switchText
= getTargetCheckedState() ? mOnLayout : mOffLayout;
411
canvas.translate((thumbLeft + thumbRight) / 2 -
switchText
.getEllipsizedWidth() / 2,
412
(switchInnerTop + switchInnerBottom) / 2 -
switchText
.getHeight() / 2);
413
switchText
.draw(canvas);
481
CharSequence
switchText
= isChecked() ? mTextOn : mTextOff;
482
if (!TextUtils.isEmpty(
switchText
)) {
485
info.setText(
switchText
);
488
newText.append(oldText).append(' ').append(
switchText
);
/frameworks/base/core/java/android/widget/
Switch.java
752
Layout
switchText
= getTargetCheckedState() ? mOnLayout : mOffLayout;
753
if (
switchText
!= null) {
754
canvas.translate((thumbLeft + thumbRight) / 2 -
switchText
.getWidth() / 2,
755
(switchInnerTop + switchInnerBottom) / 2 -
switchText
.getHeight() / 2);
756
switchText
.draw(canvas);
839
CharSequence
switchText
= isChecked() ? mTextOn : mTextOff;
840
if (!TextUtils.isEmpty(
switchText
)) {
843
info.setText(
switchText
);
846
newText.append(oldText).append(' ').append(
switchText
);
/development/samples/ApiDemos/src/com/example/android/apis/accessibility/
CustomViewAccessibilityActivity.java
275
Layout
switchText
= mChecked ? mOnLayout : mOffLayout;
276
switchText
.draw(canvas);
Completed in 47 milliseconds