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

Commit a5dd05f2 authored by Adam Powell's avatar Adam Powell Committed by Android Git Automerger
Browse files

am ef7c0948: Merge "Add an internal method for setting optical insets." into lmp-preview-dev

* commit 'ef7c0948ea1379ee9f3f5f40267ca2cf5e76a36b':
  Add an internal method for setting optical insets.
parents 0db9a678 08c06495
Loading
Loading
Loading
Loading
+14 −0
Original line number Diff line number Diff line
@@ -16190,6 +16190,20 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
        return mLayoutInsets;
    }
    /**
     * Set this view's optical insets.
     *
     * <p>This method should be treated similarly to setMeasuredDimension and not as a general
     * property. Views that compute their own optical insets should call it as part of measurement.
     * This method does not request layout. If you are setting optical insets outside of
     * measure/layout itself you will want to call requestLayout() yourself.
     * </p>
     * @hide
     */
    public void setOpticalInsets(Insets insets) {
        mLayoutInsets = insets;
    }
    /**
     * Changes the selection state of this view. A view can be selected or not.
     * Note that selection is not the same as focus. Views are typically