Home
last modified time | relevance | path

Searched refs:frameScale (Results 1 – 9 of 9) sorted by relevance

/frameworks/native/services/surfaceflinger/tests/utils/
DScreenshotUtils.h44 Rect crop = Rect::EMPTY_RECT, float frameScale = 1.0) {
49 ASSERT_EQ(NO_ERROR, sf->captureLayers(parentHandle, &outBuffer, crop, frameScale));
54 Rect crop = Rect::EMPTY_RECT, float frameScale = 1.0) {
59 ASSERT_EQ(NO_ERROR, sf->captureLayers(parentHandle, &outBuffer, crop, frameScale, true));
/frameworks/native/libs/gui/include/gui/
DISurfaceComposer.h325 float frameScale = 1.0, bool childrenOnly = false) = 0;
332 const Rect& sourceCrop, float frameScale = 1.0,
335 ui::PixelFormat::RGBA_8888, sourceCrop, {}, frameScale, childrenOnly);
DSurfaceComposerClient.h610 float frameScale, sp<GraphicBuffer>* outBuffer);
616 float frameScale, sp<GraphicBuffer>* outBuffer);
/frameworks/base/core/java/android/view/
DSurfaceControl.java98 long layerObject, Rect sourceCrop, float frameScale, long[] excludeLayerObjects, in nativeCaptureLayers() argument
2120 float frameScale) { in captureLayers() argument
2121 return captureLayers(layer, sourceCrop, frameScale, PixelFormat.RGBA_8888); in captureLayers()
2140 float frameScale, int format) { in captureLayers() argument
2142 return nativeCaptureLayers(displayToken, layer.mNativeObject, sourceCrop, frameScale, null, in captureLayers()
2151 Rect sourceCrop, float frameScale, int format, SurfaceControl[] exclude) { in captureLayersExcluding() argument
2157 return nativeCaptureLayers(displayToken, layer.mNativeObject, sourceCrop, frameScale, in captureLayersExcluding()
/frameworks/native/libs/gui/
DSurfaceComposerClient.cpp1944 float frameScale, sp<GraphicBuffer>* outBuffer) { in captureLayers() argument
1948 sourceCrop, {}, frameScale, false /* childrenOnly */); in captureLayers()
1956 float frameScale, sp<GraphicBuffer>* outBuffer) { in captureChildLayers() argument
1961 excludeHandles, frameScale, true /* childrenOnly */); in captureChildLayers()
DISurfaceComposer.cpp174 const std::unordered_set<sp<IBinder>, SpHash<IBinder>>& excludeLayers, float frameScale, in captureLayers() argument
186 data.writeFloat(frameScale); in captureLayers()
1357 float frameScale = data.readFloat(); in onTransact() local
1362 sourceCrop, excludeHandles, frameScale, childrenOnly); in onTransact()
/frameworks/base/core/jni/
Dandroid_view_SurfaceControl.cpp318 jlong layerObject, jobject sourceCropObj, jfloat frameScale, in nativeCaptureLayers() argument
357 sourceCrop, excludeHandles, frameScale, in nativeCaptureLayers()
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.h443 float frameScale, bool childrenOnly) override;
DSurfaceFlinger.cpp5560 float frameScale, bool childrenOnly) { in captureLayers() argument
5676 if (crop.isEmpty() || frameScale <= 0.0f) { in captureLayers()
5681 reqWidth = crop.width() * frameScale; in captureLayers()
5682 reqHeight = crop.height() * frameScale; in captureLayers()