/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/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
H A D | motion_comp.cpp | 109 Int dx, dy; local 133 dx = mot[0].x; 138 xpred = (xpos << 1) + dx ; 145 if ((dx & 3) == 0) dx = dx >> 1; 146 else dx = (dx >> 1) | 1; 151 xpred = xpos + dx; 173 dx [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/api/ |
H A D | omxVC.h | 47 OMX_S16 dx; member in struct:__anon528 2585 * dx - Fractional part of horizontal motion vector component in 1/4 pixel 2605 * dx or dy is out of range [0,3]. 2617 OMX_S32 dx, 2636 * dx -Fractional part of horizontal motion vector component in 1/8 pixel 2656 * dx or dy is out of range [0-7]. 2669 OMX_S32 dx,
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/api/ |
H A D | omxVC.h | 47 OMX_S16 dx; member in struct:__anon572 2585 * dx - Fractional part of horizontal motion vector component in 1/4 pixel 2605 * dx or dy is out of range [0,3]. 2617 OMX_S32 dx, 2636 * dx -Fractional part of horizontal motion vector component in 1/8 pixel 2656 * dx or dy is out of range [0-7]. 2669 OMX_S32 dx,
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/api/ |
H A D | omxVC.h | 47 OMX_S16 dx; member in struct:__anon616 2585 * dx - Fractional part of horizontal motion vector component in 1/4 pixel 2605 * dx or dy is out of range [0,3]. 2617 OMX_S32 dx, 2636 * dx -Fractional part of horizontal motion vector component in 1/8 pixel 2656 * dx or dy is out of range [0-7]. 2669 OMX_S32 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...] |
H A D | HorizontalScrollView.java | 1179 * @param dx the number of pixels to scroll by on the X axis 1182 public final void smoothScrollBy(int dx, int dy) { argument 1193 dx = Math.max(0, Math.min(scrollX + dx, maxX)) - scrollX; 1195 mScroller.startScroll(scrollX, mScrollY, dx, 0); 1201 scrollBy(dx, dy);
|
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/base/core/jni/android/graphics/ |
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);
|
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...] |
/frameworks/base/libs/hwui/renderthread/ |
H A D | CanvasContext.cpp | 482 const float dx = backdropBounds.left - left; local 487 mCanvas->translate(dx, dy);
|
/frameworks/base/libs/hwui/utils/ |
H A D | VectorDrawableUtils.cpp | 194 double dx = x0p - x1p; local 199 double dsq = dx * dx + dy * dy; 213 double sdx = s * dx;
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/ |
H A D | PrintContentView.java | 402 public void onViewPositionChanged(View changedView, int left, int top, int dx, int dy) { argument
|
/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/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
H A D | GcSnapshot.java | 420 public void translate(float dx, float dy) { argument 423 layer.getGraphics().translate(dx, dy); 429 mTransform.translate(dx, dy);
|
/frameworks/native/libs/ui/ |
H A D | Region.cpp | 376 Region& Region::orSelf(const Region& rhs, int dx, int dy) { argument 377 return operationSelf(rhs, dx, dy, op_or); 379 Region& Region::xorSelf(const Region& rhs, int dx, int dy) { argument 380 return operationSelf(rhs, dx, dy, op_xor); 382 Region& Region::andSelf(const Region& rhs, int dx, int dy) { argument 383 return operationSelf(rhs, dx, dy, op_and); 385 Region& Region::subtractSelf(const Region& rhs, int dx, int dy) { argument 386 return operationSelf(rhs, dx, dy, op_nand); 388 Region& Region::operationSelf(const Region& rhs, int dx, int dy, int op) { argument 390 boolean_operation(op, *this, lhs, rhs, dx, d 396 merge(const Region& rhs, int dx, int dy) const argument 399 mergeExclusive(const Region& rhs, int dx, int dy) const argument 402 intersect(const Region& rhs, int dx, int dy) const argument 405 subtract(const Region& rhs, int dx, int dy) const argument 408 operation(const Region& rhs, int dx, int dy, int op) const argument 585 boolean_operation(int op, Region& dst, const Region& lhs, const Region& rhs, int dx, int dy) argument 695 boolean_operation(int op, Region& dst, const Region& lhs, const Rect& rhs, int dx, int dy) argument 736 translate(Region& reg, int dx, int dy) argument 755 translate(Region& dst, const Region& reg, int dx, int dy) argument [all...] |
/frameworks/support/design/src/android/support/design/widget/ |
H A D | BottomSheetBehavior.java | 309 public void onNestedPreScroll(CoordinatorLayout coordinatorLayout, V child, View target, int dx, argument 588 public void onViewPositionChanged(View changedView, int left, int top, int dx, int dy) { 637 public int clampViewPositionHorizontal(View child, int left, int dx) {
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
H A D | RecyclerViewBasicTest.java | 406 public int scrollHorizontallyBy(int dx, RecyclerView.Recycler recycler, argument 408 return dx;
|
/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...] |
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | ResolverDrawerLayout.java | 641 public void onNestedPreScroll(View target, int dx, int dy, int[] consumed) { argument
|
/frameworks/base/graphics/java/android/graphics/ |
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 | Path.java | 338 * @param dx The amount to add to the x-coordinate of the end of the 343 public void rMoveTo(float dx, float dy) { argument 344 native_rMoveTo(mNativePath, dx, dy); 365 * @param dx The amount to add to the x-coordinate of the previous point on 370 public void rLineTo(float dx, float dy) { argument 372 native_rLineTo(mNativePath, dx, dy); 665 * Add a copy of src to the path, offset by (dx,dy) 668 * @param dx The amount to translate the path in X as it is added 670 public void addPath(Path src, float dx, float dy) { argument 672 native_addPath(mNativePath, src.mNativePath, dx, d 703 offset(float dx, float dy, @Nullable Path dst) argument 718 offset(float dx, float dy) argument 737 setLastPoint(float dx, float dy) argument 817 native_rMoveTo(long nPath, float dx, float dy) argument 819 native_rLineTo(long nPath, float dx, float dy) argument 846 native_addPath(long nPath, long src, float dx, float dy) argument 849 native_offset(long nPath, float dx, float dy) argument 850 native_setLastPoint(long nPath, float dx, float dy) argument [all...] |
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | BitmapDrawable.java | 466 private void updateMirrorMatrix(float dx) { argument 470 mMirrorMatrix.setTranslate(dx, 0);
|
/frameworks/base/libs/hwui/ |
H A D | BakedOpDispatcher.cpp | 218 const float sx = op.x - texture->left + textShadow.dx; 231 // Bounds should be same as text op, but with dx/dy offset and radius outset 239 shadowBounds.translate(textShadow.dx, textShadow.dy); 480 int dx = i + (op.meshWidth + 1) * 2 + 2; local 481 int dy = dx + 1; 484 ColorTextureVertex::set(vertex++, vertices[dx], vertices[dy], u2, v2, colors[dx / 2]); 488 ColorTextureVertex::set(vertex++, vertices[dx], vertices[dy], u2, v2, colors[dx / 2]);
|
H A D | DisplayListCanvas.cpp | 140 void DisplayListCanvas::translate(float dx, float dy) { argument 141 if (dx == 0.0f && dy == 0.0f) return; 144 mTranslateX += dx; 147 mState.translate(dx, dy, 0.0f);
|