diff options
| author | Chris Craik <ccraik@google.com> | 2015-04-17 10:08:10 -0700 |
|---|---|---|
| committer | Chris Craik <ccraik@google.com> | 2015-04-17 10:09:05 -0700 |
| commit | 66b4139d6a45c9f7641fa27a3d4810571831f35e (patch) | |
| tree | 1fa76158ea6e2368a4206389e6e5c2da10237b03 /core/java | |
| parent | fedd63165d0cd852c129c3fa18a0849f5de9dfb1 (diff) | |
| download | frameworks_base-66b4139d6a45c9f7641fa27a3d4810571831f35e.zip frameworks_base-66b4139d6a45c9f7641fa27a3d4810571831f35e.tar.gz frameworks_base-66b4139d6a45c9f7641fa27a3d4810571831f35e.tar.bz2 | |
Hide transient view API
bug:18621099
Change-Id: I25f64bc50bbbcf9fbbd8a4cdf81cacb61fa256f0
Diffstat (limited to 'core/java')
| -rw-r--r-- | core/java/android/view/ViewGroup.java | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/core/java/android/view/ViewGroup.java b/core/java/android/view/ViewGroup.java index afc0eee..8f2be99 100644 --- a/core/java/android/view/ViewGroup.java +++ b/core/java/android/view/ViewGroup.java @@ -3858,6 +3858,8 @@ public abstract class ViewGroup extends View implements ViewParent, ViewManager * This value is relative to the {@link #getChildAt(int) index} values in the normal * child list of this container, where any transient view at a particular index will * be drawn before any normal child at that same index. + * + * @hide */ public void addTransientView(View view, int index) { if (index < 0) { @@ -3891,6 +3893,8 @@ public abstract class ViewGroup extends View implements ViewParent, ViewManager * such transient view, this method does nothing. * * @param view The transient view to be removed + * + * @hide */ public void removeTransientView(View view) { if (mTransientViews == null) { @@ -3916,6 +3920,8 @@ public abstract class ViewGroup extends View implements ViewParent, ViewManager * * @see #addTransientView(View, int) * @return The number of transient views in this container + * + * @hide */ public int getTransientViewCount() { return mTransientIndices == null ? 0 : mTransientIndices.size(); @@ -3929,6 +3935,8 @@ public abstract class ViewGroup extends View implements ViewParent, ViewManager * and less than the value returned by {@link #getTransientViewCount()}. * @return The index of the transient view stored in the given position if the * position is valid, otherwise -1 + * + * @hide */ public int getTransientViewIndex(int position) { if (position < 0 || mTransientIndices == null || position >= mTransientIndices.size()) { @@ -3945,6 +3953,8 @@ public abstract class ViewGroup extends View implements ViewParent, ViewManager * and less than the value returned by {@link #getTransientViewCount()}. * @return The transient view stored in the given position if the * position is valid, otherwise null + * + * @hide */ public View getTransientView(int position) { if (mTransientViews == null || position >= mTransientViews.size()) { |
