Home
last modified time | relevance | path

Searched refs:AppItemViewHolder (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Car/Launcher/libs/appgrid/lib/src/com/android/car/carlauncher/recyclerview/
DAppGridItemAnimator.java43 public AppItemViewHolder holder;
44 DropInfo(AppItemViewHolder holder) { in DropInfo()
52 AppItemViewHolder viewHolder = (AppItemViewHolder) holder; in animateMove()
64 AppItemViewHolder viewHolder = (AppItemViewHolder) holder; in onMoveStarting()
84 AppItemViewHolder viewHolder = (AppItemViewHolder) holder; in animateAdd()
102 AppItemViewHolder viewHolder = (AppItemViewHolder) holder; in animateDrop()
109 private void animateDropImpl(AppItemViewHolder viewHolder) { in animateDropImpl()
DAppGridAdapter.java56 private final AppItemViewHolder.AppItemDragCallback mDragCallback;
75 LauncherViewModel launcherViewModel, AppItemViewHolder.AppItemDragCallback dragCallback, in AppGridAdapter()
86 AppItemViewHolder.AppItemDragCallback dragCallback, in AppGridAdapter()
95 AppItemViewHolder.AppItemDragCallback dragCallback, in AppGridAdapter()
110 AppItemViewHolder.AppItemDragCallback dragCallback, in AppGridAdapter()
194 return new AppItemViewHolder(view, mContext, mDragCallback, mSnapCallback); in onCreateViewHolder()
200 AppItemViewHolder viewHolder = (AppItemViewHolder) holder; in onBindViewHolder()
205 AppItemViewHolder.BindInfo bindInfo = new AppItemViewHolder.BindInfo( in onBindViewHolder()
DAppItemViewHolder.java60 public class AppItemViewHolder extends RecyclerView.ViewHolder { class
116 public AppItemViewHolder(View view, Context context, AppItemDragCallback dragCallback, in AppItemViewHolder() method in AppItemViewHolder
357 mDragCallback.notifyItemTargeted(AppItemViewHolder.this); in setStateTargeted()
412 mDragCallback.notifyItemSelected(AppItemViewHolder.this, dragPoint);
448 mDragCallback.notifyDragExited(AppItemViewHolder.this, mDragExitDirection);
537 private AppItemViewHolder mTargetedViewHolder;
564 public void notifyItemSelected(AppItemViewHolder viewHolder, Point dragPoint) {
576 public void notifyItemTargeted(@Nullable AppItemViewHolder viewHolder) {
603 public void notifyDragExited(@NonNull AppItemViewHolder viewHolder,
/packages/apps/Car/Launcher/libs/appgrid/lib/src/com/android/car/carlauncher/
DRecentAppsRowViewHolder.java28 import com.android.car.carlauncher.recyclerview.AppItemViewHolder;
66 AppItemViewHolder holder = new AppItemViewHolder(view, mContext, in bind()
68 holder.bind(apps.get(i), new AppItemViewHolder.BindInfo( in bind()
DAppGridActivity.java75 import com.android.car.carlauncher.recyclerview.AppItemViewHolder;
97 AppGridPageSnapper.PageSnapListener, AppItemViewHolder.AppItemDragListener,
133 private AppItemViewHolder.AppItemDragCallback mDragCallback;
221 mDragCallback = new AppItemViewHolder.AppItemDragCallback(this); in onCreate()
/packages/apps/Car/Launcher/libs/appgrid/lib/tests/src/com/android/car/carlauncher/
DAppGridAdapterTest.java33 import com.android.car.carlauncher.recyclerview.AppItemViewHolder;
44 @Mock public AppItemViewHolder.AppItemDragCallback mMockDragCallback;
52 mMockDragCallback = mock(AppItemViewHolder.AppItemDragCallback.class); in setUp()