HomeSort by relevance Sort by last modified time
    Searched refs:isPremultiplied (Results 1 - 14 of 14) sorted by null

  /cts/tests/tests/graphics/src/android/graphics/cts/
BitmapFactoryTest.java 202 assertFalse(bPng.isPremultiplied());
208 assertFalse(bWebp1.isPremultiplied());
210 compareBitmaps(bPng, bWebp1, COLOR_TOLS[k], true, bPng.isPremultiplied());
219 assertFalse(bWebp2.isPremultiplied());
221 compareBitmaps(bPng, bWebp2, COLOR_TOLS[k], true, bPng.isPremultiplied());
236 assertTrue(bPng.isPremultiplied());
244 assertTrue(bWebP1.isPremultiplied());
246 compareBitmaps(bPng, bWebP1, COLOR_TOLS_RGBA[k], true, bPng.isPremultiplied());
256 assertTrue(bWebP2.isPremultiplied());
258 compareBitmaps(bPng, bWebP2, COLOR_TOLS_RGBA[k], true, bPng.isPremultiplied());
    [all...]
BitmapTest.java 581 * Assert that bitmap returns the appropriate values for hasAlpha() and isPremultiplied().
586 * @param expectedPremul Expected return value from bitmap.isPremultiplied(). Similar to
603 assertFalse(bitmap.isPremultiplied());
619 assertEquals(bitmap.isPremultiplied(), expectedPremul);
623 assertFalse(bitmap.isPremultiplied());
822 assertTrue(bitmap.isPremultiplied() == expectedPremul);
825 assertFalse(bitmap.isPremultiplied());
860 assertFalse(bitmap.isPremultiplied());
    [all...]
  /frameworks/native/services/surfaceflinger/RenderEngine/
ProgramCache.h 88 inline bool isPremultiplied() const {
ProgramCache.cpp 189 if (needs.isPremultiplied()) {
198 if (!needs.isOpaque() && needs.isPremultiplied()) {
204 if (!needs.isOpaque() && needs.isPremultiplied()) {
  /frameworks/base/core/jni/android/graphics/
Graphics.cpp 397 // Assert that bitmap's SkAlphaType is consistent with isPremultiplied.
398 static void assert_premultiplied(const SkImageInfo& info, bool isPremultiplied) {
399 // kOpaque_SkAlphaType and kIgnore_SkAlphaType mean that isPremultiplied is
401 // opposite of isPremultiplied.
402 if (isPremultiplied) {
413 bool isPremultiplied = bitmapCreateFlags & kBitmapCreateFlag_Premultiplied;
416 assert_premultiplied(bitmap->info(), isPremultiplied);
420 bitmap->width(), bitmap->height(), density, isMutable, isPremultiplied,
427 bool isPremultiplied)
431 assert_premultiplied(info, isPremultiplied);
    [all...]
BitmapFactory.cpp 526 bool isPremultiplied = !requireUnpremultiplied;
528 GraphicsJNI::reinitBitmap(env, javaBitmap, outputBitmap.info(), isPremultiplied);
536 if (isPremultiplied) bitmapCreateFlags |= GraphicsJNI::kBitmapCreateFlag_Premultiplied;
GraphicsJNI.h 86 sync with isPremultiplied
89 bool isPremultiplied);
  /frameworks/base/tools/layoutlib/bridge/src/android/graphics/
Bitmap_Delegate.java 120 * @see Bitmap#isPremultiplied()
168 * @see Bitmap#isPremultiplied()
200 * @see Bitmap#isPremultiplied()
330 int config, int allocSize, boolean isPremultiplied) {
627 boolean isPremultiplied = createFlags.contains(BitmapCreateFlags.PREMULTIPLIED);
631 isPremultiplied, null /*ninePatchChunk*/, null /* layoutBounds */);
  /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 or a bitmap
504 * (see {@link #isPremultiplied()}, the values in the buffer will also be
    [all...]
Canvas.java     [all...]
  /external/robolectric/v1/lib/main/
android.jar 
  /prebuilts/sdk/17/
android.jar 
  /prebuilts/sdk/18/
android.jar 
  /prebuilts/sdk/21/
android.jar 

Completed in 740 milliseconds