A B C D E F G H I K L M N O P R S T U V W

A

AdapterBinding - Class in com.android.ide.common.rendering.api
Describe the content of the dynamic android.widget.Adapter used to fill android.widget.AdapterView
AdapterBinding(int) - Constructor for class com.android.ide.common.rendering.api.AdapterBinding
 
addAdapterBinding(ResourceReference, AdapterBinding) - Method in class com.android.ide.common.rendering.api.SessionParams
 
addChild(DataBindingItem) - Method in class com.android.ide.common.rendering.api.DataBindingItem
 
addElement(String) - Method in class com.android.ide.common.rendering.api.ArrayResourceValue
Adds an element into the array
addFooter(ResourceReference) - Method in class com.android.ide.common.rendering.api.AdapterBinding
 
addHeader(ResourceReference) - Method in class com.android.ide.common.rendering.api.AdapterBinding
 
addItem(DataBindingItem) - Method in class com.android.ide.common.rendering.api.AdapterBinding
 
addPlural(String, String) - Method in class com.android.ide.common.rendering.api.PluralsResourceValue
Adds an element into the array
addValue(String, Integer) - Method in class com.android.ide.common.rendering.api.AttrResourceValue
 
addValue(AttrResourceValue) - Method in class com.android.ide.common.rendering.api.DeclareStyleableResourceValue
Deprecated.  
addValue(ResourceValue, boolean) - Method in class com.android.ide.common.rendering.api.StyleResourceValue
 
animate(Object, String, boolean, IAnimationListener) - Method in class com.android.ide.common.rendering.api.RenderSession
Starts playing an given animation on a given object.
API_CURRENT - Static variable in class com.android.ide.common.rendering.api.Bridge
 
API_CURRENT - Static variable in interface com.android.layoutlib.api.ILayoutBridge
Deprecated.  
ArrayResourceValue - Class in com.android.ide.common.rendering.api
Represents an android array resource with a name and a list of children ResourceValue items, one for array element.
ArrayResourceValue(String, boolean) - Constructor for class com.android.ide.common.rendering.api.ArrayResourceValue
Constructs a new ArrayResourceValue
AttrResourceValue - Class in com.android.ide.common.rendering.api
A Resource value representing an attr resource.
AttrResourceValue(ResourceType, String, boolean) - Constructor for class com.android.ide.common.rendering.api.AttrResourceValue
 

B

Bridge - Class in com.android.ide.common.rendering.api
Entry point of the Layout Library.
Bridge() - Constructor for class com.android.ide.common.rendering.api.Bridge
 

C

Capability - Enum in com.android.ide.common.rendering.api
Enum describing the layout bridge capabilities.
clearCaches(Object) - Method in class com.android.ide.common.rendering.api.Bridge
Clears the resource cache for a specific project.
clearCaches(Object) - Method in interface com.android.layoutlib.api.ILayoutBridge
Deprecated. Clears the resource cache for a specific project.
com.android.ide.common.rendering.api - package com.android.ide.common.rendering.api
 
com.android.layoutlib.api - package com.android.layoutlib.api
 
com.android.resources - package com.android.resources
 
com.android.util - package com.android.util
 
computeLayout(IXmlPullParser, Object, int, int, boolean, int, float, float, String, boolean, Map<String, Map<String, IResourceValue>>, Map<String, Map<String, IResourceValue>>, IProjectCallback, ILayoutLog) - Method in interface com.android.layoutlib.api.ILayoutBridge
Deprecated. use Bridge.createSession(com.android.ide.common.rendering.api.SessionParams)
computeLayout(IXmlPullParser, Object, int, int, int, float, float, String, boolean, Map<String, Map<String, IResourceValue>>, Map<String, Map<String, IResourceValue>>, IProjectCallback, ILayoutLog) - Method in interface com.android.layoutlib.api.ILayoutBridge
Deprecated. use Bridge.createSession(com.android.ide.common.rendering.api.SessionParams)
computeLayout(IXmlPullParser, Object, int, int, String, boolean, Map<String, Map<String, IResourceValue>>, Map<String, Map<String, IResourceValue>>, IProjectCallback, ILayoutLog) - Method in interface com.android.layoutlib.api.ILayoutBridge
Deprecated. use Bridge.createSession(com.android.ide.common.rendering.api.SessionParams)
computeLayout(IXmlPullParser, Object, int, int, String, Map<String, Map<String, IResourceValue>>, Map<String, Map<String, IResourceValue>>, IProjectCallback, ILayoutLog) - Method in interface com.android.layoutlib.api.ILayoutBridge
Deprecated. use Bridge.createSession(com.android.ide.common.rendering.api.SessionParams)
createResult() - Method in enum com.android.ide.common.rendering.api.Result.Status
Returns a Result object with this status.
createResult(Object) - Method in enum com.android.ide.common.rendering.api.Result.Status
Returns a Result object with this status, and the given data.
createResult(String, Throwable) - Method in enum com.android.ide.common.rendering.api.Result.Status
Returns a Result.Status.ERROR_UNKNOWN result with the given message and throwable
createResult(String) - Method in enum com.android.ide.common.rendering.api.Result.Status
Returns a Result.Status.ERROR_UNKNOWN result with the given message
createSession(SessionParams) - Method in class com.android.ide.common.rendering.api.Bridge
Starts a layout session by inflating and rendering it.

D

DataBindingItem - Class in com.android.ide.common.rendering.api
A data binding item.
DataBindingItem(ResourceReference, int) - Constructor for class com.android.ide.common.rendering.api.DataBindingItem
 
DataBindingItem(String, boolean, int) - Constructor for class com.android.ide.common.rendering.api.DataBindingItem
 
DataBindingItem(String, boolean) - Constructor for class com.android.ide.common.rendering.api.DataBindingItem
 
DataBindingItem(String, int) - Constructor for class com.android.ide.common.rendering.api.DataBindingItem
 
DataBindingItem(String) - Constructor for class com.android.ide.common.rendering.api.DataBindingItem
 
DeclareStyleableResourceValue - Class in com.android.ide.common.rendering.api
Deprecated. This class is broken as it does not handle the namespace for each attribute. Thankfully, newer versions of layoutlib don't actually use it, so we just keep it as is for backward compatibility on older layoutlibs.
DeclareStyleableResourceValue(ResourceType, String, boolean) - Constructor for class com.android.ide.common.rendering.api.DeclareStyleableResourceValue
Deprecated.  
DEFAULT_DENSITY - Static variable in enum com.android.resources.Density
 
DEFAULT_TIMEOUT - Static variable in class com.android.ide.common.rendering.api.RenderParams
 
Density - Enum in com.android.resources
Density enum.
DensityBasedResourceValue - Class in com.android.ide.common.rendering.api
 
DensityBasedResourceValue(ResourceType, String, String, Density, boolean) - Constructor for class com.android.ide.common.rendering.api.DensityBasedResourceValue
 
