/frameworks/base/services/accessibility/java/com/android/server/accessibility/gestures/ |
D | Swipe.java | 158 final float dY = Math.abs(y - mPreviousGestureY); in onMove() local 202 if (dX >= mMinPixelsBetweenSamplesX || dY >= mMinPixelsBetweenSamplesY) { in onMove() 220 final float dY = Math.abs(y - mPreviousGestureY); in onUp() local 221 if (dX >= mMinPixelsBetweenSamplesX || dY >= mMinPixelsBetweenSamplesY) { in onUp() 262 float dY = 0; in recognizeGesture() local 272 float currentDY = dY / count; in recognizeGesture() 300 dY = 0; in recognizeGesture() 313 dY = dY + currentDY / length; in recognizeGesture() 346 float dY = end.y - start.y; in recognizeGesturePath() local 347 int direction = toDirection(dX, dY); in recognizeGesturePath() [all …]
|
D | MultiFingerSwipe.java | 231 final float dY = Math.abs(y - mPreviousGesturePoint[pointerIndex].y); in onPointerUp() local 232 if (dX >= mMinPixelsBetweenSamplesX || dY >= mMinPixelsBetweenSamplesY) { in onPointerUp() 270 final float dY = Math.abs(y - mPreviousGesturePoint[pointerIndex].y); in onMove() local 307 if (dX >= mMinPixelsBetweenSamplesX || dY >= mMinPixelsBetweenSamplesY) { in onMove() 338 final float dY = Math.abs(y - mPreviousGesturePoint[pointerIndex].y); in onUp() local 339 if (dX >= mMinPixelsBetweenSamplesX || dY >= mMinPixelsBetweenSamplesY) { in onUp() 392 float dY = end.y - start.y; in recognizeGesturePath() local 393 int direction = toDirection(dX, dY); in recognizeGesturePath() 412 private static int toDirection(float dX, float dY) { in toDirection() argument 413 if (Math.abs(dX) > Math.abs(dY)) { in toDirection() [all …]
|
D | MultiFingerMultiTap.java | 258 final float dY = p.y - event.getY(index); in findNearestPoint() local 259 if (dX == 0 && dY == 0) { in findNearestPoint() 265 final float delta = (float) Math.hypot(dX, dY); in findNearestPoint()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/ |
D | DistanceClassifier.java | 140 float dY = getLastMotionEvent().getY() - getFirstMotionEvent().getY(); in calculateDistances() local 142 return new DistanceVectors(dX, dY, vX, vY); in calculateDistances() 207 float dY = distanceVectors.mDy + distanceVectors.mVy * mVelocityToDistanceMultiplier; in getPassedFlingThreshold() local 219 return Math.abs(dY) >= mVerticalFlingThresholdPx; in getPassedFlingThreshold() 228 DistanceVectors(float dX, float dY, float vX, float vY) { in DistanceVectors() argument 230 this.mDy = dY; in DistanceVectors()
|
/frameworks/base/core/java/com/android/internal/widget/helper/ |
D | ItemTouchUIUtilImpl.java | 32 float dX, float dY, int actionState, boolean isCurrentlyActive) { in onDraw() argument 45 view.setTranslationY(dY); in onDraw() 82 View view, float dX, float dY, int actionState, boolean isCurrentlyActive) { in onDrawOver() argument
|
D | ItemTouchUIUtil.java | 44 float dX, float dY, int actionState, boolean isCurrentlyActive); in onDraw() argument 51 float dX, float dY, int actionState, boolean isCurrentlyActive); in onDrawOver() argument
|
D | ItemTouchHelper.java | 1925 int actionState, float dX, float dY) { in onDraw() argument 1937 onChildDraw(c, parent, selected, dX, dY, actionState, true); in onDraw() 1944 int actionState, float dX, float dY) { in onDrawOver() argument 1955 onChildDrawOver(c, parent, selected, dX, dY, actionState, true); in onDrawOver() 2018 float dX, float dY, int actionState, boolean isCurrentlyActive) { in onChildDraw() argument 2019 sUICallback.onDraw(c, recyclerView, viewHolder.itemView, dX, dY, actionState, in onChildDraw() 2052 float dX, float dY, int actionState, boolean isCurrentlyActive) { in onChildDrawOver() argument 2053 sUICallback.onDrawOver(c, recyclerView, viewHolder.itemView, dX, dY, actionState, in onChildDrawOver()
|
/frameworks/av/media/libeffects/loudness/dsp/core/ |
D | interpolator_linear.h | 66 T dY = y_data_[cached_index_ + 1] - y_data_[cached_index_]; in MethodSpecificInterpolation() local 68 return y_data_[cached_index_] + (dY * dx) / dX; in MethodSpecificInterpolation()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | RippleForeground.java | 353 final float dY = mStartingY - cY; in clampStartingPosition() local 355 if (dX * dX + dY * dY > r * r) { in clampStartingPosition() 357 final double angle = Math.atan2(dY, dX); in clampStartingPosition()
|
/frameworks/base/core/java/android/widget/ |
D | RadialTimePickerView.java | 936 final double dY = y - mYCenter; in getDegreesFromXY() local 937 final double distFromCenter = Math.sqrt(dX * dX + dY * dY); in getDegreesFromXY() 943 final int degrees = (int) (Math.toDegrees(Math.atan2(dY, dX) + Math.PI / 2) + 0.5); in getDegreesFromXY() 954 final double dY = y - mYCenter; in getInnerCircleFromXY() local 955 final double distFromCenter = Math.sqrt(dX * dX + dY * dY); in getInnerCircleFromXY()
|
D | TimePickerClockDelegate.java | 1118 final int dY = y - (child.getTop() + child.getHeight() / 2); 1119 final int dist = dX * dX + dY * dY;
|
D | AbsListView.java | 5877 int dX, dY; // dest x, y in getDistance() local 5883 dY = dest.top + dest.height() / 2; in getDistance() 5889 dY = dest.top; in getDistance() 5895 dY = dest.top + dest.height() / 2; in getDistance() 5901 dY = dest.bottom; in getDistance() 5908 dY = dest.top + dest.height() / 2; in getDistance() 5916 int deltaY = dY - sY; in getDistance()
|
/frameworks/base/tools/aapt2/compile/ |
D | Png.cpp | 852 int endY, int dX, int dY, int* outInset) { in findMaxOpacity() argument 857 x += dX, y += dY, inset++) { in findMaxOpacity()
|
/frameworks/base/tools/aapt/ |
D | Images.cpp | 412 int startX, int startY, int endX, int endY, int dX, int dY, in find_max_opacity() argument 418 for (int x = startX, y = startY; x != endX && y != endY; x += dX, y += dY, inset++) { in find_max_opacity()
|
/frameworks/base/services/tests/servicestests/res/raw/ |
D | backup_telephony_no_password | 33 …W�%'�t��H3��V�hK���������Qյ��h6"�äկۇ�v_x�D��g:���z6�J��g�G�N�t)R��Ɔ�6dY���ϚJ�@/��W�"�K�L��\�…
|