/frameworks/base/core/java/android/transition/ |
PathMotion.java | 48 * <code>(endX, endY)</code>. This allows controlled curved motion along two dimensions. 52 * @param endX The x coordinate of the ending point. 56 * {@link android.graphics.Path#moveTo(float, float)} and end at <code>(endX, endY)</code>. 58 public abstract Path getPath(float startX, float startY, float endX, float endY);
|
Explode.java | 86 float endX = view.getTranslationX(); 89 float startX = endX + mTempLoc[0]; 93 startX, startY, endX, endY, sDecelerate, this); 107 float endX = startX; 113 endX += interruptedPosition[0] - bounds.left; 118 endX += mTempLoc[0]; 122 viewPosX, viewPosY, startX, startY, endX, endY, sAccelerate, this);
|
ChangeScroll.java | 74 int endX = (Integer) endValues.values.get(PROPNAME_SCROLL_X); 79 if (startX != endX) { 81 scrollXAnimator = ObjectAnimator.ofInt(view, "scrollX", startX, endX);
|
TranslationAnimationCreator.java | 45 * @param endX The end translation x of view 48 * @return An animator that moves from (startX, startY) to (endX, endY) unless there was 49 * a previous interruption, in which case it moves from the current position to (endX, endY). 52 float startX, float startY, float endX, float endY, TimeInterpolator interpolator, 67 if (startX == endX && startY == endY) { 72 path.lineTo(endX, endY);
|
PatternPathMotion.java | 107 float endX = pos[0]; 113 if (startX == endX && startY == endY) { 118 float dx = endX - startX; 130 public Path getPath(float startX, float startY, float endX, float endY) { 131 double dx = endX - startX;
|
/frameworks/layoutlib/bridge/tests/res/testApp/MyApplication/src/main/res/color/ |
complex_gradient.xml | 4 android:endX="200"
|
gradient.xml | 21 android:endX="-10"
|
/frameworks/support/transition/src/main/java/androidx/transition/ |
PathMotion.java | 51 * <code>(endX, endY)</code>. This allows controlled curved motion along two dimensions. 55 * @param endX The x coordinate of the ending point. 59 * {@link android.graphics.Path#moveTo(float, float)} and end at <code>(endX, endY)</code>. 61 public abstract Path getPath(float startX, float startY, float endX, float endY);
|
Explode.java | 88 float endX = view.getTranslationX(); 91 float startX = endX + mTempLoc[0]; 95 startX, startY, endX, endY, sDecelerate); 109 float endX = startX; 115 endX += interruptedPosition[0] - bounds.left; 120 endX += mTempLoc[0]; 124 viewPosX, viewPosY, startX, startY, endX, endY, sAccelerate);
|
ChangeScroll.java | 80 int endX = (Integer) endValues.values.get(PROPNAME_SCROLL_X); 85 if (startX != endX) { 87 scrollXAnimator = ObjectAnimator.ofInt(view, "scrollX", startX, endX);
|
TranslationAnimationCreator.java | 43 * @param endX The end translation x of view 46 * @return An animator that moves from (startX, startY) to (endX, endY) unless there was 47 * a previous interruption, in which case it moves from the current position to (endX, endY). 50 float startX, float startY, float endX, float endY, TimeInterpolator interpolator) { 64 if (startX == endX && startY == endY) { 68 PropertyValuesHolder.ofFloat(View.TRANSLATION_X, startX, endX),
|
PatternPathMotion.java | 108 float endX = pos[0]; 114 if (startX == endX && startY == endY) { 119 float dx = endX - startX; 131 public Path getPath(float startX, float startY, float endX, float endY) { 132 float dx = endX - startX;
|
/packages/apps/Camera2/jni/ |
jpegutil.h | 202 // The line is defined by (startX, startY) -> (endX, endY), computed via the 208 int endX; 210 transform_.Map(output_width - 1, y, &endX, &endY); 212 // Clamp (startX, startY) and (endX, endY) to the valid bounds of the plane. 215 endX = min(endX, plane_.width - 1); 219 endX = max(endX, 0); 225 int dx = sgn(endX - startX); 230 // The index into plane_.data of (endX, endY [all...] |
/external/llvm/utils/LLVMVisualizers/ |
llvm.natvis | 13 <DisplayString Condition="(($T1*)EndX - ($T1*)BeginX) == 0">empty</DisplayString>
14 <DisplayString Condition="(($T1*)EndX - ($T1*)BeginX) != 0">{{ size={($T1*)EndX - ($T1*)BeginX} }}</DisplayString>
16 <Item Name="[size]">($T1*)EndX - ($T1*)BeginX</Item>
19 <Size>($T1*)EndX - ($T1*)BeginX</Size>
26 <DisplayString IncludeView ="elt0" Condition="(($T1*)EndX - ($T1*)BeginX) == 0"></DisplayString>
28 <DisplayString IncludeView ="elt1" Condition="(($T1*)EndX - ($T1*)BeginX) == 1"></DisplayString>
30 <DisplayString IncludeView ="elt2" Condition="(($T1*)EndX - ($T1*)BeginX) == 2"></DisplayString>
32 <DisplayString IncludeView ="elt3" Condition="(($T1*)EndX - ($T1*)BeginX) == 3"></DisplayString>
34 <DisplayString IncludeView ="elt4" Condition="(($T1*)EndX - ($T1*)BeginX) == 4"></DisplayString> [all...] |
/development/samples/devbytes/animation/ListViewItemAnimations/src/com/example/android/listviewitemanimations/ |
ListViewItemAnimations.java | 150 float endX; 155 endX = deltaX < 0 ? -v.getWidth() : v.getWidth(); 160 endX = 0; 165 animateSwipe(v, endX, duration, remove); 185 private void animateSwipe(final View view, float endX, long duration, final boolean remove) { 190 alpha(remove ? 0 : 1).translationX(endX). 209 TranslateAnimation swipeAnim = new TranslateAnimation(mCurrentX, endX, 0, 0); 327 private void moveView(View view, float startX, float endX, float startY, float endY, 332 if (startX != endX) { 333 ObjectAnimator anim = ObjectAnimator.ofFloat(view, View.TRANSLATION_X, startX, endX); [all...] |
/frameworks/support/leanback/api21/androidx/leanback/transition/ |
TranslationAnimationCreator.java | 39 * @param endX The end translation x of view 42 * @return An animator that moves from (startX, startY) to (endX, endY) unless there was 43 * a previous interruption, in which case it moves from the current position to (endX, endY). 46 float startX, float startY, float endX, float endY, TimeInterpolator interpolator, 61 if (startX == endX && startY == endY) { 66 path.lineTo(endX, endY);
|
/packages/apps/TV/common/src/com/android/tv/common/ui/setup/animation/ |
TranslationAnimationCreator.java | 44 * @param endX The end translation x of view 46 * @return An animator that moves from (startX, startY) to (endX, endY) unless there was a 47 * previous interruption, in which case it moves from the current position to (endX, endY). 54 float endX, 67 if (startX == endX) { 72 path.lineTo(endX, 0);
|
/external/droiddriver/src/io/appium/droiddriver/actions/ |
SwipeAction.java | 157 int endX; 164 endX = elementRect.centerX(); 170 endX = elementRect.centerX(); 176 endX = adjustedRight; 182 endX = adjustedLeft; 189 double xStep = ((double) (endX - startX)) / steps; 206 Events.touchUp(injector, downTime, endX, endY);
|
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/ui/automation/ |
Interaction.java | 57 float endX, float endY, long duration) { 58 return new Interaction(Interaction.Type.FLING, new float[]{startX, endX}, 120 float endX = xPos[i]; 122 float stepX = (endX - startX) / STEP_COUNT; 135 startX = endX;
|
/developers/build/prebuilts/gradle/BatchStepSensor/Application/src/main/java/com/example/android/batchstepsensor/cardstream/ |
DefaultCardStreamAnimator.java | 100 float endX; 108 endX = deltaX < 0 ? -view.getWidth() : view.getWidth(); 117 PropertyValuesHolder.ofFloat("translationX", endX),
|
/developers/build/prebuilts/gradle/Notifications/Wearable/src/main/java/com/example/android/support/wearable/notifications/ |
AnimatedNotificationDisplayActivity.java | 73 float endX = -mRandom.nextInt(mAnimationRange); 75 float distance = (float) Math.sqrt(Math.pow(endX - startX, 2) + Math.pow(endY - startY, 2)); 78 PropertyValuesHolder.ofFloat("translationX", startX, endX),
|
/developers/build/templates/CardStream/_MODULE_/src/template/java/_PACKAGE_/cardstream/ |
DefaultCardStreamAnimator.java.ftl | 100 float endX; 108 endX = deltaX < 0 ? -view.getWidth() : view.getWidth(); 117 PropertyValuesHolder.ofFloat("translationX", endX),
|
/developers/samples/android/wearable/wear/Notifications/Wearable/src/main/java/com/example/android/support/wearable/notifications/ |
AnimatedNotificationDisplayActivity.java | 73 float endX = -mRandom.nextInt(mAnimationRange); 75 float distance = (float) Math.sqrt(Math.pow(endX - startX, 2) + Math.pow(endY - startY, 2)); 78 PropertyValuesHolder.ofFloat("translationX", startX, endX),
|
/development/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/cardstream/ |
DefaultCardStreamAnimator.java | 100 float endX; 108 endX = deltaX < 0 ? -view.getWidth() : view.getWidth(); 117 PropertyValuesHolder.ofFloat("translationX", endX),
|
/development/samples/browseable/Notifications/Wearable/src/com.example.android.support.wearable.notifications/ |
AnimatedNotificationDisplayActivity.java | 73 float endX = -mRandom.nextInt(mAnimationRange); 75 float distance = (float) Math.sqrt(Math.pow(endX - startX, 2) + Math.pow(endY - startY, 2)); 78 PropertyValuesHolder.ofFloat("translationX", startX, endX),
|