/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);
|
/cts/suite/cts/deviceTests/opengl/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);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
KeyguardAffordanceHelper.java | 284 float vel = getCurrentVelocity(); local 290 boolean velIsInWrongDirection = vel * mTranslation < 0; 291 snapBack |= Math.abs(vel) > mMinFlingVelocity && velIsInWrongDirection; 292 vel = snapBack ^ velIsInWrongDirection ? 0 : vel; 293 fling(vel, snapBack || forceSnapBack); 305 private void fling(float vel, final boolean snapBack) { 310 mFlingAnimationUtils.apply(animator, mTranslation, target, vel); 319 startFinishingCircleAnimation(vel * 0.375f, mAnimationEndRunnable);
|
PanelView.java | 329 float vel = 0f; local 333 vel = mVelocityTracker.getYVelocity(); 337 boolean expand = flingExpands(vel, vectorVel); 342 fling(vel, expand); 345 mUpdateFlingVelocity = vel; 492 * @param vel the current vertical velocity of the motion 496 protected boolean flingExpands(float vel, float vectorVel) { 503 return vel > 0; 511 protected void fling(float vel, boolean expand) { 533 vel = 0 [all...] |
NotificationPanelView.java | 415 flingSettings(0 /* vel */, false); 426 public void fling(float vel, boolean expand) { 429 gr.tag("fling " + ((vel > 0) ? "open" : "closed"), "notifications,v=" + vel); 431 super.fling(vel, expand); 552 float vel = getCurrentVelocity(); local 553 flingSettings(vel, flingExpandsQs(vel)); 556 private boolean flingExpandsQs(float vel) { 560 if (Math.abs(vel) < mFlingAnimationUtils.getMinVelocityPxPerSecond()) [all...] |
/frameworks/base/core/java/android/inputmethodservice/ |
KeyboardView.java | 1541 float vel = (dist\/dur) * units; \/\/ pixels\/frame. local [all...] |
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
KeyboardView.java | 1487 float vel = (dist\/dur) * units; local [all...] |
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
PagedView.java | 2393 PointF vel = new PointF(mVelocityTracker.getXVelocity(), local [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/ |
PagedView.java | 2584 PointF vel = new PointF(mVelocityTracker.getXVelocity(), local [all...] |
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
RecyclerView.java | 2765 final int vel = (int) scroller.getCurrVelocity(); local [all...] |
/prebuilts/sdk/current/support/v7/recyclerview/libs/ |
android-support-v7-recyclerview.jar | |