Home
last modified time | relevance | path

Searched refs:orignalResolutionWidth (Results 1 - 10 of 10) sorted by relevance

/ide/tools/previewer/test/mock/mock/
H A DMockVirtualScreen.cpp85 orignalResolutionWidth = 1080; // 1080 is default width in InitVirtualScreen()
100 orignalResolutionHeight = orignalResolutionWidth; in WidthAndHeightReverse()
101 orignalResolutionWidth = temp; in WidthAndHeightReverse()
124 return orignalResolutionWidth; in GetOrignalWidth()
/ide/tools/previewer/mock/lite/
H A DVirtualScreenImpl.cpp40 if ((!CommandParser::GetInstance().IsResolutionValid(orignalResolutionWidth)) || in InitAll()
42 ELOG("VirtualScreen::InitAll invalid resolution, width : %d height : %d", orignalResolutionWidth, in InitAll()
47 bufferSize = orignalResolutionWidth * orignalResolutionHeight * pixelSize + headSize; in InitAll()
78 if (x2 >= orignalResolutionWidth || y2 >= orignalResolutionHeight) { in IsRectValid()
90 regionWidth = static_cast<uint16_t>(orignalResolutionWidth); in WriteRefreshRegion()
112 WriteBuffer(orignalResolutionWidth); in InitBuffer()
291 bufferInfo->stride = orignalResolutionWidth * (OHOS::DrawUtils::GetPxSizeByColorMode(bufferInfo->mode) >> 3); in GetFBBufferInfo()
292 bufferInfo->width = orignalResolutionWidth; in GetFBBufferInfo()
301 return orignalResolutionWidth; in GetScreenWidth()
/ide/tools/previewer/mock/
H A DVirtualScreen.cpp41 orignalResolutionWidth(0), in VirtualScreen()
85 return orignalResolutionWidth; in GetOrignalWidth()
90 orignalResolutionWidth = value; in SetOrignalWidth()
156 orignalResolutionHeight = orignalResolutionWidth; in WidthAndHeightReverse()
157 orignalResolutionWidth = temp; in WidthAndHeightReverse()
377 SetOrignalWidth(commandInfo.orignalResolutionWidth); in InitResolution()
381 SetCurrentResolution(commandInfo.orignalResolutionWidth, commandInfo.orignalResolutionHeight); in InitResolution()
H A DVirtualScreen.h109 int32_t orignalResolutionWidth; member in VirtualScreen::LoadDocType::ProtocolVersion::JpgPixCountLevel::JpgQualityLevel
/ide/tools/previewer/test/unittest/mock/
H A DVirtualScreenImplTest.cpp136 CommandParser::GetInstance().orignalResolutionWidth = width; in TEST_F()
141 EXPECT_EQ(VirtualScreenImpl::GetInstance().orignalResolutionWidth, width); in TEST_F()
173 VirtualScreenImpl::GetInstance().orignalResolutionWidth = width; in TEST_F()
178 EXPECT_EQ(VirtualScreenImpl::GetInstance().orignalResolutionWidth, height); in TEST_F()
188 VirtualScreenImpl::GetInstance().orignalResolutionWidth = width; in TEST_F()
195 EXPECT_EQ(VirtualScreenImpl::GetInstance().orignalResolutionWidth, newWidth); in TEST_F()
398 EXPECT_EQ(info.orignalResolutionWidth, width); in TEST_F()
512 CommandParser::GetInstance().orignalResolutionWidth = width; in TEST_F()
/ide/tools/previewer/util/
H A DCommandParser.h36 int32_t orignalResolutionWidth; member in CommandInfo
131 int32_t orignalResolutionWidth; member in CommandParser::ScreenMode
H A DCommandParser.cpp28 orignalResolutionWidth(0), in CommandParser()
248 return orignalResolutionWidth; in GetOrignalResolutionWidth()
360 orignalResolutionWidth = atoi(Values("-or")[0].c_str()); in IsResolutionValid()
364 ILOG("CommandParser resolution: %d %d %d %d", orignalResolutionWidth, orignalResolutionHeight, in IsResolutionValid()
1034 info.orignalResolutionWidth = GetOrignalResolutionWidth(); in GetCommandInfo()
/ide/tools/previewer/mock/rich/
H A DVirtualScreenImpl.h23 int32_t orignalResolutionWidth; member in ScreenInfo
H A DVirtualScreenImpl.cpp430 info.orignalResolutionWidth = GetOrignalWidth(); in GetScreenInfo()
/ide/tools/previewer/jsapp/rich/
H A DJsAppImpl.cpp169 OHOS::Rosen::FoldStatus::FOLDED ? screenInfo.foldWidth : screenInfo.orignalResolutionWidth); in SetJsAppArgs()
187 OHOS::Rosen::FoldStatus::FOLDED ? screenInfo.foldWidth : screenInfo.orignalResolutionWidth); in SetJsAppArgs()
202 AssignValueForWidthAndHeight(screenInfo.orignalResolutionWidth, screenInfo.orignalResolutionHeight, in RunJsApp()

Completed in 8 milliseconds