Searched refs:projectKey (Results 1 - 2 of 2) sorted by relevance

/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/
H A DBridge.java382 public void clearCaches(Object projectKey) { argument
383 if (projectKey != null) {
384 sProjectBitmapCache.remove(projectKey);
385 sProject9PatchCache.remove(projectKey);
531 * @param projectKey the key of the project, or null to query the framework cache.
534 public static Bitmap getCachedBitmap(String value, Object projectKey) { argument
535 if (projectKey != null) {
536 Map<String, SoftReference<Bitmap>> map = sProjectBitmapCache.get(projectKey);
557 * @param projectKey the key of the project, or null to put the bitmap in the framework cache.
559 public static void setCachedBitmap(String value, Bitmap bmp, Object projectKey) { argument
581 getCached9Patch(String value, Object projectKey) argument
607 setCached9Patch(String value, NinePatchChunk ninePatch, Object projectKey) argument
[all...]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
H A DBridgeContext.java123 * @param projectKey An Object identifying the project. This is used for the cache mechanism.
131 public BridgeContext(Object projectKey, DisplayMetrics metrics, argument
136 mProjectKey = projectKey;

Completed in 46 milliseconds