/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, uint32_t op) { argument 390 boolean_operation(op, *this, lhs, rhs, dx, dy); 408 operation(const Region& rhs, int dx, int dy, uint32_t op) const argument 592 boolean_operation(uint32_t op, Region& dst, const Region& lhs, const Region& rhs, int dx, int dy) argument 702 boolean_operation(uint32_t op, Region& dst, const Region& lhs, const Rect& rhs, int dx, int dy) argument 743 translate(Region& reg, int dx, int dy) argument 762 translate(Region& dst, const Region& reg, int dx, int dy) argument [all...] |
/frameworks/native/include/private/ui/ |
H A D | RegionHelper.h | 56 TYPE dy; member in struct:android::region_operator::region 58 : rects(rhs.rects), count(rhs.count), dx(rhs.dx), dy(rhs.dy) { } 60 : rects(_r), count(_c), dx(), dy() { } 62 : rects(_r), count(_c), dx(_dx), dy(_dy) { } 171 SpannerBase::lhs_head = lhs.rects->top + lhs.dy; 172 SpannerBase::lhs_tail = lhs.rects->bottom + lhs.dy; 175 SpannerBase::rhs_head = rhs.rects->top + rhs.dy; 176 SpannerBase::rhs_tail = rhs.rects->bottom + rhs.dy; 211 aTop = rects->top + reg.dy; [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
H A D | pp_semaphore_chroma_inter.cpp | 30 dy = vertical component of the motion vector (int) 117 int dy, /* i */ 176 if (((dy&0xF) != 0) && (mmvy + 1 < (height >> 4) - 1)) 177 { /* dy is not a multiple of 16 */ 183 { /* dy 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
|
/frameworks/support/wear/src/main/java/androidx/wear/widget/ |
H A D | WearableLinearLayoutManager.java | 96 int dy, RecyclerView.Recycler recycler, RecyclerView.State state) { 97 int scrolled = super.scrollVerticallyBy(dy, recycler, state); 95 scrollVerticallyBy( int dy, RecyclerView.Recycler recycler, RecyclerView.State state) argument
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/geometry/ |
H A D | Rectangle.java | 61 Point dy = vAxis.scaledTo(size.y / 2.0f); 63 return new Rectangle(center.minus(dx).minus(dy), 64 center.plus(dx).minus(dy), 65 center.minus(dx).plus(dy), 66 center.plus(dx).plus(dy));
|
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/ |
H A D | SnapHelper.java | 56 public void onScrolled(RecyclerView recyclerView, int dx, int dy) { 57 if (dx != 0 || dy != 0) { 237 final int dy = snapDistances[1]; 238 final int time = calculateTimeForDeceleration(Math.max(Math.abs(dx), Math.abs(dy))); 240 action.update(dx, dy, time, mDecelerateInterpolator);
|
H A D | LinearSmoothScroller.java | 111 final int dy = calculateDyToMakeVisible(targetView, getVerticalSnapPreference()); 112 final int distance = (int) Math.sqrt(dx * dx + dy * dy); 115 action.update(-dx, -dy, time, mDecelerateInterpolator); 123 protected void onSeekTargetStep(int dx, int dy, RecyclerView.State state, Action action) { argument 133 && ((mTargetVector.x * dx < 0 || mTargetVector.y * dy < 0))) { 138 mInterimTargetDy = clampApplyScroll(mInterimTargetDy, dy);
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
H A D | Path_Delegate.java | 235 /*package*/ static void nRMoveTo(long nPath, float dx, float dy) { argument 241 pathDelegate.rMoveTo(dx, dy); 255 /*package*/ static void nRLineTo(long nPath, float dx, float dy) { argument 261 pathDelegate.rLineTo(dx, dy); 408 /*package*/ static void nAddPath(long nPath, long src, float dx, float dy) { argument 409 addPath(nPath, src, AffineTransform.getTranslateInstance(dx, dy)); 428 /*package*/ static void nOffset(long nPath, float dx, float dy) { argument 434 pathDelegate.offset(dx, dy); 438 /*package*/ static void nSetLastPoint(long nPath, float dx, float dy) { argument 445 pathDelegate.mLastY = dy; 659 rMoveTo(float dx, float dy) argument 690 rLineTo(float dx, float dy) argument 862 offset(float dx, float dy) argument [all...] |
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/ |
H A D | ViewMatrix.java | 264 int dy = ((dir >> 8) & 0xF);
269 if (dy > 1) {
270 dy = -1;
276 mLookPoint[1] + 2 * mScreenWidth * dy,
278 double[] zv = new double[]{-dx, -dy, -dz};
355 double dy = (cy - y) / ballRadius;
356 double scale = dx * dx + dy * dy;
360 dy = dy / scal [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | LinearSmoothScroller.java | 113 final int dy = calculateDyToMakeVisible(targetView, getVerticalSnapPreference()); 114 final int distance = (int) Math.sqrt(dx * dx + dy * dy); 117 action.update(-dx, -dy, time, mDecelerateInterpolator); 125 protected void onSeekTargetStep(int dx, int dy, RecyclerView.State state, Action action) { argument 132 && ((mTargetVector.x * dx < 0 || mTargetVector.y * dy < 0))) { 137 mInterimTargetDy = clampApplyScroll(mInterimTargetDy, dy);
|
/frameworks/support/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/widget/ |
H A D | RecyclerViewActivity.java | 145 public int scrollVerticallyBy(int dy, RecyclerView.Recycler recycler, argument 154 if (dy < 0) { 155 while (scrolled > dy) { 158 final int scrollBy = Math.min(scrolled - dy, hangingTop); 161 if (mFirstPosition > 0 && scrolled > dy) { 173 } else if (dy > 0) { 175 while (scrolled < dy) { 179 final int scrollBy = -Math.min(dy - scrolled, hangingBottom); 182 if (scrolled < dy && state.getItemCount() > mFirstPosition + getChildCount()) {
|
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/widget/ |
H A D | RecyclerViewActivity.java | 145 public int scrollVerticallyBy(int dy, RecyclerView.Recycler recycler, argument 154 if (dy < 0) { 155 while (scrolled > dy) { 158 final int scrollBy = Math.min(scrolled - dy, hangingTop); 161 if (mFirstPosition > 0 && scrolled > dy) { 173 } else if (dy > 0) { 175 while (scrolled < dy) { 179 final int scrollBy = -Math.min(dy - scrolled, hangingBottom); 182 if (scrolled < dy && state.getItemCount() > mFirstPosition + getChildCount()) {
|
/frameworks/base/core/java/android/widget/ |
H A D | Scroller.java | 133 float y, dy; 137 dy = coef * ((1.0f - y) * START_TENSION + y) + y * y * y; 138 if (Math.abs(dy - alpha) < 1E-5) break; 139 if (dy > alpha) y_max = y; 365 * @param dy Vertical 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); 382 * @param dy Vertical distance to travel. Positive numbers will scroll the 386 public void startScroll(int startX, int startY, int dx, int dy, int duration) { argument 394 mFinalY = startY + dy; [all...] |
/frameworks/support/transition/src/main/java/androidx/transition/ |
H A D | MatrixUtils.java | 41 public void setTranslate(float dx, float dy) { 92 public boolean preTranslate(float dx, float dy) { 140 public boolean postTranslate(float dx, float dy) {
|
H A D | ArcMotion.java | 211 float dy = (startY + endY) / 2; 252 float arcDistY = dy - ey; 267 ey = dy + (ratio * (ey - dy));
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | Camera.java | 161 public native float dotWithNormal(float dx, float dy, float dz); argument
|
H A D | PointF.java | 63 public final void offset(float dx, float dy) { argument 65 y += dy;
|
/frameworks/rs/tests/java_api/RsTest_11/src/com/android/rs/test/ |
H A D | RSTestCore.java | 194 int dy = mLastY - y; 196 if (Math.abs(dy) <= 2) { 197 dy = 0; 200 mScript.set_gDY(dy);
|
/frameworks/rs/tests/java_api/RsTest_14/src/com/android/rs/test/ |
H A D | RSTestCore.java | 198 int dy = mLastY - y; 200 if (Math.abs(dy) <= 2) { 201 dy = 0; 204 mScript.set_gDY(dy);
|
/frameworks/rs/tests/java_api/RsTest_16/src/com/android/rs/test/ |
H A D | RSTestCore.java | 198 int dy = mLastY - y; 200 if (Math.abs(dy) <= 2) { 201 dy = 0; 204 mScript.set_gDY(dy);
|
/frameworks/support/compat/src/main/java/androidx/core/view/ |
H A D | NestedScrollingParent.java | 131 * 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. 138 * @param dy Vertical scroll distance in pixels 141 void onNestedPreScroll(@NonNull View target, int dx, int dy, @NonNull int[] consumed); argument
|
H A D | NestedScrollingParent2.java | 136 * 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. 143 * @param dy Vertical scroll distance in pixels 147 void onNestedPreScroll(@NonNull View target, int dx, int dy, @NonNull int[] consumed, argument
|
/frameworks/support/recyclerview-selection/src/main/java/androidx/recyclerview/selection/ |
H A D | ViewAutoScroller.java | 221 * @param dy distance to scroll. 223 abstract void scrollBy(int dy); argument 262 void scrollBy(int dy) { argument 263 if (VERBOSE) Log.v(TAG, "Scrolling view by: " + dy); 264 mRecyclerView.scrollBy(0, dy);
|
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/ |
H A D | StaggeredGridLayoutManagerCacheTest.java | 46 public StaggeredGridLayoutManagerCacheTest(Config config, int dx, int dy) { argument 49 mDy = dy; 52 @Parameterized.Parameters(name = "config:{0},dx:{1},dy:{2}") 58 for (int dy : new int[] {-1, 0, 1}) { 59 result.add(new Object[]{config, dx, dy});
|
/frameworks/base/libs/hwui/utils/ |
H A D | PaintUtils.h | 71 float dy; member in struct:android::uirenderer::PaintUtils::TextShadow 81 textShadow->dy = blur.fOffset.fY;
|