HomeSort by relevance Sort by last modified time
    Searched refs:getVelocity (Results 1 - 25 of 31) sorted by null

1 2

  /external/replicaisland/src/com/replica/replicaisland/
MovementComponent.java 42 sInterpolator.set(object.getVelocity().x, object.getTargetVelocity().x,
48 sInterpolator.set(object.getVelocity().y, object.getTargetVelocity().y,
58 object.getVelocity().set(newVelocityX, newVelocityY);
SimplePhysicsComponent.java 44 float velocityX = parentObject.getVelocity().x + impulse.x;
45 float velocityY = parentObject.getVelocity().y + impulse.y;
65 parentObject.getVelocity().set(velocityX, velocityY);
GravityComponent.java 44 ((GameObject) parent).getVelocity().add(mScaledGravity);
NPCComponent.java 121 parentObject.getVelocity().x = -parentObject.facingDirection.x * HIT_IMPULSE;
126 if (Utils.close(parentObject.getVelocity().x, 0.0f)
252 if (parentObject.getVelocity().x != 0.0f) {
313 parentObject.getVelocity().y = mUpImpulse;
325 parentObject.getVelocity().y = mDownImpulse;
335 parentObject.getVelocity().y = 0.0f;
343 parentObject.getVelocity().y = 0.0f;
349 parentObject.getVelocity().y = mUpImpulse;
356 parentObject.getVelocity().y = mUpImpulse;
363 parentObject.getVelocity().y = mDownImpulse
    [all...]
GenericAnimationComponent.java 37 if (parentObject.facingDirection.x != 0.0f && parentObject.getVelocity().x != 0.0f) {
38 parentObject.facingDirection.x = Utils.sign(parentObject.getVelocity().x);
NPCAnimationComponent.java 125 final Vector2 velocity = parentObject.getVelocity();
137 final Vector2 velocity = parentObject.getVelocity();
148 final Vector2 velocity = parentObject.getVelocity();
158 final Vector2 velocity = parentObject.getVelocity();
193 final Vector2 velocity = parentObject.getVelocity();
219 final Vector2 velocity = parentObject.getVelocity();
256 final Vector2 velocity = parentObject.getVelocity();
292 final Vector2 velocity = parentObject.getVelocity();
303 final Vector2 velocity = parentObject.getVelocity();
321 final Vector2 velocity = parentObject.getVelocity();
    [all...]
SleeperComponent.java 85 if (parentObject.touchingGround() && parentObject.getVelocity().y < 0.0f) {
88 parentObject.getVelocity().zero();
PlayerComponent.java 174 float currentSpeed = parentObject.getVelocity().x;
179 parentObject.getVelocity().x = (currentSpeed);
184 if (parentObject.getVelocity().y + impulse.y > MAX_UPWARD_SPEED
187 if (parentObject.getVelocity().y < MAX_UPWARD_SPEED) {
188 parentObject.getVelocity().y = (MAX_UPWARD_SPEED);
202 parentObject.getVelocity().x = (postDragSpeed);
381 parentObject.getVelocity().set(0.0f, 0.0f);
391 parentObject.getVelocity().set(0.0f, STOMP_VELOCITY);
452 parentObject.getVelocity().zero();
459 parentObject.getVelocity().zero()
    [all...]
EnemyAnimationComponent.java 65 final float velocityX = parentObject.getVelocity().x;
OrbitalMagnetComponent.java 84 final Vector2 targetVelocity = target.getVelocity();
GameObject.java 168 public final Vector2 getVelocity() {
AnimationComponent.java 111 final float velocityX = parentObject.getVelocity().x;
112 final float velocityY = parentObject.getVelocity().y;
PatrolComponent.java 194 if (Utils.sign(parentObject.getTargetVelocity().x) != Utils.sign(parentObject.getVelocity().x)) {
242 parentObject.getVelocity().zero();
CameraSystem.java 129 if (mBias.length2() > 0.0f && mTarget.getVelocity().length2() > 1.0f) {
GhostComponent.java 116 && parentObject.getVelocity().y <= 0.0f
LaunchProjectileComponent.java 162 object.getVelocity().set(mWorkingVector);
PhysicsComponent.java 60 final Vector2 currentVelocity = parentObject.getVelocity();
  /frameworks/base/core/jni/
android_view_VelocityTracker.cpp 53 void getVelocity(int32_t id, float* outVx, float* outVy);
89 mVelocityTracker.getVelocity(id, &vx, &vy);
111 void VelocityTrackerState::getVelocity(int32_t id, float* outVx, float* outVy) {
183 state->getVelocity(id, &vx, NULL);
191 state->getVelocity(id, NULL, &vy);
  /cts/tests/tests/location/src/android/location/cts/asn1/supl2/supl_pos/
SUPLPOS.java 118 public Velocity getVelocity() {
201 return getVelocity() != null;
213 return getVelocity();
236 + getVelocity().toIndentedString(indent);
  /cts/tests/tests/location/src/android/location/cts/asn1/supl2/ulp_components/
Position.java 132 public Velocity getVelocity() {
244 return getVelocity() != null;
256 return getVelocity();
279 + getVelocity().toIndentedString(indent);
  /frameworks/native/libs/input/
VelocityControl.cpp 73 if (mVelocityTracker.getVelocity(0, &vx, &vy)) {
  /frameworks/base/packages/SystemUI/src/com/android/systemui/
SwipeHelper.java 142 private float getVelocity(VelocityTracker vt) {
620 float velocity = getVelocity(mVelocityTracker);
684 float velocity = getVelocity(mVelocityTracker);
  /packages/apps/UnifiedEmail/src/com/android/mail/ui/
SwipeHelper.java 110 private float getVelocity(VelocityTracker vt) {
406 float velocity = getVelocity(mVelocityTracker);
  /frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/
PipTouchState.java 205 public PointF getVelocity() {
  /frameworks/native/include/input/
VelocityTracker.h 91 bool getVelocity(uint32_t id, float* outVx, float* outVy) const;

Completed in 412 milliseconds

1 2