HomeSort by relevance Sort by last modified time
    Searched refs:Bitmap (Results 551 - 575 of 893) sorted by null

<<21222324252627282930>>

  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
FingerPaint.java 63 private Bitmap mBitmap;
78 mBitmap = Bitmap.createBitmap(w, h, Bitmap.Config.ARGB_8888);
TouchPaint.java 20 import android.graphics.Bitmap;
104 // the contents of the bitmap.
236 private Bitmap mBitmap;
287 Bitmap newBitmap = Bitmap.createBitmap(curW, curH, Bitmap.Config.ARGB_8888);
  /development/samples/SampleSyncAdapter/src/com/example/android/samplesync/client/
NetworkUtilities.java 39 import android.graphics.Bitmap;
234 // Request the avatar image from the server, and create a bitmap
241 final Bitmap avatar = BitmapFactory.decodeStream(connection.getInputStream(),
251 avatar.compress(Bitmap.CompressFormat.JPEG, 95, convertStream);
  /external/replicaisland/src/com/replica/replicaisland/
TextureLibrary.java 27 import android.graphics.Bitmap;
58 sBitmapOptions.inPreferredConfig = Bitmap.Config.RGB_565;
126 /** Loads a bitmap into OpenGL and sets up the common parameters for 2D texture maps. */
161 Bitmap bitmap; local
163 bitmap = BitmapFactory.decodeStream(is);
173 GLUtils.texImage2D(GL10.GL_TEXTURE_2D, 0, bitmap, 0);
183 mCropWorkspace[1] = bitmap.getHeight();
184 mCropWorkspace[2] = bitmap.getWidth();
185 mCropWorkspace[3] = -bitmap.getHeight()
    [all...]
  /frameworks/base/cmds/media/src/com/android/commands/media/
Media.java 22 import android.graphics.Bitmap;
164 public void setArtwork(int generationId, Bitmap artwork) {
170 public void setAllMetadata(int generationId, Bundle metadata, Bitmap artwork) {
  /frameworks/base/core/java/android/os/
UserManager.java 23 import android.graphics.Bitmap;
466 * @param icon the bitmap to set as the photo.
469 public void setUserIcon(int userHandle, Bitmap icon) {
480 * @return a {@link Bitmap} of the user's photo, or null if there's no photo.
483 public Bitmap getUserIcon(int userHandle) {
  /frameworks/base/media/java/android/media/
RemoteControlClient.java 23 import android.graphics.Bitmap;
414 protected Bitmap mEditorArtwork;
506 * @param key the identifier of the bitmap to set. The only valid value is
508 * @param bitmap The bitmap for the artwork, or null if there isn't any.
512 * @see android.graphics.Bitmap
514 public synchronized MetadataEditor putBitmap(int key, Bitmap bitmap)
521 throw(new IllegalArgumentException("Invalid type 'Bitmap' for key "+ key));
523 mEditorArtwork = bitmap;
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
GlobalScreenshot.java 33 import android.graphics.Bitmap;
72 Bitmap image;
136 Bitmap preview = Bitmap.createBitmap(shortSide, shortSide, data.image.getConfig());
149 Bitmap croppedIcon = Bitmap.createScaledBitmap(preview, iconSize, iconSize, true);
193 Bitmap image = params[0].image;
232 image.compress(Bitmap.CompressFormat.PNG, 100, out);
251 // Recycle the bitmap data
327 private Bitmap mScreenBitmap
    [all...]
  /frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/
FillTest.java 22 import android.graphics.Bitmap;
58 mOptionsARGB.inPreferredConfig = Bitmap.Config.ARGB_8888;
132 Bitmap b = BitmapFactory.decodeResource(mRes, id, mOptionsARGB);
  /packages/apps/Browser/src/com/android/browser/preferences/
WebsiteSettingsFragment.java 24 import android.graphics.Bitmap;
71 private Bitmap mIcon;
139 public void setIcon(Bitmap icon) {
143 public Bitmap getIcon() {
197 private Bitmap mDefaultIcon;
198 private Bitmap mUsageEmptyIcon;
199 private Bitmap mUsageLowIcon;
200 private Bitmap mUsageHighIcon;
201 private Bitmap mLocationAllowedIcon;
202 private Bitmap mLocationDisallowedIcon
    [all...]
  /packages/apps/Gallery/src/com/android/camera/
ImageGetter.java 24 import android.graphics.Bitmap;
32 * into memory and post a callback to display the resulting bitmap.
34 * Then proceed to load the full image bitmap. Three things can
44 * a callback to the UI thread to actually show the bitmap.
49 * bitmap on the floor.
53 public void imageLoaded(int pos, int offset, RotateBitmap bitmap,
104 final RotateBitmap bitmap,
111 mCB.imageLoaded(position, offset, bitmap, isThumb);
112 } else if (bitmap != null) {
113 bitmap.recycle()
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
ImageShow.java 20 import android.graphics.Bitmap;
60 private Bitmap mBackgroundImage = null;
325 Bitmap highresPreview = MasterImage.getImage().getHighresImage();
342 Bitmap partialPreview = MasterImage.getImage().getPartialImage();
367 public Bitmap getFiltersOnlyImage() {
371 public Bitmap getGeometryOnlyImage() {
375 public Bitmap getFilteredImage() {
379 public void drawImage(Canvas canvas, Bitmap image, boolean updateBounds) {
401 public void drawPartialImage(Canvas canvas, Bitmap image) {
502 private void imageSizeChanged(Bitmap image)
527 Bitmap bitmap = mImageLoader.getOriginalBitmapLarge(); local
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/gadget/
WidgetConfigure.java 23 import android.graphics.Bitmap;
127 Bitmap bitmap = (Bitmap) data.getParcelableExtra("data"); local
130 helper.setPhoto(mAppWidgetId, mPickedItem, bitmap);
  /packages/apps/Tag/canon/src/com/android/apps/tagcanon/
TagCanon.java 26 import android.graphics.Bitmap;
85 Bitmap photo = ((BitmapDrawable) drawable).getBitmap();
90 photo.compress(Bitmap.CompressFormat.PNG, 100, out);
  /packages/apps/VideoEditor/src/com/android/videoeditor/service/
ApiServiceListener.java 19 import android.graphics.Bitmap;
245 * @param thumbnail The bitmap thumbnail
250 * @return true if the bitmap is used
253 Bitmap thumbnail, int index, int token, Exception exception) {
317 * @return true if the bitmap is used
320 Bitmap[] thumbnails, Exception exception) {
  /packages/apps/VideoEditor/src/com/android/videoeditor/util/
FileUtils.java 28 import android.graphics.Bitmap;
30 import android.graphics.Bitmap.CompressFormat;
103 Bitmap bitmap = null; local
108 bitmap = BitmapFactory.decodeStream(is);
109 if (bitmap == null) {
114 if (!bitmap.compress(CompressFormat.JPEG, 100, fos)) {
115 throw new IllegalStateException("Cannot compress bitmap");
122 if (bitmap != null) {
123 bitmap.recycle()
    [all...]
  /packages/apps/VideoEditor/src/com/android/videoeditor/widgets/
TransitionView.java 25 import android.graphics.Bitmap;
61 private Bitmap[] mBitmaps;
113 // Prepare the bitmap rectangles
231 public boolean setBitmaps(Bitmap[] bitmaps) {
  /packages/wallpapers/Basic/src/com/android/wallpaper/galaxy/
GalaxyRS.java 25 import android.graphics.Bitmap;
46 mOptionsARGB.inPreferredConfig = Bitmap.Config.ARGB_8888;
146 Bitmap b = BitmapFactory.decodeResource(mResources, id, mOptionsARGB);
  /packages/wallpapers/Basic/src/com/android/wallpaper/nexus/
NexusRS.java 31 import android.graphics.Bitmap;
63 mOptionsARGB.inPreferredConfig = Bitmap.Config.ARGB_8888;
128 Bitmap b = BitmapFactory.decodeResource(mResources, id, mOptionsARGB);
  /sdk/apps/NotificationStudio/src/com/android/notificationstudio/model/
EditableItem.java 21 import android.graphics.Bitmap;
184 public Bitmap getValueBitmap() {
185 return (Bitmap) mValue;
  /frameworks/base/core/java/android/view/
ViewDebug.java 21 import android.graphics.Bitmap;
556 final Bitmap bitmap = metrics != null ?
557 Bitmap.createBitmap(metrics, metrics.widthPixels,
558 metrics.heightPixels, Bitmap.Config.RGB_565) : null;
559 final Canvas canvas = bitmap != null ? new Canvas(bitmap) : null;
561 bitmap, canvas
576 ((Bitmap) data[0]).recycle();
682 Bitmap b = performViewCapture(view, true)
    [all...]
  /frameworks/base/graphics/java/android/renderscript/
RenderScript.java 26 import android.graphics.Bitmap;
291 native int rsnAllocationCreateFromBitmap(int con, int type, int mip, Bitmap bmp, int usage);
292 synchronized int nAllocationCreateFromBitmap(int type, int mip, Bitmap bmp, int usage) {
297 native int rsnAllocationCreateBitmapBackedAllocation(int con, int type, int mip, Bitmap bmp, int usage);
298 synchronized int nAllocationCreateBitmapBackedAllocation(int type, int mip, Bitmap bmp, int usage) {
304 native int rsnAllocationCubeCreateFromBitmap(int con, int type, int mip, Bitmap bmp, int usage);
305 synchronized int nAllocationCubeCreateFromBitmap(int type, int mip, Bitmap bmp, int usage) {
309 native int rsnAllocationCreateBitmapRef(int con, int type, Bitmap bmp);
310 synchronized int nAllocationCreateBitmapRef(int type, Bitmap bmp) {
320 native void rsnAllocationCopyToBitmap(int con, int alloc, Bitmap bmp)
    [all...]
  /cts/tests/src/android/opengl/cts/
CompressedTextureSurfaceView.java 34 import android.graphics.Bitmap;
35 import android.graphics.Bitmap.Config;
58 Bitmap base,
132 Bitmap mBaseTexture;
149 Bitmap base,
  /cts/tests/src/android/webkit/cts/
WebViewOnUiThread.java 20 import android.graphics.Bitmap;
462 public Bitmap getFavicon() {
463 return getValue(new ValueGetter<Bitmap>() {
465 public Bitmap capture() {
814 public void onPageStarted(WebView view, String url, Bitmap favicon) {
  /cts/tests/tests/graphics/src/android/graphics/cts/
CanvasTest.java 21 import android.graphics.Bitmap;
33 import android.graphics.Bitmap.Config;
68 private Bitmap mImmutableBitmap;
69 private Bitmap mMutableBitmap;
80 opt.inScaled = false; // bitmap will only be immutable if not scaled during load
83 mMutableBitmap = Bitmap.createBitmap(BITMAP_WIDTH, BITMAP_HEIGHT, Config.ARGB_8888);
92 // abnormal case: bitmap to be constructed is immutable
100 // abnormal case: bitmap to be constructed is recycled
110 mMutableBitmap = Bitmap.createBitmap(BITMAP_WIDTH, BITMAP_HEIGHT, Config.ARGB_8888);
115 // abnormal case: bitmap to be set is immutabl
    [all...]

Completed in 747 milliseconds

<<21222324252627282930>>