Home
last modified time | relevance | path

Searched refs:recyclerView (Results 1 – 15 of 15) sorted by relevance

/development/samples/Support7Demos/src/com/example/android/supportv7/widget/touch/
DItemTouchHelperActivity.java106 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 …]
DSwipeToDismissActivity.java127 public boolean onChildDraw(Canvas c, RecyclerView recyclerView, in onChildDraw() argument
168 public int getMovementFlags(RecyclerView recyclerView, RecyclerView.ViewHolder viewHolder) { in getMovementFlags() argument
DDragAndDropActivity.java122 public int getMovementFlags(RecyclerView recyclerView, RecyclerView.ViewHolder viewHolder) {
/development/samples/SupportDesignDemos/src/com/example/android/support/design/widget/
DAppBarLayoutUsageBase.java60 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()
DBottomSheetModalBase.java71 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()
DBottomSheetWithFragment.java58 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/
DSchedulerFragment.java97 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/
DLinearLayoutManagerActivity.java39 protected void onRecyclerViewInit(RecyclerView recyclerView) { in onRecyclerViewInit() argument
41 recyclerView.addItemDecoration(mDividerItemDecoration); in onRecyclerViewInit()
DAsyncListUtilActivity.java160 public void onScrolled(RecyclerView recyclerView, int dx, int dy) { in AsyncStringListUtil()
DBaseLayoutManagerActivity.java77 protected void onRecyclerViewInit(RecyclerView recyclerView) { in onRecyclerViewInit() argument
DAnimatedRecyclerView.java659 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/
DAttractionListFragment.java78 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/
DScopedDirectoryAccessFragment.java155 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/
DRecyclerViewFragment.java71 mRecyclerView = (RecyclerView) rootView.findViewById(R.id.recyclerView); in onCreateView()
/development/samples/SupportLeanbackDemos/src/com/example/android/leanback/
DHorizontalGridTestActivity.java55 public void onScrollStateChanged(RecyclerView recyclerView, int newState) {