| /external/skia/tests/ |
| CanvasTest.cpp | 251 SkBitmap bitmap; local 252 createBitmap(&bitmap, 0x05060708); 253 return bitmap; [all...] |
| SkpSkGrTest.cpp | 48 {1, "http___accuweather_com_.skp"}, // Couldn't convert bitmap to texture.http___absoku072_com_ 369 static void writePict(const SkBitmap& bitmap, const char* outDir, const char* pngName) { 371 if (!SkImageEncoder::EncodeFile(outFile.c_str(), bitmap, 374 bitmap.width(), bitmap.height()); 423 SkBitmap bitmap; local 428 bool success = bitmap.allocN32Pixels(dim.fX, dim.fY); 435 SkDebugf("unable to allocate bitmap for %s (w=%d h=%d) (sw=%d sh=%d)\n", 439 SkCanvas skCanvas(bitmap); 462 fPixelError = similarBits(grBitmap, bitmap); [all...] |
| /external/stressapptest/src/ |
| sat.cc | 303 // Set up the bitmap of physical pages in case we want to see which pages were 318 unsigned char *bitmap = new unsigned char[arraysize]; local 319 sat_assert(bitmap); 322 memset(bitmap, 0, arraysize); 325 page_bitmap_ = bitmap; [all...] |
| /frameworks/base/core/java/android/app/ |
| WallpaperManager.java | 27 import android.graphics.Bitmap; 147 * at the time the bitmap is loaded). 150 private final Bitmap mBitmap; 157 private FastBitmapDrawable(Bitmap bitmap) { 158 mBitmap = bitmap; 159 mWidth = bitmap.getWidth(); 160 mHeight = bitmap.getHeight(); 227 private Bitmap mWallpaper; 228 private Bitmap mDefaultWallpaper [all...] |
| /frameworks/base/core/java/android/provider/ |
| DocumentsContract.java | 29 import android.graphics.Bitmap; 799 public static Bitmap getDocumentThumbnail( 816 public static Bitmap getDocumentThumbnail( 823 Bitmap bitmap = null; local [all...] |
| /frameworks/base/core/java/android/view/ |
| GLES20Canvas.java | 19 import android.graphics.Bitmap; 558 Bitmap bitmap = patch.getBitmap(); local 559 throwIfCannotDraw(bitmap); 561 nDrawPatch(mRenderer, bitmap.mNativeBitmap, patch.mNativeChunk, 567 Bitmap bitmap = patch.getBitmap(); local 568 throwIfCannotDraw(bitmap); 570 nDrawPatch(mRenderer, bitmap.mNativeBitmap, patch.mNativeChunk, 574 private static native void nDrawPatch(long renderer, long bitmap, long chunk [all...] |
| /frameworks/base/core/java/com/android/internal/widget/ |
| WaveView.java | 24 import android.graphics.Bitmap; 94 private float mRingRadius = 182.0f; // Radius of bitmap ring. Used to snap halo to it 404 Bitmap bitmap = BitmapFactory.decodeResource(res, resId); local 405 return new BitmapDrawable(res, bitmap);
|
| /frameworks/base/core/jni/ |
| android_graphics_Canvas.cpp | 42 // Native wrapper constructor used by Canvas(Bitmap) 44 SkBitmap* bitmap = reinterpret_cast<SkBitmap*>(bitmapHandle); local 45 return reinterpret_cast<jlong>(Canvas::create_canvas(bitmap)); 48 // Set the given bitmap as the new draw target (wrapped in a new SkCanvas), 52 SkBitmap* bitmap = reinterpret_cast<SkBitmap*>(bitmapHandle); local 53 get_canvas(canvasHandle)->setBitmap(bitmap, copyState); 315 const SkBitmap* bitmap = reinterpret_cast<SkBitmap*>(bitmapHandle); local 325 canvas->drawBitmap(*bitmap, left, top, &filteredPaint); 327 canvas->drawBitmap(*bitmap, left, top, paint); 341 canvas->drawBitmap(*bitmap, 0, 0, &filteredPaint) 348 const SkBitmap* bitmap = reinterpret_cast<SkBitmap*>(bitmapHandle); local 359 const SkBitmap* bitmap = reinterpret_cast<SkBitmap*>(bitmapHandle); local 385 SkBitmap bitmap; local 405 const SkBitmap* bitmap = reinterpret_cast<SkBitmap*>(bitmapHandle); local [all...] |
| android_view_GLES20Canvas.cpp | 351 SkBitmap* bitmap = reinterpret_cast<SkBitmap*>(bitmapPtr); local 359 renderer->drawBitmap(bitmap, paint); 367 SkBitmap* bitmap = reinterpret_cast<SkBitmap*>(bitmapPtr); local 371 renderer->drawBitmap(bitmap, srcLeft, srcTop, srcRight, srcBottom, 377 SkBitmap* bitmap = reinterpret_cast<SkBitmap*>(bitmapPtr); local 386 renderer->drawBitmap(bitmap, paint); 398 SkBitmap* bitmap = new SkBitmap; local 399 if (!bitmap->allocPixels(info)) { 400 delete bitmap; 404 if (!GraphicsJNI::SetPixels(env, colors, offset, stride, 0, 0, width, height, *bitmap)) { 424 SkBitmap* bitmap = reinterpret_cast<SkBitmap*>(bitmapPtr); local 440 SkBitmap* bitmap = reinterpret_cast<SkBitmap*>(bitmapPtr); local [all...] |
| /frameworks/base/graphics/java/android/graphics/ |
| Bitmap.java | 32 public final class Bitmap implements Parcelable { 34 * Indicates that the bitmap was created for an unknown pixel density. 36 * @see Bitmap#getDensity() 37 * @see Bitmap#setDensity(int) 50 * Backing buffer for the Bitmap. 60 * Represents whether the Bitmap's content is requested to be pre-multiplied. 62 * isPremultiplied() may never return true for a 565 Bitmap or a bitmap 68 * The native bitmap's premultiplication state is kept up to date by 105 * Private constructor that must received an already allocated native bitmap 682 Bitmap bitmap; local [all...] |
| /frameworks/base/graphics/java/android/graphics/drawable/ |
| BitmapDrawable.java | 24 import android.graphics.Bitmap; 54 * A Drawable that wraps a bitmap and can be tiled, stretched, or aligned. You can create a 56 * a {@link android.graphics.Bitmap} object. 57 * <p>It can be defined in an XML file with the <code><bitmap></code> element. For more 61 * Also see the {@link android.graphics.Bitmap} class, which handles the management and 62 * transformation of raw bitmap graphics, and should be used when drawing to a 107 * @deprecated Use {@link #BitmapDrawable(android.content.res.Resources, android.graphics.Bitmap)} 108 * instead to specify a bitmap to draw with and ensure the correct density is set. 112 mBitmapState = new BitmapState((Bitmap) null); 119 * @deprecated Use {@link #BitmapDrawable(android.content.res.Resources, android.graphics.Bitmap)} 213 final Bitmap bitmap = mBitmapState.mBitmap; local 489 final Bitmap bitmap = mBitmapState.mBitmap; local 751 final Bitmap bitmap = BitmapFactory.decodeResource(r, srcResId); local 861 final Bitmap bitmap = mBitmapState.mBitmap; 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...] |
| /frameworks/rs/ |
| rsFont.cpp | 114 uint8_t* bitmap, uint32_t bitmapW, uint32_t bitmapH) { 134 bitmap[bY * bitmapW + bX] = tempCol; 164 uint8_t *bitmap, uint32_t bitmapW, uint32_t bitmapH) { 207 case BITMAP: 208 drawCachedGlyph(cachedGlyph, penX, penY, bitmap, bitmapW, bitmapH); 252 FT_Bitmap *bitmap = &mFace->glyph->bitmap; local 254 // Now copy the bitmap into the cache texture 258 // Let the font state figure out where to put the bitmap 260 glyph->mIsValid = state->cacheBitmap(bitmap, &startX, &startY) [all...] |
| /frameworks/support/v17/leanback/src/android/support/v17/leanback/app/ |
| BackgroundManager.java | 25 import android.graphics.Bitmap; 72 * <p>BackgroundManager holds references to potentially large bitmap Drawables. 115 Bitmap mBitmap; 132 BitmapDrawable(Resources resources, Bitmap bitmap) { 133 this(resources, bitmap, null); 136 BitmapDrawable(Resources resources, Bitmap bitmap, Matrix matrix) { 137 mState.mBitmap = bitmap; 143 Bitmap getBitmap() 837 Bitmap bitmap = null; local [all...] |
| /packages/apps/Browser/src/com/android/browser/ |
| BrowserBookmarksPage.java | 33 import android.graphics.Bitmap; 233 static Bitmap getBitmap(Cursor cursor, int columnIndex) { 243 static Bitmap getBitmap(Cursor cursor, int columnIndex, Bitmap inBitmap) { 255 // Failed to re-use bitmap, create a new one 311 Bitmap bitmap = local 313 item.setFavicon(bitmap); 319 Bitmap bitmap = getBitmap(cursor, BookmarksLoader.COLUMN_INDEX_FAVICON) local [all...] |
| /packages/apps/Camera2/src/com/android/camera/ |
| PhotoUI.java | 21 import android.graphics.Bitmap; 179 private class DecodeTask extends AsyncTask<Void, Void, Bitmap> { 191 protected Bitmap doInBackground(Void... params) { 193 Bitmap bitmap = CameraUtil.downSample(mData, DOWN_SAMPLE_FACTOR); local 201 return Bitmap.createBitmap(bitmap, 0, 0, bitmap.getWidth(), bitmap.getHeight(), m, 204 return bitmap; [all...] |
| /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/ |
| ImagePreset.java | 19 import android.graphics.Bitmap; 439 public Bitmap apply(Bitmap original, FilterEnvironment environment) { 440 Bitmap bitmap = original; local 441 bitmap = applyFilters(bitmap, -1, -1, environment); 442 return applyBorder(bitmap, environment); 470 public Bitmap applyGeometry(Bitmap bitmap, FilterEnvironment environment) [all...] |
| /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/tools/ |
| SaveImage.java | 24 import android.graphics.Bitmap; 85 private final Bitmap mPreviewImage; 133 File destination, Bitmap previewImage, Callback callback) { 266 public boolean putExifData(File file, ExifInterface exif, Bitmap image, 272 image.compress(Bitmap.CompressFormat.JPEG, 372 // If we succeed in writing the bitmap as a jpeg, return a uri. 395 // Try to do bitmap operations, downsample if low-memory 396 Bitmap bitmap = ImageLoader.loadOrientedBitmapWithBackouts(mContext, newSourceUri, local 398 if (bitmap == null) [all...] |
| /packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
| AlbumSetSlidingWindow.java | 19 import android.graphics.Bitmap; 388 Bitmap bitmap = mLabelMaker.requestLabel( local 391 mLoadingLabel = new BitmapTexture(bitmap); 430 protected Future<Bitmap> submitBitmapTask(FutureListener<Bitmap> l) { 436 protected void onLoadComplete(Bitmap bitmap) { 442 Bitmap bitmap = getBitmap() local 506 Bitmap bitmap = getBitmap(); local [all...] |
| /packages/apps/Launcher2/src/com/android/launcher2/ |
| DragController.java | 21 import android.graphics.Bitmap; 169 * @param bmp The bitmap that represents the view being dragged 174 * @param dragRegion Coordinates within the bitmap b for the position of item being dragged. 177 public void startDrag(View v, Bitmap bmp, DragSource source, Object dragInfo, int dragAction, 199 * @param b The bitmap to display as the drag image. It will be re-scaled to the 201 * @param dragLayerX The x position in the DragLayer of the left-top of the bitmap. 202 * @param dragLayerY The y position in the DragLayer of the left-top of the bitmap. 207 * @param dragRegion Coordinates within the bitmap b for the position of item being dragged. 210 public void startDrag(Bitmap b, int dragLayerX, int dragLayerY, 261 * Draw the view into a bitmap 287 Bitmap bitmap = Bitmap.createBitmap(cacheBitmap); local [all...] |
| /packages/apps/Launcher3/src/com/android/launcher3/ |
| DragController.java | 22 import android.graphics.Bitmap; 165 * @param bmp The bitmap that represents the view being dragged 170 * @param dragRegion Coordinates within the bitmap b for the position of item being dragged. 173 public void startDrag(View v, Bitmap bmp, DragSource source, Object dragInfo, int dragAction, 195 * @param b The bitmap to display as the drag image. It will be re-scaled to the 197 * @param dragLayerX The x position in the DragLayer of the left-top of the bitmap. 198 * @param dragLayerY The y position in the DragLayer of the left-top of the bitmap. 203 * @param dragRegion Coordinates within the bitmap b for the position of item being dragged. 206 public DragView startDrag(Bitmap b, int dragLayerX, int dragLayerY, 257 * Draw the view into a bitmap 283 Bitmap bitmap = Bitmap.createBitmap(cacheBitmap); local [all...] |
| /prebuilts/ndk/4/platforms/android-3/arch-arm/usr/include/linux/raid/ |
| md_k.h | 160 struct bitmap *bitmap; member in struct:mddev_s
|
| /prebuilts/ndk/4/platforms/android-4/arch-arm/usr/include/linux/raid/ |
| md_k.h | 160 struct bitmap *bitmap; member in struct:mddev_s
|
| /prebuilts/ndk/4/platforms/android-5/arch-arm/usr/include/linux/raid/ |
| md_k.h | 160 struct bitmap *bitmap; member in struct:mddev_s
|