OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:totalDistance
(Results
1 - 9
of
9
) sorted by null
/packages/apps/Gallery2/src/com/android/gallery3d/data/
LocationClustering.java
230
float
totalDistance
= 0;
248
totalDistance
= 0;
272
totalDistance
+= bestDistance;
283
if (
totalDistance
== 0 || (Math.abs(lastDistance -
totalDistance
)
284
/
totalDistance
) < STOP_CHANGE_RATIO) {
287
lastDistance =
totalDistance
;
300
float score =
totalDistance
* (float) Math.sqrt(realK);
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
Scroller.java
403
int
totalDistance
=
411
mFinalX = startX + Math.round(
totalDistance
* coeffX);
416
mFinalY = startY + Math.round(
totalDistance
* coeffY);
OverScroller.java
762
double
totalDistance
= 0.0;
766
totalDistance
= getSplineFlingDistance(velocity);
769
mSplineDistance = (int) (
totalDistance
* Math.signum(velocity));
833
final double
totalDistance
= getSplineFlingDistance(velocity);
834
if (
totalDistance
> Math.abs(overDistance)) {
[
all
...]
/frameworks/base/core/java/android/widget/
Scroller.java
455
double
totalDistance
= getSplineFlingDistance(velocity);
456
mDistance = (int) (
totalDistance
* Math.signum(velocity));
463
mFinalX = startX + (int) Math.round(
totalDistance
* coeffX);
468
mFinalY = startY + (int) Math.round(
totalDistance
* coeffY);
OverScroller.java
758
double
totalDistance
= 0.0;
762
totalDistance
= getSplineFlingDistance(velocity);
765
mSplineDistance = (int) (
totalDistance
* Math.signum(velocity));
831
final double
totalDistance
= getSplineFlingDistance(velocity);
832
if (
totalDistance
> Math.abs(overDistance)) {
[
all
...]
/packages/apps/Launcher3/src/com/android/launcher3/
LauncherScroller.java
439
double
totalDistance
= getSplineFlingDistance(velocity);
440
mDistance = (int) (
totalDistance
* Math.signum(velocity));
447
mFinalX = startX + (int) Math.round(
totalDistance
* coeffX);
452
mFinalY = startY + (int) Math.round(
totalDistance
* coeffY);
PagedView.java
[
all
...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
NotificationContentView.java
543
int
totalDistance
= Math.abs(endHeight - startHeight);
544
float amount = (float) progress / (float)
totalDistance
;
[
all
...]
/packages/apps/Launcher2/src/com/android/launcher2/
PagedView.java
[
all
...]
Completed in 155 milliseconds