Searched defs:projectKey (Results 1 - 2 of 2) sorted by path

/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/
H A DBridge.java379 public void clearCaches(Object projectKey) { argument
380 if (projectKey != null) {
381 sProjectBitmapCache.remove(projectKey);
382 sProject9PatchCache.remove(projectKey);
541 * @param projectKey the key of the project, or null to query the framework cache.
544 public static Bitmap getCachedBitmap(String value, Object projectKey) { argument
545 if (projectKey != null) {
546 Map<String, SoftReference<Bitmap>> map = sProjectBitmapCache.get(projectKey);
567 * @param projectKey the key of the project, or null to put the bitmap in the framework cache.
569 public static void setCachedBitmap(String value, Bitmap bmp, Object projectKey) { argument
591 getCached9Patch(String value, Object projectKey) argument
617 setCached9Patch(String value, NinePatchChunk ninePatch, Object projectKey) argument
[all...]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
H A DBridgeContext.java126 * @param projectKey An Object identifying the project. This is used for the cache mechanism.
134 public BridgeContext(Object projectKey, DisplayMetrics metrics, argument
140 mProjectKey = projectKey;

Completed in 63 milliseconds