Home
last modified time | relevance | path

Searched refs:BridgeContext (Results 1 – 24 of 24) sorted by relevance

/frameworks/base/tools/layoutlib/bridge/src/android/os/
DHandlerThread_Delegate.java19 import com.android.layoutlib.bridge.android.BridgeContext;
38 private static Map<BridgeContext, List<HandlerThread>> sThreads =
39 new HashMap<BridgeContext, List<HandlerThread>>();
41 public static void cleanUp(BridgeContext context) { in cleanUp()
58 BridgeContext context = RenderAction.getCurrentContext(); in run()
/frameworks/base/tools/layoutlib/bridge/src/android/preference/
DBridgePreferenceInflater.java19 import com.android.layoutlib.bridge.android.BridgeContext;
35 BridgeContext bc = null; in onCreateItem()
38 if (context instanceof BridgeContext) { in onCreateItem()
39 bc = (BridgeContext) context; in onCreateItem()
DPreference_Delegate.java20 import com.android.layoutlib.bridge.android.BridgeContext;
46 BridgeContext bc = context instanceof BridgeContext ? ((BridgeContext) context) : null; in getView()
/frameworks/base/tools/layoutlib/bridge/src/com/android/internal/view/menu/
DBridgeMenuItemImpl.java19 import com.android.layoutlib.bridge.android.BridgeContext;
36 private BridgeContext mContext;
48 if (context instanceof BridgeContext) { in BridgeMenuItemImpl()
49 mContext = ((BridgeContext) context); in BridgeMenuItemImpl()
/frameworks/base/tools/layoutlib/bridge/src/android/view/
DBridgeInflater.java25 import com.android.layoutlib.bridge.android.BridgeContext;
157 if (context instanceof BridgeContext) { in inflate()
158 BridgeContext bridgeContext = (BridgeContext)context; in inflate()
223 if (context instanceof BridgeContext) { in setupViewInContext()
224 BridgeContext bc = (BridgeContext) context; in setupViewInContext()
246 /*package*/ static Object getViewKeyFromParser(AttributeSet attrs, BridgeContext bc, in getViewKeyFromParser()
DMenuInflater_Delegate.java25 import com.android.layoutlib.bridge.android.BridgeContext;
54 if (context instanceof BridgeContext) { in registerMenu()
56 attrs, ((BridgeContext) context), null, false); in registerMenu()
DViewGroup_Delegate.java20 import com.android.layoutlib.bridge.android.BridgeContext;
126 if (context instanceof BridgeContext) { in getMetrics()
127 return ((BridgeContext) context).getMetrics(); in getMetrics()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
DCustomBar.java23 import com.android.layoutlib.bridge.android.BridgeContext;
84 parser, (BridgeContext) context, false /*platformFile*/); in CustomBar()
153 BridgeContext bridgeContext = (BridgeContext) mContext; in setStyle()
214 BridgeContext bridgeContext = (BridgeContext) mContext; in getResourceValue()
DBridgeActionBar.java25 import com.android.layoutlib.bridge.android.BridgeContext;
39 @NonNull protected final BridgeContext mBridgeContext;
49 public BridgeActionBar(@NonNull BridgeContext context, @NonNull SessionParams params, in BridgeActionBar()
92 protected abstract ResourceValue getLayoutResource(BridgeContext context); in getLayoutResource()
DFrameworkActionBarWrapper.java31 import com.android.layoutlib.bridge.android.BridgeContext;
59 @NonNull protected BridgeContext mContext;
68 public static FrameworkActionBarWrapper getActionBarWrapper(@NonNull BridgeContext context, in getActionBarWrapper()
82 FrameworkActionBarWrapper(@NonNull BridgeContext context, ActionBarCallback callback, in FrameworkActionBarWrapper()
190 ToolbarWrapper(@NonNull BridgeContext context, @NonNull ActionBarCallback callback, in ToolbarWrapper()
253 public WindowActionBarWrapper(@NonNull BridgeContext context, in WindowActionBarWrapper()
DAppCompatActionBar.java24 import com.android.layoutlib.bridge.android.BridgeContext;
50 public AppCompatActionBar(@NonNull BridgeContext context, @NonNull SessionParams params, in AppCompatActionBar()
81 protected ResourceValue getLayoutResource(BridgeContext context) { in getLayoutResource()
DStatusBar.java21 import com.android.layoutlib.bridge.android.BridgeContext;
84 ParserFactory.create(stream, null), (BridgeContext) mContext, true); in loadIcon()
DFrameworkActionBar.java27 import com.android.layoutlib.bridge.android.BridgeContext;
63 public FrameworkActionBar(@NonNull BridgeContext context, @NonNull SessionParams params, in FrameworkActionBar()
89 protected ResourceValue getLayoutResource(BridgeContext context) { in getLayoutResource()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DRenderAction.java30 import com.android.layoutlib.bridge.android.BridgeContext;
65 private static BridgeContext sCurrentContext = null;
69 private BridgeContext mContext;
123 mContext = new BridgeContext(mParams.getProjectKey(), metrics, resources, in init()
278 public static BridgeContext getCurrentContext() { in getCurrentContext()
286 protected BridgeContext getContext() { in getContext()
DRenderDrawable.java26 import com.android.layoutlib.bridge.android.BridgeContext;
66 BridgeContext context = getContext(); in render()
DResourceHelper.java25 import com.android.layoutlib.bridge.android.BridgeContext;
116 public static ColorStateList getColorStateList(ResourceValue resValue, BridgeContext context) { in getColorStateList()
169 public static Drawable getDrawable(ResourceValue value, BridgeContext context) { in getDrawable()
180 public static Drawable getDrawable(ResourceValue value, BridgeContext context, Theme theme) { in getDrawable()
279 boolean isFramework, String cacheKey, BridgeContext context) throws IOException { in getNinePatchDrawable()
DRenderSessionImpl.java50 import com.android.layoutlib.bridge.android.BridgeContext;
194 BridgeContext context = getContext(); in init()
243 BridgeContext context = getContext(); in inflate()
660 BridgeContext context = getContext(); in animate()
718 BridgeContext context = getContext(); in insertChild()
1265 BridgeContext context = getContext(); in postInflateProcess()
1593 BridgeContext context = getContext(); in getViewKey()
1621 private StatusBar createStatusBar(BridgeContext context, Density density, int direction, in createStatusBar()
1638 private NavigationBar createNavigationBar(BridgeContext context, Density density, in createNavigationBar()
1654 private TitleBar createTitleBar(BridgeContext context, String title, in createTitleBar()
[all …]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/
DAdapterHelper.java25 import com.android.layoutlib.bridge.android.BridgeContext;
47 BridgeContext context = RenderAction.getCurrentContext(); in getView()
67 private static void fillView(BridgeContext context, View view, AdapterItem item, in fillView()
/frameworks/base/tools/layoutlib/bridge/src/android/util/
DBridgeXmlPullAttributes.java24 import com.android.layoutlib.bridge.android.BridgeContext;
35 private final BridgeContext mContext;
38 public BridgeXmlPullAttributes(XmlPullParser parser, BridgeContext context, in BridgeXmlPullAttributes()
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/
DResources_Theme_Delegate.java22 import com.android.layoutlib.bridge.android.BridgeContext;
147 BridgeContext context = RenderSessionImpl.getCurrentContext(); in resolveStyle()
DBridgeResources.java24 import com.android.layoutlib.bridge.android.BridgeContext;
51 private BridgeContext mContext;
93 public static Resources initSystem(BridgeContext context, in initSystem()
117 private BridgeResources(BridgeContext context, AssetManager assets, DisplayMetrics metrics, in BridgeResources()
DBridgeTypedArray.java26 import com.android.layoutlib.bridge.android.BridgeContext;
52 private final BridgeContext mContext;
59 public BridgeTypedArray(BridgeResources resources, BridgeContext context, int len, in BridgeTypedArray()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgeXmlBlockParser.java43 private final BridgeContext mContext;
57 public BridgeXmlBlockParser(XmlPullParser parser, BridgeContext context, boolean platformFile) { in BridgeXmlBlockParser()
DBridgeContext.java95 public final class BridgeContext extends Context { class
142 public BridgeContext(Object projectKey, DisplayMetrics metrics, in BridgeContext() method in BridgeContext