Home
last modified time | relevance | path

Searched refs:invTransform (Results 1 – 1 of 1) sorted by relevance

/frameworks/native/services/surfaceflinger/
DLayer.cpp436 uint32_t invTransform = mCurrentTransform; in computeCrop() local
448 invTransform = (Transform(invTransformOrient) * Transform(invTransform)).getOrientation(); in computeCrop()
453 if (invTransform & NATIVE_WINDOW_TRANSFORM_ROT_90) { in computeCrop()
459 bool is_h_flipped = (invTransform & NATIVE_WINDOW_TRANSFORM_FLIP_H) != 0; in computeCrop()
460 bool is_v_flipped = (invTransform & NATIVE_WINDOW_TRANSFORM_FLIP_V) != 0; in computeCrop()
462 invTransform ^= NATIVE_WINDOW_TRANSFORM_FLIP_V | NATIVE_WINDOW_TRANSFORM_FLIP_H; in computeCrop()
467 const Rect winCrop = activeCrop.transform(invTransform, s.active.w, s.active.h); in computeCrop()
617 uint32_t invTransform = DisplayDevice::getPrimaryDisplayOrientationTransform(); in setGeometry() local
619 if (invTransform & NATIVE_WINDOW_TRANSFORM_ROT_90) { in setGeometry()
620 invTransform ^= NATIVE_WINDOW_TRANSFORM_FLIP_V | NATIVE_WINDOW_TRANSFORM_FLIP_H; in setGeometry()
[all …]