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.java446 public void clearCaches(Object projectKey) { in clearCaches() argument
447 if (projectKey != null) { in clearCaches()
448 sProjectBitmapCache.remove(projectKey); in clearCaches()
449 sProject9PatchCache.remove(projectKey); in clearCaches()
604 public static Bitmap getCachedBitmap(String value, Object projectKey) { in getCachedBitmap() argument
605 if (projectKey != null) { in getCachedBitmap()
606 Map<String, SoftReference<Bitmap>> map = sProjectBitmapCache.get(projectKey); in getCachedBitmap()
629 public static void setCachedBitmap(String value, Bitmap bmp, Object projectKey) { in setCachedBitmap() argument
630 if (projectKey != null) { in setCachedBitmap()
632 sProjectBitmapCache.computeIfAbsent(projectKey, k -> new HashMap<>()); in setCachedBitmap()
[all …]
/frameworks/layoutlib/remote/client/src/com/android/layoutlib/bridge/remote/client/adapters/
DRemoteRenderParamsAdapter.java52 Object projectKey = mDelegate.getProjectKey(); in getProjectKey() local
54 return projectKey != null ? projectKey.toString() : null; in getProjectKey()
/frameworks/layoutlib/remote/common/src/com/android/layout/remote/api/
DRemoteBridge.java113 void clearCaches(String projectKey) throws RemoteException; in clearCaches() argument
/frameworks/layoutlib/remote/client/src/com/android/layoutlib/bridge/remote/client/
DRemoteBridgeClient.java129 public void clearCaches(Object projectKey) { in clearCaches() argument
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgeContext.java215 public BridgeContext(Object projectKey, @NonNull DisplayMetrics metrics, in BridgeContext() argument
222 mProjectKey = projectKey; in BridgeContext()