Convert tabs to spaces.
Change-Id: I5d3ae48af79b19b6d293deff0521e4bb57d5114b
diff --git a/libs/hwui/Matrix.h b/libs/hwui/Matrix.h
index 8fa5e4d..fa9638b 100644
--- a/libs/hwui/Matrix.h
+++ b/libs/hwui/Matrix.h
@@ -30,67 +30,67 @@
class Matrix4 {
public:
- float data[16];
+ float data[16];
- Matrix4() {
- loadIdentity();
- }
+ Matrix4() {
+ loadIdentity();
+ }
- Matrix4(const float* v) {
- load(v);
- }
+ Matrix4(const float* v) {
+ load(v);
+ }
- Matrix4(const Matrix4& v) {
- load(v);
- }
+ Matrix4(const Matrix4& v) {
+ load(v);
+ }
- Matrix4(const SkMatrix& v) {
- load(v);
- }
+ Matrix4(const SkMatrix& v) {
+ load(v);
+ }
- void loadIdentity();
+ void loadIdentity();
- void load(const float* v);
- void load(const Matrix4& v);
- void load(const SkMatrix& v);
+ void load(const float* v);
+ void load(const Matrix4& v);
+ void load(const SkMatrix& v);
- void loadTranslate(float x, float y, float z);
- void loadScale(float sx, float sy, float sz);
- void loadRotate(float angle, float x, float y, float z);
- void loadMultiply(const Matrix4& u, const Matrix4& v);
+ void loadTranslate(float x, float y, float z);
+ void loadScale(float sx, float sy, float sz);
+ void loadRotate(float angle, float x, float y, float z);
+ void loadMultiply(const Matrix4& u, const Matrix4& v);
- void loadOrtho(float left, float right, float bottom, float top, float near, float far);
+ void loadOrtho(float left, float right, float bottom, float top, float near, float far);
- void multiply(const Matrix4& v) {
- Matrix4 u;
- u.loadMultiply(*this, v);
- load(u);
- }
+ void multiply(const Matrix4& v) {
+ Matrix4 u;
+ u.loadMultiply(*this, v);
+ load(u);
+ }
- void translate(float x, float y, float z) {
- Matrix4 u;
- u.loadTranslate(x, y, z);
- multiply(u);
- }
+ void translate(float x, float y, float z) {
+ Matrix4 u;
+ u.loadTranslate(x, y, z);
+ multiply(u);
+ }
- void scale(float sx, float sy, float sz) {
- Matrix4 u;
- u.loadScale(sx, sy, sz);
- multiply(u);
- }
+ void scale(float sx, float sy, float sz) {
+ Matrix4 u;
+ u.loadScale(sx, sy, sz);
+ multiply(u);
+ }
- void rotate(float angle, float x, float y, float z) {
- Matrix4 u;
- u.loadRotate(angle, x, y, z);
- multiply(u);
- }
+ void rotate(float angle, float x, float y, float z) {
+ Matrix4 u;
+ u.loadRotate(angle, x, y, z);
+ multiply(u);
+ }
- void copyTo(float* v) const;
- void copyTo(SkMatrix& v) const;
+ void copyTo(float* v) const;
+ void copyTo(SkMatrix& v) const;
- void mapRect(Rect& r) const;
+ void mapRect(Rect& r) const;
- void dump() const;
+ void dump() const;
private:
inline float get(int i, int j) const {
@@ -98,7 +98,7 @@
}
inline void set(int i, int j, float v) {
- data[i * 4 + j] = v;
+ data[i * 4 + j] = v;
}
}; // class Matrix4