Home | History | Annotate | Download | only in surfaceflinger

Lines Matching defs:Transform

24 #include "Transform.h"
32 Transform::Transform() {
36 Transform::Transform(const Transform& other)
40 Transform::Transform(uint32_t orientation) {
44 Transform::~Transform() {
49 bool Transform::isZero(float f) {
53 bool Transform::absIsOne(float f) {
57 Transform Transform::operator * (const Transform& rhs) const
62 Transform r(*this);
86 const vec3& Transform::operator [] (size_t i) const {
90 bool Transform::transformed() const {
94 float Transform::tx() const {
98 float Transform::ty() const {
102 void Transform::reset() {
111 void Transform::set(float tx, float ty)
124 void Transform::set(float a, float b, float c, float d)
133 status_t Transform::set(uint32_t flags, float w, float h)
141 Transform H, V, R;
176 vec2 Transform::transform(const vec2& v) const {
184 vec3 Transform::transform(const vec3& v) const {
193 vec2 Transform::transform(int x, int y) const
195 return transform(vec2(x,y));
198 Rect Transform::makeBounds(int w, int h) const
200 return transform( Rect(w, h) );
203 Rect Transform::transform(const Rect& bounds) const
211 lt = transform(lt);
212 rt = transform(rt);
213 lb = transform(lb);
214 rb = transform(rb);
224 Region Transform::transform(const Region& reg) const
232 out.orSelf(transform(*it++));
235 out.set(transform(reg.bounds()));
245 uint32_t Transform::type() const
248 // recompute what this transform is
298 Transform Transform::inverse() const {
302 Transform result;
322 Transform R, T;
336 uint32_t Transform::getType() const {
340 uint32_t Transform::getOrientation() const
345 bool Transform::preserveRects() const
350 void Transform::dump(const char* name) const