OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:testBitmap
(Results
1 - 8
of
8
) sorted by null
/cts/tests/tests/effect/src/android/effect/cts/
EffectTest.java
119
Bitmap
testBitmap
= Bitmap.createBitmap(2, 2, Bitmap.Config.ARGB_8888);
120
testBitmap
.setPixel(0, 0, 0xFF000000);
121
testBitmap
.setPixel(0, 1, 0xFF0000FF);
122
testBitmap
.setPixel(1, 0, 0xFF00FF00);
123
testBitmap
.setPixel(1, 1, 0xFFFF0000);
124
return
testBitmap
;
/external/skia/tests/
SurfaceTest.cpp
84
SkBitmap
testBitmap
;
85
testBitmap
.setConfig(SkBitmap::kARGB_8888_Config, 10, 10);
86
testBitmap
.allocPixels();
87
testBitmap
.eraseColor(0);
125
EXPECT_COPY_ON_WRITE(drawBitmap(
testBitmap
, 0, 0))
126
EXPECT_COPY_ON_WRITE(drawBitmapRect(
testBitmap
, NULL, testRect))
127
EXPECT_COPY_ON_WRITE(drawBitmapMatrix(
testBitmap
, testMatrix, NULL))
128
EXPECT_COPY_ON_WRITE(drawBitmapNine(
testBitmap
, testIRect, testRect, NULL))
129
EXPECT_COPY_ON_WRITE(drawSprite(
testBitmap
, 0, 0, NULL))
BlurTest.cpp
138
SkBitmap
testBitmap
;
139
create(&
testBitmap
, itest, SkBitmap::kARGB_8888_Config);
141
SkCanvas testCanvas(
testBitmap
);
148
compare(refBitmap, iref,
testBitmap
, itest));
CanvasTest.cpp
215
static SkBitmap
testBitmap
() {
[
all
...]
/external/skia/tools/skpdiff/
SkDiffContext.cpp
71
SkBitmap
testBitmap
;
76
if (!SkImageDecoder::DecodeFile(testPath, &
testBitmap
)) {
109
if (!differ->diff(&baselineBitmap, &
testBitmap
, alphaMaskPending, &diffData.fResult)) {
/cts/tests/tests/graphics/src/android/graphics/cts/
YuvImageTest.java
254
// Compress rect1 in
testBitmap
and rect2 in image.
256
private void compressRects(Bitmap
testBitmap
, YuvImage image,
266
expected = Bitmap.createBitmap(
testBitmap
, expectedRect.left, expectedRect.top, expectedRect.width(), expectedRect.height());
272
// We use the modified one to get pixels from
testBitmap
.
273
private void compressOddRect(Bitmap
testBitmap
, YuvImage image,
280
expected = Bitmap.createBitmap(
testBitmap
, newRect.left, newRect.top,
/cts/tests/tests/widget/src/android/widget/cts/
SimpleAdapterTest.java
328
Bitmap
testBitmap
= WidgetTestUtils.getUnscaledAndDitheredBitmap(mContext.getResources(),
330
WidgetTestUtils.assertEquals(
testBitmap
, actualBitmap);
SimpleCursorAdapterTest.java
214
Bitmap
testBitmap
= WidgetTestUtils.getUnscaledAndDitheredBitmap(mContext.getResources(),
216
WidgetTestUtils.assertEquals(
testBitmap
, actualBitmap);
Completed in 121 milliseconds