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

<<11121314151617181920>>

  /external/webkit/Source/WebCore/platform/graphics/android/layers/
VideoLayerManager.cpp 79 SkBitmap bitmap; local
80 bitmap.setConfig(SkBitmap::kARGB_8888_Config, rect.width(), rect.height());
81 bitmap.allocPixels();
82 bitmap.eraseColor(0);
84 SkCanvas canvas(bitmap);
91 GLUtils::createTextureWithBitmap(texture, bitmap);
92 bitmap.reset();
  /packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
NinePatchTexture.java 20 import android.graphics.Bitmap;
47 protected Bitmap onGetBitmap() {
51 options.inPreferredConfig = Bitmap.Config.ARGB_8888;
52 Bitmap bitmap = BitmapFactory.decodeResource( local
54 mBitmap = bitmap;
55 setSize(bitmap.getWidth(), bitmap.getHeight());
56 byte[] chunkData = bitmap.getNinePatchChunk();
59 : NinePatchChunk.deserialize(bitmap.getNinePatchChunk())
    [all...]
  /frameworks/base/services/input/
SpriteController.cpp 136 update.state.surfaceWidth = update.state.icon.bitmap.width();
137 update.state.surfaceHeight = update.state.icon.bitmap.height();
154 int32_t desiredWidth = update.state.icon.bitmap.width();
155 int32_t desiredHeight = update.state.icon.bitmap.height();
217 surfaceCanvas.drawBitmap(update.state.icon.bitmap, 0, 0, &paint);
219 if (outBuffer.width > uint32_t(update.state.icon.bitmap.width())) {
221 surfaceCanvas.drawRectCoords(update.state.icon.bitmap.width(), 0,
222 outBuffer.width, update.state.icon.bitmap.height(), paint);
224 if (outBuffer.height > uint32_t(update.state.icon.bitmap.height())) {
226 surfaceCanvas.drawRectCoords(0, update.state.icon.bitmap.height()
    [all...]
  /cts/tests/src/android/opengl/cts/
CompressedTextureLoader.java 36 import android.graphics.Bitmap;
37 import android.graphics.Bitmap.Config;
191 public static Texture createFromUncompressedETC1(Bitmap bitmap) {
192 int dataSize = bitmap.getRowBytes() * bitmap.getHeight();
196 bitmap.copyPixelsToBuffer(dataBuffer);
199 int bytesPerPixel = bitmap.getRowBytes() / bitmap.getWidth();
201 bitmap.getWidth()
    [all...]
  /external/freetype/src/sfnt/
ttsbit0.c 5 /* TrueType and OpenType embedded bitmap support (body). */
164 FT_Bitmap* bitmap; member in struct:TT_SBitDecoderRec_
200 decoder->bitmap = &face->root.glyph->bitmap;
254 FT_Bitmap* map = decoder->bitmap;
379 FT_Bitmap* bitmap; local
389 /* check that we can write the glyph into the bitmap */
390 bitmap = decoder->bitmap;
391 bit_width = bitmap->width
517 FT_Bitmap* bitmap; local
    [all...]
  /external/skia/gm/
bitmapscroll.cpp 12 /** Create a bitmap image suitable for testing SkBitmap::scrollRect().
14 * @param quarterWidth bitmap will be 4x this many pixels wide
15 * @param quarterHeight bitmap will be 4x this many pixels tall
16 * @param bitmap the bitmap data is written into this object
18 static void make_bitmap(int quarterWidth, int quarterHeight, SkBitmap *bitmap) {
28 // Prepare bitmap, and a canvas that draws into it.
29 bitmap->reset();
30 bitmap->setConfig(SkBitmap::kARGB_8888_Config,
32 bitmap->allocPixels()
    [all...]
  /external/skia/legacy/src/core/
SkBitmapProcShader.cpp 107 const SkBitmap& bitmap = *fState.fBitmap; local
108 bool bitmapIsOpaque = bitmap.isOpaque();
116 switch (bitmap.config()) {
132 if (paint.isDither() && bitmap.config() != SkBitmap::kRGB_565_Config) {
139 if (1 == bitmap.height() &&
244 // returns true and set color if the bitmap can be drawn as a single color
  /external/webkit/Source/WebKit2/WebProcess/WebPage/ca/win/
LayerTreeHostCAWin.cpp 203 RefPtr<ShareableBitmap> bitmap = toShareableBitmap(image.get());
204 if (!bitmap)
206 if (!bitmap->createHandle(updateInfo.bitmapHandle))
208 updateInfo.updateRectBounds = IntRect(IntPoint(imageOrigin.x, m_webPage->size().height() - imageOrigin.y - bitmap->size().height()), bitmap->size());
  /frameworks/base/core/jni/android/opengl/
util.cpp 555 jclass bitmapClass = env->FindClass("android/graphics/Bitmap");
634 const SkBitmap& bitmap(*nativeBitmap);
635 SkBitmap::Config config = bitmap.getConfig();
644 const SkBitmap& bitmap(*nativeBitmap);
645 SkBitmap::Config config = bitmap.getConfig();
655 const SkBitmap& bitmap(*nativeBitmap);
656 SkBitmap::Config config = bitmap.getConfig();
666 bitmap.lockPixels();
667 const int w = bitmap.width();
668 const int h = bitmap.height()
    [all...]
  /frameworks/base/policy/src/com/android/internal/policy/impl/
IconUtilities.java 23 import android.graphics.Bitmap;
96 Bitmap scaled = createIconBitmap(src);
111 * Returns a bitmap suitable for the all apps view. The bitmap will be a power
112 * of two sized ARGB_8888 bitmap that can be used as a gl texture.
114 private Bitmap createIconBitmap(Drawable icon) {
123 // Ensure the bitmap has a density.
125 Bitmap bitmap = bitmapDrawable.getBitmap(); local
126 if (bitmap.getDensity() == Bitmap.DENSITY_NONE)
154 final Bitmap bitmap = Bitmap.createBitmap(textureWidth, textureHeight, local
    [all...]
  /frameworks/rs/
rsFont.h 49 BITMAP,
89 uint8_t *bitmap = NULL, uint32_t bitmapW = 0, uint32_t bitmapH = 0);
96 // Location of the cached glyph in the bitmap
111 // Values below contain a glyph's origin in the bitmap
136 uint8_t *bitmap, uint32_t bitmapW, uint32_t bitmapH);
153 uint8_t *bitmap = NULL, uint32_t bitmapW = 0, uint32_t bitmapH = 0);
179 bool fitBitmap(FT_Bitmap_ *bitmap, uint32_t *retOriginX, uint32_t *retOriginY);
225 bool cacheBitmap(FT_Bitmap_ *bitmap, uint32_t *retOriginX, uint32_t *retOriginY);
  /packages/apps/Gallery/src/com/android/camera/
ImageGetter.java 24 import android.graphics.Bitmap;
32 * into memory and post a callback to display the resulting bitmap.
34 * Then proceed to load the full image bitmap. Three things can
44 * a callback to the UI thread to actually show the bitmap.
49 * bitmap on the floor.
53 public void imageLoaded(int pos, int offset, RotateBitmap bitmap,
104 final RotateBitmap bitmap,
111 mCB.imageLoaded(position, offset, bitmap, isThumb);
112 } else if (bitmap != null) {
113 bitmap.recycle()
    [all...]
  /packages/apps/Gallery2/src/com/android/photos/views/
TiledImageView.java 20 import android.graphics.Bitmap;
249 public Bitmap getTile(int level, int x, int y, Bitmap bitmap) {
251 if (bitmap == null) {
252 bitmap = Bitmap.createBitmap(tileSize, tileSize,
253 Bitmap.Config.ARGB_8888);
255 mCanvas.setBitmap(bitmap);
266 return bitmap;
    [all...]
  /frameworks/base/core/jni/
android_view_GLES20Canvas.cpp 353 OpenGLRenderer* renderer, SkBitmap* bitmap, jbyteArray buffer,
356 JavaHeapBitmapRef bitmapRef(env, bitmap, buffer);
358 renderer->drawBitmap(bitmap, left, top, paint);
362 OpenGLRenderer* renderer, SkBitmap* bitmap, jbyteArray buffer,
366 JavaHeapBitmapRef bitmapRef(env, bitmap, buffer);
368 renderer->drawBitmap(bitmap, srcLeft, srcTop, srcRight, srcBottom,
373 OpenGLRenderer* renderer, SkBitmap* bitmap, jbyteArray buffer, SkMatrix* matrix,
376 JavaHeapBitmapRef bitmapRef(env, bitmap, buffer);
378 renderer->drawBitmap(bitmap, matrix, paint);
384 SkBitmap* bitmap = new SkBitmap local
    [all...]
  /frameworks/base/core/java/android/provider/
MediaStore.java 28 import android.graphics.Bitmap;
232 * If the EXTRA_OUTPUT is not present, then a small sized image is returned as a Bitmap
251 * If the EXTRA_OUTPUT is not present, then a small sized image is returned as a Bitmap
535 private static Bitmap getMiniThumbFromFile(Cursor c, Uri baseUri, ContentResolver cr, BitmapFactory.Options options) {
536 Bitmap bitmap = null; local
543 bitmap = BitmapFactory.decodeFileDescriptor(
554 return bitmap;
590 * @param options this is only used for MINI_KIND when decoding the Bitmap
593 * @return Bitmap bitmap of specified thumbnail kin
597 Bitmap bitmap = null; local
793 Bitmap bitmap = BitmapFactory.decodeStream(input); local
    [all...]
  /external/webkit/Source/WebCore/platform/chromium/
PasteboardChromium.cpp 134 NativeImagePtr bitmap = image->nativeImageForCurrentFrame(); local
135 if (!bitmap)
153 PlatformBridge::clipboardWriteImage(bitmap, url, title);
  /frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/
ObjectBrowser.java 23 import android.graphics.Bitmap;
96 Bitmap bitmap = BitmapFactory.decodeByteArray(thumbnail, 0, thumbnail.length); local
97 if (bitmap != null) {
99 thumbView.setImageBitmap(bitmap);
  /packages/apps/Camera/src/com/android/camera/ui/
RotateImageView.java 20 import android.graphics.Bitmap;
140 private Bitmap mThumb;
144 public void setBitmap(Bitmap bitmap) {
147 if (bitmap == null) {
161 bitmap, miniThumbWidth, miniThumbHeight);
  /packages/apps/Gallery2/jni/filters/
edge.c 20 void JNIFUNCF(ImageFilterEdge, nativeApplyFilter, jobject bitmap, jint width, jint height, jfloat p)
23 AndroidBitmap_lockPixels(env, bitmap, (void**) &destination);
41 // set 2 row buffer (avoids bitmap copy)
125 AndroidBitmap_unlockPixels(env, bitmap);
  /packages/apps/Gallery2/src/com/android/camera/ui/
RotateImageView.java 20 import android.graphics.Bitmap;
140 private Bitmap mThumb;
144 public void setBitmap(Bitmap bitmap) {
147 if (bitmap == null) {
161 bitmap, miniThumbWidth, miniThumbHeight);
  /packages/apps/Gallery2/src/com/android/gallery3d/app/
SlideshowDataAdapter.java 19 import android.graphics.Bitmap;
130 Bitmap bitmap = item local
134 if (bitmap != null) {
137 new Slide(item, mLoadIndex, bitmap));
  /packages/apps/Gallery2/src/com/android/gallery3d/gadget/
WidgetService.java 22 import android.graphics.Bitmap;
119 Bitmap bitmap = mSource.getImage(position); local
120 if (bitmap == null) return getLoadingView();
124 views.setImageViewBitmap(R.id.appwidget_photo_item, bitmap);
  /packages/apps/LegacyCamera/src/com/android/camera/ui/
RotateImageView.java 20 import android.graphics.Bitmap;
138 private Bitmap mThumb;
142 public void setBitmap(Bitmap bitmap) {
145 if (bitmap == null) {
159 bitmap, miniThumbWidth, miniThumbHeight);
  /packages/apps/VideoEditor/src/com/android/videoeditor/widgets/
MediaItemView.java 25 import android.graphics.Bitmap;
260 Bitmap bitmap = getOneThumbnail(); local
261 if (bitmap != null) {
263 canvas.drawBitmap(bitmap, view.getPaddingLeft(),
286 private Bitmap getOneThumbnail() {
293 Bitmap bitmap = sThumbnailCache.get(key); local
294 if (bitmap != null) {
295 return bitmap;
477 Bitmap bitmap = sThumbnailCache.get(key); local
    [all...]
  /external/chromium/webkit/glue/media/
video_renderer_impl.cc 185 // 2. Paint the bitmap to canvas.
209 const SkBitmap& bitmap = canvas->getDevice()->accessBitmap(true); local
240 uint8* dest_rect_pointer = static_cast<uint8*>(bitmap.getPixels()) +
241 local_dest_irect.fTop * bitmap.rowBytes() +
282 bitmap.lockPixels();
296 bitmap.rowBytes(),
300 bitmap.unlockPixels();

Completed in 1728 milliseconds

<<11121314151617181920>>