Searched refs:velocity (Results 51 - 59 of 59) sorted by relevance

123

/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
H A DRecentsView.java714 if (event.velocity > mFlingAnimationUtils.getMinVelocityPxPerSecond()) {
722 mFlingAnimationUtils.apply(animator, getTranslationY(), getHeight(), event.velocity);
726 mFlingAnimationUtils.apply(animator, getTranslationY(), 0, event.velocity);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
H A DNotificationStackScrollLayout.java2341 * @param velocityY The initial velocity in the Y direction. Positive
4373 * @param velocity The velocity that the Scroller had when over flinging
4376 void flingTopOverscroll(float velocity, boolean open); argument
4400 mCurrMenuRow.onTouchEvent(currView, ev, 0 /* velocity */);
4413 mCurrMenuRow.onTouchEvent(currView, ev, 0 /* velocity */);
4421 mCurrMenuRow.onTouchEvent(view, ev, 0 /* velocity */);
4426 public boolean handleUpEvent(MotionEvent ev, View animView, float velocity, argument
4429 return mCurrMenuRow.onTouchEvent(animView, ev, velocity);
4435 public void dismissChild(final View view, float velocity, argument
4449 snapChild(final View animView, final float targetLeft, float velocity) argument
4493 dismiss(View animView, float velocity) argument
4499 snap(View animView, float targetLeft, float velocity) argument
4509 swipedFastEnough(float translation, float velocity) argument
[all...]
/frameworks/ex/widget/java/com/android/ex/widget/
H A DStaggeredGridView.java353 // Break fling velocity if we impacted an edge.
365 final float velocity = VelocityTrackerCompat.getYVelocity(mVelocityTracker,
367 if (Math.abs(velocity) > mFlingVelocity) { // TODO
369 mScroller.fling(0, 0, 0, (int) velocity, 0, 0,
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
H A DRecentsImpl.java510 public void onDraggingInRecentsEnded(float velocity) { argument
511 EventBus.getDefault().sendOntoMainThread(new DraggingInRecentsEndedEvent(velocity));
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DNotificationPanelView.java1049 public void flingTopOverscroll(float velocity, boolean open) { argument
1053 flingSettings(!mQsExpansionEnabled && open ? 0f : velocity, open && mQsExpansionEnabled,
1433 // If we move in the opposite direction, reset velocity and use a different duration.
/frameworks/base/core/java/android/widget/
H A DAbsListView.java4079 // Fling if we have enough velocity and we aren't at a boundary.
4247 * Initiate a fling with the given velocity.
4252 * @param velocityY Vertical velocity in pixels per second. Note that this is velocity of
4253 * content, not velocity of a touch that initiated the fling.
4817 int velocity = (int) scroller.getCurrVelocity();
4818 if (crossUp) velocity = -velocity;
4822 start(velocity);
4851 * Sets a scale factor for the fling velocity
[all...]
/frameworks/support/core-ui/java/android/support/v4/widget/
H A DSlidingPaneLayout.java112 * Minimum velocity that will be detected as a fling
1025 * @param velocity initial velocity in case of fling, or 0.
1027 boolean smoothSlideTo(float slideOffset, int velocity) { argument
/frameworks/base/core/java/com/android/internal/widget/
H A DRecyclerView.java1976 * Begin a standard fling with an initial velocity along each axis in pixels per second.
1977 * If the velocity given is below the system-defined minimum this method will return false
1980 * @param velocityX Initial horizontal velocity in pixels per second
1981 * @param velocityY Initial vertical velocity in pixels per second
1982 * @return true if the fling was started, false if the velocity was too low to fling or
2008 // If we don't have any velocity, return false
2050 * Returns the minimum velocity to start a fling.
2052 * @return The minimum velocity to start a fling
2060 * Returns the maximum fling velocity used by this RecyclerView.
2062 * @return The maximum fling velocity use
[all...]
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DRecyclerView.java2106 * Begin a standard fling with an initial velocity along each axis in pixels per second.
2107 * If the velocity given is below the system-defined minimum this method will return false
2110 * @param velocityX Initial horizontal velocity in pixels per second
2111 * @param velocityY Initial vertical velocity in pixels per second
2112 * @return true if the fling was started, false if the velocity was too low to fling or
2138 // If we don't have any velocity, return false
2189 * Returns the minimum velocity to start a fling.
2191 * @return The minimum velocity to start a fling
2199 * Returns the maximum fling velocity used by this RecyclerView.
2201 * @return The maximum fling velocity use
[all...]

Completed in 435 milliseconds

123