Searched defs:dx (Results 1 - 25 of 125) sorted by relevance

12345

/frameworks/base/graphics/java/android/graphics/
H A DLayerRasterizer.java31 public void addLayer(Paint paint, float dx, float dy) { } argument
H A DPoint.java62 * Offset the point's coordinates by dx, dy
64 public final void offset(int dx, int dy) { argument
65 x += dx;
H A DPointF.java63 public final void offset(float dx, float dy) { argument
64 x += dx;
H A DCamera.java161 public native float dotWithNormal(float dx, float dy, float dz); argument
/frameworks/av/media/libeffects/loudness/dsp/core/
H A Dinterpolator_linear.h67 T dx = x - x_data_[cached_index_]; local
68 return y_data_[cached_index_] + (dY * dx) / dX;
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/widget/
H A DHorizontalGridViewEx.java38 public void smoothScrollBy(int dx, int dy) { argument
40 super.smoothScrollBy(dx, dy);
H A DVerticalGridViewEx.java38 public void smoothScrollBy(int dx, int dy) { argument
40 super.smoothScrollBy(dx, dy);
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/
H A DCacheUtils.java28 static void verifyPositionsPrefetched(RecyclerView view, int dx, int dy, argument
33 dx, dy, view.mState, layoutPrefetchRegistry);
H A DGridLayoutManagerCacheTest.java45 public GridLayoutManagerCacheTest(Config config, int dx, int dy) { argument
47 mDx = dx;
51 @Parameterized.Parameters(name = "config:{0},dx:{1},dy:{2}")
56 for (int dx : new int[] {-1, 0, 1}) {
58 result.add(new Object[]{config, dx, dy});
H A DLinearLayoutManagerCacheTest.java44 public LinearLayoutManagerCacheTest(Config config, int dx, int dy) { argument
46 mDx = dx;
50 @Parameterized.Parameters(name = "config:{0},dx:{1},dy:{2}")
55 for (int dx : new int[] {-1, 0, 1}) {
57 result.add(new Object[]{config, dx, dy});
H A DRecyclerViewPrefetchTest.java60 public void collectAdjacentPrefetchPositions(int dx, int dy, RecyclerView.State state, argument
H A DRecyclerViewSmoothScrollerTest.java75 protected void onSeekTargetStep(int dx, int dy, RecyclerView.State state, argument
H A DStaggeredGridLayoutManagerCacheTest.java46 public StaggeredGridLayoutManagerCacheTest(Config config, int dx, int dy) { argument
48 mDx = dx;
52 @Parameterized.Parameters(name = "config:{0},dx:{1},dy:{2}")
57 for (int dx : new int[] {-1, 0, 1}) {
59 result.add(new Object[]{config, dx, dy});
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dpp_semaphore_chroma_inter.cpp29 dx = horizontal component of the motion vector (int)
116 int dx, /* i */
188 if (((dx&0xF) != 0) && (mmvx + 1 < (mvwidth >> 1) - 1))
189 { /* dx is not a multiple of 16 */
199 { /* dx is a multiple of 16 */
111 pp_semaphore_chroma_inter( int xpred, int ypred, uint8 *pp_dec_u, uint8 *pstprcTypPrv, int dx, int dy, int mvwidth, int height, int32 size, int mv_loc, uint8 msk_deblock ) argument
H A Dpp_semaphore_luma.cpp33 dx = horizontal component of the motion vector (int)
119 int dx, /* i */
165 if ((dx&0xF) != 0)
166 { /* dx is not a multiple of 16 */
190 { /* dx is a multiple of 16 */
289 if (((dx&0xF) != 0) && (mmvx + 1 < mvwidth - 1))
290 { /* dx is not a multiple of 16 and the block */
324 { /* dx is a multiple of 16 or the block x */
112 pp_semaphore_luma( int xpred, int ypred, uint8 *pp_dec_y, uint8 *pstprcTypPrv, int *ll, int *mv_loc, int dx, int dy, int mvwidth, int width, int height ) argument
/frameworks/support/car/src/main/java/androidx/car/widget/
H A DPagedSmoothScroller.java71 protected int calculateTimeForDeceleration(int dx) { argument
72 return (int) Math.ceil(calculateTimeForScrolling(dx) / DECELERATION_TIME_DIVISOR);
/frameworks/support/compat/src/main/java/androidx/core/view/
H A DNestedScrollingChild2.java143 * @param dx Horizontal scroll distance in pixels
145 * @param consumed Output. If not null, consumed[0] will contain the consumed component of dx
155 boolean dispatchNestedPreScroll(int dx, int dy, @Nullable int[] consumed, argument
H A DNestedScrollingParent2.java136 * report how any pixels of the scroll reported by dx, dy were consumed in the
137 * <code>consumed</code> array. Index 0 corresponds to dx and index 1 corresponds to dy.
142 * @param dx Horizontal scroll distance in pixels
147 void onNestedPreScroll(@NonNull View target, int dx, int dy, @NonNull int[] consumed, argument
H A DNestedScrollingChild.java166 * @param dx Horizontal scroll distance in pixels
168 * @param consumed Output. If not null, consumed[0] will contain the consumed component of dx
177 boolean dispatchNestedPreScroll(int dx, int dy, @Nullable int[] consumed, argument
H A DNestedScrollingParent.java131 * report how any pixels of the scroll reported by dx, dy were consumed in the
132 * <code>consumed</code> array. Index 0 corresponds to dx and index 1 corresponds to dy.
137 * @param dx Horizontal scroll distance in pixels
141 void onNestedPreScroll(@NonNull View target, int dx, int dy, @NonNull int[] consumed); argument
/frameworks/base/core/java/com/android/internal/widget/
H A DNestedScrollingChild.java162 * @param dx Horizontal scroll distance in pixels
164 * @param consumed Output. If not null, consumed[0] will contain the consumed component of dx
173 boolean dispatchNestedPreScroll(int dx, int dy, int[] consumed, int[] offsetInWindow); argument
/frameworks/base/libs/hwui/utils/
H A DPaintUtils.h70 float dx; member in struct:android::uirenderer::PaintUtils::TextShadow
80 textShadow->dx = blur.fOffset.fX;
/frameworks/layoutlib/bridge/src/android/view/
H A DRectShadowPainter.java161 RectF edgeShadowRect, float dx, float dy, int rotations) {
166 canvas.translate(dx, dy);
160 sideShadow(Canvas canvas, Paint edgePaint, RectF edgeShadowRect, float dx, float dy, int rotations) argument
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/test/
H A DNestedScrollingParent2Adapter.java48 public void onNestedPreScroll(@NonNull View target, int dx, int dy, argument
63 public void onNestedPreScroll(View target, int dx, int dy, int[] consumed) { argument
64 onNestedPreScroll(target, dx, dy, consumed, ViewCompat.TYPE_TOUCH);
/frameworks/base/core/jni/android/graphics/
H A DCamera.cpp35 jfloat dx, jfloat dy, jfloat dz) {
38 v->translate(dx, dy, dz);
34 Camera_translate(JNIEnv* env, jobject obj, jfloat dx, jfloat dy, jfloat dz) argument

Completed in 2671 milliseconds

12345