Home
last modified time | relevance | path

Searched refs:dY (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityGestureDetector.java334 final float dY = Math.abs(y - mPreviousGestureY); in onMotionEvent() local
335 if (dX >= mMinPixelsBetweenSamplesX || dY >= mMinPixelsBetweenSamplesY) { in onMotionEvent()
349 final float dY = Math.abs(y - mPreviousGestureY); in onMotionEvent() local
350 if (dX >= mMinPixelsBetweenSamplesX || dY >= mMinPixelsBetweenSamplesY) { in onMotionEvent()
493 float dY = 0; in recognizeGesture() local
503 float currentDY = dY / count; in recognizeGesture()
529 dY = 0; in recognizeGesture()
542 dY = dY + currentDY / length; in recognizeGesture()
570 float dY = end.y - start.y; in recognizeGesturePath() local
571 int direction = toDirection(dX, dY); in recognizeGesturePath()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/brightline/
DDistanceClassifier.java131 float dY = getLastMotionEvent().getY() - getFirstMotionEvent().getY(); in calculateDistances() local
133 logInfo("dX: " + dX + " dY: " + dY + " xV: " + vX + " yV: " + vY); in calculateDistances()
135 return new DistanceVectors(dX, dY, vX, vY); in calculateDistances()
160 DistanceVectors(float dX, float dY, float vX, float vY) { in DistanceVectors() argument
162 this.mDy = dY; in DistanceVectors()
182 float dY = this.mDy + this.mVy * mVelocityToDistanceMultiplier; in getPassedFlingThreshold() local
194 return Math.abs(dY) >= mVerticalFlingThresholdPx; in getPassedFlingThreshold()
/frameworks/base/core/java/com/android/internal/widget/helper/
DItemTouchUIUtilImpl.java32 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
DItemTouchUIUtil.java44 float dX, float dY, int actionState, boolean isCurrentlyActive); in onDraw() argument
51 float dX, float dY, int actionState, boolean isCurrentlyActive); in onDrawOver() argument
DItemTouchHelper.java1925 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/
Dinterpolator_linear.h66 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/
DRippleForeground.java353 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/
DRadialTimePickerView.java936 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()
DTimePickerClockDelegate.java1118 final int dY = y - (child.getTop() + child.getHeight() / 2);
1119 final int dist = dX * dX + dY * dY;
DAbsListView.java5815 int dX, dY; // dest x, y in getDistance() local
5821 dY = dest.top + dest.height() / 2; in getDistance()
5827 dY = dest.top; in getDistance()
5833 dY = dest.top + dest.height() / 2; in getDistance()
5839 dY = dest.bottom; in getDistance()
5846 dY = dest.top + dest.height() / 2; in getDistance()
5854 int deltaY = dY - sY; in getDistance()
/frameworks/base/tools/aapt2/compile/
DPng.cpp852 int endY, int dX, int dY, int* outInset) { in findMaxOpacity() argument
857 x += dX, y += dY, inset++) { in findMaxOpacity()
/frameworks/base/tools/aapt/
DImages.cpp412 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/
Dbackup_telephony_no_password33 …W�%'�t��H3��V�hK���������Qյ��h6"�äկۇ�v_x�D��g:���z6�J��g�G�N �t)R��Ɔ�6dY���ϚJ�@/��W�"�K�L��\�…