Lines Matching refs:mType
37 : mMatrix(other.mMatrix), mType(other.mType) {
59 if (CC_LIKELY(mType == IDENTITY))
63 if (rhs.mType == IDENTITY)
66 // TODO: we could use mType to optimize the matrix multiply
78 r.mType |= rhs.mType;
81 r.mType &= 0xFF;
82 r.mType |= UNKNOWN_TYPE;
103 mType = IDENTITY;
118 mType &= ~TRANSLATE;
120 mType |= TRANSLATE;
130 mType = UNKNOWN_TYPE;
148 H.mType = (FLIP_H << 8) | SCALE;
149 H.mType |= isZero(w) ? IDENTITY : TRANSLATE;
156 V.mType = (FLIP_V << 8) | SCALE;
157 V.mType |= isZero(h) ? IDENTITY : TRANSLATE;
165 R.mType = (ROT_90 << 8) | ROTATE;
166 R.mType |= isZero(original_w) ? IDENTITY : TRANSLATE;
247 if (mType & UNKNOWN_TYPE) {
278 mType = flags << 8;
280 mType |= UNKNOWN;
283 mType |= ROTATE;
285 mType ^= SCALE;
287 mType ^= SCALE;
289 mType |= SCALE;
293 mType |= TRANSLATE;
295 return mType;
303 if (mType <= TRANSLATE) {
326 R.mType = mType &= ~TRANSLATE;
330 T.mType = TRANSLATE;
356 uint32_t orient = mType >> 8;
372 if (!(mType&(SCALE|ROTATE|TRANSLATE)))
374 if (mType&SCALE)
376 if (mType&ROTATE)
378 if (mType&TRANSLATE)
381 ALOGD("%s 0x%08x (%s, %s)", name, mType, flags.string(), type.string());