/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 115 VirtualScreenImpl::GetInstance().SetOrignalWidth(width); in CallBack() 117 VirtualScreenImpl::GetInstance().SetCompressionWidth(width); in CallBack() 125 if (!LoadDocCallback(data, length, width, height)) { in CallBack() 133 return GetInstance().SendPixmap(data, length, width, height); in CallBack() 271 uint16_t width = static_cast<uint16_t>(retWidth); in SendPixmap() local 276 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/ |
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()
|
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);
|
/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/rich/ |
D | JsAppImpl.cpp | 117 aceRunArgs.deviceHeight = width; in OrientationChanged() 137 glfwRenderContext->SetWindowSize(width, height); in OrientationChanged() 177 SetDeviceWidth(args, width); in SetJsAppArgs() 632 width = compWidth; in AssignValueForWidthAndHeight() 634 ILOG("AssignValueForWidthAndHeight: %d %d %d %d", orignalWidth, orignalHeight, width, height); in AssignValueForWidthAndHeight() 656 glfwRenderContext->SetWindowSize(width, height); in ResolutionChanged() 664 glfwRenderContext->SetWindowSize(width, height); in ResolutionChanged() 848 glfwRenderContext->SetWindowSize(width, height); in LoadDocument()
|
D | JsAppImpl.h | 131 int32_t width = 0; variable
|
/ide/tools/previewer/cli/ |
D | CommandLine.cpp | 464 int32_t width = args["width"].asInt(); in RunSet() local 467 …JsAppImpl::GetInstance().ResolutionChanged(originWidth, originHeight, width, height, screenDensity… in RunSet() 599 int width = previewParam["width"].asInt(); in IsIntValValid() local 602 if (width < minLoadDocWidth || width > maxLoadDocWidth || height < minLoadDocWidth || in IsIntValValid()
|