Searched refs:rotated90 (Results 1 – 2 of 2) sorted by relevance
354 bool rotated90 = (bool)(layer->transform & HAL_TRANSFORM_ROT_90); in isValidDimension() local355 int crop_w = rotated90 ? crop.bottom - crop.top : crop.right - crop.left; in isValidDimension()356 int crop_h = rotated90 ? crop.right - crop.left : crop.bottom - crop.top; in isValidDimension()
412 bool rotated90 = (bool)(layer->transform & HAL_TRANSFORM_ROT_90); in isValidDimension() local413 int crop_w = rotated90 ? crop.bottom - crop.top : crop.right - crop.left; in isValidDimension()414 int crop_h = rotated90 ? crop.right - crop.left : crop.bottom - crop.top; in isValidDimension()