Searched defs:deltaX (Results 1 - 16 of 16) sorted by relevance

/development/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/cardstream/
H A DDefaultCardStreamAnimator.java76 public ObjectAnimator getSwipeInAnimator(View view, float deltaX, float deltaY){ argument
78 float deltaXAbs = Math.abs(deltaX);
97 public ObjectAnimator getSwipeOutAnimator(View view, float deltaX, float deltaY){ argument
102 float deltaXAbs = Math.abs(deltaX);
107 endX = deltaX < 0 ? -view.getWidth() : view.getWidth();
108 if (deltaX > 0)
H A DCardStreamAnimator.java68 * @param deltaX delta distance by x-axis
72 public abstract ObjectAnimator getSwipeInAnimator(View view, float deltaX, float deltaY); argument
79 * @param deltaX delta distance by x-axis
83 public abstract ObjectAnimator getSwipeOutAnimator(View view, float deltaX, float deltaY); argument
106 public ObjectAnimator getSwipeInAnimator(View view, float deltaX, float deltaY) { argument
111 public ObjectAnimator getSwipeOutAnimator(View view, float deltaX, float deltaY) { argument
H A DCardStreamLinearLayout.java91 float deltaX = x - mDownX;
94 if (!mSwiping && isSwiping(deltaX, deltaY)) {
98 swipeView(v, deltaX, deltaY);
108 float deltaX = x - mDownX;
110 float deltaXAbs = Math.abs(deltaX);
115 handleViewSwipingOut(v, deltaX, deltaY);
117 handleViewSwipingIn(v, deltaX, deltaY);
267 * @param deltaX
271 protected boolean isSwiping(float deltaX, float deltaY) { argument
279 float absDeltaX = Math.abs(deltaX);
295 swipeView(View child, float deltaX, float deltaY) argument
485 handleViewSwipingOut(final View child, float deltaX, float deltaY) argument
506 handleViewSwipingIn(final View child, float deltaX, float deltaY) argument
[all...]
/development/samples/devbytes/animation/ListViewItemAnimations/src/com/example/android/listviewitemanimations/
H A DListViewItemAnimations.java122 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) { argument
239 float fraction = Math.abs(deltaX) / view.getWidth();
241 view.setTranslationX(deltaX);
245 TranslateAnimation swipeAnim = new TranslateAnimation(deltaX, delta
[all...]
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
H A DTouchPaint.java359 private void moveTrackball(float deltaX, float deltaY) { argument
363 mCurX = Math.max(Math.min(mCurX + deltaX, curW - 1), 0);
/development/perftests/panorama/feature_mos/src/mosaic/
H A DBlend.cpp1102 double deltaX = X - m_wb.x; local
1104 double length = sqrt(deltaX * deltaX + deltaY * deltaY);
1105 double deltaTheta = asin(deltaX / length);
1112 double deltaX = X - m_wb.x; local
1114 double length = sqrt(deltaX * deltaX + deltaY * deltaY);
1220 double deltaX = currX - prevX; local
1222 double center2centerDist = sqrt(deltaY * deltaY + deltaX * deltaX);
1278 double deltaX = currX - prevX; local
1384 double deltaX = prevX - m_wb.x; local
[all...]
/development/samples/training/InteractiveChart/libs/
H A Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/support/v4/ android/support/v4/app/ ...
/development/samples/training/basic/ActivityLifecycle/libs/
H A Dandroid-support-v13.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/support/v13/ android/support/v13/app/ ...
/development/samples/ControllerSample/libs/
H A Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/support/v4/ android/support/v4/accessibilityservice/ ...
/development/samples/training/ContactsList/libs/
H A Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/support/v4/ android/support/v4/accessibilityservice/ ...
/development/samples/training/EffectiveNavigation/libs/
H A Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/support/v4/ android/support/v4/accessibilityservice/ ...
/development/samples/training/NavigationDrawer/libs/
H A Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/support/v4/ android/support/v4/util/ ...
/development/samples/training/AnimationsDemo/libs/
H A Dandroid-support-v13.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/support/v13/ android/support/v13/app/ ...
/development/samples/training/basic/FragmentBasics/libs/
H A Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/support/v4/ android/support/v4/accessibilityservice/ ...
/development/samples/training/location-aware/libs/
H A Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/support/v4/ android/support/v4/accessibilityservice/ ...
/development/samples/training/multiscreen/newsreader/libs/
H A Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/support/v4/ android/support/v4/content/ ...

Completed in 214 milliseconds