Lines Matching defs:mode
324 auto mode = absScreen->GetActiveScreenMode();
325 if (mode == nullptr) {
329 uint32_t screenHeight = mode->height_;
330 uint32_t screenWidth = mode->width_;
339 bool isDefaultRotationVertical = mode->height_ > mode->width_ ? true : false;
343 uint32_t displayHeightAfter = isDefaultRotationVertical ? mode->width_ - totalCompressedSize :
344 mode->height_ - totalCompressedSize;
355 absDisplay->SetHeight(isDefaultRotationVertical ? mode->height_ : mode->width_);
356 absDisplay->SetWidth(isDefaultRotationVertical ? mode->width_ : mode->height_);
505 WLOGFE("mode info is null");