Searched refs:bridgeContext (Results 1 – 4 of 4) sorted by relevance
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/support/ |
D | SupportPreferencesUtil.java | 122 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/android/view/ |
D | ViewGroup_Delegate.java | 75 Context bridgeContext = parent.getContext(); in drawShadow() local 76 if (bridgeContext instanceof BridgeContext) { in drawShadow() 77 highQualityShadow = ((BridgeContext) bridgeContext).getLayoutlibCallback() in drawShadow() 79 enableShadow = ((BridgeContext) bridgeContext).getLayoutlibCallback() in drawShadow() 89 float densityDpi = bridgeContext.getResources().getDisplayMetrics().densityDpi; in drawShadow()
|
D | BridgeInflater.java | 360 BridgeContext bridgeContext = (BridgeContext)context; in inflate() local 370 value = bridgeContext.getRenderResources().getResolvedResource(layoutInfo); in inflate() 382 parser, bridgeContext, value.getNamespace()); in inflate()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/ |
D | CustomBar.java | 148 BridgeContext bridgeContext = getContext(); in setStyle() local 149 RenderResources res = bridgeContext.getRenderResources(); in setStyle() 166 Drawable d = ResourceHelper.getDrawable(backgroundValue, bridgeContext); in setStyle() 190 out.getDimension(bridgeContext.getResources().getDisplayMetrics())); in setStyle() 199 ResourceHelper.getColorStateList(textColor, bridgeContext, null); in setStyle()
|