/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/tools/ |
SaveCopyTask.java | 23 import android.graphics.Bitmap; 152 public boolean putExifData(File file, ExifInterface exif, Bitmap image) { 166 * The task should be executed with one given bitmap to be saved. 182 // Try to do bitmap operations, downsample if low-memory 183 Bitmap bitmap = ImageLoader.loadMutableBitmap(context, sourceUri, options); local 184 if (bitmap == null) { 188 bitmap = pipeline.renderFinalImage(bitmap, preset); 203 // If we succeed in writing the bitmap as a jpeg, return a uri [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/ |
WidgetDatabaseHelper.java | 25 import android.graphics.Bitmap; 191 * Store the given bitmap in this database for the given appWidgetId. 193 public boolean setPhoto(int appWidgetId, Uri imageUri, Bitmap bitmap) { 198 int size = bitmap.getWidth() * bitmap.getHeight() * 4; 200 bitmap.compress(Bitmap.CompressFormat.PNG, 100, out); 298 * Remove any bitmap associated with the given appWidgetId.
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
BitmapMesh.java | 40 private final Bitmap mBitmap;
|
ColorMatrixSample.java | 36 private Bitmap mBitmap;
|
Vertices.java | 52 Bitmap bm = BitmapFactory.decodeResource(getResources(),
|
GLES20TriangleRenderer.java | 29 import android.graphics.Bitmap; 140 Bitmap bitmap; local 142 bitmap = BitmapFactory.decodeStream(is); 151 GLUtils.texImage2D(GLES20.GL_TEXTURE_2D, 0, bitmap, 0); 152 bitmap.recycle();
|
StaticTriangleRenderer.java | 32 import android.graphics.Bitmap; 191 Bitmap bitmap; local 193 bitmap = BitmapFactory.decodeStream(is); 202 GLUtils.texImage2D(GL_TEXTURE_2D, 0, bitmap, 0); 203 bitmap.recycle();
|
TriangleRenderer.java | 30 import android.graphics.Bitmap; 93 Bitmap bitmap; local 95 bitmap = BitmapFactory.decodeStream(is); 104 GLUtils.texImage2D(GL10.GL_TEXTURE_2D, 0, bitmap, 0); 105 bitmap.recycle();
|
/external/webkit/Source/JavaScriptCore/heap/ |
MarkedSpace.h | 28 #include <wtf/Bitmap.h>
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
Drawable.java | 26 import android.graphics.Bitmap; 92 * <li> <b>Bitmap</b>: the simplest Drawable, a PNG or JPEG image. 97 * bitmap, allowing it to resize better in some cases. 112 * guide. For information and examples of creating drawable resources (XML or bitmap files that 252 * Set to true to have the drawable filter its bitmap when scaled or rotated 783 the pad rect, but if the bitmap does not had a ninepatch chunk, 800 Bitmap bm = BitmapFactory.decodeResourceStream(res, value, is, pad, opts); [all...] |
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
GLTextureViewActivity.java | 23 import android.graphics.Bitmap; 67 Bitmap b = mTextureView.getBitmap(800, 800); 72 b.compress(Bitmap.CompressFormat.PNG, 100, out); 270 Bitmap bitmap = BitmapFactory.decodeResource(mResources, resource); local 272 GLUtils.texImage2D(GL_TEXTURE_2D, 0, GL_RGBA, bitmap, GL_UNSIGNED_BYTE, 0); 275 bitmap.recycle();
|
/frameworks/base/tests/RenderScriptTests/Fountain/src/com/example/android/rs/fountain/ |
FountainView.java | 29 import android.graphics.Bitmap;
|
/frameworks/base/tests/RenderScriptTests/Fountain_v11/src/com/android/fountain/ |
FountainView.java | 29 import android.graphics.Bitmap;
|
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/ |
TestAppLoadingScreen.java | 27 import android.graphics.Bitmap;
|
/frameworks/rs/java/tests/Balls/src/com/example/android/rs/balls/ |
BallsView.java | 29 import android.graphics.Bitmap;
|
/packages/apps/Camera/src/com/android/camera/ |
Util.java | 28 import android.graphics.Bitmap; 153 // Rotates the bitmap by the specified degree. 154 // If a new bitmap is created, the original bitmap is recycled. 155 public static Bitmap rotate(Bitmap b, int degrees) { 159 // Rotates and/or mirrors the bitmap. If a new bitmap is created, the 160 // original bitmap is recycled. 161 public static Bitmap rotateAndMirror(Bitmap b, int degrees, boolean mirror) [all...] |
/packages/apps/Email/src/com/android/email/ |
NotificationController.java | 31 import android.graphics.Bitmap; 89 private final Bitmap mGenericSenderIcon; 90 private final Bitmap mGenericMultipleSenderIcon; 175 String ticker, CharSequence title, String contentText, Intent intent, Bitmap largeIcon, 400 private Bitmap getSenderPhoto(Message message) { 409 Bitmap photo = ContactStatusLoader.getContactInfo(mContext, email).mPhoto; 420 photo = Bitmap.createScaledBitmap( 450 final Bitmap senderPhoto = multipleUnseen 459 final Bitmap largeIcon = senderPhoto != null ? senderPhoto : mGenericSenderIcon; [all...] |
/packages/apps/Gallery2/src/com/android/camera/ |
Util.java | 28 import android.graphics.Bitmap; 155 // Rotates the bitmap by the specified degree. 156 // If a new bitmap is created, the original bitmap is recycled. 157 public static Bitmap rotate(Bitmap b, int degrees) { 161 // Rotates and/or mirrors the bitmap. If a new bitmap is created, the 162 // original bitmap is recycled. 163 public static Bitmap rotateAndMirror(Bitmap b, int degrees, boolean mirror) [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/ui/ |
ImageCurves.java | 20 import android.graphics.Bitmap; 343 class ComputeHistogramTask extends AsyncTask<Bitmap, Void, int[]> { 345 protected int[] doInBackground(Bitmap... params) { 347 Bitmap bitmap = params[0]; local 348 int w = bitmap.getWidth(); 349 int h = bitmap.getHeight(); 351 bitmap.getPixels(pixels, 0, w, 0, 0, w, h);
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
InstallShortcutReceiver.java | 25 import android.graphics.Bitmap; 131 Bitmap b = BitmapFactory.decodeByteArray(iconArray, 0, iconArray.length); 163 Bitmap icon; 195 Bitmap icon = data.getParcelableExtra(Intent.EXTRA_SHORTCUT_ICON);
|
/packages/apps/Mms/src/com/android/mms/ui/ |
UriImage.java | 29 import android.graphics.Bitmap; 30 import android.graphics.Bitmap.CompressFormat; 287 Bitmap b = null; 335 // Scale the bitmap using Bitmap library. 341 "Bitmap.createScaledBitmap: w=" + scaledWidth + 345 b = Bitmap.createScaledBitmap(b, scaledWidth, scaledHeight, false); 348 Log.v(TAG, "Bitmap.createScaledBitmap returned NULL!"); 390 b.recycle(); // done with the bitmap, release the memory
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/analyzer/ |
WhiteBalanceTest.java | 19 import android.graphics.Bitmap; 318 Bitmap inputImage; 326 // Decodes the camera data to Bitmap and creates a native image 327 // class with the Bitmap. 332 // Cleans up the Bitmap memory space.
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/fov/ |
DetermineFovActivity.java | 23 import android.graphics.Bitmap; 57 private Bitmap mPhotoBitmap;
|
/cts/tests/tests/webkit/src/android/webkit/cts/ |
WebViewClientTest.java | 20 import android.graphics.Bitmap; 258 public void onPageStarted(WebView view, String url, Bitmap favicon) {
|
/development/samples/BasicGLSurfaceView/src/com/example/android/basicglsurfaceview/ |
GLES20TriangleRenderer.java | 29 import android.graphics.Bitmap; 138 Bitmap bitmap; local 140 bitmap = BitmapFactory.decodeStream(is); 149 GLUtils.texImage2D(GLES20.GL_TEXTURE_2D, 0, bitmap, 0); 150 bitmap.recycle();
|