Searched refs:vel (Results 1 - 8 of 8) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DUniverseBackground.java322 void performFling(int y, float vel, boolean always) { argument
324 Slog.d(TAG, "panel: will fling, y=" + y + " vel=" + vel);
330 mAnimVel = vel;
336 vel > mFlingCollapseMinVelocityPx
338 vel > -mFlingExpandMinVelocityPx))) {
342 if (vel < 0) {
349 if (vel > 0) {
355 vel > mFlingExpandMinVelocityPx
357 vel >
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DNotificationPanelView.java63 public void fling(float vel, boolean always) { argument
67 "fling " + ((vel > 0) ? "open" : "closed"),
68 "notifications,v=" + vel);
70 super.fling(vel, always);
H A DSettingsPanelView.java106 public void fling(float vel, boolean always) { argument
110 "fling " + ((vel > 0) ? "open" : "closed"),
111 "settings,v=" + vel);
113 super.fling(vel, always);
H A DPanelView.java424 float vel = 0, yVel = 0, xVel = 0;
442 vel = (float)Math.hypot(yVel, xVel);
443 if (vel > mFlingGestureMaxOutputVelocityPx) {
444 vel = mFlingGestureMaxOutputVelocityPx;
455 || vel < mFlingExpandMinVelocityPx
457 vel = 0;
461 vel = -vel;
464 if (DEBUG) LOG("gesture: dy=%f vel=(%f,%f) vlinear=%f",
467 vel);
478 fling(float vel, boolean always) argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DNotificationRowLayout.java254 public void dismissRowAnimated(View child, int vel) { argument
255 mSwipeHelper.dismissChild(child, vel);
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
H A DPagedView.java2268 PointF vel = new PointF(mVelocityTracker.getXVelocity(),
2271 float theta = (float) Math.acos(((vel.x * upVec.x) + (vel.y * upVec.y)) /
2272 (vel.length() * upVec.length()));
2274 return vel;
2294 public FlingAlongVectorAnimatorUpdateListener(View dragView, PointF vel, Rect from, argument
2297 mVelocity = vel;
2413 public void onFlingToDelete(PointF vel) { argument
2446 AnimatorUpdateListener updateCb = new FlingAlongVectorAnimatorUpdateListener(dragView, vel,
/frameworks/base/core/java/android/inputmethodservice/
H A DKeyboardView.java1538 float vel = (dist/dur) * units; // pixels/frame.
1539 if (accumX == 0) accumX = vel;
1540 else accumX = (accumX + vel) * .5f;
1543 vel = (dist/dur) * units; // pixels/frame.
1544 if (accumY == 0) accumY = vel;
1545 else accumY = (accumY + vel) * .5f;
/frameworks/base/core/java/android/widget/
H A DAbsListView.java4024 final int vel = (int) mScroller.getCurrVelocity();
4026 mEdgeGlowTop.onAbsorb(vel);
4028 mEdgeGlowBottom.onAbsorb(vel);

Completed in 191 milliseconds