HomeSort by relevance Sort by last modified time
    Searched defs:bitmap (Results 776 - 800 of 1029) sorted by null

<<31323334353637383940>>

  /external/skia/tests/
BlurTest.cpp 262 SkBitmap bitmap; local
263 bitmap.allocN32Pixels(resultCount, 30);
264 SkCanvas canvas(bitmap);
267 readback(bitmap, result, resultCount);
CanvasTest.cpp 273 SkBitmap bitmap; local
274 createBitmap(&bitmap, 0x05060708);
275 return bitmap;
795 // Make a Adobe RGB bitmap.
796 SkBitmap bitmap; local
797 bitmap.allocPixels(SkImageInfo::MakeN32(1, 1, kOpaque_SkAlphaType, cs));
798 bitmap.eraseColor(0xFF000000);
801 SkCanvas canvas(bitmap, SkCanvas::ColorBehavior::kLegacy);
806 REPORTER_ASSERT(r, SK_ColorRED == SkSwizzle_BGRA_to_PMColor(*bitmap.getAddr32(0, 0)));
SurfaceTest.cpp 1053 SkBitmap bitmap; local
    [all...]
  /external/skqp/dm/
DM.cpp 840 SkBitmap bitmap; local
843 Error err = sink->draw(justOneRect, &bitmap, &stream, &log);
1079 SkBitmap bitmap; local
    [all...]
  /external/skqp/fuzz/
FuzzCanvas.cpp 251 SkBitmap bitmap; local
279 bitmap = make_fuzz_bitmap(fuzz);
284 return SkShader::MakeBitmapShader(bitmap, tmX, tmY, useMatrix ? &matrix : nullptr);
    [all...]
  /external/skqp/samplecode/
