MCPcopy Create free account

hub / github.com/DrownCoder/RecyclerViewStudy / functions

Functions867 in github.com/DrownCoder/RecyclerViewStudy

↓ 2 callersMethodsetAdapter
Set a new adapter to provide child views on demand. <p> When adapter is changed, all existing views are recycled back to the pool. If the pool has onl
app/src/main/assets/RecyclerView.java:1146
↓ 2 callersMethodsetAdapterInternal
Replaces the current adapter with the new one and triggers listeners. @param adapter The new adapter @param compatibleWithPrevious If true, the new ad
app/src/main/assets/RecyclerView.java:1187
↓ 2 callersMethodsetAutoMeasureEnabled
Defines whether the layout should be measured by the RecyclerView or the LayoutManager wants to handle the layout measurements itself. <p> This method
app/src/main/assets/RecyclerView.java:7948
↓ 2 callersMethodsetChildImportantForAccessibilityInternal
This method is here so that we can control the important for a11y changes and test it.
app/src/main/assets/RecyclerView.java:11779
↓ 2 callersMethodsetDataSetChangedAfterLayout
设置adapter中所有的内容都变化了
app/src/main/assets/RecyclerView.java:4564
↓ 2 callersMethodsetFrom
Sets the {@link #left}, {@link #top}, {@link #right} and {@link #bottom} values from the given ViewHolder. Clears all {@link #changeFlags}. @param ho
app/src/main/assets/RecyclerView.java:13901
↓ 2 callersMethodsetKey
(String key)
app/src/main/java/com/study/xuan/recyclerviewstudy/ArrayListWrapper.java:53
↓ 2 callersMethodsetLayoutFrozen
Enable or disable layout and scroll. After <code>setLayoutFrozen(true)</code> is called, Layout requests will be postponed until <code>setLayoutFroze
app/src/main/assets/RecyclerView.java:2216
↓ 2 callersMethodsetMeasuredDimensionFromChildren
Called after a layout is calculated during a measure pass when using auto-measure. <p> It simply traverses all children to calculate a bounding box th
app/src/main/assets/RecyclerView.java:7750
↓ 2 callersMethodsetOnLayoutListener
(SRecyclerView.onLayoutListener onLayoutListener)
app/src/main/java/com/study/xuan/recyclerviewstudy/SRecyclerView.java:27
↓ 2 callersMethodsetRecyclerView
(RecyclerView recyclerView)
app/src/main/assets/RecyclerView.java:7705
↓ 2 callersMethodsetReverseLayout
从下往上绘制 @param reverseLayout
app/src/main/assets/LinearLayoutManager.java:455
↓ 2 callersMethodsetScrapContainer
(Recycler recycler, boolean isChangeScrap)
app/src/main/assets/RecyclerView.java:11562
↓ 2 callersMethodsetTargetPosition
(int targetPosition)
app/src/main/assets/RecyclerView.java:12127
↓ 2 callersMethodshouldMeasureChild
RecyclerView internally does its own View measurement caching which should help with WRAP_CONTENT. <p> Use this method if the View is not yet measured
app/src/main/assets/RecyclerView.java:9418
↓ 2 callersMethodstopScrollersInternal
Similar to {@link #stopScroll()} but does not set the state.
app/src/main/assets/RecyclerView.java:2373
↓ 2 callersMethodsupportsPredictiveItemAnimations
()
app/src/main/assets/LinearLayoutManager.java:2251
↓ 2 callersMethodtryBindViewHolderByDeadline
Attempts to bind view, and account for relevant timing information. If deadlineNs != FOREVER_NS, this method may fail to bind, and return false. @par
app/src/main/assets/RecyclerView.java:5845
↓ 2 callersMethodupdatePositionWithPostponed
(int pos, int cmd)
app/src/main/assets/AdapterHelper.java:331
↓ 2 callersMethodvalidateChildOrder
Used for debugging. Validates that child views are laid out in correct order. This is important because rest of the algorithm relies on this constrain
app/src/main/assets/LinearLayoutManager.java:2211
↓ 1 callersMethodabsorbGlows
(int velocityX, int velocityY)
app/src/main/assets/RecyclerView.java:2480
↓ 1 callersMethodaddOnScrollListener
Add a listener that will be notified of any changes in scroll state or position. <p>Components that add a listener should take care to remove it when
app/src/main/assets/RecyclerView.java:1746
↓ 1 callersMethodafterLayout
()
app/src/main/java/com/study/xuan/recyclerviewstudy/SRecyclerView.java:22
↓ 1 callersMethodanimateAppearance
(@NonNull ViewHolder itemHolder, @Nullable ItemHolderInfo preLayoutInfo, @NonNull I
app/src/main/assets/RecyclerView.java:4225
↓ 1 callersMethodanimateAppearance
Called by the RecyclerView when a ViewHolder is added to the layout. <p> In detail, this means that the ViewHolder was <b>not</b> a child when the lay
app/src/main/assets/RecyclerView.java:13427
↓ 1 callersMethodanimateChange
(@NonNull ViewHolder oldHolder, @NonNull ViewHolder newHolder, @NonNull ItemHol
app/src/main/assets/RecyclerView.java:4242
↓ 1 callersMethodanimateDisappearance
(@NonNull ViewHolder holder, @NonNull ItemHolderInfo preLayoutInfo, @Nullable It
app/src/main/assets/RecyclerView.java:4233
↓ 1 callersMethodanimateDisappearance
Called by the RecyclerView when a ViewHolder has disappeared from the layout. <p> This means that the View was a child of the LayoutManager when layou
app/src/main/assets/RecyclerView.java:13399
↓ 1 callersMethodanimatePersistence
Called by the RecyclerView when a ViewHolder is present in both before and after the layout and RecyclerView has not received a {@link Adapter#notifyI
app/src/main/assets/RecyclerView.java:13459
↓ 1 callersMethodapplyAdd
(UpdateOp op)
app/src/main/assets/AdapterHelper.java:433
↓ 1 callersMethodapplyMove
(UpdateOp op)
app/src/main/assets/AdapterHelper.java:129
↓ 1 callersMethodapplyPendingUpdatesToPosition
(int position)
app/src/main/assets/AdapterHelper.java:592
↓ 1 callersMethodapplyRemove
(UpdateOp op)
app/src/main/assets/AdapterHelper.java:135
↓ 1 callersMethodapplyUpdate
(UpdateOp op)
app/src/main/assets/AdapterHelper.java:189
↓ 1 callersMethodassertNotInLayoutOrScroll
Checks if RecyclerView is in the middle of a layout or scroll and throws an {@link IllegalStateException} if it <b>is</b>. @param message The message
app/src/main/assets/RecyclerView.java:2894
↓ 1 callersMethodattachAccessibilityDelegateOnBind
(ViewHolder holder)
app/src/main/assets/RecyclerView.java:6163
↓ 1 callersMethodattachView
Reattach a previously {@link #detachView(android.view.View) detached} view. This method should not be used to reattach views that were previously {@li
app/src/main/assets/RecyclerView.java:8857
↓ 1 callersMethodbeforeLayout
()
app/src/main/java/com/study/xuan/recyclerviewstudy/SRecyclerView.java:20
↓ 1 callersMethodbindViewHolder
This method internally calls {@link #onBindViewHolder(ViewHolder, int)} to update the {@link ViewHolder} contents with the item at the given position
app/src/main/assets/RecyclerView.java:6983
↓ 1 callersMethodclear
()
app/src/main/assets/RecyclerView.java:5518
↓ 1 callersMethodclearScrap
()
app/src/main/assets/RecyclerView.java:6477
↓ 1 callersMethodcmdToString
()
app/src/main/assets/AdapterHelper.java:663
↓ 1 callersMethodcollectPrefetchPositionsForLayoutState
(RecyclerView.State state, LayoutState layoutState, LayoutPref
app/src/main/assets/LinearLayoutManager.java:1339
↓ 1 callersMethodconvertFocusDirectionToLayoutDirection
Converts a focusDirection to orientation. @param focusDirection One of {@link View#FOCUS_UP}, {@link View#FOCUS_DOWN}, {@link V
app/src/main/assets/LinearLayoutManager.java:1788
↓ 1 callersMethodcopyFrom
(SavedState other)
app/src/main/assets/RecyclerView.java:12652
↓ 1 callersMethodcreateHorizontalHelper
Creates a horizontal OrientationHelper for the given LayoutManager. @param layoutManager The LayoutManager to attach to. @return A new OrientationHel
app/src/main/assets/OrientationHelper.java:248
↓ 1 callersMethodcreateLayoutManager
Instantiate and set a LayoutManager, if specified in the attributes.
app/src/main/assets/RecyclerView.java:757
↓ 1 callersMethodcreateLayoutState
Test overrides this to plug some tracking and verification. @return A new LayoutState
app/src/main/assets/LinearLayoutManager.java:1108
↓ 1 callersMethodcreateOrientationHelper
Creates an OrientationHelper for the given LayoutManager and orientation. @param layoutManager LayoutManager to attach to @param orientation Desire
app/src/main/assets/OrientationHelper.java:231
↓ 1 callersMethodcreatePayloadsIfNeeded
()
app/src/main/assets/RecyclerView.java:11612
↓ 1 callersMethodcreateVerticalHelper
Creates a vertical OrientationHelper for the given LayoutManager. @param layoutManager The LayoutManager to attach to. @return A new OrientationHelpe
app/src/main/assets/OrientationHelper.java:347
↓ 1 callersMethodcreateViewHolder
This method calls {@link #onCreateViewHolder(ViewGroup, int)} to create a new {@link ViewHolder} and initializes some private fields to be used by Rec
app/src/main/assets/RecyclerView.java:6966
↓ 1 callersMethoddetachAndScrapAttachedViews
Temporarily detach and scrap all currently attached child views. Views will be scrapped into the given Recycler. The Recycler may prefer to reuse scra
app/src/main/assets/RecyclerView.java:9285
↓ 1 callersMethoddidChildRangeChange
(int minPositionPreLayout, int maxPositionPreLayout)
app/src/main/assets/RecyclerView.java:4188
↓ 1 callersMethoddisableRunOnAnimationRequests
()
app/src/main/assets/RecyclerView.java:5298
↓ 1 callersMethoddispatchChildAttached
(View child)
app/src/main/assets/RecyclerView.java:7482
↓ 1 callersMethoddispatchContentChangedIfNecessary
()
app/src/main/assets/RecyclerView.java:3503
↓ 1 callersMethoddispatchLayoutStep3
重置一些参数
app/src/main/assets/RecyclerView.java:4008
↓ 1 callersMethoddispatchNestedFling
(float velocityX, float velocityY, boolean consumed)
app/src/main/assets/RecyclerView.java:11903
↓ 1 callersMethoddispatchNestedPreFling
(float velocityX, float velocityY)
app/src/main/assets/RecyclerView.java:11908
↓ 1 callersMethoddispatchOnItemTouch
(MotionEvent e)
app/src/main/assets/RecyclerView.java:2962
↓ 1 callersMethoddispatchOnItemTouchIntercept
(MotionEvent e)
app/src/main/assets/RecyclerView.java:2945
↓ 1 callersMethoddispatchOnScrollStateChanged
(int state)
app/src/main/assets/RecyclerView.java:5106
↓ 1 callersMethoddispatchPendingImportantForAccessibilityChanges
()
app/src/main/assets/RecyclerView.java:11791
↓ 1 callersMethoddispatchViewRecycled
(ViewHolder holder)
app/src/main/assets/RecyclerView.java:6644
↓ 1 callersMethoddistanceInfluenceForSnapDuration
(float f)
app/src/main/assets/RecyclerView.java:5335
↓ 1 callersMethoddoesTransientStatePreventRecycling
@return True if ViewHolder is not referenced by RecyclerView animations but has transient state which will prevent it from being recycled.
app/src/main/assets/RecyclerView.java:11765
↓ 1 callersMethodenableRunOnAnimationRequests
()
app/src/main/assets/RecyclerView.java:5303
↓ 1 callersMethodfactorInBindTime
(int viewType, long bindTimeNs)
app/src/main/assets/RecyclerView.java:5591
↓ 1 callersMethodfactorInCreateTime
(int viewType, long createTimeNs)
app/src/main/assets/RecyclerView.java:5585
↓ 1 callersMethodfindContainingViewHolder
Returns the ViewHolder that contains the given view. @param view The view that is a descendant of the RecyclerView. @return The ViewHolder that cont
app/src/main/assets/RecyclerView.java:4695
↓ 1 callersMethodfindFirstVisibleItemPosition
Returns the adapter position of the first visible view. This position does not include adapter changes that were dispatched after the last layout pass
app/src/main/assets/LinearLayoutManager.java:2014
↓ 1 callersMethodfindLastVisibleItemPosition
Returns the adapter position of the last visible view. This position does not include adapter changes that were dispatched after the last layout pass.
app/src/main/assets/LinearLayoutManager.java:2058
↓ 1 callersMethodfindNestedRecyclerView
Utility method for finding an internal RecyclerView, if present
app/src/main/assets/RecyclerView.java:5656
↓ 1 callersMethodfindNextViewToFocus
Finds the best view candidate to request focus on using mFocusedItemPosition index of the previously focused item. It first traverses the adapter forw
app/src/main/assets/RecyclerView.java:3738
↓ 1 callersMethodfindPartiallyOrCompletelyInvisibleChildClosestToEnd
(RecyclerView.Recycler recycler, Recycler
app/src/main/assets/LinearLayoutManager.java:1970
↓ 1 callersMethodfindPartiallyOrCompletelyInvisibleChildClosestToStart
( RecyclerView.Recycler recycler, RecyclerView.State state)
app/src/main/assets/LinearLayoutManager.java:1978
↓ 1 callersMethodfindReferenceChildClosestToEnd
Among the children that are suitable to be considered as an anchor child, returns the one closest to the end of the layout. <p> Due to ambiguous adapt
app/src/main/assets/LinearLayoutManager.java:1905
↓ 1 callersMethodfindReferenceChildClosestToStart
Among the children that are suitable to be considered as an anchor child, returns the one closest to the start of the layout. <p> Due to ambiguous ada
app/src/main/assets/LinearLayoutManager.java:1924
↓ 1 callersMethodfindViewByPosition
Finds the view which represents the given adapter position. <p> This method traverses each child since it has no information about child order. Overri
app/src/main/assets/RecyclerView.java:8778
↓ 1 callersMethodfindViewByPosition
@see RecyclerView.LayoutManager#findViewByPosition(int)
app/src/main/assets/RecyclerView.java:12257
↓ 1 callersMethodfindViewHolderForItemId
Return the ViewHolder for the item with the given id. The RecyclerView must use an Adapter with {@link Adapter#setHasStableIds(boolean) stableIds} to
app/src/main/assets/RecyclerView.java:4884
↓ 1 callersMethodflagRemovedAndOffsetPosition
(int mNewPosition, int offset, boolean applyToPreLayout)
app/src/main/assets/RecyclerView.java:11389
↓ 1 callersMethodgetBottomDecorationHeight
Returns the total height of item decorations applied to child's bottom. <p> Note that this value is not updated until the View is measured or {@link #
app/src/main/assets/RecyclerView.java:9889
↓ 1 callersMethodgetChangedScrapViewForPosition
(int position)
app/src/main/assets/RecyclerView.java:6484
↓ 1 callersMethodgetChildAdapterPosition
Return the adapter position that the given child view corresponds to. @param child Child View to query @return Adapter position corresponding to the
app/src/main/assets/RecyclerView.java:4728
↓ 1 callersMethodgetChildLayoutPosition
Return the adapter position of the given child view as of the latest completed layout pass. <p> This position may not be equal to Item's adapter posit
app/src/main/assets/RecyclerView.java:4745
↓ 1 callersMethodgetChildRectangleOnScreenScrollAmount
Returns the scroll amount that brings the given rect in child's coordinate system within the padded area of RecyclerView. @param parent The parent Rec
app/src/main/assets/RecyclerView.java:9993
↓ 1 callersMethodgetColumnCountForAccessibility
Returns the number of columns for accessibility. <p> Default implementation returns the number of items in the adapter if LayoutManager supports horiz
app/src/main/assets/RecyclerView.java:10731
↓ 1 callersMethodgetDeepestFocusedViewWithId
(View view)
app/src/main/assets/RecyclerView.java:3840
↓ 1 callersMethodgetFullClassName
(Context context, String className)
app/src/main/assets/RecyclerView.java:810
↓ 1 callersMethodgetItemCount
Returns the total number of items in the data set held by the adapter. @return The total number of items in this adapter.
app/src/main/assets/RecyclerView.java:7058
↓ 1 callersMethodgetItemDecorationAt
Returns an {@link ItemDecoration} previously added to this RecyclerView. @param index The index position of the desired ItemDecoration. @return the I
app/src/main/assets/RecyclerView.java:1638
↓ 1 callersMethodgetItemOffsets
@deprecated Use {@link #getItemOffsets(Rect, View, RecyclerView, State)}
app/src/main/assets/RecyclerView.java:10986
↓ 1 callersMethodgetItemViewType
(int position)
app/src/main/java/com/study/xuan/recyclerviewstudy/RcyAdapter.java:94
↓ 1 callersMethodgetLeftDecorationWidth
Returns the total width of item decorations applied to child's left. <p> Note that this value is not updated until the View is measured or {@link #cal
app/src/main/assets/RecyclerView.java:9906
↓ 1 callersMethodgetOldPosition
When LayoutManager supports animations, RecyclerView tracks 3 positions for ViewHolders to perform animations. <p> If a ViewHolder was laid out in the
app/src/main/assets/RecyclerView.java:11513
↓ 1 callersMethodgetProperties
Parse the xml attributes to get the most common properties used by layout managers. @attr ref android.support.v7.recyclerview.R.styleable#RecyclerVie
app/src/main/assets/RecyclerView.java:10843
↓ 1 callersMethodgetRecycledViewPool
Retrieve this RecyclerView's {@link RecycledViewPool}. This method will never return null; if no pool is set for this view a new one will be created.
app/src/main/assets/RecyclerView.java:1504
↓ 1 callersMethodgetRightDecorationWidth
Returns the total width of item decorations applied to child's right. <p> Note that this value is not updated until the View is measured or {@link #ca
app/src/main/assets/RecyclerView.java:9923
← previousnext →301–400 of 867, ranked by callers