/frameworks/opt/setupwizard/library/full-support/test/src/com/android/setupwizardlib/test/ |
H A D | RecyclerViewRequireScrollHelperTest.java | 119 public void smoothScrollBy(int dx, int dy) { argument 120 super.smoothScrollBy(dx, dy);
|
/frameworks/rs/java/tests/Refocus/src/com/android/rs/test/d1new/ |
H A D | KernelDataForRenderScriptd1new.java | 93 // (dx,dy)} uniformly within [-0.5,0.5]*[-0.5,0.5]. 104 float dx = dx0 + (float) u / (float) getNumSubPixels(); 108 float xf = x - kernelRadius + dx;
|
/frameworks/rs/java/tests/Refocus/src/com/android/rs/test/f32/ |
H A D | KernelDataForRenderScriptF32.java | 91 // (dx,dy)} uniformly within [-0.5,0.5]*[-0.5,0.5]. 102 float dx = dx0 + (float) u / (float) getNumSubPixels(); 106 float xf = x - kernelRadius + dx;
|
/frameworks/base/core/java/android/gesture/ |
H A D | GestureStroke.java | 138 float dx = Math.abs(x - mX); 140 if (dx >= TOUCH_TOLERANCE || dy >= TOUCH_TOLERANCE) { 187 float dx = Math.abs(x - mX); 189 if (dx >= TOUCH_TOLERANCE || dy >= TOUCH_TOLERANCE) {
|
H A D | GestureUtils.java | 380 float dx = points[i + 2] - points[i]; 382 sum += Math.hypot(dx, dy); 389 float dx = points[2] - points[0]; 391 return (float) Math.hypot(dx, dy) / totalLen; 395 float dx = points[2] - points[0]; 397 return (float) Math.hypot(dx, dy) / totalLen; 576 static float[] translate(float[] points, float dx, float dy) { argument 579 points[i] += dx;
|
/frameworks/base/core/java/android/text/method/ |
H A D | Touch.java | 139 float dx; 144 dx = event.getX() - ds[0].mX; 147 dx = ds[0].mX - event.getX(); 153 int nx = widget.getScrollX() + (int) dx;
|
/frameworks/rs/java/tests/HealingBrush/src/rs/example/android/com/healingbrush/ |
H A D | find_region.rs | 142 int dx = x-imagePosX; 146 float3 orig = convert_float3(rsGetElementAt_uchar4(image, coord.x + dx, coord.y + dy).xyz);
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | SlidingTab.java | 243 int dx = horiz ? (alignment == ALIGN_LEFT ? alignment_value - tab.getRight() 248 Animation trans = new TranslateAnimation(0, dx, 0, dy); 262 int dx = horiz ? (alignment == ALIGN_LEFT ? tab.getWidth() : -tab.getWidth()) : 0; 265 Animation trans = new TranslateAnimation(-dx, 0, -dy, 0); 304 int dx = horiz ? (alignment == ALIGN_LEFT ? alignment_value - tab.getLeft() 309 TranslateAnimation trans = new TranslateAnimation(0, dx, 0, dy); 316 text.offsetLeftAndRight(dx); 317 tab.offsetLeftAndRight(dx); 648 final int dx; 656 dx [all...] |
H A D | SwipeDismissLayout.java | 213 float dx = ev.getRawX() - mDownX; 216 if (dx != 0 && canScroll(this, false, dx, x, y)) { 372 * Tests scrollability within child views of v in the direction of dx. 377 * @param dx Delta scrolled in pixels. Only the sign of this is used. 380 * @return true if child views of v can be scrolled by delta of dx. 382 protected boolean canScroll(View v, boolean checkV, float dx, float x, float y) { argument 392 canScroll(child, true, dx, x + scrollX - child.getLeft(), 399 return checkV && v.canScrollHorizontally((int) -dx);
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | Rect.java | 286 * Offset the rectangle by adding dx to its left and right coordinates, and 289 * @param dx The amount to add to the rectangle's left and right coordinates 292 public void offset(int dx, int dy) { argument 293 left += dx; 295 right += dx; 314 * Inset the rectangle by (dx,dy). If dx is positive, then the sides are 315 * moved inwards, making the rectangle narrower. If dx is negative, then the 319 * @param dx The amount to add(subtract) from the rectangle's left(right) 322 public void inset(int dx, in argument [all...] |
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/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/api/ |
H A D | omxVC_s.h | 101 dx EQU 0;
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/api/ |
H A D | omxVC_s.h | 101 dx EQU 0;
|
/frameworks/base/libs/hwui/ |
H A D | SpotShadow.h | 45 const Vector2& point, float dx, float dy);
|
H A D | Rect.h | 191 void translate(float dx, float dy) { argument 192 left += dx; 193 right += dx;
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
H A D | RecyclerViewAccessibilityTest.java | 111 public int scrollHorizontallyBy(int dx, RecyclerView.Recycler recycler, 113 if (dx > 0) { 115 } else if (dx < 0) {
|
H A D | RecyclerViewPrefetchTest.java | 65 int gatherPrefetchIndices(int dx, int dy, RecyclerView.State state, int[] outIndices) { argument
|
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
H A D | RecyclerView.java | 1921 * @param dx Pixels to scroll horizontally 1924 public void smoothScrollBy(int dx, int dy) { argument 1934 dx = 0; 1939 if (dx != 0 || dy != 0) { 1940 mViewFlinger.smoothScrollBy(dx, dy); 2082 void considerReleasingGlowsOnScroll(int dx, int dy) { argument 2084 if (mLeftGlow != null && !mLeftGlow.isFinished() && dx > 0) { 2087 if (mRightGlow != null && !mRightGlow.isFinished() && dx < 0) { 2620 final int dx = x - mInitialTouchX; 2623 if (canScrollHorizontally && Math.abs(dx) > mTouchSlo 4296 offsetChildrenHorizontal(int dx) argument 4368 onScrolled(int dx, int dy) argument 4465 postFromTraversal(int dx, int dy) argument 4702 smoothScrollBy(int dx, int dy) argument 4706 smoothScrollBy(int dx, int dy, int vx, int vy) argument 4716 computeScrollDuration(int dx, int dy, int vx, int vy) argument 4738 smoothScrollBy(int dx, int dy, int duration) argument 4742 smoothScrollBy(int dx, int dy, int duration, Interpolator interpolator) argument 6916 gatherPrefetchIndices(int dx, int dy, State state, int[] outIndices) argument 7195 scrollHorizontallyBy(int dx, Recycler recycler, State state) argument 7903 offsetChildrenHorizontal(int dx) argument 9534 onScrolled(RecyclerView recyclerView, int dx, int dy) argument 10168 dispatchNestedPreScroll(int dx, int dy, int[] consumed, int[] offsetInWindow) argument 10439 onAnimation(int dx, int dy) argument 10545 onSeekTargetStep(int dx, int dy, State state, Action action) argument 10585 Action(int dx, int dy) argument 10594 Action(int dx, int dy, int duration) argument 10605 Action(int dx, int dy, int duration, Interpolator interpolator) argument 10680 setDx(int dx) argument 10726 update(int dx, int dy, int duration, Interpolator interpolator) argument [all...] |
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/helper/ |
H A D | ItemTouchHelper.java | 172 * Re-use array to calculate dx dy for a ViewHolder 521 float dx = 0, dy = 0; 524 dx = mTmpPosition[0]; 528 mRecoverAnimations, mActionState, dx, dy); 535 float dx = 0, dy = 0; 538 dx = mTmpPosition[0]; 542 mRecoverAnimations, mActionState, dx, dy); 800 final int dx = Math.abs(centerX - (other.getLeft() + other.getRight()) / 2); 802 final int dist = dx * dx [all...] |
/frameworks/base/core/jni/android/graphics/ |
H A D | Path.cpp | 118 static void rMoveTo(JNIEnv* env, jobject clazz, jlong objHandle, jfloat dx, jfloat dy) { argument 120 obj->rMoveTo(dx, dy); 128 static void rLineTo(JNIEnv* env, jobject clazz, jlong objHandle, jfloat dx, jfloat dy) { argument 130 obj->rLineTo(dx, dy); 216 static void addPath__PathFF(JNIEnv* env, jobject clazz, jlong objHandle, jlong srcHandle, jfloat dx, jfloat dy) { argument 219 obj->addPath(*src, dx, dy); 235 static void offset__FF(JNIEnv* env, jobject clazz, jlong objHandle, jfloat dx, jfloat dy) { argument 237 obj->offset(dx, dy); 240 static void setLastPoint(JNIEnv* env, jobject clazz, jlong objHandle, jfloat dx, jfloat dy) { argument 242 obj->setLastPt(dx, d [all...] |
H A D | Matrix.cpp | 70 static void setTranslate(JNIEnv* env, jobject clazz, jlong objHandle, jfloat dx, jfloat dy) { argument 72 obj->setTranslate(dx, dy); 113 static void preTranslate(JNIEnv* env, jobject clazz, jlong objHandle, jfloat dx, jfloat dy) { argument 115 obj->preTranslate(dx, dy); 154 static void postTranslate(JNIEnv* env, jobject clazz, jlong objHandle, jfloat dx, jfloat dy) { argument 156 obj->postTranslate(dx, dy);
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | Matrix_Delegate.java | 251 /*package*/ static void native_setTranslate(long native_object, float dx, float dy) { argument 257 setTranslate(d.mValues, dx, dy); 386 /*package*/ static void native_preTranslate(long native_object, float dx, float dy) { argument 389 d.preTransform(getTranslate(dx, dy)); 459 /*package*/ static void native_postTranslate(long native_object, float dx, float dy) { argument 462 d.postTransform(getTranslate(dx, dy)); 944 * @param dx 948 /*package*/ static float[] getTranslate(float dx, float dy) { argument 949 return setTranslate(new float[9], dx, dy); 952 /*package*/ static float[] setTranslate(float[] dest, float dx, floa argument [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | OverScroller.java | 350 * @param dx Horizontal distance to travel. Positive numbers will scroll the 355 public void startScroll(int startX, int startY, int dx, int dy) { argument 356 startScroll(startX, startY, dx, dy, DEFAULT_DURATION); 366 * @param dx Horizontal distance to travel. Positive numbers will scroll the 372 public void startScroll(int startX, int startY, int dx, int dy, int duration) { argument 374 mScrollerX.startScroll(startX, dx, duration); 532 final int dx = mScrollerX.mFinal - mScrollerX.mStart; 534 return !isFinished() && Math.signum(xvel) == Math.signum(dx) &&
|
/frameworks/support/core-ui/java/android/support/v4/widget/ |
H A D | SlidingPaneLayout.java | 851 final float dx = x - mInitialMotionX; 854 if (dx * dx + dy * dy < slop * slop 1210 final int dx = oldOffset - newOffset; 1212 v.offsetLeftAndRight(isLayoutRtl ? -dx : dx); 1222 * Tests scrollability within child views of v given a delta of dx. 1227 * @param dx Delta scrolled in pixels 1230 * @return true if child views of v can be scrolled by delta of dx. 1232 protected boolean canScroll(View v, boolean checkV, int dx, in argument 1348 onViewPositionChanged(View changedView, int left, int top, int dx, int dy) argument 1381 clampViewPositionHorizontal(View child, int left, int dx) argument [all...] |
/frameworks/base/core/java/android/view/ |
H A D | ViewParent.java | 548 * report how any pixels of the scroll reported by dx, dy were consumed in the 549 * <code>consumed</code> array. Index 0 corresponds to dx and index 1 corresponds to dy. 554 * @param dx Horizontal scroll distance in pixels 558 public void onNestedPreScroll(View target, int dx, int dy, int[] consumed); argument
|