Loading api/current.txt +1 −1 Original line number Diff line number Diff line Loading @@ -26768,7 +26768,6 @@ package android.view { method public float getY(); method public boolean hasFocus(); method public boolean hasFocusable(); method public boolean hasLayout(); method public boolean hasOnClickListeners(); method public boolean hasOverlappingRendering(); method public boolean hasTransientState(); Loading Loading @@ -26798,6 +26797,7 @@ package android.view { method public boolean isInEditMode(); method public boolean isInLayout(); method public boolean isInTouchMode(); method public boolean isLaidOut(); method public boolean isLayoutDirectionResolved(); method public boolean isLayoutRequested(); method public boolean isLongClickable(); core/java/android/view/View.java +6 −6 Original line number Diff line number Diff line Loading @@ -2198,7 +2198,7 @@ public class View implements Drawable.Callback, KeyEvent.Callback, * Flag indicating that the view has been through at least one layout since it * was last attached to a window. */ static final int PFLAG3_HAS_LAYOUT = 0x4; static final int PFLAG3_IS_LAID_OUT = 0x4; /** * Flag indicating that a call to measure() was skipped and should be done Loading Loading @@ -6160,8 +6160,8 @@ public class View implements Drawable.Callback, KeyEvent.Callback, * Returns true if this view has been through at least one layout since it * was last attached to or detached from a window. */ public boolean hasLayout() { return (mPrivateFlags3 & PFLAG3_HAS_LAYOUT) == PFLAG3_HAS_LAYOUT; public boolean isLaidOut() { return (mPrivateFlags3 & PFLAG3_IS_LAID_OUT) == PFLAG3_IS_LAID_OUT; } /** Loading Loading @@ -11813,7 +11813,7 @@ public class View implements Drawable.Callback, KeyEvent.Callback, mPrivateFlags &= ~PFLAG_AWAKEN_SCROLL_BARS_ON_ATTACH; } mPrivateFlags3 &= ~PFLAG3_HAS_LAYOUT; mPrivateFlags3 &= ~PFLAG3_IS_LAID_OUT; jumpDrawablesToCurrentState(); Loading Loading @@ -12112,7 +12112,7 @@ public class View implements Drawable.Callback, KeyEvent.Callback, */ protected void onDetachedFromWindow() { mPrivateFlags &= ~PFLAG_CANCEL_NEXT_UP_EVENT; mPrivateFlags3 &= ~PFLAG3_HAS_LAYOUT; mPrivateFlags3 &= ~PFLAG3_IS_LAID_OUT; removeUnsetPressCallback(); removeLongPressCallback(); Loading Loading @@ -14439,7 +14439,7 @@ public class View implements Drawable.Callback, KeyEvent.Callback, } mPrivateFlags &= ~PFLAG_FORCE_LAYOUT; mPrivateFlags3 |= PFLAG3_HAS_LAYOUT; mPrivateFlags3 |= PFLAG3_IS_LAID_OUT; } /** core/java/android/view/transition/TransitionManager.java +1 −1 Original line number Diff line number Diff line Loading @@ -320,7 +320,7 @@ public class TransitionManager { * value of null causes the TransitionManager to use the default transition. */ public static void beginDelayedTransition(final ViewGroup sceneRoot, Transition transition) { if (!sPendingTransitions.contains(sceneRoot) && sceneRoot.hasLayout()) { if (!sPendingTransitions.contains(sceneRoot) && sceneRoot.isLaidOut()) { if (Transition.DBG) { Log.d(LOG_TAG, "beginDelayedTransition: root, transition = " + sceneRoot + ", " + transition); Loading core/java/android/widget/HorizontalScrollView.java +1 −1 Original line number Diff line number Diff line Loading @@ -1480,7 +1480,7 @@ public class HorizontalScrollView extends FrameLayout { } mChildToScrollTo = null; if (!hasLayout()) { if (!isLaidOut()) { final int scrollRange = Math.max(0, childWidth - (r - l - mPaddingLeft - mPaddingRight)); if (mSavedState != null) { Loading core/java/android/widget/ScrollView.java +1 −1 Original line number Diff line number Diff line Loading @@ -1473,7 +1473,7 @@ public class ScrollView extends FrameLayout { } mChildToScrollTo = null; if (!hasLayout()) { if (!isLaidOut()) { if (mSavedState != null) { mScrollY = mSavedState.scrollPosition; mSavedState = null; Loading Loading
api/current.txt +1 −1 Original line number Diff line number Diff line Loading @@ -26768,7 +26768,6 @@ package android.view { method public float getY(); method public boolean hasFocus(); method public boolean hasFocusable(); method public boolean hasLayout(); method public boolean hasOnClickListeners(); method public boolean hasOverlappingRendering(); method public boolean hasTransientState(); Loading Loading @@ -26798,6 +26797,7 @@ package android.view { method public boolean isInEditMode(); method public boolean isInLayout(); method public boolean isInTouchMode(); method public boolean isLaidOut(); method public boolean isLayoutDirectionResolved(); method public boolean isLayoutRequested(); method public boolean isLongClickable();
core/java/android/view/View.java +6 −6 Original line number Diff line number Diff line Loading @@ -2198,7 +2198,7 @@ public class View implements Drawable.Callback, KeyEvent.Callback, * Flag indicating that the view has been through at least one layout since it * was last attached to a window. */ static final int PFLAG3_HAS_LAYOUT = 0x4; static final int PFLAG3_IS_LAID_OUT = 0x4; /** * Flag indicating that a call to measure() was skipped and should be done Loading Loading @@ -6160,8 +6160,8 @@ public class View implements Drawable.Callback, KeyEvent.Callback, * Returns true if this view has been through at least one layout since it * was last attached to or detached from a window. */ public boolean hasLayout() { return (mPrivateFlags3 & PFLAG3_HAS_LAYOUT) == PFLAG3_HAS_LAYOUT; public boolean isLaidOut() { return (mPrivateFlags3 & PFLAG3_IS_LAID_OUT) == PFLAG3_IS_LAID_OUT; } /** Loading Loading @@ -11813,7 +11813,7 @@ public class View implements Drawable.Callback, KeyEvent.Callback, mPrivateFlags &= ~PFLAG_AWAKEN_SCROLL_BARS_ON_ATTACH; } mPrivateFlags3 &= ~PFLAG3_HAS_LAYOUT; mPrivateFlags3 &= ~PFLAG3_IS_LAID_OUT; jumpDrawablesToCurrentState(); Loading Loading @@ -12112,7 +12112,7 @@ public class View implements Drawable.Callback, KeyEvent.Callback, */ protected void onDetachedFromWindow() { mPrivateFlags &= ~PFLAG_CANCEL_NEXT_UP_EVENT; mPrivateFlags3 &= ~PFLAG3_HAS_LAYOUT; mPrivateFlags3 &= ~PFLAG3_IS_LAID_OUT; removeUnsetPressCallback(); removeLongPressCallback(); Loading Loading @@ -14439,7 +14439,7 @@ public class View implements Drawable.Callback, KeyEvent.Callback, } mPrivateFlags &= ~PFLAG_FORCE_LAYOUT; mPrivateFlags3 |= PFLAG3_HAS_LAYOUT; mPrivateFlags3 |= PFLAG3_IS_LAID_OUT; } /**
core/java/android/view/transition/TransitionManager.java +1 −1 Original line number Diff line number Diff line Loading @@ -320,7 +320,7 @@ public class TransitionManager { * value of null causes the TransitionManager to use the default transition. */ public static void beginDelayedTransition(final ViewGroup sceneRoot, Transition transition) { if (!sPendingTransitions.contains(sceneRoot) && sceneRoot.hasLayout()) { if (!sPendingTransitions.contains(sceneRoot) && sceneRoot.isLaidOut()) { if (Transition.DBG) { Log.d(LOG_TAG, "beginDelayedTransition: root, transition = " + sceneRoot + ", " + transition); Loading
core/java/android/widget/HorizontalScrollView.java +1 −1 Original line number Diff line number Diff line Loading @@ -1480,7 +1480,7 @@ public class HorizontalScrollView extends FrameLayout { } mChildToScrollTo = null; if (!hasLayout()) { if (!isLaidOut()) { final int scrollRange = Math.max(0, childWidth - (r - l - mPaddingLeft - mPaddingRight)); if (mSavedState != null) { Loading
core/java/android/widget/ScrollView.java +1 −1 Original line number Diff line number Diff line Loading @@ -1473,7 +1473,7 @@ public class ScrollView extends FrameLayout { } mChildToScrollTo = null; if (!hasLayout()) { if (!isLaidOut()) { if (mSavedState != null) { mScrollY = mSavedState.scrollPosition; mSavedState = null; Loading