HomeSort by relevance Sort by last modified time
    Searched refs:bitmap (Results 76 - 100 of 1127) sorted by null

1 2 34 5 6 7 8 91011>>

  /external/chromium/chrome/browser/ui/webui/
web_ui_util.h 17 std::string GetImageDataUrl(const SkBitmap& bitmap);
  /external/qemu/distrib/sdl-1.2.15/src/video/picogui/
SDL_pgvideo.h 45 pghandle bitmap; member in struct:SDL_PrivateVideoData
  /external/skia/legacy/
SavedPagePlayback.cpp 59 SkBitmap bitmap; local
60 bitmap.setConfig((SkBitmap::Config)bitmapConfig, bitmapWidth, bitmapHeight, bitmapRowBytes);
61 bitmap.setPixels(pixels);
63 SkCanvas canvas(bitmap);
  /external/webkit/Source/WebCore/platform/graphics/android/
ImageAndroid.cpp 94 m_size = IntSize(ref->bitmap().width(), ref->bitmap().height());
98 m_frames[0].m_hasAlpha = !ref->bitmap().isOpaque();
123 const SkBitmap& bm = ref->bitmap();
185 // in case we get called with an incomplete bitmap
186 const SkBitmap& bitmap = image->bitmap(); local
187 if (bitmap.getPixels() == NULL && bitmap.pixelRef() == NULL) {
190 bitmap.width(), bitmap.height()
258 SkBitmap bitmap; local
    [all...]
  /external/webkit/Source/WebKit/android/plugins/
ANPSurface_npapi.h 33 /** Locks the surface from manipulation by other threads and provides a bitmap
35 bitmap will be written to. If the dirtyRect is NULL then the entire
37 will return true and the bitmap will be set to point to a valid bitmap.
38 If not the function will return false and the bitmap will be set to NULL.
40 bool (*lock)(JNIEnv* env, jobject surface, ANPBitmap* bitmap, ANPRectI* dirtyRect);
42 the surface is unlocked and the contents of the bitmap, specifically
  /frameworks/base/graphics/tests/graphicstests/src/android/graphics/
BitmapFactoryTest.java 33 Bitmap bitmap1 = Bitmap.createBitmap(
34 new int[] { Color.BLUE }, 1, 1, Bitmap.Config.RGB_565);
36 bitmap1.compress(Bitmap.CompressFormat.PNG, 100, out);
41 Bitmap bitmap = BitmapFactory.decodeFileDescriptor(fd); local
42 assertNotNull("BitmapFactory returned null", bitmap);
43 assertEquals("Bitmap width", 1, bitmap.getWidth());
44 assertEquals("Bitmap height", 1, bitmap.getHeight())
    [all...]
  /frameworks/base/tests/BrowserTestPlugin/jni/event/
EventPlugin.h 38 void drawPlugin(const ANPBitmap& bitmap, const ANPRectI& clip);
  /cts/tests/tests/graphics/src/android/graphics/cts/
EmbossMaskFilterTest.java 20 import android.graphics.Bitmap;
27 import android.graphics.Bitmap.Config;
53 Bitmap bitmap = Bitmap.createBitmap(BITMAP_WIDTH, BITMAP_HEIGHT, Config.ARGB_8888); local
54 bitmap.eraseColor(Color.BLACK);
56 Canvas c = new Canvas(bitmap);
64 assertTrue(brightness(bitmap, top) > brightness(bitmap, bottom));
65 assertTrue(brightness(bitmap, left) > brightness(bitmap, right))
    [all...]
LightingColorFilterTest.java 20 import android.graphics.Bitmap;
25 import android.graphics.Bitmap.Config;
34 Bitmap bitmap = Bitmap.createBitmap(1, 1, Config.ARGB_8888); local
35 Canvas canvas = new Canvas(bitmap);
42 assertColor(Color.MAGENTA, bitmap.getPixel(0, 0));
47 assertColor(Color.BLUE, bitmap.getPixel(0, 0));
52 assertColor(Color.CYAN, bitmap.getPixel(0, 0));
55 bitmap.eraseColor(Color.TRANSPARENT)
    [all...]
  /external/webkit/Source/WebCore/platform/graphics/android/layers/
PictureLayerContent.cpp 64 SkBitmap bitmap;
65 bitmap.setConfig(SkBitmap::kARGB_8888_Config,
69 InspectorCanvas checker(&inspectorBounder, m_picture, bitmap);
156 const SkBitmap& bitmap = canvas->getDevice()->accessBitmap(true); local
157 bitmap.lockPixels();
159 // pass picture, matrix, clip, and bitmap
161 bitmap.width(), bitmap.height(), bitmap.getConfig(),
162 bitmap.rowBytes(), bitmap.getPixels())
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
ImageFilterVignette.java 20 import android.graphics.Bitmap;
29 private Bitmap mOverlayBitmap;
42 Bitmap bitmap, int w, int h, int cx, int cy, float radx, float rady, float strength);
59 public Bitmap apply(Bitmap bitmap, float scaleFactor, int quality) {
66 Canvas c = new Canvas(bitmap);
67 int dim = Math.max(bitmap.getWidth(), bitmap.getHeight())
    [all...]
ImageFilterBorder.java 20 import android.graphics.Bitmap;
54 public Bitmap applyHelper(Bitmap bitmap, float scale1, float scale2 ) {
55 int w = bitmap.getWidth();
56 int h = bitmap.getHeight();
58 Canvas canvas = new Canvas(bitmap);
63 return bitmap;
67 public Bitmap apply(Bitmap bitmap, float scaleFactor, int quality)
    [all...]
ImageFilterRedEye.java 19 import android.graphics.Bitmap;
50 native protected void nativeApplyFilter(Bitmap bitmap, int w, int h, short[] matrix);
59 public Bitmap apply(Bitmap bitmap, float scaleFactor, int quality) {
60 int w = bitmap.getWidth();
61 int h = bitmap.getHeight();
74 nativeApplyFilter(bitmap, w, h, rect);
77 return bitmap;
    [all...]
ImageFilterWBalance.java 22 import android.graphics.Bitmap;
49 native protected void nativeApplyFilter(Bitmap bitmap, int w, int h, int locX, int locY);
52 public Bitmap apply(Bitmap bitmap, float scaleFactor, int quality) {
53 int w = bitmap.getWidth();
54 int h = bitmap.getHeight();
55 nativeApplyFilter(bitmap, w, h, -1, -1);
56 return bitmap;
    [all...]
  /external/libsepol/tests/
debug.h 26 extern void print_ebitmap(ebitmap_t * bitmap, FILE * fp);
  /external/skia/include/utils/
SkNinePatch.h 23 const SkBitmap& bitmap, const SkIRect& margins,
27 const SkBitmap& bitmap,
  /external/skia/legacy/include/utils/
SkNinePatch.h 23 const SkBitmap& bitmap, const SkIRect& margins,
27 const SkBitmap& bitmap,
  /external/skia/src/effects/
SkBitmapSource.cpp 10 SkBitmapSource::SkBitmapSource(const SkBitmap& bitmap)
12 fBitmap(bitmap) {
  /external/skia/src/pdf/
SkPDFImage.h 28 // a copy of the Bitmap object (not the pixels), the pixel generation number,
32 /** Create a new Image XObject to represent the passed bitmap.
33 * @param bitmap The image to encode.
34 * @param srcRect The rectangle to cut out of bitmap.
39 static SkPDFImage* CreateImage(const SkBitmap& bitmap,
60 * @param bitmap The image parameters to use (Config, etc).
61 * @param srcRect The clipping applied to bitmap before generating
63 * @param alpha Is this the alpha channel of the bitmap.
66 SkPDFImage(SkStream* imageData, const SkBitmap& bitmap,
  /external/skia/src/utils/
SkBitmapTransformer.h 23 * - add method to copy pixel data for a single row, instead of the whole bitmap
46 * the given bitmap and a pixel buffer with given pixelFormat.
49 * bitmap/pixelFormat combination is supported!
51 SkBitmapTransformer(const SkBitmap& bitmap, PixelFormat pixelFormat) :
52 fBitmap(bitmap), fPixelFormat(pixelFormat) {}
66 * bitmap's pixels if converted to pixelFormat.
74 * Returns the number of bytes needed to store the entire bitmap
84 * Writes the entire bitmap into dstBuffer, using the already-specified
88 * if that is not large enough to hold the entire bitmap, then this
  /external/webkit/Source/WebCore/platform/graphics/haiku/
StillImageHaiku.h 32 #include <Bitmap.h>
38 static PassRefPtr<StillImage> create(const BBitmap& bitmap)
40 return adoptRef(new StillImage(bitmap));
  /external/webkit/Tools/TestWebKitAPI/Tests/WebKit2/win/
HideFindIndicator.cpp 35 static HBITMAP bitmap; member in namespace:TestWebKitAPI
45 bitmap = selectionBitmap;
75 TEST_ASSERT(bitmap);
76 ::DeleteObject(bitmap);
77 bitmap = 0;
82 TEST_ASSERT(!bitmap);
  /packages/apps/Gallery/src/com/android/camera/
RotateBitmap.java 19 import android.graphics.Bitmap;
24 private Bitmap mBitmap;
27 public RotateBitmap(Bitmap bitmap) {
28 mBitmap = bitmap;
32 public RotateBitmap(Bitmap bitmap, int rotation) {
33 mBitmap = bitmap;
45 public Bitmap getBitmap() {
49 public void setBitmap(Bitmap bitmap)
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/cache/
TripleBufferBitmap.java 19 import android.graphics.Bitmap;
25 private volatile Bitmap mBitmaps[] = new Bitmap[3];
26 private volatile Bitmap mProducer = null;
27 private volatile Bitmap mConsumer = null;
28 private volatile Bitmap mIntermediate = null;
31 private final Bitmap.Config mBitmapConfig = Bitmap.Config.ARGB_8888;
38 public synchronized void updateBitmaps(Bitmap bitmap) {
    [all...]
  /packages/apps/LegacyCamera/src/com/android/camera/
Thumbnail.java 22 import android.graphics.Bitmap;
51 private Bitmap mBitmap;
59 public Thumbnail(Uri uri, Bitmap bitmap, int orientation) {
61 mBitmap = rotateImage(bitmap, orientation);
62 if (mBitmap == null) throw new IllegalArgumentException("null bitmap");
69 public Bitmap getBitmap() {
81 private static Bitmap rotateImage(Bitmap bitmap, int orientation)
129 Bitmap bitmap = null; local
252 Bitmap bitmap = BitmapFactory.decodeByteArray(jpeg, 0, jpeg.length, options); local
265 Bitmap bitmap = null; local
    [all...]

Completed in 773 milliseconds

1 2 34 5 6 7 8 91011>>