Home
last modified time | relevance | path

Searched refs:mCapacity (Results 1 – 9 of 9) sorted by relevance

/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/ticketpool/
DReservableTicketPool.java96 releaseToParent = (mParentTickets.size() == mCapacity); in close()
145 private int mCapacity; field in ReservableTicketPool
152 mCapacity = 0; in ReservableTicketPool()
219 mCapacity += additionalCapacity; in reserveCapacity()
249 if (capacityToRelease > mCapacity) { in releaseCapacity()
250 capacityToRelease = mCapacity; in releaseCapacity()
253 mCapacity -= capacityToRelease; in releaseCapacity()
279 releaseCapacity(mCapacity); in releaseAllCapacity()
339 if (tickets > mCapacity) { in tryAcquireAtomically()
383 if (waiter.getRequestedTicketCount() > mCapacity) { in abortWaitersOnCapacityDecrease()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DFileCache.java56 private long mCapacity; field in FileCache
91 mCapacity = capacity; in FileCache()
110 if (entry.size >= mCapacity) { in store()
125 if (mTotalBytes > mCapacity) freeSomeSpaceIfNeed(MAX_DELETE_COUNT); in store()
211 if (mTotalBytes > mCapacity) freeSomeSpaceIfNeed(MAX_DELETE_COUNT); in initialize()
224 && mTotalBytes > mCapacity && cursor.moveToNext()) { in freeSomeSpaceIfNeed()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DSuggestionResults.java37 private final int mCapacity; field in SuggestionResults
49 mCapacity = capacity; in SuggestionResults()
61 if (size() < mCapacity) return super.add(e); in add()
/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/
DAllocatingImageStream.java36 private final int mCapacity; field in AllocatingImageStream
60 mCapacity = capacity; in AllocatingImageStream()
69 mTicketPool.reserveCapacity(mCapacity); in allocate()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DDownloadCache.java76 private final long mCapacity; field in DownloadCache
84 mCapacity = capacity; in DownloadCache()
159 if (mTotalBytes <= mCapacity) return; in freeSomeSpaceIfNeed()
164 && mTotalBytes > mCapacity && cursor.moveToNext()) { in freeSomeSpaceIfNeed()
220 if (mTotalBytes > mCapacity) freeSomeSpaceIfNeed(MAX_DELETE_COUNT); in initialize()
/packages/modules/DnsResolver/
DDnsQueryLog.h55 : mCapacity(size), mValidityTimeMs(time) {} in mCapacity() function
63 const size_t mCapacity; variable
DDnsStats.cpp100 : mCapacity(size), mStatsData(ipSockAddr) {} in StatsRecords()
106 if (mRecords.size() > mCapacity) { in push()
DDnsStats.h92 size_t mCapacity; variable
DDnsQueryLog.cpp64 if (mQueue.size() > mCapacity) { in push()