/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/ |
H A D | AbsSpinnerBindingAdapter.java | 27 @BindingAdapter({"android:entries"}) 28 public static <T extends CharSequence> void setEntries(AbsSpinner view, T[] entries) { argument 29 if (entries != null) { 32 if (oldAdapter != null && oldAdapter.getCount() == entries.length) { 34 for (int i = 0; i < entries.length; i++) { 35 if (!entries[i].equals(oldAdapter.getItem(i))) { 44 android.R.layout.simple_spinner_item, entries); 53 @BindingAdapter({"android:entries"}) 54 public static <T> void setEntries(AbsSpinner view, List<T> entries) { argument 55 if (entries ! [all...] |
/frameworks/base/libs/hwui/ |
H A D | LayerUpdateQueue.h | 45 const std::vector<Entry>& entries() const { return mEntries; } function in class:android::uirenderer::LayerUpdateQueue
|
/frameworks/av/include/ndk/ |
H A D | NdkMediaExtractor.h | 144 PsshEntry entries[0]; member in struct:PsshInfo
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/ |
H A D | armVCM4P2_CheckVLCEscapeMode.c | 82 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/util/jar/ |
H A D | StrictJarManifestReader.java | 33 // but a manifest might have thousands of entries. 58 public void readEntries(Map<String, Attributes> entries, Map<String, StrictJarManifest.Chunk> chunks) throws IOException { argument 66 Attributes entry = entries.get(entryNameValue); 89 entries.put(entryNameValue, entry);
|
H A D | StrictJarManifest.java | 36 * {@code StrictJarFile} and its entries. 48 private final HashMap<String, Attributes> entries; field in class:StrictJarManifest 72 entries = new HashMap<String, Attributes>(); 100 entries = (HashMap<String, Attributes>) ((HashMap<String, Attributes>) man 117 entries.clear(); 141 return entries; 196 im.readEntries(entries, chunks); 267 Iterator<?> entries = manifest.mainAttributes.keySet().iterator(); 268 while (entries.hasNext()) { 269 Attributes.Name name = (Attributes.Name) entries [all...] |
/frameworks/base/core/java/android/content/res/ |
H A D | ThemedResourceCache.java | 67 final LongSparseArray<WeakReference<T>> entries; 69 entries = getUnthemedLocked(true); 71 entries = getThemedLocked(theme, true); 73 if (entries != null) { 74 entries.put(key, new WeakReference<>(entry)); 114 * Prunes cache entries that have been invalidated by a configuration 189 * Prunes cache entries affected by configuration changes or where weak 214 private boolean pruneEntriesLocked(@Nullable LongSparseArray<WeakReference<T>> entries, argument 216 if (entries == null) { 220 for (int i = entries [all...] |
/frameworks/support/v7/preference/src/android/support/v7/preference/ |
H A D | DropDownPreference.java | 66 public void setEntries(@NonNull CharSequence[] entries) { argument 67 super.setEntries(entries);
|
H A D | ListPreferenceDialogFragmentCompat.java | 29 private static final String SAVE_STATE_ENTRIES = "ListPreferenceDialogFragment.entries"; 54 "ListPreference requires an entries array and an entryValues array."); 75 private static void putCharSequenceArray(Bundle out, String key, CharSequence[] entries) { argument 76 final ArrayList<String> stored = new ArrayList<>(entries.length); 78 for (final CharSequence cs : entries) {
|
H A D | ListPreference.java | 30 * A {@link Preference} that displays a list of entries as 36 * @attr name android:entries 86 * Sets the human-readable entries to be shown in the list. This will be 92 * @param entries The entries. 95 public void setEntries(CharSequence[] entries) { argument 96 mEntries = entries; 101 * @param entriesResId The entries array as a resource. 108 * The list of entries to be shown in the list in subsequent dialogs. 118 * entries i [all...] |
/frameworks/base/libs/common_time/ |
H A D | utils.cpp | 52 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 D | ResourceTable.h | 118 * Represents a resource type, which holds entries defined 142 std::vector<std::unique_ptr<ResourceEntry>> entries; member in class:aapt::ResourceTableType
|
H A D | ResourceValues.h | 291 std::vector<Entry> entries; member in struct:aapt::Style 322 std::vector<Reference> entries; member in struct:aapt::Styleable
|
/frameworks/base/core/java/android/content/ |
H A D | RestrictionsManager.java | 79 * 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 D | ListPreference.java | 30 * 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 D | MultiCheckPreference.java | 32 * 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 D | MultiSelectListPreference.java | 32 * 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 D | Package.cpp | 138 * 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++) {
|
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/ |
H A D | AsmGenerator.java | 190 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 D | MultiSelectListPreference.java | 36 * A {@link android.support.v7.preference.Preference} that displays a list of entries as 43 * @attr name android:entries 141 * Sets the human-readable entries to be shown in the list. This will be 147 * @param entries The entries. 150 public void setEntries(CharSequence[] entries) { argument 151 mEntries = entries; 156 * @param entriesResId The entries array as a resource. 163 * The list of entries to be shown in the list in subsequent dialogs. 173 * entries i [all...] |
/frameworks/support/v17/preference-leanback/src/android/support/v17/preference/ |
H A D | LeanbackListPreferenceDialogFragment.java | 107 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; 183 public AdapterMulti(CharSequence[] entries, CharSequence[] entryValues, argument 185 mEntries = entries;
|
/frameworks/base/tools/aapt2/flatten/ |
H A D | TableFlattener.cpp | 116 std::sort(style->entries.begin(), style->entries.end(), cmpStyleEntries); 118 for (Style::Entry& entry : style->entries) { 124 for (auto& attrRef : styleable->entries) { 303 std::vector<FlatEntry>* entries, BigBuffer* buffer) { 314 // Find the largest entry ID. That is how many entries we will have. 316 std::accumulate(type->entries.begin(), type->entries.end(), 0, maxAccum) + 1; 327 for (FlatEntry& flatEntry : *entries) { 361 // Sort the entries b 302 flattenConfig(const ResourceTableType* type, const ConfigDescription& config, std::vector<FlatEntry>* entries, BigBuffer* buffer) argument [all...] |
/frameworks/rs/api/ |
H A D | GenerateDocumentation.cpp | 147 * 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(); 562 map<string, DetailedFunctionEntry> entries; local 563 if (!getUnifiedFunctionPrototypes(function, &entries)) { 567 for (auto i : entries) { 152 getUnifiedFunctionPrototypes(Function* function, map<string, DetailedFunctionEntry>* entries) argument [all...] |
/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/store/ |
H A D | ResourceBundle.java | 740 public List<NameTypeLocation> entries; field in class:ResourceBundle.MarshalledMapType
|
/frameworks/opt/chips/src/com/android/ex/chips/ |
H A D | BaseRecipientAdapter.java | 80 * The number of extra entries requested to allow for duplicates. Duplicates 193 public final List<RecipientEntry> entries; field in class:BaseRecipientAdapter.DefaultFilterResult 199 public DefaultFilterResult(List<RecipientEntry> entries, argument 204 this.entries = entries; 290 final List<RecipientEntry> entries = constructEntryList( 297 entries, entryMap, nonAggregatedEntries, 299 results.count = entries.size(); 321 cacheCurrentEntriesIfNeeded(defaultFilterResult.entries.size(), 325 updateEntries(defaultFilterResult.entries); 889 onChanged(List<RecipientEntry> entries) argument [all...] |