Home
last modified time | relevance | path

Searched refs:sampling (Results 1 – 25 of 29) sorted by relevance

12

/frameworks/base/libs/hwui/effects/
DGainmapRenderer.cpp69 const SkRect& dst, const SkSamplingOptions& sampling, const SkPaint* paint, in DrawGainmapBitmap() argument
87 SkGainmapShader::Make(image, src, sampling, gainmapImage, gainmapSrc, sampling, in DrawGainmapBitmap()
93 c->drawImageRect(image.get(), src, dst, sampling, paint, constraint); in DrawGainmapBitmap()
279 SkTileMode tileModeY, const SkSamplingOptions& sampling) { in DeferredGainmapShader() argument
281 setupChildren(image, gainmapImage, tileModeX, tileModeY, sampling); in DeferredGainmapShader()
288 SkTileMode tileModeY, const SkSamplingOptions& sampling) { in Make() argument
290 image, gainmapImage, gainmapInfo, tileModeX, tileModeY, sampling); in Make()
304 SkTileMode tileModeY, const SkSamplingOptions& sampling) { in MakeGainmapShader() argument
306 sampling); in MakeGainmapShader()
314 SkTileMode tileModeY, const SkSamplingOptions& sampling) { in MakeGainmapShader() argument
DGainmapRenderer.h31 const SkRect& dst, const SkSamplingOptions& sampling, const SkPaint* paint,
38 SkTileMode tileModeY, const SkSamplingOptions& sampling);
/frameworks/base/libs/hwui/tests/common/scenes/
DBitmapShaders.cpp57 SkSamplingOptions sampling; in createContent() local
61 image->makeShader(SkTileMode::kRepeat, SkTileMode::kRepeat, sampling); in createContent()
66 image->makeShader(SkTileMode::kMirror, SkTileMode::kMirror, sampling); in createContent()
/frameworks/base/libs/hwui/
DRecordingCanvas.cpp344 DrawImage(DrawImagePayload&& payload, SkScalar x, SkScalar y, const SkSamplingOptions& sampling, in DrawImage()
349 , sampling(sampling) in DrawImage()
359 SkSamplingOptions sampling; member
369 DrawGainmapBitmap(c, image, src, dst, sampling, &paint, in draw()
374 c->drawImage(image.get(), x, y, sampling, &newPaint); in draw()
381 const SkSamplingOptions& sampling, const SkPaint* paint, in DrawImageRect()
385 , sampling(sampling) in DrawImageRect()
397 SkSamplingOptions sampling; member
406 DrawGainmapBitmap(c, image, src, dst, sampling, &paint, constraint, gainmap, in draw()
411 c->drawImageRect(image.get(), src, dst, sampling, &newPaint, constraint); in draw()
[all …]
DLayer.cpp132 SkSamplingOptions sampling; in draw() local
134 sampling = SkSamplingOptions(SkFilterMode::kLinear); in draw()
136 canvas->drawImage(layerImage.get(), 0, 0, sampling, &paint); in draw()
DSkiaCanvas.cpp644 SkTileMode::kClamp, SkTileMode::kClamp, gainmapPaint.sampling()); in drawBitmap()
650 mCanvas->drawImage(image, left, top, p.sampling(), &p); in drawBitmap()
671 SkTileMode::kClamp, SkTileMode::kClamp, gainmapPaint.sampling()); in drawBitmap()
678 mCanvas->drawImageRect(image, srcRect, dstRect, p.sampling(), &p, in drawBitmap()
764 SkSamplingOptions sampling = pnt.sampling(); in drawBitmapMesh() local
765 pnt.setShader(image->makeShader(sampling)); in drawBitmapMesh()
770 auto s = p.sampling(); in drawBitmapMesh()
771 if (s != sampling) { in drawBitmapMesh()
DReadback.cpp229 SkSamplingOptions sampling(SkFilterMode::kNearest); in copySurfaceInto() local
236 sampling = SkSamplingOptions(SkFilterMode::kLinear); in copySurfaceInto()
252 canvas->drawImageRect(image, imageSrcRect, imageDstRect, sampling, &paint, constraint); in copySurfaceInto()
DVectorDrawable.cpp508 auto sampling = SkSamplingOptions(SkFilterMode::kLinear); in draw() local
512 sampling, &paint, SkCanvas::kFast_SrcRectConstraint); in draw()
/frameworks/base/packages/EasterEgg/src/com/android/egg/paint/
DPaintActivity.java58 private boolean sampling = false; field in PaintActivity
78 sampling = true;
160 if (sampling) { in setupViews()
168 if (sampling) { in setupViews()
170 sampling = false; in setupViews()
175 if (sampling) { in setupViews()
177 sampling = false; in setupViews()
/frameworks/base/libs/hwui/pipeline/skia/
DLayerDrawable.cpp183 SkSamplingOptions sampling(SkFilterMode::kNearest); in DrawLayer() local
185 sampling = SkSamplingOptions(SkFilterMode::kLinear); in DrawLayer()
190 canvas->drawImageRect(layerImage.get(), skiaSrcRect, skiaDestRect, sampling, &paint, in DrawLayer()
DSkiaRecordingCanvas.cpp256 mRecorder.drawImage(DrawImagePayload(payload), left, top, p.sampling(), &p); in drawBitmap()
272 mRecorder.drawImage(DrawImagePayload(payload), 0, 0, p.sampling(), &p); in drawBitmap()
290 mRecorder.drawImageRect(DrawImagePayload(payload), srcRect, dstRect, p.sampling(), in drawBitmap()
DRenderNodeDrawable.cpp289 SkSamplingOptions sampling(SkFilterMode::kLinear); in drawContent() local
317 SkRect::Make(dstBounds), sampling, &paint, in drawContent()
/frameworks/libs/systemui/weathereffects/graphics/assets/shaders/
Dfog_effect.agsl76 // Adds sampling dithering.
84 // Adds sampling dithering.
94 // Adds sampling dithering.
102 // Adds sampling dithering.
Dsnow_effect.agsl88 // Load noise texture to give "fluffy-ness" to the snow. Displace the sampling of the noise.
/frameworks/hardware/interfaces/sensorservice/1.0/
DIEventQueue.hal25 * Enable the selected sensor with a specified sampling period and
32 * sampling period in microseconds.
/frameworks/base/libs/hwui/jni/
DShader.cpp64 SkSamplingOptions sampling = maxAniso > 0 ? SkSamplingOptions::Aniso(static_cast<int>(maxAniso)) in BitmapShader_constructor() local
83 (SkTileMode)tileModeX, (SkTileMode)tileModeY, sampling); in BitmapShader_constructor()
100 shader = image->makeRawShader((SkTileMode)tileModeX, (SkTileMode)tileModeY, sampling); in BitmapShader_constructor()
102 shader = image->makeShader((SkTileMode)tileModeX, (SkTileMode)tileModeY, sampling); in BitmapShader_constructor()
/frameworks/base/services/core/java/com/android/server/
DLooperStatsService.java253 int sampling = Integer.parseUnsignedInt(getNextArgRequired()); in onCommand() local
254 setSamplingInterval(sampling); in onCommand()
/frameworks/base/apct-tests/perftests/surfaceflinger/
DREADME.md33 - profiling-sampling
/frameworks/base/apct-tests/perftests/windowmanager/
DREADME.md34 - profiling-sampling
/frameworks/base/apct-tests/perftests/inputmethod/
DREADME.md39 - profiling-sampling
/frameworks/base/libs/hwui/hwui/
DPaint.h158 SkSamplingOptions sampling() const { in sampling() function
/frameworks/base/core/java/com/android/internal/policy/
DTransitionAnimation.java1357 final int sampling = 10; in getBorderLuma() local
1362 for (int x = 0, size = width - sampling; x < size; x += sampling) { in getBorderLuma()
1370 for (int y = 0, size = height - sampling; y < size; y += sampling) { in getBorderLuma()
1380 final int halfNum = (width + height) / sampling; in getBorderLuma()
/frameworks/base/libs/hwui/tests/unit/
DSkiaDisplayListTests.cpp149 SkSamplingOptions sampling(SkFilterMode::kLinear, SkMipmapMode::kNone); in TEST() local
151 paint.setShader(bitmap->makeImage()->makeShader(sampling)); in TEST()
DRenderNodeDrawableTests.cpp1065 const SkSamplingOptions& sampling, const SkPaint* paint, in RENDERTHREAD_TEST() argument
1068 EXPECT_FALSE(sampling.useCubic); in RENDERTHREAD_TEST()
1069 EXPECT_EQ(SkFilterMode::kLinear, sampling.filter); in RENDERTHREAD_TEST()
/frameworks/proto_logging/stats/atoms/appsearch/
Dappsearch_extension_atoms.proto51 // The sampling interval for this specific type of stats
144 // The sampling interval for this specific type of stats

12