Home
last modified time | relevance | path

Searched refs:endX (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Launcher3/tests/tapl/com/android/launcher3/tapl/
DBackground.java93 final int endX; in goToOverviewUnchecked() local
99 startX = endX = mLauncher.getDevice().getDisplayWidth() / 2; in goToOverviewUnchecked()
104 endX = startX - swipeLength; in goToOverviewUnchecked()
108 mLauncher.swipeToState(startX, startY, endX, endY, 10, expectedState); in goToOverviewUnchecked()
143 final int endX; in quickSwitchToPreviousApp() local
149 endX = mLauncher.getDevice().getDisplayWidth(); in quickSwitchToPreviousApp()
155 endX = startX; in quickSwitchToPreviousApp()
158 mLauncher.swipeToState(startX, startY, endX, endY, 20, expectedState); in quickSwitchToPreviousApp()
DLauncherInstrumentation.java778 void swipeToState(int startX, int startY, int endX, int endY, int steps, int expectedState) { in swipeToState() argument
780 () -> linearGesture(startX, startY, endX, endY, steps), in swipeToState()
828 final int endX; in scroll() local
833 startX = endX = rect.centerX(); in scroll()
841 startX = endX = rect.centerX(); in scroll()
853 endX = (int) (horizCenter + halfGestureWidth); in scroll()
861 endX = (int) (horizCenter - halfGestureWidth); in scroll()
870 () -> linearGesture(startX, startY, endX, endY, steps), in scroll()
873 + ", " + endX + ", " + endY); in scroll()
878 void linearGesture(int startX, int startY, int endX, int endY, int steps) { in linearGesture() argument
[all …]
/packages/apps/Camera2/jni/
Djpegutil.h208 int endX; in LoadAt() local
210 transform_.Map(output_width - 1, y, &endX, &endY); in LoadAt()
215 endX = min(endX, plane_.width - 1); in LoadAt()
219 endX = max(endX, 0); in LoadAt()
225 int dx = sgn(endX - startX); in LoadAt()
231 int plane_end = endX * plane_.pixel_stride + endY * plane_.row_stride; in LoadAt()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/util/
DRectFSpringAnim.java152 float endX = mTargetRect.centerX(); local
153 float minXValue = Math.min(startX, endX);
154 float maxXValue = Math.max(startX, endX);
155 mRectXAnim = new FlingSpringAnim(this, RECT_CENTER_X, startX, endX,
/packages/apps/Messaging/src/com/android/messaging/ui/
DMultiAttachmentLayout.java85 public final int endX; field in MultiAttachmentLayout.Tile
88 private Tile(final int startX, final int startY, final int endX, final int endY) { in Tile() argument
91 this.endX = endX; in Tile()
96 return MeasureSpec.makeMeasureSpec((endX - startX + 1) * cellWidth - padding * 2, in getWidthMeasureSpec()
/packages/apps/TV/common/src/com/android/tv/common/ui/setup/animation/
DTranslationAnimationCreator.java54 float endX, in createAnimation() argument
67 if (startX == endX) { in createAnimation()
72 path.lineTo(endX, 0); in createAnimation()
DFadeAndShortSlide.java229 float endX = view.getTranslationX(); in onAppear() local
233 view, endValues, left, startX, endX, APPEAR_INTERPOLATOR, this); in onAppear()
259 float endX = mSlideCalculator.getGoneX(sceneRoot, view, position, mDistance); in onDisappear() local
262 view, startValues, left, startX, endX, DISAPPEAR_INTERPOLATOR, this); in onDisappear()