Lines Matching refs:Transform
30 Transform::Transform() { in Transform() function in android::ui::Transform
34 Transform::Transform(const Transform& other) in Transform() function in android::ui::Transform
38 Transform::Transform(uint32_t orientation, int w, int h) { in Transform() function in android::ui::Transform
42 Transform::~Transform() = default;
46 bool Transform::isZero(float f) { in isZero()
50 bool Transform::absIsOne(float f) { in absIsOne()
54 bool Transform::operator==(const Transform& other) const { in operator ==()
62 Transform Transform::operator*(const Transform& rhs) const { in operator *()
66 Transform r(*this); in operator *()
90 Transform Transform::operator * (float value) const { in operator *()
91 Transform r(*this); in operator *()
103 Transform& Transform::operator=(const Transform& other) { in operator =()
109 const vec3& Transform::operator [] (size_t i) const { in operator []()
113 float Transform::tx() const { in tx()
117 float Transform::ty() const { in ty()
121 float Transform::dsdx() const { in dsdx()
125 float Transform::dtdx() const { in dtdx()
129 float Transform::dtdy() const { in dtdy()
133 float Transform::dsdy() const { in dsdy()
137 float Transform::det() const { in det()
141 float Transform::getScaleX() const { in getScaleX()
145 float Transform::getScaleY() const { in getScaleY()
149 void Transform::reset() { in reset()
158 void Transform::set(float tx, float ty) { in set()
170 void Transform::set(float a, float b, float c, float d) { in set()
178 status_t Transform::set(uint32_t flags, float w, float h) { in set()
185 Transform H, V, R; in set()
220 void Transform::set(const std::array<float, 9>& matrix) { in set()
229 vec2 Transform::transform(const vec2& v) const { in transform()
237 vec3 Transform::transform(const vec3& v) const { in transform()
246 vec2 Transform::transform(float x, float y) const { in transform()
250 Rect Transform::makeBounds(int w, int h) const { in makeBounds()
254 Rect Transform::transform(const Rect& bounds, bool roundOutwards) const { in transform()
281 FloatRect Transform::transform(const FloatRect& bounds) const { in transform()
301 Region Transform::transform(const Region& reg) const { in transform()
321 uint32_t Transform::type() const { in type()
373 Transform Transform::inverse() const { in inverse()
377 Transform result; in inverse()
417 uint32_t Transform::getType() const { in getType()
421 uint32_t Transform::getOrientation() const { in getOrientation()
425 bool Transform::preserveRects() const { in preserveRects()
429 bool Transform::needsBilinearFiltering() const { in needsBilinearFiltering()
430 return (!preserveRects() || getType() >= ui::Transform::SCALE); in needsBilinearFiltering()
433 mat4 Transform::asMatrix4() const { in asMatrix4()
466 case Transform::ROT_0: in rotationToString()
468 case Transform::FLIP_H: in rotationToString()
470 case Transform::FLIP_V: in rotationToString()
472 case Transform::ROT_90: in rotationToString()
474 case Transform::ROT_180: in rotationToString()
476 case Transform::ROT_270: in rotationToString()
478 case Transform::ROT_INVALID: in rotationToString()
485 if (transform == Transform::IDENTITY) { in transformToString()
489 if (transform == Transform::UNKNOWN) { in transformToString()
494 if (transform & Transform::SCALE) out.append("SCALE "); in transformToString()
495 if (transform & Transform::ROTATE) out.append("ROTATE "); in transformToString()
496 if (transform & Transform::TRANSLATE) out.append("TRANSLATE"); in transformToString()
500 void Transform::dump(std::string& out, const char* name, const char* prefix) const { in dump()
532 void Transform::dump(const char* name, const char* prefix) const { in dump()