Home
last modified time | relevance | path

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

/ide/tools/previewer/util/
DTimeTool.cpp53 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()
DTimeTool.h28 static std::string FixedTime(int32_t time, int32_t width);
/ide/tools/previewer/mock/rich/
DVirtualScreenImpl.cpp72 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()
DVirtualScreenImpl.h28 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/
DVirtualScreen.cpp209 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()
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);
/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()
274 bufferInfo->width = orignalResolutionWidth; in GetFBBufferInfo()
DVirtualScreenImpl.h53 void Send(unsigned char* data, int32_t width, int32_t height);
/ide/tools/previewer/jsapp/rich/
DJsAppImpl.cpp117 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()
DJsAppImpl.h131 int32_t width = 0; variable
/ide/tools/previewer/cli/
DCommandLine.cpp464 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()