/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/ |
H A D | SetupWizardItemsLayout.java | 42 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 D | GridTouchStackFromBottomTest.java | 49 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 D | GridTouchStackFromBottomManyTest.java | 50 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 D | NfcTile.java | 80 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 D | WebResourceRequestCompat.java | 51 return getAdapter(request).isRedirect(); 57 private static WebResourceRequestAdapter getAdapter(WebResourceRequest request) { method in class:WebResourceRequestCompat
|
H A D | WebSettingsCompat.java | 62 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 D | ListWithSeparatorsTest.java | 45 assertFalse(mListView.getAdapter().areAllItemsEnabled()); 46 assertFalse(mListView.getAdapter().isEnabled(0)); 47 assertFalse(mListView.getAdapter().isEnabled(2));
|
H A D | ListWithOffScreenNextSelectableTest.java | 47 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 D | ListOfThinItemsTest.java | 48 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 D | ListTouchBottomGravityTest.java | 53 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 D | GridSetSelectionBaseTest.java | 49 assertEquals(mGridView.getAdapter().getCount() - 1, 58 final int target = mGridView.getAdapter().getCount() - 1; 74 final int target = mGridView.getAdapter().getCount() / 2;
|
H A D | GridStackFromBottomManyTest.java | 47 assertEquals(mGridView.getAdapter().getCount() - 1, mGridView.getSelectedItemPosition());
|
H A D | GridStackFromBottomTest.java | 47 assertEquals(mGridView.getAdapter().getCount() - 1, mGridView.getSelectedItemPosition());
|
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/ |
H A D | AbsSpinnerBindingAdapterTest.java | 67 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 D | ListBottomGravityManyTest.java | 47 assertEquals(mListView.getAdapter().getCount() - 1, mListView.getSelectedItemPosition());
|
H A D | ListBottomGravityTest.java | 47 assertEquals(mListView.getAdapter().getCount() - 1, mListView.getSelectedItemPosition());
|
/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/ |
H A D | AbsSpinnerBindingAdapter.java | 30 SpinnerAdapter oldAdapter = view.getAdapter(); 56 SpinnerAdapter oldAdapter = view.getAdapter();
|
/frameworks/support/frameworks/support/samples/SupportLeanbackDemos/src/main/java/com/example/android/leanback/ |
H A D | BrowseAnimationFragment.java | 98 .getAdapter()); 113 .getAdapter()); 128 .getAdapter()); 141 .getAdapter()); 151 .getAdapter()); 164 .getAdapter()); 178 .getAdapter()); 195 .getAdapter()); 269 .getAdapter()); 284 .getAdapter()); [all...] |
H A D | PlaybackFragment.java | 61 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 D | PlaybackSupportFragment.java | 64 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 D | PlaybackTransportControlFragment.java | 55 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 D | PlaybackTransportControlSupportFragment.java | 58 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 D | BrowseAnimationFragment.java | 98 .getAdapter()); 113 .getAdapter()); 128 .getAdapter()); 141 .getAdapter()); 151 .getAdapter()); 164 .getAdapter()); 178 .getAdapter()); 195 .getAdapter()); 269 .getAdapter()); 284 .getAdapter()); [all...] |
H A D | PlaybackFragment.java | 61 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 D | PlaybackSupportFragment.java | 64 public SparseArrayObjectAdapter getAdapter() { method in class:PlaybackSupportFragment 65 return (SparseArrayObjectAdapter) super.getAdapter(); 119 getAdapter().set(ROW_CONTROLS + 1 + i, new ListRow(header, listRowAdapter));
|