/frameworks/base/telecomm/java/android/telecom/ |
D | ConnectionServiceAdapter.java | 44 private final Set<IConnectionServiceAdapter> mAdapters = Collections.newSetFromMap( field in ConnectionServiceAdapter 51 for (IConnectionServiceAdapter it : mAdapters) { in addAdapter() 57 if (mAdapters.add(adapter)) { in addAdapter() 61 mAdapters.remove(adapter); in addAdapter() 68 for (IConnectionServiceAdapter it : mAdapters) { in removeAdapter() 69 if (it.asBinder() == adapter.asBinder() && mAdapters.remove(it)) { in removeAdapter() 80 Iterator<IConnectionServiceAdapter> it = mAdapters.iterator(); in binderDied() 94 for (IConnectionServiceAdapter adapter : mAdapters) { in handleCreateConnectionComplete() 110 for (IConnectionServiceAdapter adapter : mAdapters) { in setActive() 124 for (IConnectionServiceAdapter adapter : mAdapters) { in setRinging() [all …]
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/ |
D | AddPrinterActivity.java | 288 private final @NonNull ArrayList<ActionAdapter> mAdapters; field in AddPrinterActivity.CombinedAdapter 296 mAdapters = adapters; in CombinedAdapter() 298 final int numAdapters = mAdapters.size(); in CombinedAdapter() 300 mAdapters.get(i).registerDataSetObserver(new DataSetObserver() { in CombinedAdapter() 318 final int numAdapters = mAdapters.size(); in getCount() 320 totalCount += mAdapters.get(i).getCount(); in getCount() 335 final int numAdapters = mAdapters.size(); in getSubAdapter() 337 ActionAdapter adapter = mAdapters.get(i); in getSubAdapter() 353 final int numAdapters = mAdapters.size(); in getItemViewType() 355 Adapter adapter = mAdapters.get(i); in getItemViewType() [all …]
|
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/widget/ |
D | NestedRecyclerViewActivity.java | 98 ArrayList<InnerAdapter> mAdapters = new ArrayList<>(); field in NestedRecyclerViewActivity.OuterAdapter 107 mAdapters.add(new InnerAdapter( in OuterAdapter() 130 holder.mRecyclerView.swapAdapter(mAdapters.get(position), true); in onBindViewHolder() 147 return mAdapters.size(); in getItemCount()
|
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/ |
D | GuidedActionAdapterGroup.java | 41 ArrayList<Pair<GuidedActionAdapter, GuidedActionAdapter>> mAdapters = field in GuidedActionAdapterGroup 47 mAdapters.add(new Pair<GuidedActionAdapter, GuidedActionAdapter>(adapter1, adapter2)); in addAdpter() 57 for (int i = 0; i < mAdapters.size(); i++) { in getNextAdapter() 58 Pair<GuidedActionAdapter, GuidedActionAdapter> pair = mAdapters.get(i); in getNextAdapter()
|
/frameworks/base/tests/UiBench/src/com/android/test/uibench/ |
D | SlowNestedRecyclerViewActivity.java | 121 ArrayList<InnerAdapter> mAdapters = new ArrayList<>(); field in SlowNestedRecyclerViewActivity.OuterAdapter 126 mAdapters.add(new InnerAdapter()); in OuterAdapter() 166 ((RecyclerView)holder.itemView).setAdapter(mAdapters.get(position)); in onBindViewHolder() 178 return mAdapters.size(); in getItemCount()
|
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/ |
D | RecyclerViewCacheTest.java | 794 ArrayList<InnerAdapter> mAdapters = new ArrayList<>(); field in RecyclerViewCacheTest.OuterAdapter 809 mAdapters.add(new InnerAdapter()); in OuterAdapter() 816 mAdapters.add(new InnerAdapter()); in addItem() 845 holder.mRecyclerView.swapAdapter(mAdapters.get(position), true); in onBindViewHolder() 862 return mAdapters.size(); in getItemCount() 1003 assertEquals(0, outerAdapter.mAdapters.get(2).mItemsBound); in nestedPrefetchNotReset() 1010 assertEquals(2, outerAdapter.mAdapters.get(2).mItemsBound); in nestedPrefetchNotReset() 1017 assertEquals(2, outerAdapter.mAdapters.get(2).mItemsBound); in nestedPrefetchNotReset() 1040 assertEquals(2, outerAdapter.mAdapters.get(0).mItemsBound); in nestedPrefetchCacheNotTouched() 1049 assertEquals(2, outerAdapter.mAdapters.get(0).mItemsBound); in nestedPrefetchCacheNotTouched()
|
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/widget/ |
D | GridWidgetPrefetchTest.java | 186 mAdapters.add(createBoxAdapter()); 199 ArrayList<RecyclerView.Adapter> mAdapters = new ArrayList<>(); 216 holder.mRecyclerView.swapAdapter(mAdapters.get(position), true);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | UserSwitcherController.java | 92 private final ArrayList<WeakReference<BaseUserAdapter>> mAdapters = new ArrayList<>(); field in UserSwitcherController 294 for (int i = mAdapters.size() - 1; i >= 0; i--) { in notifyAdapters() 295 BaseUserAdapter adapter = mAdapters.get(i).get(); in notifyAdapters() 299 mAdapters.remove(i); in notifyAdapters() 583 mAdapters.add(adapter); in addAdapter()
|