/frameworks/base/media/mca/filterfw/native/core/ |
H A D | geometry.cpp | 83 const float dy = height * (current_ratio / ratio - 1.0f); local 84 y -= dy / 2.0f; 85 height += dy; 100 const float dy = height * (length / current_length - 1.0f); local 101 y -= dy / 2.0f; 102 height += dy; 125 const float dy = height * (f - 1.0f); local 126 y -= dy / 2.0f; 127 height += dy;
|
/frameworks/base/media/mca/filterpacks/native/base/ |
H A D | geometry.cpp | 84 const float dy = height * (current_ratio / ratio - 1.0f); local 85 y -= dy / 2.0f; 86 height += dy; 101 const float dy = height * (length / current_length - 1.0f); local 102 y -= dy / 2.0f; 103 height += dy; 126 const float dy = height * (f - 1.0f); local 127 y -= dy / 2.0f; 128 height += dy; 140 Point dy [all...] |
/frameworks/support/compat/src/main/java/androidx/core/view/ |
H A D | NestedScrollingChildHelper.java | 262 public boolean dispatchNestedPreScroll(int dx, int dy, @Nullable int[] consumed, argument 264 return dispatchNestedPreScroll(dx, dy, consumed, offsetInWindow, TYPE_TOUCH); 276 public boolean dispatchNestedPreScroll(int dx, int dy, @Nullable int[] consumed, argument 284 if (dx != 0 || dy != 0) { 301 ViewParentCompat.onNestedPreScroll(parent, mView, dx, dy, consumed, type);
|
H A D | ViewParentCompat.java | 142 * @param dy Vertical scroll distance in pixels 145 public static void onNestedPreScroll(ViewParent parent, View target, int dx, int dy, argument 147 onNestedPreScroll(parent, target, dx, dy, consumed, ViewCompat.TYPE_TOUCH); 325 * should report how any pixels of the scroll reported by dx, dy were consumed in the 326 * <code>consumed</code> array. Index 0 corresponds to dx and index 1 corresponds to dy. 332 * @param dy Vertical scroll distance in pixels 337 public static void onNestedPreScroll(ViewParent parent, View target, int dx, int dy, argument 341 ((NestedScrollingParent2) parent).onNestedPreScroll(target, dx, dy, consumed, type); 346 parent.onNestedPreScroll(target, dx, dy, consumed); 352 ((NestedScrollingParent) parent).onNestedPreScroll(target, dx, dy, consume [all...] |
/frameworks/support/compat/src/main/java/androidx/core/widget/ |
H A D | ScrollerCompat.java | 156 * @param dy Vertical distance to travel. Positive numbers will scroll the 162 public void startScroll(int startX, int startY, int dx, int dy) { argument 163 mScroller.startScroll(startX, startY, dx, dy); 175 * @param dy Vertical distance to travel. Positive numbers will scroll the 182 public void startScroll(int startX, int startY, int dx, int dy, int duration) { argument 183 mScroller.startScroll(startX, startY, dx, dy, duration);
|
/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/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);
|
H A D | BandSelectionHelper.java | 104 public void onScrolled(RecyclerView recyclerView, int dx, int dy) { 105 BandSelectionHelper.this.onScrolled(recyclerView, dx, dy); 311 private void onScrolled(@NonNull RecyclerView recyclerView, int dx, int dy) { argument 318 mOrigin.y -= dy;
|
/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/av/include/media/ |
H A D | Interpolator.h | 179 const T dy = high->second - low->second; local 182 const S c2 = 3 * dy - 2 * m0 - m1; 183 const S c3 = m0 + m1 - 2 * dy;
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
H A D | mb_motion_comp.cpp | 150 /* Motion vector (dx,dy) in half-pel resolution */ 151 int dx, dy; local 200 dy = py[0] = py[1] = py[2] = py[3] = video->motY[imv]; 213 if ((dy & 3) == 0) 215 dy = dy >> 1; 220 dy = (dy >> 1) | 1; 237 dy = PV_SIGN(xsum) * (roundtab16[(PV_ABS(xsum)) & 0xF] + 425 video->pstprcTypPrv, dx, dy, mvwidt [all...] |
/frameworks/base/cmds/input/src/com/android/commands/input/ |
H A D | Input.java | 263 * @param dy change in y coordinate due to move 265 private void sendMove(int inputSource, float dx, float dy) { argument 267 injectMotionEvent(inputSource, MotionEvent.ACTION_MOVE, now, dx, dy, 0.0f); 339 System.err.println(" roll <dx> <dy> (Default: trackball)");
|
/frameworks/base/core/java/android/gesture/ |
H A D | GestureUtils.java | 381 float dy = points[i + 3] - points[i + 1]; 382 sum += Math.hypot(dx, dy); 390 float dy = points[3] - points[1]; 391 return (float) Math.hypot(dx, dy) / totalLen; 396 float dy = points[3] - points[1]; 397 return (float) Math.hypot(dx, dy) / totalLen; 576 static float[] translate(float[] points, float dx, float dy) { argument 580 points[i + 1] += dy;
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | GapWorker.java | 71 void setPrefetchVector(int dx, int dy) { argument 73 mPrefetchDy = dy;
|
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/base/graphics/java/android/graphics/ |
H A D | Rect.java | 321 * adding dy to its top and bottom coordinates. 324 * @param dy The amount to add to the rectangle's top and bottom coordinates 326 public void offset(int dx, int dy) { argument 328 top += dy; 330 bottom += dy; 348 * Inset the rectangle by (dx,dy). If dx is positive, then the sides are 351 * for dy and the top and bottom. 354 * @param dy The amount to add(subtract) from the rectangle's top(bottom) 356 public void inset(int dx, int dy) { argument 358 top += dy; [all...] |
H A D | RectF.java | 232 * adding dy to its top and bottom coordinates. 235 * @param dy The amount to add to the rectangle's top and bottom coordinates 237 public void offset(float dx, float dy) { argument 239 top += dy; 241 bottom += dy; 259 * Inset the rectangle by (dx,dy). If dx is positive, then the sides are 262 * for dy and the top and bottom. 265 * @param dy The amount to add(subtract) from the rectangle's top(bottom) 267 public void inset(float dx, float dy) { argument 269 top += dy; [all...] |
/frameworks/base/libs/hwui/ |
H A D | CanvasState.cpp | 161 void CanvasState::translate(float dx, float dy, float dz) { argument 162 mSnapshot->transform->translate(dx, dy, dz);
|
H A D | Rect.h | 153 void translate(float dx, float dy) { argument 156 top += dy; 157 bottom += dy;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | DoubleTapHelper.java | 172 void onDoubleTapLog(boolean accepted, float dx, float dy); argument
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
H A D | Region_Delegate.java | 223 /*package*/ static void translate(Region thisRegion, int dx, int dy, Region dst) { argument 239 mtx.translate(dx, dy);
|
/frameworks/minikin/include/minikin/ |
H A D | MinikinFont.h | 99 void offset(float dx, float dy) { argument 101 mTop += dy; 103 mBottom += dy;
|
/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/rs/tests/java_api/RsNbody/src/com/example/android/rs/nbody_gl/ |
H A D | BasicGLRenderer.java | 110 public void onJoystick(float dx, float dy) { argument 111 mSwarm.onJoystick(dx, dy);
|
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/ |
H A D | RecyclerViewOnGenericMotionEventTest.java | 165 public int scrollVerticallyBy(int dy, RecyclerView.Recycler recycler, argument 167 return dy;
|