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.java114 private static Context getThemedContext(@NonNull BridgeContext bridgeContext) { in getThemedContext() argument
115 RenderResources resources = bridgeContext.getRenderResources(); in getThemedContext()
123 int styleId = bridgeContext.getDynamicIdByStyle(((StyleResourceValue) preferenceTheme)); in getThemedContext()
125 return new ContextThemeWrapper(bridgeContext, styleId); in getThemedContext()
137 private static LinearLayout setUpPreferencesListView(@NonNull BridgeContext bridgeContext, in setUpPreferencesListView() argument
147 bridgeContext.addViewKey(listView, viewCookie.get(0)); in setUpPreferencesListView()
187 bridgeContext.addViewKey(itemView, viewCookie.get(arrayPosition)); in setUpPreferencesListView()
202 public static View inflatePreference(@NonNull BridgeContext bridgeContext, in inflatePreference() argument
205 LayoutlibCallback callback = bridgeContext.getLayoutlibCallback(); in inflatePreference()
207 Context context = getThemedContext(bridgeContext); 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.java275 BridgeContext bridgeContext = (BridgeContext)context; in inflate() local
282 value = bridgeContext.getRenderResources().getFrameworkResource( in inflate()
288 value = bridgeContext.getRenderResources().getProjectResource( in inflate()
300 parser, bridgeContext, value.isFramework()); in inflate()