dispose() - Method in class com.android.ide.common.rendering.api.Bridge
Prepares the layoutlib to unloaded.
dispose() - Method in class com.android.ide.common.rendering.api.RenderSession
Discards the layout.
dispose() - Method in interface com.android.layoutlib.api.ILayoutBridge
Deprecated. Prepares the layoutlib to unloaded.
done(Result) - Method in interface com.android.ide.common.rendering.api.IAnimationListener
Called when the animation is done playing.
DrawableParams - Class in com.android.ide.common.rendering.api
Rendering parameters for Bridge.renderDrawable(DrawableParams)
DrawableParams(ResourceValue, Object, HardwareConfig, RenderResources, IProjectCallback, int, int, LayoutLog) - Constructor for class com.android.ide.common.rendering.api.DrawableParams
Builds a param object with all the necessary parameters to render a drawable with Bridge.renderDrawable(DrawableParams)
DrawableParams(DrawableParams) - Constructor for class com.android.ide.common.rendering.api.DrawableParams
 

E

equals(Object) - Method in class com.android.ide.common.rendering.api.DensityBasedResourceValue
 
equals(Object) - Method in class com.android.ide.common.rendering.api.ResourceReference
 
equals(Object) - Method in class com.android.ide.common.rendering.api.ResourceValue
 
equals(Object) - Method in class com.android.util.Pair
Deprecated.  
error(String, String, Object) - Method in class com.android.ide.common.rendering.api.LayoutLog
Logs an error.
error(String, String, Throwable, Object) - Method in class com.android.ide.common.rendering.api.LayoutLog
Logs an error, and the Throwable that triggered it.
error(String) - Method in interface com.android.layoutlib.api.ILayoutLog
Deprecated. Logs an error message.
error(Throwable) - Method in interface com.android.layoutlib.api.ILayoutLog
Deprecated. Logs an exception
ERROR - Static variable in interface com.android.layoutlib.api.ILayoutResult
Deprecated. Error return code, in which case an error message is guaranteed to be defined.

F

FD_RES_ANIM - Static variable in class com.android.resources.ResourceConstants
Default anim resource folder name, i.e.
FD_RES_ANIMATOR - Static variable in class com.android.resources.ResourceConstants
Default animator resource folder name, i.e.
FD_RES_COLOR - Static variable in class com.android.resources.ResourceConstants
Default color resource folder name, i.e.
FD_RES_DRAWABLE - Static variable in class com.android.resources.ResourceConstants
Default drawable resource folder name, i.e.
FD_RES_INTERPOLATOR - Static variable in class com.android.resources.ResourceConstants
Default interpolator resource folder name, i.e.
FD_RES_LAYOUT - Static variable in class com.android.resources.ResourceConstants
Default layout resource folder name, i.e.
FD_RES_MENU - Static variable in class com.android.resources.ResourceConstants
Default menu resource folder name, i.e.
FD_RES_MIPMAP - Static variable in class com.android.resources.ResourceConstants
Default menu resource folder name, i.e.
FD_RES_RAW - Static variable in class com.android.resources.ResourceConstants
Default raw resource folder name, i.e.
FD_RES_TRANSITION - Static variable in class com.android.resources.ResourceConstants
Default transition resource folder name, i.e.
FD_RES_VALUES - Static variable in class com.android.resources.ResourceConstants
Default values resource folder name, i.e.
FD_RES_XML - Static variable in class com.android.resources.ResourceConstants
Default xml resource folder name, i.e.
fidelityWarning(String, String, Throwable, Object) - Method in class com.android.ide.common.rendering.api.LayoutLog
Logs a fidelity warning.
findItem(String) - Method in class com.android.ide.common.rendering.api.StyleResourceValue
Deprecated. use ResourceValue.getValue()
findItem(String) - Method in interface com.android.layoutlib.api.IStyleResourceValue
Deprecated. use StyleResourceValue.findValue(String)
findItemInStyle(StyleResourceValue, String) - Method in class com.android.ide.common.rendering.api.RenderResources
Deprecated. Use RenderResources.findItemInStyle(StyleResourceValue, String, boolean) since this method doesn't know the item namespace.
findItemInStyle(StyleResourceValue, String, boolean) - Method in class com.android.ide.common.rendering.api.RenderResources
Returns the ResourceValue matching a given attribute in a given style.
findItemInTheme(String) - Method in class com.android.ide.common.rendering.api.RenderResources
Deprecated. Use RenderResources.findItemInTheme(String, boolean)
findItemInTheme(String, boolean) - Method in class com.android.ide.common.rendering.api.RenderResources
Returns the ResourceValue matching a given attribute in the current theme.
findResValue(String, boolean) - Method in class com.android.ide.common.rendering.api.RenderResources
Searches for, and returns a ResourceValue by its reference.
findValue(String) - Method in class com.android.ide.common.rendering.api.StyleResourceValue
Deprecated. use StyleResourceValue.findValue(String, boolean)
findValue(String, boolean) - Method in class com.android.ide.common.rendering.api.StyleResourceValue
Finds a value in the list by name
FolderTypeRelationship - Class in com.android.resources
This class gives access to the bidirectional relationship between ResourceType and ResourceFolderType.
FolderTypeRelationship() - Constructor for class com.android.resources.FolderTypeRelationship
 

G

getAdapterBinding(ResourceReference, Object, Object) - Method in interface com.android.ide.common.rendering.api.IProjectCallback
Returns an adapter binding for a given adapter view.
getAdapterBindings() - Method in class com.android.ide.common.rendering.api.SessionParams
 
getAdapterItemValue(ResourceReference, Object, ResourceReference, int, int, int, int, ResourceReference, IProjectCallback.ViewAttribute, Object) - Method in interface com.android.ide.common.rendering.api.IProjectCallback
Returns the value of an item used by an adapter.
getAllAttributes() - Method in class com.android.ide.common.rendering.api.DeclareStyleableResourceValue
Deprecated.  
getApiLevel() - Method in class com.android.ide.common.rendering.api.Bridge
Returns the API level of the layout library.
getApiLevel() - Method in interface com.android.layoutlib.api.ILayoutBridge
Deprecated. Returns the API level of the layout library.
getAppIcon() - Method in class com.android.ide.common.rendering.api.RenderParams
 
getAppLabel() - Method in class com.android.ide.common.rendering.api.RenderParams
 
getAttributeClass() - Method in enum com.android.ide.common.rendering.api.IProjectCallback.ViewAttribute
 
getAttributeValues() - Method in class com.android.ide.common.rendering.api.AttrResourceValue
Return the enum/flag integer values.
getAttributeValues(String) - Method in class com.android.ide.common.rendering.api.DeclareStyleableResourceValue
Deprecated. Return the enum/flag integer value for a given attribute.
getBaseLine() - Method in class com.android.ide.common.rendering.api.ViewInfo
Returns the baseline value.
getBottom() - Method in class com.android.ide.common.rendering.api.ViewInfo
Returns the bottom of the view bounds, relative to the view parent bounds.
getBottom() - Method in interface com.android.layoutlib.api.ILayoutResult.ILayoutViewInfo
Deprecated. Returns the bottom of the view bounds.
getBottomMargin() - Method in class com.android.ide.common.rendering.api.ViewInfo
Returns the bottom margin value.
getByIndex(int) - Static method in enum com.android.resources.Density
 
getByIndex(int) - Static method in enum com.android.resources.Keyboard
 
getByIndex(int) - Static method in enum com.android.resources.KeyboardState
 
getByIndex(int) - Static method in enum com.android.resources.LayoutDirection
 
