HomeSort by relevance Sort by last modified time
    Searched refs:mass (Results 1 - 8 of 8) sorted by null

  /external/webkit/PerformanceTests/SunSpider/tests/sunspider-0.9/
access-nbody.js 9 function Body(x,y,z,vx,vy,vz,mass){
16 this.mass = mass;
87 var m = b.mass;
110 bodyi.vx -= dx * bodyj.mass * mag;
111 bodyi.vy -= dy * bodyj.mass * mag;
112 bodyi.vz -= dz * bodyj.mass * mag;
114 bodyj.vx += dx * bodyi.mass * mag;
115 bodyj.vy += dy * bodyi.mass * mag;
116 bodyj.vz += dz * bodyi.mass * mag
    [all...]
  /external/webkit/PerformanceTests/SunSpider/tests/sunspider-0.9.1/
access-nbody.js 9 function Body(x,y,z,vx,vy,vz,mass){
16 this.mass = mass;
87 var m = b.mass;
110 bodyi.vx -= dx * bodyj.mass * mag;
111 bodyi.vy -= dy * bodyj.mass * mag;
112 bodyi.vz -= dz * bodyj.mass * mag;
114 bodyj.vx += dx * bodyi.mass * mag;
115 bodyj.vy += dy * bodyi.mass * mag;
116 bodyj.vz += dz * bodyi.mass * mag
    [all...]
  /packages/apps/Camera/jni/feature_mos/src/mosaic/
Geometry.h 67 double &mass, double &centX, double &centY)
78 mass = fabs((y1 - y0) * (x2 - x0)); // Special case 1a
82 mass = fabs((y1 - y0) * (x1 - x0)); // Special case 1b
89 mass = fabs((x2 - x0) * (y2 - y0)); // Special case 2a
93 mass = fabs((x1 - x0) * (y2 - y0)); // Special case 2a
98 mass = fabs((x1 - x0) * (y2 - y0)); // Special case 3
117 // the mass is the base * height
120 mass = len1 * sqrt(dx * dx + dy * dy);
124 mass = fabs( (y1 - y0) * (x2 - x0) );
  /external/llvm/test/FrontendC/
2007-03-05-DataLayout.c 14 double mass; member in struct:bnode
27 #define Mass(x) ((x)->mass)
  /frameworks/base/opengl/tests/gl2_cameraeye/src/com/android/gl2cameraeye/
GL2CameraEye.java 351 float mass = 10.f; local
358 totalForce[0] = -mPos[0] * springStrength - mVel[0]*frictionCoeff + gMultiplier*mGForce[0]*mass;
359 totalForce[1] = -mPos[1] * springStrength - mVel[1]*frictionCoeff + gMultiplier*mGForce[1]*mass;
360 totalForce[2] = -mPos[2] * springStrength - mVel[2]*frictionCoeff + gMultiplier*mGForce[2]*mass;
363 accel[0] = totalForce[0]/mass;
364 accel[1] = totalForce[1]/mass;
365 accel[2] = totalForce[2]/mass;
  /system/media/wilhelm/tests/native-media/src/com/example/nativemedia/
MyGLSurfaceView.java 324 float mass = 10.f; local
331 totalForce[0] = -mPos[0] * springStrength - mVel[0]*frictionCoeff + gMultiplier*mGForce[0]*mass;
332 totalForce[1] = -mPos[1] * springStrength - mVel[1]*frictionCoeff + gMultiplier*mGForce[1]*mass;
333 totalForce[2] = -mPos[2] * springStrength - mVel[2]*frictionCoeff + gMultiplier*mGForce[2]*mass;
336 accel[0] = totalForce[0]/mass;
337 accel[1] = totalForce[1]/mass;
338 accel[2] = totalForce[2]/mass;
  /packages/experimental/DreamTheater/src/com/android/dreamtheater/
BouncyDroid.java 203 final float mass = 100; local
204 mBody = new World.Body(mass, new World.Vec(200,200));
227 mBody.applyForce(new World.Vec(0, mass * World.GRAVITY));
  /frameworks/ex/carousel/java/com/android/ex/carousel/
carousel.rs     [all...]

Completed in 234 milliseconds