/development/samples/Support7Demos/src/com/example/android/supportv7/widget/touch/ |
D | ItemTouchHelperActivity.java | 106 public int getMovementFlags(RecyclerView recyclerView, in createCallback() 108 return ItemTouchHelperActivity.this.getMovementFlags(recyclerView, viewHolder); in createCallback() 112 public boolean onMove(RecyclerView recyclerView, RecyclerView.ViewHolder viewHolder, in createCallback() argument 130 public void onChildDraw(Canvas c, RecyclerView recyclerView, in createCallback() argument 133 if (ItemTouchHelperActivity.this.onChildDraw(c, recyclerView, viewHolder, in createCallback() 137 super.onChildDraw(c, recyclerView, viewHolder, dX, dY, actionState, in createCallback() 142 public void onChildDrawOver(Canvas c, RecyclerView recyclerView, in createCallback() argument 145 if (ItemTouchHelperActivity.this.onChildDrawOver(c, recyclerView, viewHolder, in createCallback() 149 super.onChildDrawOver(c, recyclerView, viewHolder, dX, dY, actionState, in createCallback() 164 public void clearView(RecyclerView recyclerView, RecyclerView.ViewHolder viewHolder) { in createCallback() argument [all …]
|
D | SwipeToDismissActivity.java | 127 public boolean onChildDraw(Canvas c, RecyclerView recyclerView, in onChildDraw() argument 168 public int getMovementFlags(RecyclerView recyclerView, RecyclerView.ViewHolder viewHolder) { in getMovementFlags() argument
|
D | DragAndDropActivity.java | 122 public int getMovementFlags(RecyclerView recyclerView, RecyclerView.ViewHolder viewHolder) {
|
/development/samples/SupportDesignDemos/src/com/example/android/support/design/widget/ |
D | AppBarLayoutUsageBase.java | 60 RecyclerView recyclerView = (RecyclerView) findViewById(R.id.appbar_recyclerview); in onCreate() local 61 if (recyclerView != null) { in onCreate() 62 setupRecyclerView(recyclerView); in onCreate() 107 private void setupRecyclerView(RecyclerView recyclerView) { in setupRecyclerView() argument 108 recyclerView.setLayoutManager(new LinearLayoutManager(recyclerView.getContext())); in setupRecyclerView() 109 recyclerView.setAdapter(new SimpleStringRecyclerViewAdapter(this, Cheeses.sCheeseStrings)); in setupRecyclerView()
|
D | BottomSheetModalBase.java | 71 RecyclerView recyclerView = in onViewCreated() local 73 Context context = recyclerView.getContext(); in onViewCreated() 74 recyclerView.setLayoutManager(new LinearLayoutManager(context)); in onViewCreated() 75 recyclerView.setAdapter(new SimpleStringRecyclerViewAdapter(context, in onViewCreated()
|
D | BottomSheetWithFragment.java | 58 private static void setUpRecyclerView(RecyclerView recyclerView) { in setUpRecyclerView() argument 59 Context context = recyclerView.getContext(); in setUpRecyclerView() 60 recyclerView.setLayoutManager(new LinearLayoutManager(context)); in setUpRecyclerView() 61 recyclerView.setAdapter(new DummyAdapter(context, 30)); in setUpRecyclerView()
|
/development/samples/browseable/DirectBoot/src/com.example.android.directboot/ |
D | SchedulerFragment.java | 97 RecyclerView recyclerView = (RecyclerView) rootView.findViewById(R.id.recycler_view_alarms); in onViewCreated() local 98 recyclerView.setLayoutManager(new LinearLayoutManager(activity)); in onViewCreated() 99 recyclerView.setAdapter(mAlarmAdapter); in onViewCreated() 100 recyclerView.addItemDecoration(new AlarmAdapter.DividerItemDecoration(activity)); in onViewCreated()
|
/development/samples/Support7Demos/src/com/example/android/supportv7/widget/ |
D | LinearLayoutManagerActivity.java | 39 protected void onRecyclerViewInit(RecyclerView recyclerView) { in onRecyclerViewInit() argument 41 recyclerView.addItemDecoration(mDividerItemDecoration); in onRecyclerViewInit()
|
D | AsyncListUtilActivity.java | 160 public void onScrolled(RecyclerView recyclerView, int dx, int dy) { in AsyncStringListUtil()
|
D | BaseLayoutManagerActivity.java | 77 protected void onRecyclerViewInit(RecyclerView recyclerView) { in onRecyclerViewInit() argument
|
D | AnimatedRecyclerView.java | 659 public void onItemsAdded(RecyclerView recyclerView, int positionStart, int itemCount) { in onItemsAdded() argument 666 public void onItemsRemoved(RecyclerView recyclerView, int positionStart, int itemCount) { in onItemsRemoved() argument
|
/development/samples/browseable/XYZTouristAttractions/Application/src/com.example.android.xyztouristattractions/ui/ |
D | AttractionListFragment.java | 78 AttractionsRecyclerView recyclerView = in onCreateView() local 80 recyclerView.setEmptyView(view.findViewById(android.R.id.empty)); in onCreateView() 81 recyclerView.setHasFixedSize(true); in onCreateView() 82 recyclerView.setAdapter(mAdapter); in onCreateView()
|
/development/samples/browseable/ScopedDirectoryAccess/src/com.example.android.scopeddirectoryaccess/ |
D | ScopedDirectoryAccessFragment.java | 155 RecyclerView recyclerView = (RecyclerView) rootView in onViewCreated() local 168 recyclerView.setAdapter(mAdapter); in onViewCreated() 169 recyclerView.setLayoutManager(new LinearLayoutManager(getActivity())); in onViewCreated()
|
/development/samples/browseable/RecyclerView/src/com.example.android.recyclerview/ |
D | RecyclerViewFragment.java | 71 mRecyclerView = (RecyclerView) rootView.findViewById(R.id.recyclerView); in onCreateView()
|
/development/samples/SupportLeanbackDemos/src/com/example/android/leanback/ |
D | HorizontalGridTestActivity.java | 55 public void onScrollStateChanged(RecyclerView recyclerView, int newState) {
|