Home
last modified time | relevance | path

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

/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/Messaging/src/com/android/messaging/ui/
DMultiAttachmentLayout.java83 public final int startX; field in MultiAttachmentLayout.Tile
88 private Tile(final int startX, final int startY, final int endX, final int endY) { in Tile() argument
89 this.startX = startX; in Tile()
96 return MeasureSpec.makeMeasureSpec((endX - startX + 1) * cellWidth - padding * 2, in getWidthMeasureSpec()
105 public static Tile large(final int startX, final int startY) { in large() argument
106 return new Tile(startX, startY, startX + 1, startY + 1); in large()
109 public static Tile wide(final int startX, final int startY) { in wide() argument
110 return new Tile(startX, startY, startX + 1, startY); in wide()
113 public static Tile small(final int startX, final int startY) { in small() argument
114 return new Tile(startX, startY, startX, startY); in small()
[all …]
/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/
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()
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 …]
/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/tests/tapl/com/android/launcher3/tapl/
DHomeAllApps.java44 final int startX = allAppsContainer.getVisibleCenter().x; in switchToWorkspace() local
56 startX, in switchToWorkspace()
58 startX, in switchToWorkspace()
DBackground.java227 final int startX; in quickSwitch() local
234 startX = cornerRadius; in quickSwitch()
240 startX = mLauncher.getDevice().getDisplayWidth() - cornerRadius; in quickSwitch()
248 startX, startY, endX, endY, 20, false, in quickSwitch()
DTaskbar.java87 int startX = taskbarBounds.centerX(); in swipeDownToStash() local
89 int endX = startX; in swipeDownToStash()
92 mLauncher.linearGesture(startX, startY, endX, endY, 10, false, in swipeDownToStash()
DLauncherInstrumentation.java1141 final int startX = rotated90degrees ? displaySize.x : 0; in goHomeFromImmersiveFullscreenApp() local
1144 startX, displaySize.y / 2, in goHomeFromImmersiveFullscreenApp()
1243 int startX = isThreeFingerTrackpadGesture ? displaySize.x / 4 : 0; in pressBackImpl() local
1245 linearGesture(startX, displaySize.y / 4, endX, displaySize.y / 4, in pressBackImpl()
1666 void swipeToState(int startX, int startY, int endX, int endY, int steps, int expectedState, in swipeToState() argument
1669 () -> linearGesture(startX, startY, endX, endY, steps, false, gestureScope), in swipeToState()
1773 final int startX; in scroll() local
1780 startX = endX = rect.centerX(); in scroll()
1786 startX = endX = rect.centerX(); in scroll()
1793 startX = rect.left; in scroll()
[all …]
DLaunchedAppState.java128 int startX = mLauncher.getRealDisplaySize().x / 2;
130 int endX = startX;
134 () -> mLauncher.linearGesture(startX, startY, endX, endY, 10,
/packages/apps/Settings/src/com/android/settings/fuelgauge/batteryusage/
DBatteryChartView.java470 float startX = mDividerWidth * .5f + mIndent.left; in drawVerticalDividers() local
480 canvas.drawLine(startX, startY, startX, dividerY, mDividerPaint); in drawVerticalDividers()
481 final float nextX = startX + mDividerWidth + unitWidth; in drawVerticalDividers()
485 mTrapezoidSlots[trapezoidIndex].mLeft = round(startX + trapezoidSlotOffset); in drawVerticalDividers()
488 startX = nextX; in drawVerticalDividers()
687 final float startX = mTrapezoidSlots[index].mLeft; in drawTransomLine() local
690 startX + mTransomPadding, in drawTransomLine()
695 canvas.drawRect(startX, mTransomTop, endX, trapezoidBottom, mTransomSelectedSlotPaint); in drawTransomLine()
/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/Launcher3/quickstep/src/com/android/quickstep/util/
DRectFSpringAnim.java254 float startX = mCurrentCenterX; in start() local
284 ).setStartValue(startX) in start()
330 float minXValue = Math.min(startX, endX); in start()
331 float maxXValue = Math.max(startX, endX); in start()
333 mRectXAnim = new FlingSpringAnim(this, context, RECT_CENTER_X, startX, endX, in start()
DSplitAnimationController.kt995 val startX = in <lambda>() constant
1007 val x = startX + ((endX - startX) * progress) in <lambda>()
/packages/apps/Launcher3/src/com/android/launcher3/pageindicators/
DPageIndicatorDots.java413 float startX = ((float) getWidth() / 2)
417 float x = startX + mDotRadius;
452 float startX = ((float) getWidth() / 2)
457 sTempRect.left = startX + (startCircle * mCircleGap);
/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/WallpaperPicker2/src/com/android/wallpaper/widget/
DPreviewPager.java330 public void startScroll(int startX, int startY, int dx, int dy, int duration) {
331 super.startScroll(startX, startY, dx, dy, DURATION_MS);
/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()