Home
last modified time | relevance | path

Searched refs:bitmapSize (Results 1 – 7 of 7) sorted by relevance

/ohos5.0/foundation/arkui/ui_lite/frameworks/font/
H A Dui_font_allocator.cpp190 uint32_t bitmapSize = bufInfo.stride * bufInfo.height; in GetCacheBuffer() local
192 bitmapSize += sizeof(Metric); in GetCacheBuffer()
195 …t_cast<void*>(UIFontCacheManager::GetInstance()->GetSpace(fontId, unicode, bitmapSize, textStyle)); in GetCacheBuffer()
H A Dui_font_vector.cpp907 uint32_t bitmapSize = bufInfo.stride * bufInfo.height; in SetFace() local
917 (memcpy_s(reinterpret_cast<uint8_t*>(bufInfo.virAddr) + sizeof(Metric), bitmapSize, in SetFace()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/canvas/
H A Djs_offscreen_canvas.cpp72 auto bitmapSize = offscreenCanvasPattern->GetBitmapSize(); in AttachOffscreenCanvas() local
95 nullptr, nullptr, bitmapSize); in AttachOffscreenCanvas()
165 auto bitmapSize = workCanvas->offscreenCanvasPattern_->GetBitmapSize(); in Constructor() local
176 nullptr, nullptr, bitmapSize); in Constructor()
H A Djs_offscreen_rendering_context.cpp168 size_t bitmapSize = renderingContext->GetBitmapSize(offscreenPattern); in Constructor() local
169 args.SetSize(bitmapSize); in Constructor()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/recording/
H A Dcmd_list_helper.cpp118 auto bitmapSize = bitmap.GetHeight() * bitmap.GetWidth() * bpp; in AddBitmapToCmdList() local
119 if (bitmapSize == 0) { in AddBitmapToCmdList()
124 auto offset = cmdList.AddBitmapData(bitmap.GetPixels(), bitmapSize); in AddBitmapToCmdList()
125 …return { offset, bitmapSize, bitmap.GetWidth(), bitmap.GetHeight(), format.colorType, format.alpha… in AddBitmapToCmdList()
276 childHandle.bitmapSize = childBitmapData.second; in AddChildToCmdList()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include/recording/
H A Drecording_handle.h55 size_t bitmapSize = 0; member
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/ohos/
H A Drs_marshalling_helper.cpp1770 int32_t bitmapSize = parcel.ReadInt32(); in Unmarshalling() local
1771 if (bitmapSize > 0) { in Unmarshalling()
1773 const void* bitmapData = RSMarshallingHelper::ReadFromParcel(parcel, bitmapSize, isMal); in Unmarshalling()
1778 val->SetUpBitmapData(bitmapData, bitmapSize); in Unmarshalling()
2051 int32_t bitmapSize = parcel.ReadInt32(); in Unmarshalling() local
2052 if (bitmapSize > 0) { in Unmarshalling()
2054 const void* bitmapData = RSMarshallingHelper::ReadFromParcel(parcel, bitmapSize, isMal); in Unmarshalling()
2059 val->SetUpBitmapData(bitmapData, bitmapSize); in Unmarshalling()