Home
last modified time | relevance | path

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

/developers/build/prebuilts/gradle/BatchStepSensor/Application/src/main/java/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
/developers/build/templates/CardStream/_MODULE_/src/template/java/_PACKAGE_/cardstream/
DCardStreamAnimator.java.ftl70 * @param deltaY delta distance by y-axis
73 public abstract ObjectAnimator getSwipeInAnimator(View view, float deltaX, float deltaY);
81 * @param deltaY delta distance by y-axis
84 public abstract ObjectAnimator getSwipeOutAnimator(View view, float deltaX, float deltaY);
107 public ObjectAnimator getSwipeInAnimator(View view, float deltaX, float deltaY) {
112 public ObjectAnimator getSwipeOutAnimator(View view, float deltaX, float deltaY) {
DCardStreamLinearLayout.java.ftl93 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);
269 * @param deltaY
272 protected boolean isSwiping(float deltaX, float deltaY) {
293 * @param deltaY y moving distance by y-axis.
296 protected void swipeView(View child, float deltaX, float deltaY) {
[all …]
DDefaultCardStreamAnimator.java.ftl77 public ObjectAnimator getSwipeInAnimator(View view, float deltaX, float deltaY){
98 public ObjectAnimator getSwipeOutAnimator(View view, float deltaX, float deltaY){