Searched refs:sCache (Results 1 - 10 of 10) sorted by relevance
/frameworks/base/media/java/android/media/ |
H A D | CameraProfile.java | 47 private static final HashMap<Integer, int[]> sCache = new HashMap<Integer, int[]>(); field in class:CameraProfile 81 synchronized (sCache) { 82 int[] levels = sCache.get(cameraId); 85 sCache.put(cameraId, levels);
|
/frameworks/base/core/java/android/os/ |
H A D | ServiceManager.java | 31 private static HashMap<String, IBinder> sCache = new HashMap<String, IBinder>(); field in class:ServiceManager 51 IBinder service = sCache.get(name); 101 IBinder service = sCache.get(name); 136 if (sCache.size() != 0) { 139 sCache.putAll(cache);
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | TintContextWrapper.java | 38 private static final ArrayList<WeakReference<TintContextWrapper>> sCache = new ArrayList<>(); field in class:TintContextWrapper 43 for (int i = 0, count = sCache.size(); i < count; i++) { 44 final WeakReference<TintContextWrapper> ref = sCache.get(i); 53 sCache.add(new WeakReference<>(wrapper));
|
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/util/ |
H A D | GenerationalClassUtil.java | 48 private static List[] sCache = null; field in class:GenerationalClassUtil 50 if (sCache == null) { 54 return sCache[filter.ordinal()]; 64 sCache = new List[ExtensionFilter.values().length]; 66 sCache[filter.ordinal()] = new ArrayList(); 102 sCache[filter.ordinal()].add(item); 135 sCache[filter.ordinal()].add(item);
|
/frameworks/native/opengl/libs/EGL/ |
H A D | egl_cache.h | 122 // sCache is the singleton egl_cache_t object. 123 static egl_cache_t sCache; member in class:android::egl_cache_t
|
H A D | egl_cache.cpp | 84 egl_cache_t egl_cache_t::sCache; member in class:android::egl_cache_t 87 return &sCache;
|
/frameworks/base/core/java/android/content/res/ |
H A D | ColorStateList.java | 132 private static final SparseArray<WeakReference<ColorStateList>> sCache = new SparseArray<>(); field in class:ColorStateList 165 synchronized (sCache) { 166 final int index = sCache.indexOfKey(color); 168 final ColorStateList cached = sCache.valueAt(index).get(); 174 sCache.removeAt(index); 178 final int N = sCache.size(); 180 if (sCache.valueAt(i).get() == null) { 181 sCache.removeAt(i); 186 sCache.put(color, new WeakReference<>(csl));
|
/frameworks/support/v4/java/android/support/v4/content/ |
H A D | FileProvider.java | 320 // @GuardedBy("sCache") 321 private static HashMap<String, PathStrategy> sCache = new HashMap<String, PathStrategy>(); field in class:FileProvider 531 synchronized (sCache) { 532 strat = sCache.get(authority); 543 sCache.put(authority, strat);
|
/frameworks/base/core/java/com/android/internal/util/ |
H A D | ArrayUtils.java | 41 private static Object[] sCache = new Object[CACHE_SIZE]; field in class:ArrayUtils 117 Object cache = sCache[bucket]; 121 sCache[bucket] = cache;
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | FontFamily_Delegate.java | 73 private static final Map<String, FontInfo> sCache = field in class:FontFamily_Delegate 330 FontInfo fontInfo = sCache.get(path); 333 sCache.put(path, fontInfo);
|
Completed in 303 milliseconds