Lines Matching refs:flags
133 status_t Transform::set(uint32_t flags, float w, float h) in set() argument
135 if (flags & ROT_INVALID) { in set()
142 if (flags & ROT_90) { in set()
147 if (flags & FLIP_H) { in set()
155 if (flags & FLIP_V) { in set()
163 if (flags & ROT_90) { in set()
263 uint32_t flags = ROT_0; in type() local
265 if (a<0) flags |= FLIP_H; in type()
266 if (d<0) flags |= FLIP_V; in type()
271 flags |= ROT_90; in type()
272 if (b>0) flags |= FLIP_V; in type()
273 if (c<0) flags |= FLIP_H; in type()
279 flags = ROT_INVALID; in type()
282 mType = flags << 8; in type()
283 if (flags & ROT_INVALID) { in type()
286 if ((flags & ROT_90) || ((flags & ROT_180) == ROT_180)) in type()
288 if (flags & FLIP_H) in type()
290 if (flags & FLIP_V) in type()
320 String8 flags, type; in dump() local
325 flags.append("ROT_INVALID "); in dump()
328 flags.append("ROT_90 "); in dump()
330 flags.append("ROT_0 "); in dump()
333 flags.append("FLIP_V "); in dump()
335 flags.append("FLIP_H "); in dump()
347 LOGD("%s 0x%08x (%s, %s)", name, mType, flags.string(), type.string()); in dump()