a460c1871e594b8fc68f41f2694c04dd619032c5 |
|
16-Mar-2011 |
Jesse Wilson <jessewilson@google.com> |
Fix a bogus comment on LruCache.hitCount() Change-Id: I219b65bd73b85a414c21d4c4abe59296c9c5945a
/frameworks/base/core/java/android/util/LruCache.java
|
c4e6209c5294da5cbca75eafd0ba5d4c3ed9a5b1 |
|
26-Feb-2011 |
Jesse Wilson <jessewilson@google.com> |
Remove deprecated and unused entryEvicted method. Change-Id: Id2ac0913968099eb0c8dfa762b87082ba6bd9cd9 http://b/3461302
/frameworks/base/core/java/android/util/LruCache.java
|
7db1b40a03ff04ac8b49b3b53839b3c5d1c6f16a |
|
26-Feb-2011 |
Jesse Wilson <jessewilson@google.com> |
Callback on any removal, not just evictions. Don't hold locks while running create or remove callbacks. That gets a bit ugly because it means a create could be unwanted by the time it returns. Change-Id: I14b2b3ed41a446750f8ee5a7e35cb8d801c4ce6d http://b/3461302
/frameworks/base/core/java/android/util/LruCache.java
|
56b6ad3e28f9f86fb3186c96ddd8754e190afdf0 |
|
11-Feb-2011 |
Jesse Wilson <jessewilson@google.com> |
Add a new method, LruCache.remove Change-Id: Iae78a2ed4d719d4f14a4677ecb6fe5bc823bb660 http://b/3184897
/frameworks/base/core/java/android/util/LruCache.java
|
dfe515e49ae8a0275012b56a4a79d2dfcc017db2 |
|
11-Feb-2011 |
Jesse Wilson <jessewilson@google.com> |
Remove LruCache.setMaxSize(). Dynamically changing a max cache size is clumsy; almost everyone should set this when they create the cache. Fix SQLiteDatabase to copy entries into a new cache when the size is changed. In pratice this will always be immediately after the SQLiteDatabase is created. Since the cache field is no longer final, change the guard on the cache field to the SQLiteDatabase instance itself. Change-Id: I4e325f06edc551636723568a52770c0982e2d945
/frameworks/base/core/java/android/util/LruCache.java
|
c2c9a2492cc99e20d23d2d92df061f35a8b14304 |
|
11-Feb-2011 |
Jesse Wilson <jessewilson@google.com> |
Don't add setMaxSize() to the LruCache API. But do add maxSize(). Change-Id: I9697ab29491dabe85c2400defdde16b9abcd003a
/frameworks/base/core/java/android/util/LruCache.java
|
9b5a93550f3853b229ae9cfb5f6cf33091478023 |
|
10-Feb-2011 |
Jesse Wilson <jessewilson@google.com> |
Adopt LRU cache in SQLite. Change-Id: I6b43dd8843d41726254bea3a175fe28f5f061ed7 http://b/3184897
/frameworks/base/core/java/android/util/LruCache.java
|
34895b09db3679c7d4e80d21198847d316e6b0c3 |
|
10-Feb-2011 |
Jesse Wilson <jessewilson@google.com> |
Document that LruCache is threadsafe. Change-Id: Iae1421b8c768000e56806f6cd74aef7c69a78973 http://b/3184897
/frameworks/base/core/java/android/util/LruCache.java
|
543146a82b87b33973743cbd1880e899ebba30f5 |
|
08-Feb-2011 |
Jesse Wilson <jessewilson@google.com> |
Remove @Override that chokes Doclava. Change-Id: I160aa2209d148c48f4ab8f4dc42ab77d300919de
/frameworks/base/core/java/android/util/LruCache.java
|
e2c1f4a0ee026e7a2a15d198dc3be4529896e9f6 |
|
07-Feb-2011 |
Jesse Wilson <jessewilson@google.com> |
New LRU cache class. Change-Id: I0e6ea1e489c684b876aebd5857c6f16a21048a8d http://b/3184897
/frameworks/base/core/java/android/util/LruCache.java
|