OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:distanceCoef
(Results
1 - 6
of
6
) sorted by null
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
Scroller.java
276
final float
distanceCoef
= d_inf + (t - t_inf) / (t_sup - t_inf) * (d_sup - d_inf);
278
mCurrX = mStartX + Math.round(
distanceCoef
* (mFinalX - mStartX));
283
mCurrY = mStartY + Math.round(
distanceCoef
* (mFinalY - mStartY));
OverScroller.java
[
all
...]
/frameworks/base/core/java/android/widget/
Scroller.java
328
float
distanceCoef
= 1.f;
336
distanceCoef
= d_inf + (t - t_inf) * velocityCoef;
341
mCurrX = mStartX + Math.round(
distanceCoef
* (mFinalX - mStartX));
346
mCurrY = mStartY + Math.round(
distanceCoef
* (mFinalY - mStartY));
OverScroller.java
[
all
...]
/packages/apps/Launcher3/src/com/android/launcher3/
LauncherScroller.java
301
float
distanceCoef
= 1.f;
309
distanceCoef
= d_inf + (t - t_inf) * velocityCoef;
314
mCurrX = mStartX + Math.round(
distanceCoef
* (mFinalX - mStartX));
319
mCurrY = mStartY + Math.round(
distanceCoef
* (mFinalY - mStartY));
/packages/apps/DeskClock/src/com/android/deskclock/widget/sgv/
OverScrollerSGV.java
[
all
...]
Completed in 122 milliseconds