/external/libgdx/extensions/gdx-box2d/gdx-box2d/src/com/badlogic/gdx/physics/box2d/ |
FixtureDef.java | 26 /** The friction coefficient, usually in the range [0,1]. **/ 27 public float friction = 0.2f; field in class:FixtureDef
|
Contact.java | 154 /** Override the default friction mixture. You can call this in b2ContactListener::PreSolve. This value persists until set or 156 public void setFriction (float friction) { 157 jniSetFriction(addr, friction); 160 private native void jniSetFriction (long addr, float friction); /* 162 contact->SetFriction(friction); 165 /** Get the friction. */ 175 /** Reset the friction mixture to the default value. */
|
Fixture.java | 254 /** Get the coefficient of friction. */ 264 /** Set the coefficient of friction. */ 265 public void setFriction (float friction) { 266 jniSetFriction(addr, friction); 269 private native void jniSetFriction (long addr, float friction); /* 271 fixture->SetFriction(friction);
|
/external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/org/jbox2d/dynamics/ |
FixtureDef.java | 47 * The friction coefficient, usually in the range [0,1]. 49 public float friction; field in class:FixtureDef 74 friction = 0.2f; 112 * The friction coefficient, usually in the range [0,1]. 115 return friction; 119 * The friction coefficient, usually in the range [0,1]. 121 public void setFriction(float friction) { 122 this.friction = friction;
|
Fixture.java | 41 * transform from its parent. Fixtures hold additional non-geometric data such as friction, 257 * Get the coefficient of friction. 266 * Set the coefficient of friction. This will _not_ change the friction of existing contacts. 268 * @param friction 270 public void setFriction(float friction) { 271 m_friction = friction; 319 m_friction = def.friction;
|
/external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/com/badlogic/gdx/physics/box2d/ |
FixtureDef.java | 26 /** The friction coefficient, usually in the range [0,1]. **/ 27 public float friction = 0.2f; field in class:FixtureDef 48 fd.friction = friction;
|
Contact.java | 87 /** Override the default friction mixture. You can call this in b2ContactListener::PreSolve. This value persists until set or 89 public void setFriction (float friction) { 90 contact.setFriction(friction); 93 /** Get the friction. */ 98 /** Reset the friction mixture to the default value. */
|
Fixture.java | 139 /** Get the coefficient of friction. */ 144 /** Set the coefficient of friction. */ 145 public void setFriction (float friction) { 146 fixture.setFriction(friction);
|
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/CollisionDispatch/ |
btManifoldResult.cpp | 22 ///This is to allow MaterialCombiner/Custom Friction/Restitution values 30 btScalar friction = body0->getRollingFriction() * body1->getRollingFriction(); local 33 if (friction < -MAX_FRICTION) 34 friction = -MAX_FRICTION; 35 if (friction > MAX_FRICTION) 36 friction = MAX_FRICTION; 37 return friction; 45 btScalar friction = body0->getFriction() * body1->getFriction(); local 48 if (friction < -MAX_FRICTION) 49 friction = -MAX_FRICTION [all...] |
/external/libgdx/extensions/gdx-box2d/gdx-box2d/jni/Box2D/Dynamics/ |
b2Fixture.h | 63 friction = 0.2f; 76 /// The friction coefficient, usually in the range [0,1]. 77 float32 friction; member in struct:b2FixtureDef 104 /// such as friction, collision filters, etc. 176 /// Get the coefficient of friction. 179 /// Set the coefficient of friction. This will _not_ change the friction of 181 void SetFriction(float32 friction); 309 inline void b2Fixture::SetFriction(float32 friction) 311 m_friction = friction; [all...] |
/external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/org/jbox2d/dynamics/contacts/ |
ContactVelocityConstraint.java | 39 public float friction; field in class:ContactVelocityConstraint
|
Contact.java | 218 public void setFriction(float friction) { 219 m_friction = friction; 343 * Friction mixing law. The idea is to allow either fixture to drive the restitution to zero. For
|
/external/libgdx/extensions/gdx-box2d/gdx-box2d/jni/Box2D/Dynamics/Contacts/ |
b2ContactSolver.h | 52 float32 friction; member in struct:b2ContactVelocityConstraint
|
b2Contact.h | 35 /// Friction mixing law. The idea is to allow either fixture to drive the restitution to zero. 118 /// Override the default friction mixture. You can call this in b2ContactListener::PreSolve. 120 void SetFriction(float32 friction); 122 /// Get the friction. 125 /// Reset the friction mixture to the default value. 309 inline void b2Contact::SetFriction(float32 friction) 311 m_friction = friction;
|
/external/libgdx/extensions/gdx-box2d/gdx-box2d/jni/ |
com.badlogic.gdx.physics.box2d.Fixture.cpp | 146 JNIEXPORT void JNICALL Java_com_badlogic_gdx_physics_box2d_Fixture_jniSetFriction(JNIEnv* env, jobject object, jlong addr, jfloat friction) { 152 fixture->SetFriction(friction);
|
com.badlogic.gdx.physics.box2d.Contact.cpp | 119 JNIEXPORT void JNICALL Java_com_badlogic_gdx_physics_box2d_Contact_jniSetFriction(JNIEnv* env, jobject object, jlong addr, jfloat friction) { 125 contact->SetFriction(friction);
|
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/box2d/ |
Chain.java | 65 fd.friction = 0.2f;
|
DebugRendererTest.java | 50 fd.friction = 0.3f;
|
ConveyorBelt.java | 61 fd.friction = 0.8f;
|
BodyTypes.java | 88 fd.friction = 0.6f;
125 fd.friction = 0.6f;
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
Scroller.java | 134 * The amount of friction applied to flings. The default value 137 * @param friction A scalar dimension-less value representing the coefficient of 138 * friction. 140 public final void setFriction(float friction) { 141 mDeceleration = computeDeceleration(friction); 144 private float computeDeceleration(float friction) { 148 * friction;
|
OverScroller.java | 120 * The amount of friction applied to flings. The default value 123 * @param friction A scalar dimension-less value representing the coefficient of 124 * friction. 126 public final void setFriction(float friction) { 127 mScrollerX.setFriction(friction); 128 mScrollerY.setFriction(friction); 576 // Fling friction 644 void setFriction(float friction) { 645 mFlingFriction = friction; [all...] |
/frameworks/base/core/java/android/widget/ |
Scroller.java | 184 * The amount of friction applied to flings. The default value 187 * @param friction A scalar dimension-less value representing the coefficient of 188 * friction. 190 public final void setFriction(float friction) { 191 mDeceleration = computeDeceleration(friction); 192 mFlingFriction = friction; 195 private float computeDeceleration(float friction) { 199 * friction;
|
OverScroller.java | 126 * The amount of friction applied to flings. The default value 129 * @param friction A scalar dimension-less value representing the coefficient of 130 * friction. 132 public final void setFriction(float friction) { 133 mScrollerX.setFriction(friction); 134 mScrollerY.setFriction(friction); 575 // Fling friction 635 void setFriction(float friction) { 636 mFlingFriction = friction; [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/ |
LauncherScroller.java | 162 * The amount of friction applied to flings. The default value 165 * @param friction A scalar dimension-less value representing the coefficient of 166 * friction. 168 public final void setFriction(float friction) { 169 mDeceleration = computeDeceleration(friction); 170 mFlingFriction = friction; 173 private float computeDeceleration(float friction) { 177 * friction;
|