HomeSort by relevance Sort by last modified time
    Searched refs:mRecyclerView (Results 1 - 21 of 21) sorted by null

  /frameworks/support/v7/recyclerview/src/android/support/v7/widget/
RecyclerViewAccessibilityDelegate.java 31 final RecyclerView mRecyclerView;
35 mRecyclerView = recyclerView;
43 if (mRecyclerView.getLayoutManager() != null) {
44 return mRecyclerView.getLayoutManager().performAccessibilityAction(action, args);
54 if (mRecyclerView.getLayoutManager() != null) {
55 mRecyclerView.getLayoutManager().onInitializeAccessibilityNodeInfo(info);
79 if (mRecyclerView.getLayoutManager() != null) {
80 mRecyclerView.getLayoutManager().
90 if (mRecyclerView.getLayoutManager() != null) {
91 return mRecyclerView.getLayoutManager()
    [all...]
RecyclerView.java 598 if (layout.mRecyclerView != null) {
600 " is already attached to a RecyclerView: " + layout.mRecyclerView);
    [all...]
StaggeredGridLayoutManager.java     [all...]
  /frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
BaseRecyclerViewInstrumentationTest.java 41 protected RecyclerView mRecyclerView;
66 mRecyclerView.setAdapter(adapter);
76 mRecyclerView.swapAdapter(adapter, removeAndRecycleExistingViews);
91 if (mRecyclerView != null && mRecyclerView
93 TestLayoutManager lm = (TestLayoutManager) mRecyclerView.getLayoutManager();
103 if (mRecyclerView != null) {
123 mRecyclerView.getPaddingLeft(),
124 mRecyclerView.getPaddingTop(),
125 mRecyclerView.getPaddingLeft() + mRecyclerView.getWidth()
    [all...]
RecyclerViewBasicTest.java 30 RecyclerView mRecyclerView;
35 mRecyclerView = new RecyclerView(mContext);
50 mRecyclerView.measure(View.MeasureSpec.AT_MOST | 320, View.MeasureSpec.AT_MOST | 240);
54 mRecyclerView.layout(0, 0, 320, 320);
67 mRecyclerView.setLayoutManager(layoutManager);
75 mRecyclerView.setLayoutManager(layoutManager);
76 mRecyclerView.setAdapter(new MockAdapter(3));
84 mRecyclerView.setAdapter(adapterOld);
88 mRecyclerView.setAdapter(adapterNew);
92 mRecyclerView.setAdapter(null)
    [all...]
LinearLayoutManagerTest.java 93 mRecyclerView = new RecyclerView(getActivity());
94 mRecyclerView.setHasFixedSize(true);
97 mRecyclerView.setAdapter(mTestAdapter);
102 mRecyclerView.setLayoutManager(mLayoutManager);
112 final RecyclerView.ViewHolder vh = mRecyclerView.findViewHolderForPosition(center);
123 final int childCountToAdd = mRecyclerView.getChildCount() * 2;
128 final RecyclerView.ViewHolder postVH = mRecyclerView.findViewHolderForPosition(center);
170 final int position = mRecyclerView.getChildPosition(child);
235 int position = mRecyclerView.getChildPosition(child);
244 (mRecyclerView.getAdapter().getItemCount() - maxPosition) / 2
    [all...]
StaggeredGridLayoutManagerTest.java 79 mRecyclerView = new RecyclerView(getActivity());
80 mRecyclerView.setAdapter(mAdapter);
81 mRecyclerView.setHasFixedSize(true);
86 mRecyclerView.setLayoutManager(mLayoutManager);
167 for (int i = 0; i < mRecyclerView.getChildCount(); i++) {
168 View child = mRecyclerView.getChildAt(i);
169 final int pos = mRecyclerView.getChildPosition(child);
182 mRecyclerView.mRecycler, mRecyclerView.mState);
208 for (int i = 0; i < mRecyclerView.getChildCount(); i++)
    [all...]
RecyclerViewLayoutTest.java 76 mRecyclerView.smoothScrollBy(0, 500);
106 mRecyclerView.smoothScrollBy(0, 500);
113 mRecyclerView.stopScroll();
146 mRecyclerView.fling(0, Math.round(fling));
179 mRecyclerView.fling(0, Math.round(fling));
186 mRecyclerView.stopScroll();
211 drag(mRecyclerView, 0, 0, 0, 500, 5);
628 lm.removeAndRecycleView(child1, mRecyclerView.mRecycler);
671 requestLayoutOnUIThread(mRecyclerView);
700 for (RecyclerView.ViewHolder vh : mRecyclerView.mRecycler.mCachedViews)
    [all...]
GridLayoutManagerTest.java 102 final AccessibilityDelegateCompat delegateCompat = mRecyclerView
457 for (int i = 0; i < mRecyclerView.getChildCount(); i++) {
458 View child = mRecyclerView.getChildAt(i);
459 final int pos = mRecyclerView.getChildPosition(child);
478 mRecyclerView.mRecycler, mRecyclerView.mState);
504 for (int i = 0; i < mRecyclerView.getChildCount(); i++) {
505 View child = mRecyclerView.getChildAt(i);
506 int pos = mRecyclerView.getChildPosition(child);
528 mRecyclerView.mRecycler, mRecyclerView.mState)
    [all...]
RecyclerViewAnimationsTest.java 96 final RecyclerView rv = mRecyclerView;
152 mRecyclerView.setItemViewCacheSize(0);
162 mRecyclerView.setItemAnimator(new DefaultItemAnimator() {
278 mRecyclerView.getItemAnimator().setSupportsChangeAnimations(supportsChangeAnim);
281 mRecyclerView.findViewHolderForPosition(changedIndex);
287 RecyclerView.ViewHolder vh = mRecyclerView.findViewHolderForPosition(changedIndex);
300 RecyclerView.ViewHolder vh = mRecyclerView.findViewHolderForPosition(changedIndex);
350 mRecyclerView.setRecycledViewPool(new RecyclerView.RecycledViewPool() {
375 mRecyclerView.getChildCount() + mRecyclerView.mRecycler.mCachedViews.size())
    [all...]
RecyclerViewAccessibilityTest.java 148 for (int i = 0; i < mRecyclerView.getChildCount(); i ++) {
149 final View view = mRecyclerView.getChildAt(i);
  /developers/build/prebuilts/gradle/RecyclerView/Application/src/main/java/com/example/android/recyclerview/
RecyclerViewFragment.java 34 protected RecyclerView mRecyclerView;
55 mRecyclerView = (RecyclerView) rootView.findViewById(R.id.recyclerView);
61 mRecyclerView.setLayoutManager(mLayoutManager);
65 mRecyclerView.setAdapter(mAdapter);
  /developers/samples/android/ui/views/RecyclerView/Application/src/main/java/com/example/android/recyclerview/
RecyclerViewFragment.java 34 protected RecyclerView mRecyclerView;
55 mRecyclerView = (RecyclerView) rootView.findViewById(R.id.recyclerView);
61 mRecyclerView.setLayoutManager(mLayoutManager);
65 mRecyclerView.setAdapter(mAdapter);
  /development/samples/browseable/RecyclerView/src/com.example.android.recyclerview/
RecyclerViewFragment.java 34 protected RecyclerView mRecyclerView;
55 mRecyclerView = (RecyclerView) rootView.findViewById(R.id.recyclerView);
61 mRecyclerView.setLayoutManager(mLayoutManager);
65 mRecyclerView.setAdapter(mAdapter);
  /frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
PrintPreviewController.java 56 private final RecyclerView mRecyclerView;
77 mRecyclerView = (RecyclerView) activity.findViewById(R.id.preview_content);
78 mRecyclerView.setLayoutManager(mLayoutManger);
79 mRecyclerView.setAdapter(mPageAdapter);
80 mRecyclerView.setItemViewCacheSize(0);
81 mPreloadController = new PreloadController(mRecyclerView);
82 mRecyclerView.setOnScrollListener(mPreloadController);
105 mRecyclerView.setVisibility(View.VISIBLE);
107 mRecyclerView.setVisibility(View.GONE);
223 mRecyclerView.setPadding(left, top, right, bottom)
    [all...]
  /development/samples/Support7Demos/src/com/example/android/supportv7/widget/
BaseLayoutManagerActivity.java 48 protected RecyclerView mRecyclerView;
64 mRecyclerView = (RecyclerView) findViewById(R.id.recycler_view);
65 mRecyclerView.setHasFixedSize(true);
67 mRecyclerView.setLayoutManager(mLayoutManager);
68 mRecyclerView.setAdapter(createAdapter());
69 mRecyclerView.getItemAnimator().setSupportsChangeAnimations(true);
70 onRecyclerViewInit(mRecyclerView);
133 return mRecyclerView.getAdapter().getItemCount();
159 mRecyclerView.smoothScrollToPosition(position);
161 mRecyclerView.scrollToPosition(position)
    [all...]
LinearLayoutManagerActivity.java 76 return ViewCompat.getLayoutDirection(mRecyclerView) ==
82 ViewCompat.setLayoutDirection(mRecyclerView, newValue ?
AnimatedRecyclerView.java 43 private RecyclerView mRecyclerView;
59 mRecyclerView = new RecyclerView(this);
60 mCachedAnimator = mRecyclerView.getItemAnimator();
61 mRecyclerView.setLayoutManager(new MyLayoutManager(this));
62 mRecyclerView.setHasFixedSize(true);
63 mRecyclerView.setLayoutParams(new ViewGroup.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT,
69 mRecyclerView.setAdapter(mAdapter);
70 container.addView(mRecyclerView);
76 if (isChecked && mRecyclerView.getItemAnimator() == null) {
77 mRecyclerView.setItemAnimator(mCachedAnimator)
    [all...]
GridLayoutManagerActivity.java 79 return ViewCompat.getLayoutDirection(mRecyclerView) ==
85 ViewCompat.setLayoutDirection(mRecyclerView, newValue ?
RecyclerViewActivity.java 39 private RecyclerView mRecyclerView;
70 mRecyclerView = rv;
82 mRecyclerView.requestLayout();
  /prebuilts/sdk/current/support/v7/recyclerview/libs/
android-support-v7-recyclerview.jar 

Completed in 859 milliseconds