Home
last modified time | relevance | path

Searched refs:adapter (Results 1 – 25 of 65) sorted by relevance

123

/development/vndk/tools/definition-tool/datasets/
Deligible-list-29-properties.csv3 android.frameworks.bufferhub@1.0-adapter-helper,False,False,True,hidl_interface
5 android.frameworks.cameraservice.common@2.0-adapter-helper,True,False,True,hidl_interface
7 android.frameworks.cameraservice.device@2.0-adapter-helper,True,False,True,hidl_interface
9 android.frameworks.cameraservice.service@2.0-adapter-helper,True,False,True,hidl_interface
11 android.frameworks.displayservice@1.0-adapter-helper,True,False,True,hidl_interface
13 android.frameworks.schedulerservice@1.0-adapter-helper,True,False,True,hidl_interface
15 android.frameworks.sensorservice@1.0-adapter-helper,True,False,True,hidl_interface
17 android.frameworks.stats@1.0-adapter-helper,True,False,True,hidl_interface
19 android.frameworks.vr.composer@1.0-adapter-helper,True,False,True,hidl_interface
21 android.hardware.atrace@1.0-adapter-helper,True,False,True,hidl_interface
[all …]
Deligible-list-28-properties.csv3 android.frameworks.displayservice@1.0-adapter-helper,True,False,True,hidl_interface
5 android.frameworks.schedulerservice@1.0-adapter-helper,True,False,True,hidl_interface
7 android.frameworks.sensorservice@1.0-adapter-helper,True,False,True,hidl_interface
9 android.frameworks.vr.composer@1.0-adapter-helper,True,False,True,hidl_interface
12 android.hardware.audio.common@2.0-adapter-helper,True,False,True,hidl_interface
15 android.hardware.audio.common@4.0-adapter-helper,True,False,True,hidl_interface
18 android.hardware.audio.effect@2.0-adapter-helper,True,False,True,hidl_interface
20 android.hardware.audio.effect@4.0-adapter-helper,True,False,True,hidl_interface
22 android.hardware.audio@2.0-adapter-helper,True,False,True,hidl_interface
24 android.hardware.audio@4.0-adapter-helper,True,False,True,hidl_interface
[all …]
/development/samples/ApiDemos/src/com/example/android/apis/view/
DSpinner1.java45 ArrayAdapter<CharSequence> adapter = ArrayAdapter.createFromResource( in onCreate() local
47 adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item); in onCreate()
48 s1.setAdapter(adapter); in onCreate()
62 adapter = ArrayAdapter.createFromResource(this, R.array.planets, in onCreate()
64 adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item); in onCreate()
65 s2.setAdapter(adapter); in onCreate()
DAutoComplete3.java34 ArrayAdapter<String> adapter = new ArrayAdapter<String>(this, in onCreate() local
39 textView.setAdapter(adapter); in onCreate()
41 textView.setAdapter(adapter); in onCreate()
DList3.java45 SimpleCursorAdapter adapter = new SimpleCursorAdapter(this, in onCreate() local
53 adapter.setViewBinder(new SimpleCursorAdapter.ViewBinder() { in onCreate()
72 setListAdapter(adapter); in onCreate()
DSplitTouchView.java43 ListAdapter adapter = new ArrayAdapter<String>(this, in onCreate() local
45 list1.setAdapter(adapter); in onCreate()
46 list2.setAdapter(adapter); in onCreate()
DAnimation2.java45 ArrayAdapter<String> adapter = new ArrayAdapter<String>(this, in onCreate() local
47 adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item); in onCreate()
48 s.setAdapter(adapter); in onCreate()
DAnimation3.java46 ArrayAdapter<String> adapter = new ArrayAdapter<String>(this, in onCreate() local
48 adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item); in onCreate()
49 s.setAdapter(adapter); in onCreate()
DAutoComplete2.java34 ArrayAdapter<String> adapter = new ArrayAdapter<String>(this, in onCreate() local
39 textView.setAdapter(adapter); in onCreate()
/development/samples/devbytes/ui/ListViewDeletion/src/com/example/android/listviewdeletion/
DListViewDeletion.java57 final StableArrayAdapter adapter = new StableArrayAdapter(this, in onCreate() local
59 listview.setAdapter(adapter); in onCreate()
74 final String item = adapter.getItem(position); in onCreate()
81 adapter.remove(item); in onCreate()
101 adapter.remove(item); in onCreate()
110 adapter.remove(item); in onCreate()
132 adapter.notifyDataSetChanged(); in onCreate()
/development/apps/GestureBuilder/src/com/android/gesture/builder/
DGestureBuilderActivity.java276 final GesturesAdapter adapter = mAdapter; in changeGestureName() local
277 final int count = adapter.getCount(); in changeGestureName()
282 final NamedGesture gesture = adapter.getItem(i); in changeGestureName()
291 adapter.notifyDataSetChanged(); in changeGestureName()
308 final GesturesAdapter adapter = mAdapter; in deleteGesture() local
309 adapter.setNotifyOnChange(false); in deleteGesture()
310 adapter.remove(gesture); in deleteGesture()
311 adapter.sort(mSorter); in deleteGesture()
313 adapter.notifyDataSetChanged(); in deleteGesture()
374 final GesturesAdapter adapter = mAdapter; in onProgressUpdate() local
[all …]
/development/samples/browseable/XYZTouristAttractions/Application/src/com.example.android.xyztouristattractions/ui/
DAttractionsRecyclerView.java61 public void setAdapter(RecyclerView.Adapter adapter) { in setAdapter() argument
65 if (adapter != null) { in setAdapter()
66 adapter.registerAdapterDataObserver(mDataObserver); in setAdapter()
68 super.setAdapter(adapter); in setAdapter()
/development/samples/WiFiDirectServiceDiscovery/src/com/example/android/wifidirect/discovery/
DWiFiChatFragment.java28 ChatMessageAdapter adapter = null; field in WiFiChatFragment
37 adapter = new ChatMessageAdapter(getActivity(), android.R.id.text1, in onCreateView()
39 listView.setAdapter(adapter); in onCreateView()
65 adapter.add(readMessage); in pushMessage()
66 adapter.notifyDataSetChanged(); in pushMessage()
/development/samples/browseable/SwipeRefreshListFragment/src/com.example.android.swiperefreshlistfragment/
DSwipeRefreshListFragmentFragment.java72 ListAdapter adapter = new ArrayAdapter<String>( in onViewCreated() local
79 setListAdapter(adapter); in onViewCreated()
191 ArrayAdapter<String> adapter = (ArrayAdapter<String>) getListAdapter(); in onRefreshComplete() local
192 adapter.clear(); in onRefreshComplete()
194 adapter.add(cheese); in onRefreshComplete()
/development/samples/ApiDemos/src/com/example/android/apis/app/
DPrintCustomContent.java224 MotoGpStatAdapter adapter = new MotoGpStatAdapter(items, in print()
235 final int itemCount = adapter.getCount(); in print()
243 final int nextViewType = adapter.getItemViewType(i); in print()
245 view = adapter.getView(i, view, dummyParent); in print()
247 view = adapter.getView(i, null, dummyParent); in print()
336 MotoGpStatAdapter adapter = new MotoGpStatAdapter(items, in print()
358 final int itemCount = adapter.getCount(); in print()
366 final int nextViewType = adapter.getItemViewType(i); in print()
368 view = adapter.getView(i, view, dummyParent); in print()
370 view = adapter.getView(i, null, dummyParent); in print()
DActionBarDisplayOptions.java67 final ArrayAdapter<String> adapter = new ArrayAdapter<String>(this, in onCreate() local
69 adapter.add("Item 1"); in onCreate()
70 adapter.add("Item 2"); in onCreate()
71 adapter.add("Item 3"); in onCreate()
72 bar.setListNavigationCallbacks(adapter, this); in onCreate()
DSoftInputModes.java50 ArrayAdapter<CharSequence> adapter = new ArrayAdapter<CharSequence>(this, in onCreate() local
52 adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item); in onCreate()
53 mResizeMode.setAdapter(adapter); in onCreate()
DScreenOrientation.java61 ArrayAdapter<CharSequence> adapter = ArrayAdapter.createFromResource( in onCreate() local
63 adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item); in onCreate()
64 mOrientation.setAdapter(adapter); in onCreate()
/development/samples/browseable/Flashlight/src/com.example.android.wearable.flashlight/
DMainActivity.java45 final LightFragmentAdapter adapter = new LightFragmentAdapter(getFragmentManager()); in onCreate() local
46 adapter.addFragment(new WhiteLightFragment()); in onCreate()
48 adapter.addFragment(partyFragment); in onCreate()
49 mViewPager.setAdapter(adapter); in onCreate()
/development/samples/ContactManager/src/com/example/android/contactmanager/
DContactAdder.java108 ArrayAdapter<String> adapter; in onCreate() local
109 adapter = new ArrayAdapter<String>(this, android.R.layout.simple_spinner_item); in onCreate()
110 adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item); in onCreate()
114 adapter.add(ContactsContract.CommonDataKinds.Phone.getTypeLabel( in onCreate()
119 mContactPhoneTypeSpinner.setAdapter(adapter); in onCreate()
123 adapter = new ArrayAdapter<String>(this, android.R.layout.simple_spinner_item); in onCreate()
124 adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item); in onCreate()
127 adapter.add(ContactsContract.CommonDataKinds.Email.getTypeLabel( in onCreate()
132 mContactEmailTypeSpinner.setAdapter(adapter); in onCreate()
/development/samples/browseable/AutoBackupForApps/src/com.example.android.autobackupsample/
DAddFileActivity.java179 final ArrayAdapter<CharSequence> adapter = in initFileSizeSpinner() local
182 adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item); in initFileSizeSpinner()
183 spinner.setAdapter(adapter); in initFileSizeSpinner()
187 String sizeMeasure = adapter.getItem(position).toString(); in initFileSizeSpinner()
204 final ArrayAdapter<CharSequence> adapter = in initFileStorageSpinner() local
207 adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item); in initFileStorageSpinner()
208 spinner.setAdapter(adapter); in initFileStorageSpinner()
/development/samples/devbytes/animation/ListViewAnimations/src/com/example/android/listviewanimations/
DListViewAnimations.java56 final StableArrayAdapter adapter = new StableArrayAdapter(this, in onCreate() local
58 listview.setAdapter(adapter); in onCreate()
71 adapter.notifyDataSetChanged(); in onCreate()
94 adapter.notifyDataSetChanged(); in onCreate()
/development/samples/XmlAdapters/src/com/example/android/xmladapters/
DAdapters.java410 XmlCursorAdapter adapter = (XmlCursorAdapter) loadAdapter(context, id, ADAPTER_CURSOR, in loadCursorAdapter() local
414 adapter.setUri(uri); in loadCursorAdapter()
416 adapter.load(); in loadCursorAdapter()
418 return adapter; in loadCursorAdapter()
448 XmlCursorAdapter adapter = (XmlCursorAdapter) loadAdapter(context, id, ADAPTER_CURSOR, in loadCursorAdapter() local
452 adapter.changeCursor(cursor); in loadCursorAdapter()
455 return adapter; in loadCursorAdapter()
478 final BaseAdapter adapter = loadAdapter(context, id, null, parameters); in loadAdapter() local
479 if (adapter instanceof ManagedAdapter) { in loadAdapter()
480 ((ManagedAdapter) adapter).load(); in loadAdapter()
[all …]
/development/samples/browseable/JumpingJack/src/com.example.android.wearable.jumpingjack/
DMainActivity.java100 final PagerAdapter adapter = new PagerAdapter(getFragmentManager()); in setupViews() local
103 adapter.addFragment(mCounterPage); in setupViews()
104 adapter.addFragment(mSettingPage); in setupViews()
122 mPager.setAdapter(adapter); in setupViews()
/development/samples/IntentPlayground/src/com/example/android/intentplayground/
DIntentFragment.java91 private void fillLayout(ViewGroup layout, ArrayAdapter<?> adapter) { in fillLayout() argument
93 for (int i = 0; i < adapter.getCount(); i++) { in fillLayout()
94 layout.addView(adapter.getView(i, null /* convertView */, null /* parent */)); in fillLayout()

123