Home
last modified time | relevance | path

Searched defs:dx (Results 1 – 25 of 98) sorted by relevance

1234

/aosp14/frameworks/base/media/mca/filterpacks/native/base/
H A Dgeometry.cpp80 const float dx = width * (ratio / current_ratio - 1.0f); in ExpandToAspectRatio() local
98 const float dx = width * (length / current_length - 1.0f); in ExpandToMinLength() local
123 const float dx = width * (f - 1.0f); in ScaleWithLengthLimit() local
146 Point dx = dy; in FromCenterAxisAndLengths() local
/aosp14/frameworks/base/media/mca/filterfw/native/core/
H A Dgeometry.cpp79 const float dx = width * (ratio / current_ratio - 1.0f); in ExpandToAspectRatio() local
97 const float dx = width * (length / current_length - 1.0f); in ExpandToMinLength() local
122 const float dx = width * (f - 1.0f); in ScaleWithLengthLimit() local
/aosp14/frameworks/base/core/java/com/android/internal/widget/
H A DLinearSmoothScroller.java112 final int dx = calculateDxToMakeVisible(targetView, getHorizontalSnapPreference()); in onTargetFound() local
125 protected void onSeekTargetStep(int dx, int dy, RecyclerView.State state, Action action) { in onSeekTargetStep()
173 protected int calculateTimeForDeceleration(int dx) { in calculateTimeForDeceleration()
189 protected int calculateTimeForScrolling(int dx) { in calculateTimeForScrolling()
H A DNestedScrollingChild.java174 boolean dispatchNestedPreScroll(int dx, int dy, @Nullable int[] consumed, in dispatchNestedPreScroll()
H A DSlidingTab.java246 int dx = horiz ? (alignment == ALIGN_LEFT ? alignment_value - tab.getRight() in hide() local
265 int dx = horiz ? (alignment == ALIGN_LEFT ? tab.getWidth() : -tab.getWidth()) : 0; in show() local
307 int dx = horiz ? (alignment == ALIGN_LEFT ? alignment_value - tab.getLeft() in reset() local
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
H A DBubblesNavBarMotionEventHandler.java66 float dx = motionEvent.getX() - mTouchDown.x; in onMotionEvent() local
159 void onMove(float dx, float dy); in onMove()
/aosp14/frameworks/base/core/java/android/transition/
H A DPatternPathMotion.java118 float dx = endX - startX; in setPatternPath() local
131 double dx = endX - startX; in getPath() local
/aosp14/frameworks/base/graphics/java/android/graphics/
H A DLayerRasterizer.java31 public void addLayer(Paint paint, float dx, float dy) { } in addLayer()
H A DPath.java333 public void rMoveTo(float dx, float dy) { in rMoveTo()
359 public void rLineTo(float dx, float dy) { in rLineTo()
677 public void addPath(@NonNull Path src, float dx, float dy) { in addPath()
707 public void offset(float dx, float dy, @Nullable Path dst) { in offset()
722 public void offset(float dx, float dy) { in offset()
732 public void setLastPoint(float dx, float dy) { in setLastPoint()
841 private static native void nRMoveTo(long nPath, float dx, float dy); in nRMoveTo()
843 private static native void nRLineTo(long nPath, float dx, float dy); in nRLineTo()
868 private static native void nAddPath(long nPath, long src, float dx, float dy); in nAddPath()
871 private static native void nOffset(long nPath, float dx, float dy); in nOffset()
[all …]
H A DMatrix.java319 public void setTranslate(float dx, float dy) { in setTranslate()
399 public boolean preTranslate(float dx, float dy) { in preTranslate()
463 public boolean postTranslate(float dx, float dy) { in postTranslate()
888 private static native void nSetTranslate(long nObject, float dx, float dy); in nSetTranslate()
909 private static native void nPreTranslate(long nObject, float dx, float dy); in nPreTranslate()
925 private static native void nPostTranslate(long nObject, float dx, float dy); in nPostTranslate()
H A DPoint.java70 public final void offset(int dx, int dy) { in offset()
H A DRectF.java243 public void offset(float dx, float dy) { in offset()
273 public void inset(float dx, float dy) { in inset()
H A DPointF.java75 public final void offset(float dx, float dy) { in offset()
H A DCamera.java153 public native float dotWithNormal(float dx, float dy, float dz); in dotWithNormal()
/aosp14/frameworks/base/tests/RenderThreadTest/src/com/example/renderthread/
H A DSubActivity.java43 int dx = getWindowManager().getDefaultDisplay().getWidth(); in onResume() local
/aosp14/frameworks/base/core/java/android/view/animation/
H A DTranslateXAnimation.java52 float dx = mFromXDelta + ((mToXDelta - mFromXDelta) * interpolatedTime); in applyTransformation() local
/aosp14/frameworks/base/core/java/android/gesture/
H A DGestureStroke.java138 float dx = Math.abs(x - mX); in makePath() local
187 float dx = Math.abs(x - mX); in toPath() local
H A DGestureUtils.java380 float dx = points[i + 2] - points[i]; in computeTotalLength() local
389 float dx = points[2] - points[0]; in computeStraightness() local
395 float dx = points[2] - points[0]; in computeStraightness() local
576 static float[] translate(float[] points, float dx, float dy) { in translate()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/bubbles/
H A DRelativeTouchListener.kt98 val dx = ev.rawX - touchDown.x regex
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/udfps/
H A DEllipseOverlapDetector.kt101 val dx = cX - x regex
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/
H A DDragDetector.java94 float dx = ev.getRawX(dragPointerIndex) - mInputDownPoint.x; in onMotionEvent() local
/aosp14/frameworks/base/core/java/android/widget/
H A DScroller.java375 public void startScroll(int startX, int startY, int dx, int dy) { in startScroll()
393 public void startScroll(int startX, int startY, int dx, int dy, int duration) { in startScroll()
432 float dx = (float) (mFinalX - mStartX); in fling() local
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/
H A DMenuListViewTouchHandler.java59 final float dx = motionEvent.getRawX() - mDown.x; in onInterceptTouchEvent() local
/aosp14/frameworks/base/core/tests/coretests/src/android/widget/
H A DAbsSeekBarTest.java148 private Rect offset(Rect rect, int dx, int dy) { in offset()
/aosp14/frameworks/base/media/mca/filterfw/java/android/filterfw/geometry/
H A DRectangle.java62 Point dx = vAxis.rotated90(1).scaledTo(size.x / 2.0f); in fromCenterVerticalAxis() local

1234