/developers/build/prebuilts/gradle/ElevationDrag/Application/src/main/java/com/example/android/elevationdrag/ |
DragFrameLayout.java | 95 public void onViewReleased(View releasedChild, float xvel, float yvel) { 96 super.onViewReleased(releasedChild, xvel, yvel);
|
/developers/samples/android/ui/views/Elevation/ElevationDrag/Application/src/main/java/com/example/android/elevationdrag/ |
DragFrameLayout.java | 95 public void onViewReleased(View releasedChild, float xvel, float yvel) { 96 super.onViewReleased(releasedChild, xvel, yvel);
|
/development/samples/browseable/ElevationDrag/src/com.example.android.elevationdrag/ |
DragFrameLayout.java | 95 public void onViewReleased(View releasedChild, float xvel, float yvel) { 96 super.onViewReleased(releasedChild, xvel, yvel);
|
/frameworks/support/core-ui/java/android/support/v4/widget/ |
ViewDragHelper.java | 200 * @param yvel Y velocity of the pointer as it left the screen in pixels per second. 202 public void onViewReleased(View releasedChild, float xvel, float yvel) {} 583 * @param yvel Vertical velocity 586 private boolean forceSettleCapturedViewAt(int finalLeft, int finalTop, int xvel, int yvel) { 599 final int duration = computeSettleDuration(mCapturedView, dx, dy, xvel, yvel); 606 private int computeSettleDuration(View child, int dx, int dy, int xvel, int yvel) { 608 yvel = clampMag(yvel, (int) mMinVelocity, (int) mMaxVelocity); 612 final int absYVel = Math.abs(yvel); 618 final float yweight = yvel != 0 ? (float) absYVel / addedVel 1410 final float yvel = clampMag( local [all...] |
SlidingPaneLayout.java | [all...] |
/frameworks/native/libs/input/ |
VelocityTracker.cpp | 752 state.yvel = 0; 769 float yvel = (ypos - state.ypos) / dt; local 772 state.yvel = yvel; 778 state.yvel += (yvel - state.yvel) * alpha; 781 float yaccel = (yvel - state.yvel) / dt; 791 state.yvel += (state.yaccel * dt) * alpha [all...] |
/frameworks/support/design/src/android/support/design/widget/ |
BottomSheetBehavior.java | 588 boolean shouldHide(View child, float yvel) { 596 final float newTop = child.getTop() + yvel * HIDE_FRICTION; 671 public void onViewReleased(View releasedChild, float xvel, float yvel) { 674 if (yvel < 0) { // Moving up 677 } else if (mHideable && shouldHide(releasedChild, yvel)) { 680 } else if (yvel == 0.f) {
|
HeaderBehavior.java | 170 float yvel = VelocityTrackerCompat.getYVelocity(mVelocityTracker, local 172 fling(parent, child, -getScrollRangeForDragFling(child), 0, yvel);
|
SwipeDismissBehavior.java | 249 public void onViewReleased(View child, float xvel, float yvel) {
|
/frameworks/native/include/input/ |
VelocityTracker.h | 216 float ypos, yvel, yaccel; member in struct:android::IntegratingVelocityTrackerStrategy::State
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
Scroller.java | 502 public boolean isScrollingInDirection(float xvel, float yvel) { 504 Math.signum(yvel) == Math.signum(mFinalY - mStartY);
|
OverScroller.java | 532 public boolean isScrollingInDirection(float xvel, float yvel) { 536 Math.signum(yvel) == Math.signum(dy); [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
ResolverDrawerLayout.java | 363 final float yvel = mVelocityTracker.getYVelocity(mActivePointerId); local 364 if (Math.abs(yvel) > mMinFlingVelocity) { 366 && yvel > 0 && mCollapseOffset > mCollapsibleHeight) { 367 smoothScrollTo(mCollapsibleHeight + mUncollapsibleHeight, yvel); 370 smoothScrollTo(yvel < 0 ? 0 : mCollapsibleHeight, yvel); [all...] |
/frameworks/base/core/java/android/widget/ |
Scroller.java | 556 public boolean isScrollingInDirection(float xvel, float yvel) { 558 Math.signum(yvel) == Math.signum(mFinalY - mStartY);
|
OverScroller.java | 531 public boolean isScrollingInDirection(float xvel, float yvel) { 535 Math.signum(yvel) == Math.signum(dy); [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/ |
LauncherScroller.java | 554 public boolean isScrollingInDirection(float xvel, float yvel) { 556 Math.signum(yvel) == Math.signum(mFinalY - mStartY);
|
/prebuilts/maven_repo/android/com/android/support/support-v4/13.0.0/ |
support-v4-13.0.0.jar | |
/prebuilts/sdk/current/support/design/libs/ |
android-support-design.jar | |
/packages/services/Car/car-ui-provider/src/android/car/ui/provider/ |
CarDrawerLayout.java | [all...] |
/developers/build/prebuilts/gradle/SwipeRefreshListFragment/Application/libs/ |
android-support-v4.jar | |
/developers/samples/android/ui/views/SwipeRefreshLayout/SwipeRefreshListFragment/Application/libs/ |
android-support-v4.jar | |
/development/samples/training/NavigationDrawer/libs/ |
android-support-v4.jar | |
/external/libgdx/backends/gdx-backend-android/libs/ |
support-v4-19.0.1.jar | |
/prebuilts/maven_repo/android/com/android/support/support-v4/18.0.0/ |
support-v4-18.0.0.jar | |
/prebuilts/maven_repo/android/com/android/support/support-v4/19.0.0/ |
support-v4-19.0.0.jar | |