/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/render_backend/ohos/ |
H A D | rs_render_surface_ohos.cpp | 41 frame_->frameConfig = frameConfig; in RSRenderSurfaceOhos() 42 frame_->surfaceConfig = surfaceConfig; in RSRenderSurfaceOhos() 43 frame_->eglState = eglState; in RSRenderSurfaceOhos() 48 if (!RenderBackendUtils::IsValidFrame(frame_)) { in ~RSRenderSurfaceOhos() 58 renderContext_->DestroySurface(frame_); in ~RSRenderSurfaceOhos() 60 frame_ = nullptr; in ~RSRenderSurfaceOhos() 80 return frame_->surfaceConfig->producer; in GetSurfaceOhos() 122 return frame_; in RequestFrame() 136 renderContext_->SwapBuffers(frame_); in FlushFrame() 189 renderContext_->DamageFrame(frame_); in SetDamageRegion() [all …]
|
H A D | render_context_ohos_gl.cpp | 363 if (frame_ == nullptr) { in SetEGLState() 367 std::shared_ptr<EGLState> eglState = frame_->eglState; in SetEGLState()
|
H A D | render_context_ohos_raster.cpp | 34 frame_ = nullptr; in ~RenderContextOhosRaster()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/base/ |
H A D | geometry_node.h | 51 return (frame_ == geometryNode.frame_) && (margin_ == geometryNode.margin_) && in CheckUnchanged() 60 auto size = frame_.rect_.GetSize(); 108 auto result = frame_.rect_; 135 frame_.rect_.SetOffset(offset); in SetFrameOffset() 140 frame_.rect_.SetSize(size); in SetFrameSize() 145 frame_.rect_.SetHeight(height); in SetFrameHeight() 150 frame_.rect_.SetWidth(width); in SetFrameWidth() 159 frame_.rect_.SetLeft(offset); in SetMarginFrameOffsetX() 168 frame_.rect_.SetTop(offset); in SetMarginFrameOffsetY() 197 auto rect = frame_.rect_; [all …]
|
H A D | geometry_node.cpp | 28 frame_.Reset(); in Reset() 42 node->frame_ = frame_; in Clone() 67 auto frameSize = frame_.rect_.GetSize(); in ToJsonValue()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/samples/2d_graphics/drawing_engine/drawing_surface/ |
H A D | surface_ohos_raster.cpp | 25 : SurfaceOhos(producer), frame_(nullptr) in SurfaceOhosRaster() 31 frame_ = nullptr; in ~SurfaceOhosRaster() 52 frame_ = std::make_unique<SurfaceFrameOhosRaster>(width, height); in RequestFrame() 53 …SurfaceError err = producer_->RequestBuffer(frame_->buffer_, frame_->releaseFence_, frame_->reques… in RequestFrame() 58 sptr<SyncFence> tempFence = new SyncFence(frame_->releaseFence_); in RequestFrame() 65 frame_->buffer_->GetWidth(), frame_->buffer_->GetHeight()); in RequestFrame() 67 std::unique_ptr<SurfaceFrame> ret(std::move(frame_)); in RequestFrame()
|
H A D | surface_ohos_gl.cpp | 24 : SurfaceOhos(producer), frame_(nullptr) in SurfaceOhosGl() 30 frame_ = nullptr; in ~SurfaceOhosGl() 44 frame_ = std::make_unique<SurfaceFrameOhosGl>(width, height); in RequestFrame() 45 frame_->SetColorSpace(GraphicColorGamut::GRAPHIC_COLOR_GAMUT_SRGB); in RequestFrame() 46 …frame_->SetSurface(static_cast<EGLSurface>(drawingProxy_->CreateSurface((EGLNativeWindowType)nativ… in RequestFrame() 47 … NativeWindowHandleOpt(nativeWindow, SET_BUFFER_GEOMETRY, frame_->GetWidth(), frame_->GetHeight()); in RequestFrame() 48 NativeWindowHandleOpt(nativeWindow, SET_COLOR_GAMUT, frame_->GetColorSpace()); in RequestFrame() 51 std::unique_ptr<SurfaceFrame> ret(std::move(frame_)); in RequestFrame()
|
H A D | surface_ohos_vulkan.cpp | 41 : SurfaceOhos(producer), frame_(nullptr) in SurfaceOhosVulkan() 47 frame_ = nullptr; in ~SurfaceOhosVulkan() 117 frame_ = std::make_unique<SurfaceFrameOhosVulkan>(surface_, width, height); in RequestFrame() 119 frame_->SetColorSpace(GraphicColorGamut::GRAPHIC_COLOR_GAMUT_SRGB); in RequestFrame() 122 NativeWindowHandleOpt(mNativeWindow_, SET_COLOR_GAMUT, frame_->GetColorSpace()); in RequestFrame() 124 std::unique_ptr<SurfaceFrame> ret(std::move(frame_)); in RequestFrame() 222 frame_ = std::make_unique<SurfaceFrameOhosVulkan>(nativeSurface.drawingSurface, width, height); in NativeRequestFrame() 223 frame_->SetColorSpace(GraphicColorGamut::GRAPHIC_COLOR_GAMUT_SRGB); in NativeRequestFrame() 224 std::unique_ptr<SurfaceFrame> ret(std::move(frame_)); in NativeRequestFrame()
|
H A D | surface_ohos_raster.h | 41 std::unique_ptr<SurfaceFrameOhosRaster> frame_;
|
H A D | surface_ohos_gl.h | 44 std::unique_ptr<SurfaceFrameOhosGl> frame_;
|
H A D | surface_ohos_vulkan.h | 55 std::unique_ptr<SurfaceFrameOhosVulkan> frame_; variable
|
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/gavdp/a2dp_codec/sbclib/src/ |
H A D | sbc_encoder.cpp | 135 Init(frame_); in UpdateCodecFormat() 154 int pcmSamples = frame_.subbands_ * frame_.blocks_; in SBCEncode() 156 if (!out || oLength < frame_.length_) { in SBCEncode() 160 if (frame_.subbands_ == SUBBAND_8) { in SBCEncode() 176 frameLen = frame_.Pack(out, frame_, j); in SBCEncode() 178 CalculateScalefactors(frame_.audioSamples_, frame_.scaleFactor_, frame_.blocks_, in SBCEncode() 179 frame_.channels_, frame_.subbands_); in SBCEncode() 180 frameLen = frame_.Pack(out, frame_, VALUE_0); in SBCEncode() 627 int sb = frame_.subbands_ - VALUE_1; in CalculateScalefactorsJointInternal() 646 int sb = frame_.subbands_ - VALUE_1; in CalculateScalefactorsJointForTheRestSubband() [all …]
|
H A D | sbc_decoder.cpp | 83 int length = frame_.Unpack(in, iLength); in SBCDecode() 88 Init(frame_); in SBCDecode() 90 frame_.length_ = length; in SBCDecode() 96 auto samples = Synthesize(frame_); in SBCDecode() 98 if (oLength < static_cast<size_t>(samples * frame_.channels_ * BIT16_BYTE2)) { in SBCDecode() 99 samples = oLength / (frame_.channels_ * BIT16_BYTE2); in SBCDecode() 103 for (int channel = 0; channel < frame_.channels_; channel++) { in SBCDecode() 115 *written = samples * frame_.channels_ * BIT16_BYTE2; in SBCDecode()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/render_backend/ |
H A D | render_context_base.h | 27 frame_ = std::make_unique<RSRenderSurfaceFrame>(); in RenderContextBase() 29 frame_->eglState = eglState; in RenderContextBase() 44 return frame_; in GetRSRenderSurfaceFrame() 63 std::shared_ptr<RSRenderSurfaceFrame> frame_ = nullptr;
|
H A D | rs_render_surface.h | 54 frame_ = frame; in SetRSRenderSurfaceFrame() 65 std::shared_ptr<RSRenderSurfaceFrame> frame_;
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/layout/ |
H A D | box_layout_algorithm_test_ng.cpp | 794 layoutWrapper3->GetGeometryNode()->frame_.rect_.SetSize(SizeF(RK356_WIDTH, ROW_HEIGHT)); 798 EXPECT_EQ(layoutWrapper->GetGeometryNode()->frame_.rect_.height_, ROW_HEIGHT); 799 EXPECT_EQ(layoutWrapper->GetGeometryNode()->frame_.rect_.width_, RK356_WIDTH); 809 EXPECT_EQ(layoutWrapper->GetGeometryNode()->frame_.rect_.height_, ROW_HEIGHT); 810 EXPECT_EQ(layoutWrapper->GetGeometryNode()->frame_.rect_.width_, 0); 819 EXPECT_EQ(layoutWrapper->GetGeometryNode()->frame_.rect_.height_, 0); 820 EXPECT_EQ(layoutWrapper->GetGeometryNode()->frame_.rect_.width_, RK356_WIDTH);
|
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/gavdp/a2dp_codec/sbclib/include/ |
H A D | sbc_decoder.h | 43 Frame frame_ {};
|
H A D | sbc_encoder.h | 70 Frame frame_ {};
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/navrouter/ |
H A D | navrouter_model_test_ng.cpp | 1010 subtitleGeometryNode->frame_.rect_.height_ = 20.0f; 1054 titleGeometryNode->frame_.rect_.height_ = 20.0f; 1088 subtitleGeometryNode->frame_.rect_.height_ = 0.0f; 1091 ASSERT_EQ(subtitleGeometryNode->frame_.rect_.height_, 0.0f); 1405 geometryNode->frame_ = geo; 1449 geometryNode->frame_ = geo; 1499 geometryNode->frame_ = geo; 1595 geometryNode->frame_ = geo; 1639 geometryNode->frame_ = geo; 1703 geometryNode->frame_ = geo;
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pipeline/ |
H A D | pipeline_context_test_ng.cpp | 1079 context_->rootNode_->geometryNode_->frame_.rect_.y_ = 3.0; 1148 context_->rootNode_->geometryNode_->frame_.rect_.y_ = params[turn][3];
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/container_modal/ |
H A D | container_modal_test_ng.cpp | 818 geomeNode->frame_.rect_ = { 0, 0, 0, 0 };
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/slider/ |
H A D | slider_test_ng.cpp | 945 …EXPECT_EQ(bubbleGeometryNode->frame_.rect_.GetOffset(), OffsetF(-FRAME_WIDTH / 2, (MAX_HEIGHT - FR… 952 …EXPECT_EQ(bubbleGeometryNode->frame_.rect_.GetOffset(), OffsetF((MAX_WIDTH - FRAME_WIDTH) / 2, -FR…
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/text_input/ |
H A D | text_field_pattern_testtwo.cpp | 267 geometryNode->frame_.rect_.SetRect(100, 100, 200, 200);
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/time_picker/ |
H A D | time_picker_test_ng.cpp | 1546 frameNode->GetGeometryNode()->frame_.rect_.SetWidth(EXTRA_WIDTH); 1622 buttonNode->GetGeometryNode()->frame_.rect_.SetWidth(EXTRA_WIDTH); 1947 pickerChild->GetGeometryNode()->frame_.rect_.SetWidth(EXTRA_WIDTH);
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/navigation/ |
H A D | navigation_pattern_test_ng.cpp | 1132 child2ChildWrapper->GetGeometryNode()->frame_.rect_ = RectF(0, 0, 400.0f, 400.0f);
|