Home
last modified time | relevance | path

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

123

/aosp12/frameworks/base/libs/hwui/pipeline/skia/
H A 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()
H A DRenderNodeDrawable.cpp265 SkSamplingOptions sampling(SkFilterMode::kLinear); in drawContent() local
291 SkRect::Make(dstBounds), sampling, &paint, in drawContent()
/aosp12/frameworks/base/libs/hwui/
H A DRecordingCanvas.cpp314 : 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()
449 : atlas(sk_ref_sp(atlas)), count(count), mode(mode), sampling(sampling) in DrawAtlas()
461 SkSamplingOptions sampling; member
1022 fDL->drawImage(image, x, y, sampling, paint, palette); in drawImage()
[all …]
H A 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()
H A 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()
H A 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()
/aosp12/frameworks/base/libs/hwui/tests/common/scenes/
H A 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()
/aosp12/frameworks/base/packages/EasterEgg/src/com/android/egg/paint/
H A 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()
/aosp12/art/test/099-vmdebug/
H A Dexpected-stdout.txt5 Confirm sampling
18 Test sampling with bogus (<= 0) interval
/aosp12/system/chre/apps/power_test/common/idl/
H A Dchre_power_test.fbs86 /// sampling at the requested interval
132 /// Represents a message to ask the nanoapp to start / stop sampling / batching
143 /// enables all sensors at their fastest sampling rate.
155 /// sampling at the requested interval
/aosp12/frameworks/hardware/interfaces/sensorservice/1.0/
H A DIEventQueue.hal25 * Enable the selected sensor with a specified sampling period and
32 * sampling period in microseconds.
/aosp12/packages/modules/NetworkStack/src/com/android/networkstack/metrics/
H A Dstats.proto108 // The random number between 0 ~ 999 for sampling
133 // The random number between 0 ~ 999 for sampling
158 // The random number between 0 ~ 999 for sampling
/aosp12/hardware/interfaces/gnss/1.0/
H A DIGnssGeofencing.hal50 * It is acceptable to dynamically vary the rate of sampling the GNSS for
51 * power-saving reasons; thus the rate of sampling may be faster or slower
/aosp12/frameworks/base/services/core/java/com/android/server/
H A DLooperStatsService.java253 int sampling = Integer.parseUnsignedInt(getNextArgRequired()); in onCommand() local
254 setSamplingInterval(sampling); in onCommand()
/aosp12/hardware/interfaces/graphics/composer/2.3/
H A DIComposerClient.hal274 * Query for what types of color sampling the hardware supports.
294 /** Enable content sampling. */
297 /** Disable content sampling. */
314 * @param display is the display to which the sampling mode is set.
315 * @param enabled indicates whether to enable or disable sampling.
333 * Collects the results of display content color sampling for display.
335 * Collection of data can occur whether the sampling is in ENABLE or
338 * @param display is the display to which the sampling is collected.
/aosp12/frameworks/base/apct-tests/perftests/windowmanager/
H A DREADME.md34 - profiling-sampling
/aosp12/frameworks/base/apct-tests/perftests/inputmethod/
H A DREADME.md39 - profiling-sampling
/aosp12/hardware/interfaces/audio/2.0/
H A DIStream.hal49 * Return the sampling rate in Hz.
56 * Return supported sampling rates of the stream. Calling this method is
65 * Sets the sampling rate of the stream. Calling this method is equivalent
/aosp12/frameworks/native/libs/binder/
H A DAndroid.bp139 sampling: true,
153 sampling: true,
/aosp12/hardware/interfaces/power/stats/1.0/
H A DIPowerStats.hal54 * captured. If the requested sampling rate is not supported then
56 * to the supported sampling rate.
/aosp12/hardware/interfaces/audio/4.0/
H A DIStream.hal47 * Return the sampling rate in Hz.
54 * Return supported native sampling rates of the stream for a given format.
75 * Sets the sampling rate of the stream. Calling this method is equivalent
/aosp12/hardware/interfaces/audio/5.0/
H A DIStream.hal47 * Return the sampling rate in Hz.
54 * Return supported native sampling rates of the stream for a given format.
75 * Sets the sampling rate of the stream. Calling this method is equivalent
/aosp12/hardware/interfaces/audio/6.0/
H A DIStream.hal47 * Return the sampling rate in Hz.
54 * Return supported native sampling rates of the stream for a given format.
75 * Sets the sampling rate of the stream. Calling this method is equivalent
/aosp12/frameworks/base/libs/hwui/jni/
H A DShader.cpp80 SkSamplingOptions sampling(filter ? SkFilterMode::kLinear : SkFilterMode::kNearest, in BitmapShader_constructor() local
83 (SkTileMode)tileModeX, (SkTileMode)tileModeY, sampling); in BitmapShader_constructor()
/aosp12/hardware/interfaces/contexthub/1.0/
H A Dtypes.hal98 // sampling freq.
100 // sampling frequency

123