Home
last modified time | relevance | path

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

12345

/frameworks/base/media/mca/filterpacks/native/base/
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
/frameworks/native/libs/ui/
DRegion.cpp428 Region& Region::orSelf(const Region& rhs, int dx, int dy) { in orSelf()
431 Region& Region::xorSelf(const Region& rhs, int dx, int dy) { in xorSelf()
434 Region& Region::andSelf(const Region& rhs, int dx, int dy) { in andSelf()
437 Region& Region::subtractSelf(const Region& rhs, int dx, int dy) { in subtractSelf()
440 Region& Region::operationSelf(const Region& rhs, int dx, int dy, uint32_t op) { in operationSelf()
448 const Region Region::merge(const Region& rhs, int dx, int dy) const { in merge()
451 const Region Region::mergeExclusive(const Region& rhs, int dx, int dy) const { in mergeExclusive()
454 const Region Region::intersect(const Region& rhs, int dx, int dy) const { in intersect()
457 const Region Region::subtract(const Region& rhs, int dx, int dy) const { in subtract()
460 const Region Region::operation(const Region& rhs, int dx, int dy, uint32_t op) const { in operation()
[all …]
/frameworks/base/media/mca/filterfw/native/core/
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
/frameworks/base/core/java/com/android/internal/widget/
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()
DNestedScrollingChild.java174 boolean dispatchNestedPreScroll(int dx, int dy, @Nullable int[] consumed, in dispatchNestedPreScroll()
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
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
DBubblesNavBarMotionEventHandler.java66 float dx = motionEvent.getX() - mTouchDown.x; in onMotionEvent() local
159 void onMove(float dx, float dy); in onMove()
/frameworks/base/core/java/android/transition/
DPatternPathMotion.java118 float dx = endX - startX; in setPatternPath() local
131 double dx = endX - startX; in getPath() local
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/bubbles/
DRelativeTouchListener.kt104 val dx = touchDown?.let { ev.rawX - it.x } ?: 0f in onTouch() constant
/frameworks/base/graphics/java/android/graphics/
DPath.java356 public void rMoveTo(float dx, float dy) { in rMoveTo()
382 public void rLineTo(float dx, float dy) { in rLineTo()
700 public void addPath(@NonNull Path src, float dx, float dy) { in addPath()
730 public void offset(float dx, float dy, @Nullable Path dst) { in offset()
745 public void offset(float dx, float dy) { in offset()
755 public void setLastPoint(float dx, float dy) { in setLastPoint()
864 private static native void nRMoveTo(long nPath, float dx, float dy); in nRMoveTo()
866 private static native void nRLineTo(long nPath, float dx, float dy); in nRLineTo()
891 private static native void nAddPath(long nPath, long src, float dx, float dy); in nAddPath()
894 private static native void nOffset(long nPath, float dx, float dy); in nOffset()
[all …]
DLayerRasterizer.java31 public void addLayer(Paint paint, float dx, float dy) { } in addLayer()
DMatrix.java322 public void setTranslate(float dx, float dy) { in setTranslate()
402 public boolean preTranslate(float dx, float dy) { in preTranslate()
466 public boolean postTranslate(float dx, float dy) { in postTranslate()
885 private static native void nSetTranslate(long nObject, float dx, float dy); in nSetTranslate()
906 private static native void nPreTranslate(long nObject, float dx, float dy); in nPreTranslate()
922 private static native void nPostTranslate(long nObject, float dx, float dy); in nPostTranslate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/udfps/
DEllipseOverlapDetector.kt101 val dx = cX - x in isPartOfSensorArea() constant
/frameworks/av/media/libeffects/loudness/dsp/core/
Dinterpolator_linear.h67 T dx = x - x_data_[cached_index_]; in MethodSpecificInterpolation() local
/frameworks/base/tests/graphics/RenderThreadTest/src/com/example/renderthread/
DSubActivity.java43 int dx = getWindowManager().getDefaultDisplay().getWidth(); in onResume() local
/frameworks/base/core/java/android/view/animation/
DTranslateXAnimation.java52 float dx = mFromXDelta + ((mToXDelta - mFromXDelta) * interpolatedTime); in applyTransformation() local
/frameworks/base/core/java/android/gesture/
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()
DGestureStroke.java138 float dx = Math.abs(x - mX); in makePath() local
187 float dx = Math.abs(x - mX); in toPath() local
/frameworks/libs/systemui/toruslib/torus-math/src/main/java/com/google/android/torus/math/
DVector3.kt160 val dx = x - this.x in distanceTo() constant
/frameworks/base/core/java/android/widget/
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
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/
DDragDetector.java94 float dx = ev.getRawX(dragPointerIndex) - mInputDownPoint.x; in onMotionEvent() local
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/d1new/
DKernelDataForRenderScriptd1new.java104 float dx = dx0 + (float) u / (float) getNumSubPixels(); in generateDiskKernelArray() local
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/f32/
DKernelDataForRenderScriptF32.java102 float dx = dx0 + (float) u / (float) getNumSubPixels(); in generateDiskKernelArray() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/
DMenuListViewTouchHandler.java61 final float dx = motionEvent.getRawX() - mDown.x; in onInterceptTouchEvent() local
/frameworks/base/core/tests/coretests/src/android/widget/
DAbsSeekBarTest.java148 private Rect offset(Rect rect, int dx, int dy) { in offset()

12345