getByIndex(int) - Static method in enum com.android.resources.Navigation
 
getByIndex(int) - Static method in enum com.android.resources.NavigationState
 
getByIndex(int) - Static method in enum com.android.resources.NightMode
 
getByIndex(int) - Static method in enum com.android.resources.ScreenOrientation
 
getByIndex(int) - Static method in enum com.android.resources.ScreenRatio
 
getByIndex(int) - Static method in enum com.android.resources.ScreenSize
 
getByIndex(int) - Static method in enum com.android.resources.TouchScreen
 
getByIndex(int) - Static method in enum com.android.resources.UiMode
 
getCapabilities() - Method in class com.android.ide.common.rendering.api.Bridge
Returns an EnumSet of the supported Capability.
getChildren() - Method in class com.android.ide.common.rendering.api.DataBindingItem
 
getChildren() - Method in class com.android.ide.common.rendering.api.ViewInfo
Returns the list of children views.
getChildren() - Method in interface com.android.layoutlib.api.ILayoutResult.ILayoutViewInfo
Deprecated. Returns the list of children views.
getClassName() - Method in class com.android.ide.common.rendering.api.ViewInfo
Returns the class name of the view object.
getConfigScreenSize() - Method in class com.android.ide.common.rendering.api.RenderParams
Deprecated. Use RenderParams.getHardwareConfig()
getCookie() - Method in class com.android.ide.common.rendering.api.MergeCookie
 
getCookie() - Method in class com.android.ide.common.rendering.api.ViewInfo
Returns the cookie associated with the XML node.
getCopyWithData(Object) - Method in class com.android.ide.common.rendering.api.Result
Returns a copy of the current result with the added (or replaced) given data
getCount() - Method in class com.android.ide.common.rendering.api.DataBindingItem
The repeat count for this object or the repeat count for the children if there are any.
getCurrentTheme() - Method in class com.android.ide.common.rendering.api.RenderResources
Returns the StyleResourceValue representing the current theme.
getData() - Method in class com.android.ide.common.rendering.api.Result
Returns the optional data bundle stored in the result object.
getDefaultIndex() - Method in class com.android.ide.common.rendering.api.ArrayResourceValue
Returns the index of the element to pick by default if a client of layoutlib asks for the ArrayResourceValue.getValue() rather than the more specific ArrayResourceValue iteration methods
getDefaultProperties(Object) - Method in class com.android.ide.common.rendering.api.RenderSession
Returns a map of (XML attribute name, attribute value) containing only default attribute values, for the given view Object.
getDensity() - Method in class com.android.ide.common.rendering.api.DensityBasedResourceValue
Deprecated. use DensityBasedResourceValue.getResourceDensity() instead.
getDensity() - Method in class com.android.ide.common.rendering.api.HardwareConfig
 
getDensity() - Method in class com.android.ide.common.rendering.api.RenderParams
Deprecated. Use RenderParams.getHardwareConfig()
getDensity() - Method in interface com.android.layoutlib.api.IDensityBasedResourceValue
Deprecated. use DensityBasedResourceValue.getResourceDensity()
getDisplayName() - Method in enum com.android.resources.ResourceType
Returns a translated display name for the resource type.
getDpiValue() - Method in enum com.android.resources.Density
 
getDrawable() - Method in class com.android.ide.common.rendering.api.DrawableParams
 
getElement(int) - Method in class com.android.ide.common.rendering.api.ArrayResourceValue
Returns the array element value at the given index position.
getElementCount() - Method in class com.android.ide.common.rendering.api.ArrayResourceValue
Returns the number of elements in this array
getEnum(int) - Static method in enum com.android.layoutlib.api.IDensityBasedResourceValue.Density
Deprecated. Returns the enum matching the given density value
getEnum(String) - Static method in enum com.android.resources.Density
Returns the enum matching the provided qualifier value.
getEnum(int) - Static method in enum com.android.resources.Density
Returns the enum matching the given density value
getEnum(String) - Static method in enum com.android.resources.Keyboard
Returns the enum for matching the provided qualifier value.
getEnum(String) - Static method in enum com.android.resources.KeyboardState
Returns the enum for matching the provided qualifier value.
getEnum(String) - Static method in enum com.android.resources.LayoutDirection
Returns the enum for matching the provided qualifier value.
getEnum(String) - Static method in enum com.android.resources.Navigation
Returns the enum for matching the provided qualifier value.
getEnum(String) - Static method in enum com.android.resources.NavigationState
Returns the enum for matching the provided qualifier value.
getEnum(String) - Static method in enum com.android.resources.NightMode
Returns the enum for matching the provided qualifier value.
getEnum(String) - Static method in enum com.android.resources.ResourceType
Returns the enum by its name as it appears in the XML or the R class.
getEnum(String) - Static method in enum com.android.resources.ScreenOrientation
Returns the enum for matching the provided qualifier value.
getEnum(String) - Static method in enum com.android.resources.ScreenRatio
Returns the enum for matching the provided qualifier value.
getEnum(String) - Static method in enum com.android.resources.ScreenSize
Returns the enum for matching the provided qualifier value.
getEnum(String) - Static method in enum com.android.resources.TouchScreen
Returns the enum for matching the provided qualifier value.
getEnum(String) - Static method in enum com.android.resources.UiMode
Returns the enum for matching the provided qualifier value.
getErrorMessage() - Method in class com.android.ide.common.rendering.api.Result
Returns the error message.
getErrorMessage() - Method in interface com.android.layoutlib.api.ILayoutResult
Deprecated. Returns the error message.
getException() - Method in class com.android.ide.common.rendering.api.Result
Returns the exception.
getExtendedViewInfoMode() - Method in class com.android.ide.common.rendering.api.SessionParams
 
getFirst() - Method in class com.android.util.Pair
Deprecated. Return the first item in the pair
getFolderType(String) - Static method in enum com.android.resources.ResourceFolderType
Returns the ResourceFolderType from the folder name
getFooterAt(int) - Method in class com.android.ide.common.rendering.api.AdapterBinding
 
getFooterCount() - Method in class com.android.ide.common.rendering.api.AdapterBinding
 
getFrameworkResource(ResourceType, String) - Method in class com.android.ide.common.rendering.api.RenderResources
Returns a framework resource by type and name.
getHardwareConfig() - Method in class com.android.ide.common.rendering.api.RenderParams
 
getHeaderAt(int) - Method in class com.android.ide.common.rendering.api.AdapterBinding
 
getHeaderCount() - Method in class com.android.ide.common.rendering.api.AdapterBinding
 
getId(ResourceType, String) - Method in class com.android.ide.common.rendering.api.RenderResources.FrameworkResourceIdProvider
 
getImage(int, int) - Method in interface com.android.ide.common.rendering.api.IImageFactory
Creates a buffered image with the given size
getImage() - Method in class com.android.ide.common.rendering.api.RenderSession
Returns the rendering of the full layout.
getImage() - Method in interface com.android.layoutlib.api.ILayoutResult
Deprecated. Returns the rendering of the full layout.
getImageFactory() - Method in class com.android.ide.common.rendering.api.RenderParams
 
getIndex(Density) - Static method in enum com.android.resources.Density
 
getIndex(Keyboard) - Static method in enum com.android.resources.Keyboard
 
