/frameworks/base/libs/hwui/tests/unit/ |
H A D | FatalTestCanvas.h | 90 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 D | ViewUtilsBase.java | 113 final float dx = values[Matrix.MTRANS_X]; 117 view.setTranslationX(dx);
|
/frameworks/base/libs/hwui/ |
H A D | SpotShadow.h | 45 float dx, float dy);
|
H A D | Rect.h | 153 void translate(float dx, float dy) { argument 154 left += dx; 155 right += dx;
|
H A D | CanvasState.h | 106 void translate(float dx, float dy, float dz = 0.0f);
|
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/ |
H A D | RecyclerViewPrefetchTest.java | 60 public void collectAdjacentPrefetchPositions(int dx, int dy, RecyclerView.State state, argument
|
H A D | RecyclerViewSmoothScrollerTest.java | 75 protected void onSeekTargetStep(int dx, int dy, RecyclerView.State state, argument
|
H A D | TestedFrameLayout.java | 185 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 D | RecyclerViewAccessibilityTest.java | 113 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 D | Region.java | 218 * 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 D | BandSelectionHelper.java | 104 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 D | RecyclerView.java | 1940 * @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 D | ItemTouchHelper.java | 167 * 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 D | ItemTouchHelper.java | 170 * 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 D | Path.cpp | 85 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 D | Matrix.cpp | 169 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 D | Camera.cpp | 35 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 D | Matrix_Delegate.java | 257 /*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 D | OverScroller.java | 352 * @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 D | OctopusDrawable.java | 286 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 D | SlidingPaneLayout.java | 835 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 D | ViewParent.java | 590 * 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 D | DoubleTapHelper.java | 172 void onDoubleTapLog(boolean accepted, float dx, float dy); argument
|
/frameworks/support/car/src/main/java/androidx/car/app/ |
H A D | CarListDialog.java | 174 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 D | mp4dec_lib.h | 179 int dx, /* i */ 197 int dx, /* i */
|