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

<<21222324252627282930>>

  /frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/
ImageGoodnessFilter.java 20 import android.graphics.Bitmap;
171 Bitmap bitmap = inputImage.toBitmap(); local
173 new AsyncOperation().execute(bitmap);
196 private class AsyncOperation extends AsyncTask<Bitmap, Void, String> {
197 private Bitmap b;
204 protected String doInBackground(Bitmap... params) {
  /frameworks/ex/framesequence/src/android/support/rastermill/
FrameSequenceDrawable.java 19 import android.graphics.Bitmap;
73 * Called by FrameSequenceDrawable to aquire an 8888 Bitmap with minimum dimensions.
75 public abstract Bitmap acquireBitmap(int minWidth, int minHeight);
78 * Called by FrameSequenceDrawable to release a Bitmap it no longer needs. The Bitmap
83 public abstract void releaseBitmap(Bitmap bitmap);
88 public Bitmap acquireBitmap(int minWidth, int minHeight) {
89 return Bitmap.createBitmap(minWidth, minHeight, Bitmap.Config.ARGB_8888)
249 Bitmap bitmap = bitmapProvider.acquireBitmap(minWidth, minHeight); local
    [all...]
  /frameworks/layoutlib/bridge/src/android/graphics/
Bitmap_Delegate.java 31 import android.graphics.Bitmap.Config;
49 * Delegate implementing the native methods of android.graphics.Bitmap
51 * Through the layoutlib_create tool, the original native methods of Bitmap have been replaced
56 * it and the original Bitmap class.
87 * Returns the native delegate associated to a given an int referencing a {@link Bitmap} object.
94 public static Bitmap_Delegate getDelegate(@Nullable Bitmap bitmap) {
95 return bitmap == null ? null : getDelegate(bitmap.getNativeInstance());
99 * Creates and returns a {@link Bitmap} initialized with the given file content
493 Bitmap_Delegate bitmap = sManager.getDelegate(nativeBitmap); local
    [all...]
  /frameworks/opt/bitmap/src/com/android/bitmap/drawable/
BasicBitmapDrawable.java 16 package com.android.bitmap.drawable;
28 import com.android.bitmap.BitmapCache;
29 import com.android.bitmap.DecodeTask;
30 import com.android.bitmap.DecodeTask.DecodeCallback;
31 import com.android.bitmap.DecodeTask.DecodeOptions;
32 import com.android.bitmap.NamedThreadFactory;
33 import com.android.bitmap.RequestKey;
34 import com.android.bitmap.RequestKey.Cancelable;
35 import com.android.bitmap.RequestKey.FileDescriptorFactory;
36 import com.android.bitmap.ReusableBitmap
    [all...]
StyledCornersBitmapDrawable.java 17 package com.android.bitmap.drawable;
30 import com.android.bitmap.BitmapCache;
  /frameworks/support/graphics/drawable/animated/src/androidTest/java/androidx/vectordrawable/graphics/drawable/tests/
AnimatedVectorDrawableTest.java 32 import android.graphics.Bitmap;
85 private Bitmap mBitmap;
115 mBitmap = Bitmap.createBitmap(IMAGE_WIDTH, IMAGE_HEIGHT, Bitmap.Config.ARGB_8888);
155 * Render AVD sequence in an bitmap for several frames with the same content, and make sure
163 final Bitmap bitmap = Bitmap.createBitmap(IMAGE_WIDTH, IMAGE_WIDTH, local
164 Bitmap.Config.ARGB_8888);
165 final Canvas c = new Canvas(bitmap);
302 final Bitmap bitmap = Bitmap.createBitmap(imageButton.getWidth(), imageButton.getHeight(), local
469 final Bitmap bitmap = Bitmap.createBitmap(IMAGE_WIDTH, IMAGE_WIDTH, local
    [all...]
  /frameworks/support/textclassifier/src/main/java/androidx/textclassifier/
TextClassification.java 20 import android.graphics.Bitmap;
273 final Bitmap primaryIconBitmap = drawableToBitmap(mPrimaryIcon, MAX_PRIMARY_ICON_SIZE);
306 ? null : new BitmapDrawable(null, Bitmap.CREATOR.createFromParcel(in));
309 mSecondaryIcons = bitmapsToDrawables(in.createTypedArrayList(Bitmap.CREATOR));
317 * Returns a Bitmap representation of the Drawable
320 * @param maxDims The maximum edge length of the resulting bitmap (in pixels).
323 private static Bitmap drawableToBitmap(@Nullable Drawable drawable, int maxDims) {
337 return Bitmap.createScaledBitmap(
343 final Bitmap bitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888) local
    [all...]
  /frameworks/support/transition/src/main/java/androidx/transition/
ChangeBounds.java 27 import android.graphics.Bitmap;
430 Bitmap bitmap = Bitmap.createBitmap(view.getWidth(), view.getHeight(), local
431 Bitmap.Config.ARGB_8888);
432 Canvas canvas = new Canvas(bitmap);
435 bitmap);
  /packages/apps/Contacts/src/com/android/contacts/
ShortcutIntentBuilder.java 27 import android.graphics.Bitmap;
262 Bitmap bitmap = BitmapFactory.decodeByteArray(bitmapData, 0, bitmapData.length, null); local
263 return new BitmapDrawable(mContext.getResources(), bitmap);
300 final Bitmap icon = generateQuickContactIcon(drawable);
317 final Bitmap icon;
369 private Bitmap generateQuickContactIcon(Drawable photo) {
371 Bitmap bitmap = Bitmap.createBitmap(mIconSize, mIconSize, Bitmap.Config.ARGB_8888) local
    [all...]
  /packages/apps/DeskClock/src/com/android/deskclock/
Utils.java 28 import android.graphics.Bitmap;
78 import static android.graphics.Bitmap.Config.ARGB_8888;
503 * @return a Bitmap containing an image of the {@code view} at its current size
505 public static Bitmap createBitmap(View view) {
506 final Bitmap bitmap = Bitmap.createBitmap(view.getWidth(), view.getHeight(), ARGB_8888); local
507 final Canvas canvas = new Canvas(bitmap);
509 return bitmap;
  /packages/apps/Dialer/java/com/android/dialer/lettertile/
LetterTileDrawable.java 21 import android.graphics.Bitmap;
22 import android.graphics.Bitmap.Config;
190 public Bitmap getBitmap(int width, int height) {
191 Bitmap bitmap = Bitmap.createBitmap(width, height, Config.ARGB_8888); local
193 Canvas canvas = new Canvas(bitmap);
195 return bitmap;
  /packages/apps/Gallery2/src/com/android/gallery3d/app/
SlideshowPage.java 21 import android.graphics.Bitmap;
68 public Bitmap bitmap; field in class:SlideshowPage.Slide
72 public Slide(MediaItem item, int index, Bitmap bitmap) {
73 this.bitmap = bitmap;
164 mSlideshowView.next(slide.bitmap, slide.item.getRotation());
  /packages/apps/Gallery2/src/com/android/gallery3d/data/
LocalImage.java 23 import android.graphics.Bitmap;
174 public Job<Bitmap> requestImage(int type) {
190 public Bitmap onDecodeOriginal(JobContext jc, final int type) {
192 options.inPreferredConfig = Bitmap.Config.ARGB_8888;
208 Bitmap bitmap = DecodeUtils.decodeIfBigEnough( local
210 if (bitmap != null) return bitmap;
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/cache/
ImageLoader.java 24 import android.graphics.Bitmap;
202 * Takes an orientation and a bitmap, and returns the bitmap transformed
205 public static Bitmap orientBitmap(Bitmap bitmap, int ori) {
207 int w = bitmap.getWidth();
208 int h = bitmap.getHeight();
243 return bitmap;
245 return Bitmap.createBitmap(bitmap, 0, 0, bitmap.getWidth()
279 Bitmap bitmap = decoder.decodeRegion(imageBounds, options); local
471 Bitmap bitmap = loadBitmapWithBackouts(context, sourceUri, sampleSize); local
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
ImageCrop.java 21 import android.graphics.Bitmap;
232 Bitmap image = master.getFiltersOnlyImage();
257 Bitmap bitmap = MasterImage.getImage().getFiltersOnlyImage(); local
258 if (bitmap == null) {
261 if (!mValidDraw || bitmap == null) {
265 mImageBounds.set(0, 0, bitmap.getWidth(), bitmap.getHeight());
270 bitmap.getWidth(), bitmap.getHeight(), canvas.getWidth(), canvas.getHeight())
    [all...]
ImageDraw.java 6 import android.graphics.Bitmap;
45 private Bitmap mBitmap;
199 Bitmap bitmap = Bitmap.createBitmap(colors, 16, 16, Bitmap.Config.ARGB_8888); local
200 BitmapShader bs = new BitmapShader(bitmap, Shader.TileMode.REPEAT, Shader.TileMode.REPEAT);
215 public Bitmap getBrush(int brushid) {
216 Bitmap bitmap; local
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/
CachingPipeline.java 21 import android.graphics.Bitmap;
44 private static final Bitmap.Config BITMAP_CONFIG = Bitmap.Config.ARGB_8888;
49 private volatile Bitmap mOriginalBitmap = null;
50 private volatile Bitmap mResizedOriginalBitmap = null;
101 mOriginalBitmap = null; // just a reference to the bitmap in ImageLoader
177 public void setOriginal(Bitmap bitmap) {
178 mOriginalBitmap = bitmap;
179 Log.v(LOGTAG,"setOriginal, size " + bitmap.getWidth() + " x " + bitmap.getHeight())
222 Bitmap bitmap = MasterImage.getImage().getOriginalBitmapHighres(); local
247 Bitmap bitmap = MasterImage.getImage().getOriginalBitmapHighres(); local
269 Bitmap bitmap = MasterImage.getImage().getOriginalBitmapHighres(); local
301 Bitmap bitmap = request.getBitmap(); local
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
TiledTexture.java 19 import android.graphics.Bitmap;
20 import android.graphics.Bitmap.Config;
35 // This class is similar to BitmapTexture, except the bitmap is
37 // upload the whole bitmap but we reduce the time of uploading each tile
52 private static Bitmap sUploadBitmap;
115 public Bitmap bitmap; field in class:TiledTexture.Tile
131 protected Bitmap onGetBitmap() {
132 // make a local copy of the reference to the bitmap,
134 Bitmap localBitmapRef = bitmap
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/ui/
AlbumSlidingWindow.java 19 import android.graphics.Bitmap;
298 protected Future<Bitmap> submitBitmapTask(FutureListener<Bitmap> l) {
304 protected void onLoadComplete(Bitmap bitmap) {
309 Bitmap bitmap = getBitmap(); local
310 if (bitmap == null) return; // error or recycled
312 entry.bitmapTexture = new TiledTexture(bitmap);
  /packages/apps/Launcher3/src/com/android/launcher3/
InstallShortcutReceiver.java 28 import android.graphics.Bitmap;
230 !(isValidExtraType(data, Intent.EXTRA_SHORTCUT_ICON, Bitmap.class))) {
451 Bitmap icon = data.getParcelableExtra(Intent.EXTRA_SHORTCUT_ICON);
573 Bitmap b = BitmapFactory.decodeByteArray(iconArray, 0, iconArray.length);
633 Parcelable bitmap = data.getParcelableExtra(Intent.EXTRA_SHORTCUT_ICON); local
649 if (bitmap instanceof Bitmap) {
650 iconInfo = li.createIconBitmap((Bitmap) bitmap);
  /packages/apps/Launcher3/src/com/android/launcher3/graphics/
LauncherIcons.java 30 import android.graphics.Bitmap;
148 * Returns a bitmap suitable for the all apps view. If the package or the resource do not
169 * Returns a bitmap which is of the appropriate size to be displayed as an icon
171 public BitmapInfo createIconBitmap(Bitmap icon) {
180 * Returns a bitmap suitable for displaying as an icon at various launcher UIs like all apps
182 * The bitmap is also visually normalized with other icons.
189 * Returns a bitmap suitable for displaying as an icon at various launcher UIs like all apps
191 * The bitmap is also visually normalized with other icons.
197 Bitmap bitmap = createIconBitmap(icon, scale[0]) local
303 Bitmap bitmap = bitmapDrawable.getBitmap(); local
324 Bitmap bitmap = Bitmap.createBitmap(textureWidth, textureHeight, local
    [all...]
  /packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/
PreProvisioningController.java 51 import android.graphics.Bitmap;
319 Bitmap bitmap = BitmapFactory.decodeFile(mParams.deviceAdminIconFilePath); local
320 if (bitmap == null) {
323 return new BitmapDrawable(mContext.getResources(), bitmap);
    [all...]
  /packages/apps/Music/src/com/android/music/
TouchInterceptor.java 22 import android.graphics.Bitmap;
70 private Bitmap mDragBitmap;
135 Bitmap bitmap = Bitmap.createBitmap(item.getDrawingCache()); local
136 startDragging(bitmap, x, y);
367 private void startDragging(Bitmap bm, int x, int y) {
  /packages/apps/Settings/src/com/android/settings/
ActivityPicker.java 28 import android.graphics.Bitmap;
371 // Ensure the bitmap has a density.
373 Bitmap bitmap = bitmapDrawable.getBitmap(); local
374 if (bitmap.getDensity() == Bitmap.DENSITY_NONE) {
391 final Bitmap.Config c = icon.getOpacity() != PixelFormat.OPAQUE ?
392 Bitmap.Config.ARGB_8888 : Bitmap.Config.RGB_565;
393 final Bitmap thumb = Bitmap.createBitmap(mIconWidth, mIconHeight, c)
    [all...]
  /prebuilts/maven_repo/bumptech/com/github/bumptech/glide/glide/SNAPSHOT/
glide-SNAPSHOT.jar 

Completed in 931 milliseconds

<<21222324252627282930>>