Home
last modified time | relevance | path

Searched refs:minDistance (Results 1 – 3 of 3) sorted by relevance

/development/samples/browseable/XYZTouristAttractions/Application/src/com.example.android.xyztouristattractions/provider/
DTouristAttractions.java132 double minDistance = 0; in getClosestCity() local
136 if (minDistance == 0 || distance < minDistance) { in getClosestCity()
137 minDistance = distance; in getClosestCity()
/development/samples/ApiDemos/src/com/example/android/apis/view/
DGameView.java417 final float minDistance = mShipSize * 4;
445 } while (mShip.distanceTo(positionX, positionY) < minDistance);
/development/samples/ControllerSample/src/com/example/controllersample/
DGameView.java391 final float minDistance = mShipSize * 4; in step() local
422 if (currentShip.distanceTo(positionX, positionY) < minDistance) { in step()