getIndex(KeyboardState) - Static method in enum com.android.resources.KeyboardState
 
getIndex(LayoutDirection) - Static method in enum com.android.resources.LayoutDirection
 
getIndex(Navigation) - Static method in enum com.android.resources.Navigation
 
getIndex(NavigationState) - Static method in enum com.android.resources.NavigationState
 
getIndex(NightMode) - Static method in enum com.android.resources.NightMode
 
getIndex(ScreenOrientation) - Static method in enum com.android.resources.ScreenOrientation
 
getIndex(ScreenRatio) - Static method in enum com.android.resources.ScreenRatio
 
getIndex(ScreenSize) - Static method in enum com.android.resources.ScreenSize
 
getIndex(TouchScreen) - Static method in enum com.android.resources.TouchScreen
 
getIndex(UiMode) - Static method in enum com.android.resources.UiMode
 
getItemAt(int) - Method in class com.android.ide.common.rendering.api.AdapterBinding
 
getItemCount() - Method in class com.android.ide.common.rendering.api.AdapterBinding
 
getLayoutDescription() - Method in class com.android.ide.common.rendering.api.SessionParams
 
getLayoutParamsObject() - Method in class com.android.ide.common.rendering.api.ViewInfo
Returns the actual android.view.ViewGroup$LayoutParams (or child class) object.
getLeft() - Method in class com.android.ide.common.rendering.api.ViewInfo
Returns the left of the view bounds, relative to the view parent bounds.
getLeft() - Method in interface com.android.layoutlib.api.ILayoutResult.ILayoutViewInfo
Deprecated. Returns the left of the view bounds.
getLeftMargin() - Method in class com.android.ide.common.rendering.api.ViewInfo
Returns the left margin value.
getLegacyValue() - Method in enum com.android.resources.Density
 
getLocale() - Method in class com.android.ide.common.rendering.api.RenderParams
 
getLog() - Method in class com.android.ide.common.rendering.api.RenderParams
 
getLongDisplayValue() - Method in enum com.android.resources.Density
 
getLongDisplayValue() - Method in enum com.android.resources.Keyboard
 
getLongDisplayValue() - Method in enum com.android.resources.KeyboardState
 
getLongDisplayValue() - Method in enum com.android.resources.LayoutDirection
 
getLongDisplayValue() - Method in enum com.android.resources.Navigation
 
getLongDisplayValue() - Method in enum com.android.resources.NavigationState
 
getLongDisplayValue() - Method in enum com.android.resources.NightMode
 
getLongDisplayValue() - Method in interface com.android.resources.ResourceEnum
Returns a long string for display value.
getLongDisplayValue() - Method in enum com.android.resources.ScreenOrientation
 
getLongDisplayValue() - Method in enum com.android.resources.ScreenRatio
 
getLongDisplayValue() - Method in enum com.android.resources.ScreenSize
 
getLongDisplayValue() - Method in enum com.android.resources.TouchScreen
 
getLongDisplayValue() - Method in enum com.android.resources.UiMode
 
getMinSdkVersion() - Method in class com.android.ide.common.rendering.api.RenderParams
 
getName() - Method in class com.android.ide.common.rendering.api.ResourceReference
Returns the name of the resource, as defined in the XML.
getName() - Method in interface com.android.layoutlib.api.ILayoutResult.ILayoutViewInfo
Deprecated. Returns the name of the view.
getName() - Method in interface com.android.layoutlib.api.IResourceValue
Deprecated. Returns the name of the resource, as defined in the XML.
getName() - Method in enum com.android.resources.ResourceFolderType
Returns the folder name for this resource folder type.
getName() - Method in enum com.android.resources.ResourceType
Returns the resource type name, as used by XML files.
getNames() - Method in class com.android.ide.common.rendering.api.StyleResourceValue
Returns the names available in this style, intended for diagnostic purposes
getNames() - Static method in enum com.android.resources.ResourceType
Returns an array with all the names defined by this enum.
getNamespace() - Method in interface com.android.ide.common.rendering.api.IProjectCallback
Returns the namespace of the application.
getNamespace() - Method in interface com.android.layoutlib.api.IProjectCallback
Deprecated. Returns the namespace of the application.
getOrientation() - Method in class com.android.ide.common.rendering.api.HardwareConfig
 
getOverrideBgColor() - Method in class com.android.ide.common.rendering.api.RenderParams
 
getParentStyle() - Method in class com.android.ide.common.rendering.api.StyleResourceValue
Returns the parent style name or null if unknown.
getParentStyle() - Method in interface com.android.layoutlib.api.IStyleResourceValue
Deprecated. Returns the parent style name or null if unknown.
getParser(String) - Method in interface com.android.ide.common.rendering.api.ILayoutPullParser
Deprecated. use IProjectCallback.getParser(String) instead
getParser(String) - Method in interface com.android.ide.common.rendering.api.IProjectCallback
Deprecated. This is replaced by IProjectCallback.getParser(ResourceValue) but older version of the layoutlib (before API7) will still call this method.
getParser(ResourceValue) - Method in interface com.android.ide.common.rendering.api.IProjectCallback
Returns a custom parser for a given layout.
getPluralsCount() - Method in class com.android.ide.common.rendering.api.PluralsResourceValue
Returns the number of plural string
getProjectCallback() - Method in class com.android.ide.common.rendering.api.RenderParams
 
getProjectKey() - Method in class com.android.ide.common.rendering.api.RenderParams
 
getProjectResource(ResourceType, String) - Method in class com.android.ide.common.rendering.api.RenderResources
Returns a project resource by type and name.
getProperty(Object, String) - Method in class com.android.ide.common.rendering.api.RenderSession
returns the value of a given property on a given object.
getQuantity(int) - Method in class com.android.ide.common.rendering.api.PluralsResourceValue
Returns the quantity at the given index, such as "one", "two", "few", etc.
getRelatedFolders(ResourceType) - Static method in class com.android.resources.FolderTypeRelationship
Returns a list of ResourceFolderType that can contain files generating resources of the specified type.
getRelatedResourceTypes(ResourceFolderType) - Static method in class com.android.resources.FolderTypeRelationship
Returns a list of ResourceTypes that can be generated from files inside a folder of the specified type.
getRenderingMode() - Method in class com.android.ide.common.rendering.api.SessionParams
 
getRepeatCount() - Method in class com.android.ide.common.rendering.api.AdapterBinding
 
getResourceDensity() - Method in class com.android.ide.common.rendering.api.DensityBasedResourceValue
Returns the density for which this resource is configured.
getResourceId(ResourceType, String) - Method in interface com.android.ide.common.rendering.api.IProjectCallback
Returns the id of a resource.
getResources() - Method in class com.android.ide.common.rendering.api.RenderParams
 
getResourceType() - Method in class com.android.ide.common.rendering.api.ResourceValue
 
getResourceValue(String, String) - Method in interface com.android.layoutlib.api.IProjectCallback
Deprecated. Returns the id of a resource.
getResourceValue() - Method in enum com.android.resources.Density
 
getResourceValue() - Method in enum com.android.resources.Keyboard
 
getResourceValue() - Method in enum com.android.resources.KeyboardState
 
getResourceValue() - Method in enum com.android.resources.LayoutDirection
 
