Searched defs:list (Results 1 - 25 of 155) sorted by relevance

1234567

/frameworks/av/include/media/stagefright/foundation/
H A DALookup.h28 ALookup(std::initializer_list<std::pair<T, U>> list);
44 ALookup<T, U>::ALookup(std::initializer_list<std::pair<T, U>> list) argument
45 : mTable(list) {
/frameworks/av/media/libstagefright/foundation/include/foundation/
H A DALookup.h28 ALookup(std::initializer_list<std::pair<T, U>> list);
44 ALookup<T, U>::ALookup(std::initializer_list<std::pair<T, U>> list) argument
45 : mTable(list) {
/frameworks/av/media/libstagefright/include/foundation/
H A DALookup.h28 ALookup(std::initializer_list<std::pair<T, U>> list);
44 ALookup<T, U>::ALookup(std::initializer_list<std::pair<T, U>> list) argument
45 : mTable(list) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
H A DUtils.java23 * Allows lambda iteration over a list. It is done in reverse order so it is safe
26 public static <T> void safeForeach(List<T> list, Consumer<T> c) { argument
27 for (int i = list.size() - 1; i >= 0; i--) {
28 c.accept(list.get(i));
/frameworks/base/tools/aapt2/optimize/
H A DVersionCollapser_test.cpp26 const StringPiece& name, std::initializer_list<std::string> list) {
28 for (const std::string& item : list) {
25 BuildTableWithConfigs( const StringPiece& name, std::initializer_list<std::string> list) argument
/frameworks/base/core/java/android/hardware/camera2/utils/
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...]
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...]
/frameworks/base/core/jni/android/graphics/
H A DFontUtils.h37 ListHelper(JNIEnv* env, jobject list) : mEnv(env), mList(list) {} argument
/frameworks/base/tools/aapt2/util/
H A DImmutableMap.h39 std::initializer_list<std::pair<TKey, TValue>> list) {
41 std::vector<std::pair<TKey, TValue>>(list.begin(), list.end()));
45 std::initializer_list<std::pair<TKey, TValue>> list) {
46 std::vector<std::pair<TKey, TValue>> data(list.begin(), list.end());
38 CreatePreSorted( std::initializer_list<std::pair<TKey, TValue>> list) argument
44 CreateAndSort( std::initializer_list<std::pair<TKey, TValue>> list) argument
/frameworks/compile/libbcc/lib/
H A DRSIsThreadablePass.cpp81 bool isPresent(std::vector<std::string> &list, const std::string &name) { argument
82 auto lower = std::lower_bound(list.begin(),
83 list.end(),
86 if (lower != list.end() && name.compare(*lower) == 0)
H A DRSScreenFunctionsPass.cpp39 bool isPresent(std::vector<std::string> &list, const std::string &name) { argument
40 auto lower = std::lower_bound(list.begin(),
41 list.end(),
44 if (lower != list.end() && name.compare(*lower) == 0)
/frameworks/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/
H A DGenericView.java43 public void setList(List<T> list) { argument
44 mList = list;
/frameworks/native/services/sensorservice/
H A DCorrectedGyroSensor.cpp32 CorrectedGyroSensor::CorrectedGyroSensor(sensor_t const* list, size_t count) argument
35 if (list[i].type == SENSOR_TYPE_GYROSCOPE) {
36 mGyro = Sensor(list + i);
H A DGravitySensor.cpp32 GravitySensor::GravitySensor(sensor_t const* list, size_t count) { argument
34 if (list[i].type == SENSOR_TYPE_ACCELEROMETER) {
35 mAccelerometer = Sensor(list + i);
H A DLinearAccelerationSensor.cpp32 LinearAccelerationSensor::LinearAccelerationSensor(sensor_t const* list, size_t count) : argument
33 mGravitySensor(list, count) {
/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();
/frameworks/av/media/libmedia/omx/1.0/
H A DWOmx.cpp40 status_t LWOmx::listNodes(List<IOMX::ComponentInfo>* list) { argument
43 [&fnStatus, list](
47 list->clear();
49 auto newInfo = list->insert(
50 list->end(), IOMX::ComponentInfo());
/frameworks/base/core/java/android/content/pm/
H A DParceledListSlice.java26 * Transfer a large list of Parcelable objects across an IPC. Splits into
34 public ParceledListSlice(List<T> list) { argument
35 super(list);
49 final List<T> list = getList();
50 for (int i=0; i<list.size(); i++) {
51 contents |= list.get(i).describeContents();
H A DStringParceledListSlice.java26 * Transfer a large list of Parcelable objects across an IPC. Splits into
34 public StringParceledListSlice(List<String> list) { argument
35 super(list);
/frameworks/base/media/java/android/media/
H A DMediaInserter.java58 List<ContentValues> list = rowmap.get(tableUri);
59 if (list == null) {
60 list = new ArrayList<ContentValues>();
61 rowmap.put(tableUri, list);
63 list.add(new ContentValues(values));
64 if (list.size() >= mBufferSizePerUri) {
66 flush(tableUri, list);
73 List<ContentValues> list = mRowMap.get(tableUri);
74 flush(tableUri, list);
81 List<ContentValues> list
87 flush(Uri tableUri, List<ContentValues> list) argument
[all...]
/frameworks/compile/mclinker/include/mcld/ADT/
H A Dilist_sort.h26 assert(xs.size() == size && "Incorrect list size argument");
45 // Split the input linked list.
77 void sort(llvm::iplist<T, Alloc>& list, argument
79 detail::sort(list, list.size(), is_less_than);
/frameworks/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/adapter/
H A DGenericAdapter.java30 public static <T> void setListText(TextView view, List<T> list) { argument
31 setText(view, list);
35 public static <T> void setCollectionText(TextView view, Collection<T> list) { argument
36 setText(view, list);
45 public static <T> void setListAndArray(TextView view, List<T> list, T[] values) { argument
46 setText(view, list);
49 @BindingAdapter("list")
54 @BindingAdapter({"list", "array"})
55 public static <T> void setGenericListAndArray(GenericView<T> view, List<T> list, T[] values) { argument
56 view.setList(list);
60 setGenericList(TextView view, List<String> list) argument
65 setGenericIntegerList(TextView view, List<Integer> list) argument
[all...]
/frameworks/native/services/sensorservice/tests/
H A Dsensorservicetest.cpp67 Sensor const* const* list; local
68 ssize_t count = mgr.getSensorList(&list);
/frameworks/av/media/libstagefright/omx/
H A DOMX.cpp69 status_t OMX::listNodes(List<ComponentInfo> *list) { argument
70 list->clear();
76 list->push_back(ComponentInfo());
77 ComponentInfo &info = *--list->end();
/frameworks/base/core/java/com/android/internal/util/
H A DCollectionUtils.java42 * Returns a list of items from the provided list that match the given condition.
47 public static @NonNull <T> List<T> filter(@Nullable List<T> list, argument
50 for (int i = 0; i < size(list); i++) {
51 final T item = list.get(i);
60 * Returns a list of items resulting from applying the given function to each element of the
61 * provided list.
63 * The resulting list will have the same {@link #size} as the input one.
103 * Returns the given list, or an immutable empty list i
134 filter(@ullable List<?> list, Class<T> c) argument
[all...]

Completed in 408 milliseconds

1234567