OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:hardwareBitmap
(Results
1 - 8
of
8
) sorted by null
/frameworks/base/libs/hwui/tests/common/scenes/
HwBitmap565.cpp
33
sk_sp<Bitmap>
hardwareBitmap
= BitmapAllocationTestUtils::allocateHardwareBitmap(
43
canvas.drawBitmap(*
hardwareBitmap
, 10.0f, 10.0f, nullptr);
/frameworks/base/core/tests/coretests/src/android/graphics/
BitmapTest.java
243
Bitmap
hardwareBitmap
= Bitmap.createHardwareBitmap(buffer);
244
assertTrue(
hardwareBitmap
.isPremultiplied());
245
assertFalse(
hardwareBitmap
.isMutable());
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
HardwareBitmapTests.java
78
Bitmap
hardwareBitmap
= BitmapFactory.decodeResource(mRes, R.drawable.robot,
80
canvas.drawBitmap(
hardwareBitmap
, 0, 0, new Paint());
97
Bitmap
hardwareBitmap
= Bitmap.createBitmap(picture);
98
assertEquals(TEST_WIDTH,
hardwareBitmap
.getWidth());
99
assertEquals(TEST_HEIGHT,
hardwareBitmap
.getHeight());
100
assertEquals(Bitmap.Config.HARDWARE,
hardwareBitmap
.getConfig());
102
canvas.drawBitmap(
hardwareBitmap
, 0, 0, null);
108
Bitmap
hardwareBitmap
= BitmapFactory.decodeResource(mRes, R.drawable.robot,
110
assertEquals(Bitmap.Config.HARDWARE,
hardwareBitmap
.getConfig());
115
canvas.drawBitmap(
hardwareBitmap
, 0, 0, null)
[
all
...]
/frameworks/base/core/jni/android/graphics/
BitmapRegionDecoder.cpp
230
sk_sp<Bitmap>
hardwareBitmap
= Bitmap::allocateHardwareBitmap(bitmap);
231
return bitmap::createBitmap(env,
hardwareBitmap
.release(), bitmapCreateFlags);
BitmapFactory.cpp
504
sk_sp<Bitmap>
hardwareBitmap
= Bitmap::allocateHardwareBitmap(outputBitmap);
505
if (!
hardwareBitmap
.get()) {
508
return bitmap::createBitmap(env,
hardwareBitmap
.release(), bitmapCreateFlags,
/cts/tests/tests/graphics/src/android/graphics/cts/
BitmapRegionDecoderTest.java
438
Bitmap
hardwareBitmap
= decoder.decodeRegion(new Rect(0, 0, 10, 10), options);
439
assertNotNull(
hardwareBitmap
);
441
assertEquals(Config.HARDWARE,
hardwareBitmap
.getConfig());
[
all
...]
BitmapFactoryTest.java
717
Bitmap
hardwareBitmap
= BitmapFactory.decodeResource(mRes, R.drawable.robot, options);
718
assertNotNull(
hardwareBitmap
);
720
assertEquals(Config.HARDWARE,
hardwareBitmap
.getConfig());
[
all
...]
BitmapTest.java
562
Bitmap
hardwareBitmap
= BitmapFactory.decodeResource(mRes, R.drawable.robot,
564
assertEquals(Bitmap.Config.HARDWARE,
hardwareBitmap
.getConfig());
[
all
...]
Completed in 175 milliseconds