Home | History | Annotate | Download | only in surfaceflinger

Lines Matching refs: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 float const* Transform::operator [] (int 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 Transform::vec2 Transform::transform(const vec2& v) const {
184 Transform::vec3 Transform::transform(const vec3& v) const {
193 void Transform::transform(float* point, int x, int y) const
197 v = transform(v);
202 Rect Transform::makeBounds(int w, int h) const
204 return transform( Rect(w, h) );
207 Rect Transform::transform(const Rect& bounds) const
215 lt = transform(lt);
216 rt = transform(rt);
217 lb = transform(lb);
218 rb = transform(rb);
228 Region Transform::transform(const Region& reg) const
236 out.orSelf(transform(*it++));
239 out.set(transform(reg.bounds()));
249 uint32_t Transform::type() const
252 // recompute what this transform is
302 uint32_t Transform::getType() const {
306 uint32_t Transform::getOrientation() const
311 bool Transform::preserveRects() const
316 void Transform::dump(const char* name) const