Searched defs:entries (Results 1 - 25 of 45) sorted by relevance

12

/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/
H A DAbsSpinnerBindingAdapter.java25 @BindingAdapter({"android:entries"})
26 public static void setEntries(AbsSpinner view, CharSequence[] entries) { argument
27 if (entries != null) {
30 if (oldAdapter != null && oldAdapter.getCount() == entries.length) {
32 for (int i = 0; i < entries.length; i++) {
33 if (!entries[i].equals(oldAdapter.getItem(i))) {
42 android.R.layout.simple_spinner_item, entries);
/frameworks/av/include/ndk/
H A DNdkMediaExtractor.h144 PsshEntry entries[0]; member in struct:PsshInfo
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/
H A DarmVCM4P2_CheckVLCEscapeMode.c82 OMX_U8 escape = 0, fMode = 0, entries; local
91 entries = pRunIndexTable[run + 1]
95 entries = 1;
97 if (level > entries)
119 entries = pRunIndexTable[run + 1]
123 entries = 1;
125 if (levelPlus > entries)
144 entries = pRunIndexTable[runPlus + 1]
148 entries = 1;
150 if (level > entries)
[all...]
/frameworks/base/core/java/android/content/res/
H A DThemedResourceCache.java66 final LongSparseArray<WeakReference<T>> entries;
68 entries = getUnthemedLocked(true);
70 entries = getThemedLocked(theme, true);
72 if (entries != null) {
73 entries.put(key, new WeakReference<>(entry));
113 * Prunes cache entries that have been invalidated by a configuration
188 * Prunes cache entries affected by configuration changes or where weak
213 private boolean pruneEntriesLocked(@Nullable LongSparseArray<WeakReference<T>> entries, argument
215 if (entries == null) {
219 for (int i = entries
[all...]
/frameworks/av/media/libmedia/
H A DMemoryLeakTrackUtil.cpp104 AllocEntry * entries = new AllocEntry[count]; local
108 AllocEntry *e = &entries[i];
120 // Now we need to sort the entries. They come sorted by size but
126 AllocEntry *e1 = &entries[i];
127 AllocEntry *e2 = &entries[i+1];
140 AllocEntry t = entries[i];
141 entries[i] = entries[i+1];
142 entries[i+1] = t;
152 AllocEntry *e = &entries[
[all...]
/frameworks/base/libs/common_time/
H A Dutils.cpp52 LogRing::LogRing(const char* header, size_t entries) argument
53 : mSize(entries)
59 ALOGE("Failed to allocate log ring with %zu entries.", mSize);
/frameworks/base/tools/aapt2/
H A DResourceTable.h89 * Represents a resource type, which holds entries defined
116 std::vector<std::unique_ptr<ResourceEntry>> entries; member in struct:aapt::ResourceTableType
H A DResourceValues.h243 std::vector<Entry> entries; member in struct:aapt::Style
274 std::vector<Reference> entries; member in struct:aapt::Styleable
H A DTableFlattener.cpp126 // First sort the entries by ID.
128 for (const auto& styleEntry : style.entries) {
153 for (const auto& attr : styleable.entries) {
344 spec->header.size = spec->header.headerSize + (type->entries.size() * sizeof(uint32_t));
346 spec->entryCount = type->entries.size();
348 if (type->entries.empty()) {
354 uint32_t* configMasks = typeBlock.nextBlock<uint32_t>(type->entries.size());
356 // Sort the entries by entry ID and write their configuration masks.
357 std::vector<ResourceEntry*> entries; local
358 const size_t entryCount = type->entries
[all...]
/frameworks/base/core/java/android/content/
H A DRestrictionsManager.java79 * android:entries="string-array resource"
94 * <li><code>entries</code> and <code>entryValues</code> are required if <code>restrictionType
604 int entries = a.getResourceId(R.styleable.RestrictionEntry_entries, 0);
620 if (entries != 0) {
621 restriction.setChoiceEntries(appContext, entries);
662 + " can only contain entries of type bundle");
689 * @param entries list of restrictions
691 public static Bundle convertRestrictionsToBundle(List<RestrictionEntry> entries) { argument
693 for (RestrictionEntry entry : entries) {
/frameworks/base/core/java/android/preference/
H A DListPreference.java30 * A {@link Preference} that displays a list of entries as
78 * Sets the human-readable entries to be shown in the list. This will be
84 * @param entries The entries.
87 public void setEntries(CharSequence[] entries) { argument
88 mEntries = entries;
93 * @param entriesResId The entries array as a resource.
100 * The list of entries to be shown in the list in subsequent dialogs.
110 * entries is selected. If a user clicks on the second item in entries, th
[all...]
H A DMultiCheckPreference.java32 * A {@link Preference} that displays a list of entries as
81 * Sets the human-readable entries to be shown in the list. This will be
87 * @param entries The entries.
90 public void setEntries(CharSequence[] entries) { argument
91 mEntries = entries;
92 mSetValues = new boolean[entries.length];
93 mOrigValues = new boolean[entries.length];
98 * @param entriesResId The entries array as a resource.
105 * The list of entries t
[all...]
H A DMultiSelectListPreference.java32 * A {@link Preference} that displays a list of entries as
74 * Sets the human-readable entries to be shown in the list. This will be
80 * @param entries The entries.
83 public void setEntries(CharSequence[] entries) { argument
84 mEntries = entries;
89 * @param entriesResId The entries array as a resource.
96 * The list of entries to be shown in the list in subsequent dialogs.
106 * entries is selected. If a user clicks on the second item in entries, th
[all...]
/frameworks/base/tools/aapt/
H A DPackage.cpp138 * Check for cruft. We set the "marked" flag on all entries we created
221 const std::set<OutputEntry>& entries = outputSet->getEntries(); local
222 std::set<OutputEntry>::const_iterator iter = entries.begin();
223 for (; iter != entries.end(); iter++) {
H A DAaptAssets.cpp1220 SortedVector<AaptGroupEntry> entries; local
1253 if (entries.indexOf(kind) < 0) {
1254 entries.add(kind);
1372 // containing no entries.
1409 // containing no entries.
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/
H A DAsmGenerator.java190 private void addToMap(String[] entries, Map<String, Set<String>> map) { argument
191 for (String entry : entries) {
/frameworks/support/v14/preference/src/android/support/v14/preference/
H A DMultiSelectListPreference.java36 * A {@link android.support.v7.preference.Preference} that displays a list of entries as
139 * Sets the human-readable entries to be shown in the list. This will be
145 * @param entries The entries.
148 public void setEntries(CharSequence[] entries) { argument
149 mEntries = entries;
154 * @param entriesResId The entries array as a resource.
161 * The list of entries to be shown in the list in subsequent dialogs.
171 * entries is selected. If a user clicks on the second item in entries, th
[all...]
/frameworks/support/v17/preference-leanback/src/android/support/v17/preference/
H A DLeanbackListPreferenceDialogFragment.java107 final CharSequence[] entries = pref.getEntries();
110 return new AdapterMulti(entries, entryValues, initialSelections);
113 final CharSequence[] entries = pref.getEntries();
116 return new AdapterSingle(entries, entryValues, initialSelection);
129 public AdapterSingle(CharSequence[] entries, CharSequence[] entryValues, argument
131 mEntries = entries;
173 public AdapterMulti(CharSequence[] entries, CharSequence[] entryValues, argument
175 mEntries = entries;
/frameworks/support/v7/preference/src/android/support/v7/preference/
H A DListPreference.java30 * A {@link Preference} that displays a list of entries as
85 * Sets the human-readable entries to be shown in the list. This will be
91 * @param entries The entries.
94 public void setEntries(CharSequence[] entries) { argument
95 mEntries = entries;
100 * @param entriesResId The entries array as a resource.
107 * The list of entries to be shown in the list in subsequent dialogs.
117 * entries is selected. If a user clicks on the second item in entries, th
[all...]
/frameworks/rs/api/
H A DGenerateDocumentation.cpp147 * declaration. We need to unify these so that we don't end up with entries
153 map<string, DetailedFunctionEntry>* entries) {
160 auto i = entries->find(s);
161 if (i == entries->end()) {
162 entries->insert(pair<string, DetailedFunctionEntry>(s, entry));
272 static void writeSummaryTable(GeneratedFile* file, const ostringstream* entries, const char* name, argument
274 string s = entries->str();
551 map<string, DetailedFunctionEntry> entries; local
552 if (!getUnifiedFunctionPrototypes(function, &entries)) {
556 for (auto i : entries) {
152 getUnifiedFunctionPrototypes(Function* function, map<string, DetailedFunctionEntry>* entries) argument
[all...]
H A DSpecification.cpp71 vector<string> entries; local
76 entries.push_back(entry);
85 for (auto i = entries.begin(); i != entries.end(); ++i) {
88 entries.erase(i);
95 for (auto s : entries) {
258 scanner->error() << "deprecated entries should have a level > 0\n";
/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/store/
H A DResourceBundle.java660 public List<NameTypeLocation> entries; field in class:ResourceBundle.MarshalledMapType
/frameworks/opt/chips/src/com/android/ex/chips/
H A DBaseRecipientAdapter.java68 * The number of extra entries requested to allow for duplicates. Duplicates
181 public final List<RecipientEntry> entries; field in class:BaseRecipientAdapter.DefaultFilterResult
187 public DefaultFilterResult(List<RecipientEntry> entries, argument
192 this.entries = entries;
250 final List<RecipientEntry> entries = constructEntryList(
257 entries, entryMap, nonAggregatedEntries,
259 results.count = entries.size();
284 cacheCurrentEntriesIfNeeded(defaultFilterResult.entries.size(),
288 updateEntries(defaultFilterResult.entries);
811 onChanged(List<RecipientEntry> entries) argument
[all...]
/frameworks/av/services/camera/libcameraservice/device2/
H A DCamera2Device.cpp728 size_t entries = get_camera_metadata_entry_count(*slotEntry); local
732 allocate_camera_metadata(entries, dataBytes);
876 result.appendFormat(" Stream slot: %zu entries\n",
891 result = String8::format(" Main queue has %zu entries:\n",
979 size_t entries, size_t bytes,
984 allocate_camera_metadata(entries, bytes);
977 producer_dequeue( const camera2_frame_queue_dst_ops_t * , size_t entries, size_t bytes, camera_metadata_t **buffer) argument
/frameworks/base/core/java/android/app/
H A DAppOpsManager.java1050 public PackageOps(String packageName, int uid, List<OpEntry> entries) { argument
1053 mEntries = entries;

Completed in 1687 milliseconds

12