Home
last modified time | relevance | path

Searched defs:velocity (Results 1 – 24 of 24) sorted by relevance

/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DOverScroller.java659 static private float getDeceleration(int velocity) { in getDeceleration()
734 private void startSpringback(int start, int end, int velocity) { in startSpringback()
748 void fling(int start, int velocity, int min, int max, int over) { in fling()
784 private double getSplineDeceleration(int velocity) { in getSplineDeceleration()
788 private double getSplineFlingDistance(int velocity) { in getSplineFlingDistance()
795 private int getSplineFlingDuration(int velocity) { in getSplineFlingDuration()
801 private void fitOnBounceCurve(int start, int end, int velocity) { in fitOnBounceCurve()
813 private void startBounceAfterEdge(int start, int end, int velocity) { in startBounceAfterEdge()
819 private void startAfterEdge(int start, int min, int max, int velocity) { in startAfterEdge()
DScroller.java391 float velocity = (float) Math.hypot(velocityX, velocityY); in fling() local
/packages/apps/Launcher2/src/com/android/launcher2/
DSmoothPagedView.java119 protected void snapToPageWithVelocity(int whichPage, int velocity) { in snapToPageWithVelocity()
127 private void snapToPageWithVelocity(int whichPage, int velocity, boolean settle) { in snapToPageWithVelocity()
DDeleteDropTarget.java275 float velocity = Math.abs(vel.length()); in createFlingToTrashAnimatorListener() local
DPagedView.java1517 protected void snapToPageWithVelocity(int whichPage, int velocity) { in snapToPageWithVelocity()
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherScroller.java428 float velocity = (float) Math.hypot(velocityX, velocityY); in fling() local
458 private double getSplineDeceleration(float velocity) { in getSplineDeceleration()
462 private int getSplineFlingDuration(float velocity) { in getSplineFlingDuration()
468 private double getSplineFlingDistance(float velocity) { in getSplineFlingDistance()
DPagedView.java2014 protected void snapToPageWithVelocity(int whichPage, int velocity) { in snapToPageWithVelocity()
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DSwipeHelper.java266 private void dismissChild(final SwipeableItemView view, float velocity) { in dismissChild()
293 private static int determineDuration(View animView, float newPos, float velocity) { in determineDuration()
306 private float determinePos(View animView, float velocity) { in determinePos()
406 float velocity = getVelocity(mVelocityTracker); in onTouchEvent() local
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DPaper.java45 public void edgeReached(float velocity) { in edgeReached()
145 public void onAbsorb(float velocity) { in onAbsorb()
DScrollerHelper.java74 public void fling(int velocity, int min, int max) { in fling()
DEdgeView.java126 public void onAbsorb(int velocity, int direction) { in onAbsorb()
DFlingScroller.java85 double velocity = Math.hypot(velocityX, velocityY); in fling() local
DEdgeEffect.java264 public void onAbsorb(int velocity) { in onAbsorb()
DSlotView.java663 float velocity = WIDE ? velocityX : velocityY; in onFling() local
DPositionController.java197 void onAbsorb(int velocity, int direction); in onAbsorb()
/packages/apps/Camera2/src/com/android/camera/filmstrip/
DFilmstripController.java102 public void fling(float velocity); in fling()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DLauncherEdgeEffect.java238 public void onAbsorb(int velocity) { in onAbsorb()
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
DMediaPickerPanel.java476 final float velocity = maxAbsDelta / dt; in shouldAllowRecaptureTouch() local
/packages/apps/Messaging/src/com/android/messaging/ui/conversationlist/
DConversationListSwipeHelper.java430 private long calculateTranslationDuration(final float deltaPosition, final float velocity) { in calculateTranslationDuration()
/packages/apps/Contacts/src/com/android/contacts/widget/
DMultiShrinkScroller.java596 final float velocity = getCurrentVelocity(); in stopDrag() local
944 private void fling(float velocity) { in fling()
/packages/apps/Camera2/src/com/android/camera/ui/
DModeListView.java1880 private Animator animateListToWidthAtVelocity(float velocity, int width) { in animateListToWidthAtVelocity()
1926 float velocity = (1 - percentageIntoSlowZone) * VELOCITY_THRESHOLD; in getMaxMovementBasedOnPosition() local
/packages/apps/Gallery2/src/com/android/photos/views/
DGalleryThumbnailView.java366 final float velocity = VelocityTrackerCompat.getXVelocity(mVelocityTracker, in onTouchEvent() local
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
DScrollController.java812 float velocity = mFlingScroller.getCurrVelocity(); in startScroll() local
/packages/apps/Calendar/src/com/android/calendar/
DDayView.java1818 private View switchViews(boolean forward, float xOffSet, float width, float velocity) { in switchViews()
4994 private long calculateDuration(float delta, float width, float velocity) { in calculateDuration()