Searched refs:dy (Results 151 - 175 of 202) sorted by relevance

123456789

/frameworks/base/libs/hwui/
H A DDisplayListCanvas.cpp140 void DisplayListCanvas::translate(float dx, float dy) { argument
141 if (dx == 0.0f && dy == 0.0f) return;
145 mTranslateY += dy;
147 mState.translate(dx, dy, 0.0f);
H A DMatrix.cpp432 float dy = x * data[kSkewY] + y * data[kScaleY] + data[kTranslateY]; local
437 y = dy * dz;
H A DRecordingCanvas.cpp219 void RecordingCanvas::translate(float dx, float dy) { argument
220 if (dx == 0 && dy == 0) return;
222 mState.translate(dx, dy, 0);
H A DBakedOpDispatcher.cpp219 const float sy = op.y - texture->top + textShadow.dy;
231 // Bounds should be same as text op, but with dx/dy offset and radius outset
239 shadowBounds.translate(textShadow.dx, textShadow.dy);
481 int dy = dx + 1; local
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 DOpenGLRenderer.cpp1556 int dy = dx + 1; local
1558 ColorTextureVertex::set(vertex++, vertices[dx], vertices[dy], u2, v2, colors[dx / 2]);
1562 ColorTextureVertex::set(vertex++, vertices[dx], vertices[dy], u2, v2, colors[dx / 2]);
1981 const float sy = y - texture->top + textShadow.dy;
2040 void OpenGLRenderer::translate(float dx, float dy, float dz) { argument
2041 mState.translate(dx, dy, dz);
/frameworks/base/libs/hwui/hwui/
H A DCanvas.h154 virtual void translate(float dx, float dy) = 0;
/frameworks/base/tools/layoutlib/bridge/src/android/util/
H A DPathParser_Delegate.java716 double dy = y0p - y1p;
720 double dsq = dx * dx + dy * dy;
735 double sdy = s * dy;
/frameworks/support/design/src/android/support/design/widget/
H A DAppBarLayout.java820 View target, int dx, int dy, int[] consumed) {
821 if (dy != 0 && !mSkipNestedPreScroll) {
823 if (dy < 0) {
832 consumed[1] = scroll(coordinatorLayout, child, dy, min, max);
1138 // Update how much dy we have consumed
819 onNestedPreScroll(CoordinatorLayout coordinatorLayout, AppBarLayout child, View target, int dx, int dy, int[] consumed) argument
H A DCoordinatorLayout.java1390 final int dy = offsetY - lp.mInsetOffsetY;
1391 ViewCompat.offsetTopAndBottom(child, dy);
1553 final int dy = desiredChildRect.top - childRect.top;
1558 if (dy != 0) {
1559 ViewCompat.offsetTopAndBottom(child, dy);
1727 public void onNestedPreScroll(View target, int dx, int dy, int[] consumed) { argument
1743 viewBehavior.onNestedPreScroll(this, view, target, dx, dy, mTempIntPair);
1747 yConsumed = dy > 0 ? Math.max(yConsumed, mTempIntPair[1])
2285 * @param dy the raw vertical number of pixels that the user attempted to scroll
2287 * was consumed, consumed[1] should be set to the distance of dy tha
2292 onNestedPreScroll(CoordinatorLayout coordinatorLayout, V child, View target, int dx, int dy, int[] consumed) argument
[all...]
/frameworks/base/core/java/android/widget/
H A DScrollView.java1192 * @param dy the number of pixels to scroll by on the Y axis
1194 public final void smoothScrollBy(int dx, int dy) { argument
1205 dy = Math.max(0, Math.min(scrollY + dy, maxY)) - scrollY;
1207 mScroller.startScroll(mScrollX, scrollY, 0, dy);
1217 scrollBy(dx, dy);
/frameworks/support/core-ui/java/android/support/v4/widget/
H A DSlidingPaneLayout.java852 final float dy = y - mInitialMotionY;
854 if (dx * dx + dy * dy < slop * slop
1348 public void onViewPositionChanged(View changedView, int left, int top, int dx, int dy) { argument
1399 public int clampViewPositionVertical(View child, int top, int dy) { argument
H A DDrawerLayout.java1508 final float dy = y - mInitialMotionY;
1510 if (dx * dx + dy * dy < slop * slop) {
2089 public void onViewPositionChanged(View changedView, int left, int top, int dx, int dy) { argument
2214 public int clampViewPositionVertical(View child, int top, int dy) { argument
/frameworks/base/core/java/android/inputmethodservice/
H A DInputMethodService.java2100 int dx = 0, dy = 0;
2109 dy = -count;
2112 dy = count;
2115 onExtractedCursorMovement(dx, dy);
2347 * @param dy The amount of cursor movement in the y dimension.
2349 public void onExtractedCursorMovement(int dx, int dy) { argument
2350 if (mExtractEditText == null || dy == 0) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
H A DTaskStackViewTouchHandler.java374 int dy = Math.abs(mDownY - y);
375 if (dx > mScrollTouchSlop || dy > mScrollTouchSlop) {
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DBaseLinearLayoutManagerTest.java639 int gatherPrefetchIndices(int dx, int dy, RecyclerView.State state, int[] outIndices) { argument
641 return super.gatherPrefetchIndices(dx, dy, state, outIndices);
H A DRecyclerViewBasicTest.java433 public int scrollVerticallyBy(int dy, RecyclerView.Recycler recycler, argument
435 return dy;
H A DAsyncListUtilLayoutTest.java102 public void onScrolled(RecyclerView recyclerView, int dx, int dy) {
H A DRecyclerViewCacheTest.java90 int gatherPrefetchIndices(int dx, int dy, RecyclerView.State state, int[] outIndices) {
/frameworks/base/core/java/com/android/internal/widget/
H A DLockPatternView.java921 final float dy = Math.abs(y - mInProgressY);
922 if (dx > DRAG_THRESHHOLD || dy > DRAG_THRESHHOLD) {
1079 final float dy = percentageOfNextCircle *
1082 mInProgressY = centerY + dy;
H A DPointerLocationView.java252 float dy = ps.mTraceY[N - 1] - ps.mTraceY[0];
260 Math.abs(dy) < mVC.getScaledTouchSlop()
263 .append("dY: ").append(dy, 1)
/frameworks/base/core/jni/android/opengl/
H A Dutil.cpp393 float dy = y1 - y0; local
396 *pSphere++ = y0 + dy * 0.5f;
398 *pSphere++ = distance(dx, dy, dz) * 0.5f;
/frameworks/support/compat/java/android/support/v4/view/
H A DViewCompat.java472 boolean dispatchNestedPreScroll(View view, int dx, int dy, int[] consumed, argument
1063 public boolean dispatchNestedPreScroll(View view, int dx, int dy, argument
1066 return ((NestedScrollingChild) view).dispatchNestedPreScroll(dx, dy, consumed,
1706 public boolean dispatchNestedPreScroll(View view, int dx, int dy, argument
1708 return ViewCompatLollipop.dispatchNestedPreScroll(view, dx, dy, consumed,
3300 * @param dy Vertical scroll distance in pixels
3302 * and consumed[1] the consumed dy.
3310 public static boolean dispatchNestedPreScroll(View view, int dx, int dy, int[] consumed, argument
3312 return IMPL.dispatchNestedPreScroll(view, dx, dy, consumed, offsetInWindow);
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DStaggeredGridLayoutManager.java1454 public void offsetChildrenVertical(int dy) { argument
1455 super.offsetChildrenVertical(dy);
1457 mSpans[i].onOffset(dy);
1998 public int scrollVerticallyBy(int dy, RecyclerView.Recycler recycler, argument
2000 return scrollBy(dy, recycler, state);
2074 int gatherPrefetchIndices(int dx, int dy, RecyclerView.State state, int[] outIndices) { argument
2075 int delta = (mOrientation == HORIZONTAL) ? dx : dy;
/frameworks/base/graphics/java/android/graphics/
H A DCanvas.java555 * @param dy The distance to translate in Y
557 public void translate(float dx, float dy) { argument
558 native_translate(mNativeCanvasWrapper, dx, dy);
2018 float dx, float dy);
2017 native_translate(long canvasHandle, float dx, float dy) argument
H A DPaint.java1245 public void setShadowLayer(float radius, float dx, float dy, int shadowColor) { argument
1246 nSetShadowLayer(mNativePaint, radius, dx, dy, shadowColor);
2703 float radius, float dx, float dy, int color);
2702 nSetShadowLayer(long paintPtr, float radius, float dx, float dy, int color) argument

Completed in 1490 milliseconds

123456789