Searched refs:getAdapter (Results 1 - 25 of 190) sorted by relevance

12345678

/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/
H A DSetupWizardItemsLayout.java42 public ItemAdapter getAdapter() { method in class:SetupWizardItemsLayout
43 final ListAdapter adapter = super.getAdapter();
/frameworks/base/core/tests/coretests/src/android/widget/gridview/touch/
H A DGridTouchStackFromBottomTest.java49 assertEquals(mGridView.getAdapter().getCount() - 1, mGridView.getSelectedItemPosition());
63 mGridView.getAdapter().getCount() - 1, lastChild.getId());
80 mGridView.getAdapter().getCount() - 1, lastChild.getId());
97 mGridView.getAdapter().getCount() - 1, lastChild.getId());
114 mGridView.getAdapter().getCount() - 1, lastChild.getId());
H A DGridTouchStackFromBottomManyTest.java50 assertEquals(mGridView.getAdapter().getCount() - 1, mGridView.getSelectedItemPosition());
80 assertEquals("Grid is not scrolled to the bottom", mGridView.getAdapter().getCount() - 1,
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
H A DNfcTile.java80 if (!getAdapter().isEnabled()) {
81 getAdapter().enable();
83 getAdapter().disable();
102 if (getAdapter() == null) return;
103 state.value = getAdapter().isEnabled();
124 private NfcAdapter getAdapter() { method in class:NfcTile
/frameworks/support/webkit/src/main/java/androidx/webkit/
H A DWebResourceRequestCompat.java51 return getAdapter(request).isRedirect();
57 private static WebResourceRequestAdapter getAdapter(WebResourceRequest request) { method in class:WebResourceRequestCompat
H A DWebSettingsCompat.java62 getAdapter(webSettings).setOffscreenPreRaster(enabled);
83 return getAdapter(webSettings).getOffscreenPreRaster();
112 getAdapter(webSettings).setSafeBrowsingEnabled(enabled);
133 return getAdapter(webSettings).getSafeBrowsingEnabled();
167 getAdapter(webSettings).setDisabledActionModeMenuItems(menuItems);
188 return getAdapter(webSettings).getDisabledActionModeMenuItems();
194 private static WebSettingsAdapter getAdapter(WebSettings webSettings) { method in class:WebSettingsCompat
/frameworks/base/core/tests/coretests/src/android/widget/listview/arrowscroll/
H A DListWithSeparatorsTest.java45 assertFalse(mListView.getAdapter().areAllItemsEnabled());
46 assertFalse(mListView.getAdapter().isEnabled(0));
47 assertFalse(mListView.getAdapter().isEnabled(2));
H A DListWithOffScreenNextSelectableTest.java47 assertEquals(5, mListView.getAdapter().getCount());
48 assertFalse(mListView.getAdapter().areAllItemsEnabled());
49 assertFalse(mListView.getAdapter().isEnabled(1));
50 assertFalse(mListView.getAdapter().isEnabled(2));
51 assertFalse(mListView.getAdapter().isEnabled(3));
H A DListOfThinItemsTest.java48 mListView.getChildCount() < mListView.getAdapter().getCount());
57 final int numItems = mListView.getAdapter().getCount();
67 int bottomThreshold = (lastVisiblePosition < mListView.getAdapter().getCount() - 1) ?
89 final int numItems = mListView.getAdapter().getCount();
/frameworks/base/core/tests/coretests/src/android/widget/listview/touch/
H A DListTouchBottomGravityTest.java53 assertEquals(mListView.getAdapter().getCount() - 1, mListView.getSelectedItemPosition());
68 assertEquals("List is not scrolled to the bottom", mListView.getAdapter().getCount() - 1,
87 assertEquals("List is not scrolled to the bottom", mListView.getAdapter().getCount() - 1,
/frameworks/base/core/tests/coretests/src/android/widget/gridview/
H A DGridSetSelectionBaseTest.java49 assertEquals(mGridView.getAdapter().getCount() - 1,
58 final int target = mGridView.getAdapter().getCount() - 1;
74 final int target = mGridView.getAdapter().getCount() / 2;
H A DGridStackFromBottomManyTest.java47 assertEquals(mGridView.getAdapter().getCount() - 1, mGridView.getSelectedItemPosition());
H A DGridStackFromBottomTest.java47 assertEquals(mGridView.getAdapter().getCount() - 1, mGridView.getSelectedItemPosition());
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/
H A DAbsSpinnerBindingAdapterTest.java67 assertEquals(mBindingObject.getEntries().length, mView.getAdapter().getCount());
69 SpinnerAdapter adapter = mView.getAdapter();
77 SpinnerAdapter adapter = mBinder.view2.getAdapter();
/frameworks/base/core/tests/coretests/src/android/widget/listview/
H A DListBottomGravityManyTest.java47 assertEquals(mListView.getAdapter().getCount() - 1, mListView.getSelectedItemPosition());
H A DListBottomGravityTest.java47 assertEquals(mListView.getAdapter().getCount() - 1, mListView.getSelectedItemPosition());
/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/
H A DAbsSpinnerBindingAdapter.java30 SpinnerAdapter oldAdapter = view.getAdapter();
56 SpinnerAdapter oldAdapter = view.getAdapter();
/frameworks/support/frameworks/support/samples/SupportLeanbackDemos/src/main/java/com/example/android/leanback/
H A DBrowseAnimationFragment.java98 .getAdapter());
113 .getAdapter());
128 .getAdapter());
141 .getAdapter());
151 .getAdapter());
164 .getAdapter());
178 .getAdapter());
195 .getAdapter());
269 .getAdapter());
284 .getAdapter());
[all...]
H A DPlaybackFragment.java61 public SparseArrayObjectAdapter getAdapter() { method in class:PlaybackFragment
62 return (SparseArrayObjectAdapter) super.getAdapter();
116 getAdapter().set(ROW_CONTROLS + 1 + i, new ListRow(header, listRowAdapter));
H A DPlaybackSupportFragment.java64 public SparseArrayObjectAdapter getAdapter() { method in class:PlaybackSupportFragment
65 return (SparseArrayObjectAdapter) super.getAdapter();
119 getAdapter().set(ROW_CONTROLS + 1 + i, new ListRow(header, listRowAdapter));
H A DPlaybackTransportControlFragment.java55 public SparseArrayObjectAdapter getAdapter() { method in class:PlaybackTransportControlFragment
56 return (SparseArrayObjectAdapter) super.getAdapter();
100 getAdapter().set(ROW_CONTROLS + 1 + i, new ListRow(header, listRowAdapter));
H A DPlaybackTransportControlSupportFragment.java58 public SparseArrayObjectAdapter getAdapter() { method in class:PlaybackTransportControlSupportFragment
59 return (SparseArrayObjectAdapter) super.getAdapter();
103 getAdapter().set(ROW_CONTROLS + 1 + i, new ListRow(header, listRowAdapter));
/frameworks/support/samples/SupportLeanbackDemos/src/main/java/com/example/android/leanback/
H A DBrowseAnimationFragment.java98 .getAdapter());
113 .getAdapter());
128 .getAdapter());
141 .getAdapter());
151 .getAdapter());
164 .getAdapter());
178 .getAdapter());
195 .getAdapter());
269 .getAdapter());
284 .getAdapter());
[all...]
H A DPlaybackFragment.java61 public SparseArrayObjectAdapter getAdapter() { method in class:PlaybackFragment
62 return (SparseArrayObjectAdapter) super.getAdapter();
116 getAdapter().set(ROW_CONTROLS + 1 + i, new ListRow(header, listRowAdapter));
H A DPlaybackSupportFragment.java64 public SparseArrayObjectAdapter getAdapter() { method in class:PlaybackSupportFragment
65 return (SparseArrayObjectAdapter) super.getAdapter();
119 getAdapter().set(ROW_CONTROLS + 1 + i, new ListRow(header, listRowAdapter));

Completed in 1019 milliseconds

12345678