SampleFilterFuzz.cpp 240 static void rand_bitmap_for_canvas(SkBitmap* bitmap) {
245 } while (!valid_for_raster_canvas(info) || !bitmap->tryAllocPixels(info));
248 static void make_g_bitmap(SkBitmap& bitmap) {
249 rand_bitmap_for_canvas(&bitmap);
251 SkCanvas canvas(bitmap);
262 static void make_checkerboard_bitmap(SkBitmap& bitmap) {
263 rand_bitmap_for_canvas(&bitmap);
265 SkCanvas canvas(bitmap);
287 static SkBitmap bitmap[2]; local
290 make_g_bitmap(bitmap[0])
    [all...]
  /external/skqp/src/effects/
SkBlurMaskFilter.cpp 365 SkBitmap bitmap; local
366 bitmap.installMaskPixels(*mask);
368 SkCanvas canvas(bitmap);
383 SkBitmap bitmap; local
384 bitmap.installPixels(SkImageInfo::Make(mask->fBounds.width(),
390 SkCanvas canvas(bitmap);
    [all...]
  /external/skqp/tests/
CanvasTest.cpp 273 SkBitmap bitmap; local
274 createBitmap(&bitmap, 0x05060708);
275 return bitmap;
795 // Make a Adobe RGB bitmap.
796 SkBitmap bitmap; local
797 bitmap.allocPixels(SkImageInfo::MakeN32(1, 1, kOpaque_SkAlphaType, cs));
798 bitmap.eraseColor(0xFF000000);
801 SkCanvas canvas(bitmap, SkCanvas::ColorBehavior::kLegacy);
806 REPORTER_ASSERT(r, SK_ColorRED == SkSwizzle_BGRA_to_PMColor(*bitmap.getAddr32(0, 0)));
SkpSkGrTest.cpp 50 {1, "http___accuweather_com_.skp"}, // Couldn't convert bitmap to texture.http___absoku072_com_
368 static void writePict(const SkBitmap& bitmap, const char* outDir, const char* pngName) {
370 if (!sk_tool_utils::EncodeImageToFile(outFile.c_str(), bitmap,
373 bitmap.width(), bitmap.height());
422 SkBitmap bitmap; local
427 bool success = bitmap.allocN32Pixels(dim.fX, dim.fY);
434 SkDebugf("unable to allocate bitmap for %s (w=%d h=%d) (sw=%d sh=%d)\n",
438 SkCanvas skCanvas(bitmap);
461 fPixelError = similarBits(grBitmap, bitmap);
    [all...]
  /external/stressapptest/src/
sat.cc 323 // Set up the bitmap of physical pages in case we want to see which pages were
338 unsigned char *bitmap = new unsigned char[arraysize]; local
339 sat_assert(bitmap);
342 memset(bitmap, 0, arraysize);
345 page_bitmap_ = bitmap;
    [all...]
  /external/subsampling-scale-image-view/library/src/main/java/com/davemorrissey/labs/subscaleview/
SubsamplingScaleImageView.java 7 import android.graphics.Bitmap;
59 * Tiles are no larger than the max supported bitmap size, so with large images tiling may be used even when zoomed out.
133 // Bitmap (preview or full image)
134 private Bitmap bitmap; field in class:SubsamplingScaleImageView
136 // Whether the bitmap is a preview image
139 // Specifies if a cache handler is also referencing the bitmap. Do not recycle if so.
282 // A global preference for bitmap format, available to decoder classes that respect it
283 private static Bitmap.Config preferredBitmapConfig;
343 * @return the preferred bitmap configuration, or null if none has been set
1717 private Bitmap bitmap; field in class:SubsamplingScaleImageView.BitmapLoadTask
1882 private Bitmap bitmap; field in class:SubsamplingScaleImageView.Tile
    [all...]
  /external/swiftshader/src/D3D9/
Direct3DDevice9.cpp 2660 void *bitmap = cursorSurface->lockExternal(0, 0, 0, sw::LOCK_READONLY, sw::PUBLIC); local
    [all...]
  /frameworks/base/core/java/android/widget/
Magnifier.java 27 import android.graphics.Bitmap;
377 final Bitmap bitmap = local
378 Bitmap.createBitmap(mBitmapWidth, mBitmapHeight, Bitmap.Config.ARGB_8888);
379 PixelCopy.request(mContentCopySurface.mSurface, mPixelCopyRequestRect, bitmap,
390 mWindow.updateContent(bitmap);
467 // The content bitmap.
468 private Bitmap mBitmap;
508 // Setup the RenderNode tree. The root has only one child, which contains the bitmap
    [all...]
  /frameworks/base/core/java/com/android/internal/widget/
MessagingLayout.java 26 import android.graphics.Bitmap;
302 Bitmap bitmap = Bitmap.createBitmap(mAvatarSize, mAvatarSize, Bitmap.Config.ARGB_8888); local
303 Canvas canvas = new Canvas(bitmap);
313 return Icon.createWithBitmap(bitmap);
  /frameworks/base/core/jni/android/graphics/
Graphics.cpp 357 void GraphicsJNI::getSkBitmap(JNIEnv* env, jobject bitmap, SkBitmap* outBitmap) {
358 bitmap::toBitmap(env, bitmap).getSkBitmap(outBitmap);
362 android::Bitmap& bitmap = android::bitmap::toBitmap(env, jbitmap); local
363 bitmap.ref();
364 return &bitmap;
413 jobject GraphicsJNI::createBitmapRegionDecoder(JNIEnv* env, SkBitmapRegionDecoder* bitmap)
415 ALOG_ASSERT(bitmap != NULL)
    [all...]
  /frameworks/base/core/jni/android/opengl/
util.cpp 720 SkBitmap bitmap; local
721 GraphicsJNI::getSkBitmap(env, jbitmap, &bitmap);
722 SkColorType colorType = bitmap.colorType();
732 const int w = bitmap.width();
733 const int h = bitmap.height();
734 const void* p = bitmap.getPixels();
748 SkBitmap bitmap; local
749 GraphicsJNI::getSkBitmap(env, jbitmap, &bitmap);
750 SkColorType colorType = bitmap.colorType();
760 const int w = bitmap.width()
    [all...]
  /frameworks/base/core/jni/
android_view_SurfaceControl.cpp 22 #include "android/graphics/Bitmap.h"
249 auto bitmap = sk_sp<Bitmap>(new Bitmap(buffer.get(), info)); local
250 return bitmap::createBitmap(env, bitmap.release(),
251 android::bitmap::kBitmapCreateFlag_Premultiplied, NULL);
    [all...]
  /frameworks/base/core/tests/coretests/src/android/text/
LayoutTest.java 26 import android.graphics.Bitmap;
653 Bitmap bitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888); local
654 setBitmap(bitmap);
  /frameworks/base/graphics/java/android/graphics/drawable/
BitmapDrawable.java 25 import android.graphics.Bitmap;
58 * A Drawable that wraps a bitmap and can be tiled, stretched, or aligned. You can create a
60 * a {@link android.graphics.Bitmap} object.
61 * <p>It can be defined in an XML file with the <code>&lt;bitmap></code> element. For more
65 * Also see the {@link android.graphics.Bitmap} class, which handles the management and
66 * transformation of raw bitmap graphics, and should be used when drawing to a
111 * @deprecated Use {@link #BitmapDrawable(android.content.res.Resources, android.graphics.Bitmap)}
112 * instead to specify a bitmap to draw with and ensure the correct density is set.
116 init(new BitmapState((Bitmap) null), null);
123 * @deprecated Use {@link #BitmapDrawable(android.content.res.Resources, android.graphics.Bitmap)}
165 Bitmap bitmap = null; local
198 Bitmap bitmap = null; local
231 final Bitmap bitmap = mBitmapState.mBitmap; local
487 final Bitmap bitmap = mBitmapState.mBitmap; local
496 final Bitmap bitmap = mBitmapState.mBitmap; local
838 Bitmap bitmap = null; local
962 final Bitmap bitmap = mBitmapState.mBitmap; local
    [all...]
NinePatchDrawable.java 26 import android.graphics.Bitmap;
55 * A resizeable bitmap, with stretchable areas that you define. This type of image
95 * @deprecated Use {@link #NinePatchDrawable(Resources, Bitmap, byte[], Rect, String)}
99 public NinePatchDrawable(Bitmap bitmap, byte[] chunk, Rect padding, String srcName) {
100 this(new NinePatchState(new NinePatch(bitmap, chunk, srcName), padding), null);
107 public NinePatchDrawable(Resources res, Bitmap bitmap, byte[] chunk,
109 this(new NinePatchState(new NinePatch(bitmap, chunk, srcName), padding), res);
118 public NinePatchDrawable(Resources res, Bitmap bitmap, byte[] chunk
427 Bitmap bitmap = null; local
    [all...]
  /frameworks/base/libs/hwui/
BakedOpDispatcher.cpp 49 Bitmap* bitmap = (static_cast<const BitmapOp*>(opList.states[0]->op))->bitmap; local
51 Texture* texture = renderer.caches().textureCache.get(bitmap);
71 const int textureFillFlags = (bitmap->colorType() == kAlpha_8_SkColorType)
102 op.bitmap->width(), op.bitmap->height(), op.unmappedBounds.getWidth(),
123 op.bitmap->width(), op.bitmap->height(), op.unmappedBounds.getWidth(),
166 Texture* texture = renderer.caches().textureCache.get(firstOp.bitmap);
    [all...]
FrameBuilder.cpp 285 currentLayer().deferUnmergeableOp(mAllocator, bakedOpState, OpBatchType::Bitmap);
595 if (op.bitmap->isOpaque()) {
605 op.bitmap->colorType() != kAlpha_8_SkColorType && hasMergeableClip(*bakedState)) {
606 mergeid_t mergeId = reinterpret_cast<mergeid_t>(op.bitmap->getGenerationID());
607 currentLayer().deferMergeableOp(mAllocator, bakedState, OpBatchType::Bitmap, mergeId);
609 currentLayer().deferUnmergeableOp(mAllocator, bakedState, OpBatchType::Bitmap);
616 currentLayer().deferUnmergeableOp(mAllocator, bakedState, OpBatchType::Bitmap);
622 currentLayer().deferUnmergeableOp(mAllocator, bakedState, OpBatchType::Bitmap);
626 Bitmap& bitmap = op.vectorDrawable->getBitmapUpdateIfDirty() local
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
KeyboardShortcuts.java 33 import android.graphics.Bitmap;
657 Bitmap bitmap = Bitmap.createBitmap(shortcutKeyIconItemHeightWidth, local
    [all...]
  /frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
BackingStore.java 18 import android.graphics.Bitmap;
43 /** Access mode Bitmap: Frame data will be accessed as a Bitmap. */
489 private Bitmap mBitmap = null;
510 mBitmap = (Bitmap) backing.lock(ACCESS_BITMAP);
559 // As we share the bitmap with other backings (such as object backings), we must not
571 // We can assume that data will always be a Bitmap instance.
572 mBitmap = (Bitmap) data;
576 mBitmap = Bitmap.createBitmap(mDimensions[0], mDimensions[1], Bitmap.Config.ARGB_8888)
608 Bitmap bitmap = (Bitmap) backing.lock(ACCESS_BITMAP); local
729 Bitmap bitmap = (Bitmap) backing.lock(ACCESS_BITMAP); local
850 Bitmap bitmap = (Bitmap) backing.lock(ACCESS_BITMAP); local
    [all...]
  /frameworks/opt/bitmap/src/com/android/bitmap/drawable/
ExtendedBitmapDrawable.java 17 package com.android.bitmap.drawable;
33 import com.android.bitmap.BitmapCache;
34 import com.android.bitmap.DecodeAggregator;
35 import com.android.bitmap.DecodeTask;
36 import com.android.bitmap.R;
37 import com.android.bitmap.RequestKey;
38 import com.android.bitmap.ReusableBitmap;
39 import com.android.bitmap.util.Trace;
42 * This class encapsulates all functionality needed to display a single image bitmap,
46 * The actual bitmap decode work is handled by {@link DecodeTask}
    [all...]

Completed in 1569 milliseconds

<<31323334353637383940>>