/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_client/test/unittest/ |
H A D | rs_screen_skipframe_test.cpp | 223 uint32_t defaultHeight = 1280; variable 227 "virtualScreen01", defaultWidth, defaultHeight, psurface, INVALID_SCREEN_ID, -1); 250 uint32_t defaultHeight = 1280; variable 254 "virtualScreen02", defaultWidth, defaultHeight, psurface, INVALID_SCREEN_ID, -1); 277 uint32_t defaultHeight = 1280; variable 281 "virtualScreen03", defaultWidth, defaultHeight, psurface, INVALID_SCREEN_ID, -1); 308 uint32_t defaultHeight = 1280; variable 342 uint32_t defaultHeight = 1280; variable 376 uint32_t defaultHeight = 1280; variable 407 uint32_t defaultHeight = 1280; variable [all …]
|
H A D | rs_virtual_screen_refresh_rate_test.cpp | 60 uint32_t defaultHeight = 1280; // 1280px variable 64 "virtualScreen01", defaultWidth, defaultHeight, psurface, INVALID_SCREEN_ID, -1); 94 uint32_t defaultHeight = 1280; // 1280px variable 98 "virtualScreen01", defaultWidth, defaultHeight, psurface, INVALID_SCREEN_ID, -1); 128 uint32_t defaultHeight = 1280; // 1280px variable 132 "virtualScreen01", defaultWidth, defaultHeight, psurface, INVALID_SCREEN_ID, -1); 162 uint32_t defaultHeight = 1280; // 1280px variable 166 "virtualScreen01", defaultWidth, defaultHeight, psurface, INVALID_SCREEN_ID, -1); 217 uint32_t defaultHeight = 1280; // 1280px variable 221 "virtualScreen01", defaultWidth, defaultHeight, psurface, INVALID_SCREEN_ID, -1);
|
H A D | rs_interfaces_test.cpp | 149 uint32_t defaultHeight = 1280; variable 188 uint32_t defaultHeight = 1280; variable 226 uint32_t defaultHeight = 2772; variable 252 uint32_t defaultHeight = 1280; variable 1383 uint32_t defaultHeight = 1280; variable 1606 uint32_t defaultHeight = 1280; variable 1632 uint32_t defaultHeight = 1280; variable 1658 uint32_t defaultHeight = 1280; variable 1708 uint32_t defaultHeight = 1280; variable 1777 uint32_t defaultHeight = 1280; // height value for test variable [all …]
|
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/components/test/unittest/common/chart/ |
H A D | chart_tdd_test.cpp | 233 int16_t defaultHeight = 300; in ComponentChartStyleValueTest001() local 234 VerifyWidthAndHeight(BUNDLE1, defaultWidth, defaultHeight); in ComponentChartStyleValueTest001() 240 int16_t defaultHeight = 300; in ComponentChartStyleValueTest002() local 241 VerifyWidthAndHeight(BUNDLE2, defaultWidth, defaultHeight); in ComponentChartStyleValueTest002() 256 …ChartTddTest::VerifyWidthAndHeight(const char *bundle, int16_t defaultWidth, int16_t defaultHeight) in VerifyWidthAndHeight() argument 266 EXPECT_TRUE(height == defaultHeight); in VerifyWidthAndHeight()
|
H A D | chart_tdd_test.h | 33 void VerifyWidthAndHeight(const char *bundle, int16_t defaultWidth, int16_t defaultHeight);
|
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/components/ |
H A D | tab_bar_component.cpp | 110 int32_t defaultHeight = 50; in SetHeight() local 111 height_ = defaultHeight; in SetHeight() 115 defaultHeight = (item == nullptr) ? defaultHeight : item->GetNumValue(); in SetHeight() 118 if (defaultHeight >= 0 && defaultHeight <= VERTICAL_RESOLUTION) { in SetHeight() 119 height_ = defaultHeight; in SetHeight()
|
H A D | qrcode_component.cpp | 123 const uint16_t defaultHeight = GetHeight(); in DrawQrcode() local 132 qrcode_.SetHeight(defaultHeight); in DrawQrcode()
|
H A D | input_button_component.cpp | 37 const uint8_t defaultHeight = 50; in CreateNativeViews() local 39 button_.SetHeight(defaultHeight); in CreateNativeViews()
|
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/components/test/unittest/common/ |
H A D | qrcode_tdd_test.cpp | 97 int16_t defaultHeight = 300; in ComponentQrcodeStyleValueTest001() local 103 EXPECT_TRUE(height == defaultHeight); in ComponentQrcodeStyleValueTest001() 117 int16_t defaultHeight = 400; in ComponentQrcodeStyleValueTest002() local 119 EXPECT_TRUE(height == defaultHeight); in ComponentQrcodeStyleValueTest002()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/select/ |
H A D | select_layout_algorithm.cpp | 89 float defaultHeight = MeasureAndGetDefaultHeight(layoutProps, theme); in Measure() local 91 SizeF(rowWidth, rowHeight > defaultHeight ? rowHeight : defaultHeight)); in Measure() 109 float defaultHeight = 0.0f; in MeasureAndGetDefaultHeight() local 113 defaultHeight = in MeasureAndGetDefaultHeight() 116 defaultHeight = static_cast<float>(theme->GetSelectDefaultHeight().ConvertToPx()); in MeasureAndGetDefaultHeight() 118 return defaultHeight; in MeasureAndGetDefaultHeight()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/button/ |
H A D | button_layout_algorithm.cpp | 91 auto defaultHeight = GetDefaultHeight(layoutWrapper); in HandleChildLayoutConstraint() local 92 layoutConstraint.maxSize.SetHeight(maxHeight > defaultHeight ? defaultHeight : maxHeight); in HandleChildLayoutConstraint() 111 auto defaultHeight = GetDefaultHeight(layoutWrapper); in HandleLabelCircleButtonConstraint() local 115 minLength = defaultHeight; in HandleLabelCircleButtonConstraint() 222 auto defaultHeight = GetDefaultHeight(layoutWrapper); in PerformMeasureSelf() local 224 HandleLabelCircleButtonFrameSize(layoutConstraint, frameSize, defaultHeight); in PerformMeasureSelf() 234 …frameSize.SetHeight(maxHeight > defaultHeight ? std::max(defaultHeight, actualHeight) : maxHeight); in PerformMeasureSelf() 249 const LayoutConstraintF& layoutConstraint, SizeF& frameSize, const float& defaultHeight) in HandleLabelCircleButtonFrameSize() argument 253 minLength = static_cast<float>(defaultHeight); in HandleLabelCircleButtonFrameSize()
|
H A D | button_layout_algorithm.h | 47 const LayoutConstraintF& layoutConstraint, SizeF& frameSize, const float& defaultHeight);
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/platform/ohos/ |
H A D | rs_render_service_client_test.cpp | 380 uint32_t defaultHeight = 320; variable 382 "virtualScreenTest", defaultWidth, defaultHeight, psurface, INVALID_SCREEN_ID, -1); 503 uint32_t defaultHeight = 1280; variable 505 "virtualScreenTest", defaultWidth, defaultHeight, psurface, INVALID_SCREEN_ID, -1); 648 uint32_t defaultHeight = 1280; variable 650 "virtualScreenTest", defaultWidth, defaultHeight, psurface, INVALID_SCREEN_ID, -1); 703 uint32_t defaultHeight = 2772; variable 706 "virtualScreenTest", defaultWidth, defaultHeight, psurface, INVALID_SCREEN_ID, -1); 725 uint32_t defaultHeight = 2772; variable 728 "virtualScreenTest", defaultWidth, defaultHeight, psurface, INVALID_SCREEN_ID, -1);
|
/ohos5.0/foundation/multimedia/av_codec/test/fuzztest/hwdecoder_fuzzer/ |
H A D | hwdecoder_fuzzer.cpp | 43 vDecSample->defaultHeight = DEFAULT_HEIGHT; in RunNormalDecoder() 54 vDecSample->defaultHeight = DEFAULT_HEIGHT; in RunNormalDecoder() 78 g_vDecSample->defaultHeight = DEFAULT_HEIGHT; in HwdecoderFuzzTest()
|
/ohos5.0/foundation/multimedia/av_codec/test/fuzztest/hwdecoderapi11_fuzzer/ |
H A D | hwdecoderapi11_fuzzer.cpp | 46 vDecSample->defaultHeight = DEFAULT_HEIGHT; in RunNormalDecoder() 58 vDecSample->defaultHeight = DEFAULT_HEIGHT; in RunNormalDecoder() 83 g_vDecSample->defaultHeight = DEFAULT_HEIGHT; in HwdecoderApi11FuzzTest()
|
/ohos5.0/foundation/multimedia/av_codec/test/fuzztest/encoderconfigure_fuzzer/ |
H A D | videoenc_sample.cpp | 97 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_HEIGHT, defaultHeight); in ConfigureVideoEncoder() 122 defaultHeight = data; in ConfigureVideoEncoderFuzz() 299 for (uint32_t i = 0; i < defaultHeight; i++) { in ReadOneFrameYUV420SP() 307 for (uint32_t i = 0; i < defaultHeight / sampleRatio; i++) { in ReadOneFrameYUV420SP() 319 for (uint32_t i = 0; i < defaultHeight; i++) { in ReadOneFrameRGBA8888() 358 if (size < defaultHeight * stride_) { in PushData() 362 attr.size = stride_ * defaultHeight; in PushData() 364 if (size < (defaultHeight * stride_ + (defaultHeight * stride_ / DOUBLE))) { in PushData()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/toggle/ |
H A D | switch_paint_property.h | 48 … auto defaultHeight = (switchTheme->GetHeight() - switchTheme->GetHotZoneVerticalPadding() * 2); in ToJsonValue() local 49 … auto defaultPointRadius = defaultHeight / 2 - 2.0_vp; // Get the default radius of the point. in ToJsonValue() 56 … auto defaultTrackBorderRadius = defaultHeight / 2; // Get the default border radius of the track. in ToJsonValue()
|
H A D | switch_paint_method.cpp | 127 auto defaultHeight = switchTheme->GetDefaultHeight().ConvertToPx(); in PaintSwitch() local 131 …defaultHeight - (switchTheme->GetHeight() - switchTheme->GetHotZoneVerticalPadding() * 2).ConvertT… in PaintSwitch()
|
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/components/test/unittest/common/canvas/ |
H A D | canvas_tdd_test.cpp | 83 int16_t defaultHeight = 454; in ComponentCanvasDefaultValueTest001() local 85 EXPECT_TRUE(canvas->GetHeight() == defaultHeight); in ComponentCanvasDefaultValueTest001()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/checkable/ |
H A D | render_checkable.cpp | 113 auto defaultHeight = NormalizeToPx(defaultHeight_); in CalculateSize() local 117 if ((height_ < defaultHeight) && (!NearZero(defaultHeight))) { in CalculateSize() 118 hotZoneVerticalPadding *= height_ / defaultHeight; in CalculateSize()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing/ |
H A D | drawing_demo.cpp | 114 int32_t defaultHeight = display->GetHeight(); in CreateWindow() local 116 stream << "display: " << defaultWidth << "*" << defaultHeight; in CreateWindow() 124 option->SetWindowRect({ 0, 0, defaultWidth, defaultHeight }); in CreateWindow()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/rating/ |
H A D | rating_component.h | 108 void SetDefaultHeight(const Dimension& defaultHeight) in SetDefaultHeight() argument 110 defaultHeight_ = defaultHeight; in SetDefaultHeight()
|
/ohos5.0/foundation/multimedia/av_codec/test/fuzztest/encoderapi11_fuzzer/ |
H A D | videoenc_api11_sample.cpp | 103 defaultHeight = data; in ConfigureVideoEncoderFuzz() 129 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_HEIGHT, defaultHeight); in ConfigureVideoEncoder() 201 …NativeWindow_NativeWindowHandleOpt(nativeWindow, SET_BUFFER_GEOMETRY, defaultWidth, defaultHeight); in CreateSurface() 354 rect->h = defaultHeight; in FlushSurf()
|
/ohos5.0/foundation/multimedia/av_codec/test/fuzztest/swdecoderconfigure_fuzzer/ |
H A D | swdecoderconfigure_fuzzer.cpp | 37 vDecSample->defaultHeight = data_; in SwdecoderConfigureFuzzTest()
|
/ohos5.0/foundation/multimedia/av_codec/test/fuzztest/swdecoderresource_fuzzer/ |
H A D | swdecoderresource_fuzzer.cpp | 40 vDecSample->defaultHeight = DEFAULT_HEIGHT; in DoSomethingInterestingWithMyAPI()
|