OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:thumbLeft
(Results
1 - 3
of
3
) sorted by null
/packages/apps/Camera/src/com/android/camera/ui/
Switch.java
215
final int
thumbLeft
= mSwitchLeft + (int) (mThumbPosition + 0.5f) - mTouchSlop;
216
final int thumbRight =
thumbLeft
+ mThumbWidth +
219
return x >
thumbLeft
&& x < thumbRight && y > thumbTop && y < thumbBottom;
405
int
thumbLeft
= switchInnerLeft - mTempRect.left + thumbPos;
408
mThumbDrawable.setBounds(
thumbLeft
, switchTop, thumbRight, switchBottom);
420
canvas.translate((
thumbLeft
+ thumbRight) / 2 - switchText.getEllipsizedWidth() / 2,
/packages/apps/Camera2/src/com/android/camera/ui/
Switch.java
206
final int
thumbLeft
= mSwitchLeft + (int) (mThumbPosition + 0.5f) - mTouchSlop;
207
final int thumbRight =
thumbLeft
+ mThumbWidth +
210
return x >
thumbLeft
&& x < thumbRight && y > thumbTop && y < thumbBottom;
396
int
thumbLeft
= switchInnerLeft - mTempRect.left + thumbPos;
399
mThumbDrawable.setBounds(
thumbLeft
, switchTop, thumbRight, switchBottom);
411
canvas.translate((
thumbLeft
+ thumbRight) / 2 - switchText.getEllipsizedWidth() / 2,
/frameworks/base/core/java/android/widget/
Switch.java
533
final int
thumbLeft
= mSwitchLeft + (int) (mThumbPosition + 0.5f) - mTouchSlop;
534
final int thumbRight =
thumbLeft
+ mThumbWidth +
537
return x >
thumbLeft
&& x < thumbRight && y > thumbTop && y < thumbBottom;
739
int
thumbLeft
= switchInnerLeft - mTempRect.left + thumbPos;
742
mThumbDrawable.setBounds(
thumbLeft
, switchTop, thumbRight, switchBottom);
754
canvas.translate((
thumbLeft
+ thumbRight) / 2 - switchText.getWidth() / 2,
Completed in 2431 milliseconds