/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/ |
D | Blend.cpp | 1101 double deltaY = Y - m_wb.y; in FrameToMosaic() local 1102 double length = sqrt(deltaX * deltaX + deltaY * deltaY); in FrameToMosaic() 1111 double deltaY = Y - m_wb.y; in FrameToMosaic() local 1112 double length = sqrt(deltaX * deltaX + deltaY * deltaY); in FrameToMosaic() 1113 double deltaTheta = asin(deltaY / length); in FrameToMosaic() 1219 double deltaY = currY - prevY; in SelectRelevantFrames() local 1220 double center2centerDist = sqrt(deltaY * deltaY + deltaX * deltaX); in SelectRelevantFrames() 1223 fabs(deltaY) > STRIP_SEPARATION_THRESHOLD_PXLS) in SelectRelevantFrames() 1277 double deltaY = currY - prevY; in ComputeBlendParameters() local 1281 arcLength += sqrt(deltaY * deltaY + deltaX * deltaX); in ComputeBlendParameters() [all …]
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/inputconsumers/ |
D | OneHandedModeInputConsumer.java | 170 private boolean isValidStartAngle(float deltaX, float deltaY) { in isValidStartAngle() argument 171 final float angle = (float) Math.toDegrees(Math.atan2(deltaY, deltaX)); in isValidStartAngle() 175 private boolean isValidExitAngle(float deltaX, float deltaY) { in isValidExitAngle() argument 176 final float angle = (float) Math.toDegrees(Math.atan2(deltaY, deltaX)); in isValidExitAngle()
|
D | OverscrollInputConsumer.java | 241 float deltaY = abs(mLastPos.y - mDownPos.y); in isOverscrolled() local 244 boolean angleInBounds = (Math.toDegrees(Math.atan2(deltaY, abs(deltaX))) < mAngleThreshold); in isOverscrolled()
|
D | AssistantInputConsumer.java | 257 private boolean isValidAssistantGestureAngle(float deltaX, float deltaY) { in isValidAssistantGestureAngle() argument 258 float angle = (float) Math.toDegrees(Math.atan2(deltaY, deltaX)); in isValidAssistantGestureAngle()
|
/packages/apps/Gallery/src/com/android/camera/ |
D | ImageViewTouchBase.java | 202 float deltaX = 0, deltaY = 0; in center() local 207 deltaY = (viewHeight - height) / 2 - rect.top; in center() 209 deltaY = -rect.top; in center() 211 deltaY = getHeight() - rect.bottom; in center() 226 postTranslate(deltaX, deltaY); in center()
|
D | Util.java | 157 int deltaY = source.getHeight() - targetHeight; in transform() local 158 if (!scaleUp && (deltaX < 0 || deltaY < 0)) { in transform() 170 int deltaYHalf = Math.max(0, deltaY / 2); in transform()
|
D | CropImage.java | 611 protected void postTranslate(float deltaX, float deltaY) { in postTranslate() argument 612 super.postTranslate(deltaX, deltaY); in postTranslate() 615 hv.mMatrix.postTranslate(deltaX, deltaY); in postTranslate()
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
D | MainActivityLayout.java | 104 int deltaY = (int) (ev.getY() - mDown.getY()); in onInterceptTouchEvent() local 108 if (deltaX >= Math.abs(deltaY) * 2) { in onInterceptTouchEvent() 114 else if (deltaX < -Math.abs(deltaY) * 2) { in onInterceptTouchEvent()
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
D | ItemAnimator.kt | 98 val deltaY = toY - fromY in animateMove() constant 101 if (deltaX == 0 && deltaY == 0) { in animateMove() 110 view.translationY = -deltaY.toFloat() in animateMove() 113 if (deltaX != 0 && deltaY != 0) { in animateMove()
|
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/androidTest/java/com/android/car/ui/actions/ |
D | LowLevelActions.java | 131 final float deltaX, final float deltaY, final float interval, final float limitX, 163 coordinatesMove[1] = coordinatesMove[1] + deltaY;
|
/packages/apps/Dialer/java/com/android/incallui/answer/impl/answermethod/ |
D | FlingUpDownTouchHandler.java | 272 float deltaY = pointerY - initialTouchY; in onTouch() local 274 if (Math.abs(deltaY) > touchSlop) { in onTouch() 277 if (Math.abs(deltaY) >= falsingThresholdPx) { in onTouch()
|
/packages/apps/Dialer/java/com/android/dialer/app/list/ |
D | OldSpeedDialFragment.java | 298 int deltaY = 0; in animateGridView() 309 deltaY = startTop - top; in animateGridView() 310 animators.add(ObjectAnimator.ofFloat(child, "translationY", deltaY, 0.0f)); in animateGridView()
|
/packages/modules/Permission/PermissionController/src/android/support/wearable/view/ |
D | WearableListView.java | 321 float deltaY = Math.abs(mStartY - event.getY()); in handlePossibleVerticalSwipe() local 322 float distance = (deltaX * deltaX) + (deltaY * deltaY); in handlePossibleVerticalSwipe() 326 if (deltaX > deltaY) { in handlePossibleVerticalSwipe()
|
/packages/apps/Car/Notification/src/com/android/car/notification/ |
D | CarNotificationItemTouchListener.java | 222 float deltaY = currY - mInitialY; in onInterceptTouchEvent() local 224 float absDeltaY = Math.abs(deltaY); in onInterceptTouchEvent()
|
/packages/apps/Messaging/src/com/android/messaging/ui/conversationlist/ |
D | ConversationListSwipeHelper.java | 133 final float deltaY = currY - mInitialY; in onInterceptTouchEvent() local 135 final float absDeltaY = Math.abs(deltaY); in onInterceptTouchEvent()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | CellLayout.java | 1676 int deltaY = mTempLocation[1] - boundingRect.top; in addViewsToTempLocation() local 1680 c.cellY += deltaY; in addViewsToTempLocation() 1850 private void computeDirectionVector(float deltaX, float deltaY, int[] result) { in computeDirectionVector() argument 1851 double angle = Math.atan(deltaY / deltaX); in computeDirectionVector() 1859 result[1] = (int) Math.signum(deltaY); in computeDirectionVector() 2244 int deltaY = (dropRegionRect.centerY() - dragViewCenterY) / spanY; in getDirectionVectorForDrop() local 2250 deltaY = 0; in getDirectionVectorForDrop() 2253 if (deltaX == 0 && deltaY == 0) { in getDirectionVectorForDrop() 2258 computeDirectionVector(deltaX, deltaY, resultDirection); in getDirectionVectorForDrop()
|
D | AppWidgetResizeFrame.java | 329 public void visualizeResizeForDelta(int deltaX, int deltaY) { in visualizeResizeForDelta() argument 331 mDeltaY = mDeltaYRange.clamp(deltaY); in visualizeResizeForDelta() 339 mDeltaY = mDeltaYRange.clamp(deltaY); in visualizeResizeForDelta()
|
D | Utilities.java | 375 int deltaY = (int) (r.height() * (scaleY - scale) * 0.5f); in shrinkRect() local 376 r.top += deltaY; in shrinkRect() 377 r.bottom -= deltaY; in shrinkRect()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/interaction/ |
D | NavBarGestureHandler.java | 272 private boolean isValidAssistantGestureAngle(float deltaX, float deltaY) { in isValidAssistantGestureAngle() argument 273 float angle = (float) Math.toDegrees(Math.atan2(deltaY, deltaX)); in isValidAssistantGestureAngle()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/suggestions/ |
D | SuggestionStripView.java | 345 public boolean onScroll(MotionEvent down, MotionEvent me, float deltaX, float deltaY) { 347 if (deltaY > 0 && dy < 0) {
|
/packages/apps/Camera2/src/com/android/camera/app/ |
D | CameraAppUI.java | 748 int deltaY = (int) (ev.getY() - mDown.getY()); in onScroll() local 750 if (Math.abs(deltaX) > mSlop || Math.abs(deltaY) > mSlop) { in onScroll() 752 if (deltaX >= Math.abs(deltaY)) { in onScroll() 755 } else if (deltaX <= -Math.abs(deltaY)) { in onScroll()
|
/packages/apps/Contacts/src/com/android/contacts/widget/ |
D | MultiShrinkScroller.java | 1273 final float deltaY = event.getY() - mLastEventPosition[1]; in motionShouldStartDrag() local 1274 return deltaY > mTouchSlop || deltaY < -mTouchSlop; in motionShouldStartDrag()
|
/packages/apps/Gallery2/src/com/android/photos/views/ |
D | GalleryThumbnailView.java | 307 final int deltaY = (int) dx; in onInterceptTouchEvent() local 308 mTouchRemainderX = dx - deltaY; in onInterceptTouchEvent()
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | DayView.java | 2273 final float deltaY = mCellHeight + HOUR_GAP; in drawGridBackground() local 2290 y += deltaY; in drawGridBackground() 3161 private void doScroll(MotionEvent e1, MotionEvent e2, float deltaX, float deltaY) { in doScroll() argument 3170 mInitialScrollY += deltaY; in doScroll() 3223 final int pulledToY = (int) (mScrollStartY + deltaY); in doScroll() 3225 mEdgeEffectTop.onPull(deltaY / mViewHeight); in doScroll() 3230 mEdgeEffectBottom.onPull(deltaY / mViewHeight); in doScroll()
|
/packages/apps/Car/LatinIME/src/com/android/inputmethod/latin/car/ |
D | KeyboardView.java | 467 float deltaY = me2.getY() - me1.getY(); in initGestureDetector() 488 } else if (velocityY < -mSwipeThreshold && absX < absY && deltaY < -travelY) { in initGestureDetector() 495 } else if (velocityY > mSwipeThreshold && absX < absY / 2 && deltaY > travelY) { in initGestureDetector()
|