bf89ae53c3d74365be4bf794283ca26f7d6d3fe1 |
|
11-Mar-2016 |
Prathmesh Prabhu <pprabhu@google.com> |
screencap: Nix deprecated direct read of framebuffer. screencap command had a fallback path that tried to read the framebuffer directly. This is no longer supported (and is blocked by selinux policy), so delete said path. BUG:27598623 Change-Id: I1b002d4a68ad93f75b150029d01b5f0c500be56c
/frameworks/base/cmds/screencap/screencap.cpp
|
cf70d71781a40d197c3ecde89351976b27eb9a8a |
|
10-Jun-2015 |
Dan Stoza <stoza@google.com> |
screencap: Rotate images when display is rotated Changes screencap to read the display rotation and use it when capturing the screenshot so that the output image is oriented correctly. Bug: 8433742 Change-Id: I0f7db422399985a1ff17da3faa946ff0943e58f7
/frameworks/base/cmds/screencap/screencap.cpp
|
3449789b9ca58fee7e5cd02ff89d544f4a6bc9b5 |
|
20-Jan-2015 |
Leon Scroggins III <scroggo@google.com> |
SkStream is no longer a ref counted object. With https://codereview.chromium.org/849103004/, SkStream is no longer ref counted. Change callers that currently unref() SkStreams to one of either: - delete the stream - pass ownership of the stream screencap.cpp: Call EncodeData directly, bypassing SkDynamicMemoryWStream and SkBitmap. Utils.cpp: Write directly to an SkData, and then use that to construct a new SkStream. Cherry-pick of a change that originally landed in master-skia and is dependent on a skia merge (ag/655422). Change-Id: Idc99ad7d5a70c893dc012d59915216f301ab3c9d
/frameworks/base/cmds/screencap/screencap.cpp
|
cfedceb8c180a2e176154d461659e0c3569dc931 |
|
01-Oct-2014 |
Andreas Gampe <agampe@google.com> |
Frameworks/base: Turn on -Wall -Werror in cmds Fix small warnings, turn on -Wall -Werror. Change-Id: Iab1f01a7c7ebd6ba832b75067c5e395f380a1b8b
/frameworks/base/cmds/screencap/screencap.cpp
|
f8820f3f5308cc45ec6da204c3b54352da2349a8 |
|
22-Sep-2014 |
Marco Nelissen <marcone@google.com> |
am c840e31d: am fa436298: Merge "Broadcast an intent to mediascanner after executing screencap" * commit 'c840e31d0ee772373b1be7469b7bfbe28715d52e': Broadcast an intent to mediascanner after executing screencap
|
b933055cf3f7f8ea89bfd3bc9c37a3891ff7310a |
|
16-Jun-2014 |
Mike Reed <reed@google.com> |
stop using (deprecated) SkBitmap::Config Change-Id: Ic75b5fc6996578e9d95bd3a220439ec1541d7c3b
/frameworks/base/cmds/screencap/screencap.cpp
|
cfed2326c7e77602fa6278ddf99203d9aaaf8df7 |
|
15-Jan-2014 |
Umair Khan <omerjerk@gmail.com> |
Broadcast an intent to mediascanner after executing screencap PS2: Fix for spaces in file names After doing screencap /sdcard/test.png in shell the screenshot is captured but the gallery is not updated. So we should broadcast the intent android.intent.action.MEDIA_SCANNER_SCAN_FILE for the image to show up in gallery. Change-Id: I8e384865082c717842d70d376d5828d74a2ad780 Signed-off-by: Umair Khan <omerjerk@gmail.com>
/frameworks/base/cmds/screencap/screencap.cpp
|
9890e341bf9d565309cd7db5e6c4194c66c0a1d8 |
|
23-May-2014 |
Dan Stoza <stoza@google.com> |
SurfaceFlinger: Add sourceCrop to screenshot Adds a sourceCrop Rect parameter to screenshot commands, which allows clients to capture only a portion of the screen instead of the whole screen. Bug: 15137922 Change-Id: I629447573cd34ffb96334cde7ba02490b9ea06d8
/frameworks/base/cmds/screencap/screencap.cpp
|
16ec12ae77fdd2b09ea0ea0885ac52f11bd32c59 |
|
15-Feb-2014 |
Dan Stoza <stoza@google.com> |
Allow disabling layer rotation during screenshots Add the ability to ignore layers' transformation matrices during screenshot capture, which will allow the window manager to capture unrotated images for recents during the device rotation animation. Bug: 11805195 Change-Id: I96e65506b198d34724eb3aa84815aae6f6de4935
/frameworks/base/cmds/screencap/screencap.cpp
|
b251f3d0c619c37cc4e4b8d9f8b95eb377423190 |
|
26-Jul-2013 |
Mathias Agopian <mathias@google.com> |
get rid of HAL pixelformats 5551 and 4444 Change-Id: I6a6c4c656d80280eb85f90f99f35721ffca285df
/frameworks/base/cmds/screencap/screencap.cpp
|
6f7b58917104916ee6afd6f246c251c1d7a2102a |
|
26-Jul-2013 |
Mathias Agopian <mathias@google.com> |
get rid of PIXEL_FORMAT_A_8 Change-Id: Ia750811f08ddebdd5818da211fd03d61b75f8e97
/frameworks/base/cmds/screencap/screencap.cpp
|
a79fd4ca31cca590d81b8663b3649127477bd24a |
|
22-Mar-2013 |
Mathias Agopian <mathias@google.com> |
use the bitmap stride when encoding a screenshot as PNG Bug: 8444808 Change-Id: I47b74c22c940b40bd02634e9cd9dbff39b29a99f
/frameworks/base/cmds/screencap/screencap.cpp
|
0137fb8937e69ed41cff3bf8cb0c1fea43daa3b5 |
|
20-Mar-2013 |
Mathias Agopian <mathias@google.com> |
make sure screencap's data stream matches what adb expects adb assumes the stride is always equal to the width, so we make sure it's actually the case (screenshot don't always have this guarantee). Change-Id: I643b909f6542b7493a611afc6e3c86955b984352
/frameworks/base/cmds/screencap/screencap.cpp
|
0678a8c250832a5549703f533f6afea9d8729e43 |
|
20-Mar-2013 |
Mathias Agopian <mathias@google.com> |
make sure to start the binder thread pool Change-Id: I5c125a001936797489ebdcd0d4ccbde23adba282
/frameworks/base/cmds/screencap/screencap.cpp
|
c59b2f9a774c024fe8c893d956cd2749a6bd2673 |
|
24-Oct-2012 |
Mike Lockwood <lockwood@google.com> |
More changes to fix PDK build: move screencap back to frameworks/base move libdiskusage to frameworks/native Change-Id: I8abe425c4bbf305bbe8650094c40c16df8c6d5e4
/frameworks/base/cmds/screencap/screencap.cpp
|
6931061de6471e598d36e6c101ce9bb95036a80c |
|
24-Oct-2012 |
Mike Lockwood <lockwood@google.com> |
Move non-Java commands to frameworks/native Change-Id: Id77c2cecb27cec500dfe066e4430f9e67802a433 Signed-off-by: Mike Lockwood <lockwood@google.com>
/frameworks/base/cmds/screencap/screencap.cpp
|
0b722fe9ce98d97dbcb6fefd170b85ab7037e528 |
|
25-Aug-2012 |
Jeff Brown <jeffbrown@google.com> |
Use new surface flinger API. Change-Id: Ic888577408a59a36481a48010e19c5e77c24e211
/frameworks/base/cmds/screencap/screencap.cpp
|
8335f1ccccedb6655d96d9d5b697a7f0938235dd |
|
26-Feb-2012 |
Mathias Agopian <mathias@google.com> |
fix libgui header location Change-Id: Iec71706cdd4f29c6904993648ce873e83ef9cafe
/frameworks/base/cmds/screencap/screencap.cpp
|
3e3681151a231225b2b25c996bb9e85948a345a8 |
|
22-Feb-2012 |
Mathias Agopian <mathias@google.com> |
remove libui's dependency on libpixelflinger this also remove support for unused pixelformats. Change-Id: I2c759a6d2daa740f3786ed62095def8047ae933d
/frameworks/base/cmds/screencap/screencap.cpp
|
889a3fa6ab9710104af60db5f73d69f253ddf254 |
|
31-Jan-2012 |
Derek Sollenberger <derek@android.com> |
Skia API changes as a result of an update to the Skia library. These changes are required to work with r3022 of Skia Change-Id: Ib7cebeb2eba6790bb38edfc2397b311cf419e17c
/frameworks/base/cmds/screencap/screencap.cpp
|
9afc7b02facf4918d3033ebb4548b76a59b1373c |
|
09-Feb-2011 |
Mathias Agopian <mathias@google.com> |
fix [3374821] Cannot take screenshot of HC preview the screencap tool will now fallback to /dev/graphics/fb0 is the screenshot API fails. Change-Id: I3f593847c72f4ca5429d4f64ca22bd5436dd2051
/frameworks/base/cmds/screencap/screencap.cpp
|
5cff0630eb970faf1682095ca434b204628b4d62 |
|
04-Dec-2010 |
Joe Onorato <joeo@google.com> |
make screencap able to save pngs. Change-Id: Idf3542ff05670bc872bd91770810ed775266514f
/frameworks/base/cmds/screencap/screencap.cpp
|
38ed2e39c54a42dda8f00620f960788f569a3698 |
|
29-Sep-2010 |
Mathias Agopian <mathias@google.com> |
refactored screenshot code the core screenshot function now can capture the screen at any lower resolution performing bilinear filtering. we also now have some client code to interface with the screenshot service. it's now possible to request a screenshot at a lower resolution. Change-Id: I5a3b0e431421800e3aad601d9af8f94adffbc71f
/frameworks/base/cmds/screencap/screencap.cpp
|
88a5df93668cb2079d10fd55de25a333f5f43842 |
|
27-Sep-2010 |
Mathias Agopian <mathias@google.com> |
new screencap command this captures the framebuffer via surfaceflinger APIs and outputs it to stdout. this is intended to be used by adbd. Change-Id: I0cfa6a47ec121edcd93f46b64870f9a553f653ff
/frameworks/base/cmds/screencap/screencap.cpp
|