Home
last modified time | relevance | path

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

/packages/apps/Launcher3/tests/tapl/com/android/launcher3/tapl/
DBackground.java78 final int startY = getSwipeStartY(); in goToOverviewUnchecked() local
81 final Point start = new Point(centerX, startY); in goToOverviewUnchecked()
83 new Point(centerX, startY - swipeHeight - mLauncher.getTouchSlop()); in goToOverviewUnchecked()
113 final int startY; in goToOverviewUnchecked() local
121 startY = getSwipeStartY(); in goToOverviewUnchecked()
122 endY = startY - swipeLength; in goToOverviewUnchecked()
128 startY = endY = mLauncher.getDevice().getDisplayHeight() / 2; in goToOverviewUnchecked()
131 mLauncher.swipeToState(startX, startY, endX, endY, 10, OVERVIEW_STATE_ORDINAL, in goToOverviewUnchecked()
177 final int startY; in quickSwitch() local
185 startY = getSwipeStartY(); in quickSwitch()
[all …]
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()
1139 final int startY; in scroll() local
1146 startY = rect.top; in scroll()
1152 startY = rect.bottom - 1; in scroll()
1157 startY = endY = rect.centerY(); in scroll()
1163 startY = endY = rect.centerY(); in scroll()
1175 startX, startY, endX, endY, steps, slowDown, GestureScope.INSIDE), in scroll()
1177 () -> "Didn't receive a scroll end message: " + startX + ", " + startY in scroll()
1184 public void linearGesture(int startX, int startY, int endX, int endY, int steps, in linearGesture() argument
[all …]
DWorkspace.java78 final int startY = deviceHeight - Math.max(bottomGestureMargin, windowCornerRadius) - 1; in switchToAllApps() local
83 "switchToAllApps: deviceHeight = " + deviceHeight + ", startY = " + startY in switchToAllApps()
89 startY, in switchToAllApps()
91 startY - swipeHeight - mLauncher.getTouchSlop(), in switchToAllApps()
/packages/apps/Messaging/src/com/android/messaging/ui/
DMultiAttachmentLayout.java84 public final int startY; field in MultiAttachmentLayout.Tile
88 private Tile(final int startX, final int startY, final int endX, final int endY) { in Tile() argument
90 this.startY = startY; in Tile()
101 return MeasureSpec.makeMeasureSpec((endY - startY + 1) * cellHeight - padding * 2, in getHeightMeasureSpec()
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.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/src/com/android/quickstep/util/
DRectFSpringAnim.java172 float startY = mCurrentY; local
174 float minYValue = Math.min(startY, endY - mYOvershoot);
175 float maxYValue = Math.max(startY, endY);
176 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/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/recyclerview/
DFastScroller.java101 private boolean isClick(float startY, float endY) { in isClick() argument
102 return Math.abs(startY - endY) < mClickActionThreshold; in isClick()
/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/Settings/src/com/android/settings/notification/app/
DNotificationSettings.java245 float startY, float endY, in buildAnimatorSet() argument
251 ObjectAnimator.ofFloat(targetView, View.TRANSLATION_Y, startY, endY), in buildAnimatorSet()
/packages/apps/Settings/src/com/android/settings/panel/
DPanelFragment.java455 private static AnimatorSet buildAnimatorSet(@NonNull View parentView, float startY, float endY, in buildAnimatorSet() argument
462 ObjectAnimator.ofFloat(sheet, View.TRANSLATION_Y, startY, endY), in buildAnimatorSet()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DBatteryChartView.java410 final float startY = bottomY - mDividerHeight; in drawVerticalDividers() local
415 canvas.drawLine(startX, startY, startX, bottomY, mDividerPaint); in drawVerticalDividers()
/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/Gallery2/src/com/android/gallery3d/filtershow/
DFilterShowActivity.java1433 public void setHandlesSwipeForView(View view, float startX, float startY) { in setHandlesSwipeForView() argument
1443 mSwipeStartY = location[1] + startY; in setHandlesSwipeForView()