OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:isPremultiplied
(Results
1 - 14
of
14
) sorted by null
/frameworks/native/services/surfaceflinger/RenderEngine/
ProgramCache.cpp
158
if (needs.
isPremultiplied
()) {
167
if (!needs.isOpaque() && needs.
isPremultiplied
()) {
174
if (!needs.isOpaque() && needs.
isPremultiplied
()) {
ProgramCache.h
88
inline bool
isPremultiplied
() const {
/frameworks/base/core/jni/android/graphics/
Bitmap.cpp
100
static FromColorProc ChooseFromColorProc(SkBitmap::Config config, bool
isPremultiplied
) {
103
return
isPremultiplied
? FromColor_D32 : FromColor_D32_Raw;
105
return
isPremultiplied
? FromColor_D4444 : FromColor_D4444_Raw;
116
const SkBitmap& dstBitmap, bool
isPremultiplied
) {
119
FromColorProc proc = ChooseFromColorProc(dstBitmap.config(),
isPremultiplied
);
260
static ToColorProc ChooseToColorProc(const SkBitmap& src, bool
isPremultiplied
) {
264
return
isPremultiplied
? ToColor_S32_Alpha : ToColor_S32_Raw;
267
return
isPremultiplied
? ToColor_S4444_Alpha : ToColor_S4444_Raw;
275
return
isPremultiplied
? ToColor_SI8_Raw : ToColor_SI8_Alpha;
616
int x, int y, bool
isPremultiplied
) {
[
all
...]
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
...]
GraphicsJNI.h
69
sync with
isPremultiplied
72
bool
isPremultiplied
);
88
const SkBitmap& dstBitmap, bool
isPremultiplied
);
BitmapFactory.cpp
474
bool
isPremultiplied
= !requireUnpremultiplied;
475
GraphicsJNI::reinitBitmap(env, javaBitmap, outputBitmap,
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
...]
Canvas.java
[
all
...]
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
Bitmap_Delegate.java
111
* @see Bitmap#
isPremultiplied
()
145
* @see Bitmap#
isPremultiplied
()
179
* @see Bitmap#
isPremultiplied
()
397
boolean
isPremultiplied
) {
404
// TODO: Support
isPremultiplied
.
410
int stride, int x, int y, int width, int height, boolean
isPremultiplied
) {
422
boolean
isPremultiplied
) {
433
int stride, int x, int y, int width, int height, boolean
isPremultiplied
) {
601
boolean
isPremultiplied
= createFlags.contains(BitmapCreateFlags.PREMULTIPLIED);
605
isPremultiplied
, null /*ninePatchChunk*/, null /* layoutBounds */)
[
all
...]
/cts/tests/tests/graphics/src/android/graphics/cts/
BitmapTest.java
709
assertTrue(bitmap.
isPremultiplied
() == expectedPremul);
712
assertFalse(bitmap.
isPremultiplied
());
747
assertFalse(bitmap.
isPremultiplied
());
BitmapFactoryTest.java
415
assertTrue(simplePremul.
isPremultiplied
());
/prebuilts/sdk/17/
android.jar
/prebuilts/sdk/18/
android.jar
/prebuilts/sdk/current/
android.jar
Completed in 353 milliseconds