Searched refs:deltaY (Results 1 – 7 of 7) sorted by relevance
/development/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/cardstream/ |
D | CardStreamAnimator.java | 73 public abstract ObjectAnimator getSwipeInAnimator(View view, float deltaX, float deltaY); in getSwipeInAnimator() argument 84 public abstract ObjectAnimator getSwipeOutAnimator(View view, float deltaX, float deltaY); in getSwipeOutAnimator() argument 107 public ObjectAnimator getSwipeInAnimator(View view, float deltaX, float deltaY) { in getSwipeInAnimator() argument 112 public ObjectAnimator getSwipeOutAnimator(View view, float deltaX, float deltaY) { in getSwipeOutAnimator() argument
|
D | CardStreamLinearLayout.java | 93 float deltaY = y - mDownY; 95 if (!mSwiping && isSwiping(deltaX, deltaY)) { 99 swipeView(v, deltaX, deltaY); 110 float deltaY = y - mDownX; 116 handleViewSwipingOut(v, deltaX, deltaY); 118 handleViewSwipingIn(v, deltaX, deltaY); 272 protected boolean isSwiping(float deltaX, float deltaY) { in isSwiping() argument 296 protected void swipeView(View child, float deltaX, float deltaY) { in swipeView() argument 486 private void handleViewSwipingOut(final View child, float deltaX, float deltaY) { in handleViewSwipingOut() argument 487 ObjectAnimator animator = mAnimators.getSwipeOutAnimator(child, deltaX, deltaY); in handleViewSwipingOut() [all …]
|
D | DefaultCardStreamAnimator.java | 77 public ObjectAnimator getSwipeInAnimator(View view, float deltaX, float deltaY){ in getSwipeInAnimator() argument 98 public ObjectAnimator getSwipeOutAnimator(View view, float deltaX, float deltaY){ in getSwipeOutAnimator() argument
|
/development/samples/devbytes/animation/CurvedMotion/src/com/example/android/curvedmotion/ |
D | CurvedMotion.java | 72 int deltaY = top - oldTop; in onCreate() 76 path.moveTo(-deltaX, -deltaY); in onCreate() 77 path.curveTo(-(deltaX/2), -deltaY, 0, -deltaY/2, 0, 0); in onCreate()
|
/development/samples/devbytes/animation/ListViewDraggingAnimation/src/com/example/android/listviewdragginganimation/ |
D | DynamicListView.java | 263 int deltaY = mLastEventY - mDownY; in onTouchEvent() local 267 mHoverCellOriginalBounds.top + deltaY + mTotalOffset); in onTouchEvent() 314 final int deltaY = mLastEventY - mDownY; in handleCellSwitch() local 315 int deltaYTotal = mHoverCellOriginalBounds.top + mTotalOffset + deltaY; in handleCellSwitch() 355 mTotalOffset += deltaY; in handleCellSwitch()
|
/development/samples/devbytes/animation/ToonGame/src/com/example/android/toongame/ |
D | PlayerSetupActivity.java | 166 float deltaY = oldLocationInWindow[1] - locationInWindow[1]; in buttonClick() 169 buttonCopy.setTranslationY(deltaY); in buttonClick()
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
D | TouchPaint.java | 359 private void moveTrackball(float deltaX, float deltaY) { in moveTrackball() argument 364 mCurY = Math.max(Math.min(mCurY + deltaY, curH - 1), 0); in moveTrackball()
|