Home
last modified time | relevance | path

Searched refs:startY (Results 1 – 20 of 20) sorted by relevance

/packages/apps/Launcher3/tests/tapl/com/android/launcher3/tapl/
DBackground.java77 final int startY = getSwipeStartY(); in goToOverviewUnchecked() local
80 final Point start = new Point(centerX, startY); in goToOverviewUnchecked()
82 new Point(centerX, startY - swipeHeight - mLauncher.getTouchSlop()); in goToOverviewUnchecked()
116 final int startY; in goToOverviewUnchecked() local
124 startY = getSwipeStartY(); in goToOverviewUnchecked()
125 endY = startY - swipeLength; in goToOverviewUnchecked()
129 startY = endY = mLauncher.getDevice().getDisplayHeight() / 2; in goToOverviewUnchecked()
132 mLauncher.swipeToState(startX, startY, endX, endY, 10, OVERVIEW_STATE_ORDINAL, in goToOverviewUnchecked()
176 final int startY; in quickSwitchToPreviousApp() local
182 startY = getSwipeStartY(); in quickSwitchToPreviousApp()
[all …]
DLauncherInstrumentation.java997 void swipeToState(int startX, int startY, int endX, int endY, int steps, int expectedState, in swipeToState() argument
1000 () -> linearGesture(startX, startY, endX, endY, steps, false, gestureScope), in swipeToState()
1060 final int startY; in scroll() local
1067 startY = rect.top; in scroll()
1073 startY = rect.bottom - 1; in scroll()
1078 startY = endY = rect.centerY(); in scroll()
1084 startY = endY = rect.centerY(); in scroll()
1096 startX, startY, endX, endY, steps, slowDown, GestureScope.INSIDE), in scroll()
1098 () -> "Didn't receive a scroll end message: " + startX + ", " + startY in scroll()
1104 public void linearGesture(int startX, int startY, int endX, int endY, int steps, in linearGesture() argument
[all …]
DWorkspace.java108 final int startY = deviceHeight - Math.max(bottomGestureMargin, windowCornerRadius) - 1; in switchToAllApps() local
118 startY, in switchToAllApps()
120 startY - swipeHeight - mLauncher.getTouchSlop(), in switchToAllApps()
/packages/apps/Messaging/src/com/android/messaging/ui/
DMultiAttachmentLayout.java83 public final int startY; field in MultiAttachmentLayout.Tile
87 private Tile(final int startX, final int startY, final int endX, final int endY) { in Tile() argument
89 this.startY = startY; in Tile()
100 return MeasureSpec.makeMeasureSpec((endY - startY + 1) * cellHeight - padding * 2, in getHeightMeasureSpec()
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/Camera2/jni/
Djpegutil.h205 int startY; in LoadAt() local
206 transform_.Map(0, y, &startX, &startY); in LoadAt()
214 startY = min(startY, plane_.height - 1); in LoadAt()
218 startY = max(startY, 0); in LoadAt()
226 int dy = sgn(endY - startY); 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
376 mScrollerY.startScroll(startY, dy, duration); in startScroll()
391 public boolean springBack(int startX, int startY, int minX, int maxX, int minY, int maxY) { in springBack() argument
396 final boolean spingbackY = mScrollerY.springback(startY, minY, maxY); 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
447 mScrollerY.fling(startY, velocityY, minY, maxY, overY); 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
339 mStartY = startY; in startScroll()
341 mFinalY = startY + dy; in startScroll()
366 public void fling(int startX, int startY, int velocityX, int velocityY, in fling() argument
398 mStartY = startY; in fling()
416 mFinalY = startY + Math.round(totalDistance * coeffY); in fling()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DGridSizeMigrationTask.java263 int startY = (FeatureFlags.QSB_ON_FIRST_SCREEN && screenId == Workspace.FIRST_SCREEN_ID)
285 for (int y = mSrcY - 1; y >= startY; y--) {
288 ArrayList<DbEntry> itemsOnScreen = tryRemove(x, y, startY, deepCopy(items),
339 occupied.markCells(0, 0, mTrgX, startY, true);
345 deepCopy(mCarryOver), startY, true);
376 private ArrayList<DbEntry> tryRemove(int col, int row, int startY,
379 occupied.markCells(0, 0, mTrgX, startY, true);
402 new OptimalPlacementSolution(occupied, removedItems, startY);
419 private final int startY;
426 GridOccupancy occupied, ArrayList<DbEntry> itemsToPlace, int startY) {
[all …]
/packages/apps/Dialer/java/com/android/dialer/speeddial/draghelper/
DSpeedDialFavoritesViewHolderOnTouchListener.java38 private float startY; field in SpeedDialFavoritesViewHolderOnTouchListener
56 startY = event.getY(); in onTouch()
93 || Math.abs(startY - event.getY()) > configuration.getScaledTouchSlop(); in moveEventExceedsTouchSlop()
/packages/apps/PhoneCommon/src/com/android/phone/common/compat/
DPathInterpolatorCompat.java99 final float startY = mY[startIndex]; in getInterpolation() local
102 return startY + (fraction * (endY - startY)); in getInterpolation()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/util/
DRectFSpringAnim.java171 float startY = mCurrentY; local
173 float minYValue = Math.min(startY, endY - mYOvershoot);
174 float maxYValue = Math.max(startY, endY);
175 mRectYAnim = new FlingSpringAnim(this, context, RECT_Y, startY, endY, startVelocityY,
/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
151 int scrubberBottom = startY + scrubber.getHeight(); 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
79 mStartY = startY; in fling()
/packages/apps/Settings/src/com/android/settings/widget/
DDonutView.java178 final float startY = centerY + totalHeight / 2; in drawInnerText() local
193 canvas.drawText(mFullString, centerX, startY - mTextPaint.descent(), mTextPaint); in drawInnerText()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DDonutView.java178 final float startY = centerY + totalHeight / 2; in drawInnerText() local
193 canvas.drawText(mFullString, centerX, startY - mTextPaint.descent(), mTextPaint); in drawInnerText()
/packages/apps/Settings/src/com/android/settings/panel/
DPanelFragment.java395 private static AnimatorSet buildAnimatorSet(@NonNull View parentView, float startY, float endY, in buildAnimatorSet() argument
402 ObjectAnimator.ofFloat(sheet, View.TRANSLATION_Y, startY, endY), in buildAnimatorSet()
/packages/apps/Calendar/src/com/android/calendar/
DDayView.java2275 final float startY = 0; in drawGridBackground() local
2302 mLines[linesIndex++] = startY; in drawGridBackground()
2493 final float startY = DAY_HEADER_HEIGHT; in drawAllDayEvents() local
2494 final float stopY = startY + mAlldayHeight + ALLDAY_TOP_MARGIN; in drawAllDayEvents()
2504 mLines[linesIndex++] = startY; in drawAllDayEvents()
2506 mLines[linesIndex++] = startY; in drawAllDayEvents()
2511 mLines[linesIndex++] = startY; in drawAllDayEvents()
/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);
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/
DQuickstepAppTransitionManagerImpl.java360 final float startY = appsView.getTranslationY(); in getLauncherContentAnimator() local
383 appsView.setTranslationY(startY); in getLauncherContentAnimator()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/
DFilterShowActivity.java1426 public void setHandlesSwipeForView(View view, float startX, float startY) { in setHandlesSwipeForView() argument
1436 mSwipeStartY = location[1] + startY; in setHandlesSwipeForView()