Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit acafb26d authored by Nicolas Roard's avatar Nicolas Roard Committed by Android Git Automerger
Browse files

am f986d496: Merge "Partial invalidation of the browser textures" into honeycomb-mr1

* commit 'f986d496':
  Partial invalidation of the browser textures
parents ae850caf f986d496
Loading
Loading
Loading
Loading
+4 −9
Original line number Diff line number Diff line
@@ -4036,15 +4036,10 @@ public class WebView extends AbsoluteLayout
        }
    }

    void setBaseLayer(int layer, Rect invalRect, boolean showVisualIndciator) {
    void setBaseLayer(int layer, Region invalRegion, boolean showVisualIndicator) {
        if (mNativeClass == 0)
            return;
        if (invalRect == null) {
            Rect rect = new Rect(0, 0, mContentWidth, mContentHeight);
            nativeSetBaseLayer(layer, rect, showVisualIndciator);
        } else {
            nativeSetBaseLayer(layer, invalRect, showVisualIndciator);
        }
        nativeSetBaseLayer(layer, invalRegion, showVisualIndicator);
    }

    private void onZoomAnimationStart() {
@@ -7571,7 +7566,7 @@ public class WebView extends AbsoluteLayout
                case NEW_PICTURE_MSG_ID: {
                    // called for new content
                    final WebViewCore.DrawData draw = (WebViewCore.DrawData) msg.obj;
                    setBaseLayer(draw.mBaseLayer, draw.mInvalRegion.getBounds(),
                    setBaseLayer(draw.mBaseLayer, draw.mInvalRegion,
                            getSettings().getShowVisualIndicator());
                    final Point viewSize = draw.mViewSize;
                    WebViewCore.ViewState viewState = draw.mViewState;
@@ -8613,7 +8608,7 @@ public class WebView extends AbsoluteLayout
    private native void     nativeSetFindIsEmpty();
    private native void     nativeSetFindIsUp(boolean isUp);
    private native void     nativeSetHeightCanMeasure(boolean measure);
    private native void     nativeSetBaseLayer(int layer, Rect invalRect,
    private native void     nativeSetBaseLayer(int layer, Region invalRegion,
            boolean showVisualIndicator);
    private native void     nativeShowCursorTimed();
    private native void     nativeReplaceBaseContent(int content);