Home
last modified time | relevance | path

Searched refs:requireScrollMixin (Results 1 – 12 of 12) sorted by relevance

/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/template/
DRequireScrollMixinTest.java52 private RequireScrollMixin requireScrollMixin; field in RequireScrollMixinTest
59 requireScrollMixin = new RequireScrollMixin(templateLayout); in setUp()
60 requireScrollMixin.setScrollHandlingDelegate(delegate); in setUp()
65 requireScrollMixin.requireScroll(); in testRequireScroll()
73 requireScrollMixin.setOnRequireScrollStateChangedListener(listener); in testScrollStateChangedListener()
75 .that(requireScrollMixin.isScrollingRequired()) in testScrollStateChangedListener()
78 requireScrollMixin.notifyScrollabilityChange(true); in testScrollStateChangedListener()
81 .that(requireScrollMixin.isScrollingRequired()) in testScrollStateChangedListener()
84 requireScrollMixin.notifyScrollabilityChange(false); in testScrollStateChangedListener()
87 .that(requireScrollMixin.isScrollingRequired()) in testScrollStateChangedListener()
[all …]
DScrollViewScrollHandlingDelegateTest.java37 @Mock private RequireScrollMixin requireScrollMixin; field in ScrollViewScrollHandlingDelegateTest
49 delegate = new ScrollViewScrollHandlingDelegate(requireScrollMixin, scrollView); in setUp()
60 verify(requireScrollMixin).notifyScrollabilityChange(true); in testRequireScroll()
68 verify(requireScrollMixin).notifyScrollabilityChange(true); in testScrolledToBottom()
72 verify(requireScrollMixin).notifyScrollabilityChange(false); in testScrolledToBottom()
DListViewScrollHandlingDelegateTest.java41 @Mock private RequireScrollMixin requireScrollMixin; field in ListViewScrollHandlingDelegateTest
51 delegate = new ListViewScrollHandlingDelegate(requireScrollMixin, listView); in setUp()
60 verify(requireScrollMixin).notifyScrollabilityChange(true); in testRequireScroll()
67 verify(requireScrollMixin).notifyScrollabilityChange(true); in testScrolledToBottom()
71 verify(requireScrollMixin).notifyScrollabilityChange(false); in testScrolledToBottom()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/template/
DListViewScrollHandlingDelegate.java38 @NonNull private final RequireScrollMixin requireScrollMixin; field in ListViewScrollHandlingDelegate
43 @NonNull RequireScrollMixin requireScrollMixin, @Nullable ListView listView) { in ListViewScrollHandlingDelegate()
44 this.requireScrollMixin = requireScrollMixin; in ListViewScrollHandlingDelegate()
55 requireScrollMixin.notifyScrollabilityChange(true); in startListening()
77 requireScrollMixin.notifyScrollabilityChange(false); in onScroll()
79 requireScrollMixin.notifyScrollabilityChange(true); in onScroll()
DScrollViewScrollHandlingDelegate.java36 @NonNull private final RequireScrollMixin requireScrollMixin; field in ScrollViewScrollHandlingDelegate
41 @NonNull RequireScrollMixin requireScrollMixin, @Nullable ScrollView scrollView) { in ScrollViewScrollHandlingDelegate()
42 this.requireScrollMixin = requireScrollMixin; in ScrollViewScrollHandlingDelegate()
53 requireScrollMixin.notifyScrollabilityChange(false); in onScrolledToBottom()
58 requireScrollMixin.notifyScrollabilityChange(true); in onRequiresScroll()
/frameworks/opt/setupwizard/library/recyclerview/src/com/android/setupwizardlib/template/
DRecyclerViewScrollHandlingDelegate.java35 @NonNull private final RequireScrollMixin requireScrollMixin; field in RecyclerViewScrollHandlingDelegate
38 @NonNull RequireScrollMixin requireScrollMixin, @Nullable RecyclerView recyclerView) { in RecyclerViewScrollHandlingDelegate()
39 this.requireScrollMixin = requireScrollMixin; in RecyclerViewScrollHandlingDelegate()
61 requireScrollMixin.notifyScrollabilityChange(canScrollDown()); in startListening()
66 requireScrollMixin.notifyScrollabilityChange(true); in startListening()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/
DSetupWizardListLayout.java65 final RequireScrollMixin requireScrollMixin = getMixin(RequireScrollMixin.class); in init() local
66 requireScrollMixin.setScrollHandlingDelegate( in init()
67 new ListViewScrollHandlingDelegate(requireScrollMixin, getListView())); in init()
DGlifListLayout.java69 final RequireScrollMixin requireScrollMixin = getMixin(RequireScrollMixin.class); in init() local
70 requireScrollMixin.setScrollHandlingDelegate( in init()
71 new ListViewScrollHandlingDelegate(requireScrollMixin, getListView())); in init()
DSetupWizardLayout.java84 final RequireScrollMixin requireScrollMixin = new RequireScrollMixin(this); in init() local
85 registerMixin(RequireScrollMixin.class, requireScrollMixin); in init()
89 requireScrollMixin.setScrollHandlingDelegate( in init()
90 new ScrollViewScrollHandlingDelegate(requireScrollMixin, scrollView)); in init()
193 final RequireScrollMixin requireScrollMixin = getMixin(RequireScrollMixin.class); in requireScrollToBottom() local
196 requireScrollMixin.requireScrollWithNavigationBar(navigationBar); in requireScrollToBottom()
DGlifLayout.java110 final RequireScrollMixin requireScrollMixin = new RequireScrollMixin(this); in init() local
111 registerMixin(RequireScrollMixin.class, requireScrollMixin); in init()
115 requireScrollMixin.setScrollHandlingDelegate( in init()
116 new ScrollViewScrollHandlingDelegate(requireScrollMixin, scrollView)); in init()
/frameworks/opt/setupwizard/library/recyclerview/src/com/android/setupwizardlib/
DSetupWizardRecyclerLayout.java66 final RequireScrollMixin requireScrollMixin = getMixin(RequireScrollMixin.class); in init() local
67 requireScrollMixin.setScrollHandlingDelegate( in init()
68 new RecyclerViewScrollHandlingDelegate(requireScrollMixin, getRecyclerView())); in init()
DGlifRecyclerLayout.java70 final RequireScrollMixin requireScrollMixin = getMixin(RequireScrollMixin.class); in init() local
71 requireScrollMixin.setScrollHandlingDelegate( in init()
72 new RecyclerViewScrollHandlingDelegate(requireScrollMixin, getRecyclerView())); in init()