/frameworks/base/tools/layoutlib/bridge/src/com/android/internal/view/menu/ |
D | BridgeMenuItemImpl.java | 19 import com.android.layoutlib.bridge.android.BridgeContext; 35 private BridgeContext mContext; 44 context = BridgeContext.getBaseContext(context); in BridgeMenuItemImpl() 45 if (context instanceof BridgeContext) { in BridgeMenuItemImpl() 46 mContext = ((BridgeContext) context); in BridgeMenuItemImpl()
|
/frameworks/base/tools/layoutlib/bridge/src/android/view/ |
D | View_Delegate.java | 19 import com.android.layoutlib.bridge.android.BridgeContext; 41 Context baseContext = BridgeContext.getBaseContext(thisView.getContext()); in getWindowToken() 42 if (baseContext instanceof BridgeContext) { in getWindowToken() 43 return ((BridgeContext) baseContext).getBinder(); in getWindowToken()
|
D | MenuInflater_Delegate.java | 25 import com.android.layoutlib.bridge.android.BridgeContext; 51 context = BridgeContext.getBaseContext(context); in registerMenu() 52 if (context instanceof BridgeContext) { in registerMenu() 54 attrs, ((BridgeContext) context), null, false); in registerMenu()
|
D | BridgeInflater.java | 27 import com.android.layoutlib.bridge.android.BridgeContext; 47 import static com.android.layoutlib.bridge.android.BridgeContext.getBaseContext; 80 if (newContext instanceof BridgeContext) { in BridgeInflater() 81 mLayoutlibCallback = ((BridgeContext) newContext).getLayoutlibCallback(); in BridgeInflater() 197 if (context instanceof BridgeContext) { in inflate() 198 BridgeContext bridgeContext = (BridgeContext)context; in inflate() 261 if (context instanceof BridgeContext) { in setupViewInContext() 262 BridgeContext bc = (BridgeContext) context; in setupViewInContext() 320 /*package*/ static Object getViewKeyFromParser(AttributeSet attrs, BridgeContext bc, in getViewKeyFromParser()
|
/frameworks/base/tools/layoutlib/bridge/src/android/os/ |
D | HandlerThread_Delegate.java | 19 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/ |
D | BridgePreferenceInflater.java | 19 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()
|
D | Preference_Delegate.java | 20 import com.android.layoutlib.bridge.android.BridgeContext; 43 BridgeContext bc = context instanceof BridgeContext ? ((BridgeContext) context) : null; in getView()
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/ |
D | ThemePreviewNavigationBar.java | 19 import com.android.layoutlib.bridge.android.BridgeContext; 42 super((BridgeContext) context, in ThemePreviewNavigationBar() 43 Density.getEnum(((BridgeContext) context).getMetrics().densityDpi), in ThemePreviewNavigationBar() 45 ((BridgeContext) context).getConfiguration().getLayoutDirection() == in ThemePreviewNavigationBar()
|
D | NavigationBar.java | 19 import com.android.layoutlib.bridge.android.BridgeContext; 44 public NavigationBar(BridgeContext context, Density density, int orientation, boolean isRtl, in NavigationBar() 50 protected NavigationBar(BridgeContext context, Density density, int orientation, boolean isRtl, in NavigationBar() 78 private void setupNavBar(BridgeContext context, int orientation) { in setupNavBar() 95 private static void setSize(BridgeContext context, View view, int orientation, int size) { in setSize() 126 private static float getShortestWidth(BridgeContext context) { in getShortestWidth()
|
D | StatusBar.java | 21 import com.android.layoutlib.bridge.android.BridgeContext; 55 this((BridgeContext) context, in StatusBar() 56 Density.getEnum(((BridgeContext) context).getMetrics().densityDpi), in StatusBar() 57 ((BridgeContext) context).getConfiguration().getLayoutDirection() == in StatusBar() 64 public StatusBar(BridgeContext context, Density density, boolean isRtl, boolean rtlEnabled, in StatusBar() 105 ParserFactory.create(stream, null), (BridgeContext) mContext, true); in loadIcon()
|
D | BridgeActionBar.java | 24 import com.android.layoutlib.bridge.android.BridgeContext; 40 @NonNull protected final BridgeContext mBridgeContext; 51 public BridgeActionBar(@NonNull BridgeContext context, @NonNull SessionParams params) { in BridgeActionBar() 92 protected abstract ResourceValue getLayoutResource(BridgeContext context); in getLayoutResource() 94 protected LayoutInflater getInflater(BridgeContext context) { in getInflater()
|
D | FrameworkActionBarWrapper.java | 29 import com.android.layoutlib.bridge.android.BridgeContext; 60 @NonNull protected BridgeContext mContext; 69 public static FrameworkActionBarWrapper getActionBarWrapper(@NonNull BridgeContext context, in getActionBarWrapper() 83 FrameworkActionBarWrapper(@NonNull BridgeContext context, @NonNull ActionBarCallback callback, in FrameworkActionBarWrapper() 191 ToolbarWrapper(@NonNull BridgeContext context, @NonNull ActionBarCallback callback, in ToolbarWrapper() 259 public WindowActionBarWrapper(@NonNull BridgeContext context, in WindowActionBarWrapper()
|
D | TitleBar.java | 19 import com.android.layoutlib.bridge.android.BridgeContext; 30 public TitleBar(BridgeContext context, String label, int simulatedPlatformVersion) { in TitleBar()
|
D | CustomBar.java | 24 import com.android.layoutlib.bridge.android.BridgeContext; 70 protected CustomBar(BridgeContext context, int orientation, String layoutPath, in CustomBar() 161 BridgeContext bridgeContext = getContext(); in setStyle() 222 public BridgeContext getContext() { in getContext() 223 return (BridgeContext) mContext; in getContext()
|
D | AppCompatActionBar.java | 26 import com.android.layoutlib.bridge.android.BridgeContext; 58 public AppCompatActionBar(@NonNull BridgeContext context, @NonNull SessionParams params) { in AppCompatActionBar() 101 protected ResourceValue getLayoutResource(BridgeContext context) { in getLayoutResource() 108 protected LayoutInflater getInflater(BridgeContext context) { in getInflater()
|
D | FrameworkActionBar.java | 25 import com.android.layoutlib.bridge.android.BridgeContext; 63 public FrameworkActionBar(@NonNull BridgeContext context, @NonNull SessionParams params) { in FrameworkActionBar() 90 protected ResourceValue getLayoutResource(BridgeContext context) { in getLayoutResource()
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | Layout.java | 25 import com.android.layoutlib.bridge.android.BridgeContext; 211 public BridgeContext getContext(){ in getContext() 212 return (BridgeContext) super.getContext(); in getContext() 221 private StatusBar createStatusBar(BridgeContext context, Density density, boolean isRtl, in createStatusBar() 234 private BridgeActionBar createActionBar(@NonNull BridgeContext context, in createActionBar() 258 private TitleBar createTitleBar(BridgeContext context, String title, in createTitleBar() 279 private NavigationBar createNavBar(BridgeContext context, Density density, boolean isRtl, in createNavBar() 314 private final BridgeContext mContext; 329 public Builder(@NonNull SessionParams params, @NonNull BridgeContext context) { in Builder()
|
D | RenderAction.java | 26 import com.android.layoutlib.bridge.android.BridgeContext; 66 private static BridgeContext sCurrentContext = null; 70 private BridgeContext mContext; 124 mContext = new BridgeContext(mParams.getProjectKey(), metrics, resources, in init() 281 public static BridgeContext getCurrentContext() { in getCurrentContext() 289 protected BridgeContext getContext() { in getContext()
|
D | ResourceHelper.java | 26 import com.android.layoutlib.bridge.android.BridgeContext; 140 @NonNull BridgeContext context, @Nullable Theme theme, boolean allowGradients) { in getInternalComplexColor() 236 @NonNull BridgeContext context) { in getColorStateList() 250 @NonNull BridgeContext context) { in getComplexColor() 260 public static Drawable getDrawable(ResourceValue value, BridgeContext context) { in getDrawable() 271 public static Drawable getDrawable(ResourceValue value, BridgeContext context, Theme theme) { in getDrawable() 370 boolean isFramework, String cacheKey, BridgeContext context) throws IOException { in getNinePatchDrawable()
|
D | RenderDrawable.java | 24 import com.android.layoutlib.bridge.android.BridgeContext; 68 BridgeContext context = getContext(); in render() 106 BridgeContext context) { in renderImage()
|
D | RenderSessionImpl.java | 41 import com.android.layoutlib.bridge.android.BridgeContext; 182 BridgeContext context = getContext(); in init() 304 BridgeContext context = getContext(); in inflate() 370 private static Result render(@NonNull BridgeContext context, @NonNull ViewGroup viewRoot, in render() 561 BridgeContext context = getContext(); in animate() 619 BridgeContext context = getContext(); in insertChild() 973 BridgeContext context = getContext(); in postInflateProcess() 1050 private void setActiveToolbar(View view, BridgeContext context, SessionParams params) { in setActiveToolbar() 1107 private static void handleScrolling(BridgeContext context, View view) { in handleScrolling() 1400 BridgeContext context = getContext(); in getViewKey()
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/support/ |
D | RecyclerViewUtil.java | 22 import com.android.layoutlib.bridge.android.BridgeContext; 56 public static void setAdapter(@NonNull View recyclerView, @NonNull BridgeContext context, in setAdapter() 72 private static void setLayoutManager(@NonNull View recyclerView, @NonNull BridgeContext context, in setLayoutManager()
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/ |
D | AdapterHelper.java | 25 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/ |
D | BridgeXmlPullAttributes.java | 24 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/ |
D | Resources_Theme_Delegate.java | 21 import com.android.layoutlib.bridge.android.BridgeContext; 142 BridgeContext context = RenderSessionImpl.getCurrentContext(); in resolveStyle()
|