Loading core/java/android/view/ViewRootImpl.java +5 −4 Original line number Original line Diff line number Diff line Loading @@ -889,11 +889,12 @@ public final class ViewRootImpl implements ViewParent, // Intersect with the bounds of the window to skip // Intersect with the bounds of the window to skip // updates that lie outside of the visible region // updates that lie outside of the visible region final float appScale = mAttachInfo.mApplicationScale; final float appScale = mAttachInfo.mApplicationScale; localDirty.intersect(0, 0, if (localDirty.intersect(0, 0, (int) (mWidth * appScale + 0.5f), (int) (mHeight * appScale + 0.5f)); (int) (mWidth * appScale + 0.5f), (int) (mHeight * appScale + 0.5f)) && !mWillDrawSoon) { if (!mWillDrawSoon) { scheduleTraversals(); scheduleTraversals(); } else { localDirty.setEmpty(); } } return null; return null; Loading Loading
core/java/android/view/ViewRootImpl.java +5 −4 Original line number Original line Diff line number Diff line Loading @@ -889,11 +889,12 @@ public final class ViewRootImpl implements ViewParent, // Intersect with the bounds of the window to skip // Intersect with the bounds of the window to skip // updates that lie outside of the visible region // updates that lie outside of the visible region final float appScale = mAttachInfo.mApplicationScale; final float appScale = mAttachInfo.mApplicationScale; localDirty.intersect(0, 0, if (localDirty.intersect(0, 0, (int) (mWidth * appScale + 0.5f), (int) (mHeight * appScale + 0.5f)); (int) (mWidth * appScale + 0.5f), (int) (mHeight * appScale + 0.5f)) && !mWillDrawSoon) { if (!mWillDrawSoon) { scheduleTraversals(); scheduleTraversals(); } else { localDirty.setEmpty(); } } return null; return null; Loading