Searched defs:dx (Results 76 - 100 of 116) sorted by path

12345

/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DPath_Delegate.java233 /*package*/ static void native_rMoveTo(long nPath, float dx, float dy) { argument
239 pathDelegate.rMoveTo(dx, dy);
253 /*package*/ static void native_rLineTo(long nPath, float dx, float dy) { argument
259 pathDelegate.rLineTo(dx, dy);
406 /*package*/ static void native_addPath(long nPath, long src, float dx, float dy) { argument
407 addPath(nPath, src, AffineTransform.getTranslateInstance(dx, dy));
426 /*package*/ static void native_offset(long nPath, float dx, float dy) { argument
432 pathDelegate.offset(dx, dy);
436 /*package*/ static void native_setLastPoint(long nPath, float dx, float dy) { argument
442 pathDelegate.mLastX = dx;
653 rMoveTo(float dx, float dy) argument
684 rLineTo(float dx, float dy) argument
856 offset(float dx, float dy) argument
[all...]
H A DRegion_Delegate.java223 /*package*/ static void translate(Region thisRegion, int dx, int dy, Region dst) { argument
239 mtx.translate(dx, dy);
/frameworks/base/tools/layoutlib/bridge/src/android/view/
H A DRectShadowPainter.java132 RectF edgeShadowRect, float dx, float dy, int rotations) {
137 canvas.translate(dx, dy);
131 sideShadow(Canvas canvas, Paint edgePaint, RectF edgeShadowRect, float dx, float dy, int rotations) argument
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DGcSnapshot.java420 public void translate(float dx, float dy) { argument
423 layer.getGraphics().translate(dx, dy);
429 mTransform.translate(dx, dy);
/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/
H A DTextViewBindingAdapter.java284 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/minikin/include/minikin/
H A DMinikinFont.h83 void offset(float dx, float dy) { argument
84 mLeft += dx;
86 mRight += dx;
/frameworks/native/include/private/ui/
H A DRegionHelper.h52 TYPE dx; member in struct:android::region_operator::region
55 : rects(rhs.rects), count(rhs.count), dx(rhs.dx), dy(rhs.dy) { }
57 : rects(r), count(c), dx(), dy() { }
58 inline region(RECT const* r, size_t c, TYPE dx, TYPE dy) argument
59 : rects(r), count(c), dx(dx), dy(dy) { }
234 SpannerBase::lhs_head = lhs.rects->left + lhs.dx;
235 SpannerBase::lhs_tail = lhs.rects->right + lhs.dx;
243 SpannerBase::rhs_head = rhs.rects->left + rhs.dx;
[all...]
/frameworks/native/libs/ui/
H A DRegion.cpp376 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/native/services/inputflinger/
H A DInputReader.h1755 float dx, dy; member in struct:android::TouchInputMapper::PointerGesture::Delta
/frameworks/opt/setupwizard/library/full-support/test/src/com/android/setupwizardlib/test/
H A DRecyclerViewRequireScrollHelperTest.java119 public void smoothScrollBy(int dx, int dy) { argument
120 super.smoothScrollBy(dx, dy);
/frameworks/support/design/src/android/support/design/widget/
H A DAppBarLayout.java800 View target, int dx, int dy, int[] consumed) {
799 onNestedPreScroll(CoordinatorLayout coordinatorLayout, AppBarLayout child, View target, int dx, int dy, int[] consumed) argument
H A DBottomSheetBehavior.java309 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) {
H A DCoordinatorLayout.java1386 final int dx = desiredChildRect.left - childRect.left;
1389 if (dx != 0) {
1390 child.offsetLeftAndRight(dx);
1396 if (dx != 0 || dy != 0) {
1556 public void onNestedPreScroll(View target, int dx, int dy, int[] consumed) { argument
1572 viewBehavior.onNestedPreScroll(this, view, target, dx, dy, mTempIntPair);
1574 xConsumed = dx > 0 ? Math.max(xConsumed, mTempIntPair[0])
2093 * @param dx the raw horizontal number of pixels that the user attempted to scroll
2095 * @param consumed out parameter. consumed[0] should be set to the distance of dx that
2102 int dx, in
2101 onNestedPreScroll(CoordinatorLayout coordinatorLayout, V child, View target, int dx, int dy, int[] consumed) argument
[all...]
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DGridLayoutManager.java220 protected int calculateTimeForScrolling(int dx) { argument
221 int ms = super.calculateTimeForScrolling(dx);
224 mWindowAlignment.mainAxis().getSize() * dx;
236 int dx, dy;
238 dx = sTwoInts[0];
241 dx = sTwoInts[1];
244 final int distance = (int) Math.sqrt(dx * dx + dy * dy);
246 action.update(dx, dy, time, mDecelerateInterpolator);
1990 public int scrollHorizontallyBy(int dx, Recycle argument
[all...]
/frameworks/support/v17/tests/src/android/support/v17/leanback/widget/
H A DHorizontalGridViewEx.java23 public void smoothScrollBy(int dx, int dy) { argument
25 super.smoothScrollBy(dx, dy);
H A DVerticalGridViewEx.java23 public void smoothScrollBy(int dx, int dy) { argument
25 super.smoothScrollBy(dx, dy);
/frameworks/support/v4/api21/android/support/v4/view/
H A DViewCompatLollipop.java183 public static boolean dispatchNestedPreScroll(View view, int dx, int dy, int[] consumed, argument
185 return view.dispatchNestedPreScroll(dx, dy, consumed, offsetInWindow);
H A DViewParentCompatLollipop.java67 public static void onNestedPreScroll(ViewParent parent, View target, int dx, int dy, argument
70 parent.onNestedPreScroll(target, dx, dy, consumed);
/frameworks/support/v4/gingerbread/android/support/v4/widget/
H A DScrollerCompatGingerbread.java46 public static void startScroll(Object scroller, int startX, int startY, int dx, int dy) { argument
47 ((OverScroller) scroller).startScroll(startX, startY, dx, dy);
50 public static void startScroll(Object scroller, int startX, int startY, int dx, int dy, argument
52 ((OverScroller) scroller).startScroll(startX, startY, dx, dy, duration);
/frameworks/support/v4/java/android/support/v4/view/
H A DNestedScrollingChild.java163 * @param dx Horizontal scroll distance in pixels
165 * @param consumed Output. If not null, consumed[0] will contain the consumed component of dx
174 public boolean dispatchNestedPreScroll(int dx, int dy, int[] consumed, int[] offsetInWindow); argument
H A DNestedScrollingChildHelper.java189 public boolean dispatchNestedPreScroll(int dx, int dy, int[] consumed, int[] offsetInWindow) { argument
191 if (dx != 0 || dy != 0) {
208 ViewParentCompat.onNestedPreScroll(mNestedScrollingParent, mView, dx, dy, consumed);
H A DNestedScrollingParent.java128 * report how any pixels of the scroll reported by dx, dy were consumed in the
129 * <code>consumed</code> array. Index 0 corresponds to dx and index 1 corresponds to dy.
134 * @param dx Horizontal scroll distance in pixels
138 public void onNestedPreScroll(View target, int dx, int dy, int[] consumed); argument
H A DViewCompat.java464 boolean dispatchNestedPreScroll(View view, int dx, int dy, int[] consumed, argument
1020 public boolean dispatchNestedPreScroll(View view, int dx, int dy, argument
1023 return ((NestedScrollingChild) view).dispatchNestedPreScroll(dx, dy, consumed,
1655 public boolean dispatchNestedPreScroll(View view, int dx, int dy, argument
1657 return ViewCompatLollipop.dispatchNestedPreScroll(view, dx, dy, consumed,
3193 * @param dx Horizontal scroll distance in pixels
3195 * @param consumed Output. If not null, consumed[0] will contain the consumed component of dx
3204 public static boolean dispatchNestedPreScroll(View view, int dx, int dy, int[] consumed, argument
3206 return IMPL.dispatchNestedPreScroll(view, dx, dy, consumed, offsetInWindow);
H A DViewPager.java962 int dx = x - sx;
964 if (dx == 0 && dy == 0) {
976 final float distanceRatio = Math.min(1f, 1.0f * Math.abs(dx) / width);
986 final float pageDelta = (float) Math.abs(dx) / (pageWidth + mPageMargin);
994 mScroller.startScroll(sx, sy, dx, dy, duration);
1994 private boolean isGutterDrag(float x, float dx) { argument
1995 return (x < mGutterSize && dx > 0) || (x > getWidth() - mGutterSize && dx < 0);
2057 final float dx = x - mLastMotionX;
2058 final float xDiff = Math.abs(dx);
2690 canScroll(View v, boolean checkV, int dx, int x, int y) argument
[all...]
H A DViewParentCompat.java45 void onNestedPreScroll(ViewParent parent, View target, int dx, int dy, int[] consumed); argument
103 public void onNestedPreScroll(ViewParent parent, View target, int dx, int dy, argument
106 ((NestedScrollingParent) parent).onNestedPreScroll(target, dx, dy, consumed);
182 public void onNestedPreScroll(ViewParent parent, View target, int dx, int dy, argument
184 ViewParentCompatLollipop.onNestedPreScroll(parent, target, dx, dy, consumed);
341 * should report how any pixels of the scroll reported by dx, dy were consumed in the
342 * <code>consumed</code> array. Index 0 corresponds to dx and index 1 corresponds to dy.
347 * @param dx Horizontal scroll distance in pixels
351 public static void onNestedPreScroll(ViewParent parent, View target, int dx, int dy, argument
353 IMPL.onNestedPreScroll(parent, target, dx, d
[all...]

Completed in 518 milliseconds

12345