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()
DAutoComplete2.java34 ArrayAdapter<String> adapter = new ArrayAdapter<String>(this, in onCreate() local
39 textView.setAdapter(adapter); in onCreate()
DAutoComplete1.java33 ArrayAdapter<String> adapter = new ArrayAdapter<String>(this, in onCreate() local
36 textView.setAdapter(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()
DAutoComplete6.java33 ArrayAdapter<String> adapter = new ArrayAdapter<String>(this, in onCreate() local
36 textView.setAdapter(adapter); in onCreate()
DAutoComplete5.java37 AutoComplete4.ContactListAdapter adapter = in onCreate() local
42 textView.setAdapter(adapter); in onCreate()
DList2.java41 ListAdapter adapter = new SimpleCursorAdapter(this, in onCreate() local
50 setListAdapter(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()
/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/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/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/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/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/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/
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()
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()
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()
/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/devbytes/animation/ListViewDraggingAnimation/src/com/example/android/listviewdragginganimation/
DListViewDraggingAnimation.java45 StableArrayAdapter adapter = new StableArrayAdapter(this, R.layout.text_view, mCheeseList); in onCreate() local
49 listView.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()

123