Home
last modified time | relevance | path

Searched refs:mGarbage (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/core/java/android/util/
DSparseArray.java54 private boolean mGarbage = false; field in SparseArray
131 mGarbage = true; in delete()
147 mGarbage = true; in removeReturnOld()
170 mGarbage = true; in removeAt()
212 mGarbage = false; in gc()
237 if (mGarbage && mSize >= mKeys.length) { in put()
255 if (mGarbage) { in size()
276 if (mGarbage) { in keyAt()
299 if (mGarbage) { in valueAt()
314 if (mGarbage) { in setValueAt()
[all …]
DLongSparseArray.java54 private boolean mGarbage = false; field in LongSparseArray
131 mGarbage = true; in delete()
149 mGarbage = true; in removeAt()
175 mGarbage = false; in gc()
200 if (mGarbage && mSize >= mKeys.length) { in put()
218 if (mGarbage) { in size()
236 if (mGarbage) { in keyAt()
256 if (mGarbage) { in valueAt()
269 if (mGarbage) { in setValueAt()
282 if (mGarbage) { in indexOfKey()
[all …]
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/util/
DSparseWeakArray.java48 private boolean mGarbage = false; field in SparseWeakArray
99 mGarbage = true; in delete()
117 mGarbage = true; in removeAt()
142 mGarbage = false; in gc()
165 if (mSize >= mKeys.length && (mGarbage || hasReclaimedRefs())) { in put()
183 if (mGarbage) { in size()
196 if (mGarbage) { in keyAt()
209 if (mGarbage) { in valueAt()
222 if (mGarbage) { in setValueAt()
235 if (mGarbage) { in indexOfKey()
[all …]
/frameworks/support/compat/java/android/support/v4/util/
DLongSparseArray.java45 private boolean mGarbage = false; field in LongSparseArray
123 mGarbage = true; in delete()
141 mGarbage = true; in removeAt()
167 mGarbage = false; in gc()
192 if (mGarbage && mSize >= mKeys.length) { in put()
230 if (mGarbage) { in size()
243 if (mGarbage) { in keyAt()
257 if (mGarbage) { in valueAt()
270 if (mGarbage) { in setValueAt()
283 if (mGarbage) { in indexOfKey()
[all …]
DSparseArrayCompat.java25 private boolean mGarbage = false; field in SparseArrayCompat
103 mGarbage = true; in delete()
121 mGarbage = true; in removeAt()
160 mGarbage = false; in gc()
185 if (mGarbage && mSize >= mKeys.length) { in put()
223 if (mGarbage) { in size()
236 if (mGarbage) { in keyAt()
250 if (mGarbage) { in valueAt()
263 if (mGarbage) { in setValueAt()
276 if (mGarbage) { in indexOfKey()
[all …]
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
DPositionMap.java27 private boolean mGarbage = false; field in PositionMap
105 mGarbage = true; in delete()
123 mGarbage = true; in removeAt()
170 mGarbage = false; in gc()
195 if (mGarbage && mSize >= mKeys.length) { in put()
233 if (mGarbage) { in size()
246 if (mGarbage) { in keyAt()
260 if (mGarbage) { in valueAt()
273 if (mGarbage) { in setValueAt()
286 if (mGarbage) { in indexOfKey()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/
DTrackedGarbage.java37 private final HashSet<LeakReference> mGarbage = new HashSet<>(); field in TrackedGarbage
50 mGarbage.add(new LeakReference(o, mRefQueue)); in track()
51 mTrackedCollections.track(mGarbage, "Garbage"); in track()
57 mGarbage.remove(ref); in cleanUp()
91 for (LeakReference ref : mGarbage) { in dump()
115 for (LeakReference ref : mGarbage) { in countOldGarbage()
/frameworks/base/libs/hwui/
DPatchCache.cpp103 size_t count = mGarbage.size(); in removeDeferred()
105 if (patch == mGarbage[i]) { in removeDeferred()
112 mGarbage.push(patch); in removeDeferred()
120 size_t count = mGarbage.size(); in clearGarbage()
122 Res_png_9patch* patch = mGarbage[i]; in clearGarbage()
128 mGarbage.clear(); in clearGarbage()
DPatchCache.h175 Vector<Res_png_9patch*> mGarbage; variable
DPathCache.cpp333 mGarbage.push_back(path->getGenerationID()); in removeDeferred()
341 for (const uint32_t generationID : mGarbage) { in clearGarbage()
350 mGarbage.clear(); in clearGarbage()
DPathCache.h282 std::vector<uint32_t> mGarbage; variable