HomeSort by relevance Sort by last modified time
    Searched defs:bitmap (Results 326 - 350 of 520) sorted by null

<<11121314151617181920>>

  /frameworks/base/media/java/android/media/videoeditor/
MediaItem.java 31 import android.graphics.Bitmap;
411 * or if the bitmap is not specified or if the dimensions of the
412 * bitmap do not match the dimensions of the media item
436 final Bitmap bitmap = frame.getBitmap(); local
437 if (bitmap == null) {
438 throw new IllegalArgumentException("Overlay bitmap not specified");
451 * The dimensions of the overlay bitmap must be the same as the
454 if (bitmap.getWidth() != scaledWidth || bitmap.getHeight() != scaledHeight)
    [all...]
  /frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
KeyguardTransportControlView.java 23 import android.graphics.Bitmap;
103 if (mMetadata.bitmap != null) {
104 mMetadata.bitmap.recycle();
106 mMetadata.bitmap = (Bitmap) msg.obj;
107 mAlbumArt.setImageBitmap(mMetadata.bitmap);
158 public void setArtwork(int generationId, Bitmap bitmap) {
161 handler.obtainMessage(MSG_SET_ARTWORK, generationId, 0, bitmap).sendToTarget();
165 public void setAllMetadata(int generationId, Bundle metadata, Bitmap bitmap)
249 private Bitmap bitmap; field in class:KeyguardTransportControlView.Metadata
    [all...]
  /frameworks/ex/carousel/java/com/android/ex/carousel/
CarouselViewHelper.java 4 import android.graphics.Bitmap;
110 final Bitmap bitmap = getTexture(id); local
111 if (bitmap != null) {
112 mSyncHandler.obtainMessage(SET_TEXTURE_N, id, 0, bitmap).sendToTarget();
122 final Bitmap bitmap = getDetailTexture(id); local
123 if (bitmap != null) {
124 mSyncHandler.obtainMessage(SET_DETAIL_TEXTURE_N, id, 0, bitmap).sendToTarget();
147 mCarouselView.setTextureForItem(id, (Bitmap) msg.obj)
    [all...]
  /frameworks/ex/carousel/test/src/com/android/carouseltest/
TaskSwitcherActivity.java 39 import android.graphics.Bitmap;
44 import android.graphics.Bitmap.Config;
64 private Bitmap mBlankBitmap = Bitmap.createBitmap(128, 128, Config.RGB_565);
69 Bitmap thumbnail;
76 public ActivityDescription(Bitmap _thumbnail,
143 public Bitmap getTexture(int n) {
145 Bitmap bitmap = desc.thumbnail == null ? mBlankBitmap : desc.thumbnail; local
146 return bitmap;
151 Bitmap bitmap = null; local
    [all...]
  /frameworks/rs/
rsFont.cpp 112 uint8_t* bitmap, uint32_t bitmapW, uint32_t bitmapH) {
132 bitmap[bY * bitmapW + bX] = tempCol;
162 uint8_t *bitmap, uint32_t bitmapW, uint32_t bitmapH) {
205 case BITMAP:
206 drawCachedGlyph(cachedGlyph, penX, penY, bitmap, bitmapW, bitmapH);
250 FT_Bitmap *bitmap = &mFace->glyph->bitmap; local
252 // Now copy the bitmap into the cache texture
256 // Let the font state figure out where to put the bitmap
258 glyph->mIsValid = state->cacheBitmap(bitmap, &startX, &startY)
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/group/
SuggestedMemberListAdapter.java 21 import android.graphics.Bitmap;
148 Bitmap bitmap = BitmapFactory.decodeByteArray(byteArray, 0, byteArray.length); local
149 icon.setImageBitmap(bitmap);
  /packages/apps/ContactsCommon/src/com/android/contacts/common/list/
ShortcutIntentBuilder.java 24 import android.graphics.Bitmap;
242 private Bitmap getPhotoBitmap(byte[] bitmapData) {
243 Bitmap bitmap; local
245 bitmap = BitmapFactory.decodeByteArray(bitmapData, 0, bitmapData.length, null);
247 bitmap = ((BitmapDrawable) mContext.getResources().getDrawableForDensity(
250 return bitmap;
255 Bitmap bitmap = getPhotoBitmap(bitmapData); local
274 final Bitmap icon = generateQuickContactIcon(bitmap)
291 Bitmap bitmap = getPhotoBitmap(bitmapData); 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/filtershow/cache/
CachingPipeline.java 21 import android.graphics.Bitmap;
37 private static final Bitmap.Config BITMAP_CONFIG = Bitmap.Config.ARGB_8888;
43 private volatile Bitmap mOriginalBitmap = null;
44 private volatile Bitmap mResizedOriginalBitmap = null;
110 mOriginalBitmap = null; // just a reference to the bitmap in ImageLoader
182 public void setOriginal(Bitmap bitmap) {
183 mOriginalBitmap = bitmap;
184 Log.v(LOGTAG,"setOriginal, size " + bitmap.getWidth() + " x " + bitmap.getHeight())
243 Bitmap bitmap = request.getBitmap(); local
372 Bitmap bitmap = buffer.getProducer(); local
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/presets/
ImagePreset.java 19 import android.graphics.Bitmap;
62 private Bitmap mPreviewImage;
443 public Bitmap apply(Bitmap original, FilterEnvironment environment) {
444 Bitmap bitmap = original; local
445 bitmap = applyFilters(bitmap, -1, -1, environment);
446 return applyBorder(bitmap, environment);
449 public Bitmap applyGeometry(Bitmap bitmap, FilterEnvironment environment)
    [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() {
134 int r = bitmap.getWidth() + x;
135 int b = bitmap.getHeight() + y
    [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/Launcher2/src/com/android/launcher2/
LauncherProvider.java 42 import android.graphics.Bitmap;
614 Bitmap bitmap = Utilities.resampleIconBitmap( local
617 if (bitmap != null) {
619 data = ItemInfo.flattenBitmap(bitmap);
624 bitmap.recycle();
    [all...]
  /bionic/libc/kernel/common/linux/raid/
md_k.h 159 struct bitmap *bitmap; member in struct:mddev_s
  /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);
  /cts/tests/tests/widget/src/android/widget/cts/
ImageViewTest.java 29 import android.graphics.Bitmap;
207 Bitmap.Config viewConfig = imageViewBitmap.getBitmap().getConfig();
208 Bitmap testimageBitmap = WidgetTestUtils.getUnscaledAndDitheredBitmap(
239 final Bitmap bitmap = local
241 mImageView.setImageBitmap(bitmap);
246 WidgetTestUtils.assertEquals(bitmap, imageViewBitmap.getBitmap());
RemoteViewsTest.java 28 import android.graphics.Bitmap;
184 Bitmap imageViewBitmap = ((BitmapDrawable) image.getDrawable()).getBitmap();
185 Bitmap expectedBitmap = WidgetTestUtils.getUnscaledAndDitheredBitmap(
356 Bitmap bitmap = local
358 mRemoteViews.setImageViewBitmap(R.id.remoteView_image, bitmap);
361 WidgetTestUtils.assertEquals(bitmap, ((BitmapDrawable) image.getDrawable()).getBitmap());
363 mRemoteViews.setImageViewBitmap(R.id.remoteView_absolute, bitmap);
376 Bitmap bitmap local
    [all...]
  /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...]
  /external/chromium/chrome/browser/
aeropeek_manager.cc 163 // Sends a thumbnail bitmap to Windows. Windows assumes this function is called
166 HRESULT CallDwmSetIconicThumbnail(HWND window, HBITMAP bitmap, DWORD flags) {
179 return dwm_set_iconic_thumbnail(window, bitmap, flags);
182 // Sends a preview bitmap to Windows. Windows assumes this function is called
186 HBITMAP bitmap,
201 return dwm_set_live_preview_bitmap(window, bitmap, client, flags);
315 // Calculate the size of the aeropeek thumbnail and resize the tab bitmap
316 // to the size. When the given bitmap is an empty bitmap, we create a dummy
317 // bitmap from the content-area rectangle to create a DIB. (We don't need t
1246 const SkBitmap& bitmap = canvas.getTopPlatformDevice().accessBitmap(false); local
    [all...]
  /external/chromium/chrome/browser/themes/
browser_theme_pack.cc 522 SkBitmap bitmap; local
524 &bitmap)) {
530 SkBitmap* ret = new SkBitmap(bitmap);
874 SkBitmap bitmap; local
876 &bitmap)) {
877 (*raw_bitmaps)[it->first] = new SkBitmap(bitmap);
    [all...]