Searched refs:mCapacity (Results 1 – 3 of 3) sorted by relevance
56 private long mCapacity; field in FileCache91 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()
76 private final long mCapacity; field in DownloadCache84 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()
38 private final int mCapacity; field in SuggestionResults49 mCapacity = capacity; in SuggestionResults()60 if (size() < mCapacity) return super.add(e); in add()