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

A

ACTION_BAR - Static variable in class com.android.ide.common.rendering.api.Features
Ability to render ActionBar.
ActionBarCallback - Class in com.android.ide.common.rendering.api
Callback for Action Bar information needed by the Layout Library.
ActionBarCallback() - Constructor for class com.android.ide.common.rendering.api.ActionBarCallback
 
ActionBarCallback.HomeButtonStyle - Enum in com.android.ide.common.rendering.api
Types of navigation for home button.
ADAPTER_BINDING - Static variable in class com.android.ide.common.rendering.api.Features
 
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
 
addItem(ItemResourceValue) - Method in class com.android.ide.common.rendering.api.StyleResourceValue
 
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
 
addValue(ResourceValue, boolean, String) - 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.
ANIMATED_VIEW_MANIPULATION - Static variable in class com.android.ide.common.rendering.api.Features
Ability to manipulate views with animation, as long as the view does not change parent.
API_CURRENT - Static variable in class com.android.ide.common.rendering.api.Bridge
 
applyStyle(StyleResourceValue, boolean) - Method in class com.android.ide.common.rendering.api.RenderResources
Use this theme to resolve resources.
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
 
ArrayResourceValue(String, boolean, String) - Constructor for class com.android.ide.common.rendering.api.ArrayResourceValue
Constructs a new ArrayResourceValue
AssetRepository - Class in com.android.ide.common.rendering.api
Represents the interface for dealing with assets.
AssetRepository() - Constructor for class com.android.ide.common.rendering.api.AssetRepository
 
ATTR_MENU - Static variable in class com.android.ide.common.rendering.api.ActionBarCallback
 
ATTR_NAV_MODE - Static variable in class com.android.ide.common.rendering.api.ActionBarCallback
 
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
 
AttrResourceValue(ResourceType, String, boolean, String) - 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
Deprecated.
CHOREOGRAPHER - Static variable in class com.android.ide.common.rendering.api.Features
Ability to use choreographer animations.
clearCaches(Object) - Method in class com.android.ide.common.rendering.api.Bridge
Clears the resource cache for a specific project.
clearStyles() - Method in class com.android.ide.common.rendering.api.RenderResources
com.android.ide.common.rendering.api - package com.android.ide.common.rendering.api
 
com.android.resources - package com.android.resources
 
com.android.util - package com.android.util
 
createParser(String) - Method in class com.android.ide.common.rendering.api.ParserFactory
Creates a new XmlPullParser with an optional display name.
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.
CUSTOM_BACKGROUND_COLOR - Static variable in class com.android.ide.common.rendering.api.Features
Ability to override the background of the rendering with transparency using RenderParams.setOverrideBgColor(int)

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
A Resource value representing a declare-styleable resource.
DeclareStyleableResourceValue(ResourceType, String, boolean) - Constructor for class com.android.ide.common.rendering.api.DeclareStyleableResourceValue
 
DeclareStyleableResourceValue(ResourceType, String, boolean, String) - Constructor for class com.android.ide.common.rendering.api.DeclareStyleableResourceValue
 
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
 
DensityBasedResourceValue(ResourceType, String, String, Density, boolean, String) - 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.
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, LayoutlibCallback, 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

EMBEDDED_LAYOUT - Static variable in class com.android.ide.common.rendering.api.Features
Ability to control embedded layout parsers through ILayoutPullParser.getParser(String)
EMPTY_MAP - Static variable in class com.android.util.PropertiesMap
 
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.ide.common.rendering.api.SessionParams.Key
 
equals(Object) - Method in class com.android.ide.common.rendering.api.TextResourceValue
 
equals(Object) - Method in class com.android.util.Pair
Deprecated.
 
equals(Object) - Method in class com.android.util.PropertiesMap.Property
 
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.
EXTENDED_VIEWINFO - Static variable in class com.android.ide.common.rendering.api.Features
 

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.
Features - Class in com.android.ide.common.rendering.api
List of features describing the LayoutLib capabilities.
Features() - Constructor for class com.android.ide.common.rendering.api.Features
 
fidelityWarning(String, String, Throwable, Object) - Method in class com.android.ide.common.rendering.api.LayoutLog
Logs a fidelity warning.
findClass(String) - Method in class com.android.ide.common.rendering.api.LayoutlibCallback
Find a custom class in the project.
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
findItemInTheme(String, boolean) - Method in class com.android.ide.common.rendering.api.RenderResources
Returns the ResourceValue matching a given name in the all themes returned by RenderResources.getAllThemes().
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
findValue(String, boolean) - Method in class com.android.ide.common.rendering.api.StyleResourceValue
FIXED_SCALABLE_NINE_PATCH - Static variable in class com.android.ide.common.rendering.api.Features
Ability to properly resize nine-patch assets.
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
 
