Searched refs:mSnapCallback (Results 1 – 4 of 4) sorted by relevance
57 private final AppGridPageSnapper.AppGridPageSnapCallback mSnapCallback; field in AppGridAdapter102 mSnapCallback = snapCallback; in AppGridAdapter()119 mSnapCallback = snapCallback; in AppGridAdapter()166 int newSnapPosition = mSnapCallback.getSnapPosition(); in setLauncherItems()170 mSnapCallback.notifySnapToPosition(getItemCount() - 1); in setLauncherItems()194 return new AppItemViewHolder(view, mContext, mDragCallback, mSnapCallback); in onCreateViewHolder()277 mSnapCallback.notifySnapToPosition(mPageScrollDestination); in setDragStartPoint()290 mSnapCallback.notifySnapToPosition(mPageScrollDestination); in moveAppItem()315 mSnapCallback.notifySnapToPosition(mPageScrollDestination); in updatePageScrollDestination()
73 private final AppGridPageSnapCallback mSnapCallback; field in AppItemViewHolder124 mSnapCallback = snapCallback; in AppItemViewHolder()198 mSnapCallback.notifySnapToPosition(getAbsoluteAdapterPosition()); in bind()471 return mSnapCallback.getScrollState() == RecyclerView.SCROLL_STATE_IDLE;
132 private AppGridPageSnapper.AppGridPageSnapCallback mSnapCallback; field in AppGridActivity220 mSnapCallback = new AppGridPageSnapper.AppGridPageSnapCallback(this); in onCreate()241 mSnapCallback); in onCreate()266 /* snapCallback */ mSnapCallback, this, mMode); in onCreate()272 mNextScrollDestination = mSnapCallback.getSnapPosition(); in onCreate()281 mNextScrollDestination = mSnapCallback.getSnapPosition(); in onCreate()547 mSnapCallback.setScrollState(mCurrentScrollState); in onScrollStateChanged()595 mNextScrollDestination = mSnapCallback.getSnapPosition(); in postDelayedPageFling()
44 private AppGridPageSnapCallback mSnapCallback; field in AppGridPageSnapper51 mSnapCallback = snapCallback; in AppGridPageSnapper()123 mSnapCallback.notifySnapToPosition(posToReturn); in handleScrollToPos()