Home
last modified time | relevance | path

Searched refs:adapter1 (Results 1 – 4 of 4) sorted by relevance

/frameworks/support/leanback/src/androidTest/java/androidx/leanback/app/
DRowsFragmentTest.java634 final ObjectAdapter adapter1 = fragment.getAdapter(); in browseFragmentSetNullAdapter() local
636 assertTrue(adapter1.hasObserver()); in browseFragmentSetNullAdapter()
646 assertFalse(adapter1.hasObserver()); in browseFragmentSetNullAdapter()
659 fragment.setAdapter(adapter1); in browseFragmentSetNullAdapter()
662 assertTrue(adapter1.hasObserver()); in browseFragmentSetNullAdapter()
674 final ObjectAdapter adapter1 = fragment.getAdapter(); in browseFragmentChangeAdapter() local
676 assertTrue(adapter1.hasObserver()); in browseFragmentChangeAdapter()
686 assertFalse(adapter1.hasObserver()); in browseFragmentChangeAdapter()
702 final ObjectAdapter adapter1 = fragment.getAdapter(); in browseFragmentChangeAdapterToPage() local
704 assertTrue(adapter1.hasObserver()); in browseFragmentChangeAdapterToPage()
[all …]
DRowsSupportFragmentTest.java631 final ObjectAdapter adapter1 = fragment.getAdapter(); in browseFragmentSetNullAdapter() local
633 assertTrue(adapter1.hasObserver()); in browseFragmentSetNullAdapter()
643 assertFalse(adapter1.hasObserver()); in browseFragmentSetNullAdapter()
656 fragment.setAdapter(adapter1); in browseFragmentSetNullAdapter()
659 assertTrue(adapter1.hasObserver()); in browseFragmentSetNullAdapter()
671 final ObjectAdapter adapter1 = fragment.getAdapter(); in browseFragmentChangeAdapter() local
673 assertTrue(adapter1.hasObserver()); in browseFragmentChangeAdapter()
683 assertFalse(adapter1.hasObserver()); in browseFragmentChangeAdapter()
699 final ObjectAdapter adapter1 = fragment.getAdapter(); in browseFragmentChangeAdapterToPage() local
701 assertTrue(adapter1.hasObserver()); in browseFragmentChangeAdapterToPage()
[all …]
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
DGuidedActionAdapterGroup.java46 public void addAdpter(GuidedActionAdapter adapter1, GuidedActionAdapter adapter2) { in addAdpter() argument
47 mAdapters.add(new Pair<GuidedActionAdapter, GuidedActionAdapter>(adapter1, adapter2)); in addAdpter()
48 if (adapter1 != null) { in addAdpter()
49 adapter1.mGroup = this; in addAdpter()
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/
DRecyclerViewLayoutTest.java4229 final TestAdapter2 adapter1 = swap ? createBinderCheckingAdapter() in callbacksDuringAdapterChange() local
4246 rv.setAdapter(adapter1); in callbacksDuringAdapterChange()