Home
last modified time | relevance | path

Searched refs:Adapter (Results 1 – 25 of 92) sorted by relevance

1234

/frameworks/base/core/tests/coretests/src/android/widget/
DListViewTest.java46 Adapter<String> adapter = new Adapter<String>(context, 0, items); in testRequestLayout()
76 Adapter<String> adapter = new Adapter<String>(context, 0, items); in testNoSelectableItems()
130 private class Adapter<T> extends ArrayAdapter<T> { class in ListViewTest
132 public Adapter(Context context, int resource, List<T> objects) { in Adapter() method in ListViewTest.Adapter
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/
DNekoDialog.java37 private final Adapter mAdapter;
42 mAdapter = new Adapter(getContext()); in NekoDialog()
62 private class Adapter extends RecyclerView.Adapter<Holder> { class in NekoDialog
67 public Adapter(Context context) { in Adapter() method in NekoDialog.Adapter
/frameworks/opt/setupwizard/library/recyclerview/test/instrumentation/src/com/android/setupwizardlib/test/
DSetupWizardRecyclerLayoutTest.java30 import androidx.recyclerview.widget.RecyclerView.Adapter;
84 final Adapter adapter = createTestAdapter(1); in testAdapter()
87 final Adapter gotAdapter = layout.getAdapter(); in testAdapter()
158 private Adapter createTestAdapter(final int itemCount) { in createTestAdapter()
159 return new Adapter() { in createTestAdapter()
DGlifRecyclerLayoutTest.java30 import androidx.recyclerview.widget.RecyclerView.Adapter;
82 final RecyclerView.Adapter adapter = createTestAdapter(1); in testAdapter()
85 final RecyclerView.Adapter gotAdapter = layout.getAdapter(); in testAdapter()
155 private Adapter createTestAdapter(final int itemCount) { in createTestAdapter()
156 return new RecyclerView.Adapter() { in createTestAdapter()
/frameworks/opt/setupwizard/library/recyclerview/src/com/android/setupwizardlib/view/
DHeaderRecyclerView.java63 extends RecyclerView.Adapter<ViewHolder> {
67 private final RecyclerView.Adapter<CVH> adapter;
115 public HeaderAdapter(RecyclerView.Adapter<CVH> adapter) { in HeaderAdapter()
196 public RecyclerView.Adapter<CVH> getWrappedAdapter() { in getWrappedAdapter()
267 public void setAdapter(Adapter adapter) { in setAdapter()
/frameworks/opt/setupwizard/library/recyclerview/src/com/android/setupwizardlib/template/
DRecyclerMixin.java28 import androidx.recyclerview.widget.RecyclerView.Adapter;
164 public Adapter<? extends ViewHolder> getAdapter() { in getAdapter()
166 final RecyclerView.Adapter<? extends ViewHolder> adapter = recyclerView.getAdapter(); in getAdapter()
174 public void setAdapter(Adapter<? extends ViewHolder> adapter) { in setAdapter()
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DLockscreenFragment.java109 Adapter adapter = new Adapter(getContext(), item -> { in showSelectDialog()
235 public void toggleExpando(Adapter adapter) { in toggleExpando()
254 public void toggleExpando(Adapter adapter) { in toggleExpando()
258 public static class Adapter extends RecyclerView.Adapter<Holder> { class in LockscreenFragment
263 public Adapter(Context context, Consumer<Item> callback) { in Adapter() method in LockscreenFragment.Adapter
286 v -> mItems.get(holder.getAdapterPosition()).toggleExpando(Adapter.this)); in onBindViewHolder()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/d2d/
DTimeouts.java27 public static class Adapter { class in Timeouts
30 public Adapter(ContentResolver cr) { in Adapter() method in Timeouts.Adapter
/frameworks/opt/setupwizard/library/recyclerview/src/com/android/setupwizardlib/
DSetupWizardRecyclerLayout.java22 import androidx.recyclerview.widget.RecyclerView.Adapter;
78 public Adapter<? extends ViewHolder> getAdapter() { in getAdapter()
83 public void setAdapter(Adapter<? extends ViewHolder> adapter) { in setAdapter()
DGlifRecyclerLayout.java24 import androidx.recyclerview.widget.RecyclerView.Adapter;
133 public void setAdapter(Adapter<? extends ViewHolder> adapter) { in setAdapter()
138 public Adapter<? extends ViewHolder> getAdapter() { in getAdapter()
/frameworks/av/services/oboeservice/
DAAudioService.h110 class Adapter : public aaudio::AAudioBinderAdapter {
114 explicit Adapter(AAudioService *service) in Adapter() function
134 Adapter mAdapter;
/frameworks/base/tests/UsageStatsTest/src/com/android/tests/usagestats/
DUsageLogActivity.java36 private Adapter mAdapter;
46 mAdapter = new Adapter(); in onCreate()
73 private class Adapter extends BaseAdapter { class in UsageLogActivity
/frameworks/av/media/libaaudio/src/binding/
DAAudioBinderClient.h168 class Adapter : public AAudioBinderAdapter {
170 Adapter(const android::sp<IAAudioService>& delegate, in Adapter() function
177 virtual ~Adapter() { in ~Adapter()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DUserDetailView.java57 protected Adapter mAdapter;
69 public void setAdapter(Adapter adapter) { in setAdapter()
79 public static class Adapter extends BaseUserSwitcherAdapter class in UserDetailView
98 public Adapter(Context context, UserSwitcherController controller, in Adapter() method in UserDetailView.Adapter
/frameworks/base/tests/UiBench/src/com/android/test/uibench/recyclerview/
DRvCompatListActivity.java36 RecyclerView.Adapter adapter;
74 protected abstract RecyclerView.Adapter createAdapter(); in createAdapter()
/frameworks/base/tests/UiBench/src/com/android/test/uibench/
DSlowNestedRecyclerViewActivity.java72 protected RecyclerView.Adapter createAdapter() { in createAdapter()
76 private class InnerAdapter extends RecyclerView.Adapter<RecyclerView.ViewHolder> {
117 private class OuterAdapter extends RecyclerView.Adapter<RecyclerView.ViewHolder> {
DTrivialRecyclerViewActivity.java25 protected RecyclerView.Adapter createAdapter() { in createAdapter()
/frameworks/base/core/java/android/widget/
DListAdapter.java26 public interface ListAdapter extends Adapter {
DSpinnerAdapter.java29 public interface SpinnerAdapter extends Adapter {
DAdapter.java34 public interface Adapter { interface
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/d2d/
DRtpTransportTest.java62 private Timeouts.Adapter mTimeoutsAdapter;
71 mTimeoutsAdapter = mock(Timeouts.Adapter.class); in setUp()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/bluetooth/qsdialog/
DBluetoothTileDialogDelegateTest.kt176 val adapter = recyclerView?.adapter as BluetoothTileDialogDelegate.Adapter in testShowDialog_displayBluetoothDevice()
193 .Adapter(bluetoothTileDialogCallback) in testDeviceItemViewHolder_cachedDeviceNotBusy()
221 .Adapter(bluetoothTileDialogCallback) in testDeviceItemViewHolder_cachedDeviceBusy()
247 val adapter = recyclerView?.adapter as BluetoothTileDialogDelegate.Adapter in testOnDeviceUpdated_hideSeeAll_showPairNew()
/frameworks/base/packages/SystemUI/src/com/android/systemui/bluetooth/qsdialog/
DBluetoothTileDialogDelegate.kt91 private val deviceItemAdapter: Adapter = Adapter(bluetoothTileDialogCallback) in <lambda>()
315 internal inner class Adapter(private val onClickCallback: BluetoothTileDialogCallback) : in <lambda>() class in com.android.systemui.bluetooth.qsdialog.BluetoothTileDialogDelegate
316 RecyclerView.Adapter<Adapter.DeviceItemViewHolder>() { in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/
DAccessibilityTargetAdapter.java28 import androidx.recyclerview.widget.RecyclerView.Adapter;
42 public class AccessibilityTargetAdapter extends Adapter<ViewHolder> {
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/
DUserDetailViewAdapterTest.kt59 private lateinit var adapter: UserDetailView.Adapter
73 UserDetailView.Adapter( in setUp()

1234