# CurvedChildLayoutManager

Summary:[Inherited Constants](https://developer.android.com/reference/android/support/wearable/view/CurvedChildLayoutManager#inhconstants)\|[Ctors](https://developer.android.com/reference/android/support/wearable/view/CurvedChildLayoutManager#pubctors)\|[Methods](https://developer.android.com/reference/android/support/wearable/view/CurvedChildLayoutManager#pubmethods)\|[Inherited Methods](https://developer.android.com/reference/android/support/wearable/view/CurvedChildLayoutManager#inhmethods)  

# CurvedChildLayoutManager

`
public


class
CurvedChildLayoutManager
`  
`


``


``


``

extends `[WearableRecyclerView.ChildLayoutManager](https://developer.android.com/reference/android/support/wearable/view/WearableRecyclerView.ChildLayoutManager.html)`


``


`

|---|---|---|---|--------------------------------------------------------|
| [java.lang.Object](http://developer.android.com/reference/java/lang/Object.html) |||||
| ↳ | android.support.v7.widget.RecyclerView.LayoutManager            ||||
|   | ↳ | android.support.v7.widget.LinearLayoutManager                |||
|   |   | ↳ | [android.support.wearable.view.WearableRecyclerView.ChildLayoutManager](https://developer.android.com/reference/android/support/wearable/view/WearableRecyclerView.ChildLayoutManager.html) ||
|   |   |   | ↳ | android.support.wearable.view.CurvedChildLayoutManager |

<br />

*** ** * ** ***

<br />

**This class is deprecated.**   
use the`androidx.wear.widget.WearableRecyclerView`and associated classes provided by the[Jetpack Wear](https://developer.android.com/jetpack/androidx/releases/wear)library instead.

This implementation of[WearableRecyclerView.ChildLayoutManager](https://developer.android.com/reference/android/support/wearable/view/WearableRecyclerView.ChildLayoutManager.html)provides basic offsetting logic for updating child layout. For round devices it offsets the children horizontally to make them appear to travel around a circle. For square devices it aligns them in a straight list.

## Summary

|                                                                                          ### Inherited constants                                                                                          |
|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| From class`android.support.v7.widget.LinearLayoutManager` |-------|-------------------------| | `int` | `HORIZONTAL` <br />     | | `int` | `INVALID_OFFSET` <br /> | | `int` | `VERTICAL` <br />       | |

|                                                                                                                               ### Public constructors                                                                                                                                ||
|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|
| ` `[CurvedChildLayoutManager](https://developer.android.com/reference/android/support/wearable/view/CurvedChildLayoutManager.html#CurvedChildLayoutManager(android.content.Context))`(`[Context](http://developer.android.com/reference/android/content/Context.html)` context) ` |

|                                                                                                                                                                                                                                                                           ### Public methods                                                                                                                                                                                                                                                                           ||
|---------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| ` void` | ` `[adjustAnchorOffsetXY](https://developer.android.com/reference/android/support/wearable/view/CurvedChildLayoutManager.html#adjustAnchorOffsetXY(android.view.View,%20float[]))`(`[View](http://developer.android.com/reference/android/view/View.html)` child, float[] anchorOffsetXY) ` Override this method if you wish to adjust the anchor coordinates for each child view during a layout pass.                                                                                                                                                       |
| ` void` | ` `[updateChild](https://developer.android.com/reference/android/support/wearable/view/CurvedChildLayoutManager.html#updateChild(android.view.View,%20android.support.wearable.view.WearableRecyclerView))`(`[View](http://developer.android.com/reference/android/view/View.html)` child, `[WearableRecyclerView](https://developer.android.com/reference/android/support/wearable/view/WearableRecyclerView.html)` parent) ` The default implementation will lay out children along a curve for round screens and along a straight line for square screens. |

| ### Inherited methods |
|-----------------------|---|
| From class` `[android.support.wearable.view.WearableRecyclerView.ChildLayoutManager](https://developer.android.com/reference/android/support/wearable/view/WearableRecyclerView.ChildLayoutManager.html)` ` |------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ` void`          | ` `[onLayoutChildren](https://developer.android.com/reference/android/support/wearable/view/WearableRecyclerView.ChildLayoutManager.html#onLayoutChildren(android.support.v7.widget.RecyclerView.Recycler,%20android.support.v7.widget.RecyclerView.State))`(RecyclerView.Recycler recycler, RecyclerView.State state) `                                                                                                                                                                                                | | ` int`           | ` `[scrollVerticallyBy](https://developer.android.com/reference/android/support/wearable/view/WearableRecyclerView.ChildLayoutManager.html#scrollVerticallyBy(int,%20android.support.v7.widget.RecyclerView.Recycler,%20android.support.v7.widget.RecyclerView.State))`(int dy, RecyclerView.Recycler recycler, RecyclerView.State state) `                                                                                                                                                                             | | ` abstract void` | ` `[updateChild](https://developer.android.com/reference/android/support/wearable/view/WearableRecyclerView.ChildLayoutManager.html#updateChild(android.view.View,%20android.support.wearable.view.WearableRecyclerView))`(`[View](http://developer.android.com/reference/android/view/View.html)` child, `[WearableRecyclerView](https://developer.android.com/reference/android/support/wearable/view/WearableRecyclerView.html)` parent) ` Override this method to implement custom child layout behavior on scroll. | ||
| From class` android.support.v7.widget.LinearLayoutManager ` |------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ` void`                                                                            | ` assertNotInLayoutOrScroll(`[String](http://developer.android.com/reference/java/lang/String.html)` arg0) `                                                                                       | | ` void`                                                                            | ` calculateExtraLayoutSpace(RecyclerView.State arg0, int[] arg1) `                                                                                                                                 | | ` boolean`                                                                         | ` canScrollHorizontally() `                                                                                                                                                                        | | ` boolean`                                                                         | ` canScrollVertically() `                                                                                                                                                                          | | ` void`                                                                            | ` collectAdjacentPrefetchPositions(int arg0, int arg1, RecyclerView.State arg2, RecyclerView.LayoutManager.LayoutPrefetchRegistry arg3) `                                                          | | ` void`                                                                            | ` collectInitialPrefetchPositions(int arg0, RecyclerView.LayoutManager.LayoutPrefetchRegistry arg1) `                                                                                              | | ` int`                                                                             | ` computeHorizontalScrollExtent(RecyclerView.State arg0) `                                                                                                                                         | | ` int`                                                                             | ` computeHorizontalScrollOffset(RecyclerView.State arg0) `                                                                                                                                         | | ` int`                                                                             | ` computeHorizontalScrollRange(RecyclerView.State arg0) `                                                                                                                                          | | ` `[PointF](http://developer.android.com/reference/android/graphics/PointF.html)   | ` computeScrollVectorForPosition(int arg0) `                                                                                                                                                       | | ` int`                                                                             | ` computeVerticalScrollExtent(RecyclerView.State arg0) `                                                                                                                                           | | ` int`                                                                             | ` computeVerticalScrollOffset(RecyclerView.State arg0) `                                                                                                                                           | | ` int`                                                                             | ` computeVerticalScrollRange(RecyclerView.State arg0) `                                                                                                                                            | | ` int`                                                                             | ` findFirstCompletelyVisibleItemPosition() `                                                                                                                                                       | | ` int`                                                                             | ` findFirstVisibleItemPosition() `                                                                                                                                                                 | | ` int`                                                                             | ` findLastCompletelyVisibleItemPosition() `                                                                                                                                                        | | ` int`                                                                             | ` findLastVisibleItemPosition() `                                                                                                                                                                  | | ` `[View](http://developer.android.com/reference/android/view/View.html)           | ` findViewByPosition(int arg0) `                                                                                                                                                                   | | ` RecyclerView.LayoutParams`                                                       | ` generateDefaultLayoutParams() `                                                                                                                                                                  | | ` int`                                                                             | ` getExtraLayoutSpace(RecyclerView.State arg0) `                                                                                                                                                   | | ` int`                                                                             | ` getInitialPrefetchItemCount() `                                                                                                                                                                  | | ` int`                                                                             | ` getOrientation() `                                                                                                                                                                               | | ` boolean`                                                                         | ` getRecycleChildrenOnDetach() `                                                                                                                                                                   | | ` boolean`                                                                         | ` getReverseLayout() `                                                                                                                                                                             | | ` boolean`                                                                         | ` getStackFromEnd() `                                                                                                                                                                              | | ` boolean`                                                                         | ` isAutoMeasureEnabled() `                                                                                                                                                                         | | ` boolean`                                                                         | ` isLayoutRTL() `                                                                                                                                                                                  | | ` boolean`                                                                         | ` isSmoothScrollbarEnabled() `                                                                                                                                                                     | | ` void`                                                                            | ` onDetachedFromWindow(RecyclerView arg0, RecyclerView.Recycler arg1) `                                                                                                                            | | ` `[View](http://developer.android.com/reference/android/view/View.html)           | ` onFocusSearchFailed(`[View](http://developer.android.com/reference/android/view/View.html)` arg0, int arg1, RecyclerView.Recycler arg2, RecyclerView.State arg3) `                               | | ` void`                                                                            | ` onInitializeAccessibilityEvent(`[AccessibilityEvent](http://developer.android.com/reference/android/view/accessibility/AccessibilityEvent.html)` arg0) `                                         | | ` void`                                                                            | ` onLayoutChildren(RecyclerView.Recycler arg0, RecyclerView.State arg1) `                                                                                                                          | | ` void`                                                                            | ` onLayoutCompleted(RecyclerView.State arg0) `                                                                                                                                                     | | ` void`                                                                            | ` onRestoreInstanceState(`[Parcelable](http://developer.android.com/reference/android/os/Parcelable.html)` arg0) `                                                                                 | | ` `[Parcelable](http://developer.android.com/reference/android/os/Parcelable.html) | ` onSaveInstanceState() `                                                                                                                                                                          | | ` void`                                                                            | ` prepareForDrop(`[View](http://developer.android.com/reference/android/view/View.html)` arg0, `[View](http://developer.android.com/reference/android/view/View.html)` arg1, int arg2, int arg3) ` | | ` int`                                                                             | ` scrollHorizontallyBy(int arg0, RecyclerView.Recycler arg1, RecyclerView.State arg2) `                                                                                                            | | ` void`                                                                            | ` scrollToPosition(int arg0) `                                                                                                                                                                     | | ` void`                                                                            | ` scrollToPositionWithOffset(int arg0, int arg1) `                                                                                                                                                 | | ` int`                                                                             | ` scrollVerticallyBy(int arg0, RecyclerView.Recycler arg1, RecyclerView.State arg2) `                                                                                                              | | ` void`                                                                            | ` setInitialPrefetchItemCount(int arg0) `                                                                                                                                                          | | ` void`                                                                            | ` setOrientation(int arg0) `                                                                                                                                                                       | | ` void`                                                                            | ` setRecycleChildrenOnDetach(boolean arg0) `                                                                                                                                                       | | ` void`                                                                            | ` setReverseLayout(boolean arg0) `                                                                                                                                                                 | | ` void`                                                                            | ` setSmoothScrollbarEnabled(boolean arg0) `                                                                                                                                                        | | ` void`                                                                            | ` setStackFromEnd(boolean arg0) `                                                                                                                                                                  | | ` void`                                                                            | ` smoothScrollToPosition(RecyclerView arg0, RecyclerView.State arg1, int arg2) `                                                                                                                   | | ` boolean`                                                                         | ` supportsPredictiveItemAnimations() `                                                                                                                                                             | ||
| From class` android.support.v7.widget.RecyclerView.LayoutManager ` |------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ` void`                                                                            | ` addDisappearingView(`[View](http://developer.android.com/reference/android/view/View.html)` arg0, int arg1) `                                                                                                                                                    | | ` void`                                                                            | ` addDisappearingView(`[View](http://developer.android.com/reference/android/view/View.html)` arg0) `                                                                                                                                                              | | ` void`                                                                            | ` addView(`[View](http://developer.android.com/reference/android/view/View.html)` arg0, int arg1) `                                                                                                                                                                | | ` void`                                                                            | ` addView(`[View](http://developer.android.com/reference/android/view/View.html)` arg0) `                                                                                                                                                                          | | ` void`                                                                            | ` assertInLayoutOrScroll(`[String](http://developer.android.com/reference/java/lang/String.html)` arg0) `                                                                                                                                                          | | ` void`                                                                            | ` assertNotInLayoutOrScroll(`[String](http://developer.android.com/reference/java/lang/String.html)` arg0) `                                                                                                                                                       | | ` void`                                                                            | ` attachView(`[View](http://developer.android.com/reference/android/view/View.html)` arg0) `                                                                                                                                                                       | | ` void`                                                                            | ` attachView(`[View](http://developer.android.com/reference/android/view/View.html)` arg0, int arg1) `                                                                                                                                                             | | ` void`                                                                            | ` attachView(`[View](http://developer.android.com/reference/android/view/View.html)` arg0, int arg1, RecyclerView.LayoutParams arg2) `                                                                                                                             | | ` void`                                                                            | ` calculateItemDecorationsForChild(`[View](http://developer.android.com/reference/android/view/View.html)` arg0, `[Rect](http://developer.android.com/reference/android/graphics/Rect.html)` arg1) `                                                               | | ` boolean`                                                                         | ` canScrollHorizontally() `                                                                                                                                                                                                                                        | | ` boolean`                                                                         | ` canScrollVertically() `                                                                                                                                                                                                                                          | | ` boolean`                                                                         | ` checkLayoutParams(RecyclerView.LayoutParams arg0) `                                                                                                                                                                                                              | | ` static int`                                                                      | ` chooseSize(int arg0, int arg1, int arg2) `                                                                                                                                                                                                                       | | ` void`                                                                            | ` collectAdjacentPrefetchPositions(int arg0, int arg1, RecyclerView.State arg2, RecyclerView.LayoutManager.LayoutPrefetchRegistry arg3) `                                                                                                                          | | ` void`                                                                            | ` collectInitialPrefetchPositions(int arg0, RecyclerView.LayoutManager.LayoutPrefetchRegistry arg1) `                                                                                                                                                              | | ` int`                                                                             | ` computeHorizontalScrollExtent(RecyclerView.State arg0) `                                                                                                                                                                                                         | | ` int`                                                                             | ` computeHorizontalScrollOffset(RecyclerView.State arg0) `                                                                                                                                                                                                         | | ` int`                                                                             | ` computeHorizontalScrollRange(RecyclerView.State arg0) `                                                                                                                                                                                                          | | ` int`                                                                             | ` computeVerticalScrollExtent(RecyclerView.State arg0) `                                                                                                                                                                                                           | | ` int`                                                                             | ` computeVerticalScrollOffset(RecyclerView.State arg0) `                                                                                                                                                                                                           | | ` int`                                                                             | ` computeVerticalScrollRange(RecyclerView.State arg0) `                                                                                                                                                                                                            | | ` void`                                                                            | ` detachAndScrapAttachedViews(RecyclerView.Recycler arg0) `                                                                                                                                                                                                        | | ` void`                                                                            | ` detachAndScrapView(`[View](http://developer.android.com/reference/android/view/View.html)` arg0, RecyclerView.Recycler arg1) `                                                                                                                                   | | ` void`                                                                            | ` detachAndScrapViewAt(int arg0, RecyclerView.Recycler arg1) `                                                                                                                                                                                                     | | ` void`                                                                            | ` detachView(`[View](http://developer.android.com/reference/android/view/View.html)` arg0) `                                                                                                                                                                       | | ` void`                                                                            | ` detachViewAt(int arg0) `                                                                                                                                                                                                                                         | | ` void`                                                                            | ` endAnimation(`[View](http://developer.android.com/reference/android/view/View.html)` arg0) `                                                                                                                                                                     | | ` `[View](http://developer.android.com/reference/android/view/View.html)           | ` findContainingItemView(`[View](http://developer.android.com/reference/android/view/View.html)` arg0) `                                                                                                                                                           | | ` `[View](http://developer.android.com/reference/android/view/View.html)           | ` findViewByPosition(int arg0) `                                                                                                                                                                                                                                   | | ` abstract RecyclerView.LayoutParams`                                              | ` generateDefaultLayoutParams() `                                                                                                                                                                                                                                  | | ` RecyclerView.LayoutParams`                                                       | ` generateLayoutParams(`[Context](http://developer.android.com/reference/android/content/Context.html)` arg0, `[AttributeSet](http://developer.android.com/reference/android/util/AttributeSet.html)` arg1) `                                                      | | ` RecyclerView.LayoutParams`                                                       | ` generateLayoutParams(`[ViewGroup.LayoutParams](http://developer.android.com/reference/android/view/ViewGroup.LayoutParams.html)` arg0) `                                                                                                                         | | ` int`                                                                             | ` getBaseline() `                                                                                                                                                                                                                                                  | | ` int`                                                                             | ` getBottomDecorationHeight(`[View](http://developer.android.com/reference/android/view/View.html)` arg0) `                                                                                                                                                        | | ` `[View](http://developer.android.com/reference/android/view/View.html)           | ` getChildAt(int arg0) `                                                                                                                                                                                                                                           | | ` int`                                                                             | ` getChildCount() `                                                                                                                                                                                                                                                | | ` static int`                                                                      | ` getChildMeasureSpec(int arg0, int arg1, int arg2, int arg3, boolean arg4) `                                                                                                                                                                                      | | ` static int`                                                                      | ` getChildMeasureSpec(int arg0, int arg1, int arg2, boolean arg3) `                                                                                                                                                                                                | | ` boolean`                                                                         | ` getClipToPadding() `                                                                                                                                                                                                                                             | | ` int`                                                                             | ` getColumnCountForAccessibility(RecyclerView.Recycler arg0, RecyclerView.State arg1) `                                                                                                                                                                            | | ` int`                                                                             | ` getDecoratedBottom(`[View](http://developer.android.com/reference/android/view/View.html)` arg0) `                                                                                                                                                               | | ` void`                                                                            | ` getDecoratedBoundsWithMargins(`[View](http://developer.android.com/reference/android/view/View.html)` arg0, `[Rect](http://developer.android.com/reference/android/graphics/Rect.html)` arg1) `                                                                  | | ` int`                                                                             | ` getDecoratedLeft(`[View](http://developer.android.com/reference/android/view/View.html)` arg0) `                                                                                                                                                                 | | ` int`                                                                             | ` getDecoratedMeasuredHeight(`[View](http://developer.android.com/reference/android/view/View.html)` arg0) `                                                                                                                                                       | | ` int`                                                                             | ` getDecoratedMeasuredWidth(`[View](http://developer.android.com/reference/android/view/View.html)` arg0) `                                                                                                                                                        | | ` int`                                                                             | ` getDecoratedRight(`[View](http://developer.android.com/reference/android/view/View.html)` arg0) `                                                                                                                                                                | | ` int`                                                                             | ` getDecoratedTop(`[View](http://developer.android.com/reference/android/view/View.html)` arg0) `                                                                                                                                                                  | | ` `[View](http://developer.android.com/reference/android/view/View.html)           | ` getFocusedChild() `                                                                                                                                                                                                                                              | | ` int`                                                                             | ` getHeight() `                                                                                                                                                                                                                                                    | | ` int`                                                                             | ` getHeightMode() `                                                                                                                                                                                                                                                | | ` int`                                                                             | ` getItemCount() `                                                                                                                                                                                                                                                 | | ` int`                                                                             | ` getItemViewType(`[View](http://developer.android.com/reference/android/view/View.html)` arg0) `                                                                                                                                                                  | | ` int`                                                                             | ` getLayoutDirection() `                                                                                                                                                                                                                                           | | ` int`                                                                             | ` getLeftDecorationWidth(`[View](http://developer.android.com/reference/android/view/View.html)` arg0) `                                                                                                                                                           | | ` int`                                                                             | ` getMinimumHeight() `                                                                                                                                                                                                                                             | | ` int`                                                                             | ` getMinimumWidth() `                                                                                                                                                                                                                                              | | ` int`                                                                             | ` getPaddingBottom() `                                                                                                                                                                                                                                             | | ` int`                                                                             | ` getPaddingEnd() `                                                                                                                                                                                                                                                | | ` int`                                                                             | ` getPaddingLeft() `                                                                                                                                                                                                                                               | | ` int`                                                                             | ` getPaddingRight() `                                                                                                                                                                                                                                              | | ` int`                                                                             | ` getPaddingStart() `                                                                                                                                                                                                                                              | | ` int`                                                                             | ` getPaddingTop() `                                                                                                                                                                                                                                                | | ` int`                                                                             | ` getPosition(`[View](http://developer.android.com/reference/android/view/View.html)` arg0) `                                                                                                                                                                      | | ` static RecyclerView.LayoutManager.Properties`                                    | ` getProperties(`[Context](http://developer.android.com/reference/android/content/Context.html)` arg0, `[AttributeSet](http://developer.android.com/reference/android/util/AttributeSet.html)` arg1, int arg2, int arg3) `                                         | | ` int`                                                                             | ` getRightDecorationWidth(`[View](http://developer.android.com/reference/android/view/View.html)` arg0) `                                                                                                                                                          | | ` int`                                                                             | ` getRowCountForAccessibility(RecyclerView.Recycler arg0, RecyclerView.State arg1) `                                                                                                                                                                               | | ` int`                                                                             | ` getSelectionModeForAccessibility(RecyclerView.Recycler arg0, RecyclerView.State arg1) `                                                                                                                                                                          | | ` int`                                                                             | ` getTopDecorationHeight(`[View](http://developer.android.com/reference/android/view/View.html)` arg0) `                                                                                                                                                           | | ` void`                                                                            | ` getTransformedBoundingBox(`[View](http://developer.android.com/reference/android/view/View.html)` arg0, boolean arg1, `[Rect](http://developer.android.com/reference/android/graphics/Rect.html)` arg2) `                                                        | | ` int`                                                                             | ` getWidth() `                                                                                                                                                                                                                                                     | | ` int`                                                                             | ` getWidthMode() `                                                                                                                                                                                                                                                 | | ` boolean`                                                                         | ` hasFocus() `                                                                                                                                                                                                                                                     | | ` void`                                                                            | ` ignoreView(`[View](http://developer.android.com/reference/android/view/View.html)` arg0) `                                                                                                                                                                       | | ` boolean`                                                                         | ` isAttachedToWindow() `                                                                                                                                                                                                                                           | | ` boolean`                                                                         | ` isAutoMeasureEnabled() `                                                                                                                                                                                                                                         | | ` boolean`                                                                         | ` isFocused() `                                                                                                                                                                                                                                                    | | ` final boolean`                                                                   | ` isItemPrefetchEnabled() `                                                                                                                                                                                                                                        | | ` boolean`                                                                         | ` isLayoutHierarchical(RecyclerView.Recycler arg0, RecyclerView.State arg1) `                                                                                                                                                                                      | | ` boolean`                                                                         | ` isMeasurementCacheEnabled() `                                                                                                                                                                                                                                    | | ` boolean`                                                                         | ` isSmoothScrolling() `                                                                                                                                                                                                                                            | | ` boolean`                                                                         | ` isViewPartiallyVisible(`[View](http://developer.android.com/reference/android/view/View.html)` arg0, boolean arg1, boolean arg2) `                                                                                                                               | | ` void`                                                                            | ` layoutDecorated(`[View](http://developer.android.com/reference/android/view/View.html)` arg0, int arg1, int arg2, int arg3, int arg4) `                                                                                                                          | | ` void`                                                                            | ` layoutDecoratedWithMargins(`[View](http://developer.android.com/reference/android/view/View.html)` arg0, int arg1, int arg2, int arg3, int arg4) `                                                                                                               | | ` void`                                                                            | ` measureChild(`[View](http://developer.android.com/reference/android/view/View.html)` arg0, int arg1, int arg2) `                                                                                                                                                 | | ` void`                                                                            | ` measureChildWithMargins(`[View](http://developer.android.com/reference/android/view/View.html)` arg0, int arg1, int arg2) `                                                                                                                                      | | ` void`                                                                            | ` moveView(int arg0, int arg1) `                                                                                                                                                                                                                                   | | ` void`                                                                            | ` offsetChildrenHorizontal(int arg0) `                                                                                                                                                                                                                             | | ` void`                                                                            | ` offsetChildrenVertical(int arg0) `                                                                                                                                                                                                                               | | ` void`                                                                            | ` onAdapterChanged(Adapter arg0, Adapter arg1) `                                                                                                                                                                                                                   | | ` boolean`                                                                         | ` onAddFocusables(RecyclerView arg0, `[ArrayList](http://developer.android.com/reference/java/util/ArrayList.html)`<`[View](http://developer.android.com/reference/android/view/View.html)`> arg1, int arg2, int arg3) `                                           | | ` void`                                                                            | ` onAttachedToWindow(RecyclerView arg0) `                                                                                                                                                                                                                          | | ` void`                                                                            | ` onDetachedFromWindow(RecyclerView arg0, RecyclerView.Recycler arg1) `                                                                                                                                                                                            | | ` void`                                                                            | ` onDetachedFromWindow(RecyclerView arg0) `                                                                                                                                                                                                                        | | ` `[View](http://developer.android.com/reference/android/view/View.html)           | ` onFocusSearchFailed(`[View](http://developer.android.com/reference/android/view/View.html)` arg0, int arg1, RecyclerView.Recycler arg2, RecyclerView.State arg3) `                                                                                               | | ` void`                                                                            | ` onInitializeAccessibilityEvent(`[AccessibilityEvent](http://developer.android.com/reference/android/view/accessibility/AccessibilityEvent.html)` arg0) `                                                                                                         | | ` void`                                                                            | ` onInitializeAccessibilityEvent(RecyclerView.Recycler arg0, RecyclerView.State arg1, `[AccessibilityEvent](http://developer.android.com/reference/android/view/accessibility/AccessibilityEvent.html)` arg2) `                                                    | | ` void`                                                                            | ` onInitializeAccessibilityNodeInfo(RecyclerView.Recycler arg0, RecyclerView.State arg1, AccessibilityNodeInfoCompat arg2) `                                                                                                                                       | | ` void`                                                                            | ` onInitializeAccessibilityNodeInfoForItem(RecyclerView.Recycler arg0, RecyclerView.State arg1, `[View](http://developer.android.com/reference/android/view/View.html)` arg2, AccessibilityNodeInfoCompat arg3) `                                                  | | ` `[View](http://developer.android.com/reference/android/view/View.html)           | ` onInterceptFocusSearch(`[View](http://developer.android.com/reference/android/view/View.html)` arg0, int arg1) `                                                                                                                                                 | | ` void`                                                                            | ` onItemsAdded(RecyclerView arg0, int arg1, int arg2) `                                                                                                                                                                                                            | | ` void`                                                                            | ` onItemsChanged(RecyclerView arg0) `                                                                                                                                                                                                                              | | ` void`                                                                            | ` onItemsMoved(RecyclerView arg0, int arg1, int arg2, int arg3) `                                                                                                                                                                                                  | | ` void`                                                                            | ` onItemsRemoved(RecyclerView arg0, int arg1, int arg2) `                                                                                                                                                                                                          | | ` void`                                                                            | ` onItemsUpdated(RecyclerView arg0, int arg1, int arg2) `                                                                                                                                                                                                          | | ` void`                                                                            | ` onItemsUpdated(RecyclerView arg0, int arg1, int arg2, `[Object](http://developer.android.com/reference/java/lang/Object.html)` arg3) `                                                                                                                           | | ` void`                                                                            | ` onLayoutChildren(RecyclerView.Recycler arg0, RecyclerView.State arg1) `                                                                                                                                                                                          | | ` void`                                                                            | ` onLayoutCompleted(RecyclerView.State arg0) `                                                                                                                                                                                                                     | | ` void`                                                                            | ` onMeasure(RecyclerView.Recycler arg0, RecyclerView.State arg1, int arg2, int arg3) `                                                                                                                                                                             | | ` boolean`                                                                         | ` onRequestChildFocus(RecyclerView arg0, `[View](http://developer.android.com/reference/android/view/View.html)` arg1, `[View](http://developer.android.com/reference/android/view/View.html)` arg2) `                                                             | | ` boolean`                                                                         | ` onRequestChildFocus(RecyclerView arg0, RecyclerView.State arg1, `[View](http://developer.android.com/reference/android/view/View.html)` arg2, `[View](http://developer.android.com/reference/android/view/View.html)` arg3) `                                    | | ` void`                                                                            | ` onRestoreInstanceState(`[Parcelable](http://developer.android.com/reference/android/os/Parcelable.html)` arg0) `                                                                                                                                                 | | ` `[Parcelable](http://developer.android.com/reference/android/os/Parcelable.html) | ` onSaveInstanceState() `                                                                                                                                                                                                                                          | | ` void`                                                                            | ` onScrollStateChanged(int arg0) `                                                                                                                                                                                                                                 | | ` boolean`                                                                         | ` performAccessibilityAction(RecyclerView.Recycler arg0, RecyclerView.State arg1, int arg2, `[Bundle](http://developer.android.com/reference/android/os/Bundle.html)` arg3) `                                                                                      | | ` boolean`                                                                         | ` performAccessibilityActionForItem(RecyclerView.Recycler arg0, RecyclerView.State arg1, `[View](http://developer.android.com/reference/android/view/View.html)` arg2, int arg3, `[Bundle](http://developer.android.com/reference/android/os/Bundle.html)` arg4) ` | | ` void`                                                                            | ` postOnAnimation(`[Runnable](http://developer.android.com/reference/java/lang/Runnable.html)` arg0) `                                                                                                                                                             | | ` void`                                                                            | ` removeAllViews() `                                                                                                                                                                                                                                               | | ` void`                                                                            | ` removeAndRecycleAllViews(RecyclerView.Recycler arg0) `                                                                                                                                                                                                           | | ` void`                                                                            | ` removeAndRecycleView(`[View](http://developer.android.com/reference/android/view/View.html)` arg0, RecyclerView.Recycler arg1) `                                                                                                                                 | | ` void`                                                                            | ` removeAndRecycleViewAt(int arg0, RecyclerView.Recycler arg1) `                                                                                                                                                                                                   | | ` boolean`                                                                         | ` removeCallbacks(`[Runnable](http://developer.android.com/reference/java/lang/Runnable.html)` arg0) `                                                                                                                                                             | | ` void`                                                                            | ` removeDetachedView(`[View](http://developer.android.com/reference/android/view/View.html)` arg0) `                                                                                                                                                               | | ` void`                                                                            | ` removeView(`[View](http://developer.android.com/reference/android/view/View.html)` arg0) `                                                                                                                                                                       | | ` void`                                                                            | ` removeViewAt(int arg0) `                                                                                                                                                                                                                                         | | ` boolean`                                                                         | ` requestChildRectangleOnScreen(RecyclerView arg0, `[View](http://developer.android.com/reference/android/view/View.html)` arg1, `[Rect](http://developer.android.com/reference/android/graphics/Rect.html)` arg2, boolean arg3, boolean arg4) `                   | | ` boolean`                                                                         | ` requestChildRectangleOnScreen(RecyclerView arg0, `[View](http://developer.android.com/reference/android/view/View.html)` arg1, `[Rect](http://developer.android.com/reference/android/graphics/Rect.html)` arg2, boolean arg3) `                                 | | ` void`                                                                            | ` requestLayout() `                                                                                                                                                                                                                                                | | ` void`                                                                            | ` requestSimpleAnimationsInNextLayout() `                                                                                                                                                                                                                          | | ` int`                                                                             | ` scrollHorizontallyBy(int arg0, RecyclerView.Recycler arg1, RecyclerView.State arg2) `                                                                                                                                                                            | | ` void`                                                                            | ` scrollToPosition(int arg0) `                                                                                                                                                                                                                                     | | ` int`                                                                             | ` scrollVerticallyBy(int arg0, RecyclerView.Recycler arg1, RecyclerView.State arg2) `                                                                                                                                                                              | | ` void`                                                                            | ` setAutoMeasureEnabled(boolean arg0) `                                                                                                                                                                                                                            | | ` final void`                                                                      | ` setItemPrefetchEnabled(boolean arg0) `                                                                                                                                                                                                                           | | ` void`                                                                            | ` setMeasuredDimension(int arg0, int arg1) `                                                                                                                                                                                                                       | | ` void`                                                                            | ` setMeasuredDimension(`[Rect](http://developer.android.com/reference/android/graphics/Rect.html)` arg0, int arg1, int arg2) `                                                                                                                                     | | ` void`                                                                            | ` setMeasurementCacheEnabled(boolean arg0) `                                                                                                                                                                                                                       | | ` void`                                                                            | ` smoothScrollToPosition(RecyclerView arg0, RecyclerView.State arg1, int arg2) `                                                                                                                                                                                   | | ` void`                                                                            | ` startSmoothScroll(RecyclerView.SmoothScroller arg0) `                                                                                                                                                                                                            | | ` void`                                                                            | ` stopIgnoringView(`[View](http://developer.android.com/reference/android/view/View.html)` arg0) `                                                                                                                                                                 | | ` boolean`                                                                         | ` supportsPredictiveItemAnimations() `                                                                                                                                                                                                                             | ||
| From class` `[java.lang.Object](http://developer.android.com/reference/java/lang/Object.html)` ` |------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------| | ` `[Object](http://developer.android.com/reference/java/lang/Object.html)          | ` clone() `                                                                               | | ` boolean`                                                                         | ` equals(`[Object](http://developer.android.com/reference/java/lang/Object.html)` arg0) ` | | ` void`                                                                            | ` finalize() `                                                                            | | ` final `[Class](http://developer.android.com/reference/java/lang/Class.html)`<?>` | ` getClass() `                                                                            | | ` int`                                                                             | ` hashCode() `                                                                            | | ` final void`                                                                      | ` notify() `                                                                              | | ` final void`                                                                      | ` notifyAll() `                                                                           | | ` `[String](http://developer.android.com/reference/java/lang/String.html)          | ` toString() `                                                                            | | ` final void`                                                                      | ` wait(long arg0, int arg1) `                                                             | | ` final void`                                                                      | ` wait(long arg0) `                                                                       | | ` final void`                                                                      | ` wait() `                                                                                | ||
| From interface` android.support.v7.widget.helper.ItemTouchHelper.ViewDropHandler ` |------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ` abstract void` | ` prepareForDrop(`[View](http://developer.android.com/reference/android/view/View.html)` arg0, `[View](http://developer.android.com/reference/android/view/View.html)` arg1, int arg2, int arg3) ` | ||
| From interface` android.support.v7.widget.RecyclerView.SmoothScroller.ScrollVectorProvider ` |-------------------------------------------------------------------------------------------|----------------------------------------------| | ` abstract `[PointF](http://developer.android.com/reference/android/graphics/PointF.html) | ` computeScrollVectorForPosition(int arg0) ` | ||

## Public constructors

### CurvedChildLayoutManager

```
public CurvedChildLayoutManager (Context context)
```

<br />

<br />

|         Parameters          ||
|-----------|------------------|
| `context` | `Context` <br /> |

## Public methods

### adjustAnchorOffsetXY

```
public void adjustAnchorOffsetXY (View child, 
                float[] anchorOffsetXY)
```

Override this method if you wish to adjust the anchor coordinates for each child view during a layout pass. In the override set the new desired anchor coordinates in the provided array. The coordinates should be provided in relation to the child view.

<br />

|                                                                                                         Parameters                                                                                                         ||
|------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `child`          | `View`: The child view to which the anchor coordinates will apply. <br />                                                                                                                                |
| `anchorOffsetXY` | `float`: The anchor coordinates for the provided child view, by default set to a pre-defined constant on the horizontal axis and half of the child height on the vertical axis (vertical center). <br /> |

### updateChild

```
public void updateChild (View child, 
                WearableRecyclerView parent)
```

The default implementation will lay out children along a curve for round screens and along a straight line for square screens.

<br />

|                                                                                                 Parameters                                                                                                 ||
|----------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `child`  | `View`: the current child to be affected. <br />                                                                                                                                                 |
| `parent` | `WearableRecyclerView`: the[WearableRecyclerView](https://developer.android.com/reference/android/support/wearable/view/WearableRecyclerView.html)parent that this helper is attached to. <br /> |