Screen capture
- SurfaceControl.screenshot(dw, dh, minLayer, maxLayer) (WindowManagerService.java)
public static Bitmap screenshot (SurfaceControl.java) static jobject nativeScreenshotBitmap (android_view_SurfaceControl.cpp) pixels->update mScreenshot.update ScreenshotClient::update (SurfaceComposerClient.cpp) virtual status_t captureScreen (ISurfaceComposer.cpp) remote()->transact
PS 1 Create outServerChannel and outClientChannel.
Each channel has 2 channel objects.
No comments:
Post a Comment