Lines Matching refs:itemView

220                 testViewHolder.itemView.setBackgroundDrawable(stl);
234 holder.itemView.setFocusable(true);
235 holder.itemView.setFocusableInTouchMode(true);
237 holder.itemView.setFocusable(false);
238 holder.itemView.setFocusableInTouchMode(false);
242 holder.itemView.setMinimumHeight((mAttachedRv.getHeight()
257 toFocus.itemView.hasFocus(), is(true));
279 toFocus.itemView.hasFocus(), is(true));
281 isViewPartiallyInBound(mRecyclerView, toFocus.itemView));
283 isViewFullyInBound(mRecyclerView, toVisible.itemView));
306 testViewHolder.itemView.setBackgroundDrawable(stl);
320 holder.itemView.setFocusable(true);
321 holder.itemView.setFocusableInTouchMode(true);
323 holder.itemView.setFocusable(false);
324 holder.itemView.setFocusableInTouchMode(false);
328 holder.itemView.setMinimumHeight((mAttachedRv.getHeight()
342 toFocus.itemView.hasFocus(), is(true));
364 toFocus.itemView.hasFocus(), is(true));
366 isViewPartiallyInBound(mRecyclerView, toFocus.itemView));
368 isViewFullyInBound(mRecyclerView, toVisible.itemView));
391 testViewHolder.itemView.setBackgroundDrawable(stl);
405 holder.itemView.setFocusable(true);
406 holder.itemView.setFocusableInTouchMode(true);
408 holder.itemView.setFocusable(false);
409 holder.itemView.setFocusableInTouchMode(false);
413 holder.itemView.setMinimumWidth((mAttachedRv.getWidth()
428 toFocus.itemView.hasFocus(), is(true));
450 toFocus.itemView.hasFocus(), is(true));
452 isViewPartiallyInBound(mRecyclerView, toFocus.itemView));
454 isViewFullyInBound(mRecyclerView, toVisible.itemView));
477 testViewHolder.itemView.setBackgroundDrawable(stl);
491 holder.itemView.setFocusable(true);
492 holder.itemView.setFocusableInTouchMode(true);
494 holder.itemView.setFocusable(false);
495 holder.itemView.setFocusableInTouchMode(false);
499 holder.itemView.setMinimumWidth((mAttachedRv.getWidth()
513 toFocus.itemView.hasFocus(), is(true));
535 toFocus.itemView.hasFocus(), is(true));
537 isViewPartiallyInBound(mRecyclerView, toFocus.itemView));
539 isViewFullyInBound(mRecyclerView, toVisible.itemView));
568 testViewHolder.itemView.setBackgroundDrawable(stl);
582 holder.itemView.setFocusable(true);
583 holder.itemView.setFocusableInTouchMode(true);
585 holder.itemView.setFocusable(false);
586 holder.itemView.setFocusableInTouchMode(false);
590 holder.itemView.setMinimumHeight((mAttachedRv.getHeight()
604 toFocus.itemView.hasFocus(), is(true));
609 mRecyclerView.findViewHolderForAdapterPosition(focusIndex).itemView.hasFocus(),
635 unforcusablePartiallyVisibleChild.itemView));
647 mRecyclerView.findViewHolderForAdapterPosition(focusIndex).itemView.hasFocus(),
719 ViewGroup.LayoutParams lp = holder.itemView.getLayoutParams();
722 holder.itemView.setLayoutParams(lp);
817 ViewGroup.LayoutParams lp = holder.itemView.getLayoutParams();
820 holder.itemView.setLayoutParams(lp);
862 itemViewHolder.itemView);
874 // wait till itemAnimator starts which will block itemView's accessibility
880 ViewCompat.getImportantForAccessibility(itemViewHolder.itemView));
905 itemViewHolder.itemView);
921 .findViewHolderForAdapterPosition(0).itemView;
968 final int top = mLayoutManager.mOrientationHelper.getDecoratedStart(vh.itemView);
969 requestFocus(vh.itemView, true);
970 assertTrue("view should have the focus", vh.itemView.hasFocus());
982 mLayoutManager.mOrientationHelper.getDecoratedStart(postVH.itemView));
1028 int startMargin = helper.getDecoratedStart(vh.itemView) -
1031 helper.getDecoratedEnd(vh.itemView);
1033 requestFocus(vh.itemView, true);
1034 assertTrue("view should gain the focus", vh.itemView.hasFocus());
1036 startMargin = helper.getDecoratedStart(vh.itemView) -
1039 helper.getDecoratedEnd(vh.itemView);
1049 .getDecoratedMeasurement(vh.itemView);
1058 startMargin = helper.getDecoratedStart(vh.itemView) -
1061 helper.getDecoratedEnd(vh.itemView);
1083 assertTrue("view should preserve the focus", vh.itemView.hasFocus());
1088 View focused = postVH.itemView;