Home
last modified time | relevance | path

Searched refs:pythag (Results 1 – 2 of 2) sorted by relevance

/development/samples/ApiDemos/src/com/example/android/apis/view/
DGameView.java485 static float pythag(float x, float y) {
524 return pythag(mPositionX - x, mPositionY - y);
636 mHeadingMagnitude = pythag(mHeadingX, mHeadingY);
671 final float speed = pythag(mVelocityX, mVelocityY);
/development/samples/ControllerSample/src/com/example/controllersample/
DGameView.java450 private static float pythag(float x, float y) { in pythag() method in GameView
521 return pythag(mPositionX - x, mPositionY - y); in distanceTo()
921 mHeadingMagnitude = pythag(mHeadingX, mHeadingY);
995 final float speed = pythag(mVelocityX, mVelocityY);