MCPcopy Create free account

hub / github.com/DrownCoder/RecyclerViewStudy / functions

Functions867 in github.com/DrownCoder/RecyclerViewStudy

↓ 75 callersMethodsize
()
app/src/main/assets/RecyclerView.java:5554
↓ 71 callersMethodget
Gets the Object mapped from the specified id, or <code>null</code> if no such data exists. @param resourceId Id of the resource you want to remove. I
app/src/main/assets/RecyclerView.java:12888
↓ 55 callersMethodgetChildCount
()
app/src/main/assets/RecyclerView.java:822
↓ 46 callersMethodgetChildViewHolderInt
(View child)
app/src/main/assets/RecyclerView.java:4702
↓ 38 callersMethodexceptionLabel
Label appended to all public exception strings, used to help find which RV in an app is hitting an exception.
app/src/main/assets/RecyclerView.java:723
↓ 37 callersMethodgetChildAt
(int offset)
app/src/main/assets/RecyclerView.java:864
↓ 30 callersMethodgetWidth
Return the width of the parent RecyclerView @return Width in pixels
app/src/main/assets/RecyclerView.java:9058
↓ 29 callersMethodgetHeight
Return the height of the parent RecyclerView @return Height in pixels
app/src/main/assets/RecyclerView.java:9069
↓ 27 callersMethodgetItemCount
Returns the total number of items that can be laid out. Note that this number is not necessarily equal to the number of items in the adapter, so you s
app/src/main/assets/RecyclerView.java:12973
↓ 26 callersMethodgetPosition
@deprecated This method is deprecated because its meaning is ambiguous due to the async handling of adapter updates. Please use {@link #getLayoutPosit
app/src/main/assets/RecyclerView.java:11436
↓ 25 callersMethodshouldIgnore
()
app/src/main/assets/RecyclerView.java:11422
↓ 24 callersMethodclear
Clear scrap views out of this recycler. Detached views contained within a recycled view pool will remain.
app/src/main/assets/RecyclerView.java:5755
↓ 22 callersMethodcanScrollHorizontally
Query if horizontal scrolling is currently supported. The default implementation returns false. @return True if this LayoutManager can scroll the cur
app/src/main/assets/RecyclerView.java:8428
↓ 22 callersMethodcanScrollVertically
Query if vertical scrolling is currently supported. The default implementation returns false. @return True if this LayoutManager can scroll the curre
app/src/main/assets/RecyclerView.java:8440
↓ 21 callersMethodgetDecoratedStart
Returns the start of the view including its decoration and margin. <p> For example, for the horizontal helper, if a View's left is at pixel 20, has 2p
app/src/main/assets/OrientationHelper.java:83
↓ 21 callersMethodgetEndAfterPadding
Returns the end position of the layout after the end padding is removed. @return The end boundary for this layout.
app/src/main/assets/OrientationHelper.java:161
↓ 21 callersMethodisRemoved
()
app/src/main/assets/RecyclerView.java:11579
↓ 21 callersMethodrequestLayout
()
app/src/main/assets/RecyclerView.java:4273
↓ 20 callersMethodadd
(T t)
app/src/main/java/com/study/xuan/recyclerviewstudy/ArrayListWrapper.java:27
↓ 20 callersMethodgetStartAfterPadding
Returns the start position of the layout after the start padding is added. @return The very first pixel we can draw.
app/src/main/assets/OrientationHelper.java:154
↓ 19 callersMethodisPreLayout
Returns true if @return
app/src/main/assets/RecyclerView.java:12834
↓ 18 callersMethodgetPaddingBottom
Return the bottom padding of the parent RecyclerView @return Padding in pixels
app/src/main/assets/RecyclerView.java:9113
↓ 18 callersMethodgetPaddingRight
Return the right padding of the parent RecyclerView @return Padding in pixels
app/src/main/assets/RecyclerView.java:9102
↓ 18 callersMethodgetPaddingTop
Return the top padding of the parent RecyclerView @return Padding in pixels
app/src/main/assets/RecyclerView.java:9091
↓ 17 callersMethodaddFlags
(int flags)
app/src/main/assets/RecyclerView.java:11599
↓ 17 callersMethodgetPaddingLeft
Return the left padding of the parent RecyclerView @return Padding in pixels
app/src/main/assets/RecyclerView.java:9080
↓ 16 callersMethodgetDecoratedEnd
Returns the end of the view including its decoration and margin. <p> For example, for the horizontal helper, if a View's right is at pixel 200, has 2p
app/src/main/assets/OrientationHelper.java:95
↓ 15 callersMethodgetParent
()
app/src/main/assets/RecyclerView.java:7531
↓ 15 callersMethodhasStableIds
Returns true if this adapter publishes a unique <code>long</code> value that can act as a key for the item at a given position in the data set. If tha
app/src/main/assets/RecyclerView.java:7069
↓ 15 callersMethodremove
Removes the mapping from the specified id, if there was any. @param resourceId Id of the resource you want to remove. It is suggested to use R.id. to
app/src/main/assets/RecyclerView.java:12871
↓ 14 callersMethodgetScrollingChildHelper
()
app/src/main/assets/RecyclerView.java:13965
↓ 13 callersMethodensureLayoutState
()
app/src/main/assets/LinearLayoutManager.java:1092
↓ 12 callersMethodobtainUpdateOp
(int cmd, int positionStart, int itemCount, Object payload)
app/src/main/assets/AdapterHelper.java:730
↓ 11 callersMethodeatRequestLayout
()
app/src/main/assets/RecyclerView.java:2152
↓ 11 callersMethodisInvalid
()
app/src/main/assets/RecyclerView.java:11567
↓ 11 callersMethodresumeRequestLayout
(boolean performLayoutChildren)
app/src/main/assets/RecyclerView.java:2159
↓ 10 callersMethodfill
The magic functions :). Fills the given layout, defined by the layoutState. This is fairly independent from the rest of the {@link android.support.v7.
app/src/main/assets/LinearLayoutManager.java:1635
↓ 10 callersMethodgetAdapterPosition
Returns the Adapter position of the item represented by this ViewHolder. <p> Note that this might be different than the {@link #getLayoutPosition()} i
app/src/main/assets/RecyclerView.java:11493
↓ 10 callersMethodgetChildAt
(int index)
app/src/main/assets/RecyclerView.java:7536
↓ 10 callersMethodgetLayoutPosition
Returns the position of the ViewHolder in terms of the latest layout pass. <p> This position is mostly used by RecyclerView components to be consisten
app/src/main/assets/RecyclerView.java:11465
↓ 9 callersMethodisTmpDetached
()
app/src/main/assets/RecyclerView.java:11587
↓ 9 callersMethodoffsetPosition
(int offset, boolean applyToPreLayout)
app/src/main/assets/RecyclerView.java:11395
↓ 9 callersMethodsetScrollState
(int state)
app/src/main/assets/RecyclerView.java:1564
↓ 8 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:7876
↓ 8 callersMethodfindOneVisibleChild
(int fromIndex, int toIndex, boolean completelyVisible, boolean acceptPartiallyVi
app/src/main/assets/LinearLayoutManager.java:2086
↓ 8 callersMethodgetDecoratedMeasurement
Returns the space occupied by this View in the current orientation including decorations and margins. @param view The view element to check @return T
app/src/main/assets/OrientationHelper.java:137
↓ 8 callersMethodrecycleUpdateOp
(UpdateOp op)
app/src/main/assets/AdapterHelper.java:745
↓ 8 callersMethodsetIsRecyclable
Informs the recycler whether this item can be recycled. Views which are not recyclable will not be reused for other items until setIsRecyclable() is l
app/src/main/assets/RecyclerView.java:11717
↓ 7 callersMethodfindPositionOffset
(int position)
app/src/main/assets/AdapterHelper.java:469
↓ 7 callersMethodgetFocusedChild
Returns the item View which has or contains focus. @return A direct child of RecyclerView which has focus or contains the focused child.
app/src/main/assets/RecyclerView.java:9170
↓ 7 callersMethodgetItemViewType
Return the view type of the item at <code>position</code> for the purposes of view recycling. <p>The default implementation of this method returns 0,
app/src/main/assets/RecyclerView.java:7015
↓ 7 callersMethodgetMode
Returns the MeasureSpec mode for the current orientation from the LayoutManager. @return The current measure spec mode. @see View.MeasureSpec @see R
app/src/main/assets/OrientationHelper.java:211
↓ 7 callersMethodgetScrapDataForType
(int viewType)
app/src/main/assets/RecyclerView.java:5641
↓ 7 callersMethodgetViewLayoutPosition
Returns the adapter position that the view this LayoutParams is attached to corresponds to as of latest layout calculation. @return the adapter posit
app/src/main/assets/RecyclerView.java:12018
↓ 7 callersMethodisComputingLayout
Returns whether RecyclerView is currently computing a layout. <p> If this method returns true, it means that RecyclerView is in a lockdown state and a
app/src/main/assets/RecyclerView.java:3535
↓ 7 callersMethodisScrap
()
app/src/main/assets/RecyclerView.java:11538
↓ 7 callersMethodonEnterLayoutOrScroll
()
app/src/main/assets/RecyclerView.java:3476
↓ 7 callersMethodonExitLayoutOrScroll
()
app/src/main/assets/RecyclerView.java:3480
↓ 7 callersMethodwasReturnedFromScrap
()
app/src/main/assets/RecyclerView.java:11546
↓ 6 callersMethodgetChildCount
()
app/src/main/assets/RecyclerView.java:7526
↓ 6 callersMethodgetItemId
Return the stable ID for the item at <code>position</code>. If {@link #hasStableIds()} would return false this method should return {@link #NO_ID}. Th
app/src/main/assets/RecyclerView.java:7047
↓ 6 callersMethodgetItemId
Returns The itemId represented by this ViewHolder. @return The item's id if adapter has stable ids, {@link RecyclerView#NO_ID} otherwise
app/src/main/assets/RecyclerView.java:11525
↓ 6 callersMethodhasAnyOfTheFlags
(int flags)
app/src/main/assets/RecyclerView.java:11583
↓ 6 callersMethodindexOfChild
(View view)
app/src/main/assets/RecyclerView.java:839
↓ 6 callersMethodlog
(String log)
app/src/main/java/com/study/xuan/recyclerviewstudy/RcyLog.java:21
↓ 6 callersMethodpostponeAndUpdateViewHolders
(UpdateOp op)
app/src/main/assets/AdapterHelper.java:437
↓ 6 callersMethodrecycleCachedViewAt
Recycles a cached view and removes the view from the list. Views are added to cache if and only if they are recyclable, so this method does not check
app/src/main/assets/RecyclerView.java:6270
↓ 6 callersMethodrecycleViewHolderInternal
internal implementation checks if view is scrapped or attached and throws an exception if so. Public version un-scraps before calling recycle.
app/src/main/assets/RecyclerView.java:6290
↓ 6 callersMethodremoveDetachedView
(View child, boolean animate)
app/src/main/assets/RecyclerView.java:4194
↓ 5 callersMethodclearReturnedFromScrapFlag
()
app/src/main/assets/RecyclerView.java:11550
↓ 5 callersMethodconsumePendingUpdateOperations
Helper method reflect data changes to the state. <p> Adapter changes during a scroll may trigger a crash because scroll assumes no data change but dat
app/src/main/assets/RecyclerView.java:1871
↓ 5 callersMethoddispatchLayout
Wrapper around layoutChildren() that handles animating changes caused by layout. Animations work on the assumption that there are five different kinds
app/src/main/assets/RecyclerView.java:3672
↓ 5 callersMethodgetHeightMode
Return the height measurement spec mode of the RecyclerView. <p> This value is set only if the LayoutManager opts into the auto measure api via {@link
app/src/main/assets/RecyclerView.java:9047
↓ 5 callersMethodgetTotalSpace
Returns the total space to layout. This number is the difference between {@link #getEndAfterPadding()} and {@link #getStartAfterPadding()}. @return T
app/src/main/assets/OrientationHelper.java:183
↓ 5 callersMethodgetUnmodifiedPayloads
()
app/src/main/assets/RecyclerView.java:11626
↓ 5 callersMethodgetWidthMode
Return the width measurement spec mode of the RecyclerView. <p> This value is set only if the LayoutManager opts into the auto measure api via {@link
app/src/main/assets/RecyclerView.java:9027
↓ 5 callersMethodisItemRemoved
Returns true if the adapter data item corresponding to the view this LayoutParams is attached to has been removed from the data set. A LayoutManager m
app/src/main/assets/RecyclerView.java:11983
↓ 5 callersMethodisRunning
Method which returns whether there are any item animations currently running. This method can be used to determine whether to delay other actions unti
app/src/main/assets/RecyclerView.java:13603
↓ 5 callersMethodisUpdated
()
app/src/main/assets/RecyclerView.java:11769
↓ 5 callersMethodonDispatchSecondPass
(UpdateOp updateOp)
app/src/main/assets/AdapterHelper.java:776
↓ 5 callersMethodpostAnimationRunner
Post a runnable to the next frame to run pending item animations. Only the first such request will be posted, governed by the mPostedAnimatorRunner fl
app/src/main/assets/RecyclerView.java:3593
↓ 5 callersMethodpostOnAnimation
Causes the Runnable to execute on the next animation time step. The runnable will be run on the user interface thread. <p> Calling this method when La
app/src/main/assets/RecyclerView.java:8129
↓ 5 callersMethodsetFlags
(int flags, int mask)
app/src/main/assets/RecyclerView.java:11595
↓ 5 callersMethodstop
Stops running the SmoothScroller in each animation callback. Note that this does not cancel any existing {@link Action} updated by {@link #onTargetFou
app/src/main/assets/RecyclerView.java:12150
↓ 5 callersMethodunscrapView
Remove a previously scrapped view from the pool of eligible scrap. <p>This view will no longer be eligible for reuse until re-scrapped or until it is
app/src/main/assets/RecyclerView.java:6458
↓ 4 callersMethodaddAnimatingView
Adds a view to the animatingViews list. mAnimatingViews holds the child views that are currently being kept around purely for the purpose of being ani
app/src/main/assets/RecyclerView.java:1444
↓ 4 callersMethodaddView
(View child, int index)
app/src/main/assets/RecyclerView.java:827
↓ 4 callersMethodassertNotInLayoutOrScroll
(String message)
app/src/main/assets/LinearLayoutManager.java:1473
↓ 4 callersMethodcancelTouch
()
app/src/main/assets/RecyclerView.java:3269
↓ 4 callersMethodchooseSize
Chooses a size from the given specs and parameters that is closest to the desired size and also complies with the spec. @param spec The measureSpec @
app/src/main/assets/RecyclerView.java:7849
↓ 4 callersMethodclearOldPosition
()
app/src/main/assets/RecyclerView.java:11411
↓ 4 callersMethodcomputeScrollOffset
(RecyclerView.State state)
app/src/main/assets/LinearLayoutManager.java:1227
↓ 4 callersMethoddispatchAndUpdateViewHolders
(UpdateOp op)
app/src/main/assets/AdapterHelper.java:229
↓ 4 callersMethoddispatchLayoutStep2
The second layout step where we do the actual layout of the views for the final state. This step might be run multiple times if necessary (e.g. measur
app/src/main/assets/RecyclerView.java:3974
↓ 4 callersMethodendAnimations
Method called when all item animations should be ended immediately. This could happen when other events, like scrolling, occur, so that animating view
app/src/main/assets/RecyclerView.java:13592
↓ 4 callersMethodfindContainingItemView
Traverses the ancestors of the given view and returns the item view that contains it and also a direct child of the RecyclerView. This returned view c
app/src/main/assets/RecyclerView.java:4675
↓ 4 callersMethodgetChangedHolderKey
Returns a unique key to be used while handling change animations. It might be child's position or stable id depending on the adapter type.
app/src/main/assets/RecyclerView.java:4221
↓ 4 callersMethodgetChildClosestToEnd
Convenience method to find the child closes to end. Caller should check it has enough children. @return The child closes to end of the layout from us
app/src/main/assets/LinearLayoutManager.java:1847
↓ 4 callersMethodgetChildClosestToStart
Convenience method to find the child closes to start. Caller should check it has enough children. @return The child closes to start of the layout fro
app/src/main/assets/LinearLayoutManager.java:1835
↓ 4 callersMethodgetChildMeasureSpec
Calculate a MeasureSpec value for measuring a child view in one dimension. @param parentSize Size of the parent view where the child will be placed @
app/src/main/assets/RecyclerView.java:9520
next →1–100 of 867, ranked by callers