HomeSort by relevance Sort by last modified time
    Searched defs:bitmap (Results 576 - 600 of 864) sorted by null

<<21222324252627282930>>

  /frameworks/base/graphics/java/android/graphics/drawable/
NinePatchDrawable.java 26 import android.graphics.Bitmap;
56 * A resizeable bitmap, with stretchable areas that you define. This type of image
96 * @deprecated Use {@link #NinePatchDrawable(Resources, Bitmap, byte[], Rect, String)}
100 public NinePatchDrawable(Bitmap bitmap, byte[] chunk, Rect padding, String srcName) {
101 this(new NinePatchState(new NinePatch(bitmap, chunk, srcName), padding), null);
108 public NinePatchDrawable(Resources res, Bitmap bitmap, byte[] chunk,
110 this(new NinePatchState(new NinePatch(bitmap, chunk, srcName), padding), res);
119 public NinePatchDrawable(Resources res, Bitmap bitmap, byte[] chunk
431 Bitmap bitmap = null; local
637 final Bitmap bitmap = mNinePatch.getBitmap(); local
    [all...]
  /frameworks/base/libs/hwui/
BakedOpDispatcher.cpp 49 const SkBitmap* bitmap = (static_cast<const BitmapOp*>(opList.states[0]->op))->bitmap; local
51 AssetAtlas::Entry* entry = renderer.renderState().assetAtlas().getEntry(bitmap->pixelRef());
52 Texture* texture = entry ? entry->texture : renderer.caches().textureCache.get(bitmap);
76 const int textureFillFlags = (bitmap->colorType() == kAlpha_8_SkColorType)
96 firstOp.bitmap->pixelRef());
108 entry, op.bitmap->width(), op.bitmap->height(),
129 entry, op.bitmap->width(), op.bitmap->height()
    [all...]
FrameBuilder.cpp 288 currentLayer().deferUnmergeableOp(mAllocator, bakedOpState, OpBatchType::Bitmap);
602 if (op.bitmap->isOpaque()) {
612 && op.bitmap->colorType() != kAlpha_8_SkColorType
614 mergeid_t mergeId = reinterpret_cast<mergeid_t>(op.bitmap->getGenerationID());
616 currentLayer().deferMergeableOp(mAllocator, bakedState, OpBatchType::Bitmap, mergeId);
618 currentLayer().deferUnmergeableOp(mAllocator, bakedState, OpBatchType::Bitmap);
625 currentLayer().deferUnmergeableOp(mAllocator, bakedState, OpBatchType::Bitmap);
631 currentLayer().deferUnmergeableOp(mAllocator, bakedState, OpBatchType::Bitmap);
635 const SkBitmap& bitmap = op.vectorDrawable->getBitmapUpdateIfDirty(); local
641 &bitmap,
    [all...]
VectorDrawable.h 60 * VectorDrawables are drawn into bitmap caches first, then the caches are drawn to the given
551 // Draws the VD onto a bitmap cache, then the bitmap cache will be rendered onto the input
552 // canvas. Returns the number of pixels needed for the bitmap cache.
696 // Cap the bitmap size, such that it won't hurt the performance too much
711 SkBitmap bitmap; member in struct:android::uirenderer::VectorDrawable::Tree::Cache
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
KeyboardShortcuts.java 31 import android.graphics.Bitmap;
627 Bitmap bitmap = Bitmap.createBitmap(shortcutKeyIconItemHeightWidth, local
628 shortcutKeyIconItemHeightWidth, Bitmap.Config.ARGB_8888);
629 Canvas canvas = new Canvas(bitmap);
633 shortcutKeyIconView.setImageBitmap(bitmap);
    [all...]
  /frameworks/base/services/core/java/com/android/server/
AssetAtlasService.java 24 import android.graphics.Bitmap;
117 // Describes how bitmaps are placed in the atlas. Each bitmap is
119 // long0: SkBitmap*, the native bitmap object
135 Collection<Bitmap> bitmaps = new HashSet<Bitmap>(300);
152 ArrayList<Bitmap> sortedBitmaps = new ArrayList<Bitmap>(bitmaps);
154 // The comparator will sort the bitmap by width first, then by height
155 Collections.sort(sortedBitmaps, new Comparator<Bitmap>() {
157 public int compare(Bitmap b1, Bitmap b2)
271 final Bitmap bitmap = mBitmaps.get(i); local
708 final Bitmap bitmap = mBitmaps.get(i); 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...]
  /packages/apps/Contacts/src/com/android/contacts/editor/
ContactEditorFragment.java 22 import android.graphics.Bitmap;
340 * @param rawContactId identifies the raw-contact whose Bitmap we'll try to return.
469 private void setPhoto(long rawContact, Bitmap photo, Uri photoUri) {
474 Log.w(TAG, "Invalid bitmap passed to setPhoto()");
630 // Prevent bitmap from being restored if rotate the device.
638 final Bitmap bitmap = ContactPhotoUtils.getBitmapFromUri(mContext, uri); local
639 setPhoto(mRawContactId, bitmap, uri);
  /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;
172 * @param bmp The bitmap that represents the view being dragged
178 * @param dragRegion Coordinates within the bitmap b for the position of item being dragged.
181 public void startDrag(View v, Bitmap bmp, DragSource source, Object dragInfo,
201 * @param b The bitmap to display as the drag image. It will be re-scaled to the
203 * @param dragLayerX The x position in the DragLayer of the left-top of the bitmap.
204 * @param dragLayerY The y position in the DragLayer of the left-top of the bitmap.
209 * @param dragRegion Coordinates within the bitmap b for the position of item being dragged.
213 public DragView startDrag(Bitmap b, int dragLayerX, int dragLayerY,
274 * Draw the view into a bitmap
300 Bitmap bitmap = Bitmap.createBitmap(cacheBitmap); local
    [all...]
  /packages/apps/Messaging/src/com/android/messaging/sms/
DatabaseMessages.java 24 import android.graphics.Bitmap;
742 final Bitmap bitmap = retriever.getFrameAtTime(-1); local
743 if (bitmap != null) {
744 mWidth = bitmap.getWidth();
745 mHeight = bitmap.getHeight();
748 LogUtil.i(LogUtil.BUGLE_TAG, "loadVideo: Got null bitmap from " + uri);
    [all...]
  /packages/apps/Messaging/src/com/android/messaging/util/
ImageUtils.java 22 import android.graphics.Bitmap;
86 * Transforms a bitmap into a byte array.
90 * @param bitmap Bitmap to convert into bytes
91 * @return byte array of bitmap
93 public static byte[] bitmapToBytes(final Bitmap bitmap, final int quality)
101 bitmap.compress(Bitmap.CompressFormat.JPEG, quality, os);
105 LogUtil.w(TAG, "OutOfMemory converting bitmap to bytes.")
    [all...]
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
SecurityFragment.java 27 import android.graphics.Bitmap;
475 Bitmap bitmap = createBitmapFromDrawable(R.drawable.ic_avatar_default); local
476 mUserManager.setUserIcon(userId, bitmap);
507 private Bitmap createBitmapFromDrawable(@DrawableRes int resId) {
513 Bitmap bitmap = Bitmap.createBitmap(icon.getIntrinsicWidth(), icon.getIntrinsicHeight(), local
514 Bitmap.Config.ARGB_8888);
515 icon.draw(new Canvas(bitmap));
    [all...]
  /prebuilts/ndk/current/platforms/android-12/arch-arm/usr/include/linux/raid/
md_k.h 160 struct bitmap *bitmap; member in struct:mddev_s
  /prebuilts/ndk/current/platforms/android-12/arch-mips/usr/include/linux/raid/
md_k.h 160 struct bitmap *bitmap; member in struct:mddev_s
  /prebuilts/ndk/current/platforms/android-12/arch-x86/usr/include/linux/raid/
md_k.h 160 struct bitmap *bitmap; member in struct:mddev_s
  /prebuilts/ndk/current/platforms/android-13/arch-arm/usr/include/linux/raid/
md_k.h 160 struct bitmap *bitmap; member in struct:mddev_s
  /prebuilts/ndk/current/platforms/android-13/arch-mips/usr/include/linux/raid/
md_k.h 160 struct bitmap *bitmap; member in struct:mddev_s
  /prebuilts/ndk/current/platforms/android-13/arch-x86/usr/include/linux/raid/
md_k.h 160 struct bitmap *bitmap; member in struct:mddev_s
  /prebuilts/ndk/current/platforms/android-14/arch-arm/usr/include/linux/raid/
md_k.h 160 struct bitmap *bitmap; member in struct:mddev_s

Completed in 855 milliseconds

<<21222324252627282930>>