Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/pipeline/skia/
DLayerDrawable.cpp144 SkSamplingOptions sampling(SkFilterMode::kNearest); in DrawLayer() local
147 sampling = SkSamplingOptions(SkFilterMode::kLinear); in DrawLayer()
149 canvas->drawImageRect(layerImage.get(), skiaSrcRect, skiaDestRect, sampling, &paint, in DrawLayer()
153 SkSamplingOptions sampling(SkFilterMode::kNearest); in DrawLayer() local
155 sampling = SkSamplingOptions(SkFilterMode::kLinear); in DrawLayer()
157 canvas->drawImage(layerImage.get(), 0, 0, sampling, &paint); in DrawLayer()
DRenderNodeDrawable.cpp265 SkSamplingOptions sampling(SkFilterMode::kLinear); in drawContent() local
291 SkRect::Make(dstBounds), sampling, &paint, in drawContent()
/frameworks/base/libs/hwui/
DRecordingCanvas.cpp313 const SkSamplingOptions& sampling, const SkPaint* paint, BitmapPalette palette) in DrawImage()
314 : image(std::move(image)), x(x), y(y), sampling(sampling), palette(palette) { in DrawImage()
321 SkSamplingOptions sampling; member
325 c->drawImage(image.get(), x, y, sampling, &paint); in draw()
331 const SkSamplingOptions& sampling, const SkPaint* paint, in DrawImageRect()
333 : image(std::move(image)), dst(dst), sampling(sampling), constraint(constraint) in DrawImageRect()
342 SkSamplingOptions sampling; member
347 c->drawImageRect(image.get(), src, dst, sampling, &paint, constraint); in draw()
447 DrawAtlas(const SkImage* atlas, int count, SkBlendMode mode, const SkSamplingOptions& sampling, in DrawAtlas()
449 : atlas(sk_ref_sp(atlas)), count(count), mode(mode), sampling(sampling) in DrawAtlas()
[all …]
DLayer.cpp130 SkSamplingOptions sampling; in draw() local
132 sampling = SkSamplingOptions(SkFilterMode::kLinear); in draw()
134 canvas->drawImage(layerImage.get(), 0, 0, sampling, &paint); in draw()
DSkiaCanvas.cpp556 auto sampling = SkSamplingOptions(p.getFilterQuality()); in drawBitmap() local
557 mCanvas->drawImage(image, left, top, sampling, &p); in drawBitmap()
566 auto sampling = SkSamplingOptions(p.getFilterQuality()); in drawBitmap() local
567 mCanvas->drawImage(image, 0, 0, sampling, &p); in drawBitmap()
579 auto sampling = SkSamplingOptions(p.getFilterQuality()); in drawBitmap() local
580 mCanvas->drawImageRect(image, srcRect, dstRect, sampling, &p, in drawBitmap()
671 SkSamplingOptions sampling(paintToFilter(&pnt)); in drawBitmapMesh() local
672 pnt.setShader(image->makeShader(sampling)); in drawBitmapMesh()
678 if (s != sampling) { in drawBitmapMesh()
DReadback.cpp170 SkSamplingOptions sampling(SkFilterMode::kNearest); in copySurfaceInto() local
177 sampling = SkSamplingOptions(SkFilterMode::kLinear); in copySurfaceInto()
189 canvas->drawImageRect(image, imageSrcRect, imageDstRect, sampling, &paint, constraint); in copySurfaceInto()
DVectorDrawable.cpp511 auto sampling = SkSamplingOptions(SkFilterMode::kLinear); in draw() local
515 sampling, &paint, SkCanvas::kFast_SrcRectConstraint); in draw()
/frameworks/base/libs/hwui/tests/common/scenes/
DBitmapShaders.cpp47 SkSamplingOptions sampling; in createContent() local
51 image->makeShader(SkTileMode::kRepeat, SkTileMode::kRepeat, sampling); in createContent()
56 image->makeShader(SkTileMode::kMirror, SkTileMode::kMirror, sampling); in createContent()
/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/hardware/interfaces/sensorservice/1.0/
DIEventQueue.hal25 * Enable the selected sensor with a specified sampling period and
32 * sampling period in microseconds.
/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/windowmanager/
DREADME.md34 - profiling-sampling
/frameworks/base/apct-tests/perftests/inputmethod/
DREADME.md39 - profiling-sampling
/frameworks/native/libs/binder/
DAndroid.bp139 sampling: true,
153 sampling: true,
/frameworks/base/libs/hwui/jni/
DShader.cpp80 SkSamplingOptions sampling(filter ? SkFilterMode::kLinear : SkFilterMode::kNearest, in BitmapShader_constructor() local
83 (SkTileMode)tileModeX, (SkTileMode)tileModeY, sampling); in BitmapShader_constructor()
/frameworks/native/services/surfaceflinger/
DAndroid.bp118 sampling: true,
/frameworks/native/libs/gui/
DAndroid.bp198 sampling: true,
/frameworks/base/libs/hwui/tests/unit/
DRenderNodeDrawableTests.cpp1061 const SkSamplingOptions& sampling, const SkPaint* paint, in RENDERTHREAD_SKIA_PIPELINE_TEST() argument
1064 EXPECT_FALSE(sampling.useCubic); in RENDERTHREAD_SKIA_PIPELINE_TEST()
1065 EXPECT_EQ(SkFilterMode::kLinear, sampling.filter); in RENDERTHREAD_SKIA_PIPELINE_TEST()
/frameworks/rs/script_api/
Drs_graphics.spec374 Allocation must be a valid texture for the Program. The sampling
/frameworks/rs/script_api/include/
Drs_graphics.rsh643 * Allocation must be a valid texture for the Program. The sampling
/frameworks/proto_logging/stats/
Datoms.proto8264 // The random number between 0 ~ 999 for sampling
8289 // The random number between 0 ~ 999 for sampling
8314 // The random number between 0 ~ 999 for sampling
10902 // The sampling interval for this specific type of stats
10946 // The sampling interval for this specific type of stats
11003 // The sampling interval for this specific type of stats
11079 // The sampling interval for this specific type of stats
11169 // The sampling interval for this specific type of stats
11213 // The sampling interval for this specific type of stats
12167 // sampling strategy used to collect this message