/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | AccessibilityGestureDetector.java | 333 final float dX = Math.abs(x - mPreviousGestureX); in onMotionEvent() local 335 if (dX >= mMinPixelsBetweenSamplesX || dY >= mMinPixelsBetweenSamplesY) { in onMotionEvent() 348 final float dX = Math.abs(x - mPreviousGestureX); in onMotionEvent() local 350 if (dX >= mMinPixelsBetweenSamplesX || dY >= mMinPixelsBetweenSamplesY) { in onMotionEvent() 492 float dX = 0; // Sum of unit vectors from last delimiter to each following point in recognizeGesture() local 502 float currentDX = dX / count; in recognizeGesture() 528 dX = 0; in recognizeGesture() 541 dX = dX + currentDX / length; in recognizeGesture() 569 float dX = end.x - start.x; in recognizeGesturePath() local 571 int direction = toDirection(dX, dY); in recognizeGesturePath() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/brightline/ |
D | DistanceClassifier.java | 130 float dX = getLastMotionEvent().getX() - getFirstMotionEvent().getX(); 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 161 this.mDx = dX; in DistanceVectors() 181 float dX = this.mDx + this.mVx * mVelocityToDistanceMultiplier; in getPassedFlingThreshold() local 188 return Math.abs(dX) >= mHorizontalFlingThresholdPx; in getPassedFlingThreshold()
|
/frameworks/base/core/java/com/android/internal/widget/helper/ |
D | ItemTouchUIUtilImpl.java | 32 float dX, float dY, int actionState, boolean isCurrentlyActive) { in onDraw() argument 44 view.setTranslationX(dX); 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 | 65 T dX = x_data_[cached_index_ + 1] - x_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 | 352 final float dX = mStartingX - cX; 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 | 935 final double dX = x - mXCenter; 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() 953 final double dX = x - mXCenter; in getInnerCircleFromXY() local 955 final double distFromCenter = Math.sqrt(dX * dX + dY * dY); in getInnerCircleFromXY()
|
D | TimePickerClockDelegate.java | 1117 final int dX = x - (child.getLeft() + child.getWidth() / 2); 1119 final int dist = dX * dX + dY * dY;
|
D | AbsListView.java | 5815 int dX, dY; // dest x, y in getDistance() local 5820 dX = dest.left; in getDistance() 5826 dX = dest.left + dest.width() / 2; in getDistance() 5832 dX = dest.right; in getDistance() 5838 dX = dest.left + dest.width() / 2; in getDistance() 5845 dX = dest.left + dest.width() / 2; in getDistance() 5853 int deltaX = dX - sX; 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()
|