/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); 320 mCallback.onAnimationToSideStarted(mTranslation < 0, mTranslation, vel); [all...] |
PanelView.java | 329 float vel = 0f; local 333 vel = mVelocityTracker.getYVelocity(); 337 boolean expand = flingExpands(vel, vectorVel) 347 int velocityDp = (int) Math.abs(vel / displayDensity); 352 fling(vel, expand); 355 mUpdateFlingVelocity = vel; 519 * @param vel the current vertical velocity of the motion 523 protected boolean flingExpands(float vel, float vectorVel) { 530 return vel > 0; 538 protected void fling(float vel, boolean expand) [all...] |
NotificationPanelView.java | 469 flingSettings(0 /* vel */, false); 487 public void fling(float vel, boolean expand) { 490 gr.tag("fling " + ((vel > 0) ? "open" : "closed"), "notifications,v=" + vel); 492 super.fling(vel, expand); 616 float vel = getCurrentVelocity(); local 617 flingSettings(vel, flingExpandsQs(vel) && !isCancelMotionEvent); 620 private boolean flingExpandsQs(float vel) { 624 if (Math.abs(vel) < mFlingAnimationUtils.getMinVelocityPxPerSecond()) [all...] |
/frameworks/base/core/java/android/inputmethodservice/ |
KeyboardView.java | 1543 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 | 2605 PointF vel = new PointF(mVelocityTracker.getXVelocity(), local [all...] |
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
RecyclerView.java | 3108 final int vel = (int) scroller.getCurrVelocity(); local [all...] |
/prebuilts/sdk/current/support/v7/recyclerview/libs/ |
android-support-v7-recyclerview.jar | |