Home
last modified time | relevance | path

Searched refs:layoutlibCallback (Results 1 – 7 of 7) sorted by relevance

/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/support/
DRecyclerViewUtil.java56 @NonNull LayoutlibCallback layoutlibCallback, int adapterLayout, int itemCount) { in setAdapter() argument
63 setLayoutManager(recyclerView, layoutMgrClassName, context, layoutlibCallback); in setAdapter()
64 Object adapter = createAdapter(layoutlibCallback, adapterClassName); in setAdapter()
114 private static Object createAdapter(@NonNull LayoutlibCallback layoutlibCallback, in createAdapter() argument
117 layoutlibCallback.getFlag(RenderParamsFlags.FLAG_KEY_RECYCLER_VIEW_SUPPORT); in createAdapter()
122 return layoutlibCallback.loadClass(adapterClassName, new Class[0], new Object[0]); in createAdapter()
/frameworks/layoutlib/bridge/src/android/view/
DBridgeInflater.java116 public BridgeInflater(BridgeContext context, LayoutlibCallback layoutlibCallback) { in BridgeInflater() argument
118 mLayoutlibCallback = layoutlibCallback; in BridgeInflater()
201 @NotNull LayoutlibCallback layoutlibCallback) { in findCustomInflater() argument
203 if (layoutlibCallback.isResourceNamespacingRequired()) { in findCustomInflater()
204 if (layoutlibCallback.hasLegacyAppCompat()) { in findCustomInflater()
206 } else if (layoutlibCallback.hasAndroidXAppCompat()) { in findCustomInflater()
219 return layoutlibCallback.findClass(inflaterName); in findCustomInflater()
228 if (layoutlibCallback.hasLegacyAppCompat()) { in findCustomInflater()
229 return layoutlibCallback.findClass(LEGACY_DEFAULT_APPCOMPAT_INFLATER_NAME); in findCustomInflater()
230 } else if (layoutlibCallback.hasAndroidXAppCompat()) { in findCustomInflater()
[all …]
/frameworks/layoutlib/bridge/src/android/app/
DFragment_Delegate.java44 public static void setLayoutlibCallback(LayoutlibCallback layoutlibCallback) { in setLayoutlibCallback() argument
45 sLayoutlibCallback = layoutlibCallback; in setLayoutlibCallback()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DRenderSessionImpl.java627 private void postInflateProcess(View view, LayoutlibCallback layoutlibCallback, View skip) in postInflateProcess() argument
633 setupTabHost((TabHost) view, layoutlibCallback); in postInflateProcess() local
652 binding = layoutlibCallback.getAdapterBinding( in postInflateProcess()
692 new FakeExpandableAdapter(listRef, binding, layoutlibCallback)); in postInflateProcess()
695 new FakeAdapter(listRef, binding, layoutlibCallback)); in postInflateProcess()
699 new FakeAdapter(listRef, binding, layoutlibCallback)); in postInflateProcess()
709 postInflateProcess(child, layoutlibCallback, skip); in postInflateProcess()
808 private void setupTabHost(TabHost tabHost, LayoutlibCallback layoutlibCallback) in setupTabHost() argument
868 ResourceReference resource = layoutlibCallback.resolveResourceId(id); in setupTabHost()
DResourceHelper.java277 LayoutlibCallback layoutlibCallback = context.getLayoutlibCallback(); in getXmlBlockParser() local
281 parser = layoutlibCallback.getParser(value); in getXmlBlockParser()
/frameworks/layoutlib/bridge/src/android/content/res/
DResources_Delegate.java88 @NonNull LayoutlibCallback layoutlibCallback) { in initSystem() argument
94 sLayoutlibCallbacks.put(resources, Objects.requireNonNull(layoutlibCallback)); in initSystem()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgeContext.java218 @NonNull LayoutlibCallback layoutlibCallback, in BridgeContext() argument
224 mLayoutlibCallback = layoutlibCallback; in BridgeContext()