/external/libvncserver/examples/ |
example.c | 231 char bitmap[]= local 264 c=rfbScreen->cursor = rfbMakeXCursor(w,h,bitmap,bitmap);
|
/external/ltrace/sysdeps/linux-gnu/ia64/ |
trace.c | 56 } bitmap; member in union:bundle_t 101 unsigned long bot = 0UL | bundle.bitmap.word0.bot_slot1; 102 unsigned long top = 0UL | bundle.bitmap.word1.top_slot1; 108 insn = bundle.bitmap.word1.slot2; 111 insn = bundle.bitmap.word0.slot0;
|
/external/opencv/otherlibs/highgui/ |
grfmt_imageio.cpp | 136 CGContextRef context = NULL; // The bitmap context 138 uchar* bitmap = NULL; local 158 bitmap = (uchar*)malloc( bpp * m_height * m_width ); 159 if( !bitmap ) 165 context = CGBitmapContextCreate( (void *)bitmap, 176 free( bitmap ); 180 // Copy the image data into the bitmap region 187 free( bitmap); 192 // Move the bitmap (in RGB) into data (in BGR) 220 memcpy (data + y * step, bitmap + y * m_width, m_width) [all...] |
/external/opencv3/samples/winrt/OcvImageProcessing/OcvImageProcessing/ |
MainPage.xaml.cpp | 163 WriteableBitmap^ bitmap = ref new WriteableBitmap(image.cols, image.rows); local 166 IBuffer^ buffer = bitmap->PixelBuffer; 178 // Set the bitmap to the Image element 179 PreviewWidget->Source = bitmap;
|
/external/pdfium/third_party/freetype/include/freetype/ |
ftglyph.h | 63 /* bitmap, a vector outline, or even images in other formats. */ 80 /* bitmap or pointer. */ 124 /* A handle to an object used to model a bitmap glyph image. This is */ 136 /* A structure used for bitmap glyph images. This really is a */ 144 /* glyph bitmap. */ 148 /* bitmap. This distance is positive for upwards~y! */ 150 /* bitmap :: A descriptor for the bitmap. */ 155 /* the bitmap's contents easily. */ 165 FT_Bitmap bitmap; member in struct:FT_BitmapGlyphRec_ [all...] |
/external/pdfium/third_party/freetype/src/smooth/ |
ftsmooth.c | 97 /* convert a slot's glyph image into a bitmap */ 107 FT_Bitmap* bitmap = &slot->bitmap; local 205 * XXX: on 16bit system, we return an error for huge bitmap 225 /* release old bitmap buffer */ 228 FT_FREE( bitmap->buffer ); 233 if ( FT_ALLOC( bitmap->buffer, (FT_ULong)( pitch * height ) ) ) 244 bitmap->pixel_mode = FT_PIXEL_MODE_GRAY; 245 bitmap->num_grays = 256; 246 bitmap->width = (unsigned int)width [all...] |
/external/replicaisland/src/com/replica/replicaisland/ |
HudSystem.java | 300 DrawableBitmap bitmap = factory.allocateDrawableBitmap(); local 301 if (bitmap != null) { 302 bitmap.resize(barWidth, mFuelDrawable.getHeight()); 303 bitmap.setTexture(mFuelDrawable.getTexture()); 304 render.scheduleForDraw(bitmap, location, SortConstants.HUD + 1, false); 314 DrawableBitmap bitmap = mFlyButtonEnabledDrawable; local 316 bitmap = mFlyButtonDepressedDrawable; 318 bitmap = mFlyButtonDisabledDrawable; 321 if (bitmap.getWidth() == 0) { 323 Texture tex = bitmap.getTexture() 334 DrawableBitmap bitmap = mStompButtonEnabledDrawable; local 371 DrawableBitmap bitmap = mMovementSliderButtonDrawable; local 452 DrawableBitmap bitmap = factory.allocateDrawableBitmap(); local [all...] |
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowBitmapDrawable.java | 6 import android.graphics.Bitmap; 20 private Bitmap bitmap; field in class:ShadowBitmapDrawable 29 public void __constructor__(Bitmap bitmap) { 30 this.bitmap = bitmap; 33 public void __constructor__(Resources resources, Bitmap bitmap) { 34 this.bitmap = bitmap [all...] |
/external/skia/experimental/nanomsg/ |
picture_demo.cpp | 194 SkBitmap bitmap; local 195 bitmap.allocN32Pixels(1000, 1000); 196 SkCanvas canvas(bitmap); 202 SkImageEncoder::EncodeFile(FLAGS_png[0], bitmap, SkImageEncoder::kPNG_Type, 100);
|
/external/skia/gm/ |
all_bitmap_configs.cpp | 25 // Make either A8 or gray8 bitmap. 162 SkBitmap bitmap; local 163 if (GetResourceAsBitmap("color_wheel.png", &bitmap)) { 164 bitmap.setImmutable(); 165 draw(canvas, p, bitmap, kN32_SkColorType, "Native 32"); 168 SkBitmap copy565 = copy_bitmap(bitmap, kRGB_565_SkColorType); 174 SkBitmap copy4444 = copy_bitmap(bitmap, kARGB_4444_SkColorType);
|
bitmaprect.cpp | 16 static void make_bitmap(SkBitmap* bitmap) { 17 bitmap->allocN32Pixels(64, 64); 19 SkCanvas canvas(*bitmap); 61 SkBitmap bitmap; variable 62 make_bitmap(&bitmap); variable 71 canvas->drawBitmap(bitmap, 0, 0, &paint); 73 canvas->drawBitmapRect(bitmap, srcR, dstR, &paint, 76 canvas->drawBitmapRect(bitmap, src[i], dstR, &paint); 92 static void make_3x3_bitmap(SkBitmap* bitmap) { 102 bitmap->allocN32Pixels(xSize, ySize, true) 140 SkBitmap bitmap; variable 141 make_3x3_bitmap(&bitmap); variable [all...] |
recordopts.cpp | 74 SkBitmap bitmap; local 75 bitmap.allocN32Pixels(kTestRectSize, kTestRectSize); 76 bitmap.eraseColor(shapeColor); 78 // Make the bitmap non-uniform color, so that it can not be optimized as uniform drawRect. 79 SkCanvas canvas(bitmap); 93 canvas->drawBitmap(bitmap, SkIntToScalar(0), SkIntToScalar(0), &drawPaint);
|
/external/skia/samplecode/ |
SampleBitmapRect.cpp | 31 static void make_bitmap(SkBitmap* bitmap) { 32 bitmap->allocN32Pixels(INT_SIZE, INT_SIZE); 33 SkCanvas canvas(*bitmap); 124 SkBitmap bitmap; variable 125 make_bitmap(&bitmap); variable 129 canvas->drawBitmap(bitmap, 0, 0, &paint); 134 canvas->drawBitmapRect(bitmap, srcR, fDstR[i], &paint,
|
/external/skia/src/core/ |
SkImageCacherator.cpp | 77 static bool check_output_bitmap(const SkBitmap& bitmap, uint32_t expectedID) { 78 SkASSERT(bitmap.getGenerationID() == expectedID); 79 SkASSERT(bitmap.isImmutable()); 80 SkASSERT(bitmap.getPixels()); 84 // Note, this returns a new, mutable, bitmap, with a new genID. 85 // If you want the immutable bitmap with the same ID as our cacherator, call tryLockAsBitmap() 87 bool SkImageCacherator::generateBitmap(SkBitmap* bitmap) { 95 return generator->tryGenerateBitmap(bitmap, fInfo, allocator); 104 if (!bitmap->tryAllocPixels(fInfo, nullptr, full.getColorTable())) { 107 return full.readPixels(bitmap->info(), bitmap->getPixels(), bitmap->rowBytes() 302 SkBitmap bitmap; local [all...] |
/external/skia/src/utils/mac/ |
SkCreateCGImageRef.cpp | 53 SkBitmap* bitmap = reinterpret_cast<SkBitmap*>(info); local 54 delete bitmap; 128 SkBitmap* bitmap = prepareForImageRef(bm, &bitsPerComponent, &info); local 129 if (nullptr == bitmap) { 133 const int w = bitmap->width(); 134 const int h = bitmap->height(); 135 const size_t s = bitmap->getSize(); 137 // our provider "owns" the bitmap*, and will take care of deleting it 138 // we initially lock it, so we can access the pixels. The bitmap will be deleted in the release 140 bitmap->lockPixels() 220 SkBitmap bitmap; local [all...] |
/external/skia/tests/ |
CanvasStateTest.cpp | 274 SkBitmap bitmap; local 275 bitmap.allocN32Pixels(10, 10); 276 SkCanvas canvas(bitmap); 300 SkBitmap bitmap; local 301 bitmap.allocN32Pixels(10, 10); 302 SkCanvas canvas(bitmap); 326 SkBitmap bitmap; local 327 bitmap.allocN32Pixels(WIDTH, HEIGHT); 328 SkCanvas canvas(bitmap);
|
/external/zxing/qr_scanner/src/com/google/zxing/client/android/ |
DecodeHandler.java | 74 BinaryBitmap bitmap = new BinaryBitmap(new HybridBinarizer(source)); local 76 rawResult = multiFormatReader.decodeWithState(bitmap);
|
/frameworks/base/core/java/android/app/ |
SharedElementCallback.java | 20 import android.graphics.Bitmap; 46 private static final String BUNDLE_SNAPSHOT_BITMAP = "sharedElement:snapshot:bitmap"; 176 Bitmap bitmap = TransitionUtils.createDrawableBitmap(d); local 177 if (bitmap != null) { 179 bundle.putParcelable(BUNDLE_SNAPSHOT_BITMAP, bitmap); 221 Bitmap bitmap = (Bitmap) bundle.getParcelable(BUNDLE_SNAPSHOT_BITMAP); local 222 if (bitmap == null) 237 Bitmap bitmap = (Bitmap) snapshot; local [all...] |
/frameworks/base/core/java/com/android/internal/util/ |
ImageUtils.java | 19 import android.graphics.Bitmap; 20 import android.graphics.Bitmap.Config; 41 // Size of the smaller bitmap we're actually going to scan. 45 private Bitmap mTempCompactBitmap; 51 * Checks whether a bitmap is grayscale. Grayscale here means "very close to a perfect 54 * Instead of scanning every pixel in the bitmap, we first resize the bitmap to no more than 58 public boolean isGrayscale(Bitmap bitmap) { 59 int height = bitmap.getHeight() [all...] |
/frameworks/base/core/jni/android/graphics/ |
Shader.cpp | 91 SkBitmap bitmap; local 93 // Only pass a valid SkBitmap object to the constructor if the Bitmap exists. Otherwise, 95 GraphicsJNI::getSkBitmap(env, jbitmap, &bitmap); 97 SkShader* s = SkShader::CreateBitmapShader(bitmap, 262 { "nativeCreate", "(Landroid/graphics/Bitmap;II)J", (void*)BitmapShader_constructor },
|
/frameworks/base/core/jni/ |
android_view_GraphicBuffer.cpp | 182 SkBitmap bitmap; local 183 bitmap.setInfo(SkImageInfo::Make(buffer->getWidth(), buffer->getHeight(), 189 bitmap.setPixels(bits); 191 bitmap.setPixels(NULL); 195 nativeCanvas->setBitmap(bitmap);
|
android_view_PointerIcon.h | 71 SkBitmap bitmap; member in struct:android::PointerIcon 83 bitmap.reset(); 95 /* Loads the bitmap associated with a pointer icon. 105 /* Loads the bitmap associated with a pointer icon by style.
|
android_view_TextureView.cpp | 157 SkBitmap bitmap; local 158 bitmap.setInfo(convertPixelFormat(buffer), bytesCount); 161 bitmap.setPixels(buffer.bits); 163 bitmap.setPixels(NULL); 167 nativeCanvas->setBitmap(bitmap);
|
/frameworks/base/core/tests/coretests/src/android/graphics/ |
PathOffsetTest.java | 20 import android.graphics.Bitmap.Config; 76 Bitmap actualBitmap = drawAndGetBitmap(actual); 77 Bitmap expectedBitmap = drawAndGetBitmap(expected); 81 private static Bitmap drawAndGetBitmap(Path path) { 82 Bitmap bitmap = Bitmap.createBitmap(WIDTH, HEIGHT, Config.ARGB_8888); local 83 bitmap.eraseColor(Color.BLACK); 86 Canvas canvas = new Canvas(bitmap); 88 return bitmap; [all...] |
/frameworks/base/core/tests/coretests/src/android/view/ |
RemoteViewsTest.java | 26 import android.graphics.Bitmap; 66 Bitmap bitmap = Bitmap.createBitmap(10, 10, Bitmap.Config.ARGB_8888); local 68 original.setImageViewBitmap(R.id.image, bitmap); 73 assertSame(bitmap, ((BitmapDrawable)drawable).getBitmap());
|