Searched defs:vel (Results 1 - 6 of 6) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DNotificationPanelView.java61 public void fling(float vel, boolean always) { argument
65 "fling " + ((vel > 0) ? "open" : "closed"),
66 "notifications,v=" + vel);
68 super.fling(vel, always);
H A DSettingsPanelView.java103 public void fling(float vel, boolean always) { argument
107 "fling " + ((vel > 0) ? "open" : "closed"),
108 "settings,v=" + vel);
110 super.fling(vel, always);
H A DPanelView.java307 float vel = 0, yVel = 0, xVel = 0;
325 vel = (float)Math.hypot(yVel, xVel);
326 if (vel > mFlingGestureMaxOutputVelocityPx) {
327 vel = mFlingGestureMaxOutputVelocityPx;
338 || vel < mFlingExpandMinVelocityPx
340 vel = 0;
344 vel = -vel;
347 if (DEBUG) LOG("gesture: dy=%f vel=(%f,%f) vlinear=%f",
350 vel);
361 fling(float vel, boolean always) argument
[all...]
/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/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.java2255 PointF vel = new PointF(mVelocityTracker.getXVelocity(),
2258 float theta = (float) Math.acos(((vel.x * upVec.x) + (vel.y * upVec.y)) /
2259 (vel.length() * upVec.length()));
2261 return vel;
2281 public FlingAlongVectorAnimatorUpdateListener(View dragView, PointF vel, Rect from, argument
2284 mVelocity = vel;
2399 public void onFlingToDelete(PointF vel) { argument
2432 AnimatorUpdateListener updateCb = new FlingAlongVectorAnimatorUpdateListener(dragView, vel,

Completed in 45 milliseconds