Home
last modified time | relevance | path

Searched refs:List (Results 1 – 25 of 203) sorted by relevance

123456789

/development/vndk/tools/header-checker/tests/input/
Dexample1.h87 class List
101 friend class List; variable
111 typedef List<float> float_list;
114 typedef List<int> int_list;
116 List<float>::_Node node(2);
120 List<IChild> castInterface(List<IParent> parent, const char *childIndicator, bool emitError) {retur… in castInterface()
123 castInterface<float, float, float , float>(List<float>(), "foo", true); in format()
/development/samples/MultiDisplay/src/com/example/android/multidisplay/launcher/
DPinnedAppListViewModel.java34 import java.util.List;
53 public LiveData<List<AppEntry>> getPinnedAppList() { in getPinnedAppList()
58 class PinnedAppListLiveData extends LiveData<List<AppEntry>> {
82 new AsyncTask<Void, Void, List<AppEntry>>() { in loadData()
84 protected List<AppEntry> doInBackground(Void... voids) { in loadData()
85 List<AppEntry> entries = new ArrayList<>(); in loadData()
98 final List<ResolveInfo> apps = mPackageManager.queryIntentActivities(mainIntent, in loadData()
113 protected void onPostExecute(List<AppEntry> data) { in loadData()
DAppListViewModel.java32 import java.util.List;
48 public LiveData<List<AppEntry>> getAppList() { in getAppList()
57 class AppListLiveData extends LiveData<List<AppEntry>> {
70 new AsyncTask<Void, Void, List<AppEntry>>() { in loadData()
72 protected List<AppEntry> doInBackground(Void... voids) { in loadData()
76 List<ResolveInfo> apps = mPackageManager.queryIntentActivities(mainIntent, in loadData()
79 List<AppEntry> entries = new ArrayList<>(); in loadData()
90 protected void onPostExecute(List<AppEntry> data) { in loadData()
/development/samples/browseable/MessagingService/src/com.example.android.messagingservice/
DConversations.java21 import java.util.List;
63 private final List<String> messages;
68 List<String> messages) { in Conversation()
83 public List<String> getMessages() { in getMessages()
113 private static List<String> makeMessages(int messagesPerConversation) { in makeMessages()
115 List<String> messages = new ArrayList<>(messagesPerConversation); in makeMessages()
/development/samples/IntentPlayground/src/com/example/android/intentplayground/
DFlagUtils.java31 import java.util.List;
41 private static List<ActivityInfo> sActivityInfos = null;
51 public static List<String> discoverFlags(Intent intent) { in discoverFlags()
71 public static List<String> getIntentFlagsAsString() {
82 public static List<IntentFlag> getAllIntentFlags() {
90 public static Map<String, List<String>> intentFlagsByCategory() {
91 Map<String, List<String>> categories = new HashMap<>();
92 List<String> allFlags = getIntentFlagsAsString();
93 List<String> nonUser = new LinkedList<>();
94 List<String> recentsAndUi = new LinkedList<>();
[all …]
DBaseActivityViewModel.java23 import java.util.List;
37 private final MutableLiveData<List<Tracking.Task>> mRefreshTree;
38 private final Consumer<List<Tracking.Task>> mTrackingListener;
60 public LiveData<List<Tracking.Task>> getRefresh() { in getRefresh()
DTracking.java12 import java.util.List;
50 private List<Consumer<List<Task>>> mListeners = new ArrayList<>();
167 List<Task> tasks = mTaskOrdering.stream().map(Task::copyForUi).collect(toList()); in notifyListeners()
169 for (Consumer<List<Task>> listener : mListeners) { in notifyListeners()
174 public synchronized void addListener(Consumer<List<Task>> listener) { in addListener()
178 public synchronized void removeListener(Consumer<List<Task>> listener) { in removeListener()
199 protected final List<Activity> mActivities;
202 Task(int id, List<Activity> activities) { in Task()
274 public static <T> List<T> reverseAndCopy(List<T> ts) { in reverseAndCopy()
276 List<T> result = new ArrayList<>(); in reverseAndCopy()
/development/samples/browseable/SpeedTracker/Application/src/com.example.android.wearable.speedtracker/
DLocationDataManager.java26 import java.util.List;
34 private final Map<String, List<LocationEntry>> mPointsMap =
35 new HashMap<String, List<LocationEntry>>();
49 public final List<LocationEntry> getPoints(Calendar calendar) { in getPoints()
54 List<LocationEntry> points = mDbHelper.read(calendar); in getPoints()
79 List<LocationEntry> points = getPoints(entry.calendar); in addPoint()
/development/tools/idegen/src/
DExcludes.java18 import java.util.List;
25 private final List<Pattern> patterns;
30 public Excludes(List<Pattern> patterns) { in Excludes()
/development/cmds/monkey/src/com/android/commands/monkey/
DMonkeySourceNetworkViews.java43 import java.util.List;
77 public MonkeyCommandReturn query(AccessibilityNodeInfo node, List<String> args); in query()
150 List<AccessibilityNodeInfo> infos = client.findAccessibilityNodeInfosByViewId( in getNodeByViewId()
162 public MonkeyCommandReturn translateCommand(List<String> command, in translateCommand()
198 public MonkeyCommandReturn translateCommand(List<String> command, in translateCommand()
204 List<String> args; in translateCommand()
243 public MonkeyCommandReturn translateCommand(List<String> command, in translateCommand()
258 public MonkeyCommandReturn translateCommand(List<String> command, in translateCommand()
263 List<AccessibilityNodeInfo> nodes = AccessibilityInteractionClient.getInstance() in translateCommand()
268 List<String> emptyArgs = new ArrayList<String>(); in translateCommand()
[all …]
DMonkeyPermissionUtil.java33 import java.util.List;
69 private List<String> mTargetedPackages;
76 private Map<String, List<PermissionInfo>> mPermissionMap;
120 List<?> pkgInfos = mPm.getInstalledPackages( in populatePermissionsMapping()
127 List<PermissionInfo> permissions = new ArrayList<>(); in populatePermissionsMapping()
157 for (Map.Entry<String, List<PermissionInfo>> e : mPermissionMap.entrySet()) { in dump()
179 List<PermissionInfo> infos = mPermissionMap.get(pkg); in generateRandomPermissionEvent()
/development/samples/ApiDemos/src/com/example/android/apis/view/
DExpandableList3.java26 import java.util.List;
43 List<Map<String, String>> groupData = new ArrayList<Map<String, String>>(); in onCreate()
44 List<List<Map<String, String>>> childData = new ArrayList<List<Map<String, String>>>(); in onCreate()
51 List<Map<String, String>> children = new ArrayList<Map<String, String>>(); in onCreate()
/development/samples/training/multiscreen/newsreader/src/com/example/android/newsreader/
DNonsenseGenerator.java19 import java.util.List;
77 List<String> words = new ArrayList<String>(); in makeSentence()
105 private void generateSentence(List<String> words, boolean isHeadline) { in generateSentence()
112 private void generateTimeClause(List<String> words, boolean isHeadline) { in generateTimeClause()
124 private void generateAgent(List<String> words, boolean isHeadline) { in generateAgent()
134 private void generatePredicate(List<String> words, boolean isHeadline) { in generatePredicate()
159 private static String joinWords(List<String> words) { in joinWords()
/development/tools/mkstubs/tests/data/
DTestTemplateClass.java23 import java.util.List;
47 public void draw(List<? extends Rect> shape) { in draw()
50 public static <T extends Comparable<? super T>> void sort(List<T> list) { in sort()
53 public <X extends T, Y> void getMap(List<T> list, Map<T, U> tu, Map<X, Set<? super Y>> xy) { in getMap()
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/utils/
DQueueHelper.java27 import java.util.List;
39 public static List<MediaSession.QueueItem> getPlayingQueue(String mediaId, in getPlayingQueue()
70 public static List<MediaSession.QueueItem> getPlayingQueueFromSearch(String query, in getPlayingQueueFromSearch()
103 private static List<MediaSession.QueueItem> convertToQueue( in convertToQueue()
105 List<MediaSession.QueueItem> queue = new ArrayList<>(); in convertToQueue()
135 public static List<MediaSession.QueueItem> getRandomQueue(MusicProvider musicProvider) { in getRandomQueue()
146 public static boolean isIndexPlayable(int index, List<MediaSession.QueueItem> queue) { in isIndexPlayable()
/development/samples/ApiDemos/src/com/example/android/apis/app/
DLoaderCustom.java27 import java.util.List;
209 public static class AppListLoader extends AsyncTaskLoader<List<AppEntry>> {
213 List<AppEntry> mApps;
230 @Override public List<AppEntry> loadInBackground() { in loadInBackground()
232 List<ApplicationInfo> apps = mPm.getInstalledApplications( in loadInBackground()
242 List<AppEntry> entries = new ArrayList<AppEntry>(apps.size()); in loadInBackground()
261 @Override public void deliverResult(List<AppEntry> apps) { in deliverResult()
269 List<AppEntry> oldApps = mApps; in deliverResult()
323 @Override public void onCanceled(List<AppEntry> apps) { in onCanceled()
358 protected void onReleaseResources(List<AppEntry> apps) { in onReleaseResources()
[all …]
/development/samples/VoicemailProviderDemo/src/com/example/android/voicemail/common/core/
DVoicemailProviderHelper.java25 import java.util.List;
127 public List<Voicemail> getAllVoicemails(); in getAllVoicemails()
139 public List<Voicemail> getAllVoicemails(VoicemailFilter filter, in getAllVoicemails()
/development/samples/browseable/XYZTouristAttractions/Application/src/com.example.android.xyztouristattractions/provider/
DTouristAttractions.java28 import java.util.List;
52 public static final HashMap<String, List<Attraction>> ATTRACTIONS =
53 new HashMap<String, List<Attraction>>() {{
112 public static List<Geofence> getGeofenceList() { in getGeofenceList()
113 List<Geofence> geofenceList = new ArrayList<Geofence>(); in getGeofenceList()
/development/samples/TtsEngine/src/com/example/android/ttsengine/
DRobotSpeakSettings.java21 import java.util.List;
35 public void onBuildHeaders(List<Header> target) { in onBuildHeaders()
/development/samples/browseable/DirectorySelection/src/com.example.android.directoryselection/
DDirectoryEntryAdapter.java26 import java.util.List;
34 private List<DirectoryEntry> mDirectoryEntries;
69 public DirectoryEntryAdapter(List<DirectoryEntry> directoryEntries) { in DirectoryEntryAdapter()
97 public void setDirectoryEntries(List<DirectoryEntry> directoryEntries) { in setDirectoryEntries()
/development/samples/browseable/ScopedDirectoryAccess/src/com.example.android.scopeddirectoryaccess/
DDirectoryEntryAdapter.java12 import java.util.List;
19 private List<DirectoryEntry> mDirectoryEntries;
25 public DirectoryEntryAdapter(List<DirectoryEntry> directoryEntries) { in DirectoryEntryAdapter()
54 public void setDirectoryEntries(List<DirectoryEntry> directoryEntries) { in setDirectoryEntries()
/development/samples/AppNavigation/src/com/example/android/appnavigation/app/
DAppNavHomeActivity.java31 import java.util.List;
50 protected List<SampleInfo> querySampleActivities() { in querySampleActivities()
56 List<ResolveInfo> infos = pm.queryIntentActivities(intent, 0); in querySampleActivities()
87 private List<SampleInfo> mItems;
89 public SampleAdapter(List<SampleInfo> items) { in SampleAdapter()
/development/apps/Development/src/com/android/development/
DArrayAdapter.java25 import java.util.List;
36 public void setSource(List<E> list) { in setSource()
76 private List<E> mList;
/development/tools/checkcolor/src/main/java/com/google/checkcolor/lint/
DHardcodedColorIssueRegistry.java23 import java.util.List;
31 public List<Issue> getIssues() { in getIssues()
/development/samples/browseable/RecipeAssistant/Application/src/com.example.android.wearable.recipeassistant/
DRecipeListAdapter.java35 import java.util.List;
47 private List<Item> mItems = new ArrayList<Item>();
59 List<Item> items = parseJson(jsonObject); in loadRecipeList()
64 private List<Item> parseJson(JSONObject json) { in parseJson()
65 List<Item> result = new ArrayList<Item>(); in parseJson()
86 private void appendItemsToList(List<Item> items) { in appendItemsToList()

123456789