/frameworks/base/graphics/java/android/graphics/ |
H A D | Point.java | 61 * Offset the point's coordinates by dx, dy 63 public final void offset(int dx, int dy) { argument 64 x += dx;
|
H A D | PointF.java | 63 public final void offset(float dx, float dy) { argument 64 x += dx;
|
H A D | Matrix.java | 54 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 D | Outline.java | 274 * 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 D | RectF.java | 231 * 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 D | ViewParentCompatLollipop.java | 67 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 D | mb_motion_comp.cpp | 146 /* 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 D | ViewParentCompat.java | 45 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 D | motion_comp.cpp | 25 /* (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 D | avcenc_lib.h | 434 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 D | armVCM4P10_Interpolate_Chroma_s.s | 43 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 D | SweepGradient_Delegate.java | 178 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 D | TestLatencyView.java | 99 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 D | vr.rs | 26 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 D | omxVCM4P10_BlockMatch_Integer.c | 173 pBestMV->dx = -fromX * 4; 198 diffMV.dx = (x * 4) - pMVPred->dx;
|
/frameworks/base/core/java/android/view/animation/ |
H A D | TranslateAnimation.java | 159 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 D | PathInterpolatorBuilder.java | 87 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 D | ColorOverlayDimmer.java | 150 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 D | armVCM4P10_Interpolate_Chroma_s.s | 57 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 D | SwipeDismissLayout.java | 212 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 D | Scroller.java | 363 * @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 D | PaintUtils.h | 101 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 D | TextViewBindingAdapter.java | 284 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 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;
|