/packages/apps/DeskClock/src/com/android/deskclock/ |
D | MoveScreensaverRunnable.kt | 89 val newY = getRandomPoint(smallestDim - mSaverView.height.toFloat()) in run() constant 92 mSaverView.y = newY in run() 100 val newY = getRandomPoint(mContentView.height - mSaverView.height.toFloat()) in run() constant 118 mSaverView.y = newY in run()
|
/packages/apps/DevCamera/src/com/android/devcamera/ |
D | PreviewOverlay.java | 210 float newY = r1.centerX() * previewH; in onDraw() local 215 … RectF newR1 = new RectF(newX - dX * 0.5f, newY - dY * 0.5f, newX + dX * 0.5f, newY + dY * 0.5f); in onDraw() 227 newY = p[j].x * previewH; in onDraw() 229 canvas.drawCircle(newX, newY, dP, mPaint); in onDraw()
|
/packages/apps/Dialer/java/com/android/incallui/answer/impl/answermethod/ |
D | FlingUpDownTouchHandler.java | 262 float newY = event.getY(newIndex); in onTouch() local 264 startMotion(newY, true, currentProgress); in onTouch() 456 private void startMotion(float newY, boolean startTracking, float startProgress) { in startMotion() argument 457 initialTouchY = newY; in startMotion()
|
D | FlingUpDownMethod.java | 113 private static void moveTowardY(View view, float newY) { in moveTowardY() argument 114 view.setTranslationY(MathUtil.lerp(view.getTranslationY(), newY, SWIPE_LERP_PROGRESS_FACTOR)); in moveTowardY() local
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | AppWidgetResizeFrame.java | 600 int newY = sTmpRect.top; 605 if (newY < 0) { 607 mTopTouchRegionAdjustment = -newY; 611 if (newY + newHeight > mDragLayer.getHeight()) { 613 mBottomTouchRegionAdjustment = -(newY + newHeight - mDragLayer.getHeight()); 630 lp.y = newY; 644 PropertyValuesHolder.ofInt(LAYOUT_Y, lp.y, newY));
|
D | CellLayout.java | 1091 final int newY = lp.y; in animateChildToPosition() local 1101 final float finalPreviewOffsetY = newY - oldY; in animateChildToPosition()
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/bots/ |
D | GestureBot.java | 76 int newY = startCoord.centerY() + (int) (diffY / TRAVELING_STEPS * i); in gestureSelectFiles() local 77 points[i + LONGPRESS_STEPS] = new Point(newX, newY); in gestureSelectFiles()
|
/packages/apps/Calendar/src/com/android/calendar/month/ |
D | MonthWeekEventsView.kt | 657 val newY = drawEvent(canvas, event, xSquare, yTest, rightEdge, iter.hasNext(), in drawEvents() constant 659 if (newY == yTest) { in drawEvents() 663 yTest = newY in drawEvents() 669 val newY = drawEvent(canvas, event, xSquare, ySquare, rightEdge, iter.hasNext(), in drawEvents() constant 671 if (newY == ySquare) { in drawEvents() 675 ySquare = newY in drawEvents()
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
D | Scroller.java | 493 public void setFinalY(int newY) { in setFinalY() argument 494 mFinalY = newY; in setFinalY()
|
D | OverScroller.java | 282 public void setFinalY(int newY) { in setFinalY() argument 283 mScrollerY.setFinalPosition(newY); in setFinalY()
|