OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:isPremultiplied
(Results
1 - 10
of
10
) sorted by null
/frameworks/native/services/surfaceflinger/RenderEngine/
ProgramCache.h
88
inline bool
isPremultiplied
() const {
/frameworks/base/core/jni/android/graphics/
BitmapFactory.cpp
474
bool
isPremultiplied
= !requireUnpremultiplied;
475
GraphicsJNI::reinitBitmap(env, javaBitmap, outputBitmap,
isPremultiplied
);
Graphics.cpp
349
// Assert that bitmap's SkAlphaType is consistent with
isPremultiplied
.
350
static void assert_premultiplied(const SkBitmap& bitmap, bool
isPremultiplied
) {
351
// kOpaque_SkAlphaType and kIgnore_SkAlphaType mean that
isPremultiplied
is
353
// opposite of
isPremultiplied
.
354
if (
isPremultiplied
) {
367
bool
isPremultiplied
= bitmapCreateFlags & kBitmapCreateFlag_Premultiplied;
371
assert_premultiplied(*bitmap,
isPremultiplied
);
375
bitmap->width(), bitmap->height(), density, isMutable,
isPremultiplied
,
388
bool
isPremultiplied
)
392
assert_premultiplied(*bitmap,
isPremultiplied
);
[
all
...]
/cts/tests/tests/graphics/src/android/graphics/cts/
BitmapFactoryTest.java
415
assertTrue(simplePremul.
isPremultiplied
());
BitmapTest.java
709
assertTrue(bitmap.
isPremultiplied
() == expectedPremul);
712
assertFalse(bitmap.
isPremultiplied
());
747
assertFalse(bitmap.
isPremultiplied
());
/frameworks/base/graphics/java/android/graphics/
Bitmap.java
63
* Note that
isPremultiplied
() does not directly return this value, because
64
*
isPremultiplied
() may never return true for a 565 Bitmap.
108
boolean isMutable, boolean
isPremultiplied
,
117
mIsPremultiplied =
isPremultiplied
;
135
void reinit(int width, int height, boolean
isPremultiplied
) {
138
mIsPremultiplied =
isPremultiplied
;
468
* (see {@link #
isPremultiplied
()}, the values in the buffer will also be
[
all
...]
/prebuilts/sdk/17/
android.jar
/prebuilts/sdk/18/
android.jar
/prebuilts/sdk/19/
android.jar
/prebuilts/sdk/current/
android.jar
Completed in 94 milliseconds