Searched refs:dx (Results 51 - 75 of 191) sorted by relevance

12345678

/frameworks/base/graphics/java/android/graphics/
H A DPoint.java61 * Offset the point's coordinates by dx, dy
63 public final void offset(int dx, int dy) { argument
64 x += dx;
H A DPointF.java63 public final void offset(float dx, float dy) { argument
64 x += dx;
H A DMatrix.java54 public void setTranslate(float dx, float dy) {
105 public boolean preTranslate(float dx, float dy) {
153 public boolean postTranslate(float dx, float dy) {
301 /** Set the matrix to translate by (dx, dy). */
302 public void setTranslate(float dx, float dy) { argument
303 native_setTranslate(native_instance, dx, dy);
382 * M' = M * T(dx, dy)
384 public boolean preTranslate(float dx, float dy) { argument
385 native_preTranslate(native_instance, dx, dy);
454 * M' = T(dx, d
456 postTranslate(float dx, float dy) argument
847 native_setTranslate(long native_object, float dx, float dy) argument
868 native_preTranslate(long native_object, float dx, float dy) argument
884 native_postTranslate(long native_object, float dx, float dy) argument
[all...]
H A DOutline.java274 * Offsets the Outline by (dx,dy)
276 public void offset(int dx, int dy) { argument
278 mRect.offset(dx, dy);
280 mPath.offset(dx, dy);
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...]
/frameworks/support/v4/api21/android/support/v4/view/
H A DViewParentCompatLollipop.java67 public static void onNestedPreScroll(ViewParent parent, View target, int dx, int dy, argument
70 parent.onNestedPreScroll(target, dx, dy, consumed);
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dmb_motion_comp.cpp146 /* Motion vector (dx,dy) in half-pel resolution */
147 int dx, dy; local
195 dx = px[0] = px[1] = px[2] = px[3] = video->motX[imv];
197 if ((dx & 3) == 0)
199 dx = dx >> 1;
204 dx = (dx >> 1) | 1;
226 dx = PV_SIGN(xsum) * (roundtab16[(PV_ABS(xsum)) & 0xF] +
416 video->pstprcTypPrv, dx, d
[all...]
/frameworks/support/v4/java/android/support/v4/view/
H A DViewParentCompat.java45 void onNestedPreScroll(ViewParent parent, View target, int dx, int dy, int[] consumed); argument
103 public void onNestedPreScroll(ViewParent parent, View target, int dx, int dy, argument
106 ((NestedScrollingParent) parent).onNestedPreScroll(target, dx, dy, consumed);
182 public void onNestedPreScroll(ViewParent parent, View target, int dx, int dy, argument
184 ViewParentCompatLollipop.onNestedPreScroll(parent, target, dx, dy, consumed);
341 * should report how any pixels of the scroll reported by dx, dy were consumed in the
342 * <code>consumed</code> array. Index 0 corresponds to dx and index 1 corresponds to dy.
347 * @param dx Horizontal scroll distance in pixels
351 public static void onNestedPreScroll(ViewParent parent, View target, int dx, int dy, argument
353 IMPL.onNestedPreScroll(parent, target, dx, d
[all...]
/frameworks/av/media/libstagefright/codecs/avc/enc/src/
H A Dmotion_comp.cpp25 /* (blkwidth << 2) + (dy << 1) + dx */
128 int dx, dy; local
132 dx = x_pos & 3;
138 if (dx == 0 && dy == 0)
151 eHorzInterp1MC(ref, picpitch, pred, pred_pitch, blkwidth, blkheight, dx);
153 else if (dx == 0)
167 eHorzInterp2MC(&temp2[0][2], 21, pred, pred_pitch, blkwidth, blkheight, dx);
169 else if (dx == 2)
182 ref += (y_pos * picpitch) + x_pos + (dx / 2);
269 int blkwidth, int blkheight, int dx)
268 eHorzInterp1MC(uint8 *in, int inpitch, uint8 *out, int outpitch, int blkwidth, int blkheight, int dx) argument
558 eHorzInterp2MC(int *in, int inpitch, uint8 *out, int outpitch, int blkwidth, int blkheight, int dx) argument
1810 int dx, dy; local
1833 eChromaDiagonalMC_SIMD(uint8 *pRef, int srcPitch, int dx, int dy, uint8 *pOut, int predPitch, int blkwidth, int blkheight) argument
1925 eChromaHorizontalMC_SIMD(uint8 *pRef, int srcPitch, int dx, int dy, uint8 *pOut, int predPitch, int blkwidth, int blkheight) argument
1974 eChromaVerticalMC_SIMD(uint8 *pRef, int srcPitch, int dx, int dy, uint8 *pOut, int predPitch, int blkwidth, int blkheight) argument
2017 eChromaDiagonalMC2_SIMD(uint8 *pRef, int srcPitch, int dx, int dy, uint8 *pOut, int predPitch, int blkwidth, int blkheight) argument
2060 eChromaHorizontalMC2_SIMD(uint8 *pRef, int srcPitch, int dx, int dy, uint8 *pOut, int predPitch, int blkwidth, int blkheight) argument
2082 eChromaVerticalMC2_SIMD(uint8 *pRef, int srcPitch, int dx, int dy, uint8 *pOut, int predPitch, int blkwidth, int blkheight) argument
2108 eChromaFullMC_SIMD(uint8 *pRef, int srcPitch, int dx, int dy, uint8 *pOut, int predPitch, int blkwidth, int blkheight) argument
[all...]
H A Davcenc_lib.h434 int blkwidth, int blkheight, int dx);
437 int blkwidth, int blkheight, int dx);
459 void eChromaDiagonalMC_SIMD(uint8 *pRef, int srcPitch, int dx, int dy,
462 void eChromaHorizontalMC_SIMD(uint8 *pRef, int srcPitch, int dx, int dy,
465 void eChromaVerticalMC_SIMD(uint8 *pRef, int srcPitch, int dx, int dy,
468 void eChromaFullMC_SIMD(uint8 *pRef, int srcPitch, int dx, int dy,
471 void eChromaVerticalMC2_SIMD(uint8 *pRef, int srcPitch, int dx, int dy,
474 void eChromaHorizontalMC2_SIMD(uint8 *pRef, int srcPitch, int dx, int dy,
477 void eChromaDiagonalMC2_SIMD(uint8 *pRef, int srcPitch, int dx, int dy,
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p10/src/
H A DarmVCM4P10_Interpolate_Chroma_s.s43 dx RN 6 label
119 M_LDR dx, Dx
122 ;// EightMinusdx = 8 - dx
126 ;// BCoeff = dx * EightMinusdy
128 ;// DCoeff = dx * dy
132 RSB EightMinusdx, dx, #8
134 CMN dx,dy
135 ADD dxEightMinusdx, EightMinusdx, dx, LSL #16
144 ;// Checking either of dx and dy being non-zero
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DSweepGradient_Delegate.java178 float dx = pt2[0];
182 if (dx == 0) {
185 angle = (float) (dx < 0 ? Math.PI : 0);
187 angle = (float) Math.atan(dy / dx);
188 if (dx > 0) {
/frameworks/native/opengl/tests/testLatency/src/com/android/testlatency/
H A DTestLatencyView.java99 float x, y, dx, dy;
104 dx = mDX;
110 dx = dx * MS_PER_FRAME / dt;
119 float sx = (x + dx * step) * mScaleX + mOffsetX;
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/engine/
H A Dvr.rs26 float3 dx;
48 dx = rsMatrixMultiply(&matrix3, (float3) {1.f, 0.f, 0.f});
52 zoomFactor /= dx.x * dx.x + dx.y * dx.y + dx.z * dx.z;
59 mLight = mLightRelitvePos.x + dx + mLightRelitvePos.y * dy + mLightRelitvePos.z * dz;
112 float3 p = s + x * dx
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/
H A DomxVCM4P10_BlockMatch_Integer.c173 pBestMV->dx = -fromX * 4;
198 diffMV.dx = (x * 4) - pMVPred->dx;
/frameworks/base/core/java/android/view/animation/
H A DTranslateAnimation.java159 float dx = mFromXDelta;
162 dx = mFromXDelta + ((mToXDelta - mFromXDelta) * interpolatedTime);
167 t.getMatrix().setTranslate(dx, dy);
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DPathInterpolatorBuilder.java87 float dx = mX[i] - mX[i - 1];
89 float dist = (float) Math.sqrt(dx * dx + dy * dy);
/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/core/java/com/android/internal/widget/
H A DSwipeDismissLayout.java212 float dx = ev.getRawX() - mDownX;
215 if (dx != 0 && canScroll(this, false, dx, x, y)) {
337 * Tests scrollability within child views of v in the direction of dx.
342 * @param dx Delta scrolled in pixels. Only the sign of this is used.
345 * @return true if child views of v can be scrolled by delta of dx.
347 protected boolean canScroll(View v, boolean checkV, float dx, float x, float y) { argument
357 canScroll(child, true, dx, x + scrollX - child.getLeft(),
364 return checkV && v.canScrollHorizontally((int) -dx);
/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/base/libs/hwui/utils/
H A DPaintUtils.h101 float dx; member in struct:android::uirenderer::PaintUtils::TextShadow
111 textShadow->dx = blur.fOffset.fX;
/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/opt/setupwizard/library/full-support/test/src/com/android/setupwizardlib/test/
H A DRecyclerViewRequireScrollHelperTest.java119 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 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;

Completed in 739 milliseconds

12345678