FrameworkResourceIdProvider() - Constructor for class com.android.ide.common.rendering.api.RenderResources.FrameworkResourceIdProvider
 
FULL_ANIMATED_VIEW_MANIPULATION - Static variable in class com.android.ide.common.rendering.api.Features
Ability to move views (even into a different ViewGroup) with animation.

G

getActionBarCallback() - Method in interface com.android.ide.common.rendering.api.IProjectCallback
Deprecated.
Returns a callback for Action Bar information needed by the Layout Library.
getActivityName() - Method in class com.android.ide.common.rendering.api.RenderParams
 
getAdapterBinding(ResourceReference, Object, Object) - Method in interface com.android.ide.common.rendering.api.IProjectCallback
Deprecated.
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
Deprecated.
Returns the value of an item used by an adapter.
getAllAttributes() - Method in class com.android.ide.common.rendering.api.DeclareStyleableResourceValue
 
getAllThemes() - Method in class com.android.ide.common.rendering.api.RenderResources
Returns a list of StyleResourceValue containing a list of themes to be used for resolving resources.
getApiLevel() - Method in class com.android.ide.common.rendering.api.Bridge
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
 
getAssets() - Method in class com.android.ide.common.rendering.api.RenderParams
 
getAttributeClass() - Method in enum com.android.ide.common.rendering.api.IProjectCallback.ViewAttribute
Deprecated.
 
getAttributeValues() - Method in class com.android.ide.common.rendering.api.AttrResourceValue
Return the enum/flag integer values.
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.
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.ScreenRound
 
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
 
getByShortDisplayName(String) - Static method in enum com.android.resources.ScreenOrientation
 
getCapabilities() - Method in class com.android.ide.common.rendering.api.Bridge
Deprecated.
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.
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
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
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
getDefaultProperties() - Method in class com.android.ide.common.rendering.api.RenderSession
Returns the map of View Cookie → properties (attribute name, attribute value) for all the views that have a view cookie.
getDefaultTheme() - Method in class com.android.ide.common.rendering.api.RenderResources
Returns the StyleResourceValue representing the default theme.
getDensity() - Method in class com.android.ide.common.rendering.api.HardwareConfig
 
