Merge "adding fast setters for translationx/y" into honeycomb
This commit is contained in:
committed by
Android (Google) Code Review
commit
8275c60878
@@ -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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user