/external/webrtc/src/common_audio/signal_processing/ |
dot_product_with_scale.c | 20 WebRtc_Word32 WebRtcSpl_DotProductWithScale(WebRtc_Word16 *vector1, WebRtc_Word16 *vector2, 35 sum += WEBRTC_SPL_MUL_16_16_RSFT(*vector1++, *vector2++, scaling); 42 sum += WEBRTC_SPL_MUL_16_16(*vector1, *vector2); 44 vector2++; 45 sum += WEBRTC_SPL_MUL_16_16(*vector1, *vector2); 47 vector2++; 48 sum += WEBRTC_SPL_MUL_16_16(*vector1, *vector2); 50 vector2++; 51 sum += WEBRTC_SPL_MUL_16_16(*vector1, *vector2); 53 vector2++ [all...] |
/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/ |
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...] |
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...] |
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() {
|
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...] |
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...] |
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();
|
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...] |
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...] |
EventRecorder.java | 24 private Vector2 mLastDeathPosition = new Vector2(); 37 synchronized void setLastDeathPosition(Vector2 position) { 41 synchronized Vector2 getLastDeathPosition() {
|
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...] |
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...] |
HitPoint.java | 20 public Vector2 hitPoint; 21 public Vector2 hitNormal;
|
HitPlayerComponent.java | 22 Vector2 mPlayerPosition; 23 Vector2 mMyPosition; 30 mPlayerPosition = new Vector2(); 31 mMyPosition = new Vector2();
|
/external/jmonkeyengine/engine/src/bullet/com/jme3/bullet/collision/shapes/ |
SimplexCollisionShape.java | 22 private Vector3f vector1, vector2, vector3, vector4; field in class:SimplexCollisionShape 29 vector2 = point2; 37 vector2 = point2; 44 vector2 = point2; 57 capsule.write(vector2, "simplexPoint2", null); 66 vector2 = (Vector3f) capsule.readSavable("simplexPoint2", null); 74 objectId = createShape(vector1, vector2, vector3, vector4); 75 // objectId = new BU_Simplex1to4(Converter.convert(vector1), Converter.convert(vector2), Converter.convert(vector3), Converter.convert(vector4)); 77 objectId = createShape(vector1, vector2, vector3); 78 // objectId = new BU_Simplex1to4(Converter.convert(vector1), Converter.convert(vector2), Converter.convert(vector3)) [all...] |
/external/jmonkeyengine/engine/src/core-data/Common/MatDefs/Hdr/ |
LogLum.j3md | 5 Vector2 BlockSize
6 Vector2 PixelSize
|
/external/chromium_org/native_client_sdk/src/examples/demo/flock/ |
goose.cc | 43 Goose::Goose(const Vector2& location, const Vector2& velocity) 49 const std::vector<Vector2>& attractors, 52 Vector2 acceleration = DesiredVector(geese, attractors); 76 Vector2 Goose::DesiredVector(const std::vector<Goose>& geese, 77 const std::vector<Vector2>& attractors) { 81 Vector2 separation; 83 Vector2 alignment; 85 Vector2 cohesion; 93 Vector2 goose_delta = Vector2::Difference [all...] |
vector2.h | 15 class Vector2 { 17 Vector2() : x_(0.0), y_(0.0) {} 18 Vector2(double x, double y) : x_(x), y_(y) {} 19 ~Vector2() {} 22 static Vector2 Difference(const Vector2& a, const Vector2& b) { 23 Vector2 diff(a.x() - b.x(), a.y() - b.y()); 33 void Add(const Vector2& vec) {
|
example.dsc | 13 'vector2.h'
|
goose.h | 11 #include "vector2.h" 23 Goose(const Vector2& location, const Vector2& velocity); 34 const std::vector<Vector2>& attractors, 53 Vector2 DesiredVector(const std::vector<Goose>& geese, 54 const std::vector<Vector2>& attractors); 60 Vector2 TurnTowardsTarget(const Vector2& target); 63 Vector2 location() const { 66 Vector2 velocity() const [all...] |
/external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/collision/shapes/ |
SimplexCollisionShape.java | 22 private Vector3f vector1, vector2, vector3, vector4; field in class:SimplexCollisionShape 29 vector2 = point2; 37 vector2 = point2; 44 vector2 = point2; 57 capsule.write(vector2, "simplexPoint2", null); 66 vector2 = (Vector3f) capsule.readSavable("simplexPoint2", null); 74 cShape = new BU_Simplex1to4(Converter.convert(vector1), Converter.convert(vector2), Converter.convert(vector3), Converter.convert(vector4)); 76 cShape = new BU_Simplex1to4(Converter.convert(vector1), Converter.convert(vector2), Converter.convert(vector3)); 77 } else if (vector2 != null) { 78 cShape = new BU_Simplex1to4(Converter.convert(vector1), Converter.convert(vector2)); [all...] |
/external/compiler-rt/lib/tsan/tests/unit/ |
tsan_clock_test.cc | 60 ThreadClock vector2; local 61 vector2.acquire(&chunked); 62 CHECK_EQ(vector2.size(), 101); 63 CHECK_EQ(vector2.get(0), 0); 64 CHECK_EQ(vector2.get(1), 0); 65 CHECK_EQ(vector2.get(99), 0); 66 CHECK_EQ(vector2.get(100), 1); 92 ThreadClock vector2; local 93 vector2.tick(20); 98 vector2.release(&chunked) [all...] |
/external/jmonkeyengine/engine/src/core-effects/Common/MatDefs/Water/ |
SimpleWater.j3md | 16 Vector2 FrustumNearFar
|
/external/clang/test/SemaTemplate/ |
derived.cpp | 4 template<typename T> class vector2 {}; class 5 template<typename T> class vector : vector2<T> {}; 7 template<typename T> void Foo2(vector2<const T*> V) {} // expected-note{{candidate template ignored: can't deduce a type for 'T' which would make 'const T' equal 'int'}} 11 Foo2(vector2<int*>()); // expected-error{{no matching function for call to 'Foo2'}}
|