/development/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/cardstream/ |
D | CardStreamAnimator.java | 72 public abstract ObjectAnimator getSwipeInAnimator(View view, float deltaX, float deltaY); in getSwipeInAnimator() argument 83 public abstract ObjectAnimator getSwipeOutAnimator(View view, float deltaX, float deltaY); in getSwipeOutAnimator() argument 106 public ObjectAnimator getSwipeInAnimator(View view, float deltaX, float deltaY) { in getSwipeInAnimator() argument 111 public ObjectAnimator getSwipeOutAnimator(View view, float deltaX, float deltaY) { in getSwipeOutAnimator() argument
|
D | CardStreamLinearLayout.java | 92 float deltaY = y - mDownY; 94 if (!mSwiping && isSwiping(deltaX, deltaY)) { 98 swipeView(v, deltaX, deltaY); 109 float deltaY = y - mDownX; 115 handleViewSwipingOut(v, deltaX, deltaY); 117 handleViewSwipingIn(v, deltaX, deltaY); 271 protected boolean isSwiping(float deltaX, float deltaY) { in isSwiping() argument 295 protected void swipeView(View child, float deltaX, float deltaY) { in swipeView() argument 485 private void handleViewSwipingOut(final View child, float deltaX, float deltaY) { in handleViewSwipingOut() argument 486 ObjectAnimator animator = mAnimators.getSwipeOutAnimator(child, deltaX, deltaY); in handleViewSwipingOut() [all …]
|
D | DefaultCardStreamAnimator.java | 76 public ObjectAnimator getSwipeInAnimator(View view, float deltaX, float deltaY){ in getSwipeInAnimator() argument 97 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/perftests/panorama/feature_mos/src/mosaic/ |
D | Blend.cpp | 1103 double deltaY = Y - m_wb.y; in FrameToMosaic() local 1104 double length = sqrt(deltaX * deltaX + deltaY * deltaY); in FrameToMosaic() 1113 double deltaY = Y - m_wb.y; in FrameToMosaic() local 1114 double length = sqrt(deltaX * deltaX + deltaY * deltaY); in FrameToMosaic() 1115 double deltaTheta = asin(deltaY / length); in FrameToMosaic() 1221 double deltaY = currY - prevY; in SelectRelevantFrames() local 1222 double center2centerDist = sqrt(deltaY * deltaY + deltaX * deltaX); in SelectRelevantFrames() 1225 fabs(deltaY) > STRIP_SEPARATION_THRESHOLD_PXLS) in SelectRelevantFrames() 1279 double deltaY = currY - prevY; in ComputeBlendParameters() local 1283 arcLength += sqrt(deltaY * deltaY + deltaX * deltaX); in ComputeBlendParameters() [all …]
|
/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()
|