Home
last modified time | relevance | path

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

/packages/apps/Launcher3/tests/tapl/com/android/launcher3/tapl/
DBackground.java153 final int startY = getSwipeStartY(); in sendDownPointerToEnterOverviewToLauncher() local
154 final Point start = new Point(centerX, startY); in sendDownPointerToEnterOverviewToLauncher()
167 final int startY = getSwipeStartY(); in sendSwipeUpAndHoldToEnterOverviewGestureToLauncher() local
170 final Point start = new Point(centerX, startY); in sendSwipeUpAndHoldToEnterOverviewGestureToLauncher()
172 new Point(centerX, startY - swipeHeight - mLauncher.getTouchSlop()); in sendSwipeUpAndHoldToEnterOverviewGestureToLauncher()
185 final int startY = getSwipeStartY(); in sendUpPointerToEnterOverviewToLauncher() local
189 new Point(centerX, startY - swipeHeight - mLauncher.getTouchSlop()); in sendUpPointerToEnterOverviewToLauncher()
228 final int startY; in quickSwitch() local
235 startY = getSwipeStartY(); in quickSwitch()
237 endY = startY; in quickSwitch()
[all …]
DHomeAllApps.java45 final int startY = swipeDown ? getTopVisibleIconBounds(allAppsContainer).centerY() in switchToWorkspace() local
51 "switchToWorkspace: startY = " + startY + ", endY = " + endY in switchToWorkspace()
57 startY, in switchToWorkspace()
DTaskbar.java88 int startY = taskbarBounds.centerY(); in swipeDownToStash() local
92 mLauncher.linearGesture(startX, startY, endX, endY, 10, false, in swipeDownToStash()
DLauncherInstrumentation.java1190 int startY = isThreeFingerTrackpadGesture ? displaySize.y * 3 / 4 in goHome() local
1194 displaySize.x / 2, startY, in goHome()
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()
1774 final int startY; in scroll() local
1781 startY = rect.top; in scroll()
1787 startY = rect.bottom - 1; in scroll()
1792 startY = endY = rect.centerY(); in scroll()
1798 startY = endY = rect.centerY(); in scroll()
1810 startX, startY, endX, endY, steps, slowDown, in scroll()
[all …]
DLaunchedAppState.java129 int startY = mLauncher.getRealDisplaySize().y - 1;
131 int endY = startY - taskbarFromNavThreshold;
134 () -> mLauncher.linearGesture(startX, startY, endX, endY, 10,
DWorkspace.java96 final int startY = deviceHeight - Math.max(bottomGestureMargin, windowCornerRadius) - 1; in switchToAllApps() local
101 "switchToAllApps: deviceHeight = " + deviceHeight + ", startY = " + startY in switchToAllApps()
107 startY, in switchToAllApps()
109 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/
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()
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 …]
/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/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/Launcher3/quickstep/src/com/android/quickstep/util/
DRectFSpringAnim.java256 float startY = mCurrentY; in start() local
297 .setStartValue(startY) in start()
337 float minYValue = Math.min(startY, endY); in start()
338 float maxYValue = Math.max(startY, endY); in start()
339 mRectYAnim = new FlingSpringAnim(this, context, RECT_Y, startY, endY, in start()
DSplitAnimationController.kt998 val startY = in <lambda>() constant
1008 val y = startY + ((endY - startY) * progress) in <lambda>()
/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/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.java242 float startY, float endY, in buildAnimatorSet() argument
248 ObjectAnimator.ofFloat(targetView, View.TRANSLATION_Y, startY, endY), in buildAnimatorSet()
/packages/apps/Settings/src/com/android/settings/panel/
DPanelFragment.java456 private static AnimatorSet buildAnimatorSet(@NonNull View parentView, float startY, float endY, in buildAnimatorSet() argument
463 ObjectAnimator.ofFloat(sheet, View.TRANSLATION_Y, startY, endY), in buildAnimatorSet()
/packages/apps/Calendar/src/com/android/calendar/
DDayView.kt1889 val startY = 0f in drawGridBackground() constant
1916 mLines[linesIndex++] = startY in drawGridBackground()
2110 val startY = DAY_HEADER_HEIGHT.toFloat() in drawAllDayEvents() constant
2111 val stopY = startY + mAlldayHeight + ALLDAY_TOP_MARGIN in drawAllDayEvents()
2121 mLines[linesIndex++] = startY in drawAllDayEvents()
2123 mLines[linesIndex++] = startY in drawAllDayEvents()
2127 mLines[linesIndex++] = startY in drawAllDayEvents()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batteryusage/
DBatteryChartView.java440 final float startY = bottomY - mDividerHeight; in drawVerticalDividers() local
480 canvas.drawLine(startX, startY, startX, dividerY, mDividerPaint); in drawVerticalDividers()
/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.java1430 public void setHandlesSwipeForView(View view, float startX, float startY) { in setHandlesSwipeForView() argument
1440 mSwipeStartY = location[1] + startY; in setHandlesSwipeForView()