/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
H A D | RenderDrawable.java | 100 // create an Android bitmap around the BufferedImage 101 Bitmap bitmap = Bitmap_Delegate.createBitmap(image, 104 // create a Canvas around the Android bitmap 105 Canvas canvas = new Canvas(bitmap);
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | Picture.java | 161 public void setBitmap(Bitmap bitmap) { argument
|
H A D | Bitmap.java | 31 * Indicates that the bitmap was created for an unknown pixel density. 92 bitmap int (pointer). 99 throw new RuntimeException("internal error: native bitmap is 0"); 115 * <p>Returns the density for this bitmap.</p> 139 * <p>Specifies the density for this bitmap. When the bitmap is 143 * @param density The density scaling factor to use with this bitmap or 167 * Free the native object associated with this bitmap, and clear the 170 * The bitmap is marked as "dead", meaning it will throw an exception if 173 * further uses for the bitmap [all...] |
/frameworks/base/media/java/android/media/videoeditor/ |
H A D | OverlayFrame.java | 77 * @param bitmap The bitmap to be used as an overlay. The size of the 78 * bitmap must equal to the size of the media item to which it is 79 * added. The bitmap is typically a decoded PNG file. 86 public OverlayFrame(MediaItem mediaItem, String overlayId, Bitmap bitmap, argument 89 mBitmap = bitmap; 120 * Get the overlay bitmap. 122 * @return Get the overlay bitmap 129 * Get the overlay bitmap. 131 * @return Get the overlay bitmap a 141 setBitmap(Bitmap bitmap) argument [all...] |
H A D | MediaArtistNativeHelper.java | 1949 Bitmap bitmap = null; 1959 if ((bitmap = overlay.getBitmap()) != null) { 1970 if (bitmap.getConfig() == Bitmap.Config.ARGB_8888) 1972 else if (bitmap.getConfig() == Bitmap.Config.ARGB_4444) 1974 else if (bitmap.getConfig() == Bitmap.Config.RGB_565) 1976 else if (bitmap.getConfig() == Bitmap.Config.ALPHA_8) 1979 effectSettings.width = bitmap.getWidth(); 1980 effectSettings.height = bitmap.getHeight(); 1987 bitmap.getPixels(effectSettings.framingBuffer, 0, 2015 effectSettings.width = bitmap [all...] |
H A D | MediaImageItem.java | 925 * Resize a bitmap to the specified width and height 931 * @return The resized bitmap 972 * Create the bitmap from file 994 * Create the canvas bitmap 996 final Bitmap bitmap = Bitmap.createBitmap((int)bitmapWidth, 999 final Canvas canvas = new Canvas(bitmap); 1006 * Release the source bitmap 1009 return bitmap;
|
/frameworks/base/core/jni/ |
H A D | android_emoji_EmojiFactory.cpp | 173 SkBitmap *bitmap = new SkBitmap; local 174 if (!SkImageDecoder::DecodeMemory(bytes, size, bitmap)) { 180 static_cast<jint>(reinterpret_cast<uintptr_t>(bitmap)), NULL, false, NULL, -1);
|
/frameworks/base/libs/hwui/ |
H A D | ResourceCache.cpp | 203 SkBitmap* bitmap = (SkBitmap*) resource; local 205 Caches::getInstance().textureCache.removeDeferred(bitmap); 207 delete bitmap;
|
H A D | OpenGLRenderer.h | 104 virtual void drawBitmap(SkBitmap* bitmap, float left, float top, SkPaint* paint); 105 virtual void drawBitmap(SkBitmap* bitmap, SkMatrix* matrix, SkPaint* paint); 106 virtual void drawBitmap(SkBitmap* bitmap, float srcLeft, float srcTop, 109 virtual void drawBitmapMesh(SkBitmap* bitmap, int meshWidth, int meshHeight, 111 virtual void drawPatch(SkBitmap* bitmap, const int32_t* xDivs, const int32_t* yDivs, 323 * Draws the specified texture as an alpha bitmap. Alpha bitmaps obey 327 * @param left The x coordinate of the bitmap 328 * @param top The y coordinate of the bitmap
|
H A D | FontRenderer.h | 76 * If bitmap is specified, it will be used as the render target 79 int numGlyphs, int x, int y, uint8_t *bitmap = NULL, 98 int numGlyphs, int x, int y, RenderMode mode, uint8_t *bitmap, 107 // Location of the cached glyph in the bitmap 109 // render to bitmap 123 // Values below contain a glyph's origin in the bitmap 144 uint8_t *bitmap, uint32_t bitmapW, uint32_t bitmapH);
|
H A D | GradientCache.h | 147 void generateTexture(SkBitmap* bitmap, Texture* texture);
|
H A D | FontRenderer.cpp | 114 uint8_t* bitmap, uint32_t bitmapW, uint32_t bitmapH) { 133 bitmap[bY * bitmapW + bX] = tempCol; 158 int numGlyphs, int x, int y, uint8_t *bitmap, uint32_t bitmapW, uint32_t bitmapH) { 159 if (bitmap != NULL && bitmapW > 0 && bitmapH > 0) { 160 render(paint, text, start, len, numGlyphs, x, y, BITMAP, bitmap, 181 int numGlyphs, int x, int y, RenderMode mode, uint8_t *bitmap, 218 drawCachedGlyph(cachedGlyph, (int) floorf(penX), penY, bitmap, bitmapW, bitmapH); 246 // Get the bitmap for the glyph 410 // Now copy the bitmap into the cache texture 113 drawCachedGlyph(CachedGlyphInfo* glyph, int x, int y, uint8_t* bitmap, uint32_t bitmapW, uint32_t bitmapH) argument 157 render(SkPaint* paint, const char* text, uint32_t start, uint32_t len, int numGlyphs, int x, int y, uint8_t *bitmap, uint32_t bitmapW, uint32_t bitmapH) argument 180 render(SkPaint* paint, const char* text, uint32_t start, uint32_t len, int numGlyphs, int x, int y, RenderMode mode, uint8_t *bitmap, uint32_t bitmapW, uint32_t bitmapH,Rect *bounds) argument
|
H A D | OpenGLRenderer.cpp | 1346 void OpenGLRenderer::drawBitmap(SkBitmap* bitmap, float left, float top, SkPaint* paint) { argument 1347 const float right = left + bitmap->width(); 1348 const float bottom = top + bitmap->height(); 1355 Texture* texture = mCaches.textureCache.get(bitmap); 1359 if (bitmap->getConfig() == SkBitmap::kA8_Config) { 1366 void OpenGLRenderer::drawBitmap(SkBitmap* bitmap, SkMatrix* matrix, SkPaint* paint) { argument 1367 Rect r(0.0f, 0.0f, bitmap->width(), bitmap->height()); 1376 Texture* texture = mCaches.textureCache.get(bitmap); 1384 drawTextureRect(0.0f, 0.0f, bitmap 1388 drawBitmapMesh(SkBitmap* bitmap, int meshWidth, int meshHeight, float* vertices, int* colors, SkPaint* paint) argument 1472 drawBitmap(SkBitmap* bitmap, float srcLeft, float srcTop, float srcRight, float srcBottom, float dstLeft, float dstTop, float dstRight, float dstBottom, SkPaint* paint) argument 1527 drawPatch(SkBitmap* bitmap, const int32_t* xDivs, const int32_t* yDivs, const uint32_t* colors, uint32_t width, uint32_t height, int8_t numColors, float left, float top, float right, float bottom, SkPaint* paint) argument [all...] |
/frameworks/base/media/libmedia/ |
H A D | IMediaMetadataRetriever.cpp | 215 sp<IMemory> bitmap = getFrameAtTime(timeUs, option); local 216 if (bitmap != 0) { // Don't send NULL across the binder interface 218 reply->writeStrongBinder(bitmap->asBinder());
|
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/ |
H A D | ObjectViewer.java | 153 Bitmap bitmap = BitmapFactory.decodeByteArray(thumbnail, 0, thumbnail.length); 154 if (bitmap != null) { 156 thumbView.setImageBitmap(bitmap);
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | BitmapShader_Delegate.java | 70 Bitmap_Delegate bitmap = Bitmap_Delegate.getDelegate(native_bitmap); 71 if (bitmap == null) { 76 bitmap.getImage(),
|
H A D | NinePatch_Delegate.java | 152 /*package*/ static void validateNinePatchChunk(int bitmap, byte[] chunk) { argument 177 /*package*/ static int nativeGetTransparentRegion(int bitmap, byte[] chunk, Rect location) { argument
|
/frameworks/base/media/jni/ |
H A D | android_media_MediaMetadataRetriever.cpp | 273 SkBitmap *bitmap = local 276 bitmap->lockPixels(); 277 rotate((uint16_t*)bitmap->getPixels(), 282 bitmap->unlockPixels();
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | GLTextureViewActivity.java | 268 Bitmap bitmap = BitmapFactory.decodeResource(mResources, resource); 270 GLUtils.texImage2D(GL_TEXTURE_2D, 0, GL_RGBA, bitmap, GL_UNSIGNED_BYTE, 0); 273 bitmap.recycle();
|
/frameworks/base/core/jni/android/graphics/ |
H A D | Movie.cpp | 76 const SkBitmap& b = m->bitmap();
|
H A D | Shader.cpp | 85 static SkShader* BitmapShader_constructor(JNIEnv* env, jobject o, const SkBitmap* bitmap, argument 88 SkShader* s = SkShader::CreateBitmapShader(*bitmap, 97 SkBitmap* bitmap, int tileModeX, int tileModeY) { 99 SkiaShader* skiaShader = new SkiaBitmapShader(bitmap, shader, 96 BitmapShader_postConstructor(JNIEnv* env, jobject o, SkShader* shader, SkBitmap* bitmap, int tileModeX, int tileModeY) argument
|
/frameworks/base/services/java/com/android/server/connectivity/ |
H A D | Vpn.java | 193 // Load the icon and convert it into a bitmap. 195 Bitmap bitmap = null; 202 bitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888); 203 Canvas c = new Canvas(bitmap); 247 showNotification(config, label, bitmap);
|
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/ |
H A D | TestShellActivity.java | 844 Bitmap bitmap = Bitmap.createBitmap(view.getWidth(), view.getHeight(), Config.ARGB_8888); 845 canvas.setBitmap(bitmap); 856 Bitmap bitmap = Bitmap.createBitmap(view.getContentWidth(), view.getContentHeight(), 858 canvas.setBitmap(bitmap); 862 if(!bitmap.compress(CompressFormat.PNG, 90, fos)) { 868 bitmap.recycle();
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | ImageWallpaper.java | 280 // If we don't yet know the size of the wallpaper bitmap, 325 // the loaded bitmap. Yay! 459 private int loadTexture(Bitmap bitmap) { argument 476 GLUtils.texImage2D(GL_TEXTURE_2D, 0, GL_RGBA, bitmap, GL_UNSIGNED_BYTE, 0); 479 bitmap.recycle();
|
/frameworks/base/core/java/android/content/ |
H A D | ContextWrapper.java | 260 public void setWallpaper(Bitmap bitmap) throws IOException { argument 261 mBase.setWallpaper(bitmap);
|