Home
last modified time | relevance | path

Searched refs:GetBitmap (Results 1 - 25 of 55) sorted by relevance

123

/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/ui/
H A Drs_canvas_drawing_node.cpp70 bool RSCanvasDrawingNode::GetBitmap(Drawing::Bitmap& bitmap, in GetBitmap() function in OHOS::Rosen::RSCanvasDrawingNode
77 ROSEN_LOGE("RSCanvasDrawingNode::GetBitmap renderServiceClient is nullptr!"); in GetBitmap()
80 bool ret = renderServiceClient->GetBitmap(GetId(), bitmap); in GetBitmap()
82 ROSEN_LOGE("RSCanvasDrawingNode::GetBitmap GetBitmap failed"); in GetBitmap()
89 RS_LOGE("RSCanvasDrawingNode::GetBitmap cannot find NodeId: [%{public}" PRIu64 "]", GetId()); in GetBitmap()
93 RS_LOGE("RSCanvasDrawingNode::GetBitmap RenderNodeType != RSRenderNodeType::CANVAS_DRAWING_NODE"); in GetBitmap()
96 auto getBitmapTask = [&node, &bitmap]() { bitmap = node->GetBitmap(); }; in GetBitmap()
103 RS_LOGD("RSCanvasDrawingNode::GetBitmap drawCmdList == nullptr"); in GetBitmap()
H A Drs_canvas_drawing_node.h42 bool GetBitmap(Drawing::Bitmap& bitmap,
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_client/unittest/ui/
H A Drs_canvas_drawing_node_test.cpp101 * @tc.desc: test results of GetBitmap
112 bool res = drawingNode->GetBitmap(bitmap, drawCmdList, &rect); in HWTEST_F()
118 drawingNode->GetBitmap(bitmap, drawCmdList, &rect); in HWTEST_F()
122 res = drawingNode->GetBitmap(bitmap, drawCmdList, &rect); in HWTEST_F()
/foundation/arkui/ui_lite/frameworks/font/
H A Dui_font_cache_manager.cpp106 uint8_t* UIFontCacheManager::GetBitmap(uint16_t fontKey, uint32_t unicode, TextStyle textStyle) in GetBitmap() function in OHOS::UIFontCacheManager
109 return bitmapCache_->GetBitmap(fontKey, unicode, textStyle); in GetBitmap()
111 GRAPHIC_LOGE("UIFontCacheManager::GetBitmap invalid bitmapCache"); in GetBitmap()
H A Dglyphs_manager.cpp145 int8_t GlyphsManager::GetBitmap(uint32_t unicode, BufferInfo& bufInfo, uint16_t fontId) in GetBitmap() function in OHOS::GlyphsManager
150 int8_t ret = glyphsFiles_[i]->GetBitmap(cacheNode->node, bufInfo); in GetBitmap()
159 GRAPHIC_LOGE("GlyphsManager::GetBitmap node not found"); in GetBitmap()
164 int8_t ret = glyphsFiles_[i]->GetBitmap(*node, bufInfo); in GetBitmap()
H A Dui_font.cpp174 uint8_t* UIFont::GetBitmap(uint32_t unicode, GlyphNode& glyphNode, uint16_t fontId, uint8_t fontSize, in GetBitmap() function in OHOS::UIFont
181 bitmap = instance_->GetBitmap(unicode, glyphNode, shapingFont, fontSize); in GetBitmap()
187 bitmap = instance_->GetBitmap(unicode, glyphNode, fontId, fontSize); in GetBitmap()
199 bitmap = instance_->GetBitmap(unicode, glyphNode, searchLists[currentIndex], fontSize); in GetBitmap()
H A Dglyphs_manager.h47 int8_t GetBitmap(uint32_t unicode, BufferInfo& bufInfo, uint16_t fontId);
H A Dui_font_cache_manager.h38 uint8_t* GetBitmap(uint16_t fontKey, uint32_t unicode, TextStyle textStyle);
H A Dui_font_bitmap.cpp136 uint8_t* UIFontBitmap::GetBitmap(uint32_t unicode, GlyphNode& glyphNode, uint16_t fontId, uint8_t fontSize) in GetBitmap() function in OHOS::UIFontBitmap
232 return dynamicFont_.GetBitmap(unicode, bufInfo, fontId); in GetDynamicFontBitmap()
238 return UIFontCacheManager::GetInstance()->GetBitmap(fontId, unicode, textStyle); in GetCacheBitmap()
267 uint8_t* bitmap = fontCacheManager->GetBitmap(fontId, unicode, textStyle); in SearchInFont()
280 ret = dynamicFont_.GetBitmap(unicode, bufInfo, fontId); in SearchInFont()
H A Dglyphs_file.h43 int8_t GetBitmap(GlyphNode& node, BufferInfo& bufInfo);
H A Dui_font_cache.h72 uint8_t* GetBitmap(uint16_t fontKey, uint32_t unicode, TextStyle textStyle);
H A Dui_font_vector.cpp650 uint8_t* bitmap = fontCacheManager->GetBitmap(fontKey, unicode, glyphNode.textStyle); in GetGlyphNode()
652 uint8_t* bitmap = fontCacheManager->GetBitmap(fontKey, unicode, TEXT_STYLE_NORMAL); in GetGlyphNode()
684 uint8_t* UIFontVector::GetBitmap(uint32_t unicode, GlyphNode& glyphNode, uint16_t fontId, uint8_t fontSize) in GetBitmap() function in OHOS::UIFontVector
689 uint8_t* bitmap = fontCacheManager->GetBitmap(fontKey, unicode, glyphNode.textStyle); in GetBitmap()
691 uint8_t* bitmap = fontCacheManager->GetBitmap(fontKey, unicode, TEXT_STYLE_NORMAL); in GetBitmap()
719 bitmap = fontCacheManager->GetBitmap(fontKey, unicode, glyphNode.textStyle); in GetBitmap()
721 bitmap = fontCacheManager->GetBitmap(fontKey, unicode, TEXT_STYLE_NORMAL); in GetBitmap()
H A Dui_font_cache.cpp96 uint8_t* UIFontCache::GetBitmap(uint16_t fontKey, uint32_t unicode, TextStyle textStyle) in GetBitmap() function in OHOS::UIFontCache
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/pipeline/
H A Drs_canvas_drawing_render_node.h55 Drawing::Bitmap GetBitmap();
56 Drawing::Bitmap GetBitmap(const uint64_t tid);
/foundation/arkui/ui_lite/test/uitest/test_view_bitmap/
H A Dui_test_view_bitmap.cpp50 view.GetBitmap(info_, ARGB8888);
89 view.GetBitmap(info_, XRGB8888);
127 view.GetBitmap(info_, RGB888);
165 view.GetBitmap(info_, RGB565);
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing_ndk/cpp/
H A Dmy_xcomponent.cpp275 BitmapToScreenCanvas(testCase->GetBitmap()); in TestPerformanceCpu()
289 BitmapToScreenCanvas(testCase->GetBitmap()); in TestPerformanceGpu()
302 BitmapToScreenCanvas(testCase->GetBitmap()); in TestFunctionCpu()
313 BitmapToScreenCanvas(testCase->GetBitmap()); in TestStabilityCpuInner()
326 BitmapToScreenCanvas(testCase->GetBitmap()); in TestStabilityCpuInner()
347 BitmapToScreenCanvas(testCase->GetBitmap()); in TestFunctionGpu()
H A Dtest_base.h50 OH_Drawing_Bitmap* GetBitmap();
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/pipeline/
H A Drs_canvas_drawing_render_node.cpp332 Drawing::Bitmap RSCanvasDrawingRenderNode::GetBitmap() in GetBitmap() function in OHOS::RSCanvasDrawingRenderNode
334 return GetBitmap(UNI_MAIN_THREAD_INDEX); in GetBitmap()
356 Drawing::Bitmap RSCanvasDrawingRenderNode::GetBitmap(const uint64_t tid) in GetBitmap() function in OHOS::RSCanvasDrawingRenderNode
361 RS_LOGE("RSCanvasDrawingRenderNode::GetBitmap: image_ is nullptr"); in GetBitmap()
365 RS_LOGE("RSCanvasDrawingRenderNode::GetBitmap: image_ used by multi threads"); in GetBitmap()
369 RS_LOGE("RSCanvasDrawingRenderNode::GetBitmap: asLegacyBitmap failed"); in GetBitmap()
/foundation/arkui/ui_lite/interfaces/innerkits/font/
H A Dui_font_bitmap.h38 uint8_t* GetBitmap(uint32_t unicode, GlyphNode& glyphNode, uint16_t fontId, uint8_t fontSize = 0) override;
/foundation/arkui/ace_engine/frameworks/core/components/text_field/
H A Drosen_render_text_field.h81 const SkBitmap& GetBitmap() const in GetBitmap() function in OHOS::Ace::final
83 const RSBitmap& GetBitmap() const in GetBitmap()
/foundation/arkui/ui_lite/test/unittest/font/
H A Dui_font_unit_test.cpp170 * @tc.desc: Verify GetBitmap function, abnormal value test.
177 uint8_t* bitmap = UIFont::GetInstance()->GetBitmap(0, node, 0, 0, 0); in HWTEST_F()
/foundation/arkui/ui_lite/interfaces/kits/font/
H A Dbase_font.h81 virtual uint8_t* GetBitmap(uint32_t unicode, GlyphNode& glyphNode, uint16_t fontId, uint8_t fontSize) = 0;
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_client/fuzztest/ui/rscanvasdrawingnode_fuzzer/
H A Drscanvasdrawingnode_fuzzer.cpp121 canvasDrawingNode.GetBitmap(bitmap, list, &rect); in DoGetBitmap()
/foundation/graphic/graphic_2d/rosen/modules/render_service/core/drawable/
H A Drs_canvas_drawing_render_node_drawable.h48 Drawing::Bitmap GetBitmap(Drawing::GPUContext* grContext);
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/pipeline/
H A Drs_canvas_drawing_render_node_test.cpp331 * @tc.name: GetBitmap
332 * @tc.desc: test results of GetBitmap
336 HWTEST_F(RSCanvasDrawingRenderNodeTest, GetBitmap, TestSize.Level1) in HWTEST_F()
342 rsCanvasDrawingRenderNode.GetBitmap(tid); in HWTEST_F()
347 ASSERT_NE(rsCanvasDrawingRenderNode.GetBitmap(tid).bmpImplPtr, nullptr); in HWTEST_F()
349 rsCanvasDrawingRenderNode.GetBitmap(); in HWTEST_F()

Completed in 29 milliseconds

123