OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:mdeceleration
(Results
1 - 5
of
5
) sorted by null
/frameworks/base/core/java/android/widget/
OverScroller.java
555
private float
mDeceleration
;
688
mDeceleration
= 0.0f;
737
mDeceleration
= getDeceleration(delta);
741
mDuration = (int) (1000.0 * Math.sqrt(-2.0 * delta /
mDeceleration
));
799
final float durationToApex = - velocity /
mDeceleration
;
802
final float distanceToApex = velocitySquared / 2.0f / Math.abs(
mDeceleration
);
805
2.0 * (distanceToApex + distanceToEdge) / Math.abs(
mDeceleration
));
808
mVelocity = (int) (-
mDeceleration
* totalDuration);
812
mDeceleration
= getDeceleration(velocity == 0 ? start - end : velocity);
[
all
...]
Scroller.java
108
private float
mDeceleration
;
177
mDeceleration
= computeDeceleration(ViewConfiguration.getScrollFriction());
191
mDeceleration
= computeDeceleration(friction);
256
mCurrVelocity : mVelocity -
mDeceleration
* timePassed() / 2000.0f;
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
OverScroller.java
556
private float
mDeceleration
;
692
mDeceleration
= 0.0f;
741
mDeceleration
= getDeceleration(delta);
745
mDuration = (int) (1000.0 * Math.sqrt(-2.0 * delta /
mDeceleration
));
803
final float durationToApex = - velocity /
mDeceleration
;
804
final float distanceToApex = velocity * velocity / 2.0f / Math.abs(
mDeceleration
);
807
2.0 * (distanceToApex + distanceToEdge) / Math.abs(
mDeceleration
));
810
mVelocity = (int) (-
mDeceleration
* totalDuration);
814
mDeceleration
= getDeceleration(velocity == 0 ? start - end : velocity);
[
all
...]
Scroller.java
71
private float
mDeceleration
;
129
mDeceleration
= computeDeceleration(ViewConfiguration.getScrollFriction());
141
mDeceleration
= computeDeceleration(friction);
204
return mVelocity -
mDeceleration
* timePassed() / 2000.0f;
/packages/apps/Launcher3/src/com/android/launcher3/
LauncherScroller.java
76
private float
mDeceleration
;
155
mDeceleration
= computeDeceleration(ViewConfiguration.getScrollFriction());
169
mDeceleration
= computeDeceleration(friction);
234
mCurrVelocity : mVelocity -
mDeceleration
* timePassed() / 2000.0f;
Completed in 326 milliseconds