Home
last modified time | relevance | path

Searched refs:Bridge (Results 1 – 25 of 36) sorted by relevance

12

/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/
DBridgeRenderSession.java96 Bridge.prepareThread(); in measure()
104 Bridge.cleanupThread(); in measure()
115 Bridge.prepareThread(); in render()
125 Bridge.cleanupThread(); in render()
158 Bridge.prepareThread(); in executeCallbacks()
165 .execute(currentTimeMs, Bridge.getLog()); in executeCallbacks()
168 Bridge.getLog().error(ILayoutLog.TAG_BROKEN, "Failed executing Choreographer#doFrame " in executeCallbacks()
173 Bridge.cleanupThread(); in executeCallbacks()
205 Bridge.prepareThread(); in execute()
210 Bridge.cleanupThread(); in execute()
/frameworks/layoutlib/bridge/src/android/view/
DView_Delegate.java20 import com.android.layoutlib.bridge.Bridge;
58 Bridge.getLog().error(ILayoutLog.TAG_BROKEN, "View draw failed", t, null, null); in draw()
70 Bridge.getLog().error(ILayoutLog.TAG_BROKEN, "View draw failed", t, null, null); in draw()
82 Bridge.getLog().error(ILayoutLog.TAG_BROKEN, "View measure failed", t, null, null); in measure()
93 Bridge.getLog().error(ILayoutLog.TAG_BROKEN, "View layout failed", th, null, null); in layout()
DLayoutInflater_Delegate.java20 import com.android.layoutlib.bridge.Bridge;
109 Bridge.getLog().error(ILayoutLog.TAG_BROKEN, "You must specify a layout in the" in parseInclude()
132 Bridge.getLog().error(ILayoutLog.TAG_BROKEN, "You must specify a layout in the" in parseInclude()
135 Bridge.getLog().error(ILayoutLog.TAG_BROKEN, "You must specify a valid layout " in parseInclude()
151 Bridge.getLog().error(ILayoutLog.TAG_BROKEN, in parseInclude()
229 Bridge.getLog().error(ILayoutLog.TAG_BROKEN, in parseInclude()
DMenuInflater_Delegate.java23 import com.android.layoutlib.bridge.Bridge;
67 Bridge.getLog().warning(ILayoutLog.TAG_BROKEN, in registerMenu()
DChoreographer_Delegate.java20 import com.android.layoutlib.bridge.Bridge;
66 Bridge.getLog().error(ILayoutLog.TAG_BROKEN, in postCallbackDelayedInternal()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/support/
DFragmentTabHostUtil.java20 import com.android.layoutlib.bridge.Bridge;
62 Bridge.getLog().error(ILayoutLog.TAG_BROKEN, in setup()
73 Bridge.getLog().error(ILayoutLog.TAG_BROKEN, in setup()
DDesignLibUtil.java20 import com.android.layoutlib.bridge.Bridge;
64 Bridge.getLog().warning(ILayoutLog.TAG_INFO, in setTitle()
DDrawerLayoutUtil.java20 import com.android.layoutlib.bridge.Bridge;
62 Bridge.getLog().error(ILayoutLog.TAG_BROKEN, "Unable to open navigation drawer", in openDrawer()
DRecyclerViewUtil.java21 import com.android.layoutlib.bridge.Bridge;
59 Bridge.getLog().error(ILayoutLog.TAG_BROKEN, in setAdapter()
81 Bridge.getLog().error(ILayoutLog.TAG_BROKEN, in setAdapter()
/frameworks/layoutlib/bridge/src/android/graphics/drawable/
DNinePatchDrawable_Delegate.java20 import com.android.layoutlib.bridge.Bridge;
37 Bridge.getLog().warning(ILayoutLog.TAG_BROKEN, "The source for the nine-patch " + in getOpacity()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/resources/
DSysUiResources.java20 import com.android.layoutlib.bridge.Bridge;
80 Bitmap bitmap = Bridge.getCachedBitmap(path, Boolean.TRUE /*isFramework*/); in loadIcon()
85 Bridge.setCachedBitmap(path, bitmap, Boolean.TRUE /*isFramework*/); in loadIcon()
/frameworks/layoutlib/bridge/src/android/graphics/
DTypeface_Delegate.java22 import com.android.layoutlib.bridge.Bridge;
84 Bridge.getLog().error(null, "Failed to parse file " + path, e, null, in createFromDisk()
90 Bridge.getLog().error(ILayoutLog.TAG_BROKEN, in createFromDisk()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
DStatusBar.java22 import com.android.layoutlib.bridge.Bridge;
110 Bridge.getLog().error(ILayoutLog.TAG_BROKEN, "Unable to initialize statusbar", null, in StatusBar()
172 Bridge.getLog().error(ILayoutLog.TAG_BROKEN, "Unable to draw wifi icon", e, in loadIcon()
175 Bridge.getLog().error(ILayoutLog.TAG_BROKEN, "Unable to draw wifi icon", e, in loadIcon()
DAppCompatActionBar.java25 import com.android.layoutlib.bridge.Bridge;
121 Bridge.getLog().warning(ILayoutLog.TAG_BROKEN, in AppCompatActionBar()
204 Bridge.getLog().fidelityWarning(ILayoutLog.TAG_UNSUPPORTED, in inflateMenus()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/
DAdapterHelper.java24 import com.android.layoutlib.bridge.Bridge;
95 Bridge.getLog().error(ILayoutLog.TAG_BROKEN, String.format( in fillView()
115 Bridge.getLog().error(ILayoutLog.TAG_BROKEN, String.format( in fillView()
135 Bridge.getLog().error(ILayoutLog.TAG_BROKEN, String.format( in fillView()
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/android/
DDynamicRenderResourcesTest.java19 import com.android.layoutlib.bridge.Bridge;
32 Bridge.prepareThread(); in setUp()
DBitmapTest.java20 import com.android.layoutlib.bridge.Bridge;
51 Bridge.prepareThread(); in setUp()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DResourceHelper.java29 import com.android.layoutlib.bridge.Bridge;
203 Bridge.getLog().warning(ILayoutLog.TAG_RESOURCES_FORMAT, in getInternalComplexColor()
245 Bridge.getLog().error(ILayoutLog.TAG_BROKEN, in getInternalComplexColor()
251 Bridge.getLog().error(ILayoutLog.TAG_RESOURCES_READ, in getInternalComplexColor()
360 Bridge.getLog().warning(ILayoutLog.TAG_RESOURCES_FORMAT, in getDrawable()
387 Bridge.getLog().error(null, "Cyclic dependency in " + stringValue, null, in getDrawable()
402 Bridge.getLog().error(null, "Failed to parse file " + stringValue, e, in getDrawable()
411 Bitmap bitmap = Bridge.getCachedBitmap(stringValue, in getDrawable()
448 Bridge.setCachedBitmapPadding(stringValue, padding, in getDrawable()
450 Bridge.setCachedBitmap(stringValue, bitmap, in getDrawable()
[all …]
DRenderAction.java24 import com.android.layoutlib.bridge.Bridge;
223 ReentrantLock lock = Bridge.getLock(); in acquireLock()
251 ReentrantLock lock = Bridge.getLock(); in release()
288 Bridge.setLog(currentLog); in setUp()
311 Bridge.setLog(null); in tearDown()
353 ReentrantLock lock = Bridge.getLock(); in checkLock()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgeContext.java31 import com.android.layoutlib.bridge.Bridge;
423 ResourceReference resourceInfo = Bridge.resolveResourceId(resId); in resolveThemeAttribute()
503 ResourceReference resourceInfo = Bridge.resolveResourceId(id); in resolveId()
571 Bridge.getLog().error(ILayoutLog.TAG_BROKEN, in inflateView()
575 Bridge.getLog().error(ILayoutLog.TAG_BROKEN, in inflateView()
582 Bridge.getLog().error(ILayoutLog.TAG_BROKEN, in inflateView()
743 Bridge.getLog().warning(ILayoutLog.TAG_UNSUPPORTED, "Service " + service + in getSystemService()
776 Bridge.getLog().warning(ILayoutLog.TAG_INFO, in internalObtainStyledAttributes()
844 Bridge.getLog().error(ILayoutLog.TAG_BROKEN, in internalObtainStyledAttributes()
883 Bridge.getLog().error(ILayoutLog.TAG_RESOURCES_RESOLVE, in internalObtainStyledAttributes()
[all …]
/frameworks/layoutlib/bridge/src/android/os/
DHandler_Delegate.java20 import com.android.layoutlib.bridge.Bridge;
122 Bridge.getLog().error(ILayoutLog.TAG_BROKEN, "Failed executing Handler callback", t, in executeSafely()
/frameworks/layoutlib/bridge/bridge_client/src/com/android/layoutlib/bridge/intensive/
DBridgeClient.java29 import com.android.layoutlib.bridge.Bridge;
106 protected static Bridge sBridge;
374 sBridge = new Bridge(); in beforeClass()
377 Bridge.getLock().lock(); in beforeClass()
379 Bridge.setLog(getLayoutLog()); in beforeClass()
381 Bridge.getLock().unlock(); in beforeClass()
537 protected RenderResult render(com.android.ide.common.rendering.api.Bridge bridge, in render()
544 protected RenderResult render(com.android.ide.common.rendering.api.Bridge bridge, in render()
/frameworks/layoutlib/bridge/src/android/util/
DBridgeXmlPullAttributes.java23 import com.android.layoutlib.bridge.Bridge;
77 this(parser, context, xmlFileResourceNamespace, Bridge::getEnumValues, (ns, attrName) -> { in BridgeXmlPullAttributes()
104 return Bridge.getResourceId(ResourceType.ATTR, name); in getAttributeNameResource()
331 Bridge.getResourceId(resource.getResourceType(), resource.getName()) : in resolveResourceValue()
/frameworks/layoutlib/bridge/src/android/content/res/
DResources_Delegate.java30 import com.android.layoutlib.bridge.Bridge;
133 ResourceReference resourceInfo = Bridge.resolveResourceId(id); in getResourceInfo()
230 Bridge.getLog().error(ILayoutLog.TAG_RESOURCES_FORMAT, resourceValue.getName() + in getColor()
375 Bridge.getLog().error(ILayoutLog.TAG_RESOURCES_FORMAT, in getIntArray()
379 Bridge.getLog().error(ILayoutLog.TAG_RESOURCES_FORMAT, in getIntArray()
384 Bridge.getLog().error(ILayoutLog.TAG_RESOURCES_FORMAT, in getIntArray()
398 Bridge.getLog().error(ILayoutLog.TAG_RESOURCES_FORMAT, in getIntArray()
404 Bridge.getLog().error(ILayoutLog.TAG_RESOURCES_FORMAT, in getIntArray()
435 Bridge.getLog().error(ILayoutLog.TAG_RESOURCES_RESOLVE, in getArrayResourceValue()
443 Bridge.getLog().warning(ILayoutLog.TAG_UNSUPPORTED, in getArrayResourceValue()
[all …]
DBridgeTypedArray.java31 import com.android.layoutlib.bridge.Bridge;
276 Bridge.getLog().warning(ILayoutLog.TAG_RESOURCES_FORMAT, in getInt()
299 Bridge.getLog().warning(ILayoutLog.TAG_RESOURCES_FORMAT, in getFloat()
471 Bridge.getLog().warning(ILayoutLog.TAG_RESOURCES_FORMAT, in getDimensionPixelSize()
516 Bridge.getLog().warning(ILayoutLog.TAG_RESOURCES_FORMAT, in getLayoutDimension()
554 Bridge.getLog().warning(ILayoutLog.TAG_RESOURCES_FORMAT, in getFraction()
646 idValue = Bridge.getResourceId(ResourceType.ID, resourceUrl.name); in getResourceId()
893 map = Bridge.getEnumValues(mNames[index]); in resolveEnumAttribute()

12