/frameworks/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/adapter/ |
H A D | CustomNamespaceAdapter.java | 16 package android.databinding.testapp.adapter;
|
H A D | GenericConverter.java | 16 package android.databinding.testapp.adapter;
|
H A D | NameClashAdapter.java | 16 package android.databinding.testapp.adapter;
|
H A D | GenericAdapter.java | 16 package android.databinding.testapp.adapter;
|
H A D | WeirdListeners.java | 16 package android.databinding.testapp.adapter;
|
/frameworks/base/core/java/android/bluetooth/le/ |
H A D | BluetoothLeUtils.java | 131 * @throws IllegalStateException If {@code adapter} is null or Bluetooth state is not {@link 134 static void checkAdapterStateOn(BluetoothAdapter adapter) { argument 135 if (adapter == null || !adapter.isLeEnabled()) {
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/ |
H A D | RemoteAnimationDefinitionCompat.java | 28 public void addRemoteAnimation(int transition, RemoteAnimationAdapterCompat adapter) { argument 29 mWrapped.addRemoteAnimation(transition, adapter.getWrapped()); 33 RemoteAnimationAdapterCompat adapter) { 34 mWrapped.addRemoteAnimation(transition, activityTypeFilter, adapter.getWrapped()); 32 addRemoteAnimation(int transition, int activityTypeFilter, RemoteAnimationAdapterCompat adapter) argument
|
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/ |
H A D | ListRow.java | 31 public ListRow(HeaderItem header, ObjectAdapter adapter) { argument 33 mAdapter = adapter; 37 public ListRow(long id, HeaderItem header, ObjectAdapter adapter) { argument 39 mAdapter = adapter; 43 public ListRow(ObjectAdapter adapter) { argument 45 mAdapter = adapter;
|
/frameworks/support/recyclerview-selection/src/androidTest/java/androidx/recyclerview/selection/testing/ |
H A D | TestItemKeyProvider.java | 31 public TestItemKeyProvider(@Scope int scope, TestAdapter<K> adapter) { argument 33 checkArgument(adapter != null); 34 mAdapter = adapter;
|
/frameworks/support/recyclerview-selection/src/main/java/androidx/recyclerview/selection/ |
H A D | EventBridge.java | 48 * Installs the event bridge for on the supplied adapter/helper. 50 * @param adapter 57 @NonNull RecyclerView.Adapter<?> adapter, 61 // setup bridges to relay selection and adapter events 62 new TrackerToAdapterBridge<>(selectionTracker, keyProvider, adapter); 63 adapter.registerAdapterDataObserver(selectionTracker.getAdapterDataObserver()); 75 @NonNull RecyclerView.Adapter<?> adapter) { 80 checkArgument(adapter != null); 83 mAdapter = adapter; 56 install( @onNull RecyclerView.Adapter<?> adapter, @NonNull SelectionTracker<K> selectionTracker, @NonNull ItemKeyProvider<K> keyProvider) argument 72 TrackerToAdapterBridge( @onNull SelectionTracker<K> selectionTracker, @NonNull ItemKeyProvider<K> keyProvider, @NonNull RecyclerView.Adapter<?> adapter) argument
|
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/ |
H A D | AdapterListUpdateCallback.java | 22 * ListUpdateCallback that dispatches update events to the given adapter. 31 * Creates an AdapterListUpdateCallback that will dispatch update events to the given adapter. 33 * @param adapter The Adapter to send updates to. 35 public AdapterListUpdateCallback(@NonNull RecyclerView.Adapter adapter) { argument 36 mAdapter = adapter;
|
H A D | SortedListAdapterCallback.java | 31 * @param adapter The Adapter instance which should receive events from the SortedList. 33 public SortedListAdapterCallback(RecyclerView.Adapter adapter) { argument 34 mAdapter = adapter;
|
H A D | AsyncListDiffer.java | 31 * adapter of changes between sumbitted lists. 35 * adapter base class to support asynchronous List diffing isn't convenient. 38 * data simply for an adapter. It computes differences in list contents via {@link DiffUtil} on a 67 * UserAdapter adapter = new UserAdapter(); 68 * viewModel.usersList.observe(this, list -> adapter.submitList(list)); 69 * recyclerView.setAdapter(adapter); 116 * {@code AsyncListDiffer(new AdapterListUpdateCallback(adapter), 119 * @param adapter Adapter to dispatch position updates to. 124 public AsyncListDiffer(@NonNull RecyclerView.Adapter adapter, argument 126 mUpdateCallback = new AdapterListUpdateCallback(adapter); [all...] |
/frameworks/base/core/java/android/view/ |
H A D | RemoteAnimationDefinition.java | 49 * @param adapter The adapter that described how to run the remote animation. 52 @ActivityType int activityTypeFilter, RemoteAnimationAdapter adapter) { 54 new RemoteAnimationAdapterEntry(adapter, activityTypeFilter)); 62 * @param adapter The adapter that described how to run the remote animation. 64 public void addRemoteAnimation(@TransitionType int transition, RemoteAnimationAdapter adapter) { argument 65 addRemoteAnimation(transition, ACTIVITY_TYPE_UNDEFINED, adapter); 86 * @return The remote animation adapter for the specified transition. 96 return entry.adapter; 51 addRemoteAnimation(@ransitionType int transition, @ActivityType int activityTypeFilter, RemoteAnimationAdapter adapter) argument 151 final RemoteAnimationAdapter adapter; field in class:RemoteAnimationDefinition.RemoteAnimationAdapterEntry 159 RemoteAnimationAdapterEntry(RemoteAnimationAdapter adapter, int activityTypeFilter) argument [all...] |
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | PendingRemoteAnimationRegistry.java | 46 void addPendingAnimation(String packageName, RemoteAnimationAdapter adapter) { argument 47 mEntries.put(packageName, new Entry(packageName, adapter)); 61 options = ActivityOptions.makeRemoteAnimation(entry.adapter); 63 options.setRemoteAnimationAdapter(entry.adapter); 71 final RemoteAnimationAdapter adapter; field in class:PendingRemoteAnimationRegistry.Entry 73 Entry(String packageName, RemoteAnimationAdapter adapter) { argument 75 this.adapter = adapter;
|
/frameworks/base/tests/UiBench/src/com/android/test/uibench/recyclerview/ |
H A D | RvCompatListActivity.java | 35 RecyclerView.Adapter adapter; field in class:RvCompatListActivity.RecyclerViewFragment 44 recyclerView.setAdapter(adapter); 57 fragment.adapter = createAdapter();
|
/frameworks/support/car/src/main/java/androidx/car/widget/ |
H A D | AlphaJumpOverlayView.java | 46 void init(PagedListView plv, IAlphaJumpAdapter adapter) { argument 48 mAdapter = adapter; 49 mBuckets = adapter.getAlphaJumpBuckets();
|
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/app/ |
H A D | HeadersFragmentTest.java | 44 static void loadData(ArrayObjectAdapter adapter, int numRows) { argument 48 adapter.add(new ListRow(header, listRowAdapter)); 58 final ArrayObjectAdapter adapter = new ArrayObjectAdapter(mPresenter); 59 setAdapter(adapter); 60 loadData(adapter, 10); 80 final ArrayObjectAdapter adapter = new ArrayObjectAdapter(new ListRowPresenter()); 81 setAdapter(adapter); 82 loadData(adapter, 10); 112 final ArrayObjectAdapter adapter = new ArrayObjectAdapter(new ListRowPresenter()); 113 setAdapter(adapter); [all...] |
H A D | HeadersSupportFragmentTest.java | 41 static void loadData(ArrayObjectAdapter adapter, int numRows) { argument 45 adapter.add(new ListRow(header, listRowAdapter)); 55 final ArrayObjectAdapter adapter = new ArrayObjectAdapter(mPresenter); 56 setAdapter(adapter); 57 loadData(adapter, 10); 77 final ArrayObjectAdapter adapter = new ArrayObjectAdapter(new ListRowPresenter()); 78 setAdapter(adapter); 79 loadData(adapter, 10); 109 final ArrayObjectAdapter adapter = new ArrayObjectAdapter(new ListRowPresenter()); 110 setAdapter(adapter); [all...] |
/frameworks/support/mediarouter/src/main/java/androidx/mediarouter/app/ |
H A D | MediaRouteDialogHelper.java | 106 * @param adapter An array adapter which contains an array of items. 110 ArrayAdapter<E> adapter) { 115 E item = adapter.getItem(position); 129 * @param adapter An array adapter which contains an array of items. 133 ListView listView, ArrayAdapter<E> adapter) { 138 E item = adapter.getItem(position); 109 getItemBoundMap(ListView listView, ArrayAdapter<E> adapter) argument 132 getItemBitmapMap(Context context, ListView listView, ArrayAdapter<E> adapter) argument
|
/frameworks/support/wear/src/main/java/androidx/wear/internal/widget/drawer/ |
H A D | WearableNavigationDrawerPresenter.java | 45 * Indicates to the presenter that the drawer has a new adapter. 48 public abstract void onNewAdapter(WearableNavigationDrawerAdapter adapter); argument
|
/frameworks/av/packages/MediaComponents/src/com/android/support/mediarouter/app/ |
H A D | MediaRouteDialogHelper.java | 108 * @param adapter An array adapter which contains an array of items. 112 ArrayAdapter<E> adapter) { 117 E item = adapter.getItem(position); 131 * @param adapter An array adapter which contains an array of items. 135 ListView listView, ArrayAdapter<E> adapter) { 140 E item = adapter.getItem(position); 111 getItemBoundMap(ListView listView, ArrayAdapter<E> adapter) argument 134 getItemBitmapMap(Context context, ListView listView, ArrayAdapter<E> adapter) argument
|
/frameworks/base/core/java/android/app/ |
H A D | ListActivity.java | 156 * // Now create a new list adapter bound to the cursor. 158 * ListAdapter adapter = new SimpleCursorAdapter( 166 * // Bind to our new adapter. 167 * setListAdapter(adapter); 261 public void setListAdapter(ListAdapter adapter) { argument 264 mAdapter = adapter; 265 mList.setAdapter(adapter); 271 * position with the adapter's data
|
/frameworks/base/core/java/android/nfc/cardemulation/ |
H A D | NfcFCardEmulation.java | 63 * @param adapter A reference to an NfcAdapter object. 66 public static synchronized NfcFCardEmulation getInstance(NfcAdapter adapter) { argument 67 if (adapter == null) throw new NullPointerException("NfcAdapter is null"); 68 Context context = adapter.getContext(); 93 INfcFCardEmulation service = adapter.getNfcFCardEmulationService(); 474 NfcAdapter adapter = NfcAdapter.getDefaultAdapter(mContext); 475 sService = adapter.getNfcFCardEmulationService();
|
/frameworks/base/core/java/android/nfc/dta/ |
H A D | NfcDta.java | 47 * @param adapter A reference to an NfcAdapter object. 50 public static synchronized NfcDta getInstance(NfcAdapter adapter) { argument 51 if (adapter == null) throw new NullPointerException("NfcAdapter is null"); 52 Context context = adapter.getContext(); 60 INfcDta service = adapter.getNfcDtaInterface();
|