HomeSort by relevance Sort by last modified time
    Searched refs:xvel (Results 1 - 25 of 36) sorted by null

1 2

  /external/chromium_org/ui/events/gesture_detection/
velocity_tracker.cc 177 float xpos, xvel, xaccel;
753 state.xvel = 0;
774 float xvel = (xpos - state.xpos) / dt; local
777 state.xvel = xvel;
783 state.xvel += (xvel - state.xvel) * alpha;
786 float xaccel = (xvel - state.xvel) / dt
    [all...]
  /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);
  /external/chromium_org/ui/gfx/android/
scroller.h 96 bool IsScrollingInDirection(float xvel, float yvel) const;
scroller.cc 401 bool Scroller::IsScrollingInDirection(float xvel, float yvel) const {
402 return !finished_ && Signum(xvel) == Signum(delta_x_) &&
  /packages/apps/Dialer/src/com/android/dialer/widget/
ViewDragHelper.java 203 * @param xvel X velocity of the pointer as it left the screen in pixels per second.
206 public void onViewReleased(View releasedChild, float xvel, float yvel) {}
215 * @param xvel X velocity of the fling.
218 public void onViewFling(View releasedChild, float xvel, float yvel) {}
579 * @param xvel Horizontal velocity
583 private boolean forceSettleCapturedViewAt(int finalLeft, int finalTop, int xvel, int yvel) {
596 final int duration = computeSettleDuration(mCapturedView, dx, dy, xvel, yvel);
604 private int computeSettleDuration(View child, int dx, int dy, int xvel, int yvel) {
605 xvel = clampMag(xvel, (int) mMinVelocity, (int) mMaxVelocity)
    [all...]
OverlappingPaneLayout.java     [all...]
  /frameworks/support/v4/java/android/support/v4/widget/
ViewDragHelper.java 198 * @param xvel X velocity of the pointer as it left the screen in pixels per second.
201 public void onViewReleased(View releasedChild, float xvel, float yvel) {}
579 * @param xvel Horizontal velocity
583 private boolean forceSettleCapturedViewAt(int finalLeft, int finalTop, int xvel, int yvel) {
596 final int duration = computeSettleDuration(mCapturedView, dx, dy, xvel, yvel);
603 private int computeSettleDuration(View child, int dx, int dy, int xvel, int yvel) {
604 xvel = clampMag(xvel, (int) mMinVelocity, (int) mMaxVelocity);
608 final int absXVel = Math.abs(xvel);
613 final float xweight = xvel != 0 ? (float) absXVel / addedVel
1387 final float xvel = clampMag( local
    [all...]
SlidingPaneLayout.java     [all...]
DrawerLayout.java     [all...]
  /frameworks/native/libs/input/
VelocityTracker.cpp 746 state.xvel = 0;
765 float xvel = (xpos - state.xpos) / dt; local
768 state.xvel = xvel;
774 state.xvel += (xvel - state.xvel) * alpha;
777 float xaccel = (xvel - state.xvel) / dt;
787 state.xvel += (state.xaccel * dt) * alpha
    [all...]
  /packages/apps/Camera/src/com/android/camera/ui/
Switch.java 311 float xvel = mVelocityTracker.getXVelocity(); local
312 if (Math.abs(xvel) > mMinFlingVelocity) {
313 newState = xvel > 0;
  /packages/apps/Camera2/src/com/android/camera/ui/
Switch.java 302 float xvel = mVelocityTracker.getXVelocity(); local
303 if (Math.abs(xvel) > mMinFlingVelocity) {
304 newState = xvel > 0;
  /frameworks/native/include/input/
VelocityTracker.h 215 float xpos, xvel, xaccel; member in struct:android::IntegratingVelocityTrackerStrategy::State
  /packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
Scroller.java 503 public boolean isScrollingInDirection(float xvel, float yvel) {
504 return !mFinished && Math.signum(xvel) == Math.signum(mFinalX - mStartX) &&
OverScroller.java 535 public boolean isScrollingInDirection(float xvel, float yvel) {
538 return !isFinished() && Math.signum(xvel) == Math.signum(dx) &&
    [all...]
  /frameworks/base/core/java/android/widget/
Scroller.java 557 public boolean isScrollingInDirection(float xvel, float yvel) {
558 return !mFinished && Math.signum(xvel) == Math.signum(mFinalX - mStartX) &&
Switch.java 809 final float xvel = mVelocityTracker.getXVelocity(); local
810 if (Math.abs(xvel) > mMinFlingVelocity) {
811 newState = isLayoutRtl() ? (xvel < 0) : (xvel > 0);
    [all...]
OverScroller.java 534 public boolean isScrollingInDirection(float xvel, float yvel) {
537 return !isFinished() && Math.signum(xvel) == Math.signum(dx) &&
    [all...]
  /packages/apps/Launcher3/src/com/android/launcher3/
LauncherScroller.java 555 public boolean isScrollingInDirection(float xvel, float yvel) {
556 return !mFinished && Math.signum(xvel) == Math.signum(mFinalX - mStartX) &&
  /frameworks/support/v7/appcompat/src/android/support/v7/widget/
SwitchCompat.java 691 final float xvel = mVelocityTracker.getXVelocity(); local
692 if (Math.abs(xvel) > mMinFlingVelocity) {
693 newState = ViewUtils.isLayoutRtl(this) ? (xvel < 0) : (xvel > 0);
    [all...]
  /packages/apps/DeskClock/src/com/android/deskclock/widget/sgv/
OverScrollerSGV.java 537 public boolean isScrollingInDirection(float xvel, float yvel) {
540 return !isFinished() && Math.signum(xvel) == Math.signum(dx) &&
    [all...]
  /prebuilts/maven_repo/android/com/android/support/support-v4/13.0.0/
support-v4-13.0.0.jar 
  /developers/build/prebuilts/gradle/SwipeRefreshListFragment/Application/libs/
android-support-v4.jar 

Completed in 893 milliseconds

1 2