getDensity() - Method in class com.android.ide.common.rendering.api.RenderParams
getDensityDpi() - Method in class com.android.ide.common.rendering.api.HardwareConfig
 
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(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.ScreenRound
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.
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
getFlag(SessionParams.Key<T>) - Method in class com.android.ide.common.rendering.api.LayoutlibCallback
A callback to query arbitrary data.
getFlag(SessionParams.Key<T>) - Method in class com.android.ide.common.rendering.api.RenderParams
 
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
 
getHomeButtonStyle() - Method in class com.android.ide.common.rendering.api.ActionBarCallback
Returns the type of navigation for home button to be used in the action bar.
getId(ResourceType, String) - Method in class com.android.ide.common.rendering.api.RenderResources.FrameworkResourceIdProvider
 
getIdGeneratingFolderTypes() - Static method in class com.android.resources.FolderTypeRelationship
 
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.
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(ScreenRound) - Static method in enum com.android.resources.ScreenRound
 
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
 
getItem(String, boolean) - Method in class com.android.ide.common.rendering.api.StyleResourceValue
Finds a value in the list of items by name.
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
 
getLayoutlibCallback() - Method in class com.android.ide.common.rendering.api.RenderParams
 
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.
getLeftMargin() - Method in class com.android.ide.common.rendering.api.ViewInfo
Returns the left margin value.
getLibraryName() - Method in class com.android.ide.common.rendering.api.ResourceValue
Returns the name of the library where this resource was found or null if it is not from a library.
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.ScreenRound
 
getLongDisplayValue() - Method in enum com.android.resources.ScreenSize
 
getLongDisplayValue() - Method in enum com.android.resources.TouchScreen
 
getLongDisplayValue() - Method in enum com.android.resources.UiMode
 
getMenuIdNames() - Method in class com.android.ide.common.rendering.api.ActionBarCallback
Returns a list of names of the IDs for menus to add to the action bar.
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 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
Deprecated.
Returns the namespace of the application.
getNavigationMode() - Method in class com.android.ide.common.rendering.api.ActionBarCallback
Returns which navigation mode the action bar should use.
getOrientation() - Method in class com.android.ide.common.rendering.api.HardwareConfig
 
getOverrideBgColor() - Method in class com.android.ide.common.rendering.api.RenderParams
 
getParent(StyleResourceValue) - Method in class com.android.ide.common.rendering.api.RenderResources
Returns the parent style of the given style, if any
getParentStyle() - Method in class com.android.ide.common.rendering.api.StyleResourceValue
Returns the parent style name or null if unknown.
getParser(String) - Method in interface com.android.ide.common.rendering.api.ILayoutPullParser
Deprecated.
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
Deprecated.
Returns a custom parser for a given layout.
getParserFactory() - Method in class com.android.ide.common.rendering.api.LayoutlibCallback
Get a ParserFactory which can be used to create XmlPullParsers.
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.
getRawXmlValue() - Method in class com.android.ide.common.rendering.api.ResourceValue
Similar to ResourceValue.getValue(), but returns the raw XML value.
getRawXmlValue() - Method in class com.android.ide.common.rendering.api.TextResourceValue
 
getRecommendedValuesForDevice() - Static method in enum com.android.resources.Density
Returns all densities which are recommended and valid for a device.
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
Deprecated.
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 class com.android.ide.common.rendering.api.LayoutlibCallback
 
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.ScreenRound
 
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.
getRightMargin() - Method in class com.android.ide.common.rendering.api.ViewInfo
Returns the right margin value.
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
getScreenRoundness() - Method in class com.android.ide.common.rendering.api.HardwareConfig
 
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
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.ScreenRound
 
getShortDisplayValue() - Method in enum com.android.resources.ScreenSize
 
getShortDisplayValue() - Method in enum com.android.resources.TouchScreen
 
getShortDisplayValue() - Method in enum com.android.resources.UiMode
 
getSimulatedPlatformVersion() - Method in class com.android.ide.common.rendering.api.SessionParams
 
getSplitActionBarWhenNarrow() - Method in class com.android.ide.common.rendering.api.ActionBarCallback
Returns whether the Action Bar should be split for narrow screens.
getStatus() - Method in class com.android.ide.common.rendering.api.Result
Returns the status.
getStyle(String, boolean) - Method in class com.android.ide.common.rendering.api.RenderResources
Returns the style matching the given name.
getSubTitle() - Method in class com.android.ide.common.rendering.api.ActionBarCallback
Returns the subtitle to be used with the action bar or null if there is no subtitle.
getSystemRootViews() - Method in class com.android.ide.common.rendering.api.RenderSession
Returns the ViewInfo objects for the system decor views, like the ActionBar.
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.
getTopMargin() - Method in class com.android.ide.common.rendering.api.ViewInfo
Returns the top margin value.
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.
getValues() - Method in class com.android.ide.common.rendering.api.StyleResourceValue
Returns a list of all values defined in this Style.
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.
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.
getViewType() - Method in class com.android.ide.common.rendering.api.ViewInfo
Returns the type of View.
getXdpi() - Method in class com.android.ide.common.rendering.api.HardwareConfig
 
getXdpi() - Method in class com.android.ide.common.rendering.api.RenderParams
getXmlFileParser(String) - Method in class com.android.ide.common.rendering.api.LayoutlibCallback
Returns an XmlPullParser for the psi version of an xml file.
getYdpi() - Method in class com.android.ide.common.rendering.api.HardwareConfig
 
getYdpi() - Method in class com.android.ide.common.rendering.api.RenderParams

H

HardwareConfig - Class in com.android.ide.common.rendering.api
Hardware configuration for the rendering.
HardwareConfig(int, int, Density, float, float, ScreenSize, ScreenOrientation, ScreenRound, 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.ide.common.rendering.api.SessionParams.Key
 
hashCode() - Method in class com.android.ide.common.rendering.api.TextResourceValue
 
hashCode() - Method in class com.android.util.Pair
Deprecated.
 
hashCode() - Method in class com.android.util.PropertiesMap.Property
 
hasSoftwareButtons() - Method in class com.android.ide.common.rendering.api.HardwareConfig
 

I

IAnimationListener - Interface in com.android.ide.common.rendering.api
 
IImageFactory - Interface in com.android.ide.common.rendering.api
Image Factory Interface.
ILayoutPullParser - Interface in com.android.ide.common.rendering.api
Extended version of XmlPullParser to use with Bridge.createSession(SessionParams)
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.
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
Deprecated.
IProjectCallback.ViewAttribute - Enum in com.android.ide.common.rendering.api
Deprecated.
 
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.ScreenRound
 
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).
isFrameworkAttr() - Method in class com.android.ide.common.rendering.api.ItemResourceValue
 
isHorizExpand() - Method in enum com.android.ide.common.rendering.api.SessionParams.RenderingMode
 
isIdGeneratingFolderType(ResourceFolderType) - Static method in class com.android.resources.FolderTypeRelationship
Check if a folder may contain ID generating types (via android:id="@+id/xyz").
isLayoutOnly() - Method in class com.android.ide.common.rendering.api.SessionParams
 
isOverflowPopupNeeded() - Method in class com.android.ide.common.rendering.api.ActionBarCallback
Returns whether to draw the overflow menu popup.
isRecommended() - Method in enum com.android.resources.Density
Returns true if this density is relevant for app developers (e.g.
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.
isSupported() - Method in class com.android.ide.common.rendering.api.AssetRepository
Returns whether the IDE supports assets.
isUserDefined() - Method in class com.android.ide.common.rendering.api.ResourceValue
Returns true if the resource is user defined.
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.ScreenRound
 
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
 
ItemResourceValue - Class in com.android.ide.common.rendering.api
Represents each item in the android style resource.
ItemResourceValue(String, boolean, boolean) - Constructor for class com.android.ide.common.rendering.api.ItemResourceValue
 
ItemResourceValue(String, boolean, boolean, String) - Constructor for class com.android.ide.common.rendering.api.ItemResourceValue
 
ItemResourceValue(String, boolean, String, boolean) - Constructor for class com.android.ide.common.rendering.api.ItemResourceValue
 
ItemResourceValue(String, boolean, String, boolean, String) - Constructor for class com.android.ide.common.rendering.api.ItemResourceValue
If the value is a reference to a framework resource or not is NOT represented with a boolean! but can be deduced with:
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
 

K

Key(String, Class<T>) - Constructor for class com.android.ide.common.rendering.api.SessionParams.Key
 
Keyboard - Enum in com.android.resources
Keyboard enum.
KeyboardState - Enum in com.android.resources
Keyboard state enum.

L

LAST_CAPABILITY - Static variable in class com.android.ide.common.rendering.api.Features
All features before this map to the ones in Capability.
LAST_FEATURE - Static variable in class com.android.ide.common.rendering.api.Features
Last known feature.
LAYOUT_ONLY - Static variable in class com.android.ide.common.rendering.api.Features
Ability to ask for a layout only with no rendering through SessionParams.setLayoutOnly()
LayoutDirection - Enum in com.android.resources
Layout Direction enum.
LayoutlibCallback - Class in com.android.ide.common.rendering.api
Intermediary class implementing parts of both the old and new ProjectCallback from the LayoutLib API.
LayoutlibCallback() - Constructor for class com.android.ide.common.rendering.api.LayoutlibCallback
 
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
 
loadClass(String, Class[], Object[]) - Method in class com.android.ide.common.rendering.api.LayoutlibCallback
Like IProjectCallback.loadView(String, Class[], Object[]), but intended for loading classes that may not be custom views.
loadView(String, Class[], Object[]) - Method in interface com.android.ide.common.rendering.api.IProjectCallback
Deprecated.
Loads a custom class 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.
measure() - Method in class com.android.ide.common.rendering.api.RenderSession
Does a measure pass and returns the result.
measure(long) - Method in class com.android.ide.common.rendering.api.RenderSession
Does a measure pass and returns the result.
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
 
mExpectedClass - Variable in class com.android.ide.common.rendering.api.SessionParams.Key
 
mName - Variable in class com.android.ide.common.rendering.api.SessionParams.Key
 
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.
NAVIGATION_MODE_LIST - Static variable in class com.android.ide.common.rendering.api.ActionBarCallback
 
NAVIGATION_MODE_STANDARD - Static variable in class com.android.ide.common.rendering.api.ActionBarCallback
 
NAVIGATION_MODE_TABS - Static variable in class com.android.ide.common.rendering.api.ActionBarCallback
 
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.
openAsset(String, int) - Method in class com.android.ide.common.rendering.api.AssetRepository
 

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
ParserFactory - Class in com.android.ide.common.rendering.api
Callback used by LayoutLib to create XmlPullParsers.
ParserFactory() - Constructor for class com.android.ide.common.rendering.api.ParserFactory
 
PLAY_ANIMATION - Static variable in class com.android.ide.common.rendering.api.Features
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
 
PluralsResourceValue(String, boolean, String) - Constructor for class com.android.ide.common.rendering.api.PluralsResourceValue
Constructs a new PluralsResourceValue
PREFERENCES_RENDERING - Static variable in class com.android.ide.common.rendering.api.Features
Ability to render preferences.
PropertiesMap - Class in com.android.util
LayoutLib can return properties that a View asked for at the time of inflation.
PropertiesMap() - Constructor for class com.android.util.PropertiesMap
 
PropertiesMap(int) - Constructor for class com.android.util.PropertiesMap
 
PropertiesMap.Property - Class in com.android.util
 
Property(String, String) - Constructor for class com.android.util.PropertiesMap.Property
 

R

RECYCLER_VIEW_ADAPTER - Static variable in class com.android.ide.common.rendering.api.Features
Ability to use custom layouts for RecyclerView$Adapter.
REFERENCE_EMPTY - Static variable in class com.android.ide.common.rendering.api.RenderResources
 
REFERENCE_NULL - Static variable in class com.android.ide.common.rendering.api.RenderResources
 
REFERENCE_UNDEFINED - 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 - Static variable in class com.android.ide.common.rendering.api.Features
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.
render(long, boolean) - 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.
RENDER_ALL_DRAWABLE_STATES - Static variable in class com.android.ide.common.rendering.api.Features
Ability to render all states of a StateListDrawable and return all in a single call.
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, LayoutlibCallback, 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
 
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
Deprecated.
Resolves the id of a resource Id.
resolveResourceId(int[]) - Method in interface com.android.ide.common.rendering.api.IProjectCallback
Deprecated.
Resolves the id of a resource Id of type int[]
resolveResourceValue(int) - Method in class com.android.ide.common.rendering.api.LayoutlibCallback
 
resolveResourceValue(int[]) - Method in class com.android.ide.common.rendering.api.LayoutlibCallback
 
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.
resource - Variable in class com.android.util.PropertiesMap.Property
Pre-resolution 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, boolean, String) - 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
 
ResourceValue(ResourceType, String, String, boolean, String) - 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.
RTL - Static variable in class com.android.ide.common.rendering.api.Features
Ability to render RTL layouts.

S

ScreenOrientation - Enum in com.android.resources
Screen Orientation enum.
ScreenRatio - Enum in com.android.resources
Screen Ratio enum.
ScreenRound - Enum in com.android.resources
Screen Round 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, LayoutlibCallback, int, int, LayoutLog) - Constructor for class com.android.ide.common.rendering.api.SessionParams
 
