Home
last modified time | relevance | path

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

/frameworks/layoutlib/bridge/src/android/content/res/
DResources_Delegate.java78 private static WeakHashMap<Resources, BridgeContext> sContexts = new WeakHashMap<>(); field in Resources_Delegate
93 sContexts.put(resources, Objects.requireNonNull(context)); in initSystem()
102 assert sContexts.containsKey(resources) : in getContext()
104 return sContexts.get(resources); in getContext()
122 sContexts.clear(); in disposeSystem()
138 … (!sContexts.containsKey(resources) || !sLayoutlibCallbacks.containsKey(resources))) { in getResourceInfo()
140 sContexts.put(resources, getContext(Resources.mSystem)); in getResourceInfo()