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.java114 final int endX; in goToOverviewUnchecked() local
120 startX = endX = mLauncher.getDevice().getDisplayWidth() / 2; in goToOverviewUnchecked()
127 endX = startX - swipeLength * 2; in goToOverviewUnchecked()
131 mLauncher.swipeToState(startX, startY, endX, endY, 10, OVERVIEW_STATE_ORDINAL, in goToOverviewUnchecked()
178 final int endX; in quickSwitch() local
186 endX = mLauncher.getDevice().getDisplayWidth() - cornerRadius; in quickSwitch()
192 endX = startX; in quickSwitch()
200 endX = cornerRadius; in quickSwitch()
206 endX = startX; in quickSwitch()
219 startX, startY, endX, endY, 20, false, gestureScope), in quickSwitch()
DLauncherInstrumentation.java1065 void swipeToState(int startX, int startY, int endX, int endY, int steps, int expectedState, in swipeToState() argument
1068 () -> linearGesture(startX, startY, endX, endY, steps, false, gestureScope), in swipeToState()
1140 final int endX; in scroll() local
1145 startX = endX = rect.centerX(); in scroll()
1151 startX = endX = rect.centerX(); in scroll()
1159 endX = rect.right - 1; in scroll()
1165 endX = rect.left; in scroll()
1175 startX, startY, endX, endY, steps, slowDown, GestureScope.INSIDE), in scroll()
1178 + ", " + endX + ", " + endY, in scroll()
1184 public 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/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()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/
DRectFSpringAnim.java163 float endX = mTargetRect.centerX(); local
164 float minXValue = Math.min(startX, endX);
165 float maxXValue = Math.max(startX, endX);
166 mRectXAnim = new FlingSpringAnim(this, context, 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()