HomeSort by relevance Sort by last modified time
    Searched defs:bitmap (Results 476 - 500 of 800) sorted by null

<<11121314151617181920>>

  /packages/apps/ContactsCommon/src/com/android/contacts/common/list/
ShortcutIntentBuilder.java 24 import android.graphics.Bitmap;
256 Bitmap bitmap = BitmapFactory.decodeByteArray(bitmapData, 0, bitmapData.length, null); local
257 return new BitmapDrawable(mContext.getResources(), bitmap);
289 final Bitmap icon = generateQuickContactIcon(drawable);
309 Bitmap bitmap; local
314 bitmap = generatePhoneNumberIcon(drawable, phoneType, phoneLabel,
318 bitmap = generatePhoneNumberIcon(drawable, phoneType, phoneLabel,
326 intent.putExtra(Intent.EXTRA_SHORTCUT_ICON, bitmap);
336 Bitmap bitmap = Bitmap.createBitmap(mIconSize, mIconSize, Bitmap.Config.ARGB_8888); local
    [all...]
  /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/Music/src/com/android/music/
TouchInterceptor.java 22 import android.graphics.Bitmap;
71 private Bitmap mDragBitmap;
135 Bitmap bitmap = Bitmap.createBitmap(item.getDrawingCache()); local
136 startDragging(bitmap, x, y);
368 private void startDragging(Bitmap bm, int x, int y) {
  /packages/apps/Settings/src/com/android/settings/
ActivityPicker.java 33 import android.graphics.Bitmap;
367 // Ensure the bitmap has a density.
369 Bitmap bitmap = bitmapDrawable.getBitmap(); local
370 if (bitmap.getDensity() == Bitmap.DENSITY_NONE) {
387 final Bitmap.Config c = icon.getOpacity() != PixelFormat.OPAQUE ?
388 Bitmap.Config.ARGB_8888 : Bitmap.Config.RGB_565;
389 final Bitmap thumb = Bitmap.createBitmap(mIconWidth, mIconHeight, c)
    [all...]
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/users/
RestrictedProfileDialogFragment.java 27 import android.graphics.Bitmap;
111 Bitmap bitmap = createBitmapFromDrawable(R.drawable.ic_avatar_default);
112 mUserManager.setUserIcon(userId, bitmap);
444 private Bitmap createBitmapFromDrawable(int resId) {
447 Bitmap bitmap = Bitmap.createBitmap(icon.getIntrinsicWidth(), icon.getIntrinsicHeight(), local
448 Bitmap.Config.ARGB_8888);
449 icon.draw(new Canvas(bitmap));
    [all...]
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/
TransitionImage.java 50 * - {@link #setUnclippedRect(RectF)} bounds of original bitmap without clipping, the rect
100 public void setBitmap(BitmapDrawable bitmap) {
101 mBitmap = bitmap;
203 BitmapDrawable bitmap = null; local
208 bitmap = downloader.getLargestBitmapFromMemCache(key);
210 if (bitmap == null) {
212 bitmap = new BitmapDrawable(context.getResources(),
216 if (bitmap == null) {
231 setBitmap(bitmap);
297 * set bounds and bitmap
    [all...]
  /packages/services/Telephony/src/com/android/services/telephony/
TelecomAccountRegistry.java 23 import android.graphics.Bitmap;
184 Bitmap bitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888); local
185 Canvas canvas = new Canvas(bitmap);
189 icon = Icon.createWithBitmap(bitmap);
  /packages/apps/Launcher2/src/com/android/launcher2/
LauncherProvider.java 43 import android.graphics.Bitmap;
731 Bitmap bitmap = Utilities.resampleIconBitmap( local
734 if (bitmap != null) {
736 data = ItemInfo.flattenBitmap(bitmap);
741 bitmap.recycle();
    [all...]
  /packages/providers/TvProvider/src/com/android/providers/tv/
TvProvider.java 37 import android.graphics.Bitmap;
1025 Bitmap bitmap = BitmapFactory.decodeStream(is); local
    [all...]
  /art/runtime/gc/collector/
concurrent_copying.cc 110 const char* bitmap_name = space->IsImageSpace() ? "cc image space bitmap" :
111 "cc zygote space bitmap";
113 accounting::ContinuousSpaceBitmap* bitmap = local
115 cc_heap_bitmap_->AddContinuousSpaceBitmap(bitmap);
116 cc_bitmaps_.push_back(bitmap);
118 accounting::ContinuousSpaceBitmap* bitmap = local
119 accounting::ContinuousSpaceBitmap::Create("cc region space bitmap",
121 cc_heap_bitmap_->AddContinuousSpaceBitmap(bitmap);
122 cc_bitmaps_.push_back(bitmap);
123 region_space_bitmap_ = bitmap;
    [all...]
  /cts/tests/tests/graphics/src/android/graphics/cts/
PaintTest.java 32 import android.graphics.Bitmap;
282 Bitmap bitmap = Bitmap.createBitmap(color, width, height, Bitmap.Config.RGB_565); local
286 Shader s = new BitmapShader(bitmap, Shader.TileMode.REPEAT, Shader.TileMode.REPEAT);
    [all...]
  /cts/tests/tests/openglperf/src/android/openglperf/cts/
PlanetsRenderer.java 21 import android.graphics.Bitmap;
353 Bitmap bitmap = BitmapFactory.decodeStream(in); local
360 GLUtils.texImage2D(GL10.GL_TEXTURE_2D, 0, bitmap, 0);
  /developers/build/prebuilts/gradle/DataLayer/Application/src/main/java/com/example/android/wearable/datalayer/
MainActivity.java 24 import android.graphics.Bitmap;
99 private Bitmap mImageBitmap;
137 mImageBitmap = (Bitmap) extras.get("data");
415 * Builds an {@link com.google.android.gms.wearable.Asset} from a bitmap. The image that we get
420 private static Asset toAsset(Bitmap bitmap) {
424 bitmap.compress(Bitmap.CompressFormat.PNG, 100, byteStream);
  /developers/samples/android/wearable/wear/DataLayer/Application/src/main/java/com/example/android/wearable/datalayer/
MainActivity.java 24 import android.graphics.Bitmap;
99 private Bitmap mImageBitmap;
137 mImageBitmap = (Bitmap) extras.get("data");
415 * Builds an {@link com.google.android.gms.wearable.Asset} from a bitmap. The image that we get
420 private static Asset toAsset(Bitmap bitmap) {
424 bitmap.compress(Bitmap.CompressFormat.PNG, 100, byteStream);
  /development/apps/GestureBuilder/src/com/android/gesture/builder/
GestureBuilderActivity.java 43 import android.graphics.Bitmap;
353 final Bitmap bitmap = gesture.toBitmap(mThumbnailSize, mThumbnailSize, local
359 mAdapter.addBitmap(namedGesture.gesture.getID(), bitmap); local
417 void addBitmap(Long id, Bitmap bitmap) {
418 mThumbnails.put(id, new BitmapDrawable(bitmap));
  /development/ndk/platforms/android-3/include/linux/raid/
md_k.h 160 struct bitmap *bitmap; member in struct:mddev_s
  /development/samples/AccelerometerPlay/src/com/example/android/accelerometerplay/
AccelerometerPlayActivity.java 21 import android.graphics.Bitmap;
128 private Bitmap mBitmap;
129 private Bitmap mWood;
356 Bitmap ball = BitmapFactory.decodeResource(getResources(), R.drawable.ball);
359 mBitmap = Bitmap.createScaledBitmap(ball, dstWidth, dstHeight, true);
363 opts.inPreferredConfig = Bitmap.Config.RGB_565;
370 // the bitmap
438 final Bitmap bitmap = mBitmap; local
449 canvas.drawBitmap(bitmap, x, y, null)
    [all...]
  /development/samples/browseable/DataLayer/Application/src/com.example.android.wearable.datalayer/
MainActivity.java 24 import android.graphics.Bitmap;
99 private Bitmap mImageBitmap;
137 mImageBitmap = (Bitmap) extras.get("data");
415 * Builds an {@link com.google.android.gms.wearable.Asset} from a bitmap. The image that we get
420 private static Asset toAsset(Bitmap bitmap) {
424 bitmap.compress(Bitmap.CompressFormat.PNG, 100, byteStream);

Completed in 1965 milliseconds

<<11121314151617181920>>