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

Commit 8275c608 authored by Michael Jurka's avatar Michael Jurka Committed by Android (Google) Code Review
Browse files

Merge "adding fast setters for translationx/y" into honeycomb

parents 3b66e43e dece29ff
Loading
Loading
Loading
Loading
+16 −0
Original line number Diff line number Diff line
@@ -6406,6 +6406,22 @@ public class View implements Drawable.Callback, KeyEvent.Callback, Accessibility
        }
    }

    /**
     * @hide
     */
    public void setFastTranslationX(float x) {
        mTranslationX = x;
        mMatrixDirty = true;
    }

    /**
     * @hide
     */
    public void setFastTranslationY(float y) {
        mTranslationY = y;
        mMatrixDirty = true;
    }

    /**
     * @hide
     */