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

/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/
H A DBridge.java381 public void clearCaches(Object projectKey) { argument
382 if (projectKey != null) {
383 sProjectBitmapCache.remove(projectKey);
384 sProject9PatchCache.remove(projectKey);
530 * @param projectKey the key of the project, or null to query the framework cache.
533 public static Bitmap getCachedBitmap(String value, Object projectKey) { argument
534 if (projectKey != null) {
535 Map<String, SoftReference<Bitmap>> map = sProjectBitmapCache.get(projectKey);
556 * @param projectKey the key of the project, or null to put the bitmap in the framework cache.
558 public static void setCachedBitmap(String value, Bitmap bmp, Object projectKey) { argument
580 getCached9Patch(String value, Object projectKey) argument
606 setCached9Patch(String value, NinePatchChunk ninePatch, Object projectKey) argument
[all...]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
H A DBridgeContext.java119 * @param projectKey An Object identifying the project. This is used for the cache mechanism.
127 public BridgeContext(Object projectKey, DisplayMetrics metrics, argument
132 mProjectKey = projectKey;

Completed in 54 milliseconds