/development/apps/Development/src/com/android/development/ |
D | ArrayAdapter.java | 37 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
|
D | AppHwConfigList.java | 92 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
|
D | RunningProcesses.java | 84 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
|
D | InstrumentationList.java | 53 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
|
D | PermissionDetails.java | 93 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/ |
D | Lines.java | 32 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/ |
D | BaseActivityListFragment.java | 92 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/ |
D | PickerActivity.java | 46 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/ |
D | Main.java | 173 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/ |
D | ChangedContacts.java | 71 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/ |
D | Main.java | 239 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/ |
D | VoiceRecognition.java | 53 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/ |
D | ShortcutPublisher.java | 63 private ListView mList; field in ShortcutPublisher 85 mList = (ListView) findViewById(android.R.id.list); in onCreate() 87 mList.setAdapter(mAdapter); in onCreate()
|