Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DrownCoder/RecyclerViewStudy
/ functions
Functions
867 in github.com/DrownCoder/RecyclerViewStudy
⨍
Functions
867
◇
Types & classes
56
↓ 4 callers
Method
getChildViewHolder
(View view)
app/src/main/assets/RecyclerView.java:884
↓ 4 callers
Method
getLayoutDirection
Returns the resolved layout direction for this RecyclerView. @return {@link android.support.v4.view.ViewCompat#LAYOUT_DIRECTION_RTL} if the layout di
app/src/main/assets/RecyclerView.java:8509
↓ 4 callers
Method
getNanoTime
Time base for deadline-aware work scheduling. Overridable for testing. Will return 0 to avoid cost of System.nanoTime where deadline-aware work sched
app/src/main/assets/RecyclerView.java:5708
↓ 4 callers
Method
getTransformedBoundingBox
Calculates the bounding box of the View while taking into account its matrix changes (translation, scale etc) with respect to the RecyclerView. <p> If
app/src/main/assets/RecyclerView.java:9736
↓ 4 callers
Method
hasFocus
Returns true if the RecyclerView this LayoutManager is bound to has or contains focus. @return true if the RecyclerView has or contains focus @see Vi
app/src/main/assets/RecyclerView.java:9159
↓ 4 callers
Method
hasPendingUpdates
()
app/src/main/assets/AdapterHelper.java:461
↓ 4 callers
Method
isBound
()
app/src/main/assets/RecyclerView.java:11575
↓ 4 callers
Method
isLayoutRTL
()
app/src/main/assets/LinearLayoutManager.java:1088
↓ 4 callers
Method
isMeasurementUpToDate
(int childSize, int spec, int dimension)
app/src/main/assets/RecyclerView.java:9455
↓ 4 callers
Method
logChildren
Used for debugging. Logs the internal representation of children to default logger.
app/src/main/assets/LinearLayoutManager.java:2189
↓ 4 callers
Method
markItemDecorInsetsDirty
()
app/src/main/assets/RecyclerView.java:4282
↓ 4 callers
Method
onScrollStateChanged
Called when the scroll state of this RecyclerView changes. Subclasses should use this method to respond to state changes instead of an explicit listen
app/src/main/assets/RecyclerView.java:5102
↓ 4 callers
Method
postOnAnimation
()
app/src/main/assets/RecyclerView.java:5310
↓ 4 callers
Method
recycleChildren
Recycles children between given indices. @param startIndex inclusive @param endIndex exclusive
app/src/main/assets/LinearLayoutManager.java:1488
↓ 4 callers
Method
recycleUpdateOpsAndClearList
(List<UpdateOp> ops)
app/src/main/assets/AdapterHelper.java:753
↓ 4 callers
Method
removeAndRecycleAllViews
Removes all views and recycles them using the given recycler. <p> If you want to clean cached views as well, you should call {@link Recycler#clear()}
app/src/main/assets/RecyclerView.java:10530
↓ 4 callers
Method
reset
()
app/src/main/assets/LinearLayoutManager.java:2597
↓ 4 callers
Method
resolveShouldLayoutReverse
Calculates the view layout order. (e.g. from end to start or start to end) RTL layout support is applied automatically. So if layout is RTL and {@link
app/src/main/assets/LinearLayoutManager.java:411
↓ 4 callers
Method
scrollBy
(int dy, RecyclerView.Recycler recycler, RecyclerView.State state)
app/src/main/assets/LinearLayoutManager.java:1447
↓ 4 callers
Method
scrollToPositionWithOffset
Scroll to the specified adapter position with the given offset from resolved layout start. Resolved layout start depends on {@link #getReverseLayout()
app/src/main/assets/LinearLayoutManager.java:1159
↓ 4 callers
Method
smoothScrollBy
Animate a scroll by the given amount of pixels along either axis. @param dx Pixels to scroll horizontally @param dy Pixels to scroll vertically
app/src/main/assets/RecyclerView.java:2257
↓ 4 callers
Method
stop
()
app/src/main/assets/RecyclerView.java:5389
↓ 4 callers
Method
stopScroll
Stop any current scroll in progress, such as one started by {@link #smoothScrollBy(int, int)}, {@link #fling(int, int)} or a touch-initiated fling.
app/src/main/assets/RecyclerView.java:2363
↓ 4 callers
Method
triggerUpdateProcessor
()
app/src/main/assets/RecyclerView.java:5466
↓ 4 callers
Method
updateLayoutStateToFillEnd
(AnchorInfo anchorInfo)
app/src/main/assets/LinearLayoutManager.java:1059
↓ 4 callers
Method
updateLayoutStateToFillStart
(AnchorInfo anchorInfo)
app/src/main/assets/LinearLayoutManager.java:1073
↓ 4 callers
Method
updateViewCacheSize
()
app/src/main/assets/RecyclerView.java:5772
↓ 3 callers
Method
assertLayoutStep
(int accepted)
app/src/main/assets/RecyclerView.java:12691
↓ 3 callers
Method
assignCoordinateFromPadding
assigns anchor coordinate from the RecyclerView's padding depending on current layoutFromEnd value
app/src/main/assets/LinearLayoutManager.java:2610
↓ 3 callers
Method
assignPositionFromScrapList
()
app/src/main/assets/LinearLayoutManager.java:2469
↓ 3 callers
Method
attachViewToParent
(View child, int index, ViewGroup.LayoutParams layoutParams)
app/src/main/assets/RecyclerView.java:889
↓ 3 callers
Method
buildAdapterChangeFlagsForAnimations
(ViewHolder viewHolder)
app/src/main/assets/RecyclerView.java:13532
↓ 3 callers
Method
consumeUpdatesInOnePass
Skips pre-processing and applies all updates in one pass.
app/src/main/assets/AdapterHelper.java:557
↓ 3 callers
Method
defaultOnMeasure
Used when onMeasure is called before layout manager is set
app/src/main/assets/RecyclerView.java:3430
↓ 3 callers
Method
dispatchChildDetached
(View child)
app/src/main/assets/RecyclerView.java:7468
↓ 3 callers
Method
dispatchOnScrolled
(int hresult, int vresult)
app/src/main/assets/RecyclerView.java:5066
↓ 3 callers
Method
fillRemainingScrollValues
(State state)
app/src/main/assets/RecyclerView.java:3852
↓ 3 callers
Method
findFirstVisibleChildClosestToEnd
Convenience method to find the visible child closes to end. Caller should check if it has enough children. @param completelyVisible Whether child sho
app/src/main/assets/LinearLayoutManager.java:1880
↓ 3 callers
Method
findFirstVisibleChildClosestToStart
Convenience method to find the visible child closes to start. Caller should check if it has enough children. @param completelyVisible Whether child s
app/src/main/assets/LinearLayoutManager.java:1860
↓ 3 callers
Method
getDecoratedMeasurementInOther
Returns the space occupied by this View in the perpendicular orientation including decorations and margins. @param view The view element to check @re
app/src/main/assets/OrientationHelper.java:147
↓ 3 callers
Method
getItemDecorInsetsForChild
(View child)
app/src/main/assets/RecyclerView.java:5014
↓ 3 callers
Method
getRecycledViewCount
Returns the current number of Views held by the RecycledViewPool of the given view type.
app/src/main/assets/RecyclerView.java:5541
↓ 3 callers
Method
getRecycledViewPool
()
app/src/main/assets/RecyclerView.java:6750
↓ 3 callers
Method
getTargetPosition
Returns the adapter position of the target item @return Adapter position of the target item or {@link RecyclerView#NO_POSITION} if no target view is
app/src/main/assets/RecyclerView.java:12197
↓ 3 callers
Method
getTotalSpaceChange
Returns the layout space change between the previous layout pass and current layout pass. <p> Make sure you call {@link #onLayoutComplete()} at the en
app/src/main/assets/OrientationHelper.java:69
↓ 3 callers
Method
hasValidAnchor
()
app/src/main/assets/LinearLayoutManager.java:2548
↓ 3 callers
Method
invalidateAnchor
()
app/src/main/assets/LinearLayoutManager.java:2552
↓ 3 callers
Method
isFocused
Returns true if the RecyclerView this LayoutManager is bound to has focus. @return True if the RecyclerView has focus, false otherwise. @see View#isF
app/src/main/assets/RecyclerView.java:9147
↓ 3 callers
Method
markViewHoldersUpdated
(int positionStart, int itemCount, Object payloads)
app/src/main/assets/AdapterHelper.java:772
↓ 3 callers
Method
needsUpdate
()
app/src/main/assets/RecyclerView.java:11571
↓ 3 callers
Method
offsetChildren
Offsets all children's positions by the given amount. @param amount Value to add to each child's layout parameters
app/src/main/assets/OrientationHelper.java:175
↓ 3 callers
Method
onAdapterChanged
Called if the RecyclerView this LayoutManager is bound to has a different adapter set. The LayoutManager may use this opportunity to clear caches and
app/src/main/assets/RecyclerView.java:10202
↓ 3 callers
Method
onAnimation
(int dx, int dy)
app/src/main/assets/RecyclerView.java:12201
↓ 3 callers
Method
onScrolled
Called when the scroll position of this RecyclerView changes. Subclasses should use this method to respond to scrolling within the adapter's data set
app/src/main/assets/RecyclerView.java:5062
↓ 3 callers
Method
recordPreLayoutInformation
Called by the RecyclerView before the layout begins. Item animator should record necessary information about the View before it is potentially rebound
app/src/main/assets/RecyclerView.java:13318
↓ 3 callers
Method
removeAndRecycleScrapInt
Recycles the scrapped views. <p> When a view is detached and removed, it does not trigger a ViewGroup invalidate. This is the expected behavior if scr
app/src/main/assets/RecyclerView.java:9334
↓ 3 callers
Method
removeAndRecycleViewAt
Remove a child view and recycle it using the given Recycler. @param index Index of child to remove and recycle @param recycler Recycler to use to rec
app/src/main/assets/RecyclerView.java:8980
↓ 3 callers
Method
removeCallbacks
Removes the specified Runnable from the message queue. <p> Calling this method when LayoutManager is not attached to a RecyclerView has no effect. @p
app/src/main/assets/RecyclerView.java:8151
↓ 3 callers
Method
resetInternal
()
app/src/main/assets/RecyclerView.java:11640
↓ 3 callers
Method
scrapOrRecycleView
1.Recycle操作对应的是removeView, View被remove后调用Recycler的recycleViewHolderInternal回收其ViewHolder 2.Scrap操作对应的是detachView,View被detach后调用Reccyler的scrapView
app/src/main/assets/RecyclerView.java:9300
↓ 3 callers
Method
scrollBy
(int x, int y)
app/src/main/assets/RecyclerView.java:1844
↓ 3 callers
Method
scrollByInternal
Does not perform bounds checking. Used by internal methods that have already validated input. <p> It also reports any unused scroll request to the rel
app/src/main/assets/RecyclerView.java:1941
↓ 3 callers
Method
setExactMeasureSpecsFrom
(RecyclerView recyclerView)
app/src/main/assets/RecyclerView.java:10857
↓ 3 callers
Method
setLayoutManager
Set the {@link LayoutManager} that this RecyclerView will use. <p>In contrast to other adapter-backed views such as {@link android.widget.ListView} o
app/src/main/assets/RecyclerView.java:1318
↓ 3 callers
Method
setListener
Internal only: Sets the listener that must be called when the animator is finished animating the item (or immediately if no animation happens). This i
app/src/main/assets/RecyclerView.java:13279
↓ 3 callers
Method
setMeasureSpecs
(int wSpec, int hSpec)
app/src/main/assets/RecyclerView.java:7721
↓ 3 callers
Method
setMeasuredDimension
Sets the measured dimensions from the given bounding box of the children and the measurement specs that were passed into {@link RecyclerView#onMeasure
app/src/main/assets/RecyclerView.java:7803
↓ 3 callers
Method
setOrientation
Sets the orientation of the layout. {@link android.support.v7.widget.LinearLayoutManager} will do its best to keep scroll position. @param orientatio
app/src/main/assets/LinearLayoutManager.java:391
↓ 3 callers
Method
startNestedScroll
(int axes)
app/src/main/assets/RecyclerView.java:11847
↓ 3 callers
Method
stopNestedScroll
()
app/src/main/assets/RecyclerView.java:11857
↓ 3 callers
Method
toString
()
app/src/main/assets/AdapterHelper.java:677
↓ 3 callers
Method
toString
()
app/src/main/assets/RecyclerView.java:13005
↓ 3 callers
Method
unScrap
()
app/src/main/assets/RecyclerView.java:11542
↓ 3 callers
Method
updateLayoutState
(int layoutDirection, int requiredSpace, boolean canUseExistingSpace, Recyc
app/src/main/assets/LinearLayoutManager.java:1294
↓ 2 callers
Method
addChangePayload
(Object payload)
app/src/main/assets/RecyclerView.java:11603
↓ 2 callers
Method
addDisappearingView
To be called only during {@link #onLayoutChildren(Recycler, State)} to add a view to the layout that is known to be going away, either because it has
app/src/main/assets/RecyclerView.java:8542
↓ 2 callers
Method
addPosition
Requests an an item to be prefetched, based on position, with a specified distance, indicating priority. @param layoutPosition Position of the item t
app/src/main/assets/RecyclerView.java:7702
↓ 2 callers
Method
addViewHolderToRecycledViewPool
Prepares the ViewHolder to be removed/recycled, and inserts it into the RecycledViewPool. Pass false to dispatchRecycled for views that have not been
app/src/main/assets/RecyclerView.java:6390
↓ 2 callers
Method
addViewInt
(View child, int index, boolean disappearing)
app/src/main/assets/RecyclerView.java:8593
↓ 2 callers
Method
animateChange
Called by the RecyclerView when an adapter item is present both before and after the layout and RecyclerView has received a {@link Adapter#notifyItemC
app/src/main/assets/RecyclerView.java:13528
↓ 2 callers
Method
assignFromView
(View child)
app/src/main/assets/LinearLayoutManager.java:2679
↓ 2 callers
Method
assignFromViewAndKeepVisibleRect
(View child)
app/src/main/assets/LinearLayoutManager.java:2632
↓ 2 callers
Method
attach
(Adapter adapter)
app/src/main/assets/RecyclerView.java:5607
↓ 2 callers
Method
canFindInPreLayout
(int position)
app/src/main/assets/AdapterHelper.java:412
↓ 2 callers
Method
canReuseUpdatedViewHolder
When an item is changed, ItemAnimator can decide whether it wants to re-use the same ViewHolder for animations or RecyclerView should create a copy of
app/src/main/assets/RecyclerView.java:13742
↓ 2 callers
Method
checkLayoutParams
(ViewGroup.LayoutParams p)
app/src/main/assets/RecyclerView.java:4362
↓ 2 callers
Method
clearNestedRecyclerViewIfNotNested
Utility method for clearing holder's internal RecyclerView, if present
app/src/main/assets/RecyclerView.java:5681
↓ 2 callers
Method
clearOldPositions
()
app/src/main/assets/RecyclerView.java:4419
↓ 2 callers
Method
clearPayload
()
app/src/main/assets/RecyclerView.java:11619
↓ 2 callers
Method
clearTmpDetachFlag
()
app/src/main/assets/RecyclerView.java:11554
↓ 2 callers
Method
computeScrollDuration
(int dx, int dy, int vx, int vy)
app/src/main/assets/RecyclerView.java:5341
↓ 2 callers
Method
computeScrollExtent
(RecyclerView.State state)
app/src/main/assets/LinearLayoutManager.java:1238
↓ 2 callers
Method
computeScrollRange
(RecyclerView.State state)
app/src/main/assets/LinearLayoutManager.java:1249
↓ 2 callers
Method
considerReleasingGlowsOnScroll
(int dx, int dy)
app/src/main/assets/RecyclerView.java:2457
↓ 2 callers
Method
consumePostponedUpdates
()
app/src/main/assets/AdapterHelper.java:120
↓ 2 callers
Method
detach
()
app/src/main/assets/RecyclerView.java:5611
↓ 2 callers
Method
detachViewAt
Temporarily detach a child view. <p>LayoutManagers may want to perform a lightweight detach operation to rearrange views currently attached to the Re
app/src/main/assets/RecyclerView.java:8835
↓ 2 callers
Method
detachViewFromParent
(int offset)
app/src/main/assets/RecyclerView.java:906
↓ 2 callers
Method
detachViewInternal
(int index, View view)
app/src/main/assets/RecyclerView.java:8839
↓ 2 callers
Method
dispatchAttachedToWindow
(RecyclerView view)
app/src/main/assets/RecyclerView.java:8094
← previous
next →
101–200 of 867, ranked by callers