com.android.ide.common.rendering.api
Enum Capability

java.lang.Object
  extended by java.lang.Enum<Capability>
      extended by com.android.ide.common.rendering.api.Capability
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Capability>

Deprecated. use Features

@Deprecated
public enum Capability
extends java.lang.Enum<Capability>

Enum describing the layout bridge capabilities.


Enum Constant Summary
ACTION_BAR
          Deprecated. Ability to render ActionBar.
ADAPTER_BINDING
          Deprecated.  
ANIMATED_VIEW_MANIPULATION
          Deprecated. Ability to manipulate views with animation, as long as the view does not change parent.
CUSTOM_BACKGROUND_COLOR
          Deprecated. Ability to override the background of the rendering with transparency using RenderParams.setOverrideBgColor(int)
EMBEDDED_LAYOUT
          Deprecated. Ability to control embedded layout parsers through ILayoutPullParser.getParser(String)
EXTENDED_VIEWINFO
          Deprecated.  
FIXED_SCALABLE_NINE_PATCH
          Deprecated. Ability to properly resize nine-patch assets.
FULL_ANIMATED_VIEW_MANIPULATION
          Deprecated. Ability to move views (even into a different ViewGroup) with animation.
LAYOUT_ONLY
          Deprecated. Ability to ask for a layout only with no rendering through SessionParams.setLayoutOnly()
PLAY_ANIMATION
          Deprecated. Ability to play animations with
RenderSession.animate(Object, String, boolean, IAnimationListener)
RENDER
          Deprecated. Ability to call RenderSession.render() and RenderSession.render(long).
RTL
          Deprecated. Ability to render RTL layouts.
SIMULATE_PLATFORM
          Deprecated. Ability to simulate older Platform Versions.
UNBOUND_RENDERING
          Deprecated. Ability to render at full size, as required by the layout, and unbound by the screen
VIEW_MANIPULATION
          Deprecated. 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)
          Deprecated. Returns the enum constant of this type with the specified name.
static Capability[] values()
          Deprecated. 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

UNBOUND_RENDERING

public static final Capability UNBOUND_RENDERING
Deprecated. 
Ability to render at full size, as required by the layout, and unbound by the screen


CUSTOM_BACKGROUND_COLOR

public static final Capability CUSTOM_BACKGROUND_COLOR
Deprecated. 
Ability to override the background of the rendering with transparency using RenderParams.setOverrideBgColor(int)


RENDER

public static final Capability RENDER
Deprecated. 
Ability to call RenderSession.render() and RenderSession.render(long).


LAYOUT_ONLY

public static final Capability LAYOUT_ONLY
Deprecated. 
Ability to ask for a layout only with no rendering through SessionParams.setLayoutOnly()


EMBEDDED_LAYOUT

public static final Capability EMBEDDED_LAYOUT
Deprecated. 
Ability to control embedded layout parsers through ILayoutPullParser.getParser(String)


VIEW_MANIPULATION

public static final Capability VIEW_MANIPULATION
Deprecated. 
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.


PLAY_ANIMATION

public static final Capability PLAY_ANIMATION
Deprecated. 
Ability to play animations with
RenderSession.animate(Object, String, boolean, IAnimationListener)


ANIMATED_VIEW_MANIPULATION

public static final Capability ANIMATED_VIEW_MANIPULATION
Deprecated. 
Ability to manipulate views with animation, as long as the view does not change parent. RenderSession.insertChild(Object, ILayoutPullParser, int, IAnimationListener)
RenderSession.moveChild(Object, Object, int, java.util.Map, IAnimationListener)
RenderSession.removeChild(Object, IAnimationListener)


FULL_ANIMATED_VIEW_MANIPULATION

public static final Capability FULL_ANIMATED_VIEW_MANIPULATION
Deprecated. 
Ability to move views (even into a different ViewGroup) with animation. see RenderSession.moveChild(Object, Object, int, java.util.Map, IAnimationListener)


ADAPTER_BINDING

public static final Capability ADAPTER_BINDING
Deprecated. 

EXTENDED_VIEWINFO

public static final Capability EXTENDED_VIEWINFO
Deprecated. 

FIXED_SCALABLE_NINE_PATCH

public static final Capability FIXED_SCALABLE_NINE_PATCH
Deprecated. 
Ability to properly resize nine-patch assets.


RTL

public static final Capability RTL
Deprecated. 
Ability to render RTL layouts.


ACTION_BAR

public static final Capability ACTION_BAR
Deprecated. 
Ability to render ActionBar.


SIMULATE_PLATFORM

public static final Capability SIMULATE_PLATFORM
Deprecated. 
Ability to simulate older Platform Versions.

Method Detail

values

public static Capability[] values()
Deprecated. 
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (Capability c : Capability.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static Capability valueOf(java.lang.String name)
Deprecated. 
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null