getResourceValue() - Method in enum com.android.resources.Navigation
 
getResourceValue() - Method in enum com.android.resources.NavigationState
 
getResourceValue() - Method in enum com.android.resources.NightMode
 
getResourceValue() - Method in interface com.android.resources.ResourceEnum
Returns the resource string.
getResourceValue() - Method in enum com.android.resources.ScreenOrientation
 
getResourceValue() - Method in enum com.android.resources.ScreenRatio
 
getResourceValue() - Method in enum com.android.resources.ScreenSize
 
getResourceValue() - Method in enum com.android.resources.TouchScreen
 
getResourceValue() - Method in enum com.android.resources.UiMode
 
getResult() - Method in class com.android.ide.common.rendering.api.RenderSession
Returns the last operation result.
getRevision() - Method in class com.android.ide.common.rendering.api.Bridge
Returns the revision of the library inside a given (layoutlib) API level.
getRight() - Method in class com.android.ide.common.rendering.api.ViewInfo
Returns the right of the view bounds, relative to the view parent bounds.
getRight() - Method in interface com.android.layoutlib.api.ILayoutResult.ILayoutViewInfo
Deprecated. Returns the right of the view bounds.
getRightMargin() - Method in class com.android.ide.common.rendering.api.ViewInfo
Returns the right margin value.
getRootView() - Method in interface com.android.layoutlib.api.ILayoutResult
Deprecated. Returns the ILayoutResult.ILayoutViewInfo object for the top level view.
getRootViews() - Method in class com.android.ide.common.rendering.api.RenderSession
Returns the ViewInfo objects for the top level views.
getScreenHeight() - Method in class com.android.ide.common.rendering.api.HardwareConfig
 
getScreenHeight() - Method in class com.android.ide.common.rendering.api.RenderParams
Deprecated. Use RenderParams.getHardwareConfig()
getScreenSize() - Method in class com.android.ide.common.rendering.api.HardwareConfig
 
getScreenWidth() - Method in class com.android.ide.common.rendering.api.HardwareConfig
 
getScreenWidth() - Method in class com.android.ide.common.rendering.api.RenderParams
Deprecated. Use RenderParams.getHardwareConfig()
getSecond() - Method in class com.android.util.Pair
Deprecated. Return the second item in the pair
getShortDisplayValue() - Method in enum com.android.resources.Density
 
getShortDisplayValue() - Method in enum com.android.resources.Keyboard
 
getShortDisplayValue() - Method in enum com.android.resources.KeyboardState
 
getShortDisplayValue() - Method in enum com.android.resources.LayoutDirection
 
getShortDisplayValue() - Method in enum com.android.resources.Navigation
 
getShortDisplayValue() - Method in enum com.android.resources.NavigationState
 
getShortDisplayValue() - Method in enum com.android.resources.NightMode
 
getShortDisplayValue() - Method in interface com.android.resources.ResourceEnum
Returns a short string for display value.
getShortDisplayValue() - Method in enum com.android.resources.ScreenOrientation
 
getShortDisplayValue() - Method in enum com.android.resources.ScreenRatio
 
getShortDisplayValue() - Method in enum com.android.resources.ScreenSize
 
getShortDisplayValue() - Method in enum com.android.resources.TouchScreen
 
getShortDisplayValue() - Method in enum com.android.resources.UiMode
 
getStatus() - Method in class com.android.ide.common.rendering.api.Result
Returns the status.
getSuccess() - Method in interface com.android.layoutlib.api.ILayoutResult
Deprecated. Returns the result code.
getTargetSdkVersion() - Method in class com.android.ide.common.rendering.api.RenderParams
 
getTheme(String, boolean) - Method in class com.android.ide.common.rendering.api.RenderResources
Returns a theme by its name.
getTimeout() - Method in class com.android.ide.common.rendering.api.RenderParams
 
getTop() - Method in class com.android.ide.common.rendering.api.ViewInfo
Returns the top of the view bounds, relative to the view parent bounds.
getTop() - Method in interface com.android.layoutlib.api.ILayoutResult.ILayoutViewInfo
Deprecated. Returns the top of the view bounds.
getTopMargin() - Method in class com.android.ide.common.rendering.api.ViewInfo
Returns the top margin value.
getType() - Method in class com.android.ide.common.rendering.api.ResourceValue
Deprecated. use ResourceValue.getResourceType() instead.
getType() - Method in interface com.android.layoutlib.api.IResourceValue
Deprecated. Returns the type of the resource.
getTypeByName(String) - Static method in enum com.android.resources.ResourceFolderType
Returns the enum by name.
getValue() - Method in class com.android.ide.common.rendering.api.ArrayResourceValue
 
getValue(int) - Method in class com.android.ide.common.rendering.api.PluralsResourceValue
Returns the string element at the given index position.
getValue(String) - Method in class com.android.ide.common.rendering.api.PluralsResourceValue
Returns the string element for the given quantity
getValue() - Method in class com.android.ide.common.rendering.api.PluralsResourceValue
 
getValue() - Method in class com.android.ide.common.rendering.api.ResourceValue
Returns the value of the resource, as defined in the XML.
getValue() - Method in enum com.android.layoutlib.api.IDensityBasedResourceValue.Density
Deprecated.  
getValue() - Method in interface com.android.layoutlib.api.IResourceValue
Deprecated. Returns the value of the resource, as defined in the XML.
getViewBaseline(Object) - Method in class com.android.ide.common.rendering.api.Bridge
Deprecated. use the extended ViewInfo.
getViewCookie() - Method in interface com.android.ide.common.rendering.api.ILayoutPullParser
Returns a cookie for the current XML node.
getViewIndex(Object) - Method in class com.android.ide.common.rendering.api.Bridge
Utility method returning the index of a given view in its parent.
getViewKey() - Method in interface com.android.layoutlib.api.ILayoutResult.ILayoutViewInfo
Deprecated. Returns the key associated with the node.
getViewKey() - Method in interface com.android.layoutlib.api.IXmlPullParser
Deprecated. Returns a key for the current XML node.
getViewObject() - Method in class com.android.ide.common.rendering.api.ViewInfo
Returns the actual android.view.View (or child class) object.
getViewParent(Object) - Method in class com.android.ide.common.rendering.api.Bridge
Utility method returning the parent of a given view object.
getViewReference() - Method in class com.android.ide.common.rendering.api.DataBindingItem
Returns the ResourceReference for the view.
getXdpi() - Method in class com.android.ide.common.rendering.api.HardwareConfig
 
getXdpi() - Method in class com.android.ide.common.rendering.api.RenderParams
Deprecated. Use RenderParams.getHardwareConfig()
getYdpi() - Method in class com.android.ide.common.rendering.api.HardwareConfig
 
getYdpi() - Method in class com.android.ide.common.rendering.api.RenderParams
Deprecated. Use RenderParams.getHardwareConfig()

H

HardwareConfig - Class in com.android.ide.common.rendering.api
Hardware configuration for the rendering.
HardwareConfig(int, int, Density, float, float, ScreenSize, ScreenOrientation, boolean) - Constructor for class com.android.ide.common.rendering.api.HardwareConfig
 
hashCode() - Method in class com.android.ide.common.rendering.api.DensityBasedResourceValue
 