SessionParams(ILayoutPullParser, SessionParams.RenderingMode, Object, HardwareConfig, RenderResources, LayoutlibCallback, int, int, LayoutLog, int) - Constructor for class com.android.ide.common.rendering.api.SessionParams
 
SessionParams(SessionParams) - Constructor for class com.android.ide.common.rendering.api.SessionParams
 
SessionParams.Key<T> - Class in com.android.ide.common.rendering.api
The class should be in RenderParams, but is here because it was originally here and we cannot change the API without breaking backwards compatibility.
SessionParams.RenderingMode - Enum in com.android.ide.common.rendering.api
 
setActivityName(String) - Method in class com.android.ide.common.rendering.api.RenderParams
 
setAppIcon(String) - Method in class com.android.ide.common.rendering.api.RenderParams
 
setAppLabel(String) - Method in class com.android.ide.common.rendering.api.RenderParams
 
setAssetRepository(AssetRepository) - 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.
setElapsedFrameTimeNanos(long) - Method in class com.android.ide.common.rendering.api.RenderSession
Sets the time for which the next frame will be selected.
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
 
setFlag(SessionParams.Key<T>, T) - Method in class com.android.ide.common.rendering.api.RenderParams
 
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
Deprecated.
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.
setRawXmlValue(String) - Method in class com.android.ide.common.rendering.api.TextResourceValue
 
