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

1 2

  /external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/org/jbox2d/particle/
ParticleGroup.java 126 Vec2 vel = m_system.m_velocityBuffer.data[i]; local
127 m_linearVelocity.x += m * vel.x;
128 m_linearVelocity.y += m * vel.y;
140 Vec2 vel = m_system.m_velocityBuffer.data[i]; local
143 float vx = vel.x - m_linearVelocity.x;
144 float vy = vel.y - m_linearVelocity.y;
  /packages/apps/Launcher3/src/com/android/launcher3/util/
FlingAnimation.java 34 * @param vel initial fling velocity in pixels per second.
36 public FlingAnimation(DragObject d, PointF vel, Rect iconRect, DragLayer dragLayer) {
38 mUX = vel.x / 1000;
39 mUY = vel.y / 1000;
  /external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletDynamics/ConstraintSolver/
btContactConstraint.cpp 92 btVector3 vel = vel1 - vel2; local
94 rel_vel = normal.dot(vel);
142 btVector3 vel = vel1 - vel2; local
161 rel_vel = normal.dot(vel);
btSliderConstraint.cpp 572 btScalar vel = linVelA.dot(ax1); local
573 vel -= linVelB.dot(ax1);
574 vel *= signFact;
579 if(vel < 0)
581 btScalar newc = -bounce * vel;
590 if(vel > 0)
592 btScalar newc = -bounce * vel;
675 btScalar vel = m_rbA.getAngularVelocity().dot(ax1); local
676 vel -= m_rbB.getAngularVelocity().dot(ax1);
681 if(vel < 0
    [all...]
btTypedConstraint.cpp 60 btScalar btTypedConstraint::getMotorFactor(btScalar pos, btScalar lowLim, btScalar uppLim, btScalar vel, btScalar timeFact)
71 btScalar delta_max = vel / timeFact;
btGeneric6DofConstraint.cpp 291 btVector3 vel = vel1 - vel2; local
293 btScalar rel_vel = axis_normal_on_a.dot(vel);
895 btScalar vel; local
898 vel = angVelA.dot(ax1);
901 vel -= angVelB.dot(ax1);
905 vel = linVelA.dot(ax1);
908 vel -= linVelB.dot(ax1);
914 if (vel < 0)
916 btScalar newc = -limot->m_bounce* vel;
923 if (vel > 0
    [all...]
btGeneric6DofSpring2Constraint.cpp 661 btScalar vel = rotational ? angVelA.dot(ax1) - angVelB.dot(ax1) : linVelA.dot(ax1) - linVelB.dot(ax1); local
666 if (info->m_constraintError[srow]-vel*limot->m_stopERP > 0) {
667 btScalar bounceerror = -limot->m_bounce* vel;
671 if (info->m_constraintError[srow]-vel*limot->m_stopERP < 0) {
672 btScalar bounceerror = -limot->m_bounce* vel;
685 if (info->m_constraintError[srow]-vel*limot->m_stopERP < 0) {
686 btScalar bounceerror = -limot->m_bounce* vel;
690 if (info->m_constraintError[srow]-vel*limot->m_stopERP > 0) {
691 btScalar bounceerror = -limot->m_bounce* vel;
780 btScalar vel = rotational ? angVelA.dot(ax1) - angVelB.dot(ax1) : linVelA.dot(ax1) - linVelB.dot(ax1) local
    [all...]
btHingeConstraint.cpp 627 btScalar vel = angVelA.dot(ax1); local
628 vel -= angVelB.dot(ax1);
633 if(vel < 0)
635 btScalar newc = -bounce * vel;
644 if(vel > 0)
646 btScalar newc = -bounce * vel;
1022 btScalar vel = angVelA.dot(ax1); local
1023 vel -= angVelB.dot(ax1);
1028 if(vel < 0)
1030 btScalar newc = -bounce * vel;
    [all...]
btTypedConstraint.h 108 btScalar getMotorFactor(btScalar pos, btScalar lowLim, btScalar uppLim, btScalar vel, btScalar timeFact);
  /packages/apps/Launcher2/src/com/android/launcher2/
DeleteDropTarget.java 267 DragObject d, PointF vel, ViewConfiguration config) {
275 float velocity = Math.abs(vel.length());
278 int offsetX = (int) (offsetY / (vel.y / vel.x));
332 public FlingAlongVectorAnimatorUpdateListener(DragLayer dragLayer, PointF vel, Rect from,
335 mVelocity = vel;
370 DragObject d, PointF vel, final long startTime, final int duration,
375 return new FlingAlongVectorAnimatorUpdateListener(dragLayer, vel, from, startTime,
379 public void onFlingToDelete(final DragObject d, int x, int y, PointF vel) {
424 updateCb = createFlingToTrashAnimatorListener(dragLayer, d, vel, config)
    [all...]
DragController.java 631 PointF vel = new PointF(mVelocityTracker.getXVelocity(),
634 float theta = (float) Math.acos(((vel.x * upVec.x) + (vel.y * upVec.y)) /
635 (vel.length() * upVec.length()));
637 return vel;
643 private void dropOnFlingToDeleteTarget(float x, float y, PointF vel) {
664 vel);
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/alsa/
seqmid.h 368 * \param vel velocity
371 #define snd_seq_ev_set_note(ev, ch, key, vel, dur) \
376 (ev)->data.note.velocity = (vel),\
384 * \param vel velocity
386 #define snd_seq_ev_set_noteon(ev, ch, key, vel) \
391 (ev)->data.note.velocity = (vel))
398 * \param vel velocity
400 #define snd_seq_ev_set_noteoff(ev, ch, key, vel) \
405 (ev)->data.note.velocity = (vel))
412 * \param vel velocit
    [all...]
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/alsa/
seqmid.h 368 * \param vel velocity
371 #define snd_seq_ev_set_note(ev, ch, key, vel, dur) \
376 (ev)->data.note.velocity = (vel),\
384 * \param vel velocity
386 #define snd_seq_ev_set_noteon(ev, ch, key, vel) \
391 (ev)->data.note.velocity = (vel))
398 * \param vel velocity
400 #define snd_seq_ev_set_noteoff(ev, ch, key, vel) \
405 (ev)->data.note.velocity = (vel))
412 * \param vel velocit
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
PanelView.java 380 float vel = 0f; local
384 vel = mVelocityTracker.getYVelocity();
388 boolean expand = flingExpands(vel, vectorVel, x, y)
398 int velocityDp = (int) Math.abs(vel / displayDensity);
403 fling(vel, expand, isFalseTouch(x, y));
407 mUpdateFlingVelocity = vel;
583 * @param vel the current vertical velocity of the motion
587 protected boolean flingExpands(float vel, float vectorVel, float x, float y) {
594 return vel > 0;
619 protected void fling(float vel, boolean expand)
    [all...]
KeyguardAffordanceHelper.java 318 float vel = getCurrentVelocity(lastX, lastY); local
328 boolean velIsInWrongDirection = vel * mTranslation < 0;
329 snapBack |= Math.abs(vel) > mMinFlingVelocity && velIsInWrongDirection;
330 vel = snapBack ^ velIsInWrongDirection ? 0 : vel;
331 fling(vel, snapBack || forceSnapBack, mTranslation < 0);
343 private void fling(float vel, final boolean snapBack, boolean right) {
349 mFlingAnimationUtils.apply(animator, mTranslation, target, vel);
358 startFinishingCircleAnimation(vel * 0.375f, mAnimationEndRunnable, right);
359 mCallback.onAnimationToSideStarted(right, mTranslation, vel);
    [all...]
NotificationPanelView.java 528 flingSettings(0 /* vel */, false);
546 public void fling(float vel, boolean expand) {
549 gr.tag("fling " + ((vel > 0) ? "open" : "closed"), "notifications,v=" + vel);
551 super.fling(vel, expand);
555 protected void flingToHeight(float vel, boolean expand, float target,
561 super.flingToHeight(vel, expand, target, collapseSpeedUpFactor, expandBecauseOfFalsing);
689 float vel = getCurrentVelocity(); local
690 final boolean expandsQs = flingExpandsQs(vel);
694 flingSettings(vel, expandsQs && !isCancelMotionEvent)
698 float vel = getCurrentVelocity(); local
    [all...]
  /packages/apps/Calendar/src/com/android/calendar/month/
MonthListView.java 118 float vel = mTracker.getYVelocity (); local
119 if (Math.abs(vel) > MIN_VELOCITY_FOR_FLING) {
120 doFling(vel);
  /packages/apps/Launcher3/src/com/android/launcher3/
DeleteDropTarget.java 80 public void onFlingToDelete(final DragObject d, PointF vel) {
86 FlingAnimation fling = new FlingAnimation(d, vel,
DragController.java 682 PointF vel = new PointF(mVelocityTracker.getXVelocity(),
685 float theta = (float) Math.acos(((vel.x * upVec.x) + (vel.y * upVec.y)) /
686 (vel.length() * upVec.length()));
688 return vel;
694 private void dropOnFlingToDeleteTarget(float x, float y, PointF vel) {
714 mFlingToDeleteDropTarget.onFlingToDelete(mDragObject, vel);
  /external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/
Box2DCharacterControllerTest.java 191 Vector2 vel = player.getLinearVelocity(); local
203 if (Math.abs(vel.x) > MAX_VELOCITY) {
204 vel.x = Math.signum(vel.x) * MAX_VELOCITY;
205 player.setLinearVelocity(vel.x, vel.y);
211 player.setLinearVelocity(vel.x * 0.9f, vel.y);
245 if (Gdx.input.isKeyPressed(Keys.A) && vel.x > -MAX_VELOCITY) {
250 if (Gdx.input.isKeyPressed(Keys.D) && vel.x < MAX_VELOCITY) {
    [all...]
  /cts/tests/openglperf2/jni/reference/scene/flocking/
FlockingScene.cpp 157 Vector2D* vel = &(b->mVelocity); local
166 transformMatrix->rotate(atan2(vel->mY, vel->mX) + M_PI, 0, 0, 1);
  /external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletDynamics/Featherstone/
btMultiBody.h 173 // get/set pos/vel/rot/omega for the base link
207 void setBaseVel(const btVector3 &vel)
210 m_realBuf[3]=vel[0]; m_realBuf[4]=vel[1]; m_realBuf[5]=vel[2];
225 // get/set pos/vel for child m_links (i = 0 to num_links-1)
624 void compTreeLinkVelocities(btVector3 *omega, btVector3 *vel) const;
btMultiBody.cpp 497 void btMultiBody::compTreeLinkVelocities(btVector3 *omega, btVector3 *vel) const
502 vel[0] = quatRotate(m_baseQuat ,getBaseVel());
507 // transform parent vel into this frame, store in omega[i+1], vel[i+1]
509 omega[parent+1], vel[parent+1], local
510 omega[i+1], vel[i+1]); local
514 vel[i+1] += getJointVel(i) * m_links[i].getAxisBottom(0);
523 btAlignedObjectArray<btVector3> vel;vel.resize(num_links+1); local
524 compTreeLinkVelocities(&omega[0], &vel[0])
543 btAlignedObjectArray<btVector3> vel;vel.resize(num_links+1); local
    [all...]
  /external/v8/test/mjsunit/
string-indexof-2.js 47 + "consequatur? quis autem vel eum iure reprehenderit, qui in ea "
48 + "voluptate velit esse, quam nihil molestiae consequatur, vel illum, "
  /packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
KeyboardView.java 1487 float vel = (dist\/dur) * units; local
    [all...]

Completed in 3270 milliseconds

1 2