/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/template/ |
D | RequireScrollMixinTest.java | 52 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 …]
|
D | ScrollViewScrollHandlingDelegateTest.java | 37 @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()
|
D | ListViewScrollHandlingDelegateTest.java | 41 @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/ |
D | ListViewScrollHandlingDelegate.java | 38 @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()
|
D | ScrollViewScrollHandlingDelegate.java | 36 @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/ |
D | RecyclerViewScrollHandlingDelegate.java | 35 @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/ |
D | SetupWizardListLayout.java | 65 final RequireScrollMixin requireScrollMixin = getMixin(RequireScrollMixin.class); in init() local 66 requireScrollMixin.setScrollHandlingDelegate( in init() 67 new ListViewScrollHandlingDelegate(requireScrollMixin, getListView())); in init()
|
D | GlifListLayout.java | 69 final RequireScrollMixin requireScrollMixin = getMixin(RequireScrollMixin.class); in init() local 70 requireScrollMixin.setScrollHandlingDelegate( in init() 71 new ListViewScrollHandlingDelegate(requireScrollMixin, getListView())); in init()
|
D | SetupWizardLayout.java | 84 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()
|
D | GlifLayout.java | 110 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/ |
D | SetupWizardRecyclerLayout.java | 66 final RequireScrollMixin requireScrollMixin = getMixin(RequireScrollMixin.class); in init() local 67 requireScrollMixin.setScrollHandlingDelegate( in init() 68 new RecyclerViewScrollHandlingDelegate(requireScrollMixin, getRecyclerView())); in init()
|
D | GlifRecyclerLayout.java | 70 final RequireScrollMixin requireScrollMixin = getMixin(RequireScrollMixin.class); in init() local 71 requireScrollMixin.setScrollHandlingDelegate( in init() 72 new RecyclerViewScrollHandlingDelegate(requireScrollMixin, getRecyclerView())); in init()
|