Searched refs:mDragCallback (Results 1 – 3 of 3) sorted by relevance
72 private final AppItemDragCallback mDragCallback; field in AppItemViewHolder123 mDragCallback = dragCallback; in AppItemViewHolder()183 setStateSelected(mComponentName.equals(mDragCallback.mSelectedComponent)); in bind()211 mDragCallback.notifyItemLongPressed(true); in bind()212 mDragCallback.scheduleDragTask(new Runnable() { in bind()247 mDragCallback.cancelDragTasks(); in bind()248 mDragCallback.notifyItemLongPressed(false); in bind()279 int dragOffsetX = mDragCallback.mDragPoint.x - mIconScaledSize / 2; in prepareForDropAnimation()280 int dragOffsetY = mDragCallback.mDragPoint.y - mIconScaledSize / 2; in prepareForDropAnimation()283 int draggedIconCenterX = mDragCallback.mDropPoint.x - dragOffsetX; in prepareForDropAnimation()[all …]
56 private final AppItemViewHolder.AppItemDragCallback mDragCallback; field in AppGridAdapter101 mDragCallback = dragCallback; in AppGridAdapter()118 mDragCallback = dragCallback; in AppGridAdapter()194 return new AppItemViewHolder(view, mContext, mDragCallback, mSnapCallback); in onCreateViewHolder()
133 private AppItemViewHolder.AppItemDragCallback mDragCallback; field in AppGridActivity221 mDragCallback = new AppItemViewHolder.AppItemDragCallback(this); in onCreate()265 /* dragCallback */ mDragCallback, in onCreate()551 mDragCallback.cancelDragTasks(); in onScrollStateChanged()619 mDragCallback.resetCallbackState(); in onDrag()