Loading core/java/android/view/ViewRootImpl.java +5 −0 Original line number Original line Diff line number Diff line Loading @@ -2471,6 +2471,9 @@ public final class ViewRootImpl implements ViewParent, mInLayout = true; mInLayout = true; final View host = mView; final View host = mView; if (host == null) { return; } if (DEBUG_ORIENTATION || DEBUG_LAYOUT) { if (DEBUG_ORIENTATION || DEBUG_LAYOUT) { Log.v(mTag, "Laying out " + host + " to (" + Log.v(mTag, "Laying out " + host + " to (" + host.getMeasuredWidth() + ", " + host.getMeasuredHeight() + ")"); host.getMeasuredWidth() + ", " + host.getMeasuredHeight() + ")"); Loading Loading @@ -2778,6 +2781,8 @@ public final class ViewRootImpl implements ViewParent, private void performDraw() { private void performDraw() { if (mAttachInfo.mDisplayState == Display.STATE_OFF && !mReportNextDraw) { if (mAttachInfo.mDisplayState == Display.STATE_OFF && !mReportNextDraw) { return; return; } else if (mView == null) { return; } } final boolean fullRedrawNeeded = mFullRedrawNeeded; final boolean fullRedrawNeeded = mFullRedrawNeeded; Loading Loading
core/java/android/view/ViewRootImpl.java +5 −0 Original line number Original line Diff line number Diff line Loading @@ -2471,6 +2471,9 @@ public final class ViewRootImpl implements ViewParent, mInLayout = true; mInLayout = true; final View host = mView; final View host = mView; if (host == null) { return; } if (DEBUG_ORIENTATION || DEBUG_LAYOUT) { if (DEBUG_ORIENTATION || DEBUG_LAYOUT) { Log.v(mTag, "Laying out " + host + " to (" + Log.v(mTag, "Laying out " + host + " to (" + host.getMeasuredWidth() + ", " + host.getMeasuredHeight() + ")"); host.getMeasuredWidth() + ", " + host.getMeasuredHeight() + ")"); Loading Loading @@ -2778,6 +2781,8 @@ public final class ViewRootImpl implements ViewParent, private void performDraw() { private void performDraw() { if (mAttachInfo.mDisplayState == Display.STATE_OFF && !mReportNextDraw) { if (mAttachInfo.mDisplayState == Display.STATE_OFF && !mReportNextDraw) { return; return; } else if (mView == null) { return; } } final boolean fullRedrawNeeded = mFullRedrawNeeded; final boolean fullRedrawNeeded = mFullRedrawNeeded; Loading