Searched defs:sCache (Results 1 - 10 of 10) sorted by relevance

/frameworks/native/opengl/libs/EGL/
H A Degl_cache.h124 // sCache is the singleton egl_cache_t object.
125 static egl_cache_t sCache; member in class:android::egl_cache_t
H A Degl_cache.cpp80 egl_cache_t egl_cache_t::sCache; member in class:android::egl_cache_t
83 return &sCache;
/frameworks/base/media/java/android/media/
H A DCameraProfile.java47 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 DServiceManager.java31 private static HashMap<String, IBinder> sCache = new HashMap<String, IBinder>(); field in class:ServiceManager
52 IBinder service = sCache.get(name);
117 IBinder service = sCache.get(name);
152 if (sCache.size() != 0) {
155 sCache.putAll(cache);
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DTintContextWrapper.java42 private static ArrayList<WeakReference<TintContextWrapper>> sCache; field in class:TintContextWrapper
47 if (sCache == null) {
48 sCache = new ArrayList<>();
51 for (int i = sCache.size() - 1; i >= 0; i--) {
52 final WeakReference<TintContextWrapper> ref = sCache.get(i);
54 sCache.remove(i);
58 for (int i = sCache.size() - 1; i >= 0; i--) {
59 final WeakReference<TintContextWrapper> ref = sCache.get(i);
69 sCache.add(new WeakReference<>(wrapper));
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/util/
H A DGenerationalClassUtil.java48 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/base/core/java/android/content/res/
H A DColorStateList.java132 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/base/core/java/com/android/internal/util/
H A DArrayUtils.java41 private static Object[] sCache = new Object[CACHE_SIZE]; field in class:ArrayUtils
117 Object cache = sCache[bucket];
121 sCache[bucket] = cache;
/frameworks/support/core-utils/java/android/support/v4/content/
H A DFileProvider.java343 @GuardedBy("sCache")
344 private static HashMap<String, PathStrategy> sCache = new HashMap<String, PathStrategy>(); field in class:FileProvider
554 synchronized (sCache) {
555 strat = sCache.get(authority);
566 sCache.put(authority, strat);
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DFontFamily_Delegate.java76 private static final Map<String, FontInfo> sCache = field in class:FontFamily_Delegate
350 FontInfo fontInfo = sCache.get(path);
353 sCache.put(path, fontInfo);

Completed in 5941 milliseconds