Home
last modified time | relevance | path

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

/frameworks/layoutlib/remote/server/src/com/android/layoutlib/bridge/remote/server/
DRemoteBridgeImpl.java111 String projectKey = mCachedProjectKeys.putIfAbsent(remoteParams.getProjectKey(), in createSession() local
117 remoteParams.getRenderingMode(), projectKey, in createSession()
135 String projectKey = mCachedProjectKeys.putIfAbsent(remoteParams.getProjectKey(), in renderDrawable() local
140 projectKey, in renderDrawable()
154 public void clearCaches(String projectKey) { in clearCaches() argument
155 mCachedProjectKeys.remove(projectKey); in clearCaches()
156 mBridge.clearCaches(projectKey); in clearCaches()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/
DBridge.java437 public void clearCaches(Object projectKey) { in clearCaches() argument
438 if (projectKey != null) { in clearCaches()
439 sProjectBitmapCache.remove(projectKey); in clearCaches()
440 sProject9PatchCache.remove(projectKey); in clearCaches()
593 public static Bitmap getCachedBitmap(String value, Object projectKey) { in getCachedBitmap() argument
594 if (projectKey != null) { in getCachedBitmap()
595 Map<String, SoftReference<Bitmap>> map = sProjectBitmapCache.get(projectKey); in getCachedBitmap()
618 public static void setCachedBitmap(String value, Bitmap bmp, Object projectKey) { in setCachedBitmap() argument
619 if (projectKey != null) { in setCachedBitmap()
621 sProjectBitmapCache.computeIfAbsent(projectKey, k -> new HashMap<>()); in setCachedBitmap()
[all …]
/frameworks/layoutlib/remote/client/src/com/android/layoutlib/bridge/remote/client/adapters/
DRemoteRenderParamsAdapter.java51 Object projectKey = mDelegate.getProjectKey(); in getProjectKey() local
53 return projectKey != null ? projectKey.toString() : null; in getProjectKey()
/frameworks/layoutlib/remote/common/src/com/android/layout/remote/api/
DRemoteBridge.java112 void clearCaches(String projectKey) throws RemoteException; in clearCaches() argument
/frameworks/layoutlib/remote/client/src/com/android/layoutlib/bridge/remote/client/
DRemoteBridgeClient.java126 public void clearCaches(Object projectKey) { in clearCaches() argument
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgeContext.java219 public BridgeContext(Object projectKey, @NonNull DisplayMetrics metrics, in BridgeContext() argument
226 mProjectKey = projectKey; in BridgeContext()