MCPcopy Create free account

hub / github.com/DrownCoder/RecyclerViewStudy / functions

Functions867 in github.com/DrownCoder/RecyclerViewStudy

↓ 4 callersMethodgetChildViewHolder
(View view)
app/src/main/assets/RecyclerView.java:884
↓ 4 callersMethodgetLayoutDirection
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 callersMethodgetNanoTime
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 callersMethodgetTransformedBoundingBox
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 callersMethodhasFocus
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 callersMethodhasPendingUpdates
()
app/src/main/assets/AdapterHelper.java:461
↓ 4 callersMethodisBound
()
app/src/main/assets/RecyclerView.java:11575
↓ 4 callersMethodisLayoutRTL
()
app/src/main/assets/LinearLayoutManager.java:1088
↓ 4 callersMethodisMeasurementUpToDate
(int childSize, int spec, int dimension)
app/src/main/assets/RecyclerView.java:9455
↓ 4 callersMethodlogChildren
Used for debugging. Logs the internal representation of children to default logger.
app/src/main/assets/LinearLayoutManager.java:2189
↓ 4 callersMethodmarkItemDecorInsetsDirty
()
app/src/main/assets/RecyclerView.java:4282
↓ 4 callersMethodonScrollStateChanged
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 callersMethodpostOnAnimation
()
app/src/main/assets/RecyclerView.java:5310
↓ 4 callersMethodrecycleChildren
Recycles children between given indices. @param startIndex inclusive @param endIndex exclusive
app/src/main/assets/LinearLayoutManager.java:1488
↓ 4 callersMethodrecycleUpdateOpsAndClearList
(List<UpdateOp> ops)
app/src/main/assets/AdapterHelper.java:753
↓ 4 callersMethodremoveAndRecycleAllViews
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 callersMethodreset
()
app/src/main/assets/LinearLayoutManager.java:2597
↓ 4 callersMethodresolveShouldLayoutReverse
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 callersMethodscrollBy
(int dy, RecyclerView.Recycler recycler, RecyclerView.State state)
app/src/main/assets/LinearLayoutManager.java:1447
↓ 4 callersMethodscrollToPositionWithOffset
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 callersMethodsmoothScrollBy
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 callersMethodstop
()
app/src/main/assets/RecyclerView.java:5389
↓ 4 callersMethodstopScroll
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 callersMethodtriggerUpdateProcessor
()
app/src/main/assets/RecyclerView.java:5466
↓ 4 callersMethodupdateLayoutStateToFillEnd
(AnchorInfo anchorInfo)
app/src/main/assets/LinearLayoutManager.java:1059
↓ 4 callersMethodupdateLayoutStateToFillStart
(AnchorInfo anchorInfo)
app/src/main/assets/LinearLayoutManager.java:1073
↓ 4 callersMethodupdateViewCacheSize
()
app/src/main/assets/RecyclerView.java:5772
↓ 3 callersMethodassertLayoutStep
(int accepted)
app/src/main/assets/RecyclerView.java:12691
↓ 3 callersMethodassignCoordinateFromPadding
assigns anchor coordinate from the RecyclerView's padding depending on current layoutFromEnd value
app/src/main/assets/LinearLayoutManager.java:2610
↓ 3 callersMethodassignPositionFromScrapList
()
app/src/main/assets/LinearLayoutManager.java:2469
↓ 3 callersMethodattachViewToParent
(View child, int index, ViewGroup.LayoutParams layoutParams)
app/src/main/assets/RecyclerView.java:889
↓ 3 callersMethodbuildAdapterChangeFlagsForAnimations
(ViewHolder viewHolder)
app/src/main/assets/RecyclerView.java:13532
↓ 3 callersMethodconsumeUpdatesInOnePass
Skips pre-processing and applies all updates in one pass.
app/src/main/assets/AdapterHelper.java:557
↓ 3 callersMethoddefaultOnMeasure
Used when onMeasure is called before layout manager is set
app/src/main/assets/RecyclerView.java:3430
↓ 3 callersMethoddispatchChildDetached
(View child)
app/src/main/assets/RecyclerView.java:7468
↓ 3 callersMethoddispatchOnScrolled
(int hresult, int vresult)
app/src/main/assets/RecyclerView.java:5066
↓ 3 callersMethodfillRemainingScrollValues
(State state)
app/src/main/assets/RecyclerView.java:3852
↓ 3 callersMethodfindFirstVisibleChildClosestToEnd
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 callersMethodfindFirstVisibleChildClosestToStart
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 callersMethodgetDecoratedMeasurementInOther
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 callersMethodgetItemDecorInsetsForChild
(View child)
app/src/main/assets/RecyclerView.java:5014
↓ 3 callersMethodgetRecycledViewCount
Returns the current number of Views held by the RecycledViewPool of the given view type.
app/src/main/assets/RecyclerView.java:5541
↓ 3 callersMethodgetRecycledViewPool
()
app/src/main/assets/RecyclerView.java:6750
↓ 3 callersMethodgetTargetPosition
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 callersMethodgetTotalSpaceChange
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 callersMethodhasValidAnchor
()
app/src/main/assets/LinearLayoutManager.java:2548
↓ 3 callersMethodinvalidateAnchor
()
app/src/main/assets/LinearLayoutManager.java:2552
↓ 3 callersMethodisFocused
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 callersMethodmarkViewHoldersUpdated
(int positionStart, int itemCount, Object payloads)
app/src/main/assets/AdapterHelper.java:772
↓ 3 callersMethodneedsUpdate
()
app/src/main/assets/RecyclerView.java:11571
↓ 3 callersMethodoffsetChildren
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 callersMethodonAdapterChanged
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 callersMethodonAnimation
(int dx, int dy)
app/src/main/assets/RecyclerView.java:12201
↓ 3 callersMethodonScrolled
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 callersMethodrecordPreLayoutInformation
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 callersMethodremoveAndRecycleScrapInt
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 callersMethodremoveAndRecycleViewAt
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 callersMethodremoveCallbacks
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 callersMethodresetInternal
()
app/src/main/assets/RecyclerView.java:11640
↓ 3 callersMethodscrapOrRecycleView
1.Recycle操作对应的是removeView, View被remove后调用Recycler的recycleViewHolderInternal回收其ViewHolder 2.Scrap操作对应的是detachView,View被detach后调用Reccyler的scrapView
app/src/main/assets/RecyclerView.java:9300
↓ 3 callersMethodscrollBy
(int x, int y)
app/src/main/assets/RecyclerView.java:1844
↓ 3 callersMethodscrollByInternal
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 callersMethodsetExactMeasureSpecsFrom
(RecyclerView recyclerView)
app/src/main/assets/RecyclerView.java:10857
↓ 3 callersMethodsetLayoutManager
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 callersMethodsetListener
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 callersMethodsetMeasureSpecs
(int wSpec, int hSpec)
app/src/main/assets/RecyclerView.java:7721
↓ 3 callersMethodsetMeasuredDimension
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 callersMethodsetOrientation
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 callersMethodstartNestedScroll
(int axes)
app/src/main/assets/RecyclerView.java:11847
↓ 3 callersMethodstopNestedScroll
()
app/src/main/assets/RecyclerView.java:11857
↓ 3 callersMethodtoString
()
app/src/main/assets/AdapterHelper.java:677
↓ 3 callersMethodtoString
()
app/src/main/assets/RecyclerView.java:13005
↓ 3 callersMethodunScrap
()
app/src/main/assets/RecyclerView.java:11542
↓ 3 callersMethodupdateLayoutState
(int layoutDirection, int requiredSpace, boolean canUseExistingSpace, Recyc
app/src/main/assets/LinearLayoutManager.java:1294
↓ 2 callersMethodaddChangePayload
(Object payload)
app/src/main/assets/RecyclerView.java:11603
↓ 2 callersMethodaddDisappearingView
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 callersMethodaddPosition
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 callersMethodaddViewHolderToRecycledViewPool
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 callersMethodaddViewInt
(View child, int index, boolean disappearing)
app/src/main/assets/RecyclerView.java:8593
↓ 2 callersMethodanimateChange
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 callersMethodassignFromView
(View child)
app/src/main/assets/LinearLayoutManager.java:2679
↓ 2 callersMethodassignFromViewAndKeepVisibleRect
(View child)
app/src/main/assets/LinearLayoutManager.java:2632
↓ 2 callersMethodattach
(Adapter adapter)
app/src/main/assets/RecyclerView.java:5607
↓ 2 callersMethodcanFindInPreLayout
(int position)
app/src/main/assets/AdapterHelper.java:412
↓ 2 callersMethodcanReuseUpdatedViewHolder
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 callersMethodcheckLayoutParams
(ViewGroup.LayoutParams p)
app/src/main/assets/RecyclerView.java:4362
↓ 2 callersMethodclearNestedRecyclerViewIfNotNested
Utility method for clearing holder's internal RecyclerView, if present
app/src/main/assets/RecyclerView.java:5681
↓ 2 callersMethodclearOldPositions
()
app/src/main/assets/RecyclerView.java:4419
↓ 2 callersMethodclearPayload
()
app/src/main/assets/RecyclerView.java:11619
↓ 2 callersMethodclearTmpDetachFlag
()
app/src/main/assets/RecyclerView.java:11554
↓ 2 callersMethodcomputeScrollDuration
(int dx, int dy, int vx, int vy)
app/src/main/assets/RecyclerView.java:5341
↓ 2 callersMethodcomputeScrollExtent
(RecyclerView.State state)
app/src/main/assets/LinearLayoutManager.java:1238
↓ 2 callersMethodcomputeScrollRange
(RecyclerView.State state)
app/src/main/assets/LinearLayoutManager.java:1249
↓ 2 callersMethodconsiderReleasingGlowsOnScroll
(int dx, int dy)
app/src/main/assets/RecyclerView.java:2457
↓ 2 callersMethodconsumePostponedUpdates
()
app/src/main/assets/AdapterHelper.java:120
↓ 2 callersMethoddetach
()
app/src/main/assets/RecyclerView.java:5611
↓ 2 callersMethoddetachViewAt
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 callersMethoddetachViewFromParent
(int offset)
app/src/main/assets/RecyclerView.java:906
↓ 2 callersMethoddetachViewInternal
(int index, View view)
app/src/main/assets/RecyclerView.java:8839
↓ 2 callersMethoddispatchAttachedToWindow
(RecyclerView view)
app/src/main/assets/RecyclerView.java:8094
← previousnext →101–200 of 867, ranked by callers