Home
last modified time | relevance | path

Searched defs:view (Results 1 – 25 of 65) sorted by relevance

123

/recyclerview/recyclerview/src/main/java/androidx/recyclerview/widget/
DOrientationHelper.java91 public abstract int getDecoratedStart(View view); in getDecoratedStart()
103 public abstract int getDecoratedEnd(View view); in getDecoratedEnd()
119 public abstract int getTransformedEndWithDecoration(View view); in getTransformedEndWithDecoration()
135 public abstract int getTransformedStartWithDecoration(View view); in getTransformedStartWithDecoration()
145 public abstract int getDecoratedMeasurement(View view); in getDecoratedMeasurement()
155 public abstract int getDecoratedMeasurementInOther(View view); in getDecoratedMeasurementInOther()
199 public abstract void offsetChild(View view, int offset); in offsetChild()
280 public int getDecoratedMeasurement(View view) { in createHorizontalHelper()
288 public int getDecoratedMeasurementInOther(View view) { in createHorizontalHelper()
296 public int getDecoratedEnd(View view) { in createHorizontalHelper()
[all …]
DItemTouchUIUtil.java43 void onDraw(Canvas c, RecyclerView recyclerView, View view, in onDraw()
51 void onDrawOver(Canvas c, RecyclerView recyclerView, View view, in onDrawOver()
59 void clearView(View view); in clearView()
66 void onSelected(View view); in onSelected()
DItemTouchUIUtilImpl.java39 @NonNull View view, in onDraw()
81 @NonNull View view, in onDrawOver()
90 public void clearView(@NonNull View view) { in clearView()
104 public void onSelected(@NonNull View view) { in onSelected()
DDefaultItemAnimator.java137 View view = moves.get(0).holder.itemView; in runPendingAnimations() local
187 View view = additions.get(0).itemView; in runPendingAnimations() local
205 final View view = holder.itemView; in animateRemoveImpl() local
237 final View view = holder.itemView; in animateAddImpl() local
267 final View view = holder.itemView; in animateMove() local
288 final View view = holder.itemView; in animateMoveImpl() local
361 final View view = holder == null ? null : holder.itemView; in animateChangeImpl() local
451 final View view = item.itemView; in endAnimation() local
576 View view = item.holder.itemView; in endAnimations() local
611 View view = item.itemView; in endAnimations() local
[all …]
DGapWorker.java44 public RecyclerView view; field in GapWorker.Task
80 void collectPrefetchPositionsFromView(RecyclerView view, boolean nested) { in collectPrefetchPositionsFromView()
222 RecyclerView view = mRecyclerViews.get(i); in buildTaskList() local
233 RecyclerView view = mRecyclerViews.get(i); in buildTaskList() local
266 static boolean isPrefetchPositionAttached(RecyclerView view, int position) { in isPrefetchPositionAttached()
279 private RecyclerView.ViewHolder prefetchPositionWithDeadline(RecyclerView view, in prefetchPositionWithDeadline()
396 RecyclerView view = mRecyclerViews.get(i); in run() local
DChildHelper.java163 void removeView(View view) { in removeView()
203 final View view = mCallback.getChildAt(offset); in removeViewAt() local
256 final View view = mHiddenViews.get(i); in findHiddenNonRemovedView() local
366 boolean isHidden(View view) { in isHidden()
375 void hide(View view) { in hide()
397 void unhide(View view) { in unhide()
420 boolean removeViewIfHidden(View view) { in removeViewIfHidden()
583 int indexOfChild(View view); in indexOfChild()
591 RecyclerView.ViewHolder getChildViewHolder(View view); in getChildViewHolder()
/recyclerview/recyclerview/src/androidTest/java/androidx/recyclerview/widget/
DLinearLayoutManagerSnappingTest.java93 View view = findCenterView(mLayoutManager); in snapOnScrollSameViewEdge() local
113 View view = findCenterView(mLayoutManager); in snapOnScrollSameView() local
136 View view = findCenterView(mLayoutManager); in snapOnScrollNextView() local
159 View view = findCenterView(mLayoutManager); in snapOnFlingSameView() local
185 View view = findCenterView(mLayoutManager); in snapOnFlingNextView() local
212 View view = findCenterView(mLayoutManager); in setupSnapHelper() local
233 private int getViewDimension(View view) { in getViewDimension()
243 private int getWidthMinusPadding(View view) { in getWidthMinusPadding()
247 private int getHeightMinusPadding(View view) { in getHeightMinusPadding()
259 private int getViewCenterX(View view) { in getViewCenterX()
[all …]
DStaggeredGridLayoutManagerSnappingTest.java99 View view = findCenterView(); in snapOnScrollSameViewFixedSize() local
123 View view = findCenterView(); in snapOnScrollSameView() local
147 View view = findCenterView(); in snapOnScrollNextItem() local
170 View view = findCenterView(); in snapOnFlingSameView() local
196 View view = findCenterView(); in snapOnFlingNextView() local
239 View view = findCenterView(); in setupSnapHelper() local
253 private int getViewDimension(View view) { in getViewDimension()
263 private int getWidthMinusPadding(View view) { in getWidthMinusPadding()
267 private int getHeightMinusPadding(View view) { in getHeightMinusPadding()
279 private int getViewCenterX(View view) { in getViewCenterX()
[all …]
DCacheUtils.java28 static void verifyPositionsPrefetched(RecyclerView view, int dx, int dy, in verifyPositionsPrefetched()
41 private static void verifyCacheContainsPosition(RecyclerView view, int position) { in verifyCacheContainsPosition()
51 static void verifyCacheContainsPositions(RecyclerView view, Integer... positions) { in verifyCacheContainsPositions()
62 static void verifyCacheContainsPrefetchedPositions(RecyclerView view, Integer... positions) { in verifyCacheContainsPrefetchedPositions()
74 static void verifyCacheDoesNotContainPositions(RecyclerView view, Integer... positions) { in verifyCacheDoesNotContainPositions()
83 static RecyclerView.ViewHolder peekAtCachedViewForPosition(RecyclerView view, int position) { in peekAtCachedViewForPosition()
DViewBoundsCheckTest.java113 View view = mBoundCheck.findOneViewWithinBoundFlags(0, mChildren.length, in firstFullyVisibleChildFromStart() local
128 View view = mBoundCheck.findOneViewWithinBoundFlags(mChildren.length - 1, -1, in firstFullyVisibleChildFromEnd() local
144 View view = mBoundCheck.findOneViewWithinBoundFlags(0, mChildren.length, in firstPartiallyOrFullyVisibleChildFromStartWithViewBoundsNotAligned() local
160 View view = mBoundCheck.findOneViewWithinBoundFlags(0, mChildren.length, in firstPartiallyOrFullyVisibleChildFromStartWithViewBoundsAligned() local
176 View view = mBoundCheck.findOneViewWithinBoundFlags(mChildren.length - 1, -1, in firstPartiallyOrFullyVisibleChildFromEndWithViewBoundsNotAligned() local
192 View view = mBoundCheck.findOneViewWithinBoundFlags(mChildren.length - 1, -1, in firstPartiallyOrFullyVisibleChildFromEndWithViewBoundsAligned() local
207 View view = mBoundCheck.findOneViewWithinBoundFlags(0, mChildren.length, in lastFullyInvisibleChildFromStart() local
222 View view = mBoundCheck.findOneViewWithinBoundFlags(mChildren.length - 1, -1, in lastFullyInvisibleChildFromEnd() local
238 View view = mBoundCheck.findOneViewWithinBoundFlags(0, mChildren.length, in noViewsFoundWithinGivenBounds() local
DGridLayoutManagerSnappingTest.kt62 val view = findCenterView() in snapOnScrollSameView() constant
86 val view = findCenterView() in snapOnScrollNextItem() constant
110 val view = findCenterView() in snapOnFlingSameView() constant
134 val view = findCenterView() in snapOnFlingNextView() constant
158 val view = findCenterView() in setupSnapHelper() constant
DRecyclerViewScrollFrameRateTest.kt55 val view = TextView(parent.context) in smoothScrollFrameRateBoost() constant
64 val view = holder.itemView as TextView in smoothScrollFrameRateBoost() constant
DPagerSnapHelperIntegrationTest.kt65 val view = findCenterView() as TextView? in snapOnScrollSameView() constant
84 val view = findCenterView() in snapOnScrollNextView() constant
114 val view = findCenterView() in snapOnFlingSameView() constant
176 val view = findCenterView() in runSnapOnMaxFlingNextView() constant
208 val view = findCenterView() in runSnapOnFlingExactlyToNextView() constant
DAttachDetachCollector.java38 public void onChildViewAttachedToWindow(@NonNull View view) { in onChildViewAttachedToWindow()
43 public void onChildViewDetachedFromWindow(@NonNull View view) { in onChildViewDetachedFromWindow()
DFocusSearchNavigationTest.java189 private View focusSearchAndGive(final View view, final int focusDir) throws Throwable { in focusSearchAndGive()
198 private View focusSearch(final View view, final int focusDir) throws Throwable { in focusSearch()
215 private void requestFocus(final View view) throws Throwable { in requestFocus()
262 View view = LayoutInflater.from(parent.getContext()).inflate(R.layout.item_view, in onCreateViewHolder() local
DChildHelperTest.java55 View view = new View(mContext); in vh() local
125 public int indexOfChild(View view) { in indexOfChild()
154 public RecyclerView.ViewHolder getChildViewHolder(View view) { in getChildViewHolder()
DRecyclerViewLayoutTestKotlin.kt86 val view = recyclerView.getChildAt(i) in duplicateAdapterPositionTest() constant
DBaseGridLayoutManagerTest.java95 protected int getSize(View view) { in getSize()
102 GridLayoutManager.LayoutParams getLp(View view) { in getLp()
240 Rect getViewBounds(View view) { in getViewBounds()
DBaseRecyclerViewInstrumentationTest.java125 void setHasTransientState(final View view, final boolean value) { in setHasTransientState()
359 public boolean requestFocus(final View view, boolean waitForScroll) throws Throwable { in requestFocus()
443 protected void requestLayoutOnUIThread(final View view) throws Throwable { in requestLayoutOnUIThread()
560 public void setVisibility(final View view, final int visibility) throws Throwable { in setVisibility()
659 View view = getChildAt(i); in assertVisibleItemPositions() local
693 View view = recycler.getViewForPosition(i); in layoutRange() local
766 public void dispatchAttachedToWindow(RecyclerView view) { in dispatchAttachedToWindow()
771 public void dispatchDetachedFromWindow(RecyclerView view, RecyclerView.Recycler recycler) { in dispatchDetachedFromWindow()
1265 View view = recyclerView.getChildAt(i); in validateRemaining() local
1297 View view = recyclerView.getChildAt(i); in onAttached() local
DBaseWrapContentWithAspectRatioTest.java48 int getSize(View view, int orientation) { in getSize()
117 public void onMeasure(LoggingView view, int wSpec, in onMeasure()
163 public void onMeasure(LoggingView view, int wSpec, int hSpec) { in onMeasure()
178 public void setLayoutParams(LoggingView view) { in setLayoutParams()
DConcatAdapterSubject.kt99 val view = recyclerView.mRecycler.getViewForPosition(globalPosition) in assertThat() constant
/recyclerview/recyclerview-selection/src/main/java/androidx/recyclerview/selection/
DStableIdKeyProvider.java106 void onAttached(@NonNull View view) { in onAttached()
123 void onRecycled(@NonNull View view) { in onRecycled()
161 @Nullable ViewHolder findViewHolder(@NonNull View view); in findViewHolder()
181 void onAttached(@NonNull View view); in onAttached()
184 void onRecycled(@NonNull View view); in onRecycled()
228 public @Nullable ViewHolder findViewHolder(@NonNull View view) { in findViewHolder()
/recyclerview/recyclerview-selection/src/androidTest/java/androidx/recyclerview/selection/
DStableIdKeyProviderTest.java106 LinearLayout view = new LinearLayout(mContext); in addViewHolder() local
135 public @Nullable ViewHolder findViewHolder(@NonNull View view) { in findViewHolder()
152 public void onAttached(@NonNull View view) { in onAttached()
157 public void onRecycled(@NonNull View view) { in onRecycled()
173 TestHolder getHolder(ViewGroup view, int position) { in getHolder()
/recyclerview/recyclerview-selection/src/androidTest/java/androidx/recyclerview/selection/testing/
DTestHolder.java24 public TestHolder(ViewGroup view) { in TestHolder()
/recyclerview/recyclerview/src/androidTest/java/androidx/recyclerview/test/
DRecyclerViewTest.java74 RecyclerView view; in inflation() local

123