setRtlSupport(boolean) - Method in class com.android.ide.common.rendering.api.RenderParams
 
setSystemBootTimeNanos(long) - Method in class com.android.ide.common.rendering.api.RenderSession
Sets the system boot time in nanos.
setSystemTimeNanos(long) - Method in class com.android.ide.common.rendering.api.RenderSession
Sets the current system time in nanos.
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.
SIMULATE_PLATFORM - Static variable in class com.android.ide.common.rendering.api.Features
Ability to simulate older Platform Versions.
since() - Method in enum com.android.resources.Density
 
since() - Method in enum com.android.resources.UiMode
 
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, boolean, String) - 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
 
StyleResourceValue(ResourceType, String, String, boolean, String) - Constructor for class com.android.ide.common.rendering.api.StyleResourceValue
 
supports(int) - Method in class com.android.ide.common.rendering.api.Bridge
Returns true if the layout library supports the given feature.
supports(int) - Method in class com.android.ide.common.rendering.api.LayoutlibCallback
Returns if the IDE supports the requested feature.
SYSTEM_TIME - Static variable in class com.android.ide.common.rendering.api.Features
Ability to set system time.

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_INFO - Static variable in class com.android.ide.common.rendering.api.LayoutLog
Tag for reporting messages that should not be logged in the render error panel, but silently logged to a more detailed log file.
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_MISSING_ASSET - Static variable in class com.android.ide.common.rendering.api.LayoutLog
Tag for reporting missing assets, or problem loading them.
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_RTL_NOT_ENABLED - Static variable in class com.android.ide.common.rendering.api.LayoutLog
Tag for reporting RTL being used with android:supportsRtl="false".
TAG_RTL_NOT_SUPPORTED - Static variable in class com.android.ide.common.rendering.api.LayoutLog
Tag for reporting RTL being used with API lower than 17.
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_TEXT_RENDERING - Static variable in class com.android.ide.common.rendering.api.LayoutLog
Fidelity Tag used when something went wrong in rendering text.
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.
TextResourceValue - Class in com.android.ide.common.rendering.api
A ResourceValue intended for text nodes where we need access to the raw XML text
TextResourceValue(ResourceType, String, boolean) - Constructor for class com.android.ide.common.rendering.api.TextResourceValue
 
