/art/runtime/gc/space/ |
malloc_space.cc | 52 StringPrintf("allocspace %s live-bitmap %d", name.c_str(), static_cast<int>(bitmap_index)), 54 CHECK(live_bitmap_.get() != nullptr) << "could not create allocspace live bitmap #" 57 StringPrintf("allocspace %s mark-bitmap %d", name.c_str(), static_cast<int>(bitmap_index)), 59 CHECK(mark_bitmap_.get() != nullptr) << "could not create allocspace mark bitmap #" 239 accounting::ContinuousSpaceBitmap* bitmap = space->GetLiveBitmap(); local 241 bitmap->Clear(ptrs[i]); 257 // If the bitmaps are clamped, then the temp bitmap is actually the mark bitmap.
|
/bionic/libc/kernel/uapi/linux/ |
virtio_input.h | 59 __u8 bitmap[128]; member in union:virtio_input_config::__anon1040
|
/cts/tests/tests/effect/src/android/effect/cts/ |
EffectTest.java | 19 import android.graphics.Bitmap; 101 Bitmap bitmap = createTestBitmap(); local 102 int inputTexture = mEnv.bitmapToTexture(bitmap); 105 effect.apply(inputTexture, bitmap.getWidth(), bitmap.getHeight(), outputTexture); 118 private Bitmap createTestBitmap() { 119 Bitmap testBitmap = Bitmap.createBitmap(2, 2, Bitmap.Config.ARGB_8888) [all...] |
/cts/tests/tests/graphics/src/android/graphics/cts/ |
CornerPathEffectTest.java | 19 import android.graphics.Bitmap; 28 import android.graphics.Bitmap.Config; 55 Bitmap bitmap = Bitmap.createBitmap(BITMAP_WIDTH, BITMAP_HEIGHT, Config.ARGB_8888); local 56 Canvas canvas = new Canvas(bitmap); 81 int pixel = bitmap.getPixel(x, y);
|
DashPathEffectTest.java | 19 import android.graphics.Bitmap; 26 import android.graphics.Bitmap.Config; 45 Bitmap bitmap = Bitmap.createBitmap(BITMAP_WIDTH, BITMAP_HEIGHT, Config.ARGB_8888); local 46 bitmap.eraseColor(BACKGROUND); 58 Canvas canvas = new Canvas(bitmap); 67 assertEquals(FOREGROUND, bitmap.getPixel(x, y)); 69 assertEquals(BACKGROUND, bitmap.getPixel(x, y)); 72 assertEquals(BACKGROUND, bitmap.getPixel(x, y)) [all...] |
DiscretePathEffectTest.java | 20 import android.graphics.Bitmap; 27 import android.graphics.Bitmap.Config; 55 Bitmap bitmap = Bitmap.createBitmap(BITMAP_WIDTH, BITMAP_HEIGHT, Config.ARGB_8888); local 56 bitmap.eraseColor(Color.TRANSPARENT); 58 Canvas canvas = new Canvas(bitmap); 80 int pixel = bitmap.getPixel(x, y);
|
EmbossMaskFilterTest.java | 20 import android.graphics.Bitmap; 27 import android.graphics.Bitmap.Config; 53 Bitmap bitmap = Bitmap.createBitmap(BITMAP_WIDTH, BITMAP_HEIGHT, Config.ARGB_8888); local 54 bitmap.eraseColor(Color.BLACK); 56 Canvas c = new Canvas(bitmap); 64 assertTrue(brightness(bitmap, top) > brightness(bitmap, bottom)); 65 assertTrue(brightness(bitmap, left) > brightness(bitmap, right)) [all...] |
PictureTest.java | 24 import android.graphics.Bitmap; 71 Bitmap bitmap = Bitmap.createBitmap(TEST_WIDTH, TEST_HEIGHT, Bitmap.Config.ARGB_8888); local 72 Canvas drawDest = new Canvas(bitmap); 88 Bitmap bitmap = Bitmap.createBitmap(TEST_WIDTH, TEST_HEIGHT, Bitmap.Config.ARGB_8888) local 119 Bitmap bitmap = Bitmap.createBitmap(TEST_WIDTH, TEST_HEIGHT, Bitmap.Config.ARGB_8888); local [all...] |
/cts/tests/tests/graphics/src/android/graphics/drawable/shapes/cts/ |
ArcShapeTest.java | 21 import android.graphics.Bitmap; 22 import android.graphics.Bitmap.Config; 52 Bitmap bitmap = Bitmap.createBitmap(TEST_WIDTH, TEST_HEIGHT, Config.ARGB_8888); local 53 Canvas canvas = new Canvas(bitmap); 60 // check the color at the center of bitmap 61 assertEquals(TEST_COLOR_1, bitmap.getPixel(TEST_WIDTH / 2, TEST_HEIGHT / 2)); 71 if (bitmap.getPixel(i, i) == TEST_COLOR_2) {
|
OvalShapeTest.java | 21 import android.graphics.Bitmap; 22 import android.graphics.Bitmap.Config; 46 Bitmap bitmap = Bitmap.createBitmap(TEST_WIDTH, TEST_HEIGHT, Config.ARGB_8888); local 47 Canvas canvas = new Canvas(bitmap); 54 // check the color at the center of bitmap 55 assertEquals(TEST_COLOR_1, bitmap.getPixel(TEST_WIDTH / 2, TEST_HEIGHT / 2)); 64 if (bitmap.getPixel(i, i) == TEST_COLOR_2) {
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/ |
DepthImage.java | 20 import android.graphics.Bitmap; 33 private final Bitmap mDepthBitmap; 42 Bitmap depthBitmap, double blurAtInfinity, 74 Bitmap bitmap = BitmapFactory.decodeStream(context.getContentResolver().openInputStream(uriDepthmap)); local 75 if (bitmap == null) { 85 bitmap, // depthmap 94 public Bitmap getDepthBitmap() {
|
RGBZ.java | 21 import android.graphics.Bitmap; 42 private Bitmap bitmap; field in class:RGBZ 43 private Bitmap preview; 44 private Bitmap depthBitmap; 61 bitmap = setAlphaChannel(preview, depthBitmap); 80 bitmap = setAlphaChannel(preview, depthBitmap); 92 * @return The color+depth {@code Bitmap} 94 public Bitmap getBitmap() { 95 return bitmap; [all...] |
/cts/tests/tests/uirendering/src/android/uirendering/cts/testinfrastructure/ |
ResourceModifier.java | 21 import android.graphics.Bitmap; 50 public final Bitmap bitmap; field in class:ResourceModifier 55 bitmap = BitmapFactory.decodeResource(resources, R.drawable.sunset1); 56 int texWidth = bitmap.getWidth(); 57 int texHeight = bitmap.getHeight(); 62 repeatShader = new BitmapShader(bitmap, Shader.TileMode.REPEAT, 65 translatedShader = new BitmapShader(bitmap, Shader.TileMode.REPEAT, 72 scaledShader = new BitmapShader(bitmap, Shader.TileMode.MIRROR, 98 final float width = bitmap.getWidth() / 8.0f [all...] |
/developers/build/prebuilts/androidtv/leanback/app/src/main/java/com/example/android/tvleanback/recommendation/ |
UpdateRecommendationsService.java | 26 import android.graphics.Bitmap; 98 Bitmap bitmap = Glide.with(getApplicationContext()) local 103 notificationBuilder.setBitmap(bitmap);
|
/developers/build/prebuilts/gradle/XYZTouristAttractions/Wearable/src/main/java/com/example/android/xyztouristattractions/service/ |
ListenerService.java | 22 import android.graphics.Bitmap; 103 Bitmap bitmap = Utils.loadBitmapFromAsset( local 118 .setBackground(bitmap)
|
/developers/samples/android/wearable/wear/XYZTouristAttractions/Wearable/src/main/java/com/example/android/xyztouristattractions/service/ |
ListenerService.java | 22 import android.graphics.Bitmap; 103 Bitmap bitmap = Utils.loadBitmapFromAsset( local 118 .setBackground(bitmap)
|
/development/ndk/platforms/android-17/samples/Teapot/src/com/sample/helper/ |
NDKHelper.java | 26 import android.graphics.Bitmap; 45 // Load Bitmap 57 private Bitmap scaleBitmap(Bitmap bitmapToScale, float newWidth, float newHeight) 70 // recreate the new Bitmap and set it back 71 return Bitmap.createBitmap(bitmapToScale, 0, 0, bitmapToScale.getWidth(), 77 Bitmap bitmap = null; local 89 bitmap = BitmapFactory.decodeStream(new FileInputStream(file)); 92 bitmap = BitmapFactory.decodeStream(context.getResources().getAssets( 119 Bitmap bitmap = null; local [all...] |
/development/ndk/platforms/android-18/samples/MoreTeapots/src/com/sample/helper/ |
NDKHelper.java | 26 import android.graphics.Bitmap; 45 // Load Bitmap 57 private Bitmap scaleBitmap(Bitmap bitmapToScale, float newWidth, float newHeight) 70 // recreate the new Bitmap and set it back 71 return Bitmap.createBitmap(bitmapToScale, 0, 0, bitmapToScale.getWidth(), 77 Bitmap bitmap = null; local 89 bitmap = BitmapFactory.decodeStream(new FileInputStream(file)); 92 bitmap = BitmapFactory.decodeStream(context.getResources().getAssets( 119 Bitmap bitmap = null; local [all...] |
/development/samples/browseable/XYZTouristAttractions/Wearable/src/com.example.android.xyztouristattractions/service/ |
ListenerService.java | 22 import android.graphics.Bitmap; 103 Bitmap bitmap = Utils.loadBitmapFromAsset( local 118 .setBackground(bitmap)
|
/external/autotest/client/deps/glbench/src/ |
windowmanagertest.cc | 33 unsigned char* bitmap = new unsigned char[4 * w * h]; local 34 unsigned char* pixel = bitmap; 55 return bitmap; 104 unsigned char* bitmap = CreateBitmap(g_height, g_width); local 107 GL_RGBA, GL_UNSIGNED_BYTE, bitmap);
|
/external/freetype/include/ |
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/freetype/src/cache/ |
ftcsbits.c | 44 FT_Bitmap* bitmap, 48 FT_Int pitch = bitmap->pitch; 55 size = (FT_ULong)pitch * bitmap->rows; 58 FT_MEM_COPY( sbit->buffer, bitmap->buffer, size ); 92 * This function tries to load a small bitmap within a given FTC_SNode. 134 FT_Bitmap* bitmap = &slot->bitmap; local 141 " glyph loaded didn't return a bitmap\n" )); 146 /* If this is not the case, our bitmap is too large */ 156 if ( !CHECK_BYTE( bitmap->rows ) | [all...] |
/external/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/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/ |
RecyclableBufferedInputStream.java | 1 package com.bumptech.glide.load.resource.bitmap;
|
/external/kernel-headers/original/uapi/linux/ |
virtio_input.h | 64 __u8 bitmap[128]; member in union:virtio_input_config::__anon14532
|