HomeSort by relevance Sort by last modified time
    Searched refs:Bitmap (Results 326 - 350 of 619) sorted by null

<<11121314151617181920>>

  /frameworks/base/core/java/android/content/
ClipData.java 20 import android.graphics.Bitmap;
154 final Bitmap mIcon;
427 * is inferred about the URI -- if it is a content: URI holding a bitmap,
458 public Bitmap getIcon() {
514 mIcon = Bitmap.CREATOR.createFromParcel(in);
  /frameworks/base/media/java/android/media/videoeditor/
VideoEditor.java 23 import android.graphics.Bitmap;
170 private Bitmap mOverlayBitmap;
185 * Releases the bitmap
206 * @param overlayBitmap The overlay bitmap
209 void set(Bitmap overlayBitmap, int renderingMode) {
224 * rendering the overlay bitmap with the specified
227 * @param destBitmap The destination bitmap
229 public void renderOverlay(Bitmap destBitmap) {
MediaImageItem.java 20 import android.graphics.Bitmap;
155 final Bitmap imageBitmap;
168 imageBitmap.compress(Bitmap.CompressFormat.JPEG, 50,f1);
606 public Bitmap getThumbnail(int width, int height, long timeMs) throws IOException {
627 final Bitmap thumbnail = scaleImage(mFilename, width, height);
996 final Bitmap bitmap = Bitmap.createBitmap((int)bitmapWidth, local
    [all...]
  /frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
Animated3dActivity.java 22 import android.graphics.Bitmap;
  /packages/apps/Browser/src/com/android/browser/
DownloadTouchIcon.java 30 import android.graphics.Bitmap;
134 Bitmap icon = BitmapFactory.decodeStream(
174 private void storeIcon(Bitmap icon) {
187 icon.compress(Bitmap.CompressFormat.PNG, 100, os);
PreloadController.java 21 import android.graphics.Bitmap;
82 public void onPageStarted(Tab tab, WebView view, Bitmap favicon) {
116 public void onFavicon(Tab tab, WebView view, Bitmap icon) {
173 public Bitmap getDefaultVideoPoster() {
  /packages/apps/Contacts/src/com/android/contacts/widget/
TransitionAnimationView.java 25 import android.graphics.Bitmap;
47 private Bitmap mPreviousStateBitmap;
116 mPreviousStateBitmap = Bitmap.createBitmap(
117 width, height, Bitmap.Config.ARGB_8888);
  /packages/apps/Contacts/tests/src/com/android/contacts/tests/allintents/
ResultActivity.java 25 import android.graphics.Bitmap;
86 } else if (value instanceof Bitmap) {
87 addRowWithBitmap(label, (Bitmap)value);
165 private void addRowWithBitmap(String label, Bitmap bitmap) {
171 imageView.setImageBitmap(bitmap);
  /packages/apps/Launcher2/src/com/android/launcher2/
Cling.java 22 import android.graphics.Bitmap;
164 Bitmap b = Bitmap.createBitmap(getMeasuredWidth(), getMeasuredHeight(),
165 Bitmap.Config.ARGB_8888);
DragView.java 23 import android.graphics.Bitmap;
35 private Bitmap mBitmap;
58 * @param bitmap The view that we're dragging around. We scale it up when we draw it.
62 public DragView(Launcher launcher, Bitmap bitmap, int registrationX, int registrationY,
105 mBitmap = Bitmap.createBitmap(bitmap, left, top, width, height, scale, true);
108 // The point in our scaled bitmap that the touch events are located
DragController.java 20 import android.graphics.Bitmap;
170 * @param dragRegion Coordinates within the bitmap b for the position of item being dragged.
175 Bitmap b = getViewBitmap(v);
199 * @param bmp The bitmap that represents the view being dragged
204 * @param dragRegion Coordinates within the bitmap b for the position of item being dragged.
207 public void startDrag(View v, Bitmap bmp, DragSource source, Object dragInfo, int dragAction,
224 * @param b The bitmap to display as the drag image. It will be re-scaled to the
226 * @param dragLayerX The x position in the DragLayer of the left-top of the bitmap.
227 * @param dragLayerY The y position in the DragLayer of the left-top of the bitmap.
233 public void startDrag(Bitmap b, int dragLayerX, int dragLayerY
328 Bitmap bitmap = Bitmap.createBitmap(cacheBitmap); local
    [all...]
  /development/samples/TicTacToeLib/src/com/example/android/tictactoe/library/
GameView.java 23 import android.graphics.Bitmap;
28 import android.graphics.Bitmap.Config;
88 private Bitmap mBmpPlayer1;
89 private Bitmap mBmpPlayer2;
444 private Bitmap getResBitmap(int bmpResId) {
449 Bitmap bmp = BitmapFactory.decodeResource(res, bmpResId, opts);
458 bmp = Bitmap.createBitmap(w, h, Config.ARGB_8888);
  /frameworks/base/core/java/android/view/
GLES20RecordingCanvas.java 19 import android.graphics.Bitmap;
35 * Bitmap objects that it draws, preventing the backing memory of Bitmaps from being freed while
95 public void drawPatch(Bitmap bitmap, byte[] chunks, RectF dst, Paint paint) {
96 super.drawPatch(bitmap, chunks, dst, paint);
97 mDisplayList.mBitmaps.add(bitmap);
98 // Shaders in the Paint are ignored when drawing a Bitmap
102 public void drawBitmap(Bitmap bitmap, float left, float top, Paint paint) {
103 super.drawBitmap(bitmap, left, top, paint)
    [all...]
  /packages/apps/Email/src/com/android/email/activity/
MessageListItem.java 22 import android.graphics.Bitmap;
93 private static Bitmap sAttachmentIcon;
94 private static Bitmap sInviteIcon;
96 private static Bitmap sFavoriteIconOff;
97 private static Bitmap sFavoriteIconOn;
98 private static Bitmap sSelectedIconOn;
99 private static Bitmap sSelectedIconOff;
100 private static Bitmap sStateReplied;
101 private static Bitmap sStateForwarded;
102 private static Bitmap sStateRepliedAndForwarded
    [all...]
  /frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
MediaMetadataRetrieverTest.java 21 import android.graphics.Bitmap;
89 Bitmap bitmap = retriever.getFrameAtTime(-1); local
90 assertTrue(bitmap != null);
93 bitmap.compress(Bitmap.CompressFormat.JPEG, 75, stream);
96 Log.e(TAG, "Fails to convert the bitmap to a JPEG file for " + MediaNames.THUMBNAIL_METADATA_TEST_FILES[i]);
147 Bitmap bitmap = retriever.getFrameAtTime(-1); local
148 assertTrue(bitmap != null)
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/recent/
RecentTasksLoader.java 33 import android.graphics.Bitmap;
62 private Bitmap mDefaultThumbnailBackground;
93 mDefaultThumbnailBackground = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888);
109 public Bitmap getDefaultThumbnail() {
165 if (DEBUG) Log.v(TAG, "Loaded bitmap for task "
  /packages/apps/Gallery2/src/com/android/gallery3d/data/
LocalImage.java 29 import android.graphics.Bitmap;
153 public Job<Bitmap> requestImage(int type) {
167 public Bitmap onDecodeOriginal(JobContext jc, int type) {
169 options.inPreferredConfig = Bitmap.Config.ARGB_8888;
184 Bitmap bitmap = DecodeUtils.requestDecodeIfBigEnough( local
186 if (bitmap != null) return bitmap;
  /packages/apps/Gallery/src/com/android/camera/
GalleryPicker.java 34 import android.graphics.Bitmap;
502 final Bitmap b = makeMiniThumbBitmap(THUMB_SIZE, THUMB_SIZE,
519 private void updateThumbBitmap(Item item, Bitmap b) {
620 private static void placeImage(Bitmap image, Canvas c, Paint paint,
634 private Bitmap makeMiniThumbBitmap(int width, int height,
653 final Bitmap b = Bitmap.createBitmap(width, height,
654 Bitmap.Config.ARGB_8888);
681 Bitmap temp = null;
690 Bitmap newMap = temp.copy(temp.getConfig(), true)
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/app/
PhotoDataAdapter.java 37 import android.graphics.Bitmap;
218 private void updateScreenNail(long version, Future<Bitmap> future) {
221 Bitmap screenNail = future.get();
300 Bitmap screennail = entry == null ? null : entry.screenNail;
347 public Bitmap getBackupImage() {
368 public Bitmap getTile(int level, int x, int y, int tileSize) {
413 Bitmap screenNail = entry.screenNail;
493 private static class ScreenNailJob implements Job<Bitmap> {
501 public Bitmap run(JobContext jc) {
502 Bitmap bitmap = mItem.requestImage(MediaItem.TYPE_THUMBNAIL).run(jc) local
    [all...]
  /packages/apps/Music/src/com/android/music/
MusicUtils.java 32 import android.graphics.Bitmap;
840 private Bitmap mBitmap;
841 public FastBitmapDrawable(Bitmap b) {
    [all...]
  /cts/tests/tests/graphics/src/android/graphics/drawable/cts/
ClipDrawableTest.java 26 import android.graphics.Bitmap;
27 import android.graphics.Bitmap.Config;
142 Bitmap bitmap = Bitmap.createBitmap(100, 50, Config.RGB_565); local
143 BitmapDrawable bmpDrawable = new BitmapDrawable(bitmap);
144 bmpDrawable.setTargetDensity(bitmap.getDensity()); // avoid scaling
162 Bitmap bitmap = Bitmap.createBitmap(100, 50, Config.RGB_565) local
    [all...]
  /packages/apps/Camera/src/com/android/camera/
Util.java 27 import android.graphics.Bitmap;
112 // Rotates the bitmap by the specified degree.
113 // If a new bitmap is created, the original bitmap is recycled.
114 public static Bitmap rotate(Bitmap b, int degrees) {
118 // Rotates and/or mirrors the bitmap. If a new bitmap is created, the
119 // original bitmap is recycled.
120 public static Bitmap rotateAndMirror(Bitmap b, int degrees, boolean mirror)
    [all...]
  /frameworks/base/core/java/com/android/internal/widget/
LockPatternView.java 23 import android.graphics.Bitmap;
112 private Bitmap mBitmapBtnDefault;
113 private Bitmap mBitmapBtnTouched;
114 private Bitmap mBitmapCircleDefault;
115 private Bitmap mBitmapCircleGreen;
116 private Bitmap mBitmapCircleRed;
118 private Bitmap mBitmapArrowGreenUp;
119 private Bitmap mBitmapArrowRedUp;
280 // bitmaps have the size of the largest bitmap in this group
281 final Bitmap bitmaps[] = { mBitmapBtnDefault, mBitmapBtnTouched, mBitmapCircleDefault
    [all...]
  /frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
VideoEditorHelper.java 27 import android.graphics.Bitmap;
122 *This Method Creates a Bitmap with the given input file
124 * @param file the Input whose Bitmap has top be extracted
127 public Bitmap getBitmap(String file, int width, int height) throws IOException {
128 assertNotNull("Bitmap File is Null", file);
130 Bitmap overlayBmp = null;
140 final Bitmap srcBitmap = BitmapFactory.decodeStream(inputStream);
141 overlayBmp = Bitmap.createBitmap(srcBitmap);
142 assertNotNull("Bitmap 1", srcBitmap);
143 assertNotNull("Bitmap 2", overlayBmp)
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/photoeditor/
RendererUtils.java 19 import android.graphics.Bitmap;
76 public static int createTexture(Bitmap bitmap) {
80 GLUtils.texImage2D(GLES20.GL_TEXTURE_2D, 0, bitmap, 0);
94 public static Bitmap saveTexture(int texture, int width, int height) {
107 Bitmap bitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888); local
108 bitmap.copyPixelsFromBuffer(buffer)
    [all...]

Completed in 930 milliseconds

<<11121314151617181920>>