Home
last modified time | relevance | path

Searched refs:GetImpl (Results 1 – 25 of 118) sorted by relevance

12345

/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/skia_adapter/
H A Dskia_image_filter.cpp59 if (f != nullptr && f->GetImpl<SkiaImageFilter>() != nullptr) { in InitWithBlur()
60 input = f->GetImpl<SkiaImageFilter>()->GetImageFilter(); in InitWithBlur()
71 if (f != nullptr && f->GetImpl<SkiaImageFilter>() != nullptr) { in InitWithColor()
72 input = f->GetImpl<SkiaImageFilter>()->GetImageFilter(); in InitWithColor()
76 auto skColorFilterImpl = colorFilter.GetImpl<SkiaColorFilter>(); in InitWithColor()
86 if (f != nullptr && f->GetImpl<SkiaImageFilter>() != nullptr) { in InitWithOffset()
87 input = f->GetImpl<SkiaImageFilter>()->GetImageFilter(); in InitWithOffset()
98 auto skColorFilterImpl = colorFilter.GetImpl<SkiaColorFilter>(); in InitWithColorBlur()
117 if (f1 != nullptr && f1->GetImpl<SkiaImageFilter>() != nullptr) { in InitWithArithmetic()
135 outer = f1->GetImpl<SkiaImageFilter>()->GetImageFilter(); in InitWithCompose()
[all …]
H A Dskia_paint.cpp35 auto skColorSpaceImpl = cs->GetImpl<SkiaColorSpace>(); in BrushToSkPaint()
52 if (SkiaShaderEffect* skShaderImpl = s->GetImpl<SkiaShaderEffect>()) { in BrushToSkPaint()
58 if (SkiaBlender* skBlenderImpl = b->GetImpl<SkiaBlender>()) { in BrushToSkPaint()
72 auto skColorSpaceImpl = cs->GetImpl<SkiaColorSpace>(); in PenToSkPaint()
91 if (SkiaPathEffect* skPathEffectImpl = pe->GetImpl<SkiaPathEffect>()) { in PenToSkPaint()
103 if (SkiaBlender* skBlenderImpl = blender->GetImpl<SkiaBlender>()) { in PenToSkPaint()
119 auto skColorSpaceImpl = cs->GetImpl<SkiaColorSpace>(); in PaintToSkPaint()
146 if (SkiaBlender* skBlenderImpl = blender->GetImpl<SkiaBlender>()) { in PaintToSkPaint()
200 auto srcPathImpl = src.GetImpl<SkiaPath>(); in GetFillPath()
201 auto dstPathImpl = dst.GetImpl<SkiaPath>(); in GetFillPath()
[all …]
H A Dskia_image.cpp74 auto& skPixmap = pixmap.GetImpl<SkiaPixmap>()->ExportSkiaPixmap(); in MakeFromRaster()
92 auto skData = pixels->GetImpl<SkiaData>()->GetSkData(); in MakeRasterData()
105 auto skBitmapImpl = bitmap.GetImpl<SkiaBitmap>(); in BuildFromBitmap()
161 auto skData = data->GetImpl<SkiaData>()->GetSkData(); in MakeFromEncoded()
173 auto imageImpl = image->GetImpl<SkiaImage>(); in BuildSubset()
198 auto skData = data->GetImpl<SkiaData>()->GetSkData(); in BuildFromCompressed()
202 auto colorSpaceImpl = colorSpace->GetImpl<SkiaColorSpace>(); in BuildFromCompressed()
233 auto colorSpaceImpl = colorSpace->GetImpl<SkiaColorSpace>(); in BuildFromTexture()
278 auto skSurface = surface.GetImpl<SkiaSurface>()->GetSkSurface(); in BuildFromSurface()
368 bitmap.GetImpl<SkiaBitmap>()->SetSkBitmap(newBitmap); in AsLegacyBitmap()
[all …]
H A Dskia_runtime_shader_builder.cpp35 auto effectImpl = effect ? effect->GetImpl<SkiaRuntimeEffect>() : nullptr; in SkiaRuntimeShaderBuilder()
47 localMatrix ? &localMatrix->GetImpl<SkiaMatrix>()->ExportSkiaMatrix() : nullptr, isOpaque); in MakeShader()
49 shader->GetImpl<SkiaShaderEffect>()->SetSkShader(skShader); in MakeShader()
61 grContext->GetImpl<SkiaGPUContext>()->GetGrContext().get(), in MakeImage()
62 localMatrix ? &localMatrix->GetImpl<SkiaMatrix>()->ExportSkiaMatrix() : nullptr, in MakeImage()
65 image->GetImpl<SkiaImage>()->SetSkImage(skImage); in MakeImage()
75 skRuntimeShaderBuilder_->child(name.c_str()) = shader->GetImpl<SkiaShaderEffect>()->GetShader(); in SetChild()
116 …skRuntimeShaderBuilder_->uniform(name.c_str()) = uniformMatrix33.GetImpl<SkiaMatrix>()->ExportSkia… in SetUniform()
125 …skRuntimeShaderBuilder_->uniform(name.c_str()) = uniformMatrix44.GetImpl<SkiaMatrix44>()->GetSkMat… in SetUniform()
H A Dskia_surface.cpp74 auto skctx = ctx->GetImpl<SkiaGPUContext>(); in PostSkSurfaceToTargetThread()
107 auto skiaImageImpl = image.GetImpl<SkiaImage>(); in Bind()
215 surface->GetImpl<SkiaSurface>()->SetSkSurface(skSurface); in MakeFromBackendRenderTarget()
265 surface->GetImpl<SkiaSurface>()->SetSkSurface(skSurface); in MakeFromBackendTexture()
288 surface->GetImpl<SkiaSurface>()->SetSkSurface(skSurface); in MakeRenderTarget()
302 surface->GetImpl<SkiaSurface>()->SetSkSurface(skSurface); in MakeRaster()
315 surface->GetImpl<SkiaSurface>()->SetSkSurface(skSurface); in MakeRasterDirect()
327 surface->GetImpl<SkiaSurface>()->SetSkSurface(skSurface); in MakeRasterN32Premul()
357 image->GetImpl<SkiaImage>()->SetSkImage(skImage); in GetImageSnapshot()
376 image->GetImpl<SkiaImage>()->SetSkImage(skImage); in GetImageSnapshot()
[all …]
H A Dskia_region.cpp47 auto skPath = path.GetImpl<SkiaPath>()->GetPath(); in SetPath()
48 auto skRegion = clip.GetImpl<SkiaRegion>()->GetSkRegion(); in SetPath()
62 auto skiaPath = path->GetImpl<SkiaPath>(); in GetBoundaryPath()
75 auto skRegion = other.GetImpl<SkiaRegion>()->GetSkRegion(); in IsIntersects()
96 auto skRegion = other.GetImpl<SkiaRegion>()->GetSkRegion(); in IsRegionContained()
107 auto skRegion = region.GetImpl<SkiaRegion>()->GetSkRegion(); in Op()
123 auto skRegion = other.GetImpl<SkiaRegion>()->GetSkRegion(); in Clone()
H A Dskia_matrix.cpp26 SkiaMatrix::SkiaMatrix(const Matrix& other) : skMatrix_(other.GetImpl<SkiaMatrix>()->ExportSkiaMatr… in SkiaMatrix()
139 skMatrix_.preConcat(other.GetImpl<SkiaMatrix>()->ExportSkiaMatrix()); in PreConcat()
144 skMatrix_.preConcat(other.GetImpl<SkiaMatrix44>()->GetSkMatrix44().asM33()); in PreConcat()
149 skMatrix_.postConcat(other.GetImpl<SkiaMatrix>()->ExportSkiaMatrix()); in PostConcat()
154 skMatrix_.postConcat(other.GetImpl<SkiaMatrix44>()->GetSkMatrix44().asM33()); in PostConcat()
161 inverse.GetImpl<SkiaMatrix>()->ImportMatrix(skMatrix); in Invert()
169 auto m1 = a.GetImpl<SkiaMatrix>(); in Multiply()
170 auto m2 = b.GetImpl<SkiaMatrix>(); in Multiply()
178 auto m1 = a.GetImpl<SkiaMatrix>(); in Equals()
179 auto m2 = b.GetImpl<SkiaMatrix>(); in Equals()
[all …]
H A Dskia_path.cpp234 auto skPathImpl = src.GetImpl<SkiaPath>(); in AddPath()
243 auto skPathImpl = src.GetImpl<SkiaPath>(); in AddPath()
263 auto skPathImpl = src.GetImpl<SkiaPath>(); in AddPath()
264 auto skMatrixImpl = matrix.GetImpl<SkiaMatrix>(); in AddPath()
287 auto skPathImpl1 = ending.GetImpl<SkiaPath>(); in Interpolate()
288 auto skPathImpl2 = out.GetImpl<SkiaPath>(); in Interpolate()
307 auto skMatrixImpl = matrix.GetImpl<SkiaMatrix>(); in Transform()
326 auto dstPathImpl = dst->GetImpl<SkiaPath>(); in TransformWithPerspectiveClip()
348 auto dstPathImpl = dst->GetImpl<SkiaPath>(); in Offset()
362 auto skPathImpl1 = path1.GetImpl<SkiaPath>(); in OpWith()
[all …]
H A Dskia_path_effect.cpp44 auto p = path.GetImpl<SkiaPath>(); in InitWithPathDash()
63 auto first = e1.GetImpl<SkiaPathEffect>(); in InitWithSum()
64 auto second = e2.GetImpl<SkiaPathEffect>(); in InitWithSum()
72 auto outer = e1.GetImpl<SkiaPathEffect>(); in InitWithCompose()
73 auto inner = e2.GetImpl<SkiaPathEffect>(); in InitWithCompose()
H A Dskia_shader_effect.cpp59 auto dst = s1.GetImpl<SkiaShaderEffect>(); in InitWithBlend()
60 auto src = s2.GetImpl<SkiaShaderEffect>(); in InitWithBlend()
72 auto m = matrix.GetImpl<SkiaMatrix>(); in InitWithImage()
73 auto i = image.GetImpl<SkiaImage>(); in InitWithImage()
99 auto p = picture.GetImpl<SkiaPicture>(); in InitWithPicture()
100 auto m = matrix.GetImpl<SkiaMatrix>(); in InitWithPicture()
135 skMatrix = &matrix->GetImpl<SkiaMatrix>()->ExportSkiaMatrix(); in InitWithLinearGradient()
162 skMatrix = &matrix->GetImpl<SkiaMatrix>()->ExportSkiaMatrix(); in InitWithRadialGradient()
192 skMatrix = &matrix->GetImpl<SkiaMatrix>()->ExportSkiaMatrix(); in InitWithTwoPointConical()
217 skMatrix = &matrix->GetImpl<SkiaMatrix>()->ExportSkiaMatrix(); in InitWithSweepGradient()
[all …]
H A Dskia_text_blob.cpp50 auto skiaFont = font.GetImpl<SkiaFont>(); in MakeFromText()
68 auto skiaFont = font.GetImpl<SkiaFont>(); in MakeFromPosText()
93 auto skiaFont = font.GetImpl<SkiaFont>(); in MakeFromRSXform()
124 auto skiaData = data->GetImpl<SkiaData>(); in Serialize()
168 SkiaPathEffect *skiaEffect = effect->GetImpl<SkiaPathEffect>(); in ConvertSkPaint()
189 auto skiaBlobImpl = blob->GetImpl<SkiaTextBlob>(); in GetDrawingGlyphIDforTextBlob()
201 auto skiaBlobImpl = blob->GetImpl<SkiaTextBlob>(); in GetDrawingPathforTextBlob()
208 path.GetImpl<SkiaPath>()->SetPath(skPath); in GetDrawingPathforTextBlob()
219 auto skiaBlobImpl = blob->GetImpl<SkiaTextBlob>(); in GetDrawingPointsForTextBlob()
H A Dskia_hm_symbol.cpp29 auto skiaPath = path.GetImpl<SkiaPath>(); in PathOutlineDecompose()
39 pathTmp.GetImpl<SkiaPath>()->SetPath(skPathTmp); in PathOutlineDecompose()
51 auto skiaPath = pathTmp.GetImpl<SkiaPath>(); in MultilayerPath()
61 pathTmp.GetImpl<SkiaPath>()->SetPath(skPathTmp); in MultilayerPath()
H A Dskia_canvas.cpp74 auto skBitmapImpl = bitmap.GetImpl<SkiaBitmap>(); in Bind()
371 auto skPathImpl = path.GetImpl<SkiaPath>(); in DrawPath()
399 auto skPathImpl = path.GetImpl<SkiaPath>(); in DrawShadow()
418 auto skPathImpl = path.GetImpl<SkiaPath>(); in DrawShadowStyle()
615 auto m = matrix.GetImpl<SkiaMatrix>(); in OpCalculateBefore()
739 auto skImageImpl = image.GetImpl<SkiaImage>(); in DrawImage()
762 auto skImageImpl = image.GetImpl<SkiaImage>(); in DrawImageRect()
931 auto skPathImpl = path.GetImpl<SkiaPath>(); in ClipPath()
985 auto m = matrix.GetImpl<SkiaMatrix>(); in SetMatrix()
1006 auto m = matrix.GetImpl<SkiaMatrix>(); in ConcatMatrix()
[all …]
H A Dskia_runtime_effect.cpp108 auto data = uniforms ? uniforms->GetImpl<SkiaData>()->GetSkData() : SkData::MakeEmpty(); in MakeShader()
111 auto skShaderImpl = children[i]->GetImpl<SkiaShaderEffect>(); in MakeShader()
117 … childCount, localMatrix ? &localMatrix->GetImpl<SkiaMatrix>()->ExportSkiaMatrix() : nullptr, in MakeShader()
119 shader->GetImpl<SkiaShaderEffect>()->SetSkShader(skShader); in MakeShader()
H A Dskia_gpu_context.cpp41 auto skiaKeyDataImpl = keyData.GetImpl<SkiaData>(); in load()
50 return retData->GetImpl<SkiaData>()->GetSkData(); in load()
62 keyData.GetImpl<SkiaData>()->SetSkData(sk_ref_sp(&key)); in store()
63 storeData.GetImpl<SkiaData>()->SetSkData(sk_ref_sp(&data)); in store()
303 …SkTraceMemoryDump* skTraceMemoryDump = traceMemoryDump->GetImpl<SkiaTraceMemoryDump>()->GetTraceMe… in DumpMemoryStatisticsByTag()
323 …SkTraceMemoryDump* skTraceMemoryDump = traceMemoryDump->GetImpl<SkiaTraceMemoryDump>()->GetTraceMe… in DumpMemoryStatistics()
H A Dskia_color_filter.cpp66 auto outer = f1.GetImpl<SkiaColorFilter>(); in InitWithCompose()
67 auto inner = f2.GetImpl<SkiaColorFilter>(); in InitWithCompose()
75 auto skColorFilterImpl = f.GetImpl<SkiaColorFilter>(); in Compose()
H A Dskia_runtime_blender_builder.cpp26 auto effectImpl = effect ? effect->GetImpl<SkiaRuntimeEffect>() : nullptr; in SkiaRuntimeBlenderBuilder()
39 blender->GetImpl<SkiaBlender>()->SetSkBlender(skBlender); in MakeBlender()
H A Dskia_color_space.cpp40 auto i = image.GetImpl<SkiaImage>(); in InitWithImage()
118 data->GetImpl<SkiaData>()->SetSkData(skData); in Serialize()
146 auto skiaColorSpace = colorSpace->GetImpl<SkiaColorSpace>(); in Equals()
H A Dskia_bitmap.cpp43 auto colorSpaceImpl = colorSpace->GetImpl<SkiaColorSpace>(); in MakeSkImageInfo()
104 const SkBitmap& subBitmap = dst.GetImpl<SkiaBitmap>()->ExportSkiaBitmap(); in ExtractSubset()
135 const SkPixmap& skiaPixmap = pixmap.GetImpl<SkiaPixmap>()->ExportSkiaPixmap(); in PeekPixels()
202 pixmap.GetImpl<SkiaPixmap>()->ImportSkiaPixmap(skPixmap); in GetPixmap()
214 image->GetImpl<SkiaImage>()->SetSkImage(skiaImage); in MakeImage()
H A Dskia_text_blob_builder.cpp38 auto skiaFont = font.GetImpl<SkiaFont>(); in AllocRunPos()
59 auto skiaFont = font.GetImpl<SkiaFont>(); in AllocRunRSXform()
/ohos5.0/base/notification/distributed_notification_service/services/test/moduletest/
H A Dans_module_test.cpp1334 g_advancedNotificationService->Subscribe(subscriber->GetImpl(), nullptr);
1403 g_advancedNotificationService->Subscribe(subscriber->GetImpl(), nullptr);
1418 g_advancedNotificationService->Subscribe(subscriber->GetImpl(), nullptr);
1809 g_advancedNotificationService->Subscribe(subscriber->GetImpl(), nullptr);
1869 g_advancedNotificationService->Subscribe(subscriber->GetImpl(), nullptr);
1928 g_advancedNotificationService->Subscribe(subscriber->GetImpl(), nullptr);
1987 g_advancedNotificationService->Subscribe(subscriber->GetImpl(), nullptr);
2047 g_advancedNotificationService->Subscribe(subscriber->GetImpl(), nullptr);
2177 g_advancedNotificationService->Subscribe(subscriber->GetImpl(), nullptr);
2226 g_advancedNotificationService->Subscribe(subscriber->GetImpl(), nullptr);
[all …]
/ohos5.0/foundation/resourceschedule/background_task_mgr/services/test/unittest/
H A Dbg_transient_task_mgr_test.cpp50 …elayedSingleton<BgTransientTaskMgr>::GetInstance()->SubscribeBackgroundTask(subscriber->GetImpl());
75 …elayedSingleton<BgTransientTaskMgr>::GetInstance()->SubscribeBackgroundTask(subscriber->GetImpl());
78 …elayedSingleton<BgTransientTaskMgr>::GetInstance()->SubscribeBackgroundTask(subscriber->GetImpl());
91 …elayedSingleton<BgTransientTaskMgr>::GetInstance()->SubscribeBackgroundTask(subscriber->GetImpl());
96 …ayedSingleton<BgTransientTaskMgr>::GetInstance()->UnsubscribeBackgroundTask(subscriber->GetImpl());
109 …ayedSingleton<BgTransientTaskMgr>::GetInstance()->UnsubscribeBackgroundTask(subscriber->GetImpl());
H A Dbgtask_manager_unit_test.cpp185 bgTransientTaskMgr_->subscriberList_.emplace_back(subscriber.GetImpl());
320 bgTransientTaskMgr_->HandleSubscriberDeath(subscriber.GetImpl());
321 bgTransientTaskMgr_->subscriberList_.emplace_back(subscriber.GetImpl());
322 bgTransientTaskMgr_->HandleSubscriberDeath(subscriber.GetImpl());
362 … = sptr<BackgroundTaskSubscriberProxy>(new BackgroundTaskSubscriberProxy(subscriber.GetImpl()));
383 … = sptr<BackgroundTaskSubscriberProxy>(new BackgroundTaskSubscriberProxy(subscriber.GetImpl()));
458 …T_EQ(DelayedSingleton<ResourcesSubscriberMgr>::GetInstance()->AddSubscriber(subscriber1.GetImpl()),
460 …Q(DelayedSingleton<ResourcesSubscriberMgr>::GetInstance()->RemoveSubscriber(subscriber1.GetImpl()),
465 …Q(DelayedSingleton<ResourcesSubscriberMgr>::GetInstance()->RemoveSubscriber(subscriber1.GetImpl()),
481 …gleton<ResourcesSubscriberMgr>::GetInstance()->subscriberList_.emplace_back(subscriber1.GetImpl());
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/samples/2d_graphics/drawing_engine/
H A Dvulkan_render_backend.cpp37 skSurface_ = drSurface_->GetImpl<Drawing::SkiaSurface>()->GetSkSurface().get(); in RenderFrame()
55 skSurface_ = drSurface_->GetImpl<Drawing::SkiaSurface>()->GetSkSurface().get(); in AcquireSkCanvas()
/ohos5.0/drivers/peripheral/power/test/fuzztest/powerhdistub_fuzzer/
H A Dpowerhdistub_fuzz.cpp45 sptr<PowerInterfaceImpl> GetImpl() const in GetImpl() function in OHOS::HDI::Power::V1_2::PowerFuzzTest
75 g_fuzzService = make_shared<PowerInterfaceStub>(g_fuzzTest->GetImpl()); in PowerStubFuzzTest()

12345