Files
tubestation/widget/android/bindings/AndroidGraphics-classes.txt
Emily Toop 41dde8e2bd Bug 1462018 - Add API for taking screenshot of visible page.
Invert screen pixels in `nsWindow`.

Update `RequestScreenPixels` in `nsWindow` to accept a `GeckoResult` as an argument and save as a `GlobalRef`.
Update `RecvScreenPixels` in `nsWindow` in order to invert the image before sending over JNI rather than requiring callers to invert the image themselves.
Complete the `GeckoResult` if there is one in `RecvScreenPixels` instead of making a callback to the compositor.

Remove `RecvScreenPixels` from `GeckoSession` and `GeckoSession.Compositor`.
Move `RecvScreenPixels` and `getPixels` to `GeckoDisplay`
Rename `getPixels` to `capturePixels`

Return Bitmap from `RecvScreenPixels`.

Return `GeckoResult` from `capturePixels`.

Add doc comments to new methods and classes.
Update FennecNativeDriver to use `GeckoView` and `GeckoResult`.

Update API docs and Changelog

Add tests

Differential Revision: https://phabricator.services.mozilla.com/D21833
2019-03-02 10:09:08 +00:00

10 lines
307 B
Plaintext

[android.graphics.Bitmap = skip:true]
copyPixelsFromBuffer(Ljava/nio/Buffer;)V =
createBitmap(IILandroid/graphics/Bitmap$Config;)Landroid/graphics/Bitmap; =
[android.graphics.Bitmap$Config = skip:true]
valueOf(Ljava/lang/String;)Landroid/graphics/Bitmap$Config; =
ALPHA_8 =
ARGB_8888 =
RGBA_F16 =
RGB_565 =