HomeSort by relevance Sort by last modified time
    Searched defs:bitmap (Results 226 - 250 of 520) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/webkit/Source/WebKit2/WebProcess/WebPage/
DrawingAreaImpl.cpp 577 RefPtr<ShareableBitmap> bitmap = ShareableBitmap::createShareable(bounds.size(), ShareableBitmap::SupportsAlpha); local
578 if (!bitmap->createHandle(updateInfo.bitmapHandle))
595 OwnPtr<GraphicsContext> graphicsContext = bitmap->createGraphicsContext();
  /frameworks/base/core/java/android/gesture/
Gesture.java 19 import android.graphics.Bitmap;
176 * Creates a bitmap of the gesture with a transparent background.
178 * @param width width of the target bitmap
179 * @param height height of the target bitmap
183 * @return the bitmap
185 public Bitmap toBitmap(int width, int height, int edge, int numSample, int color) {
186 final Bitmap bitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888) local
221 final Bitmap bitmap = Bitmap.createBitmap(width, height, local
    [all...]
  /frameworks/base/core/jni/android/graphics/
BitmapRegionDecoder.cpp 204 // Get the bitmap for re-use if it exists.
224 SkBitmap* bitmap = NULL; local
228 // Re-use bitmap.
229 bitmap = GraphicsJNI::getNativeBitmap(env, tileBitmap);
231 if (bitmap == NULL) {
232 bitmap = new SkBitmap;
233 adb.reset(bitmap);
236 if (!brd->decodeRegion(bitmap, region, prefConfig, sampleSize)) {
242 env->SetIntField(options, gOptions_widthFieldID, bitmap->width());
243 env->SetIntField(options, gOptions_heightFieldID, bitmap->height())
    [all...]
  /frameworks/base/core/jni/
android_emoji_EmojiFactory.cpp 169 SkBitmap *bitmap = new SkBitmap; local
170 if (!SkImageDecoder::DecodeMemory(bytes, size, bitmap)) {
176 static_cast<jint>(reinterpret_cast<uintptr_t>(bitmap)), NULL, false, NULL, -1);
248 { "nativeGetBitmapFromAndroidPua", "(II)Landroid/graphics/Bitmap;",
284 gBitmap_class = make_globalref(env, "android/graphics/Bitmap");
android_view_Surface.cpp 181 bitmap.setIsOpaque(true) on the resulting SkBitmap (as an accelerator)
241 SkBitmap bitmap; local
243 bitmap.setConfig(convertPixelFormat(outBuffer.format), outBuffer.width, outBuffer.height, bpr);
245 bitmap.setIsOpaque(true);
248 bitmap.setPixels(outBuffer.bits);
250 // be safe with an empty bitmap.
251 bitmap.setPixels(NULL);
254 SkCanvas* nativeCanvas = SkNEW_ARGS(SkCanvas, (bitmap));
android_view_TextureView.cpp 161 SkBitmap bitmap; local
162 bitmap.setConfig(convertPixelFormat(buffer.format), buffer.width, buffer.height, bytesCount);
165 bitmap.setIsOpaque(true);
169 bitmap.setPixels(buffer.bits);
171 bitmap.setPixels(NULL);
176 SkCanvas* nativeCanvas = SkNEW_ARGS(SkCanvas, (bitmap));
  /frameworks/base/libs/hwui/
DisplayList.cpp 94 SkBitmap* bitmap = mOwnedBitmapResources.itemAt(i); local
95 caches.resourceCache.decrementRefcountLocked(bitmap);
96 caches.resourceCache.destructorLocked(bitmap);
PathCache.cpp 110 static void initBitmap(SkBitmap& bitmap, uint32_t width, uint32_t height) {
111 bitmap.setConfig(SkBitmap::kA8_Config, width, height);
112 bitmap.allocPixels();
113 bitmap.eraseColor(0);
128 static void drawPath(const SkPath *path, const SkPaint* paint, SkBitmap& bitmap,
130 initBitmap(bitmap, width, height);
135 SkCanvas canvas(bitmap);
234 // Don't even try to cache a bitmap that's bigger than the cache
260 SkBitmap bitmap; local
261 drawPath(path, paint, bitmap, left, top, offset, width, height)
339 SkBitmap* bitmap = new SkBitmap(); local
418 SkBitmap* bitmap = task->getResult(); local
    [all...]
  /frameworks/base/media/jni/
android_media_MediaMetadataRetriever.cpp 266 SkBitmap *bitmap = local
269 bitmap->lockPixels();
270 rotate((uint16_t*)bitmap->getPixels(),
275 bitmap->unlockPixels();
285 ALOGV("Bitmap dimension is scaled from %dx%d to %dx%d",
387 jclass bitmapClazz = env->FindClass("android/graphics/Bitmap");
397 "(IILandroid/graphics/Bitmap$Config;)"
398 "Landroid/graphics/Bitmap;");
404 "(Landroid/graphics/Bitmap;IIZ)"
405 "Landroid/graphics/Bitmap;");
    [all...]
  /frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/
ObjectViewer.java 22 import android.graphics.Bitmap;
153 Bitmap bitmap = BitmapFactory.decodeByteArray(thumbnail, 0, thumbnail.length); local
154 if (bitmap != null) {
156 thumbView.setImageBitmap(bitmap);
  /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/base/tests/DpiTest/src/com/google/android/test/dpi/
DpiTestActivity.java 24 import android.graphics.Bitmap;
89 addLabelToRoot(root, "Prescaled bitmap in drawable");
96 addLabelToRoot(root, "Autoscaled bitmap in drawable");
118 addLabelToRoot(root, "Prescaled bitmap");
125 addLabelToRoot(root, "Autoscaled bitmap");
165 Bitmap bitmap; local
166 bitmap = loadAndPrintDpi(resource, scale);
170 final BitmapDrawable d = new BitmapDrawable(getResources(), bitmap);
191 Bitmap bitmap local
215 Bitmap bitmap; local
    [all...]
  /frameworks/base/tools/layoutlib/bridge/src/android/graphics/
BitmapShader_Delegate.java 70 Bitmap_Delegate bitmap = Bitmap_Delegate.getDelegate(native_bitmap); local
71 if (bitmap == null) {
76 bitmap.getImage(),
  /frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
CustomBar.java 35 import android.graphics.Bitmap;
94 // bitmap url relative to this class
125 // look for a cached bitmap
126 Bitmap bitmap = Bridge.getCachedBitmap(pathOut[0], true /*isFramework*/); local
127 if (bitmap == null) {
129 bitmap = Bitmap_Delegate.createBitmap(stream, false /*isMutable*/, density);
130 Bridge.setCachedBitmap(pathOut[0], bitmap, true /*isFramework*/);
136 if (bitmap != null) {
138 bitmap);
    [all...]
  /frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
ResourceHelper.java 34 import android.graphics.Bitmap;
163 * @param value The value that contains a path to a 9 patch, a bitmap or a xml based drawable,
229 Bitmap bitmap = Bridge.getCachedBitmap(stringValue, local
232 if (bitmap == null) {
233 bitmap = Bitmap_Delegate.createBitmap(bmpFile, false /*isMutable*/,
235 Bridge.setCachedBitmap(stringValue, bitmap,
239 return new BitmapDrawable(context.getResources(), bitmap);
264 // see if we still have both the chunk and the bitmap in the caches
267 Bitmap bitmap = Bridge.getCachedBitmap(cacheKey local
    [all...]
  /frameworks/ex/carousel/test/src/com/android/carouseltest/
CarouselTestActivity.java 26 import android.graphics.Bitmap;
51 private Bitmap mGlossyOverlay;
52 private Bitmap mBorder;
84 public Bitmap getTexture(int n) {
85 Bitmap bitmap = Bitmap.createBitmap(TEXTURE_WIDTH, TEXTURE_HEIGHT, local
86 Bitmap.Config.ARGB_8888);
87 Canvas canvas = new Canvas(bitmap);
98 return bitmap;
103 Bitmap bitmap = Bitmap.createBitmap(DETAIL_TEXTURE_WIDTH, DETAIL_TEXTURE_HEIGHT, local
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/activities/
AttachPhotoActivity.java 24 import android.graphics.Bitmap;
184 // Create a scaled, compressed bitmap to add to the entity-delta list.
186 final Bitmap bitmap = BitmapFactory.decodeFile(mTempPhotoFile.getAbsolutePath()); local
187 final Bitmap scaled = Bitmap.createScaledBitmap(bitmap, size, size, false);
190 Log.w(TAG, "could not create scaled and compressed Bitmap");
194 // Add compressed bitmap to entity-delta... this allows us to save to
  /packages/apps/Email/src/com/android/email/provider/
AttachmentProvider.java 34 import android.graphics.Bitmap;
194 Bitmap thumbnail = createThumbnail(type, in);
198 thumbnail = Bitmap.createScaledBitmap(thumbnail, width, height, true);
200 thumbnail.compress(Bitmap.CompressFormat.PNG, 100, out);
307 private Bitmap createThumbnail(String type, InputStream data) {
314 private Bitmap createImageThumbnail(InputStream data) {
316 Bitmap bitmap = BitmapFactory.decodeStream(data); local
317 return bitmap;
  /packages/apps/Gallery/tests/src/com/android/camera/
BitmapManagerUnitTests.java 23 import android.graphics.Bitmap;
36 Bitmap bitmap; field in class:BitmapManagerUnitTests.DecodeThread
43 bitmap = mImage.thumbBitmap(IImage.ROTATE_AS_NEEDED);
46 public Bitmap getBitmap() {
47 return bitmap;
  /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/data/
LocalVideo.java 21 import android.graphics.Bitmap;
154 public Job<Bitmap> requestImage(int type) {
168 public Bitmap onDecodeOriginal(JobContext jc, int type) {
169 Bitmap bitmap = BitmapUtils.createVideoThumbnail(mLocalFilePath); local
170 if (bitmap == null || jc.isCancelled()) return null;
171 return bitmap;
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/cache/
RenderingRequest.java 19 import android.graphics.Bitmap;
30 private Bitmap mBitmap = null;
46 private static final Bitmap.Config mConfig = Bitmap.Config.ARGB_8888;
48 public static void post(Bitmap source, ImagePreset preset, int type, RenderingRequestCaller caller) {
52 public static void post(Bitmap source, ImagePreset preset, int type,
61 Bitmap bitmap = null; local
68 bitmap = pipeline.renderGeometryIcon(source, preset);
70 bitmap = Bitmap.createBitmap(source.getWidth(), source.getHeight(), mConfig)
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/
Action.java 20 import android.graphics.Bitmap;
39 private Bitmap mImage;
44 private Bitmap mPortraitImage;
45 private Bitmap mOverlayBitmap;
79 Bitmap bitmap = MasterImage.getImage().getLargeThumbnailBitmap(); local
80 if (bitmap != null) {
87 Bitmap bitmapCrop = Bitmap.createBitmap(w, h, Bitmap.Config.ARGB_8888)
    [all...]
CategoryView.java 21 import android.graphics.Bitmap;
96 Bitmap bitmap = mAction.getImage(); local
97 canvas.drawBitmap(bitmap, 0, 0, mPaint);
100 Math.min(bitmap.getWidth(), getWidth()),
101 Math.min(bitmap.getHeight(), getHeight()),
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/colorpicker/
ColorOpacityView.java 20 import android.graphics.Bitmap;
88 Bitmap bitmap = Bitmap.createBitmap(colors, 16, 16, Bitmap.Config.ARGB_8888); local
89 BitmapShader bs = new BitmapShader(bitmap, Shader.TileMode.REPEAT, Shader.TileMode.REPEAT);

Completed in 1478 milliseconds

1 2 3 4 5 6 7 8 91011>>