Home
last modified time | relevance | path

Searched refs:mList (Results 1 – 23 of 23) sorted by relevance

/development/apps/Development/src/com/android/development/
DArrayAdapter.java37 mList = list; in setSource()
43 if (mList == null) { in itemForPosition()
47 return mList.get(position); in itemForPosition()
51 return mList != null ? mList.size() : 0; in getCount()
69 bindView(view, mList.get(position)); in getView()
76 private List<E> mList; field in ArrayAdapter
DAppHwConfigList.java92 if(mList == null) { in AppListAdapter()
93 mList = new ArrayList<PackageInfo>(); in AppListAdapter()
95 mList.add(pkgInfo); in AppListAdapter()
98 if (mList != null) { in AppListAdapter()
99 Collections.sort(mList, sDisplayNameComparator); in AppListAdapter()
104 if (mList == null) { in appForPosition()
107 return mList.get(position); in appForPosition()
111 return mList != null ? mList.size() : 0; in getCount()
130 bindView(view, mList.get(position)); in getView()
141 protected List<PackageInfo> mList; field in AppHwConfigList.AppListAdapter
DRunningProcesses.java84 if(mList == null) { in AppListAdapter()
85 mList = new ArrayList<ListItem>(); in AppListAdapter()
87 mList.add(new ListItem(app)); in AppListAdapter()
89 if (mList != null) { in AppListAdapter()
90 Collections.sort(mList, sDisplayNameComparator); in AppListAdapter()
95 if (mList == null) { in appForPosition()
98 return mList.get(position); in appForPosition()
102 return mList != null ? mList.size() : 0; in getCount()
121 bindView(view, mList.get(position)); in getView()
132 protected List<ListItem> mList; field in RunningProcesses.AppListAdapter
DInstrumentationList.java53 mList = context.getPackageManager().queryInstrumentation(mTargetPackage, 0); in InstrumentationAdapter()
54 if (mList != null) { in InstrumentationAdapter()
55 Collections.sort(mList, new InstrumentationInfo.DisplayNameComparator(mPM)); in InstrumentationAdapter()
61 if (mList == null) { in instrumentationForPosition()
64 InstrumentationInfo ii = mList.get(position); in instrumentationForPosition()
70 return mList != null ? mList.size() : 0; in getCount()
92 bindView(view, mList.get(position)); in getView()
107 protected List<InstrumentationInfo> mList; field in InstrumentationAdapter
DPermissionDetails.java93 private List<PackageInfo> mList; field in PermissionDetails.AppListAdapter
96 mList = list; in AppListAdapter()
100 return mList.size(); in getCount()
104 return mList.get(position); in getItem()
112 return mList.get(position); in getPkg()
137 PackageInfo pInfo = mList.get(position); in getView()
/development/tools/bugreport/src/com/android/bugreport/util/
DLines.java32 private final ArrayList<? extends Line> mList; field in Lines
76 this.mList = list; in Lines()
78 mMax = mList.size(); in Lines()
87 mList = list; in Lines()
106 return this.mList.get(pos++); in next()
139 return new Lines<T>(mList, Math.max(mMin, from), Math.min(mMax, to)); in copy()
/development/samples/ShortcutDemo/launcher/src/com/example/android/pm/shortcutlauncherdemo/
DBaseActivityListFragment.java92 private List<LauncherActivityInfo> mList; field in BaseActivityListFragment.AppAdapter
102 mList = list; in setList()
108 return mList == null ? 0 : mList.size(); in getCount()
113 return mList == null ? null : mList.get(position); in getItem()
/development/apps/DumpViewer/app/src/main/java/com/android/dumpviewer/pickers/
DPickerActivity.java46 private ListView mList; field in PickerActivity
61 mList = findViewById(R.id.list); in onCreate()
62 mList.setAdapter(mAdapter); in onCreate()
79 mList.setOnItemClickListener(this::onListItemClicked); in onCreate()
/development/samples/browseable/AppShortcuts/src/com.example.android.appshortcuts/
DMain.java173 private List<ShortcutInfo> mList = EMPTY_LIST; field in Main.MyAdapter
182 return mList.size(); in getCount()
187 return mList.get(position); in getItem()
211 mList = list; in setShortcuts()
224 bindView(view, position, mList.get(position)); in getView()
/development/samples/ApiDemos/src/com/example/android/apis/content/
DChangedContacts.java71 private ListView mList; field in ChangedContacts
110 mList = new ListView(this); in onCreate()
111 mList.setLayoutParams(new LinearLayout.LayoutParams(ViewGroup.LayoutParams.WRAP_CONTENT, in onCreate()
113 main.addView(mList); in onCreate()
209 mList.setAdapter(mChangeAdapter); in onLoadFinished()
226 mList.setAdapter(mDeleteAdapter); in onLoadFinished()
/development/samples/ShortcutSample/src/com/example/android/shortcutsample/
DMain.java239 private List<ShortcutInfo> mList = EMPTY_LIST; field in Main.MyAdapter
248 return mList.size(); in getCount()
253 return mList.get(position); in getItem()
277 mList = list; in setShortcuts()
290 bindView(view, position, mList.get(position)); in getView()
/development/samples/ApiDemos/src/com/example/android/apis/app/
DVoiceRecognition.java53 private ListView mList; field in VoiceRecognition
73 mList = (ListView) findViewById(R.id.list); in onCreate()
143 mList.setAdapter(new ArrayAdapter<String>(this, android.R.layout.simple_list_item_1, in onActivityResult()
/development/samples/ShortcutDemo/publisher/src/com/example/android/pm/shortcutdemo/
DShortcutPublisher.java63 private ListView mList; field in ShortcutPublisher
85 mList = (ListView) findViewById(android.R.id.list); in onCreate()
87 mList.setAdapter(mAdapter); in onCreate()
/development/samples/training/multiscreen/newsreader/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/basic/ActivityLifecycle/libs/
Dandroid-support-v13.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/basic/FragmentBasics/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/location-aware/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/AnimationsDemo/libs/
Dandroid-support-v13.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/InteractiveChart/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/EffectiveNavigation/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/ContactsList/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/ControllerSample/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/NavigationDrawer/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...