Home
last modified time | relevance | path

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

/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/
DBridge.java427 public void clearResourceCaches(Object projectKey) { in clearResourceCaches() argument
428 if (projectKey != null) { in clearResourceCaches()
429 sProjectBitmapCache.remove(projectKey); in clearResourceCaches()
430 sProject9PatchCache.remove(projectKey); in clearResourceCaches()
435 public void clearAllCaches(Object projectKey) { in clearAllCaches() argument
436 clearResourceCaches(projectKey); in clearAllCaches()
591 public static Bitmap getCachedBitmap(String value, Object projectKey) { in getCachedBitmap() argument
592 if (projectKey != null) { in getCachedBitmap()
593 Map<String, SoftReference<Bitmap>> map = sProjectBitmapCache.get(projectKey); in getCachedBitmap()
616 public static void setCachedBitmap(String value, Bitmap bmp, Object projectKey) { in setCachedBitmap() argument
[all …]
/frameworks/layoutlib/remote/server/src/com/android/layoutlib/bridge/remote/server/
DRemoteBridgeImpl.java97 String projectKey = mCachedProjectKeys.putIfAbsent(remoteParams.getProjectKey(), in createSession() local
103 remoteParams.getRenderingMode(), projectKey, in createSession()
121 String projectKey = mCachedProjectKeys.putIfAbsent(remoteParams.getProjectKey(), in renderDrawable() local
126 projectKey, in renderDrawable()
140 public void clearResourceCaches(String projectKey) { in clearResourceCaches() argument
141 mCachedProjectKeys.remove(projectKey); in clearResourceCaches()
142 mBridge.clearResourceCaches(projectKey); in clearResourceCaches()
/frameworks/layoutlib/remote/common/src/com/android/layout/remote/api/
DRemoteBridge.java94 void clearResourceCaches(String projectKey) throws RemoteException; in clearResourceCaches() argument
/frameworks/layoutlib/remote/client/src/com/android/layoutlib/bridge/remote/client/
DRemoteBridgeClient.java102 public void clearResourceCaches(Object projectKey) { in clearResourceCaches() argument
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgeContext.java223 public BridgeContext(Object projectKey, @NonNull DisplayMetrics metrics, in BridgeContext() argument
232 mProjectKey = projectKey; in BridgeContext()