Home
last modified time | relevance | path

Searched refs:ListItem (Results 1 – 10 of 10) sorted by relevance

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/
DSelectFromListWizardFragment.java63 public static class ListItemComparator implements Comparator<ListItem> {
65 public int compare(ListItem o1, ListItem o2) { in compare()
112 public static class ListItem implements Parcelable { class in SelectFromListWizardFragment
120 public ListItem(String name, int iconResource) { in ListItem() method in SelectFromListWizardFragment.ListItem
128 public ListItem(ScanResult scanResult) { in ListItem() method in SelectFromListWizardFragment.ListItem
173 public static Parcelable.Creator<ListItem> CREATOR = new Parcelable.Creator<ListItem>() {
176 public ListItem createFromParcel(Parcel source) {
179 return new ListItem(source.readString(), source.readInt());
181 return new ListItem(scanResult);
186 public ListItem[] newArray(int size) {
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/
DBrowsedPlayerWrapper.java50 void run(int status, String mediaId, List<ListItem> results); in run()
83 LinkedHashMap<String, List<ListItem>> mCachedFolders =
84 new LinkedHashMap<String, List<ListItem>>(NUM_CACHED_FOLDERS) {
86 protected boolean removeEldestEntry(Map.Entry<String, List<ListItem>> eldest) {
187 cb.run(status, "", new ArrayList<ListItem>()); in getFolderItems()
267 ArrayList<ListItem> return_list = new ArrayList<ListItem>(); in onChildrenLoaded()
282 return_list.add(new ListItem(f)); in onChildrenLoaded()
284 return_list.add(new ListItem(Util.toMetadata(item))); in onChildrenLoaded()
300 mCallback.run(STATUS_LOOKUP_ERROR, id, new ArrayList<ListItem>()); in onError()
DMediaPlayerList.java103 void run(String parentId, List<ListItem> items); in run()
165 (int status, String mediaId, List<ListItem> results) -> { in init()
343 ArrayList<ListItem> playerList = new ArrayList<ListItem>(); in getFolderItemsMediaPlayerList()
351 playerList.add(new ListItem(playerFolder)); in getFolderItemsMediaPlayerList()
389 cb.run(mediaId, new ArrayList<ListItem>()); in getFolderItems()
394 for (ListItem item : results) { in getFolderItems()
405 cb.run(mediaId, new ArrayList<ListItem>()); in getFolderItems()
DAvrcpNativeInterface.java151 void getFolderItemsResponse(String parentId, List<ListItem> items) { in getFolderItemsResponse()
244 private native void getFolderItemsResponseNative(String parentId, List<ListItem> list); in getFolderItemsResponseNative()
DBrowsablePlayerConnector.java133 (int status, String mediaId, List<ListItem> results) -> { in BrowsablePlayerConnector()
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/helpers/
DListItem.java19 class ListItem implements Cloneable { class
24 ListItem(Folder f) { in ListItem() method in ListItem
29 ListItem(Metadata s) { in ListItem() method in ListItem
35 public ListItem clone() { in clone()
37 return new ListItem(folder.clone()); in clone()
39 return new ListItem(song.clone()); in clone()
DUtil.java224 public static List<ListItem> cloneList(List<ListItem> list) { in cloneList()
225 List<ListItem> clone = new ArrayList<ListItem>(list.size()); in cloneList()
226 for (ListItem item : list) clone.add(item.clone()); in cloneList()
/packages/apps/Bluetooth/jni/
Dcom_android_bluetooth_avrcp_target.cpp661 callback.Run(std::vector<ListItem>()); in getFolderItemsResponseNative()
672 callback.Run(std::vector<ListItem>()); in getFolderItemsResponseNative()
684 std::vector<ListItem> ret_list; in getFolderItemsResponseNative()
691 ListItem temp = {ListItem::FOLDER, in getFolderItemsResponseNative()
698 ListItem temp = { in getFolderItemsResponseNative()
699 ListItem::SONG, FolderInfo(), in getFolderItemsResponseNative()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/newavrcp/
DBrowserPlayerWrapperTest.java45 @Captor ArgumentCaptor<List<ListItem>> mWrapperBrowseCb;
177 List<ListItem> item_list = mWrapperBrowseCb.getValue(); in testGetFolderItems()
/packages/apps/Car/SystemUpdater/src/com/android/car/systemupdater/
DDeviceListFragment.java34 import androidx.car.widget.ListItem;
247 public ListItem get(int position) { in get()