OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:switchText
(Results
1 - 6
of
6
) 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
[
all
...]
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
SwitchCompat.java
890
final Layout
switchText
= getTargetCheckedState() ? mOnLayout : mOffLayout;
891
if (
switchText
!= null) {
906
final int left = cX / 2 -
switchText
.getWidth() / 2;
907
final int top = (switchInnerTop + switchInnerBottom) / 2 -
switchText
.getHeight() / 2;
909
switchText
.draw(canvas);
[
all
...]
/development/samples/ApiDemos/src/com/example/android/apis/accessibility/
CustomViewAccessibilityActivity.java
275
Layout
switchText
= mChecked ? mOnLayout : mOffLayout;
276
switchText
.draw(canvas);
/prebuilts/sdk/current/support/v7/appcompat/libs/
android-support-v7-appcompat.jar
Completed in 758 milliseconds