Home
last modified time | relevance | path

Searched refs:mLayoutlibCallback (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/tools/layoutlib/bridge/src/android/view/
DBridgeInflater.java54 private final LayoutlibCallback mLayoutlibCallback; field in BridgeInflater
81 mLayoutlibCallback = ((BridgeContext) newContext).getLayoutlibCallback(); in BridgeInflater()
83 mLayoutlibCallback = null; in BridgeInflater()
95 mLayoutlibCallback = layoutlibCallback; in BridgeInflater()
208 layoutInfo = mLayoutlibCallback.resolveResourceId(resource); in inflate()
239 if (mLayoutlibCallback != null) { in loadCustomView()
247 Object customView = mLayoutlibCallback.loadView(name, mConstructorSignature, in loadCustomView()
288 resourceId = mLayoutlibCallback.getResourceId(resValue.getResourceType(), in setupViewInContext()
295 RecyclerViewUtil.setAdapter(view, bc, mLayoutlibCallback, resourceId); in setupViewInContext()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgeContext.java129 private final LayoutlibCallback mLayoutlibCallback; field in BridgeContext
196 mLayoutlibCallback = layoutlibCallback; in BridgeContext()
232 mLayoutlibCallback); in initResources()
272 return mLayoutlibCallback; in getLayoutlibCallback()
331 resourceInfo = mLayoutlibCallback.resolveResourceId(resId); in resolveThemeAttribute()
387 if (mLayoutlibCallback != null) { in resolveId()
388 resourceInfo = mLayoutlibCallback.resolveResourceId(id); in resolveId()
486 parser = mLayoutlibCallback.getParser((ResourceValue) resource); in getParser()
488 parser = mLayoutlibCallback.getParser(resource.getName()); in getParser()
531 return BridgeContext.this.mLayoutlibCallback.findClass(name); in getClassLoader()
[all …]
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/
DResources_Delegate.java69 resources.mLayoutlibCallback = layoutlibCallback; in initSystem()
79 Resources.mSystem.mLayoutlibCallback = null; in disposeSystem()
94 if (resources != Resources.mSystem && resources.mLayoutlibCallback == null) { in getResourceInfo()
95 resources.mLayoutlibCallback = Resources.mSystem.mLayoutlibCallback; in getResourceInfo()
105 if (resources.mLayoutlibCallback != null) { in getResourceInfo()
106 resourceInfo = resources.mLayoutlibCallback.resolveResourceId(id); in getResourceInfo()
409 parser = resources.mLayoutlibCallback.getParser(value); in getLayout()
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/
DMain.java477 resources.mLayoutlibCallback = params.getLayoutlibCallback(); in testGetResourceNameVariants()
488 int id = resources.mLayoutlibCallback.getResourceId(ResourceType.STRING, "app_name"); in testGetResourceNameVariants()