Searched refs:Bitmap (Results 26 - 50 of 610) sorted by relevance

1234567891011>>

/frameworks/rs/tests/lldb/jni/DebugWaitAttach/src/com/android/rs/jniwaitattachdebug/
H A DMainActivity.java22 import android.graphics.Bitmap;
26 private Bitmap mBitmapIn;
27 private Bitmap mBitmapOut;
/frameworks/rs/tests/lldb/jni/InfiniteLoop/src/com/android/rs/jniinfiniteloop/
H A DMainActivity.java22 import android.graphics.Bitmap;
26 private Bitmap mBitmapIn;
27 private Bitmap mBitmapOut;
/frameworks/rs/tests/lldb/jni/KernelVariables/src/com/android/rs/jnikernelvariables/
H A DMainActivity.java22 import android.graphics.Bitmap;
26 private Bitmap mBitmapIn;
27 private Bitmap mBitmapOut;
/frameworks/rs/tests/lldb/jni/MultipleRSFiles/src/com/android/rs/jnimultiplersfiles/
H A DMainActivity.java22 import android.graphics.Bitmap;
26 private Bitmap mBitmapIn;
27 private Bitmap mBitmapOut;
/frameworks/rs/tests/lldb/jni/NoDebugWaitAttach/src/com/android/rs/jninodebugwaitattach/
H A DMainActivity.java22 import android.graphics.Bitmap;
26 private Bitmap mBitmapIn;
27 private Bitmap mBitmapOut;
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DFrameImage2D.java19 import android.graphics.Bitmap;
60 public void setBitmap(Bitmap bitmap) {
69 * Returns the RGBA image contents as a Bitmap instance.
71 * @return a Bitmap instance holding the RGBA Frame image content.
73 public Bitmap toBitmap() {
74 Bitmap result = (Bitmap)mBackingStore.lockData(MODE_READ, BackingStore.ACCESS_BITMAP);
116 private static Bitmap convertToFrameType(Bitmap bitmap, FrameType type) {
117 Bitmap
[all...]
/frameworks/base/graphics/java/android/graphics/
H A DBitmapShader.java31 public Bitmap mBitmap;
43 public BitmapShader(@NonNull Bitmap bitmap, @NonNull TileMode tileX, @NonNull TileMode tileY) {
47 private BitmapShader(Bitmap bitmap, int tileX, int tileY) {
49 throw new IllegalArgumentException("Bitmap must be non-null");
74 private static native long nativeCreate(long nativeMatrix, Bitmap bitmap,
H A DBitmapFactory.java34 * Creates Bitmap objects from various sources, including files, streams,
60 * <p>You should still always use the returned Bitmap of the decode
65 * but in all cases you should use the Bitmap returned by the decoding
73 * other bitmaps as long as the resulting {@link Bitmap#getByteCount()
75 * Bitmap#getAllocationByteCount() allocated byte count} of the reused
83 * Additionally, the {@link android.graphics.Bitmap.Config
89 * <p>BitmapRegionDecoder will draw its requested content into the Bitmap
91 * than the provided Bitmap. The provided Bitmap's width, height, and
92 * {@link Bitmap
[all...]
/frameworks/base/core/tests/coretests/src/android/graphics/drawable/
H A DIconTest.java19 import android.graphics.Bitmap;
45 final Bitmap bm1 = Bitmap.createBitmap(100, 200, Bitmap.Config.ARGB_8888);
46 final Bitmap bm2 = Bitmap.createBitmap(100, 200, Bitmap.Config.RGB_565);
47 final Bitmap bm3 = ((BitmapDrawable) getContext().getDrawable(R.drawable.landscape))
63 final Bitmap test1 = Bitmap
[all...]
/frameworks/rs/tests/lldb/java/DebugWaitAttach/src/com/android/rs/waitattachdebug/
H A DMainActivity.java20 import android.graphics.Bitmap;
26 private Bitmap mBitmapIn;
27 private Bitmap mBitmapOut;
41 mBitmapIn = Bitmap.createBitmap(8, 8, Bitmap.Config.ARGB_8888);
42 mBitmapOut = Bitmap.createBitmap(mBitmapIn.getWidth(),
/frameworks/rs/tests/lldb/java/MultipleRSFiles/src/com/android/rs/multiplersfiles/
H A DMainActivity.java20 import android.graphics.Bitmap;
26 private Bitmap mBitmapIn;
27 private Bitmap mBitmapOut;
42 mBitmapIn = Bitmap.createBitmap(500, 500, Bitmap.Config.ARGB_8888);
43 mBitmapOut = Bitmap.createBitmap(mBitmapIn.getWidth(),
/frameworks/rs/tests/lldb/java/NoDebugWaitAttach/src/com/android/rs/waitattachnodebug/
H A DMainActivity.java20 import android.graphics.Bitmap;
26 private Bitmap mBitmapIn;
27 private Bitmap mBitmapOut;
41 mBitmapIn = Bitmap.createBitmap(8, 8, Bitmap.Config.ARGB_8888);
42 mBitmapOut = Bitmap.createBitmap(mBitmapIn.getWidth(),
/frameworks/base/libs/hwui/hwui/
H A DBitmap.h45 class ANDROID_API Bitmap : public SkPixelRef { class in namespace:android
47 static sk_sp<Bitmap> allocateHeapBitmap(SkBitmap* bitmap, SkColorTable* ctable);
48 static sk_sp<Bitmap> allocateHeapBitmap(const SkImageInfo& info);
50 static sk_sp<Bitmap> allocateHardwareBitmap(SkBitmap& bitmap);
52 static sk_sp<Bitmap> allocateAshmemBitmap(SkBitmap* bitmap, SkColorTable* ctable);
53 static sk_sp<Bitmap> allocateAshmemBitmap(size_t allocSize, const SkImageInfo& info,
56 static sk_sp<Bitmap> createFrom(sp<GraphicBuffer> graphicBuffer);
58 static sk_sp<Bitmap> createFrom(const SkImageInfo&, SkPixelRef&);
60 static sk_sp<Bitmap> allocateHardwareBitmap(uirenderer::renderthread::RenderThread&,
63 Bitmap(voi
[all...]
H A DBitmap.cpp16 #include "Bitmap.h"
53 typedef sk_sp<Bitmap> (*AllocPixeRef)(size_t allocSize, const SkImageInfo& info, size_t rowBytes,
56 static sk_sp<Bitmap> allocateBitmap(SkBitmap* bitmap, SkColorTable* ctable, AllocPixeRef alloc) {
82 sk_sp<Bitmap> Bitmap::allocateAshmemBitmap(SkBitmap* bitmap, SkColorTable* ctable) {
83 return allocateBitmap(bitmap, ctable, &Bitmap::allocateAshmemBitmap);
86 static sk_sp<Bitmap> allocateHeapBitmap(size_t size, const SkImageInfo& info, size_t rowBytes,
92 return sk_sp<Bitmap>(new Bitmap(addr, size, info, rowBytes, ctable));
216 sk_sp<Bitmap> Bitma
362 Bitmap::Bitmap(void* address, size_t size, const SkImageInfo& info, size_t rowBytes, SkColorTable* ctable) function in class:android::Bitmap
370 Bitmap::Bitmap(void* address, void* context, FreeFunc freeFunc, function in class:android::Bitmap
380 Bitmap::Bitmap(void* address, int fd, size_t mappedSize, function in class:android::Bitmap
390 Bitmap::Bitmap(GraphicBuffer* buffer, const SkImageInfo& info) function in class:android::Bitmap
[all...]
/frameworks/base/core/java/com/android/internal/util/
H A DImageUtils.java19 import android.graphics.Bitmap;
20 import android.graphics.Bitmap.Config;
45 private Bitmap mTempCompactBitmap;
58 public boolean isGrayscale(Bitmap bitmap) {
65 mTempCompactBitmap = Bitmap.createBitmap(
66 COMPACT_BITMAP_SIZE, COMPACT_BITMAP_SIZE, Bitmap.Config.ARGB_8888
127 public static Bitmap buildScaledBitmap(Drawable drawable, int maxWidth,
150 Bitmap result = Bitmap.createBitmap(scaledWidth, scaledHeight, Config.ARGB_8888);
/frameworks/support/frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/
H A DPlaybackSeekDiskDataProvider.java19 import android.graphics.Bitmap;
50 protected Bitmap doInBackground(Object task, int index, long position) {
63 Bitmap bmp = Bitmap.createBitmap(160, 160, Bitmap.Config.ARGB_8888);
/frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/
H A DPlaybackSeekDiskDataProvider.java19 import android.graphics.Bitmap;
50 protected Bitmap doInBackground(Object task, int index, long position) {
63 Bitmap bmp = Bitmap.createBitmap(160, 160, Bitmap.Config.ARGB_8888);
/frameworks/support/v7/palette/tests/java/android/support/v7/graphics/
H A DBucketTests.java26 import android.graphics.Bitmap;
44 final Bitmap sample = loadSampleBitmap();
73 final Bitmap sample = loadSampleBitmap();
83 final Bitmap sample = loadSampleBitmap();
93 final Bitmap sample = loadSampleBitmap();
104 final Bitmap bitmap = Bitmap.createBitmap(1000, 1, Bitmap.Config.ARGB_8888);
113 final Bitmap bitmap = Bitmap
[all...]
/frameworks/rs/tests/java_api/SSHealingBrush/src/rs/example/android/com/healingbrush/
H A DHealing.java19 import android.graphics.Bitmap;
40 Bitmap mUndoBitmap;
49 private static Bitmap buildMask(Rect rec, float[] xy) {
50 Bitmap bitmap = Bitmap.createBitmap(rec.width(), rec.height(), Bitmap.Config.ALPHA_8);
76 public void heal(ScriptC_healing healing, RenderScript rs, Bitmap image, Bitmap output) {
84 Bitmap mask_bitmap = buildMask(mRoiBounds, mPointsXY);
85 Bitmap dest_bitma
[all...]
H A DRegion.java19 import android.graphics.Bitmap;
43 private Bitmap mUndoBitmap;
49 public Region(float[] xy, Bitmap img) {
101 public Drawable findMatch(ScriptC_find_region findRegion, RenderScript mRs, Bitmap image) {
147 Bitmap createMutableBitmap(Bitmap image, int x, int y, int width, int height) {
148 Bitmap ret = Bitmap.createBitmap(image, x, y, width, height);
149 return ret.copy(Bitmap.Config.ARGB_8888, true);
159 public void heal(ScriptC_healing healing, RenderScript rs, Bitmap imag
[all...]
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/
H A DGlifPatternDrawableTest.java22 import android.graphics.Bitmap;
53 final Bitmap bitmap = Bitmap.createBitmap(1366, 768, Bitmap.Config.ARGB_8888);
71 final Bitmap bitmap = Bitmap.createBitmap(1366, 768, Bitmap.Config.ARGB_8888);
95 Bitmap mockBitmapCache = Bitmap.createBitmap(1366, 768, Bitmap
[all...]
/frameworks/rs/tests/java_api/HealingBrush/src/rs/example/android/com/healingbrush/
H A DHealing.java19 import android.graphics.Bitmap;
40 Bitmap mUndoBitmap;
49 private static Bitmap buildMask(Rect rec, float[] xy) {
50 Bitmap bitmap = Bitmap.createBitmap(rec.width(), rec.height(), Bitmap.Config.ALPHA_8);
76 public void heal(ScriptC_healing healing, RenderScript rs, Bitmap image, Bitmap output) {
83 Bitmap maskBitmap = buildMask(mRoiBounds, mPointsXY);
90 Bitmap destBitma
[all...]
/frameworks/base/libs/hwui/tests/unit/
H A DBitmapTests.cpp19 #include "hwui/Bitmap.h"
30 TEST(Bitmap, colorTableRefCounting) {
37 sk_sp<Bitmap> bitmap = Bitmap::allocateHeapBitmap(bm, ctable);
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
H A DImageEncoder.java26 import android.graphics.Bitmap;
27 import android.graphics.Bitmap.CompressFormat;
55 Bitmap bitmap = input.getBitmap();
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/
H A DCompareActivity.java25 import android.graphics.Bitmap;
39 protected Bitmap mSoftwareBitmap;
40 protected Bitmap mHardwareBitmap;
67 mSoftwareBitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888);
68 mHardwareBitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888);
83 mSoftwareBitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888);
84 mHardwareBitmap = Bitmap
[all...]

Completed in 641 milliseconds

1234567891011>>