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

123456789

/frameworks/support/v17/leanback/src/android/support/v17/leanback/graphics/
H A DColorOverlayDimmer.java150 float dx = v.getLeft() + v.getTranslationX();
152 c.translate(dx, dy);
154 c.translate(-dx, -dy);
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p10/src/
H A DarmVCM4P10_Interpolate_Chroma_s.s57 dx RN 6 label
147 M_LDRD dx, dy, Dx
150 ;// EightMinusdx = 8 - dx
154 ;// BCoeff = dx * EightMinusdy
156 ;// DCoeff = dx * dy
158 RSB EightMinusdx, dx, #8
160 CMN dx,dy
169 SMULBB BCoeff, dx, EightMinusdy
172 SMULBB DCoeff, dx, dy
/frameworks/base/graphics/java/android/graphics/
H A DRectF.java231 * Offset the rectangle by adding dx to its left and right coordinates, and
234 * @param dx The amount to add to the rectangle's left and right coordinates
237 public void offset(float dx, float dy) { argument
238 left += dx;
240 right += dx;
259 * Inset the rectangle by (dx,dy). If dx is positive, then the sides are
260 * moved inwards, making the rectangle narrower. If dx is negative, then the
264 * @param dx The amount to add(subtract) from the rectangle's left(right)
267 public void inset(float dx, floa argument
[all...]
H A DRect.java291 * Offset the rectangle by adding dx to its left and right coordinates, and
294 * @param dx The amount to add to the rectangle's left and right coordinates
297 public void offset(int dx, int dy) { argument
298 left += dx;
300 right += dx;
319 * Inset the rectangle by (dx,dy). If dx is positive, then the sides are
320 * moved inwards, making the rectangle narrower. If dx is negative, then the
324 * @param dx The amount to add(subtract) from the rectangle's left(right)
327 public void inset(int dx, in argument
[all...]
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/base/core/java/android/widget/
H A DScroller.java363 * @param dx Horizontal distance to travel. Positive numbers will scroll the
368 public void startScroll(int startX, int startY, int dx, int dy) { argument
369 startScroll(startX, startY, dx, dy, DEFAULT_DURATION);
380 * @param dx Horizontal distance to travel. Positive numbers will scroll the
386 public void startScroll(int startX, int startY, int dx, int dy, int duration) { argument
393 mFinalX = startX + dx;
395 mDeltaX = dx;
425 float dx = (float) (mFinalX - mStartX);
427 float hyp = (float) Math.hypot(dx, dy);
429 float ndx = dx / hy
[all...]
/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/
H A DTextViewBindingAdapter.java284 float dx = view.getShadowDx();
287 view.setShadowLayer(r, dx, dy, color);
292 public static void setShadowDx(TextView view, float dx) { argument
297 view.setShadowLayer(r, dx, dy, color);
305 float dx = view.getShadowDx();
307 view.setShadowLayer(r, dx, dy, color);
315 float dx = view.getShadowDx();
317 view.setShadowLayer(r, dx, dy, color);
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/d1new/
H A DKernelDataForRenderScriptd1new.java93 // (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/tests/java_api/Refocus/src/com/android/rs/test/f32/
H A DKernelDataForRenderScriptF32.java91 // (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/rs/tests/java_api/RsNbody/src/com/example/android/rs/nbody_gl/
H A DBasicGLRenderer.java110 public void onJoystick(float dx, float dy) { argument
111 mSwarm.onJoystick(dx, dy);
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DCacheUtils.java28 static void verifyPositionsPrefetched(RecyclerView view, int dx, int dy, argument
33 dx, dy, view.mState, layoutPrefetchRegistry);
H A DTestedFrameLayout.java144 public void onNestedPreScroll(View target, int dx, int dy, int[] consumed) { argument
145 onNestedPreScroll(target, dx, dy, consumed, ViewCompat.TYPE_TOUCH);
204 public void onNestedPreScroll(@NonNull View target, int dx, int dy, @Nullable int[] consumed, argument
207 mNestedScrollingDelegate.onNestedPreScroll(target, dx, dy, consumed, type);
/frameworks/base/core/java/android/gesture/
H A DGestureStroke.java138 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 DGestureUtils.java380 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 DTouch.java139 float dx;
144 dx = event.getX() - ds[0].mX;
147 dx = ds[0].mX - event.getX();
153 int nx = widget.getScrollX() + (int) dx;
/frameworks/opt/setupwizard/library/full-support/src/com/android/setupwizardlib/template/
H A DRecyclerViewScrollHandlingDelegate.java63 public void onScrolled(RecyclerView recyclerView, int dx, int dy) {
/frameworks/rs/tests/java_api/HealingBrush/src/rs/example/android/com/healingbrush/
H A Dfind_region.rs142 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 DSlidingTab.java243 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 DSwipeDismissLayout.java221 float dx = ev.getRawX() - mDownX;
224 if (dx != 0 && canScroll(this, false, dx, x, y)) {
380 * Tests scrollability within child views of v in the direction of dx.
385 * @param dx Delta scrolled in pixels. Only the sign of this is used.
388 * @return true if child views of v can be scrolled by delta of dx.
390 protected boolean canScroll(View v, boolean checkV, float dx, float x, float y) { argument
400 canScroll(child, true, dx, x + scrollX - child.getLeft(),
407 return checkV && v.canScrollHorizontally((int) -dx);
/frameworks/base/libs/hwui/tests/unit/
H A DFatalTestCanvas.h93 void onDrawImage(const SkImage*, SkScalar dx, SkScalar dy, const SkPaint*) { argument
107 void onDrawBitmap(const SkBitmap&, SkScalar dx, SkScalar dy, const SkPaint*) { argument
/frameworks/support/transition/api14/android/support/transition/
H A DViewUtilsApi14.java131 final float dx = values[Matrix.MTRANS_X];
135 view.setTranslationX(dx);
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/api/
H A DomxVC_s.h101 dx EQU 0;
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/api/
H A DomxVC_s.h101 dx EQU 0;
/frameworks/base/libs/hwui/
H A DSpotShadow.h45 const Vector2& point, float dx, float dy);
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DRecyclerView.java2044 * @param dx Pixels to scroll horizontally
2047 public void smoothScrollBy(int dx, int dy) { argument
2048 smoothScrollBy(dx, dy, null);
2054 * @param dx Pixels to scroll horizontally
2059 public void smoothScrollBy(int dx, int dy, Interpolator interpolator) { argument
2069 dx = 0;
2074 if (dx != 0 || dy != 0) {
2075 mViewFlinger.smoothScrollBy(dx, dy, interpolator);
2234 void considerReleasingGlowsOnScroll(int dx, int dy) { argument
2236 if (mLeftGlow != null && !mLeftGlow.isFinished() && dx >
4626 offsetChildrenHorizontal(int dx) argument
4698 onScrolled(int dx, int dy) argument
4959 smoothScrollBy(int dx, int dy) argument
4963 smoothScrollBy(int dx, int dy, int vx, int vy) argument
4973 computeScrollDuration(int dx, int dy, int vx, int vy) argument
4995 smoothScrollBy(int dx, int dy, int duration) argument
4999 smoothScrollBy(int dx, int dy, Interpolator interpolator) argument
5004 smoothScrollBy(int dx, int dy, int duration, Interpolator interpolator) argument
7479 collectAdjacentPrefetchPositions(int dx, int dy, State state, LayoutPrefetchRegistry layoutPrefetchRegistry) argument
7785 scrollHorizontallyBy(int dx, Recycler recycler, State state) argument
8495 offsetChildrenHorizontal(int dx) argument
9340 isFocusedChildVisibleAfterScrolling(RecyclerView parent, int dx, int dy) argument
10237 onScrolled(RecyclerView recyclerView, int dx, int dy) argument
10921 dispatchNestedPreScroll(int dx, int dy, int[] consumed, int[] offsetInWindow) argument
10926 dispatchNestedPreScroll(int dx, int dy, int[] consumed, int[] offsetInWindow, int type) argument
11199 onAnimation(int dx, int dy) argument
11305 onSeekTargetStep(int dx, int dy, State state, Action action) argument
11345 Action(int dx, int dy) argument
11354 Action(int dx, int dy, int duration) argument
11365 Action(int dx, int dy, int duration, Interpolator interpolator) argument
11441 setDx(int dx) argument
11487 update(int dx, int dy, int duration, Interpolator interpolator) argument
[all...]

Completed in 1605 milliseconds

123456789