|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Capability>
com.android.ide.common.rendering.api.Capability
public enum Capability
Enum describing the layout bridge capabilities.
Enum Constant Summary | |
---|---|
ADAPTER_BINDING
|
|
ANIMATED_VIEW_MANIPULATION
Ability to manipulate views with animation, as long as the view does not change parent. |
|
CUSTOM_BACKGROUND_COLOR
Ability to override the background of the rendering with transparency using RenderParams.setOverrideBgColor(int) |
|
EMBEDDED_LAYOUT
Ability to control embedded layout parsers through ILayoutPullParser.getParser(String) |
|
EXTENDED_VIEWINFO
|
|
FIXED_SCALABLE_NINE_PATCH
Ability to properly resize nine-patch assets. |
|
FULL_ANIMATED_VIEW_MANIPULATION
Ability to move views (even into a different ViewGroup) with animation. |
|
LAYOUT_ONLY
Ability to ask for a layout only with no rendering through SessionParams.setLayoutOnly() |
|
PLAY_ANIMATION
Ability to play animations with RenderSession.animate(Object, String, boolean, IAnimationListener) |
|
RENDER
Ability to call RenderSession.render() and RenderSession.render(long) . |
|
RTL
Ability to render RTL layouts. |
|
UNBOUND_RENDERING
Ability to render at full size, as required by the layout, and unbound by the screen |
|
VIEW_MANIPULATION
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. |
Method Summary | |
---|---|
static Capability |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Capability[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Capability UNBOUND_RENDERING
public static final Capability CUSTOM_BACKGROUND_COLOR
RenderParams.setOverrideBgColor(int)
public static final Capability RENDER
RenderSession.render()
and RenderSession.render(long)
.
public static final Capability LAYOUT_ONLY
SessionParams.setLayoutOnly()
public static final Capability EMBEDDED_LAYOUT
ILayoutPullParser.getParser(String)
public static final Capability VIEW_MANIPULATION
RenderSession.insertChild(Object, ILayoutPullParser, int, IAnimationListener)
RenderSession.moveChild(Object, Object, int, java.util.Map, IAnimationListener)
RenderSession.setProperty(Object, String, String)
public static final Capability PLAY_ANIMATION
RenderSession.animate(Object, String, boolean, IAnimationListener)
public static final Capability ANIMATED_VIEW_MANIPULATION
RenderSession.insertChild(Object, ILayoutPullParser, int, IAnimationListener)
RenderSession.moveChild(Object, Object, int, java.util.Map, IAnimationListener)
RenderSession.removeChild(Object, IAnimationListener)
public static final Capability FULL_ANIMATED_VIEW_MANIPULATION
RenderSession.moveChild(Object, Object, int, java.util.Map, IAnimationListener)
public static final Capability ADAPTER_BINDING
public static final Capability EXTENDED_VIEWINFO
public static final Capability FIXED_SCALABLE_NINE_PATCH
public static final Capability RTL
Method Detail |
---|
public static Capability[] values()
for (Capability c : Capability.values()) System.out.println(c);
public static Capability valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |