Home
last modified time | relevance | path

Searched refs:SetSize (Results 1 – 25 of 417) sorted by relevance

12345678910>>...17

/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/shape/
H A Dbase_shape_pattern_test_ng.cpp58 SetSize(shapeAbstactModel); in CheckFill()
79 SetSize(shapeAbstactModel); in CheckFillOpacity()
100 SetSize(shapeAbstactModel); in CheckStroke()
121 SetSize(shapeAbstactModel); in CheckStrokeWidth()
142 SetSize(shapeAbstactModel); in CheckStrokeOpacity()
163 SetSize(shapeAbstactModel); in CheckStrokeDashArray()
194 SetSize(shapeAbstactModel); in CheckStrokeDashOffset()
215 SetSize(shapeAbstactModel); in CheckStrokeLineCap()
236 SetSize(shapeAbstactModel); in CheckStrokeLineJoin()
257 SetSize(shapeAbstactModel); in CheckStrokeMiterLimit()
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/skia_adapter/
H A Dskia_text_blob_test.cpp53 font.SetSize(100);
68 font.SetSize(100);
84 font.SetSize(100);
102 font.SetSize(100);
120 font.SetSize(100);
138 font.SetSize(100);
H A Dskia_static_factory_test.cpp53 font.SetSize(100);
188 font.SetSize(100);
206 font.SetSize(100);
/ohos5.0/foundation/multimedia/av_codec/test/fuzztest/drmdecryptor_fuzzer/
H A Ddrmdecryptor_fuzzer.cpp452 drmInBuf->memory_->SetSize(DRM_H264_ENCRYPTED_BUFFER_SIZE); in DrmH264VideoCencDecrypt()
467 drmOutBuf->memory_->SetSize(DRM_H264_ENCRYPTED_BUFFER_SIZE); in DrmH264VideoCencDecrypt()
498 drmInBuf->memory_->SetSize(dataSize); in DrmH264VideoCencDecryptFuzzTest()
512 drmOutBuf->memory_->SetSize(dataSize); in DrmH264VideoCencDecryptFuzzTest()
585 drmInBuf->memory_->SetSize(dataSize); in DrmHevcVideoCencDecryptFuzzTest()
599 drmOutBuf->memory_->SetSize(dataSize); in DrmHevcVideoCencDecryptFuzzTest()
672 drmInBuf->memory_->SetSize(dataSize); in DrmAvsVideoCencDecryptFuzzTest()
686 drmOutBuf->memory_->SetSize(dataSize); in DrmAvsVideoCencDecryptFuzzTest()
707 drmInBuf->memory_->SetSize(DRM_AUDIO_ENCRYPTED_BUFFER_SIZE); in DrmAudioCencDecryptTest()
750 drmInBuf->memory_->SetSize(dataSize); in DrmAudioCencDecryptFuzzTest()
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/render/
H A Dimage_painter.cpp35 dstRect.SetSize(rawPicSize * (dstSize.Width() / rawPicSize.Width())); in ApplyContain()
37 dstRect.SetSize(rawPicSize * (dstSize.Height() / rawPicSize.Height())); in ApplyContain()
45 srcRect.SetSize(dstSize * (rawPicSize.Height() / dstSize.Height())); in ApplyCover()
47 srcRect.SetSize(dstSize * (rawPicSize.Width() / dstSize.Width())); in ApplyCover()
60 dstRect.SetSize(rawPicSize * (dstSize.Width() / rawPicSize.Width())); in ApplyFitWidth()
63 srcRect.SetSize(dstSize * (rawPicSize.Width() / dstSize.Width())); in ApplyFitWidth()
71 srcRect.SetSize(dstSize * (rawPicSize.Height() / dstSize.Height())); in ApplyFitHeight()
74 dstRect.SetSize(rawPicSize * (dstSize.Height() / rawPicSize.Height())); in ApplyFitHeight()
168 srcRect.SetSize(svgContainerSize); in DrawSVGImage()
271 srcRect.SetSize(rawPicSize); in ApplyImageFit()
[all …]
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/layout/
H A Dbox_layout_algorithm_test_ng.cpp121 parentLayoutConstraint.selfIdealSize.SetSize(SizeF(RK356_WIDTH, ROW_HEIGHT));
179 parentLayoutConstraint.selfIdealSize.SetSize(SizeF(RK356_WIDTH, ROW_HEIGHT));
232 parentLayoutConstraint.selfIdealSize.SetSize(SizeF(RK356_WIDTH, ROW_HEIGHT));
292 parentLayoutConstraint.selfIdealSize.SetSize(SizeF(RK356_WIDTH, ROW_HEIGHT));
357 parentLayoutConstraint.selfIdealSize.SetSize(SizeF(RK356_WIDTH, ROW_HEIGHT));
415 parentLayoutConstraint.selfIdealSize.SetSize(SizeF(RK356_WIDTH, ROW_HEIGHT));
638 parentLayoutConstraint.parentIdealSize.SetSize(SizeF(RK356_WIDTH, ROW_HEIGHT));
742 parentLayoutConstraint.selfIdealSize.SetSize(SizeF(RK356_WIDTH - 1, ROW_HEIGHT - 1));
794 layoutWrapper3->GetGeometryNode()->frame_.rect_.SetSize(SizeF(RK356_WIDTH, ROW_HEIGHT));
805 parentLayoutConstraint.selfIdealSize.SetSize(SizeF(0.0, ROW_HEIGHT));
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/property/
H A Dgeometry_property.h42 void SetSize(const SizeF& size) in SetSize() function
44 rect_.SetSize(size); in SetSize()
/ohos5.0/foundation/graphic/surface_lite/test/unittest/
H A Dgraphic_surface_test.cpp387 surface->SetSize(0);
391 surface->SetSize(58982400);
395 surface->SetSize(1024);
568 surface->SetSize(1024); // Set alloc 1024B SHM
607 surface->SetSize(1024); // Set alloc 1024B SHM
664 surface->SetSize(1024); // Set alloc 1024B SHM
702 surface->SetSize(1024); // Set alloc 1024B SHM
758 surface->SetSize(1024); // Set alloc 1024B SHM
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/texgine/texgine_drawing/src/
H A Dtexgine_font.cpp38 void TexgineFont::SetSize(float textSize) in SetSize() function in OHOS::Rosen::TextEngine::TexgineFont
40 font_->SetSize(textSize); in SetSize()
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/swiper/
H A Dswiper_indicator_layout_test_ng.cpp102 layoutConstraint.parentIdealSize.SetSize(SizeF(720.f, 1136.f));
132 layoutConstraint.parentIdealSize.SetSize(SizeF(720.f, 1136.f));
161 layoutConstraint.parentIdealSize.SetSize(SizeF(720.f, 1136.f));
192 layoutConstraint.parentIdealSize.SetSize(SizeF(720.f, 1136.f));
222 layoutConstraint.parentIdealSize.SetSize(SizeF(720.f, 1136.f));
251 layoutConstraint.parentIdealSize.SetSize(SizeF(720.f, 1136.f));
H A Dswiper_layout_test_ng.cpp381 layoutConstraint.parentIdealSize.SetSize(SizeF(720.f, 1136.f));
443 layoutConstraint.parentIdealSize.SetSize(SizeF(720.f, 1136.f));
477 layoutConstraint.parentIdealSize.SetSize(SizeF(720.f, 1136.f));
559 layoutConstraint.parentIdealSize.SetSize(SizeF(720.f, 1136.f));
620 layoutConstraint.parentIdealSize.SetSize(SizeF(720.f, 1136.f));
789 layoutConstraint.parentIdealSize.SetSize(SizeF(720.f, 1136.f));
826 layoutConstraint.parentIdealSize.SetSize(SizeF(720.f, 1136.f));
995 layoutConstraint.parentIdealSize.SetSize(SizeF(720.f, 1136.f));
1066 layoutConstraint.parentIdealSize.SetSize(SizeF(720.f, 1136.f));
1095 layoutConstraint.parentIdealSize.SetSize(SizeF(720.f, 1136.f));
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/gestures/
H A Draw_recognizer.cpp120 .SetSize(point.size); in CreateTouchEventInfo()
135 .SetSize(touchPoint.size); in CreateTouchEventInfo()
163 .SetSize(lastPoint_.size); in CreateTouchEventInfo()
201 .SetSize(point.size); in CreateTouchEventInfo()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/form/
H A Dform_model_ng.h35 void SetSize(const Dimension& width, const Dimension& height) override;
51 static void SetSize(FrameNode* frameNode, const Dimension& width, const Dimension& height);
/ohos5.0/foundation/multimedia/media_foundation/tests/unittest/avbuffer_queue/
H A Davbuffer_queue_func_unit_test.cpp142 buffer1->memory_->SetSize(config.size);
148 buffer2->memory_->SetSize(config.size);
318 buffer->memory_->SetSize(config.size);
328 buffer->memory_->SetSize(config.size);
337 buffer->memory_->SetSize(config.size);
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/tabs/
H A Dtabs_layout_algorithm_test_ng.cpp54 layoutConstraintVaild.selfIdealSize.SetSize(SizeF(layoutSize, layoutSize));
135 layoutConstraintVaild.selfIdealSize.SetSize(SizeF(layoutSize, layoutSize));
217 layoutConstraintVaild.selfIdealSize.SetSize(SizeF(layoutSize, layoutSize));
299 layoutConstraintVaild.selfIdealSize.SetSize(SizeF(layoutSize, layoutSize));
381 layoutConstraintVaild.selfIdealSize.SetSize(SizeF(layoutSize, layoutSize));
459 layoutConstraintVaild.selfIdealSize.SetSize(SizeF(layoutSize, layoutSize));
540 layoutConstraintVaild.selfIdealSize.SetSize(SizeF(layoutSize, layoutSize));
621 layoutConstraintVaild.selfIdealSize.SetSize(SizeF(layoutSize, layoutSize));
702 layoutConstraintVaild.selfIdealSize.SetSize(SizeF(layoutSize, layoutSize));
786 layoutConstraintVaild.selfIdealSize.SetSize(SizeF(layoutSize, layoutSize));
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_v2/ability_component/
H A Drender_ability_component.cpp72 currentRect_.SetSize(size); in PerformLayout()
74 currentRect_.SetSize(GetLayoutParam().GetMaxSize()); in PerformLayout()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/
H A Dform_component_modifier.cpp63 FormModelNG::SetSize(frameNode, in SetFormSize()
98 FormModelNG::SetSize(frameNode, width, height); in ResetFormSize()
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing/test_case/
H A Ddraw_textblob_test.cpp23 font.SetSize(60); // text size 60 in OnTestFunction()
85 font.SetSize(60); // text size 60 in OnTestPerformance()
/ohos5.0/foundation/multimedia/media_foundation/tests/unittest/avbuffer/
H A Davbuffer_unit_test.cpp388 remoteBuffer_->memory_->SetSize(pos); in CheckMemTrans()
465 EXPECT_EQ(Status::OK, remoteBuffer_->memory_->SetSize(capacity_ - 1)); in CheckDataSize()
467 EXPECT_EQ(Status::OK, remoteBuffer_->memory_->SetSize(0)); in CheckDataSize()
469 EXPECT_EQ(Status::OK, remoteBuffer_->memory_->SetSize(1)); in CheckDataSize()
471 EXPECT_EQ(Status::ERROR_INVALID_PARAMETER, remoteBuffer_->memory_->SetSize(-1)); in CheckDataSize()
473 EXPECT_EQ(Status::ERROR_INVALID_PARAMETER, remoteBuffer_->memory_->SetSize(capacity_ + 1)); in CheckDataSize()
475 EXPECT_EQ(Status::OK, remoteBuffer_->memory_->SetSize(capacity_)); in CheckDataSize()
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/scroll_bar/
H A Dscroll_bar_layout_test_ng.cpp43 SetSize(Axis::HORIZONTAL, CalcLength(scrollBarMainSize), CalcLength(scrollBarCrossSize));
59 SetSize(Axis::HORIZONTAL, CalcLength(0), CalcLength(0));
73SetSize(Axis::HORIZONTAL, CalcLength(SCROLL_BAR_CHILD_WIDTH), CalcLength(SCROLL_BAR_CHILD_HEIGHT));
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/select_content_overlay/
H A Dselect_content_overlay_pattern.cpp153 firstHandleRegion_.SetSize({ hotZone * 2, hotZone * 2 }); in UpdateHandleHotZoneWithPoint()
154 secondHandleRegion_.SetSize({ hotZone * 2, hotZone * 2 }); in UpdateHandleHotZoneWithPoint()
204 newRegion.SetSize({ Dimension(rect.GetSize().Width()), Dimension(rect.GetSize().Height()) }); in ConvertToHotRect()
/ohos5.0/foundation/multimedia/av_codec/test/unittest/audio_test/
H A Daudio_media_codec_unit_test.cpp385 inputBuffer->memory_->SetSize(10); //test 10
406 inputBuffer->memory_->SetSize(10); //test 10
441 inputBuffer->memory_->SetSize(0);
453 inputBuffer->memory_->SetSize(1); // 1:data size
605 inputBuffer->memory_->SetSize(-1); // -1: invalid param
618 inputBuffer->memory_->SetSize(0); // 0: invalid param
638 inputBuffer->memory_->SetSize(3000); // 3000: invalid param
658 inputBuffer->memory_->SetSize(5000); // 5000: invalid param
679 outputBuffer->memory_->SetSize(0); // invalid param
732 outputBuffer->memory_->SetSize(-1); // invalid param
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/image/
H A Drender_image.cpp529 dstRect.SetSize(rawPicSize * (layoutSize.Width() / rawPicSize.Width())); in ApplyContain()
531 dstRect.SetSize(rawPicSize * (layoutSize.Height() / rawPicSize.Height())); in ApplyContain()
539 srcRect.SetSize(layoutSize * (rawPicSize.Height() / layoutSize.Height())); in ApplyCover()
541 srcRect.SetSize(layoutSize * (rawPicSize.Width() / layoutSize.Width())); in ApplyCover()
549 dstRect.SetSize(rawPicSize * (layoutSize.Width() / rawPicSize.Width())); in ApplyFitWidth()
552 srcRect.SetSize(layoutSize * (rawPicSize.Width() / layoutSize.Width())); in ApplyFitWidth()
560 srcRect.SetSize(layoutSize * (rawPicSize.Height() / layoutSize.Height())); in ApplyFitHeight()
563 dstRect.SetSize(rawPicSize * (layoutSize.Height() / rawPicSize.Height())); in ApplyFitHeight()
644 srcRect_.SetSize(rawImageSize_); in PerformLayoutBgImage()
646 dstRect_.SetSize(imageRenderSize_); in PerformLayoutBgImage()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/select_overlay/
H A Dselect_overlay_pattern.cpp158 region.SetSize({ Dimension(rect.GetSize().Width()), Dimension(rect.GetSize().Height()) }); in AddMenuResponseRegion()
180 firstHandleRegion_.SetSize({ hotZone * 2, hotZone * 2 + firstHandle.Height() }); in UpdateHandleHotZone()
182 secondHandleRegion_.SetSize({ hotZone * 2, hotZone * 2 + secondHandle.Height() }); in UpdateHandleHotZone()
191 secondHandleRegion.SetSize({ Dimension(secondHandleRegion_.GetSize().Width()), in UpdateHandleHotZone()
203 firstHandleRegion.SetSize( in UpdateHandleHotZone()
225 firstHandleRegion.SetSize( in UpdateHandleHotZone()
231 secondHandleRegion.SetSize( in UpdateHandleHotZone()
/ohos5.0/base/hiviewdfx/faultloggerd/services/
H A Dfault_logger_pipe.cpp82 if (!SetSize(MAX_PIPE_SIZE)) { in Init()
88 bool FaultLoggerPipe::SetSize(long sz) in SetSize() function in OHOS::HiviewDFX::FaultLoggerPipe

12345678910>>...17