/frameworks/native/services/surfaceflinger/tests/utils/ |
D | ScreenshotUtils.h | 44 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/ |
D | ISurfaceComposer.h | 325 float frameScale = 1.0, bool childrenOnly = false) = 0; 332 const Rect& sourceCrop, float frameScale = 1.0, 335 ui::PixelFormat::RGBA_8888, sourceCrop, {}, frameScale, childrenOnly);
|
D | SurfaceComposerClient.h | 610 float frameScale, sp<GraphicBuffer>* outBuffer); 616 float frameScale, sp<GraphicBuffer>* outBuffer);
|
/frameworks/base/core/java/android/view/ |
D | SurfaceControl.java | 98 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/ |
D | SurfaceComposerClient.cpp | 1944 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()
|
D | ISurfaceComposer.cpp | 174 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/ |
D | android_view_SurfaceControl.cpp | 318 jlong layerObject, jobject sourceCropObj, jfloat frameScale, in nativeCaptureLayers() argument 357 sourceCrop, excludeHandles, frameScale, in nativeCaptureLayers()
|
/frameworks/native/services/surfaceflinger/ |
D | SurfaceFlinger.h | 443 float frameScale, bool childrenOnly) override;
|
D | SurfaceFlinger.cpp | 5560 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()
|