diff options
author | Chris Craik <ccraik@google.com> | 2015-03-10 10:12:55 -0700 |
---|---|---|
committer | Chris Craik <ccraik@google.com> | 2015-03-10 10:12:55 -0700 |
commit | a57e9365cae98d7599fd5877dce15718349aa7a9 (patch) | |
tree | 3a74a1697976137cfad386c60dc1899a42f9c9d1 /core/java/android | |
parent | edacf22ca132ac48207a68aa30998f5b43d893b8 (diff) | |
download | frameworks_base-a57e9365cae98d7599fd5877dce15718349aa7a9.zip frameworks_base-a57e9365cae98d7599fd5877dce15718349aa7a9.tar.gz frameworks_base-a57e9365cae98d7599fd5877dce15718349aa7a9.tar.bz2 |
Add several CallSupers to View
Change-Id: I3011bd9757273f9c1d35f552bd6fefd4bf830029
Diffstat (limited to 'core/java/android')
-rw-r--r-- | core/java/android/view/View.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/core/java/android/view/View.java b/core/java/android/view/View.java index 7d49969..085a3f2 100644 --- a/core/java/android/view/View.java +++ b/core/java/android/view/View.java @@ -13089,6 +13089,7 @@ public class View implements Drawable.Callback, KeyEvent.Callback, * * @see #onDetachedFromWindow() */ + @CallSuper protected void onAttachedToWindow() { if ((mPrivateFlags & PFLAG_REQUEST_TRANSPARENT_REGIONS) != 0) { mParent.requestTransparentRegion(this); @@ -13421,6 +13422,7 @@ public class View implements Drawable.Callback, KeyEvent.Callback, * * @see #onAttachedToWindow() */ + @CallSuper protected void onDetachedFromWindow() { } @@ -13741,6 +13743,7 @@ public class View implements Drawable.Callback, KeyEvent.Callback, * @see #dispatchSaveInstanceState(android.util.SparseArray) * @see #setSaveEnabled(boolean) */ + @CallSuper protected Parcelable onSaveInstanceState() { mPrivateFlags |= PFLAG_SAVE_STATE_CALLED; return BaseSavedState.EMPTY_STATE; @@ -13799,6 +13802,7 @@ public class View implements Drawable.Callback, KeyEvent.Callback, * @see #restoreHierarchyState(android.util.SparseArray) * @see #dispatchRestoreInstanceState(android.util.SparseArray) */ + @CallSuper protected void onRestoreInstanceState(Parcelable state) { mPrivateFlags |= PFLAG_SAVE_STATE_CALLED; if (state != BaseSavedState.EMPTY_STATE && state != null) { @@ -17987,6 +17991,7 @@ public class View implements Drawable.Callback, KeyEvent.Callback, * @see #setAnimation(android.view.animation.Animation) * @see #getAnimation() */ + @CallSuper protected void onAnimationStart() { mPrivateFlags |= PFLAG_ANIMATION_STARTED; } @@ -17999,6 +18004,7 @@ public class View implements Drawable.Callback, KeyEvent.Callback, * @see #setAnimation(android.view.animation.Animation) * @see #getAnimation() */ + @CallSuper protected void onAnimationEnd() { mPrivateFlags &= ~PFLAG_ANIMATION_STARTED; } |