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

  /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;
  /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 377 float vel = 0f; local
381 vel = mVelocityTracker.getYVelocity();
385 boolean expand = flingExpands(vel, vectorVel, x, y)
395 int velocityDp = (int) Math.abs(vel / displayDensity);
400 fling(vel, expand, isFalseTouch(x, y));
404 mUpdateFlingVelocity = vel;
580 * @param vel the current vertical velocity of the motion
584 protected boolean flingExpands(float vel, float vectorVel, float x, float y) {
591 return vel > 0;
616 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 525 flingSettings(0 /* vel */, false);
543 public void fling(float vel, boolean expand) {
546 gr.tag("fling " + ((vel > 0) ? "open" : "closed"), "notifications,v=" + vel);
548 super.fling(vel, expand);
552 protected void flingToHeight(float vel, boolean expand, float target,
556 super.flingToHeight(vel, expand, target, collapseSpeedUpFactor, expandBecauseOfFalsing);
684 float vel = getCurrentVelocity(); local
685 final boolean expandsQs = flingExpandsQs(vel);
689 flingSettings(vel, expandsQs && !isCancelMotionEvent)
693 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);
  /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/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...]
  /frameworks/base/core/java/android/inputmethodservice/
KeyboardView.java 1554 float vel = (dist\/dur) * units; \/\/ pixels\/frame. local
    [all...]
  /toolchain/binutils/binutils-2.25/gold/
script.cc     [all...]
  /frameworks/support/v7/recyclerview/src/android/support/v7/widget/
RecyclerView.java 4387 final int vel = (int) scroller.getCurrVelocity(); local
    [all...]
  /frameworks/base/core/java/android/widget/
AbsListView.java     [all...]
  /prebuilts/tools/common/m2/repository/org/glassfish/jaxb/jaxb-core/2.2.11/
jaxb-core-2.2.11.jar 
  /prebuilts/sdk/current/support/v7/recyclerview/libs/
android-support-v7-recyclerview.jar 
  /external/chromium-trace/catapult/tracing/third_party/css-element-queries/test/
mootools-more-yui-compressed.min.js     [all...]

Completed in 867 milliseconds