Lines Matching defs:width

83         int32_t width = 100;
84 VirtualScreenImpl::GetInstance().SetOrignalWidth(width);
85 EXPECT_EQ(VirtualScreenImpl::GetInstance().GetOrignalWidth(), width);
104 int32_t width = 100;
105 VirtualScreenImpl::GetInstance().SetOrignalHeight(width);
106 EXPECT_EQ(VirtualScreenImpl::GetInstance().GetOrignalHeight(), width);
111 int32_t width = 100;
112 VirtualScreenImpl::GetInstance().SetCompressionWidth(width);
113 EXPECT_EQ(VirtualScreenImpl::GetInstance().GetCompressionWidth(), width);
118 int32_t width = 100;
119 VirtualScreenImpl::GetInstance().SetCompressionHeight(width);
120 EXPECT_EQ(VirtualScreenImpl::GetInstance().GetCompressionHeight(), width);
134 int width = 1111;
136 CommandParser::GetInstance().orignalResolutionWidth = width;
138 CommandParser::GetInstance().compressionResolutionWidth = width;
141 EXPECT_EQ(VirtualScreenImpl::GetInstance().orignalResolutionWidth, width);
143 EXPECT_EQ(VirtualScreenImpl::GetInstance().compressionResolutionWidth, width);
170 int32_t width = 1080;
173 VirtualScreenImpl::GetInstance().orignalResolutionWidth = width;
175 VirtualScreenImpl::GetInstance().compressionResolutionWidth = width;
177 EXPECT_EQ(VirtualScreenImpl::GetInstance().orignalResolutionHeight, width);
179 EXPECT_EQ(VirtualScreenImpl::GetInstance().compressionResolutionHeight, width);
185 int32_t width = 1080;
188 VirtualScreenImpl::GetInstance().orignalResolutionWidth = width;
190 VirtualScreenImpl::GetInstance().compressionResolutionWidth = width;
203 int32_t width = 200;
205 int ret = VirtualScreenImpl::GetInstance().GetJpgQualityValue(width, height);
208 width = 400;
210 ret = VirtualScreenImpl::GetInstance().GetJpgQualityValue(width, height);
212 width = 500;
214 ret = VirtualScreenImpl::GetInstance().GetJpgQualityValue(width, height);
217 width = 600;
219 ret = VirtualScreenImpl::GetInstance().GetJpgQualityValue(width, height);
221 width = 500;
223 ret = VirtualScreenImpl::GetInstance().GetJpgQualityValue(width, height);
226 width = 700;
228 ret = VirtualScreenImpl::GetInstance().GetJpgQualityValue(width, height);
395 int width = 1000;
396 VirtualScreenImpl::GetInstance().SetOrignalWidth(width);
398 EXPECT_EQ(info.orignalResolutionWidth, width);
403 int width = 1080;
411 CommandParser::GetInstance().argsMap["-fr"] = { std::to_string(width), std::to_string(height) };
414 CommandParser::GetInstance().foldResolutionWidth = width;
419 EXPECT_EQ(VirtualScreenImpl::GetInstance().GetFoldWidth(), width);
426 int width = 100;
428 int length = height * width * pixSize;
434 bool ret = VirtualScreenImpl::GetInstance().SendPixmap(nullptr, length, width, height);
439 ret = VirtualScreenImpl::GetInstance().SendPixmap(jpgBuff, length, width, height);
445 ret = VirtualScreenImpl::GetInstance().SendPixmap(jpgBuff, length, width, height);
472 int width = 100;
475 int length = height * width * pixSize;
486 VirtualScreenImpl::GetInstance().Send(jpgBuff, width, height);
492 VirtualScreenImpl::GetInstance().Send(jpgBuff, width, height);
495 // width < 1
496 width = 0;
497 VirtualScreenImpl::GetInstance().Send(jpgBuff, width, height);
499 width = 100;
502 VirtualScreenImpl::GetInstance().Send(jpgBuff, width, height);
510 int width = 200;
512 CommandParser::GetInstance().orignalResolutionWidth = width;
514 CommandParser::GetInstance().compressionResolutionWidth = width;
517 EXPECT_EQ(VirtualScreenImpl::GetInstance().GetOrignalWidth(), width);
519 EXPECT_EQ(VirtualScreenImpl::GetInstance().GetCompressionWidth(), width);