Searched refs:entries (Results 1 - 25 of 98) sorted by relevance

1234

/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/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/base/core/tests/coretests/src/android/preference/
H A DListPreferenceTest.java24 String[] entries = { "one", "two", "three" };
27 lp.setEntries(entries);
34 assertEquals(entries[1], lp.getSummary());
37 assertEquals(entries[2], lp.getSummary());
43 assertEquals("The color is " + entries[2], lp.getSummary());
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/
H A DAbsSpinnerBindingAdapterTest.java53 CharSequence[] entries = mBindingObject.getEntries();
55 for (int i = 0; i < entries.length; i++) {
56 assertEquals(adapter.getItem(i), entries[i]);
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
H A DChronograph.java41 Set<AlarmEntry> entries = mAlarmEntryMap.get(at);
42 if (entries == null) {
43 entries = new HashSet<AlarmEntry>(1);
44 mAlarmEntryMap.put(at, entries);
46 entries.add(alarmEntry);
61 Set<AlarmEntry> entries = mAlarmEntryMap.get(alarmEntry.mAt);
62 if (entries == null) {
65 if (entries.remove(alarmEntry)) {
86 Iterator<Map.Entry<Long,Set<AlarmEntry>>> entries =
89 while (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/support/v4/java/android/support/v4/content/
H A DLocalBroadcastManager.java144 ArrayList<ReceiverRecord> entries = mActions.get(action);
145 if (entries == null) {
146 entries = new ArrayList<ReceiverRecord>(1);
147 mActions.put(action, entries);
149 entries.add(entry);
215 ArrayList<ReceiverRecord> entries = mActions.get(intent.getAction());
216 if (entries != null) {
217 if (debug) Log.v(TAG, "Action list: " + entries);
220 for (int i=0; i<entries.size(); i++) {
221 ReceiverRecord receiver = entries
[all...]
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/
H A DMarshalQueryableReprocessFormatsMap.java78 int[] entries = new int[len];
81 intBuffer.get(entries);
85 return new ReprocessFormatsMap(entries);
/frameworks/native/opengl/libs/tools/
H A Dgenfiles41 > ../entries.in
43 ./gltracegen ../entries.in >../trace.in
/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/base/tools/aapt2/
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...]
H A DLinker_test.cpp81 style->entries.push_back(Style::Entry{
92 EXPECT_NE(nullptr, dynamic_cast<BinaryPrimitive*>(result->entries.front().value.get()));
97 style->entries.push_back(Style::Entry{
109 style->entries.push_back(Style::Entry{
121 const String* str = dynamic_cast<const String*>(result->entries.front().value.get());
128 style->entries.push_back(Style::Entry{
140 result->entries.front().value.get());
H A DResourceValues.cpp349 for (auto& entry : entries) {
350 style->entries.push_back(Entry{
364 << util::joiner(entries.begin(), entries.end(), ", ")
409 std::copy(entries.begin(), entries.end(), std::back_inserter(styleable->entries));
415 << util::joiner(entries.begin(), entries.end(), ", ")
H A DLinker.cpp62 for (auto& entry : type->entries) {
86 for (auto& entry : type->entries) {
100 for (auto& entry : type->entries) {
244 for (Style::Entry& styleEntry : style.entries) {
263 for (auto& attrRef : styleable.entries) {
/frameworks/base/telephony/java/com/android/ims/
H A DImsConferenceState.java107 Set<Entry<String, Bundle>> entries = mParticipants.entrySet();
109 if (entries != null) {
110 Iterator<Entry<String, Bundle>> iterator = entries.iterator();
/frameworks/base/libs/common_time/
H A Dutils.h50 LogRing(const char* header, size_t entries);
/frameworks/rs/api/
H A Drs_value_types.spec41 Single entries can be accessed by following the variable name with a dot and:<ul>
52 Multiple entries of a vector can be accessed at once by using an identifier that is
54 equal to the number of entries named.
56 With the example above, the middle two entries can be accessed using
59 The entries don't have to be contiguous or in increasing order. Entries can even be
538 A square 2x2 matrix of floats. The entries are stored in the array at the
549 A square 3x3 matrix of floats. The entries are stored in the array at the
560 A square 4x4 matrix of floats. The entries are stored in the array at the
/frameworks/base/core/java/android/preference/
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/test-runner/src/android/test/
H A DClassPathPackageInfoSource.java116 // polite and ignore missing entries.
213 Enumeration<String> apkClassNames = dexFile.entries();
244 * Gets the class and package entries from a Jar.
252 Enumeration<? extends ZipEntry> entries = zipFile.entries();
253 while (entries.hasMoreElements()) {
254 String entryName = entries.nextElement().getName();
/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/base/samples/training/network-usage/src/com/example/android/networkusage/
H A DStackOverflowXmlParser.java29 * Given an InputStream representation of a feed, it returns a List of entries,
50 List<Entry> entries = new ArrayList<Entry>();
60 entries.add(readEntry(parser));
65 return entries;
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/
H A DScene.java220 ArrayList<Renderable> entries = mRenderableMeshMap.get(m.getName());
221 int numEntries = entries.size();
223 Renderable d = entries.get(i);
229 ArrayList<Renderable> entries = mRenderableMeshMap.get(d.mMeshName);
230 if (entries == null) {
231 entries = new ArrayList<Renderable>();
232 mRenderableMeshMap.put(d.mMeshName, entries);
234 entries.add(d);
/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/include/ndk/
H A DNdkMediaExtractor.h144 PsshEntry entries[0]; member in struct:PsshInfo

Completed in 2100 milliseconds

1234