diff options
author | Xavier Ducrohet <xav@android.com> | 2010-11-29 11:45:47 -0800 |
---|---|---|
committer | Xavier Ducrohet <xav@android.com> | 2010-11-29 17:56:58 -0800 |
commit | e80f4d4d2ac48db8d94b6071e296a8acba32a09a (patch) | |
tree | 43b28ce213e1eda4d4cdac29453d0c70c41444ae /layoutlib_api/src/com/android/layoutlib/api | |
parent | 7f3dac3959c0e9ea04d7cece780ef4eca22ea6f0 (diff) | |
download | sdk-e80f4d4d2ac48db8d94b6071e296a8acba32a09a.zip sdk-e80f4d4d2ac48db8d94b6071e296a8acba32a09a.tar.gz sdk-e80f4d4d2ac48db8d94b6071e296a8acba32a09a.tar.bz2 |
ADT: more animation stuff.
Change-Id: I020342a4fe205161328f22e9dabb0b03343677b5
Diffstat (limited to 'layoutlib_api/src/com/android/layoutlib/api')
-rw-r--r-- | layoutlib_api/src/com/android/layoutlib/api/LayoutScene.java | 24 |
1 files changed, 19 insertions, 5 deletions
diff --git a/layoutlib_api/src/com/android/layoutlib/api/LayoutScene.java b/layoutlib_api/src/com/android/layoutlib/api/LayoutScene.java index 899fd49..3429367 100644 --- a/layoutlib_api/src/com/android/layoutlib/api/LayoutScene.java +++ b/layoutlib_api/src/com/android/layoutlib/api/LayoutScene.java @@ -116,7 +116,7 @@ public class LayoutScene { * The {@link LayoutBridge} is only able to inflate or render one layout at a time. There * is an internal lock object whenever such an action occurs. The timeout parameter is used * when attempting to acquire the lock. If the timeout expires, the method will return - * SceneResult.sdfdsf + * {@link SceneStatus#ERROR_TIMEOUT}. * * @param timeout timeout for the rendering, in milliseconds. * @@ -134,13 +134,13 @@ public class LayoutScene { * <p/> * Any amount of actions can be taken on the scene before {@link #render()} is called. * - * @param object + * @param objectView * @param propertyName * @param propertyValue * * @return a {@link SceneResult} indicating the status of the action. */ - public SceneResult setProperty(int object, String propertyName, String propertyValue) { + public SceneResult setProperty(Object objectView, String propertyName, String propertyValue) { return NOT_IMPLEMENTED.getResult(); } @@ -154,7 +154,21 @@ public class LayoutScene { * * @return a {@link SceneResult} indicating the status of the action. */ - public SceneResult insertChild() { + public SceneResult insertChild(Object parentView, IXmlPullParser childXml, int index) { + return NOT_IMPLEMENTED.getResult(); + } + + /** + * Inserts a new child in a ViewGroup object. + * <p/> + * This does nothing more than change the layouy. To render the scene in its new state, a + * call to {@link #render()} is required. + * <p/> + * Any amount of actions can be taken on the scene before {@link #render()} is called. + * + * @return a {@link SceneResult} indicating the status of the action. + */ + public SceneResult moveChild(Object parentView, IXmlPullParser layoutParamsXml, int index) { return NOT_IMPLEMENTED.getResult(); } @@ -168,7 +182,7 @@ public class LayoutScene { * * @return a {@link SceneResult} indicating the status of the action. */ - public SceneResult removeChild() { + public SceneResult removeChild(Object parentView, int index) { return NOT_IMPLEMENTED.getResult(); } |