TextResourceValue(ResourceType, String, boolean, String) - Constructor for class com.android.ide.common.rendering.api.TextResourceValue
 
TextResourceValue(ResourceType, String, String, String, boolean) - Constructor for class com.android.ide.common.rendering.api.TextResourceValue
 
TextResourceValue(ResourceType, String, String, String, boolean, String) - Constructor for class com.android.ide.common.rendering.api.TextResourceValue
 
THEME_PREVIEW_NAVIGATION_BAR - Static variable in class com.android.ide.common.rendering.api.Features
Ability to use a layout specific to the Theme Editor Preview for the navigation bar.
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.ItemResourceValue
 
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 class com.android.ide.common.rendering.api.SessionParams.Key
 
toString() - Method in class com.android.ide.common.rendering.api.ViewInfo
 
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.
UNBOUND_RENDERING - Static variable in class com.android.ide.common.rendering.api.Features
Ability to render at full size, as required by the layout, and unbound by the screen

V

value - Variable in class com.android.util.PropertiesMap.Property
Post-resolution value
VALUE_NAV_MODE_LIST - Static variable in class com.android.ide.common.rendering.api.ActionBarCallback
 
VALUE_NAV_MODE_TABS - Static variable in class com.android.ide.common.rendering.api.ActionBarCallback
 
valueOf(String) - Static method in enum com.android.ide.common.rendering.api.ActionBarCallback.HomeButtonStyle
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.android.ide.common.rendering.api.Capability
Deprecated.
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
Deprecated.
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.ide.common.rendering.api.ViewType
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.ScreenRound
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.ActionBarCallback.HomeButtonStyle
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.Capability
Deprecated.
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
Deprecated.
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.ide.common.rendering.api.ViewType
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.ScreenRound
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.
VIEW_MANIPULATION - Static variable in class com.android.ide.common.rendering.api.Features
Ability to call
RenderSession.insertChild(Object, ILayoutPullParser, int, IAnimationListener)
RenderSession.moveChild(Object, Object, int, java.util.Map, IAnimationListener)
RenderSession.setProperty(Object, String, String)
The method that receives an animation listener can only use it if the ANIMATED_VIEW_MANIPULATION, or FULL_ANIMATED_VIEW_MANIPULATION is also supported.
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
 
ViewType - Enum in com.android.ide.common.rendering.api
Lists various types of a view.

W

warning(String, String, Object) - Method in class com.android.ide.common.rendering.api.LayoutLog
Logs a warning.
A B C D E F G H I K L M N O P R S T U V W 
Skip navigation links