diff options
author | Adam Cohen <adamcohen@google.com> | 2011-02-10 15:56:16 -0800 |
---|---|---|
committer | Adam Cohen <adamcohen@google.com> | 2011-02-14 11:37:26 -0800 |
commit | 0b96a57c851af2f66e3bc738035478efb3c1957e (patch) | |
tree | 1168a2ef290b38ff3d295e1451c197e139378cd7 /core/java/android/widget/ViewAnimator.java | |
parent | 13271b4118c462c258317336fe9d0ffac301f8ac (diff) | |
download | frameworks_base-0b96a57c851af2f66e3bc738035478efb3c1957e.zip frameworks_base-0b96a57c851af2f66e3bc738035478efb3c1957e.tar.gz frameworks_base-0b96a57c851af2f66e3bc738035478efb3c1957e.tar.bz2 |
Making AdapaterViewAnimator setDisplayedChild remotable
Change-Id: Idee91f457e1d4316feb077aaa949baa54eca6ab1
Diffstat (limited to 'core/java/android/widget/ViewAnimator.java')
-rw-r--r-- | core/java/android/widget/ViewAnimator.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/java/android/widget/ViewAnimator.java b/core/java/android/widget/ViewAnimator.java index 7b66893..3c683d6 100644 --- a/core/java/android/widget/ViewAnimator.java +++ b/core/java/android/widget/ViewAnimator.java @@ -96,6 +96,7 @@ public class ViewAnimator extends FrameLayout { * * @param whichChild the index of the child view to display */ + @android.view.RemotableViewMethod public void setDisplayedChild(int whichChild) { mWhichChild = whichChild; if (whichChild >= getChildCount()) { @@ -122,6 +123,7 @@ public class ViewAnimator extends FrameLayout { /** * Manually shows the next child. */ + @android.view.RemotableViewMethod public void showNext() { setDisplayedChild(mWhichChild + 1); } @@ -129,6 +131,7 @@ public class ViewAnimator extends FrameLayout { /** * Manually shows the previous child. */ + @android.view.RemotableViewMethod public void showPrevious() { setDisplayedChild(mWhichChild - 1); } |