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.java122 private static Context getThemedContext(@NonNull BridgeContext bridgeContext) { in getThemedContext() argument
123 RenderResources resources = bridgeContext.getRenderResources(); in getThemedContext()
125 bridgeContext.createAppCompatAttrReference("preferenceTheme")); in getThemedContext()
134 bridgeContext.createAppCompatResourceReference(ResourceType.STYLE, in getThemedContext()
138 int styleId = bridgeContext.getDynamicIdByStyle(((StyleResourceValue) preferenceTheme)); in getThemedContext()
140 return new ContextThemeWrapper(bridgeContext, styleId); in getThemedContext()
146 return bridgeContext; in getThemedContext()
154 private static LinearLayout setUpPreferencesListView(@NonNull BridgeContext bridgeContext, in setUpPreferencesListView() argument
164 bridgeContext.addViewKey(listView, viewCookie.get(0)); in setUpPreferencesListView()
202 bridgeContext.addViewKey(itemView, viewCookie.get(arrayPosition)); in setUpPreferencesListView()
[all …]
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
DCustomBar.java112 BridgeContext bridgeContext = getContext(); in setStyle() local
113 RenderResources res = bridgeContext.getRenderResources(); in setStyle()
130 Drawable d = ResourceHelper.getDrawable(backgroundValue, bridgeContext); in setStyle()
154 out.getDimension(bridgeContext.getResources().getDisplayMetrics())); in setStyle()
163 ResourceHelper.getColorStateList(textColor, bridgeContext, null); in setStyle()
/frameworks/layoutlib/bridge/src/android/view/
DBridgeInflater.java371 BridgeContext bridgeContext = (BridgeContext)context; in inflate() local
381 value = bridgeContext.getRenderResources().getResolvedResource(layoutInfo); in inflate()
393 parser, bridgeContext, value.getNamespace()); in inflate()