hashCode() - Method in class com.android.ide.common.rendering.api.ResourceReference
 
hashCode() - Method in class com.android.ide.common.rendering.api.ResourceValue
 
hashCode() - Method in class com.android.util.Pair
Deprecated.  
hasSoftwareButtons() - Method in class com.android.ide.common.rendering.api.HardwareConfig
 

I

IAnimationListener - Interface in com.android.ide.common.rendering.api
 
IDensityBasedResourceValue - Interface in com.android.layoutlib.api
Deprecated. use DensityBasedResourceValue.
IDensityBasedResourceValue.Density - Enum in com.android.layoutlib.api
Deprecated. use Density.
IImageFactory - Interface in com.android.ide.common.rendering.api
Image Factory Interface.
ILayoutBridge - Interface in com.android.layoutlib.api
Deprecated. Extend Bridge instead.
ILayoutLog - Interface in com.android.layoutlib.api
Deprecated. use LayoutLog.
ILayoutPullParser - Interface in com.android.ide.common.rendering.api
Extended version of XmlPullParser to use with Bridge.createSession(SessionParams)
ILayoutResult - Interface in com.android.layoutlib.api
Deprecated. use RenderSession as returned by Bridge.createSession(com.android.ide.common.rendering.api.SessionParams)
ILayoutResult.ILayoutViewInfo - Interface in com.android.layoutlib.api
Deprecated.  
init(Map<String, String>, File, Map<String, Map<String, Integer>>, LayoutLog) - Method in class com.android.ide.common.rendering.api.Bridge
Initializes the Bridge object.
init(String, Map<String, Map<String, Integer>>) - Method in interface com.android.layoutlib.api.ILayoutBridge
Deprecated. Initializes the Bridge object.
insertChild(Object, ILayoutPullParser, int, IAnimationListener) - Method in class com.android.ide.common.rendering.api.RenderSession
Inserts a new child in a ViewGroup object, and renders the result.
IProjectCallback - Interface in com.android.ide.common.rendering.api
Callback for project information needed by the Layout Library.
IProjectCallback - Interface in com.android.layoutlib.api
Deprecated.  
IProjectCallback.ViewAttribute - Enum in com.android.ide.common.rendering.api
 
IResourceValue - Interface in com.android.layoutlib.api
Deprecated. use ResourceValue.
isAlphaChannelImage() - Method in class com.android.ide.common.rendering.api.RenderSession
Returns true if the current image alpha channel is relevant.
isBgColorOverridden() - Method in class com.android.ide.common.rendering.api.RenderParams
 
isCanceled() - Method in interface com.android.ide.common.rendering.api.IAnimationListener
Return true to cancel the animation.
isFakeValue() - Method in enum com.android.resources.Density
 
isFakeValue() - Method in enum com.android.resources.Keyboard
 
isFakeValue() - Method in enum com.android.resources.KeyboardState
 
isFakeValue() - Method in enum com.android.resources.LayoutDirection
 
isFakeValue() - Method in enum com.android.resources.Navigation
 
isFakeValue() - Method in enum com.android.resources.NavigationState
 
isFakeValue() - Method in enum com.android.resources.NightMode
 
isFakeValue() - Method in interface com.android.resources.ResourceEnum
Whether the value is neither used for device nor resources.
isFakeValue() - Method in enum com.android.resources.ScreenOrientation
 
isFakeValue() - Method in enum com.android.resources.ScreenRatio
 
isFakeValue() - Method in enum com.android.resources.ScreenSize
 
isFakeValue() - Method in enum com.android.resources.TouchScreen
 
isFakeValue() - Method in enum com.android.resources.UiMode
 
isForceNoDecor() - Method in class com.android.ide.common.rendering.api.RenderParams
 
isFramework() - Method in class com.android.ide.common.rendering.api.ResourceReference
Returns whether the resource is a framework resource (true) or a project resource (false).
isFramework() - Method in interface com.android.layoutlib.api.IResourceValue
Deprecated. Returns whether the resource is a framework resource (true) or a project resource (false).
isHorizExpand() - Method in enum com.android.ide.common.rendering.api.SessionParams.RenderingMode
 
isLayoutOnly() - Method in class com.android.ide.common.rendering.api.SessionParams
 
isRtl(String) - Method in class com.android.ide.common.rendering.api.Bridge
Returns true if the character orientation of the locale is right to left.
isRtlSupported() - Method in class com.android.ide.common.rendering.api.RenderParams
 
isSuccess() - Method in class com.android.ide.common.rendering.api.Result
Returns whether the status is successful.
IStyleResourceValue - Interface in com.android.layoutlib.api
Deprecated. Use StyleResourceValue.
isValidValueForDevice() - Method in enum com.android.resources.Density
 
isValidValueForDevice() - Method in enum com.android.resources.Keyboard
 
isValidValueForDevice() - Method in enum com.android.resources.KeyboardState
 
isValidValueForDevice() - Method in enum com.android.resources.LayoutDirection
 
isValidValueForDevice() - Method in enum com.android.resources.Navigation
 
isValidValueForDevice() - Method in enum com.android.resources.NavigationState
 
isValidValueForDevice() - Method in enum com.android.resources.NightMode
 
isValidValueForDevice() - Method in interface com.android.resources.ResourceEnum
Whether the value actually used on device.
isValidValueForDevice() - Method in enum com.android.resources.ScreenOrientation
 
isValidValueForDevice() - Method in enum com.android.resources.ScreenRatio
 
isValidValueForDevice() - Method in enum com.android.resources.ScreenSize
 
isValidValueForDevice() - Method in enum com.android.resources.TouchScreen
 
isValidValueForDevice() - Method in enum com.android.resources.UiMode
 
isVertExpand() - Method in enum com.android.ide.common.rendering.api.SessionParams.RenderingMode
 
iterator() - Method in class com.android.ide.common.rendering.api.AdapterBinding
 
iterator() - Method in class com.android.ide.common.rendering.api.ArrayResourceValue
Returns an iterator over the resource values
iterator() - Method in class com.android.ide.common.rendering.api.DataBindingItem
 
IXmlPullParser - Interface in com.android.layoutlib.api
Deprecated.  

K

Keyboard - Enum in com.android.resources
Keyboard enum.
KeyboardState - Enum in com.android.resources
Keyboard state enum.

L

LayoutDirection - Enum in com.android.resources
Layout Direction enum.
LayoutLog - Class in com.android.ide.common.rendering.api
Log class for actions executed through Bridge and RenderSession.
LayoutLog() - Constructor for class com.android.ide.common.rendering.api.LayoutLog
 
loadView(String, Class[], Object[]) - Method in interface com.android.ide.common.rendering.api.IProjectCallback
Loads a custom view with the given constructor signature and arguments.
loadView(String, Class[], Object[]) - Method in interface com.android.layoutlib.api.IProjectCallback
Deprecated. Loads a custom view with the given constructor signature and arguments.

M

match(ResourceType, ResourceFolderType) - Static method in class com.android.resources.FolderTypeRelationship
Returns true if the ResourceType and the ResourceFolderType values match.
MergeCookie - Class in com.android.ide.common.rendering.api
Special wrapper class used in special case for ILayoutPullParser.getViewCookie().
MergeCookie(Object) - Constructor for class com.android.ide.common.rendering.api.MergeCookie
 
