Searched defs:list (Results 1 - 25 of 78) sorted by path

1234

/frameworks/av/cmds/stagefright/
H A Dstagefright.cpp900 List<IOMX::ComponentInfo> list; local
901 omx->listNodes(&list);
903 for (List<IOMX::ComponentInfo>::iterator it = list.begin();
904 it != list.end(); ++it) {
/frameworks/av/media/libmedia/
H A DIMediaDeathNotifier.cpp82 SortedVector< wp<IMediaDeathNotifier> > list; local
86 list = sObitRecipients;
92 size_t count = list.size();
94 sp<IMediaDeathNotifier> notifier = list[iter].promote();
H A DIOMX.cpp76 virtual status_t listNodes(List<ComponentInfo> *list) { argument
77 list->clear();
85 list->push_back(ComponentInfo());
86 ComponentInfo &info = *--list->end();
543 List<ComponentInfo> list; local
544 listNodes(&list);
546 reply->writeInt32(list.size());
547 for (List<ComponentInfo>::iterator it = list.begin();
548 it != list.end(); ++it) {
/frameworks/av/media/libstagefright/
H A DNuCachedSource2.cpp61 void freePages(List<Page *> *list);
76 void PageCache::freePages(List<Page *> *list) { argument
77 List<Page *>::iterator it = list->begin();
78 while (it != list->end()) {
H A DOMXClient.cpp44 virtual status_t listNodes(List<ComponentInfo> *list);
199 status_t MuxOMX::listNodes(List<ComponentInfo> *list) { argument
206 return mLocalOMX->listNodes(list);
H A DOMXCodec.cpp202 const sp<IMediaCodecList> list = MediaCodecList::getInstance(); local
203 if (list == NULL) {
210 list->findCodecByType(mime, createEncoder, index);
218 const sp<MediaCodecInfo> info = list->getCodecInfo(matchIndex);
269 const sp<IMediaCodecList> list = MediaCodecList::getInstance(); local
270 if (list == NULL) {
274 ssize_t index = list->findCodecByName(componentName);
280 const sp<MediaCodecInfo> info = list->getCodecInfo(index);
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A Dh264bsd_dpb.h80 dpbPicture_t **list; member in struct:__anon602
/frameworks/av/media/libstagefright/omx/
H A DOMX.cpp194 status_t OMX::listNodes(List<ComponentInfo> *list) { argument
195 list->clear();
201 list->push_back(ComponentInfo());
202 ComponentInfo &info = *--list->end();
/frameworks/base/core/java/android/app/
H A DActivityThread.java1892 // For checkin, we print one long comma-separated list of values
2095 ArrayList<OnActivityPausedListener> list = mOnPauseListeners.get(activity);
2096 if (list == null) {
2097 list = new ArrayList<OnActivityPausedListener>();
2098 mOnPauseListeners.put(activity, list);
2100 list.add(listener);
2107 ArrayList<OnActivityPausedListener> list = mOnPauseListeners.get(activity);
2108 if (list != null) {
2109 list.remove(listener);
2161 ArrayList<ResultInfo> list
5195 report(int code, Object... list) argument
[all...]
H A DBackStackRecord.java865 * @param firstOutFragments The list of first fragments to be removed, keyed on the
866 * container ID. This list will be modified by the method.
867 * @param lastInFragments The list of last fragments to be added, keyed on the
868 * container ID. This list will be modified by the method.
923 * @param firstOutFragments The list of first fragments to be removed, keyed on the
924 * container ID. This list will be modified by the method.
925 * @param lastInFragments The list of last fragments to be added, keyed on the
926 * container ID. This list will be modified by the method.
989 * @param firstOutFragments The list of first fragments to be removed, keyed on the
991 * @param lastInFragments The list o
1451 isNullOrEmpty(List list) argument
[all...]
/frameworks/base/core/java/android/app/backup/
H A DFileBackupHelperBase.java109 boolean isKeyInList(String key, String[] list) { argument
110 for (String s: list) {
/frameworks/base/core/java/android/content/pm/
H A DParceledListSlice.java30 * Transfer a large list of Parcelable objects across an IPC. Splits into
54 public ParceledListSlice(List<T> list) { argument
55 mList = list;
119 + actual.getName() + " in list of type "
/frameworks/base/core/java/android/content/res/
H A DAssetManager.java284 * @see #list
305 * @see #list
349 public native final String[] list(String path) method in class:AssetManager
/frameworks/base/core/java/android/hardware/camera2/utils/
H A DArrayUtils.java71 * @param list Source list of strings
72 * @param convertFrom Conversion list of strings
73 * @param convertTo Conversion list of ints
75 * or {@code null} if {@code list} was {@code null}
78 List<String> list, String[] convertFrom, int[] convertTo) {
79 if (list == null) {
83 List<Integer> convertedList = convertStringListToIntList(list, convertFrom, convertTo);
101 * @param list Source list o
77 convertStringListToIntArray( List<String> list, String[] convertFrom, int[] convertTo) argument
107 convertStringListToIntList( List<String> list, String[] convertFrom, int[] convertTo) argument
144 toIntArray(List<Integer> list) argument
[all...]
H A DListUtils.java22 * Various assortment of list utilities.
24 * <p>Using a {@code null} list is supported and will almost always return the default value
29 /** Return {@code} true if the {@code list} contains the {@code needle}. */
30 public static <T> boolean listContains(List<T> list, T needle) { argument
31 if (list == null) {
34 return list.contains(needle);
39 * Return {@code true} if the {@code list} is only a single element equal to
42 public static <T> boolean listElementsEqualTo(List<T> list, T single) { argument
43 if (list == null) {
47 return (list
53 listToString(List<T> list) argument
87 listSelectFirstFrom(List<T> list, T[] choices) argument
[all...]
/frameworks/base/core/java/android/os/
H A DParcel.java1089 * type of the objects in the list must be one that implements Parcelable.
1094 * @param val The list of objects to be written.
1126 * @param val The list of strings to be written.
1151 * @param val The list of strings to be written.
1832 * dataPosition(). Returns null if the previously written list object was
1864 * dataPosition(). Returns null if the previously written list object was
1880 * dataPosition(). Returns null if the previously written list object was
1897 * previously written list object was null. The list <em>must</em> have
1926 * current dataPosition(). The list <e
1935 readTypedList(List<T> list, Parcelable.Creator<T> c) argument
2015 readStringList(List<String> list) argument
2039 readBinderList(List<IBinder> list) argument
[all...]
/frameworks/base/core/java/android/speech/tts/
H A DTtsEngines.java53 * Support class for querying the list of available engines
155 * Gets a list of all installed TTS engines.
157 * @return A list of engine info objects. The list can be empty, but never {@code null}.
491 * Parses a comma separated list of engine locale preferences. The list is of the
493 * so forth. Returns null if the list is empty, malformed or if there is no engine
494 * specific preference in the list.
538 * Updates the value for a given key in a comma separated list of key value pairs,
540 * the kay value pair are appended to the end of the list
542 updateValueInCommaSeparatedList(String list, String key, String newValue) argument
[all...]
/frameworks/base/core/java/android/text/
H A DTextUtils.java285 * Returns list of multiple {@link CharSequence} joined into a single
290 public static CharSequence join(Iterable<CharSequence> list) { argument
292 return join(delimiter, list);
1633 * Does a comma-delimited list 'delimitedString' contain a certain item?
1671 * @param spans A list of spans retrieved using {@link Spanned#getSpans(int, int, Class)} from
/frameworks/base/core/java/android/transition/
H A DTransition.java487 * @param matches A list of zero or more of {@link #MATCH_INSTANCE},
622 * assuming that there is no match between values in the list.
787 * the Transition has no target/targetId list (the default, in which
789 * the given view is in the target list or the view id is in the
790 * targetId list. If the target parameter is null, then the target list
1034 * Removes the given targetId from the list of ids that this Transition
1051 * Removes the given targetName from the list of transitionNames that this Transition
1068 * Whether to add the given id to the list of target ids to exclude from this
1070 * should be added to or removed from the excluded list
1209 excludeObject(ArrayList<T> list, T target, boolean exclude) argument
2372 add(ArrayList<T> list, T item) argument
2387 remove(ArrayList<T> list, T item) argument
[all...]
/frameworks/base/core/java/android/util/
H A DEventLog.java191 * @param list A list of values to log
194 public static native int writeEvent(int tag, Object... list); argument
H A DPathParser.java58 ArrayList<PathDataNode> list = new ArrayList<PathDataNode>();
64 addNode(list, s.charAt(0), val);
71 addNode(list, pathData.charAt(start), new float[0]);
73 return list.toArray(new PathDataNode[list.size()]);
148 private static void addNode(ArrayList<PathDataNode> list, char cmd, float[] val) { argument
149 list.add(new PathDataNode(cmd, val));
163 * @param s the string containing a command and list of floats
/frameworks/base/core/java/android/widget/
H A DRemoteViews.java516 public SetRemoteViewsAdapterList(int id, ArrayList<RemoteViews> list, int viewTypeCount) { argument
518 this.list = list;
526 list = new ArrayList<RemoteViews>();
530 list.add(rv);
539 if (list == null || list.size() == 0) {
542 int count = list.size();
545 RemoteViews rv = list.get(i);
573 ((RemoteViewsListAdapter) a).setViewsList(list);
593 ArrayList<RemoteViews> list; field in class:RemoteViews.SetRemoteViewsAdapterList
2319 setRemoteAdapter(int viewId, ArrayList<RemoteViews> list, int viewTypeCount) argument
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DLockPatternUtils.java1376 private static String combineStrings(int[] list, String separator) { argument
1377 int listLength = list.length;
1384 return Integer.toString(list[0]);
1391 String[] stringList = new String[list.length];
1393 stringList[i] = Integer.toString(list[i]);
1403 sb.append(list[i]);
/frameworks/base/core/jni/
H A Dandroid_hardware_SensorManager.cpp97 Sensor const* const list = sensorList[next]; local
99 jstring name = env->NewStringUTF(list->getName().string());
100 jstring vendor = env->NewStringUTF(list->getVendor().string());
101 jstring stringType = env->NewStringUTF(list->getStringType().string());
102 jstring requiredPermission = env->NewStringUTF(list->getRequiredPermission().string());
105 env->SetIntField(sensor, sensorOffsets.version, list->getVersion());
106 env->SetIntField(sensor, sensorOffsets.handle, list->getHandle());
107 env->SetIntField(sensor, sensorOffsets.type, list->getType());
108 env->SetFloatField(sensor, sensorOffsets.range, list->getMaxValue());
109 env->SetFloatField(sensor, sensorOffsets.resolution, list
[all...]
H A Dandroid_hardware_location_ActivityRecognitionHardware.cpp213 char const* const* list = NULL; local
214 int list_size = sModule->get_supported_activities_list(sModule, &list);
215 if (list_size <= 0 || list == NULL) {
232 const char* string_ptr = const_cast<const char*>(list[i]);

Completed in 3448 milliseconds

1234