Searched refs:AppGridPageSnapper (Results 1 – 7 of 7) sorted by relevance
69 private AppGridPageSnapper.AppGridPageSnapCallback mAppGridPageSnapCallback;70 private AppGridPageSnapper mPageSnapper;113 mAppGridPageSnapCallback = mock(AppGridPageSnapper.AppGridPageSnapCallback.class); in testScrollToNextPage()114 mPageSnapper = new AppGridPageSnapper( in testScrollToNextPage()163 mAppGridPageSnapCallback = mock(AppGridPageSnapper.AppGridPageSnapCallback.class); in testSwipeRightAndStayOnCurrentPage()164 mPageSnapper = new AppGridPageSnapper( in testSwipeRightAndStayOnCurrentPage()213 mAppGridPageSnapCallback = mock(AppGridPageSnapper.AppGridPageSnapCallback.class); in testScrollToPrevPage()214 mPageSnapper = new AppGridPageSnapper( in testScrollToPrevPage()285 mAppGridPageSnapCallback = mock(AppGridPageSnapper.AppGridPageSnapCallback.class); in testScrollLeftAndStayOnCurrentPage()286 mPageSnapper = new AppGridPageSnapper( in testScrollLeftAndStayOnCurrentPage()[all …]
27 public class TestActivity extends Activity implements AppGridPageSnapper.PageSnapListener {
45 @Mock public AppGridPageSnapper.AppGridPageSnapCallback mMockSnapCallback;53 mMockSnapCallback = mock(AppGridPageSnapper.AppGridPageSnapCallback.class); in setUp()
33 import com.android.car.carlauncher.AppGridPageSnapper;57 private final AppGridPageSnapper.AppGridPageSnapCallback mSnapCallback;76 AppGridPageSnapper.AppGridPageSnapCallback snapCallback) { in AppGridAdapter()87 AppGridPageSnapper.AppGridPageSnapCallback snapCallback) { in AppGridAdapter()96 AppGridPageSnapper.AppGridPageSnapCallback snapCallback, Mode mode) { in AppGridAdapter()111 AppGridPageSnapper.AppGridPageSnapCallback snapCallback, in AppGridAdapter()
51 import com.android.car.carlauncher.AppGridPageSnapper.AppGridPageSnapCallback;
97 AppGridPageSnapper.PageSnapListener, AppItemViewHolder.AppItemDragListener,132 private AppGridPageSnapper.AppGridPageSnapCallback mSnapCallback;220 mSnapCallback = new AppGridPageSnapper.AppGridPageSnapCallback(this); in onCreate()237 AppGridPageSnapper pageSnapper = new AppGridPageSnapper( in onCreate()
34 public class AppGridPageSnapper extends LinearSnapHelper { class46 public AppGridPageSnapper( in AppGridPageSnapper() method in AppGridPageSnapper