OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:screenShot
(Results
1 - 8
of
8
) sorted by null
/frameworks/base/packages/Shell/src/com/android/shell/
Screenshooter.java
38
* Takes a
screenshot
.
40
* @return The
screenshot
bitmap on success, null otherwise.
52
Log.d(TAG, "Taking
screenshot
of dimensions " + displayWidth + " x " + displayHeight);
53
// Take the
screenshot
54
Bitmap
screenShot
=
55
SurfaceControl.
screenshot
(crop, displayWidth, displayHeight, rotation);
56
if (
screenShot
== null) {
57
Log.e(TAG, "Failed to take
screenshot
of dimensions " + displayWidth + " x "
63
screenShot
.setHasAlpha(false);
65
return
screenShot
;
[
all
...]
/cts/tests/inputmethod/src/android/view/inputmethod/cts/util/
NavigationBarColorVerifier.java
35
private static final class
ScreenShot
{
41
ScreenShot
(@ColorInt int backgroundColor, @NonNull Bitmap bitmap) {
92
final ArrayList<
ScreenShot
> screenShots = new ArrayList<>();
95
screenShots.add(new
ScreenShot
(color, screenshotSupplier.takeScreenshot(color)));
124
private static Result verifyInternal(@NonNull ArrayList<
ScreenShot
> screenShots) {
132
.mapToInt(
screenShot
->
screenShot
.mBackgroundColor)
138
.mapToInt(
screenShot
->
screenShot
.mPixels.length)
148
.mapToInt(
screenShot
-> screenShot.mPixels[i]
[
all
...]
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
VectorDrawableScaleTest.java
63
Bitmap
screenShot
= null;
72
screenShot
= takeScreenshot(srcRect);
75
DrawableTestUtils.saveVectorDrawableIntoPNG(
screenShot
, outputFolder, "scale");
80
DrawableTestUtils.compareImages("vectorDrawableScale",
screenShot
, golden,
AnimatedVectorDrawableParameterizedTest.java
150
// Take a screen shot every 50ms, and compare with previous
screenshot
for the ImageView
152
Bitmap
screenShot
= takeScreenshot(srcRect);
154
// Animation already ended, the
screenshot
may not contain valid animation content,
159
boolean isIdentical = isAlmostIdenticalInRect(
screenShot
, lastScreenShot);
162
DrawableTestUtils.saveVectorDrawableIntoPNG(
screenShot
, outputFolder,
169
lastScreenShot =
screenShot
;
312
// Take a screen shot every 100ms, and compare with previous
screenshot
for the ImageView
314
Bitmap
screenShot
= takeScreenshot(srcRect);
315
boolean isIdentical = isAlmostIdenticalInRect(
screenShot
, lastScreenShot);
318
DrawableTestUtils.saveVectorDrawableIntoPNG(
screenShot
, outputFolder
[
all
...]
/frameworks/base/core/java/android/app/
UiAutomation.java
703
* Takes a
screenshot
.
705
* @return The
screenshot
bitmap on success, null otherwise.
718
// Take the
screenshot
719
Bitmap
screenShot
= null;
722
screenShot
= mUiAutomationConnection.takeScreenshot(
724
if (
screenShot
== null) {
733
screenShot
.setHasAlpha(false);
735
return
screenShot
;
[
all
...]
/packages/apps/Camera2/src/com/android/camera/ui/
ModeTransitionView.java
563
* Setup the mode cover with a
screenshot
.
565
public void setupModeCover(Bitmap
screenShot
) {
566
mBackgroundBitmap =
screenShot
;
/external/robolectric/v3/runtime/
android-all-4.3_r2-robolectric-0.jar
/prebuilts/misc/common/robolectric/android-all/
android-all-4.3_r2-robolectric-0.jar
Completed in 255 milliseconds