OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:BitmapCreateFlags
(Results
1 - 3
of
3
) sorted by null
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
BitmapFactory_Delegate.java
28
import android.graphics.Bitmap_Delegate.
BitmapCreateFlags
;
56
Set<
BitmapCreateFlags
>
bitmapCreateFlags
= EnumSet.of(
BitmapCreateFlags
.MUTABLE);
60
bitmapCreateFlags
.add(
BitmapCreateFlags
.PREMULTIPLIED);
74
bm = Bitmap_Delegate.createBitmap(ninePatch.getImage(),
bitmapCreateFlags
,
91
bm = Bitmap_Delegate.createBitmap(is,
bitmapCreateFlags
, density);
Bitmap_Delegate.java
57
public enum
BitmapCreateFlags
{
117
public static Bitmap createBitmap(File input, Set<
BitmapCreateFlags
> createFlags,
151
public static Bitmap createBitmap(InputStream input, Set<
BitmapCreateFlags
> createFlags,
185
public static Bitmap createBitmap(BufferedImage image, Set<
BitmapCreateFlags
> createFlags,
510
return createBitmap(delegate, EnumSet.of(
BitmapCreateFlags
.MUTABLE),
613
Set<
BitmapCreateFlags
> createFlags, int density) {
619
boolean isMutable = createFlags.contains(
BitmapCreateFlags
.MUTABLE);
620
boolean isPremultiplied = createFlags.contains(
BitmapCreateFlags
.PREMULTIPLIED);
627
private static Set<
BitmapCreateFlags
> getPremultipliedBitmapCreateFlags(boolean isMutable) {
628
Set<
BitmapCreateFlags
> createFlags = EnumSet.of(BitmapCreateFlags.PREMULTIPLIED)
[
all
...]
/frameworks/base/core/jni/android/graphics/
GraphicsJNI.h
23
enum
BitmapCreateFlags
{
75
bitmap's SkAlphaType must already be in sync with
bitmapCreateFlags
.
78
int
bitmapCreateFlags
, jbyteArray ninePatch, jobject ninePatchInsets, int density = -1);
80
static jobject createBitmap(JNIEnv* env, SkBitmap* bitmap, int
bitmapCreateFlags
,
82
return createBitmap(env, bitmap, NULL,
bitmapCreateFlags
, ninePatch, NULL, density);
Completed in 80 milliseconds