/ide/tools/previewer/mock/ |
D | VirtualScreen.cpp | 209 int VirtualScreen::GetJpgQualityValue(int32_t width, int32_t height) const in GetJpgQualityValue() argument 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() 304 jpeg.image_width = width; in RgbToJpg() 309 jpeg_set_quality(&jpeg, GetJpgQualityValue(width, height), TRUE); in RgbToJpg() 312 int rowStride = width * jpgPix; in RgbToJpg() 357 void VirtualScreen::SetCurrentResolution(int32_t width, int32_t height) in SetCurrentResolution() argument 359 currentWidth = width; in SetCurrentResolution()
|
D | VirtualScreen.h | 70 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/util/ |
D | TimeTool.cpp | 53 string TimeTool::FixedTime(int32_t time, int32_t width) in FixedTime() argument 57 if (len < width) { in FixedTime() 58 for (int i = 0; i < width - len; i++) { in FixedTime()
|
D | TimeTool.h | 28 static std::string FixedTime(int32_t time, int32_t width);
|
/ide/tools/previewer/mock/rich/ |
D | VirtualScreenImpl.cpp | 72 const int32_t width, in LoadDocCallback() argument 83 GetInstance().widthTemp = width; 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() 267 uint16_t width = static_cast<uint16_t>(retWidth); in SendPixmap() local 272 WriteBuffer(width); in SendPixmap()
|
D | VirtualScreenImpl.h | 28 const int32_t width, const int32_t height); 29 …static bool CallBack(const void* data, const size_t length, const int32_t width, const int32_t hei…
|
/ide/tools/previewer/mock/lite/ |
D | VirtualScreenImpl.cpp | 146 void VirtualScreenImpl::Send(unsigned char* data, int32_t width, int32_t height) in Send() argument 153 VirtualScreen::RgbToJpg(data + headSize, width, height); in Send() 274 bufferInfo->width = orignalResolutionWidth; in GetFBBufferInfo()
|
D | VirtualScreenImpl.h | 53 void Send(unsigned char* data, int32_t width, int32_t height);
|
/ide/tools/previewer/jsapp/ |
D | JsApp.h | 73 …virtual void FoldStatusChanged(const std::string commandFoldStatus, int32_t width, int32_t height);
|
D | JsApp.cpp | 186 void JsApp::FoldStatusChanged(const std::string commandFoldStatus, int32_t width, int32_t height) {} in FoldStatusChanged() argument
|
/ide/tools/previewer/jsapp/rich/ |
D | JsAppImpl.h | 79 …void FoldStatusChanged(const std::string commandFoldStatus, int32_t width, int32_t height) overrid… 136 int32_t width = 0; variable
|
D | JsAppImpl.cpp | 121 aceRunArgs.deviceHeight = width; in OrientationChanged() 135 glfwRenderContext->SetWindowSize(width, height); in OrientationChanged() 605 width = compWidth; in AssignValueForWidthAndHeight() 607 ILOG("AssignValueForWidthAndHeight: %d %d %d %d", orignalWidth, orignalHeight, width, height); in AssignValueForWidthAndHeight() 917 void JsAppImpl::FoldStatusChanged(const std::string commandFoldStatus, int32_t width, int32_t heigh… in FoldStatusChanged() argument 930 ResolutionParam param(width, height, width, height); in FoldStatusChanged()
|
/ide/tools/previewer/cli/ |
D | CommandLine.cpp | 474 int32_t width = args["width"].asInt(); in RunSet() local 481 ResolutionParam param(originWidth, originHeight, width, height); in RunSet() 614 int width = previewParam["width"].asInt(); in IsIntValValid() local 617 if (width < minLoadDocWidth || width > maxLoadDocWidth || height < minLoadDocWidth || in IsIntValValid() 1517 int32_t width = args["width"].asInt(); in RunSet() local 1521 JsAppImpl::GetInstance().FoldStatusChanged(commandStatus, width, height); in RunSet()
|