moveChild(Object, Object, int, Map<String, String>, IAnimationListener) - Method in class com.android.ide.common.rendering.api.RenderSession
Move a new child to a different ViewGroup object.
mValue - Variable in class com.android.ide.common.rendering.api.ResourceValue
 

N

Navigation - Enum in com.android.resources
Navigation enum.
NavigationState - Enum in com.android.resources
Navigation state enum.
NightMode - Enum in com.android.resources
Night enum.

O

of(S, T) - Static method in class com.android.util.Pair
Deprecated. Constructs a new pair of the given two objects, inferring generic types.
onNewFrame(RenderSession) - Method in interface com.android.ide.common.rendering.api.IAnimationListener
Called when a new animation frame is available for display.

P

Pair<S,T> - Class in com.android.util
Deprecated. This is used for backward compatibility with layoutlib-api. Use com.android.utils.Pair instead
PluralsResourceValue - Class in com.android.ide.common.rendering.api
Represents an android plurals resource
PluralsResourceValue(String, boolean) - Constructor for class com.android.ide.common.rendering.api.PluralsResourceValue
Constructs a new PluralsResourceValue

R

REFERENCE_NULL - Static variable in class com.android.ide.common.rendering.api.RenderResources
 
removeChild(Object, IAnimationListener) - Method in class com.android.ide.common.rendering.api.RenderSession
Removes a child from a ViewGroup object.
render() - Method in class com.android.ide.common.rendering.api.RenderSession
Re-renders the layout as-is.
render(long) - Method in class com.android.ide.common.rendering.api.RenderSession
Re-renders the layout as-is, with a given timeout in case other renderings are being done.
renderDrawable(DrawableParams) - Method in class com.android.ide.common.rendering.api.Bridge
Renders a Drawable.
RenderParams - Class in com.android.ide.common.rendering.api
Base class for rendering parameters.
RenderParams(Object, HardwareConfig, RenderResources, IProjectCallback, int, int, LayoutLog) - Constructor for class com.android.ide.common.rendering.api.RenderParams
 
RenderParams(RenderParams) - Constructor for class com.android.ide.common.rendering.api.RenderParams
Copy constructor.
RenderResources - Class in com.android.ide.common.rendering.api
A class containing all the resources needed to do a rendering.
RenderResources() - Constructor for class com.android.ide.common.rendering.api.RenderResources
 
RenderResources.FrameworkResourceIdProvider - Class in com.android.ide.common.rendering.api
 
RenderResources.FrameworkResourceIdProvider() - Constructor for class com.android.ide.common.rendering.api.RenderResources.FrameworkResourceIdProvider
 
RenderSession - Class in com.android.ide.common.rendering.api
An object allowing interaction with an Android layout.
RenderSession() - Constructor for class com.android.ide.common.rendering.api.RenderSession
 
replaceWith(ResourceValue) - Method in class com.android.ide.common.rendering.api.ResourceValue
Sets the value from another resource.
replaceWith(ResourceValue) - Method in class com.android.ide.common.rendering.api.StyleResourceValue
 
RES_QUALIFIER_SEP - Static variable in class com.android.resources.ResourceConstants
Separator between the resource folder qualifier.
resolveResourceId(int) - Method in interface com.android.ide.common.rendering.api.IProjectCallback
Resolves the id of a resource Id.
resolveResourceId(int[]) - Method in interface com.android.ide.common.rendering.api.IProjectCallback
Resolves the id of a resource Id of type int[]

The resource id is the value of a R.styleable.<name>, and this method will return the name of the resource.

resolveResourceValue(int) - Method in interface com.android.layoutlib.api.IProjectCallback
Deprecated. Resolves the id of a resource Id.
resolveResourceValue(int[]) - Method in interface com.android.layoutlib.api.IProjectCallback
Deprecated. Resolves the id of a resource Id of type int[]

The resource id is the value of a R.styleable.<name>, and this method will return the name of the resource.

resolveResValue(ResourceValue) - Method in class com.android.ide.common.rendering.api.RenderResources
Returns the ResourceValue referenced by the value of value.
resolveValue(ResourceType, String, String, boolean) - Method in class com.android.ide.common.rendering.api.RenderResources
Resolves the value of a resource, if the value references a theme or resource value.
ResourceConstants - Class in com.android.resources
Resource Constants.
ResourceConstants() - Constructor for class com.android.resources.ResourceConstants
 
ResourceEnum - Interface in com.android.resources
An enum representing a resource qualifier value.
ResourceFolderType - Enum in com.android.resources
Enum representing a type of resource folder.
ResourceReference - Class in com.android.ide.common.rendering.api
A resource reference.
ResourceReference(String, boolean) - Constructor for class com.android.ide.common.rendering.api.ResourceReference
Builds a resource reference.
ResourceReference(String) - Constructor for class com.android.ide.common.rendering.api.ResourceReference
Builds a non-framework resource reference.
ResourceType - Enum in com.android.resources
Enum representing a type of compiled resource.
ResourceValue - Class in com.android.ide.common.rendering.api
Represents an android resource with a name and a string value.
ResourceValue(ResourceType, String, boolean) - Constructor for class com.android.ide.common.rendering.api.ResourceValue
 
ResourceValue(ResourceType, String, String, boolean) - Constructor for class com.android.ide.common.rendering.api.ResourceValue
 
Result - Class in com.android.ide.common.rendering.api
Scene result class.
Result.Status - Enum in com.android.ide.common.rendering.api
Scene Status enum.

S

ScreenOrientation - Enum in com.android.resources
Screen Orientation enum.
ScreenRatio - Enum in com.android.resources
Screen Ratio enum.
ScreenSize - Enum in com.android.resources
Screen size enum.
SessionParams - Class in com.android.ide.common.rendering.api
Rendering parameters for a RenderSession.
SessionParams(ILayoutPullParser, SessionParams.RenderingMode, Object, HardwareConfig, RenderResources, IProjectCallback, int, int, LayoutLog) - Constructor for class com.android.ide.common.rendering.api.SessionParams
 
SessionParams(SessionParams) - Constructor for class com.android.ide.common.rendering.api.SessionParams
 
SessionParams.RenderingMode - Enum in com.android.ide.common.rendering.api
 
setAppIcon(String) - Method in class com.android.ide.common.rendering.api.RenderParams
 
setAppLabel(String) - Method in class com.android.ide.common.rendering.api.RenderParams
 
setChildren(List<ViewInfo>) - Method in class com.android.ide.common.rendering.api.ViewInfo
Sets the list of children ViewInfo.
setExtendedInfo(int, int, int, int, int) - Method in class com.android.ide.common.rendering.api.ViewInfo
 
setExtendedViewInfoMode(boolean) - Method in class com.android.ide.common.rendering.api.SessionParams
 
setForceNoDecor() - Method in class com.android.ide.common.rendering.api.RenderParams
 
setFrameworkResourceIdProvider(RenderResources.FrameworkResourceIdProvider) - Method in class com.android.ide.common.rendering.api.RenderResources
 
setImageFactory(IImageFactory) - Method in class com.android.ide.common.rendering.api.RenderParams
 
