Home
last modified time | relevance | path

Searched refs:deltaY (Results 1 – 12 of 12) sorted by relevance

/development/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/cardstream/
DCardStreamAnimator.java73 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
DCardStreamLinearLayout.java93 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 …]
DDefaultCardStreamAnimator.java77 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/
DCurvedMotion.java72 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/
DDynamicListView.java263 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/
DPlayerSetupActivity.java166 float deltaY = oldLocationInWindow[1] - locationInWindow[1]; in buttonClick()
169 buttonCopy.setTranslationY(deltaY); in buttonClick()
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DTouchPaint.java359 private void moveTrackball(float deltaX, float deltaY) { in moveTrackball() argument
364 mCurY = Math.max(Math.min(mCurY + deltaY, curH - 1), 0); in moveTrackball()
/development/samples/training/InteractiveChart/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/ContactsList/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/ControllerSample/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/EffectiveNavigation/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/NavigationDrawer/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...