Home
last modified time | relevance | path

Searched refs:mEntries (Results 1 – 25 of 27) sorted by relevance

12

/frameworks/rs/driver/
DrsdShaderCache.cpp32 mEntries.setCapacity(16); in RsdShaderCache()
119 uint32_t entryCount = mEntries.size(); in link()
121 if ((mEntries[ct]->vtx == vID) && (mEntries[ct]->frag == fID)) { in link()
124 glUseProgram(mEntries[ct]->program); in link()
125 mCurrent = mEntries[ct]; in link()
135 mEntries.push(e); in link()
241 int32_t numEntries = (int32_t)mEntries.size(); in cleanupVertex()
246 if (mEntries[ct]->vtx == id) { in cleanupVertex()
247 glDeleteProgram(mEntries[ct]->program); in cleanupVertex()
249 delete mEntries[ct]; in cleanupVertex()
[all …]
DrsdShaderCache.h146 android::Vector<ProgramEntry*> mEntries; variable
/frameworks/av/media/img_utils/src/
DTiffIfd.cpp35 size_t size = mEntries.size(); in addEntry()
42 if (mEntries.add(entry) < 0) { in addEntry()
51 ssize_t index = mEntries.indexOfTag(tag); in getEntry()
56 return mEntries[index]; in getEntry()
60 ssize_t index = mEntries.indexOfTag(tag); in removeEntry()
62 mEntries.removeAt(index); in removeEntry()
76 size_t size = mEntries.size(); in checkAndGetOffset()
111 size_t size = mEntries.size(); in writeData()
119 BAIL_ON_FAIL(mEntries[i]->writeTagInfo(valueOffset, out), ret); in writeData()
120 valueOffset += mEntries[i]->getSize(); in writeData()
[all …]
/frameworks/base/libs/hwui/
DAssetAtlas.cpp73 for (size_t i = 0; i < mEntries.size(); i++) { in updateTextureId()
74 AssetAtlas::Entry* entry = mEntries.valueAt(i); in updateTextureId()
84 ssize_t index = mEntries.indexOfKey(bitmap); in getEntry()
85 return index >= 0 ? mEntries.valueAt(index) : NULL; in getEntry()
89 ssize_t index = mEntries.indexOfKey(bitmap); in getEntryTexture()
90 return index >= 0 ? mEntries.valueAt(index)->texture : NULL; in getEntryTexture()
147 mEntries.add(entry->bitmap, entry); in createEntries()
DAssetAtlas.h181 KeyedVector<const SkBitmap*, Entry*> mEntries; variable
/frameworks/base/core/java/android/net/http/
DIdleCache.java46 private Entry[] mEntries = new Entry[IDLE_CACHE_MAX]; field in IdleCache
58 mEntries[i] = new Entry(); in IdleCache()
78 Entry entry = mEntries[i]; in cacheConnection()
102 Entry entry = mEntries[i]; in getConnection()
119 Entry entry = mEntries[i]; in clear()
133 Entry entry = mEntries[i]; in clearIdle()
/frameworks/base/tools/aapt/
DStringPool.cpp146 eidx = mEntries.add(entry(value)); in add()
154 entry& ent = mEntries.editItemAt(eidx); in add()
166 entry& ent = mEntries.editItemAt(eidx); in add()
192 entry& ent = mEntries.editItemAt(eidx); in add()
233 mEntries.editItemAt(mEntryArray[idx]).hasStyles = true; in addStyleSpan()
240 const entry& lhe = pool->mEntries[pool->mEntryArray[*static_cast<const size_t*>(lhs)]]; in config_sort()
241 const entry& rhe = pool->mEntries[pool->mEntryArray[*static_cast<const size_t*>(rhs)]]; in config_sort()
282 mEntries[mEntryArray[newPosToOriginalPos[i]]].makeConfigsString().string()); in sortByConfig()
283 entries.add(mEntries[mEntryArray[i]]); in sortByConfig()
303 const entry& oldEnt = mEntries[mEntryArray[oldI]]; in sortByConfig()
[all …]
DZipFile.cpp137 if (idx < 0 || idx >= (int) mEntries.size()) in getEntryByIndex()
140 return mEntries[idx]; in getEntryByIndex()
160 for (idx = mEntries.size()-1; idx >= 0; idx--) { in getEntryByName()
161 ZipEntry* pEntry = mEntries[idx]; in getEntryByName()
177 int count = mEntries.size(); in discardEntries()
180 delete mEntries[count]; in discardEntries()
182 mEntries.clear(); in discardEntries()
318 mEntries.add(pEntry); in readCentralDir()
377 assert(mEntries.size() == mEOCD.mTotalNumEntries); in addCommon()
520 mEntries.add(pEntry); in addCommon()
[all …]
DZipFile.h164 int getNumEntries(void) const { return mEntries.size(); } in getNumEntries()
265 Vector<ZipEntry*> mEntries; variable
DStringPool.h154 Vector<entry> mEntries; variable
DResourceTable.h413 mEntries.add(config, entry); in addEntry()
416 … const DefaultKeyedVector<ConfigDescription, sp<Entry> >& getEntries() const { return mEntries; } in getEntries()
425 DefaultKeyedVector<ConfigDescription, sp<Entry> > mEntries; variable
/frameworks/base/services/core/java/com/android/server/wm/
DDisplaySettings.java44 private final HashMap<String, Entry> mEntries = new HashMap<String, Entry>(); field in DisplaySettings
68 if (uniqueId == null || (entry = mEntries.get(uniqueId)) == null) { in getOverscanLocked()
69 entry = mEntries.get(name); in getOverscanLocked()
85 mEntries.remove(name); in setOverscanLocked()
88 Entry entry = mEntries.get(name); in setOverscanLocked()
91 mEntries.put(name, entry); in setOverscanLocked()
153 mEntries.clear(); in readSettingsLocked()
180 mEntries.put(name, entry); in readDisplay()
200 for (Entry entry : mEntries.values()) { in writeSettingsLocked()
/frameworks/base/core/java/android/preference/
DMultiCheckPreference.java38 private CharSequence[] mEntries; field in MultiCheckPreference
50 mEntries = a.getTextArray(com.android.internal.R.styleable.ListPreference_entries); in MultiCheckPreference()
51 if (mEntries != null) { in MultiCheckPreference()
52 setEntries(mEntries); in MultiCheckPreference()
90 mEntries = entries; in setEntries()
109 return mEntries; in getEntries()
244 if (mEntries == null || mEntryValues == null) { in onPrepareDialogBuilder()
250 builder.setMultiChoiceItems(mEntries, mSetValues, in onPrepareDialogBuilder()
DListPreference.java39 private CharSequence[] mEntries; field in ListPreference
51 mEntries = a.getTextArray(com.android.internal.R.styleable.ListPreference_entries); in ListPreference()
87 mEntries = entries; in setEntries()
104 return mEntries; in getEntries()
219 return index >= 0 && mEntries != null ? mEntries[index] : null; in getEntry()
247 if (mEntries == null || mEntryValues == null) { in onPrepareDialogBuilder()
253 builder.setSingleChoiceItems(mEntries, mClickedDialogEntryIndex, in onPrepareDialogBuilder()
DMultiSelectListPreference.java42 private CharSequence[] mEntries; field in MultiSelectListPreference
55mEntries = a.getTextArray(com.android.internal.R.styleable.MultiSelectListPreference_entries); in MultiSelectListPreference()
83 mEntries = entries; in setEntries()
100 return mEntries; in getEntries()
172 if (mEntries == null || mEntryValues == null) { in onPrepareDialogBuilder()
179 builder.setMultiChoiceItems(mEntries, checkedItems, in onPrepareDialogBuilder()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationData.java92 private final ArrayMap<String, Entry> mEntries = new ArrayMap<>(); field in NotificationData
160 return mEntries.get(key); in get()
164 mEntries.put(entry.notification.getKey(), entry); in add()
169 Entry removed = mEntries.remove(key); in remove()
208 final int N = mEntries.size(); in filterAndSort()
210 Entry entry = mEntries.valueAt(i); in filterAndSort()
292 int M = mEntries.size(); in dump()
297 Entry entry = mEntries.valueAt(i); in dump()
/frameworks/base/core/java/android/net/
DUrlQuerySanitizer.java91 final private HashMap<String, String> mEntries = field in UrlQuerySanitizer
643 return mEntries.keySet(); in getParameterSet()
662 return mEntries.containsKey(parameter); in hasParameter()
674 return mEntries.get(parameter); in getValue()
794 if (mEntries.containsKey(parameter)) { in addSanitizedEntry()
798 mEntries.put(parameter, value); in addSanitizedEntry()
910 mEntries.clear(); in clear()
/frameworks/volley/src/com/android/volley/toolbox/
DDiskBasedCache.java45 private final Map<String, CacheHeader> mEntries = field in DiskBasedCache
96 mEntries.clear(); in clear()
106 CacheHeader entry = mEntries.get(key); in get()
266 Iterator<Map.Entry<String, CacheHeader>> iterator = mEntries.entrySet().iterator(); in pruneIfNeeded()
297 if (!mEntries.containsKey(key)) { in putEntry()
300 CacheHeader oldEntry = mEntries.get(key); in putEntry()
303 mEntries.put(key, entry); in putEntry()
310 CacheHeader entry = mEntries.get(key); in removeEntry()
313 mEntries.remove(key); in removeEntry()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiWatchdogStateMachine.java1028 private VolumeWeightedEMA[] mEntries; field in WifiWatchdogStateMachine.BssidStatistics
1056 mEntries = new VolumeWeightedEMA[mEntriesSize]; in BssidStatistics()
1058 mEntries[i] = new VolumeWeightedEMA(EXP_COEFFICIENT_RECORD); in BssidStatistics()
1072 mEntries[index].update(value, volume); in updateLoss()
1075 logd("Cache updated: loss[" + rssi + "]=" + df.format(mEntries[index].mValue * 100) in updateLoss()
1076 + "% volume=" + df.format(mEntries[index].mVolume)); in updateLoss()
1178 if (i >= 0 && i < mEntriesSize && mEntries[i].mVolume > 1.0) { in findRssiTarget()
1180 if (mEntries[i].mValue < threshold) { in findRssiTarget()
1187 + df.format(mEntries[i].mValue * 100) + "% volume=" in findRssiTarget()
1188 + df.format(mEntries[i].mVolume)); in findRssiTarget()
/frameworks/base/core/java/android/app/
DAppOpsManager.java797 private final List<OpEntry> mEntries; field in AppOpsManager.PackageOps
802 mEntries = entries; in PackageOps()
814 return mEntries; in getOps()
826 dest.writeInt(mEntries.size()); in writeToParcel()
827 for (int i=0; i<mEntries.size(); i++) { in writeToParcel()
828 mEntries.get(i).writeToParcel(dest, flags); in writeToParcel()
835 mEntries = new ArrayList<OpEntry>(); in PackageOps()
838 mEntries.add(OpEntry.CREATOR.createFromParcel(source)); in PackageOps()
/frameworks/av/services/camera/libcameraservice/device2/
DCamera2Device.cpp679 mEntries.push_back(buf); in enqueue()
720 mEntries.push_back(copy); in dequeue()
725 camera_metadata_t *b = *(mEntries.begin()); in dequeue()
726 mEntries.erase(mEntries.begin()); in dequeue()
843 freeBuffers(mEntries.begin(), mEntries.end()); in clear()
873 if (mEntries.size() == 0) { in dump()
878 mEntries.size()); in dump()
880 for (List<camera_metadata_t*>::iterator r = mEntries.begin(); in dump()
881 r != mEntries.end(); r++) { in dump()
/frameworks/av/media/img_utils/include/img_utils/
DTiffIfd.h157 SortedEntryVector mEntries; variable
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/
DVCardEntryTests.java59 private List<VCardEntry> mEntries = new ArrayList<VCardEntry>(); field in VCardEntryTests.MockVCardEntryHandler
73 mEntries.add(entry); in onEntryCreated()
84 return mEntries; in getEntries()
/frameworks/opt/chips/src/com/android/ex/chips/
DBaseRecipientAdapter.java473 private List<RecipientEntry> mEntries; field in BaseRecipientAdapter
816 mEntries = newEntries; in updateEntries()
822 mTempEntries = mEntries; in cacheCurrentEntries()
830 return mTempEntries != null ? mTempEntries : mEntries; in getEntries()
/frameworks/base/include/androidfw/
DResourceTypes.h525 const uint32_t* mEntries; variable
1496 return mEntries; in entries()
1502 KeyedVector<String16, uint8_t> mEntries; variable

12