/external/libgdx/gdx/src/com/badlogic/gdx/scenes/scene2d/actions/ |
ScaleToAction.java | 23 private float endX, endY;
31 target.setScale(startX + (endX - startX) * percent, startY + (endY - startY) * percent);
35 endX = x;
40 endX = scale;
45 return endX;
49 this.endX = x;
|
MoveToAction.java | 25 private float endX, endY;
34 target.setPosition(startX + (endX - startX) * percent, startY + (endY - startY) * percent, alignment);
43 endX = x;
48 endX = x;
54 return endX;
58 endX = x;
|
/packages/apps/TV/common/src/com/android/tv/common/ui/setup/animation/ |
TranslationAnimationCreator.java | 31 * @param endX The end translation x of view 33 * @return An animator that moves from (startX, startY) to (endX, endY) unless there was a 34 * previous interruption, in which case it moves from the current position to (endX, 38 float endX, TimeInterpolator interpolator, Transition transition) { 49 if (startX == endX) { 54 path.lineTo(endX, 0);
|
/external/pdfium/xfa/src/fxbarcode/pdf417/ |
BC_PDF417Codeword.h | 11 CBC_Codeword(int32_t startX, int32_t endX, int32_t bucket, int32_t value);
|
BC_PDF417Codeword.cpp | 27 int32_t endX,
31 m_endX = endX;
|
/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 | 66 int endX = (Integer) endValues.values.get(PROPNAME_SCROLL_X); 71 if (startX != endX) { 73 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);
|
ArcMotion.java | 180 public Path getPath(float startX, float startY, float endX, float endY) { 203 ex = (startX + endX) / 2; 204 ey = startY + mMinimumHorizontalTangent * Math.abs(endX - startX) / 2; 205 } else if (startX == endX) { 209 float deltaX = endX - startX; 215 float dx = (startX + endX) / 2; 236 ex = endX; 245 ex = endX - eDistX; 276 float controlX2 = (ex + endX) / 2; 278 path.cubicTo(controlX1, controlY1, controlX2, controlY2, endX, endY) [all...] |
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;
|
/external/libgdx/extensions/gdx-tools/src/com/badlogic/gdx/tools/texturepacker/ |
ImageProcessor.java | 276 int endX = getSplitPoint(raster, name, startX, 0, false, true); 281 getSplitPoint(raster, name, endX + 1, 0, true, true); 285 if (startX == 0 && endX == 0 && startY == 0 && endY == 0) return null; 290 endX = raster.getWidth() - 2 - (endX - 1); 293 endX = raster.getWidth() - 2; 305 endX = (int)Math.round(endX * scale); 310 return new int[] {startX, endX, startY, endY}; 325 int endX = 0 [all...] |
/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...] |
/frameworks/base/tools/layoutlib/bridge/tests/res/testApp/MyApplication/src/main/res/color/ |
gradient.xml | 21 android:endX="50"
|
/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...] |
/external/libgdx/gdx/src/com/badlogic/gdx/math/ |
Bresenham2.java | 48 * @param endX the end x coordinate of the line
51 public Array<GridPoint2> line (int startX, int startY, int endX, int endY) {
54 return line(startX, startY, endX, endY, pool, points);
60 * @param endX the end x coordinate of the line
65 public Array<GridPoint2> line (int startX, int startY, int endX, int endY, Pool<GridPoint2> pool, Array<GridPoint2> output) {
67 int w = endX - startX;
|
/frameworks/support/v17/leanback/api21/android/support/v17/leanback/transition/ |
TranslationAnimationCreator.java | 33 * @param endX The end translation x of view 36 * @return An animator that moves from (startX, startY) to (endX, endY) unless there was 37 * a previous interruption, in which case it moves from the current position to (endX, endY). 40 float startX, float startY, float endX, float endY, TimeInterpolator interpolator, 55 if (startX == endX && startY == endY) { 60 path.lineTo(endX, endY);
|
/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);
|
/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),
|
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/superkoalio/ |
SuperKoalio.java | 201 int startX, startY, endX, endY;
203 startX = endX = (int)(koala.position.x + Koala.WIDTH + koala.velocity.x);
205 startX = endX = (int)(koala.position.x + koala.velocity.x);
209 getTiles(startX, startY, endX, endY, tiles);
227 endX = (int)(koala.position.x + Koala.WIDTH);
228 getTiles(startX, startY, endX, endY, tiles);
261 private boolean isTouched (float startX, float endX) {
262 // Check for touch inputs between startX and endX
263 // startX/endX are given between 0 (left edge of the screen) and 1 (right edge of the screen)
266 if (Gdx.input.isTouched(i) && (x >= startX && x <= endX)) {
[all...] |