OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mThumbPosition
(Results
1 - 5
of
5
) sorted by null
/packages/apps/Camera/src/com/android/camera/ui/
Switch.java
76
private float
mThumbPosition
;
215
final int thumbLeft = mSwitchLeft + (int) (
mThumbPosition
+ 0.5f) - mTouchSlop;
262
Math.min(
mThumbPosition
+ dx, getThumbScrollRange()));
263
if (newPos !=
mThumbPosition
) {
264
mThumbPosition
= newPos;
328
return
mThumbPosition
>= getThumbScrollRange() / 2;
332
mThumbPosition
= checked ? getThumbScrollRange() : 0;
404
final int thumbPos = (int) (
mThumbPosition
+ 0.5f);
/packages/apps/Camera2/src/com/android/camera/ui/
Switch.java
70
private float
mThumbPosition
;
206
final int thumbLeft = mSwitchLeft + (int) (
mThumbPosition
+ 0.5f) - mTouchSlop;
253
Math.min(
mThumbPosition
+ dx, getThumbScrollRange()));
254
if (newPos !=
mThumbPosition
) {
255
mThumbPosition
= newPos;
319
return
mThumbPosition
>= getThumbScrollRange() / 2;
323
mThumbPosition
= checked ? getThumbScrollRange() : 0;
395
final int thumbPos = (int) (
mThumbPosition
+ 0.5f);
/frameworks/base/core/java/android/widget/
Switch.java
102
private float
mThumbPosition
;
754
final float newPos = MathUtils.constrain(
mThumbPosition
+ dPos, 0, 1);
755
if (newPos !=
mThumbPosition
) {
832
return
mThumbPosition
> 0.5f;
841
mThumbPosition
= position;
[
all
...]
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
SwitchCompat.java
106
private float
mThumbPosition
;
642
final float newPos = constrain(
mThumbPosition
+ dPos, 0, 1);
643
if (newPos !=
mThumbPosition
) {
706
final float startPosition =
mThumbPosition
;
728
return
mThumbPosition
> 0.5f;
737
mThumbPosition
= position;
948
thumbPosition = 1 -
mThumbPosition
;
950
thumbPosition =
mThumbPosition
;
[
all
...]
/prebuilts/sdk/current/support/v7/appcompat/libs/
android-support-v7-appcompat.jar
Completed in 61 milliseconds