/frameworks/base/libs/hwui/ |
Vector.h | 27 struct Vector2 { 31 Vector2() : 35 Vector2(float px, float py) : 43 void operator+=(const Vector2& v) { 48 void operator-=(const Vector2& v) { 73 Vector2 operator+(const Vector2& v) const { 74 return Vector2(x + v.x, y + v.y); 77 Vector2 operator-(const Vector2& v) const [all...] |
/external/replicaisland/src/com/replica/replicaisland/ |
VectorPool.java | 22 public class VectorPool extends TObjectPool<Vector2> { 31 getAvailable().add(new Vector2()); 37 ((Vector2)entry).zero(); 42 public Vector2 allocate(Vector2 source) { 43 Vector2 entry = super.allocate();
|
GravityComponent.java | 24 private Vector2 mGravity; 25 private Vector2 mScaledGravity; 26 private static final Vector2 sDefaultGravity = new Vector2(0.0f, -400.0f); 30 mGravity = new Vector2(sDefaultGravity); 31 mScaledGravity = new Vector2(); 47 public Vector2 getGravity() {
|
SolidSurfaceComponent.java | 24 private FixedSizeArray<Vector2> mStartPoints; 25 private FixedSizeArray<Vector2> mEndPoints; 26 private FixedSizeArray<Vector2> mNormals; 27 private Vector2 mStart; 28 private Vector2 mEnd; 29 private Vector2 mNormal; 36 mStart = new Vector2(); 37 mEnd = new Vector2(); 38 mNormal = new Vector2(); 54 mStart = new Vector2(); [all...] |
HitPoint.java | 20 public Vector2 hitPoint; 21 public Vector2 hitNormal;
|
BackgroundCollisionComponent.java | 27 private Vector2 mPreviousPosition; 34 private Vector2 mCurrentPosition; 35 private Vector2 mPreviousCenter; 36 private Vector2 mDelta; 37 private Vector2 mFilterDirection; 38 private Vector2 mHorizontalHitPoint; 39 private Vector2 mHorizontalHitNormal; 40 private Vector2 mVerticalHitPoint; 41 private Vector2 mVerticalHitNormal; 42 private Vector2 mRayStart [all...] |
GameObject.java | 30 private Vector2 mPosition; 31 private Vector2 mVelocity; 32 private Vector2 mTargetVelocity; 33 private Vector2 mAcceleration; 34 private Vector2 mImpulse; 36 private Vector2 mBackgroundCollisionNormal; 52 public Vector2 facingDirection; 82 mPosition = new Vector2(); 83 mVelocity = new Vector2(); 84 mTargetVelocity = new Vector2(); [all...] |
Vector2.java | 22 public final class Vector2 extends AllocationGuard { 26 public static final Vector2 ZERO = new Vector2(0, 0); 28 public Vector2() { 32 public Vector2(float xValue, float yValue) { 36 public Vector2(Vector2 other) { 40 public final void add(Vector2 other) { 50 public final void subtract(Vector2 other) { 60 public final void multiply(Vector2 other) [all...] |
EventRecorder.java | 24 private Vector2 mLastDeathPosition = new Vector2(); 37 synchronized void setLastDeathPosition(Vector2 position) { 41 synchronized Vector2 getLastDeathPosition() {
|
SimpleCollisionComponent.java | 21 private Vector2 mPreviousPosition; 22 private Vector2 mCurrentPosition; 23 private Vector2 mMovementDirection; 24 private Vector2 mHitPoint; 25 private Vector2 mHitNormal; 30 mPreviousPosition = new Vector2(); 31 mCurrentPosition = new Vector2(); 32 mMovementDirection = new Vector2(); 33 mHitPoint = new Vector2(); 34 mHitNormal = new Vector2(); [all...] |
PhysicsComponent.java | 58 Vector2 impulseVector = parentObject.getImpulse(); 60 final Vector2 currentVelocity = parentObject.getVelocity(); 62 final Vector2 surfaceNormal = parentObject.getBackgroundCollisionNormal(); 75 Vector2 newVelocity = vectorPool.allocate(currentVelocity); 88 final Vector2 gravityVector = gravity.getGravity(); 122 parentObject.setAcceleration(Vector2.ZERO); 123 parentObject.setImpulse(Vector2.ZERO); 129 protected void resolveCollision(Vector2 velocity, Vector2 impulse, Vector2 opposingNormal [all...] |
RenderComponent.java | 30 private Vector2 mPositionWorkspace; 31 private Vector2 mScreenLocation; 32 private Vector2 mDrawOffset; 38 mPositionWorkspace = new Vector2(); 39 mScreenLocation = new Vector2(); 40 mDrawOffset = new Vector2();
|
SphereCollisionVolume.java | 23 private Vector2 mCenter; 24 private Vector2 mWorkspaceVector; 25 private Vector2 mWorkspaceVector2; 30 mCenter = new Vector2(centerX, centerY); 31 mWorkspaceVector = new Vector2(); 32 mWorkspaceVector2 = new Vector2(); 38 mCenter = new Vector2(centerX, centerY); 39 mWorkspaceVector = new Vector2(); 40 mWorkspaceVector2 = new Vector2(); 63 public Vector2 getCenter() [all...] |
OrbitalMagnetComponent.java | 24 private Vector2 mCenter; 25 private Vector2 mDelta; 26 private Vector2 mRim; 27 private Vector2 mVelocity; 33 mCenter = new Vector2(); 34 mDelta = new Vector2(); 35 mRim = new Vector2(); 36 mVelocity = new Vector2(); 84 final Vector2 targetVelocity = target.getVelocity(); 86 final Vector2 gravityVector = gravity.getGravity() [all...] |
AABoxCollisionVolume.java | 28 private Vector2 mWidthHeight; 29 private Vector2 mBottomLeft; 33 mBottomLeft = new Vector2(offsetX, offsetY); 34 mWidthHeight = new Vector2(width, height); 40 mBottomLeft = new Vector2(offsetX, offsetY); 41 mWidthHeight = new Vector2(width, height); 73 public boolean intersects(Vector2 position, FlipInfo flip, CollisionVolume other, 74 Vector2 otherPosition, FlipInfo otherFlip) {
|
HitPlayerComponent.java | 22 Vector2 mPlayerPosition; 23 Vector2 mMyPosition; 30 mPlayerPosition = new Vector2(); 31 mMyPosition = new Vector2();
|
CollisionSystem.java | 109 public boolean castRay(Vector2 startPoint, Vector2 endPoint, Vector2 movementDirection, 110 Vector2 hitPoint, Vector2 hitNormal, GameObject excludeObject) { 123 Vector2 tempHitPoint = vectorPool.allocate(); 124 Vector2 tempHitNormal = vectorPool.allocate(); 152 Vector2 movementDirection, FixedSizeArray<HitPoint> hitPoints, 184 Vector2 worldTileOffset = vectorPool.allocate(); 223 movementDirection, excludeObject, Vector2.ZERO, hitPoints) [all...] |
CameraSystem.java | 27 private Vector2 mCurrentCameraPosition; 28 private Vector2 mFocalPosition; 29 private Vector2 mPreInterpolateCameraPosition; 30 private Vector2 mTargetPosition; 31 private Vector2 mBias; 47 mCurrentCameraPosition = new Vector2(); 48 mFocalPosition = new Vector2(); 49 mPreInterpolateCameraPosition = new Vector2(); 50 mTargetPosition = new Vector2(); 51 mBias = new Vector2(); [all...] |
DrawableObject.java | 57 public boolean visibleAtPosition(Vector2 position) {
|
SelectDialogComponent.java | 24 private Vector2 mLastPosition; 29 mLastPosition = new Vector2(); 43 final Vector2 currentPosition = parentObject.getPosition();
|
CollisionVolume.java | 55 public abstract boolean intersects(Vector2 position, FlipInfo flip, CollisionVolume other, 56 Vector2 otherPosition, FlipInfo otherFlip);
|
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...] |
/external/jmonkeyengine/engine/src/core/com/jme3/shader/ |
VarType.java | 38 Vector2,
|
/external/eigen/Eigen/src/Geometry/ |
EulerAngles.h | 39 typedef Matrix<typename Derived::Scalar,2,1> Vector2; 49 Scalar s = Vector2(coeff(j,i) , coeff(k,i)).norm(); 64 Scalar c = Vector2(coeff(i,i) , coeff(i,j)).norm();
|
/external/eigen/Eigen/src/Eigen2Support/Geometry/ |
Rotation2D.h | 47 typedef Matrix<Scalar,2,1> Vector2; 77 Vector2 operator* (const Vector2& vec) const
|