- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- getParser(String) - Method in interface com.android.ide.common.rendering.api.IProjectCallback
-
- 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
-
- 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
ResourceType
s 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
-
- 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
-
- 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
-
- 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
-
- 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.
- 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.
- 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.