Home
last modified time | relevance | path

Searched refs:mDistance (Results 1 – 4 of 4) sorted by relevance

/external/replicaisland/src/com/replica/replicaisland/
DPopOutComponent.java34 private Vector2 mDistance; field in PopOutComponent
45 mDistance = new Vector2(); in PopOutComponent()
68 mDistance.set(player.getPosition()); in update()
69 mDistance.subtract(parentObject.getPosition()); in update()
77 if (mDistance.length2() < (mAppearDistance * mAppearDistance)) { in update()
84 if (mDistance.length2() > (mHideDistance * mHideDistance)) { in update()
86 } else if (mDistance.length2() < (mAttackDistance * mAttackDistance) in update()
DAttackAtDistanceComponent.java27 private Vector2 mDistance; field in AttackAtDistanceComponent
32 mDistance = new Vector2(); in AttackAtDistanceComponent()
52 mDistance.set(player.getPosition()); in update()
53 mDistance.subtract(parentObject.getPosition()); in update()
66 } else if (mDistance.length2() < (mAttackDistance * mAttackDistance) in update()
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowLocation.java37 private float mDistance = 0.0f; field in ShadowLocation
392 mDistance = mResults[0]; in distanceTo()
395 return mDistance; in distanceTo()
421 mDistance = mResults[0]; in bearingTo()
/external/skia/tests/
DPathOpsAngleIdeas.cpp738 static double mDistance(skiatest::Reporter* reporter, bool agrees, const SkDQuad& q1, in mDistance() function
816 maxR = SkTMin(maxR, mDistance(reporter, agrees, quad1, quad2)); in DEF_TEST()
832 maxR = SkTMin(maxR, mDistance(reporter, agrees, q1, q2)); in DEF_TEST()
849 maxR = SkTMin(maxR, mDistance(reporter, agrees, q1, q2)); in DEF_TEST()