Home
last modified time | relevance | path

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

/ide/tools/previewer/mock/
DVirtualScreen.cpp209 int VirtualScreen::GetJpgQualityValue(int32_t width, int32_t height) const in GetJpgQualityValue()
211 long long pixCount = static_cast<long long>(width) * static_cast<long long>(height); in GetJpgQualityValue()
294 void VirtualScreen::RgbToJpg(unsigned char* data, const int32_t width, const int32_t height) in RgbToJpg() argument
296 if (width < 1 || height < 1) { in RgbToJpg()
305 jpeg.image_height = height; in RgbToJpg()
309 jpeg_set_quality(&jpeg, GetJpgQualityValue(width, height), TRUE); in RgbToJpg()
357 void VirtualScreen::SetCurrentResolution(int32_t width, int32_t height) in SetCurrentResolution() argument
360 currentHeight = height; in SetCurrentResolution()
DVirtualScreen.h70 int GetJpgQualityValue(int32_t width, int32_t height) const;
90 void RgbToJpg(unsigned char* data, const int32_t width, const int32_t height);
101 void SetCurrentResolution(int32_t width, int32_t height);
/ide/tools/previewer/mock/rich/
DVirtualScreenImpl.cpp73 const int32_t height) in LoadDocCallback() argument
84 GetInstance().heightTemp = height; in LoadDocCallback()
104 const int32_t width, const int32_t height) in CallBack() argument
121 if (!LoadDocCallback(data, length, width, height)) { in CallBack()
129 return GetInstance().SendPixmap(data, length, width, height); in CallBack()
268 uint16_t height = static_cast<uint16_t>(retHeight); in SendPixmap() local
273 WriteBuffer(height); in SendPixmap()
DVirtualScreenImpl.h28 const int32_t width, const int32_t height);
29 …ic bool CallBack(const void* data, const size_t length, const int32_t width, const int32_t height);
/ide/tools/previewer/mock/lite/
DVirtualScreenImpl.cpp146 void VirtualScreenImpl::Send(unsigned char* data, int32_t width, int32_t height) in Send() argument
153 VirtualScreen::RgbToJpg(data + headSize, width, height); in Send()
275 bufferInfo->height = orignalResolutionHeight; in GetFBBufferInfo()
DVirtualScreenImpl.h53 void Send(unsigned char* data, int32_t width, int32_t height);
/ide/tools/previewer/jsapp/
DJsApp.h73 …virtual void FoldStatusChanged(const std::string commandFoldStatus, int32_t width, int32_t height);
DJsApp.cpp186 void JsApp::FoldStatusChanged(const std::string commandFoldStatus, int32_t width, int32_t height) {} in FoldStatusChanged() argument
/ide/tools/previewer/jsapp/rich/
DJsAppImpl.h79 …void FoldStatusChanged(const std::string commandFoldStatus, int32_t width, int32_t height) overrid…
137 int32_t height = 0; variable
DJsAppImpl.cpp120 aceRunArgs.deviceWidth = height; in OrientationChanged()
135 glfwRenderContext->SetWindowSize(width, height); in OrientationChanged()
606 height = compHeight; in AssignValueForWidthAndHeight()
607 ILOG("AssignValueForWidthAndHeight: %d %d %d %d", orignalWidth, orignalHeight, width, height); in AssignValueForWidthAndHeight()
917 …id JsAppImpl::FoldStatusChanged(const std::string commandFoldStatus, int32_t width, int32_t height) in FoldStatusChanged() argument
930 ResolutionParam param(width, height, width, height); in FoldStatusChanged()
/ide/tools/previewer/cli/
DCommandLine.cpp475 int32_t height = args["height"].asInt(); in RunSet() local
481 ResolutionParam param(originWidth, originHeight, width, height); in RunSet()
615 int height = previewParam["height"].asInt(); in IsIntValValid() local
617 if (width < minLoadDocWidth || width > maxLoadDocWidth || height < minLoadDocWidth || in IsIntValValid()
618 height > maxLoadDocWidth || dpi < minDpi || dpi > maxDpi) { in IsIntValValid()
1518 int32_t height = args["height"].asInt(); in RunSet() local
1521 JsAppImpl::GetInstance().FoldStatusChanged(commandStatus, width, height); in RunSet()