/packages/apps/Launcher3/tests/tapl/com/android/launcher3/tapl/ |
D | Background.java | 67 final int startY = getSwipeStartY(); in goToOverviewUnchecked() local 70 final Point start = new Point(centerX, startY); in goToOverviewUnchecked() 72 new Point(centerX, startY - swipeHeight - mLauncher.getTouchSlop()); in goToOverviewUnchecked() 92 final int startY; in goToOverviewUnchecked() local 100 startY = getSwipeStartY(); in goToOverviewUnchecked() 101 endY = startY - swipeLength; in goToOverviewUnchecked() 105 startY = endY = mLauncher.getDevice().getDisplayHeight() / 2; in goToOverviewUnchecked() 108 mLauncher.swipeToState(startX, startY, endX, endY, 10, expectedState); in goToOverviewUnchecked() 142 final int startY; in quickSwitchToPreviousApp() local 148 startY = getSwipeStartY(); in quickSwitchToPreviousApp() [all …]
|
D | LauncherInstrumentation.java | 778 void swipeToState(int startX, int startY, int endX, int endY, int steps, int expectedState) { in swipeToState() argument 780 () -> linearGesture(startX, startY, endX, endY, steps), in swipeToState() 827 final int startY; in scroll() local 836 startY = (int) (vertCenter - halfGestureHeight) + 1; in scroll() 844 startY = (int) (vertCenter + halfGestureHeight) - 1; in scroll() 849 startY = endY = rect.centerY(); in scroll() 857 startY = endY = rect.centerY(); in scroll() 870 () -> linearGesture(startX, startY, endX, endY, steps), in scroll() 872 "Didn't receive a scroll end message: " + startX + ", " + startY in scroll() 878 void linearGesture(int startX, int startY, int endX, int endY, int steps) { in linearGesture() argument [all …]
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
D | MultiAttachmentLayout.java | 84 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/ |
D | jpegutil.h | 205 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/ |
D | OverScroller.java | 356 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 …]
|
D | Scroller.java | 316 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/ |
D | GridSizeMigrationTask.java | 258 int startY = (FeatureFlags.QSB_ON_FIRST_SCREEN && screenId == Workspace.FIRST_SCREEN_ID) 280 for (int y = mSrcY - 1; y >= startY; y--) { 283 ArrayList<DbEntry> itemsOnScreen = tryRemove(x, y, startY, deepCopy(items), 334 occupied.markCells(0, 0, mTrgX, startY, true); 340 deepCopy(mCarryOver), startY, true); 371 private ArrayList<DbEntry> tryRemove(int col, int row, int startY, 374 occupied.markCells(0, 0, mTrgX, startY, true); 397 new OptimalPlacementSolution(occupied, removedItems, startY); 414 private final int startY; 421 GridOccupancy occupied, ArrayList<DbEntry> itemsToPlace, int startY) { [all …]
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/util/ |
D | RectFSpringAnim.java | 161 float startY = mCurrentY; local 163 float minYValue = Math.min(startY, endY - mYOvershoot); 164 float maxYValue = Math.max(startY, endY); 165 mRectYAnim = new FlingSpringAnim(this, RECT_Y, startY, endY, startVelocityY,
|
/packages/apps/Dialer/java/com/android/dialer/speeddial/draghelper/ |
D | SpeedDialFavoritesViewHolderOnTouchListener.java | 38 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/ |
D | PathInterpolatorCompat.java | 99 final float startY = mY[startIndex]; in getInterpolation() local 102 return startY + (fraction * (endY - startY)); in getInterpolation()
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | TrimTimeBar.java | 149 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/ |
D | FlingScroller.java | 76 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/ |
D | DonutView.java | 178 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/ |
D | DonutView.java | 178 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/ |
D | PanelFragment.java | 312 private static AnimatorSet buildAnimatorSet(@NonNull View parentView, float startY, float endY, in buildAnimatorSet() argument 319 ObjectAnimator.ofFloat(sheet, View.TRANSLATION_Y, startY, endY), in buildAnimatorSet()
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | DayView.java | 2275 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/Launcher3/quickstep/src/com/android/launcher3/ |
D | QuickstepAppTransitionManagerImpl.java | 361 final float startY = appsView.getTranslationY(); in getLauncherContentAnimator() local 384 appsView.setTranslationY(startY); in getLauncherContentAnimator()
|
/packages/apps/Camera2/src/com/android/camera/widget/ |
D | FilmstripView.java | 2563 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/ |
D | FilterShowActivity.java | 1433 public void setHandlesSwipeForView(View view, float startX, float startY) { in setHandlesSwipeForView() argument 1443 mSwipeStartY = location[1] + startY; in setHandlesSwipeForView()
|