Lines Matching defs:activities

54  * activities that can handle the given intent and order found activities
57 * choice history the file can be omitted, thus the activities will be ordered
65 * activities and they may be inconsistent with the functionality of some of the clients.
114 * Defines a sorter that is responsible for sorting the activities
120 * Sorts the <code>activities</code> in descending order of relevance
124 * @param activities Activities to be sorted.
129 public void sort(Intent intent, List<ActivityResolveInfo> activities,
240 * List of activities that can handle the current intent.
270 * The sorter for ordering activities based on intent and past choices.
314 * Policy for controlling how the model handles chosen activities.
337 * if the model should not be backed by a file. In this case the activities
402 * Gets the number of activities that can handle the intent.
436 List<ActivityResolveInfo> activities = mActivites;
437 final int activityCount = activities.size();
439 ActivityResolveInfo currentActivity = activities.get(i);
502 * with highest rank i.e. the first one in the list of activities that can
505 * @return The default activity, <code>null</code> id not activities.
599 * Sets the sorter for ordering activities based on historical data and an intent.
616 * Sorts the activities based on history and an intent. If
721 * Loads the activities.
928 public void sort(Intent intent, List<ActivityResolveInfo> activities,
934 final int activityCount = activities.size();
936 ActivityResolveInfo activity = activities.get(i);
954 Collections.sort(activities);
958 Log.i(LOG_TAG, "Sorted: " + activities.get(i));
1143 * Keeps in sync the historical records and activities with the installed applications.