Home
last modified time | relevance | path

Searched refs:startX (Results 1 – 15 of 15) sorted by relevance

/packages/apps/Messaging/src/com/android/messaging/ui/
DMultiAttachmentLayout.java82 public final int startX; field in MultiAttachmentLayout.Tile
87 private Tile(final int startX, final int startY, final int endX, final int endY) { in Tile() argument
88 this.startX = startX; in Tile()
95 return MeasureSpec.makeMeasureSpec((endX - startX + 1) * cellWidth - padding * 2, in getWidthMeasureSpec()
104 public static Tile large(final int startX, final int startY) { in large() argument
105 return new Tile(startX, startY, startX + 1, startY + 1); in large()
108 public static Tile wide(final int startX, final int startY) { in wide() argument
109 return new Tile(startX, startY, startX + 1, startY); in wide()
112 public static Tile small(final int startX, final int startY) { in small() argument
113 return new Tile(startX, startY, startX, startY); in small()
[all …]
/packages/apps/TV/common/src/com/android/tv/common/ui/setup/animation/
DTranslationAnimationCreator.java53 float startX, in createAnimation() argument
60 startX = startPosition - viewPosX + terminalX; in createAnimation()
64 int startPosX = viewPosX + Math.round(startX - terminalX); in createAnimation()
66 view.setTranslationX(startX); in createAnimation()
67 if (startX == endX) { in createAnimation()
71 path.moveTo(startX, 0); in createAnimation()
96 View movingView, View viewInHierarchy, int startX, float terminalX) { in TransitionPositionListener() argument
99 mStartX = startX - Math.round(mMovingView.getTranslationX()); in TransitionPositionListener()
DFadeAndShortSlide.java230 float startX = mSlideCalculator.getGoneX(sceneRoot, view, position, mDistance); in onAppear() local
233 view, endValues, left, startX, endX, APPEAR_INTERPOLATOR, this); in onAppear()
258 float startX = view.getTranslationX(); in onDisappear() local
262 view, startValues, left, startX, endX, DISAPPEAR_INTERPOLATOR, this); in onDisappear()
/packages/apps/Camera2/jni/
Djpegutil.h204 int startX; in LoadAt() local
206 transform_.Map(0, y, &startX, &startY); in LoadAt()
213 startX = min(startX, plane_.width - 1); in LoadAt()
217 startX = max(startX, 0); in LoadAt()
225 int dx = sgn(endX - startX); in LoadAt()
229 int plane_start = startX * plane_.pixel_stride + startY * plane_.row_stride; in LoadAt()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DOverScroller.java356 public void startScroll(int startX, int startY, int dx, int dy) { in startScroll() argument
357 startScroll(startX, startY, dx, dy, DEFAULT_DURATION); in startScroll()
373 public void startScroll(int startX, int startY, int dx, int dy, int duration) { in startScroll() argument
375 mScrollerX.startScroll(startX, dx, duration); in startScroll()
391 public boolean springBack(int startX, int startY, int minX, int maxX, int minY, int maxY) { in springBack() argument
395 final boolean spingbackX = mScrollerX.springback(startX, minX, maxX); in springBack()
400 public void fling(int startX, int startY, int velocityX, int velocityY, in fling() argument
402 fling(startX, startY, velocityX, velocityY, minX, maxX, minY, maxY, 0, 0); in fling()
432 public void fling(int startX, int startY, int velocityX, int velocityY, in fling() argument
446 mScrollerX.fling(startX, velocityX, minX, maxX, overX); in fling()
[all …]
DScroller.java316 public void startScroll(int startX, int startY, int dx, int dy) { in startScroll() argument
317 startScroll(startX, startY, dx, dy, DEFAULT_DURATION); in startScroll()
333 public void startScroll(int startX, int startY, int dx, int dy, int duration) { in startScroll() argument
338 mStartX = startX; in startScroll()
340 mFinalX = startX + dx; in startScroll()
366 public void fling(int startX, int startY, int velocityX, int velocityY, in fling() argument
397 mStartX = startX; in fling()
411 mFinalX = startX + Math.round(totalDistance * coeffX); in fling()
/packages/apps/Launcher3/tests/tapl/com/android/launcher3/tapl/
DBackground.java90 final int startX; in goToOverviewUnchecked() local
98 startX = endX = mLauncher.getDevice().getDisplayWidth() / 2; in goToOverviewUnchecked()
102 startX = getSwipeStartX(); in goToOverviewUnchecked()
103 endX = startX - swipeLength; in goToOverviewUnchecked()
107 mLauncher.swipeToState(startX, startY, endX, endY, 10, expectedState); in goToOverviewUnchecked()
DLauncherInstrumentation.java657 void swipeToState(int startX, int startY, int endX, int endY, int steps, int expectedState) { in swipeToState() argument
659 () -> linearGesture(startX, startY, endX, endY, steps), in swipeToState()
661 "Swipe failed to receive an event for the swipe end: " + startX + ", " + startY in swipeToState()
677 final int startX; in scroll() local
684 startX = endX = rect.centerX(); in scroll()
692 startX = endX = rect.centerX(); in scroll()
705 () -> linearGesture(startX, startY, endX, endY, steps), in scroll()
707 "Didn't receive a scroll end message: " + startX + ", " + startY in scroll()
713 void linearGesture(int startX, int startY, int endX, int endY, int steps) { in linearGesture() argument
715 final Point start = new Point(startX, startY); in linearGesture()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/util/
DRectFSpringAnim.java151 float startX = mCurrentCenterX; 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/Dialer/java/com/android/dialer/speeddial/draghelper/
DSpeedDialFavoritesViewHolderOnTouchListener.java37 private float startX; field in SpeedDialFavoritesViewHolderOnTouchListener
55 startX = event.getX(); in onTouch()
92 return Math.abs(startX - event.getX()) > configuration.getScaledTouchSlop() in moveEventExceedsTouchSlop()
/packages/apps/Launcher3/src/com/android/launcher3/pageindicators/
DPageIndicatorDots.java244 float startX = (getWidth() - mNumPages * circleGap + mDotRadius) / 2; in onDraw() local
246 float x = startX + mDotRadius; in onDraw()
277 float startX = (getWidth() - mNumPages * circleGap + mDotRadius) / 2; in getActiveRect() local
281 sTempRect.left = startX + startCircle * circleGap; in getActiveRect()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DTrimTimeBar.java149 private boolean inScrubber(float x, float y, int startX, int startY, Bitmap scrubber) { in inScrubber() argument
150 int scrubberRight = startX + scrubber.getWidth(); in inScrubber()
152 return startX < x && x < scrubberRight && startY < y && y < scrubberBottom; in inScrubber()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DFlingScroller.java76 public void fling(int startX, int startY, int velocityX, int velocityY, in fling() argument
78 mStartX = startX; in fling()
/packages/apps/Camera2/src/com/android/camera/widget/
DFilmstripView.java2563 int startX, int startY,
2567 mScroller.fling(startX, startY, velocityX, velocityY, minX, maxX, minY, maxY);
2571 public void startScroll(int startX, int startY, int dx, int dy) {
2572 mScroller.startScroll(startX, startY, dx, dy);
2577 public void startScroll(int startX, int dx, int duration) {
2580 mXScrollAnimator.setIntValues(startX, startX + dx);
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/
DFilterShowActivity.java1430 public void setHandlesSwipeForView(View view, float startX, float startY) { in setHandlesSwipeForView() argument
1439 mSwipeStartX = location[0] + startX; in setHandlesSwipeForView()