Home
last modified time | relevance | path

Searched refs:bridgeContext (Results 1 – 3 of 3) sorted by relevance

/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/support/
DSupportPreferencesUtil.java118 private static Context getThemedContext(@NonNull BridgeContext bridgeContext) { in getThemedContext() argument
119 RenderResources resources = bridgeContext.getRenderResources(); in getThemedContext()
127 int styleId = bridgeContext.getDynamicIdByStyle(((StyleResourceValue) preferenceTheme)); in getThemedContext()
129 return new ContextThemeWrapper(bridgeContext, styleId); in getThemedContext()
141 private static LinearLayout setUpPreferencesListView(@NonNull BridgeContext bridgeContext, in setUpPreferencesListView() argument
151 bridgeContext.addViewKey(listView, viewCookie.get(0)); in setUpPreferencesListView()
189 bridgeContext.addViewKey(itemView, viewCookie.get(arrayPosition)); in setUpPreferencesListView()
204 public static View inflatePreference(@NonNull BridgeContext bridgeContext, in inflatePreference() argument
213 bridgeContext.getLayoutlibCallback().findClass(preferenceManagerClassName); in inflatePreference()
225 LayoutlibCallback callback = bridgeContext.getLayoutlibCallback(); in inflatePreference()
[all …]
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
DCustomBar.java161 BridgeContext bridgeContext = getContext(); in setStyle() local
162 RenderResources res = bridgeContext.getRenderResources(); in setStyle()
178 Drawable d = ResourceHelper.getDrawable(backgroundValue, bridgeContext); in setStyle()
202 out.getDimension(bridgeContext.getResources().getDisplayMetrics())); in setStyle()
212 textColor, bridgeContext, null); in setStyle()
/frameworks/layoutlib/bridge/src/android/view/
DBridgeInflater.java331 BridgeContext bridgeContext = (BridgeContext)context; in inflate() local
338 value = bridgeContext.getRenderResources().getFrameworkResource( in inflate()
344 value = bridgeContext.getRenderResources().getProjectResource( in inflate()
356 parser, bridgeContext, value.isFramework()); in inflate()