Searched refs:dx (Results 76 - 100 of 203) sorted by relevance

123456789

/frameworks/base/libs/hwui/tests/unit/
H A DFatalTestCanvas.h90 void onDrawImage(const SkImage*, SkScalar dx, SkScalar dy, const SkPaint*) { argument
104 void onDrawBitmap(const SkBitmap&, SkScalar dx, SkScalar dy, const SkPaint*) { argument
/frameworks/support/transition/src/main/java/androidx/transition/
H A DViewUtilsBase.java113 final float dx = values[Matrix.MTRANS_X];
117 view.setTranslationX(dx);
/frameworks/base/libs/hwui/
H A DSpotShadow.h45 float dx, float dy);
H A DRect.h153 void translate(float dx, float dy) { argument
154 left += dx;
155 right += dx;
H A DCanvasState.h106 void translate(float dx, float dy, float dz = 0.0f);
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/
H A DRecyclerViewPrefetchTest.java60 public void collectAdjacentPrefetchPositions(int dx, int dy, RecyclerView.State state, argument
H A DRecyclerViewSmoothScrollerTest.java75 protected void onSeekTargetStep(int dx, int dy, RecyclerView.State state, argument
H A DTestedFrameLayout.java185 public void onNestedPreScroll(View target, int dx, int dy, int[] consumed) { argument
186 onNestedPreScroll(target, dx, dy, consumed, ViewCompat.TYPE_TOUCH);
245 public void onNestedPreScroll(@NonNull View target, int dx, int dy, @NonNull int[] consumed, argument
248 mNestedScrollingDelegate.onNestedPreScroll(target, dx, dy, consumed, type);
H A DRecyclerViewAccessibilityTest.java113 public int scrollHorizontallyBy(int dx, RecyclerView.Recycler recycler,
115 if (dx > 0) {
117 } else if (dx < 0) {
/frameworks/base/graphics/java/android/graphics/
H A DRegion.java218 * Translate the region by [dx, dy]. If the region is empty, do nothing.
220 public void translate(int dx, int dy) { argument
221 translate(dx, dy, null);
225 * Set the dst region to the result of translating this region by [dx, dy].
228 public native void translate(int dx, int dy, Region dst); argument
/frameworks/support/recyclerview-selection/src/main/java/androidx/recyclerview/selection/
H A DBandSelectionHelper.java104 public void onScrolled(RecyclerView recyclerView, int dx, int dy) {
105 BandSelectionHelper.this.onScrolled(recyclerView, dx, dy);
311 private void onScrolled(@NonNull RecyclerView recyclerView, int dx, int dy) { argument
/frameworks/base/core/java/com/android/internal/widget/
H A DRecyclerView.java1940 * @param dx Pixels to scroll horizontally
1943 public void smoothScrollBy(int dx, int dy) { argument
1944 smoothScrollBy(dx, dy, null);
1950 * @param dx Pixels to scroll horizontally
1955 public void smoothScrollBy(int dx, int dy, Interpolator interpolator) { argument
1965 dx = 0;
1970 if (dx != 0 || dy != 0) {
1971 mViewFlinger.smoothScrollBy(dx, dy, interpolator);
2121 void considerReleasingGlowsOnScroll(int dx, int dy) { argument
2123 if (mLeftGlow != null && !mLeftGlow.isFinished() && dx >
4471 offsetChildrenHorizontal(int dx) argument
4543 onScrolled(int dx, int dy) argument
4790 smoothScrollBy(int dx, int dy) argument
4794 smoothScrollBy(int dx, int dy, int vx, int vy) argument
4804 computeScrollDuration(int dx, int dy, int vx, int vy) argument
4826 smoothScrollBy(int dx, int dy, int duration) argument
4830 smoothScrollBy(int dx, int dy, Interpolator interpolator) argument
4835 smoothScrollBy(int dx, int dy, int duration, Interpolator interpolator) argument
7205 collectAdjacentPrefetchPositions(int dx, int dy, State state, LayoutPrefetchRegistry layoutPrefetchRegistry) argument
7511 scrollHorizontallyBy(int dx, Recycler recycler, State state) argument
8221 offsetChildrenHorizontal(int dx) argument
9848 onScrolled(RecyclerView recyclerView, int dx, int dy) argument
10708 onAnimation(int dx, int dy) argument
10814 onSeekTargetStep(int dx, int dy, State state, Action action) argument
10854 Action(int dx, int dy) argument
10863 Action(int dx, int dy, int duration) argument
10874 Action(int dx, int dy, int duration, Interpolator interpolator) argument
10950 setDx(int dx) argument
10996 update(int dx, int dy, int duration, Interpolator interpolator) argument
[all...]
/frameworks/base/core/java/com/android/internal/widget/helper/
H A DItemTouchHelper.java167 * Re-use array to calculate dx dy for a ViewHolder
515 float dx = 0, dy = 0;
518 dx = mTmpPosition[0];
522 mRecoverAnimations, mActionState, dx, dy);
529 float dx = 0, dy = 0;
532 dx = mTmpPosition[0];
536 mRecoverAnimations, mActionState, dx, dy);
794 final int dx = Math.abs(centerX - (other.getLeft() + other.getRight()) / 2);
796 final int dist = dx * dx
[all...]
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/
H A DItemTouchHelper.java170 * Re-use array to calculate dx dy for a ViewHolder
534 float dx = 0, dy = 0;
537 dx = mTmpPosition[0];
541 mRecoverAnimations, mActionState, dx, dy);
548 float dx = 0, dy = 0;
551 dx = mTmpPosition[0];
555 mRecoverAnimations, mActionState, dx, dy);
817 final int dx = Math.abs(centerX - (other.getLeft() + other.getRight()) / 2);
819 final int dist = dx * dx
[all...]
/frameworks/base/core/jni/android/graphics/
H A DPath.cpp85 static void rMoveTo(JNIEnv* env, jclass clazz, jlong objHandle, jfloat dx, jfloat dy) { argument
87 obj->rMoveTo(dx, dy);
95 static void rLineTo(JNIEnv* env, jclass clazz, jlong objHandle, jfloat dx, jfloat dy) { argument
97 obj->rLineTo(dx, dy);
189 jfloat dx, jfloat dy) {
192 obj->addPath(*src, dx, dy);
209 static void offset__FF(JNIEnv* env, jclass clazz, jlong objHandle, jfloat dx, jfloat dy) { argument
211 obj->offset(dx, dy);
214 static void setLastPoint(JNIEnv* env, jclass clazz, jlong objHandle, jfloat dx, jfloat dy) { argument
216 obj->setLastPt(dx, d
188 addPath__PathFF(JNIEnv* env, jclass clazz, jlong objHandle, jlong srcHandle, jfloat dx, jfloat dy) argument
[all...]
H A DMatrix.cpp169 static void setTranslate(jlong objHandle, jfloat dx, jfloat dy) { argument
171 obj->setTranslate(dx, dy);
226 static void preTranslate(jlong objHandle, jfloat dx, jfloat dy) { argument
228 obj->preTranslate(dx, dy);
270 static void postTranslate(jlong objHandle, jfloat dx, jfloat dy) { argument
272 obj->postTranslate(dx, dy);
H A DCamera.cpp35 jfloat dx, jfloat dy, jfloat dz) {
38 v->translate(dx, dy, dz);
34 Camera_translate(JNIEnv* env, jobject obj, jfloat dx, jfloat dy, jfloat dz) argument
/frameworks/layoutlib/bridge/src/android/graphics/
H A DMatrix_Delegate.java257 /*package*/ static void nSetTranslate(long native_object, float dx, float dy) { argument
263 setTranslate(d.mValues, dx, dy);
392 /*package*/ static void nPreTranslate(long native_object, float dx, float dy) { argument
395 d.preTransform(getTranslate(dx, dy));
465 /*package*/ static void nPostTranslate(long native_object, float dx, float dy) { argument
468 d.postTransform(getTranslate(dx, dy));
950 * @param dx
954 /*package*/ static float[] getTranslate(float dx, float dy) { argument
955 return setTranslate(new float[9], dx, dy);
958 /*package*/ static float[] setTranslate(float[] dest, float dx, floa argument
[all...]
/frameworks/base/core/java/android/widget/
H A DOverScroller.java352 * @param dx Horizontal distance to travel. Positive numbers will scroll the
357 public void startScroll(int startX, int startY, int dx, int dy) { argument
358 startScroll(startX, startY, dx, dy, DEFAULT_DURATION);
368 * @param dx Horizontal distance to travel. Positive numbers will scroll the
374 public void startScroll(int startX, int startY, int dx, int dy, int duration) { argument
376 mScrollerX.startScroll(startX, dx, duration);
534 final int dx = mScrollerX.mFinal - mScrollerX.mStart;
536 return !isFinished() && Math.signum(xvel) == Math.signum(dx) &&
/frameworks/base/packages/EasterEgg/src/com/android/egg/octo/
H A DOctopusDrawable.java286 private float dx, dy; field in class:OctopusDrawable.Link
290 Link(int index, float x1, float y1, float dx, float dy) { argument
293 this.dx = dx;
314 return new PointF(coords[0].getValue()+dx,coords[1].getValue()+dy);
318 0.5f*dx+(coords[0].getValue()),
/frameworks/support/slidingpanelayout/src/main/java/androidx/slidingpanelayout/widget/
H A DSlidingPaneLayout.java835 final float dx = x - mInitialMotionX;
838 if (dx * dx + dy * dy < slop * slop
1221 final int dx = oldOffset - newOffset;
1223 v.offsetLeftAndRight(isLayoutRtl ? -dx : dx);
1233 * Tests scrollability within child views of v given a delta of dx.
1238 * @param dx Delta scrolled in pixels
1241 * @return true if child views of v can be scrolled by delta of dx.
1243 protected boolean canScroll(View v, boolean checkV, int dx, in argument
1359 onViewPositionChanged(View changedView, int left, int top, int dx, int dy) argument
1392 clampViewPositionHorizontal(View child, int left, int dx) argument
[all...]
/frameworks/base/core/java/android/view/
H A DViewParent.java590 * report how any pixels of the scroll reported by dx, dy were consumed in the
591 * <code>consumed</code> array. Index 0 corresponds to dx and index 1 corresponds to dy.
596 * @param dx Horizontal scroll distance in pixels
600 public void onNestedPreScroll(View target, int dx, int dy, int[] consumed); argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DDoubleTapHelper.java172 void onDoubleTapLog(boolean accepted, float dx, float dy); argument
/frameworks/support/car/src/main/java/androidx/car/app/
H A DCarListDialog.java174 public void onScrolled(RecyclerView recyclerView, int dx, int dy) {
175 super.onScrolled(recyclerView, dx, dy);
229 public void onScrolled(RecyclerView recyclerView, int dx, int dy) {
230 super.onScrolled(recyclerView, dx, dy);
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dmp4dec_lib.h179 int dx, /* i */
197 int dx, /* i */

Completed in 639 milliseconds

123456789