/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 | 92 float deltaX = x - mDownX; 95 if (!mSwiping && isSwiping(deltaX, deltaY)) { 99 swipeView(v, deltaX, deltaY); 109 float deltaX = x - mDownX; 111 float deltaXAbs = Math.abs(deltaX); 116 handleViewSwipingOut(v, deltaX, deltaY); 118 handleViewSwipingIn(v, deltaX, deltaY); 272 protected boolean isSwiping(float deltaX, float deltaY) { in isSwiping() argument 280 float absDeltaX = Math.abs(deltaX); in isSwiping() 296 protected void swipeView(View child, float deltaX, float deltaY) { in swipeView() argument [all …]
|
D | DefaultCardStreamAnimator.java | 77 public ObjectAnimator getSwipeInAnimator(View view, float deltaX, float deltaY){ in getSwipeInAnimator() argument 79 float deltaXAbs = Math.abs(deltaX); in getSwipeInAnimator() 98 public ObjectAnimator getSwipeOutAnimator(View view, float deltaX, float deltaY){ in getSwipeOutAnimator() argument 103 float deltaXAbs = Math.abs(deltaX); in getSwipeOutAnimator() 108 endX = deltaX < 0 ? -view.getWidth() : view.getWidth(); in getSwipeOutAnimator() 109 if (deltaX > 0) in getSwipeOutAnimator()
|
/development/samples/devbytes/animation/ListViewItemAnimations/src/com/example/android/listviewitemanimations/ |
D | ListViewItemAnimations.java | 122 float deltaX = x - mDownX; 123 float deltaXAbs = Math.abs(deltaX); 132 setSwipePosition(v, deltaX); 147 float deltaX = x - mDownX; 148 float deltaXAbs = Math.abs(deltaX); 155 endX = deltaX < 0 ? -v.getWidth() : v.getWidth(); 238 private void setSwipePosition(View view, float deltaX) { in setSwipePosition() argument 239 float fraction = Math.abs(deltaX) / view.getWidth(); in setSwipePosition() 241 view.setTranslationX(deltaX); in setSwipePosition() 245 TranslateAnimation swipeAnim = new TranslateAnimation(deltaX, deltaX, 0, 0); in setSwipePosition() [all …]
|
/development/samples/devbytes/animation/CurvedMotion/src/com/example/android/curvedmotion/ |
D | CurvedMotion.java | 71 int deltaX = left - oldLeft; 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/ListViewRemovalAnimation/src/com/example/android/listviewremovalanimation/ |
D | ListViewRemovalAnimation.java | 98 float deltaX = x - mDownX; 99 float deltaXAbs = Math.abs(deltaX); 118 float deltaX = x - mDownX; 119 float deltaXAbs = Math.abs(deltaX); 127 endX = deltaX < 0 ? -v.getWidth() : v.getWidth();
|
/development/samples/devbytes/animation/ToonGame/src/com/example/android/toongame/ |
D | PlayerSetupActivity.java | 165 float deltaX = oldLocationInWindow[0] - locationInWindow[0]; in buttonClick() 168 buttonCopy.setTranslationX(deltaX); 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 363 mCurX = Math.max(Math.min(mCurX + deltaX, curW - 1), 0); in moveTrackball()
|
/development/samples/training/InteractiveChart/libs/ |
D | android-support-v4.jar | META-INF/
META-INF/MANIFEST.MF
android/
android/support/
android/ ... |
/development/samples/training/EffectiveNavigation/libs/ |
D | android-support-v4.jar | META-INF/
META-INF/MANIFEST.MF
android/
android/support/
android/ ... |
/development/samples/training/ContactsList/libs/ |
D | android-support-v4.jar | META-INF/
META-INF/MANIFEST.MF
android/
android/support/
android/ ... |
/development/samples/ControllerSample/libs/ |
D | android-support-v4.jar | META-INF/
META-INF/MANIFEST.MF
android/
android/support/
android/ ... |
/development/samples/training/basic/ActivityLifecycle/libs/ |
D | android-support-v13.jar | META-INF/
META-INF/MANIFEST.MF
android/
android/support/
android/ ... |
/development/samples/training/NavigationDrawer/libs/ |
D | android-support-v4.jar | META-INF/
META-INF/MANIFEST.MF
android/
android/support/
android/ ... |
/development/samples/training/basic/FragmentBasics/libs/ |
D | android-support-v4.jar | META-INF/
META-INF/MANIFEST.MF
android/
android/support/
android/ ... |
/development/samples/training/location-aware/libs/ |
D | android-support-v4.jar | META-INF/
META-INF/MANIFEST.MF
android/
android/support/
android/ ... |
/development/samples/training/AnimationsDemo/libs/ |
D | android-support-v13.jar | META-INF/
META-INF/MANIFEST.MF
android/
android/support/
android/ ... |
/development/samples/training/multiscreen/newsreader/libs/ |
D | android-support-v4.jar | META-INF/
META-INF/MANIFEST.MF
android/
android/support/
android/ ... |