setLayoutOnly() - Method in class com.android.ide.common.rendering.api.SessionParams
 
setLocale(String) - Method in class com.android.ide.common.rendering.api.RenderParams
 
setLogger(LayoutLog) - Method in class com.android.ide.common.rendering.api.RenderResources
 
setOverrideBgColor(int) - Method in class com.android.ide.common.rendering.api.RenderParams
 
setProperty(Object, String, String) - Method in class com.android.ide.common.rendering.api.RenderSession
Sets the value of a given property on a given object.
setRtlSupport(boolean) - Method in class com.android.ide.common.rendering.api.RenderParams
 
setTimeout(long) - Method in class com.android.ide.common.rendering.api.RenderParams
 
setValue(String) - Method in class com.android.ide.common.rendering.api.ResourceValue
Sets the value of the resource.
since() - Method in enum com.android.resources.Density
 
StyleResourceValue - Class in com.android.ide.common.rendering.api
Represents an android style resource with a name and a list of children ResourceValue.
StyleResourceValue(ResourceType, String, boolean) - Constructor for class com.android.ide.common.rendering.api.StyleResourceValue
 
StyleResourceValue(ResourceType, String, String, boolean) - Constructor for class com.android.ide.common.rendering.api.StyleResourceValue
 
SUCCESS - Static variable in interface com.android.layoutlib.api.ILayoutResult
Deprecated. Success return code

T

TAG_BROKEN - Static variable in class com.android.ide.common.rendering.api.LayoutLog
Tag for error when something really unexpected happens.
TAG_COLORFILTER - Static variable in class com.android.ide.common.rendering.api.LayoutLog
Fidelity Tag used when a color filter type is used but is not supported.
TAG_DRAWFILTER - Static variable in class com.android.ide.common.rendering.api.LayoutLog
Fidelity Tag used when a draw filter type is used but is not supported.
TAG_MASKFILTER - Static variable in class com.android.ide.common.rendering.api.LayoutLog
Fidelity Tag used when a mask filter type is used but is not supported.
TAG_MATRIX_AFFINE - Static variable in class com.android.ide.common.rendering.api.LayoutLog
Fidelity Tag used when a non affine transformation matrix is used in a Java API.
TAG_MATRIX_INVERSE - Static variable in class com.android.ide.common.rendering.api.LayoutLog
Tag used when a matrix cannot be inverted.
TAG_MATRIX_PREFIX - Static variable in class com.android.ide.common.rendering.api.LayoutLog
Prefix for matrix warnings/errors.
TAG_PATHEFFECT - Static variable in class com.android.ide.common.rendering.api.LayoutLog
Fidelity Tag used when a path effect type is used but is not supported.
TAG_RASTERIZER - Static variable in class com.android.ide.common.rendering.api.LayoutLog
Fidelity Tag used when a rasterize type is used but is not supported.
TAG_RESOURCES_FORMAT - Static variable in class com.android.ide.common.rendering.api.LayoutLog
Tag for wrong format in a resource value.
TAG_RESOURCES_PREFIX - Static variable in class com.android.ide.common.rendering.api.LayoutLog
Prefix for resource warnings/errors.
TAG_RESOURCES_READ - Static variable in class com.android.ide.common.rendering.api.LayoutLog
Tag for failure when reading the content of a resource file.
TAG_RESOURCES_RESOLVE - Static variable in class com.android.ide.common.rendering.api.LayoutLog
Tag for resource resolution failure.
TAG_RESOURCES_RESOLVE_THEME_ATTR - Static variable in class com.android.ide.common.rendering.api.LayoutLog
Tag for resource resolution failure, specifically for theme attributes.
TAG_SHADER - Static variable in class com.android.ide.common.rendering.api.LayoutLog
Fidelity Tag used when a shader type is used but is not supported.
TAG_STRFTIME - Static variable in class com.android.ide.common.rendering.api.LayoutLog
Fidelity Tag used when an unrecognized format is found for strftime.
TAG_UNSUPPORTED - Static variable in class com.android.ide.common.rendering.api.LayoutLog
Tag for unsupported feature that can have a big impact on the rendering.
TAG_XFERMODE - Static variable in class com.android.ide.common.rendering.api.LayoutLog
Fidelity Tag used when a xfermode type is used but is not supported.
themeIsParentOf(StyleResourceValue, StyleResourceValue) - Method in class com.android.ide.common.rendering.api.RenderResources
Returns whether a theme is a parent of a given theme.
toString() - Method in class com.android.ide.common.rendering.api.DensityBasedResourceValue
 
toString() - Method in class com.android.ide.common.rendering.api.ResourceReference
 
toString() - Method in class com.android.ide.common.rendering.api.ResourceValue
 
toString() - Method in enum com.android.resources.ResourceType
 
toString() - Method in class com.android.util.Pair
Deprecated.  
TouchScreen - Enum in com.android.resources
Touch screen enum.

U

UiMode - Enum in com.android.resources
UI Mode enum.

V

valueOf(String) - Static method in enum com.android.ide.common.rendering.api.Capability
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.android.ide.common.rendering.api.IProjectCallback.ViewAttribute
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.android.ide.common.rendering.api.Result.Status
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.android.ide.common.rendering.api.SessionParams.RenderingMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.android.layoutlib.api.IDensityBasedResourceValue.Density
Deprecated. Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.android.resources.Density
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.android.resources.Keyboard
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.android.resources.KeyboardState
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.android.resources.LayoutDirection
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.android.resources.Navigation
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.android.resources.NavigationState
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.android.resources.NightMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.android.resources.ResourceFolderType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.android.resources.ResourceType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.android.resources.ScreenOrientation
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.android.resources.ScreenRatio
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.android.resources.ScreenSize
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.android.resources.TouchScreen
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.android.resources.UiMode
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.android.ide.common.rendering.api.Capability
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.android.ide.common.rendering.api.IProjectCallback.ViewAttribute
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.android.ide.common.rendering.api.Result.Status
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.android.ide.common.rendering.api.SessionParams.RenderingMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.android.layoutlib.api.IDensityBasedResourceValue.Density
Deprecated. Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.android.resources.Density
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.android.resources.Keyboard
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.android.resources.KeyboardState
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.android.resources.LayoutDirection
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.android.resources.Navigation
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.android.resources.NavigationState
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.android.resources.NightMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.android.resources.ResourceFolderType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.android.resources.ResourceType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.android.resources.ScreenOrientation
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.android.resources.ScreenRatio
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.android.resources.ScreenSize
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.android.resources.TouchScreen
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.android.resources.UiMode
Returns an array containing the constants of this enum type, in the order they are declared.
ViewInfo - Class in com.android.ide.common.rendering.api
Layout information for a specific view object
ViewInfo(String, Object, int, int, int, int) - Constructor for class com.android.ide.common.rendering.api.ViewInfo
 
ViewInfo(String, Object, int, int, int, int, Object, Object) - Constructor for class com.android.ide.common.rendering.api.ViewInfo
 

W

warning(String, String, Object) - Method in class com.android.ide.common.rendering.api.LayoutLog
Logs a warning.
warning(String) - Method in interface com.android.layoutlib.api.ILayoutLog
Deprecated. Logs a warning message.

A B C D E F G H I K L M N O P R S T U V W