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

This commit is contained in:
Michael Jurka
2011-02-03 12:00:37 -08:00
committed by Android (Google) Code Review

View File

@@ -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
*/