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

<<11121314151617181920>>

  /frameworks/base/core/java/android/gesture/
Gesture.java 19 import android.graphics.Bitmap;
176 * Creates a bitmap of the gesture with a transparent background.
178 * @param width width of the target bitmap
179 * @param height height of the target bitmap
183 * @return the bitmap
185 public Bitmap toBitmap(int width, int height, int edge, int numSample, int color) {
186 final Bitmap bitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888) local
221 final Bitmap bitmap = Bitmap.createBitmap(width, height, local
    [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/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
CustomBar.java 35 import android.graphics.Bitmap;
94 // bitmap url relative to this class
125 // look for a cached bitmap
126 Bitmap bitmap = Bridge.getCachedBitmap(pathOut[0], true /*isFramework*/); local
127 if (bitmap == null) {
129 bitmap = Bitmap_Delegate.createBitmap(stream, false /*isMutable*/, density);
130 Bridge.setCachedBitmap(pathOut[0], bitmap, true /*isFramework*/);
136 if (bitmap != null) {
138 bitmap);
    [all...]
  /packages/apps/LegacyCamera/src/com/android/camera/ui/
SharePopup.java 30 import android.graphics.Bitmap;
103 public SharePopup(Activity activity, Uri uri, Bitmap bitmap, int orientation,
122 mThumbnail.setImageBitmap(bitmap);
132 mBitmapWidth = bitmap.getWidth();
133 mBitmapHeight = bitmap.getHeight();
139 mBitmapWidth = bitmap.getWidth();
140 mBitmapHeight = bitmap.getHeight();
  /cts/tests/tests/effect/src/android/effect/cts/
GLEnv.java 19 import android.graphics.Bitmap;
82 public int bitmapToTexture(Bitmap bitmap) {
85 GLUtils.texImage2D(GLES20.GL_TEXTURE_2D, 0, bitmap, 0);
  /cts/tests/tests/holo/src/android/holo/cts/
BitmapAssets.java 21 import android.graphics.Bitmap;
22 import android.graphics.Bitmap.CompressFormat;
96 public static Bitmap getBitmap(Context context, String bitmapName) {
121 public static String saveBitmap(Bitmap bitmap, String bitmapName, int type) throws IOException {
132 bitmap.compress(CompressFormat.PNG, 100, stream);
  /cts/tests/tests/provider/src/android/provider/cts/
Contacts_PeopleTest.java 26 import android.graphics.Bitmap;
264 Bitmap bitmap = BitmapFactory.decodeStream(photoStream, null, null);
265 assertEquals(96, bitmap.getWidth());
266 assertEquals(64, bitmap.getHeight());
272 bitmap = People.loadContactPhoto(context, mPeopleRowsAdded.get(0),
274 assertEquals(96, bitmap.getWidth());
275 assertEquals(64, bitmap.getHeight());
277 bitmap = People.loadContactPhoto(context, null,
279 assertNotNull(bitmap);
    [all...]
  /external/chromium/chrome/browser/sidebar/
sidebar_container.cc 108 void SidebarContainer::SetIcon(const SkBitmap& bitmap) {
110 *icon_ = bitmap;
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowRemoteViews.java 5 import android.graphics.Bitmap;
92 public void setImageViewBitmap(int viewId, final Bitmap bitmap) {
96 ((ImageView) view).setImageBitmap(bitmap);
  /external/webkit/Source/WebCore/platform/graphics/android/context/
PlatformGraphicsContextSkia.h 75 virtual void drawBitmapPattern(const SkBitmap& bitmap, const SkMatrix& matrix,
77 virtual void drawBitmapRect(const SkBitmap& bitmap, const SkIRect* src,
RecordingContextCanvasProxy.h 52 virtual void drawBitmapRect(const SkBitmap& bitmap, const SkIRect* src,
76 virtual void drawBitmapNine(const SkBitmap& bitmap, const SkIRect& center,
  /external/webkit/Source/WebCore/platform/graphics/skia/
PlatformContextSkia.cpp 291 const SkBitmap* bitmap = imageBuffer->context()->platformContext()->bitmap(); local
292 if (!bitmap->pixelRef()) {
293 // The bitmap owns it's pixels. This happens when we've allocated the
294 // pixels in some way and assigned them directly to the bitmap (as
296 // does not copy the pixels, rather the copied bitmap ends up
299 bitmap->copyTo(&m_state->m_imageBufferClip, SkBitmap::kARGB_8888_Config);
302 m_state->m_imageBufferClip = *bitmap;
611 const SkBitmap* PlatformContextSkia::bitmap() const function in class:WebCore::PlatformContextSkia
671 // the layer's bitmap while it's in effect. When WebKit calls restore() t
865 const SkBitmap& bitmap = m_canvas->getDevice()->accessBitmap(false); local
888 const SkBitmap& bitmap = m_canvas->getDevice()->accessBitmap(true); local
    [all...]
  /external/zxing/qr_scanner/src/com/google/zxing/client/android/
DecodeHandler.java 74 BinaryBitmap bitmap = new BinaryBitmap(new HybridBinarizer(source)); local
76 rawResult = multiFormatReader.decodeWithState(bitmap);
  /frameworks/base/media/mca/filterfw/java/android/filterfw/core/
SimpleFrame.java 25 import android.graphics.Bitmap;
123 public void setBitmap(Bitmap bitmap) {
125 setGenericObjectValue(bitmap);
129 public Bitmap getBitmap() {
130 return (mObject instanceof Bitmap) ? (Bitmap)mObject : null;
  /frameworks/base/media/mca/filterfw/jni/
jni_gl_frame.cpp 17 #include "android/bitmap.h"
218 jobject bitmap,
221 if (frame && bitmap) {
223 const int result = AndroidBitmap_lockPixels(env, bitmap, reinterpret_cast<void**>(&pixels));
227 AndroidBitmap_unlockPixels(env, bitmap) == ANDROID_BITMAP_RESULT_SUCCESS);
235 jobject bitmap) {
237 if (frame && bitmap) {
239 const int result = AndroidBitmap_lockPixels(env, bitmap, reinterpret_cast<void**>(&pixels));
242 return (AndroidBitmap_unlockPixels(env, bitmap) == ANDROID_BITMAP_RESULT_SUCCESS);
jni_native_frame.h 66 jobject bitmap,
73 jobject bitmap,
  /packages/apps/Contacts/src/com/android/contacts/editor/
BaseRawContactEditorView.java 21 import android.graphics.Bitmap;
79 * Assign the given {@link Bitmap} to the internal {@link PhotoEditorView}
82 public void setPhotoBitmap(Bitmap bitmap) {
83 mPhoto.setPhotoBitmap(bitmap);
  /packages/apps/Contacts/src/com/android/contacts/util/
ImageViewDrawableSetter.java 21 import android.graphics.Bitmap;
82 protected Bitmap setCompressedImage(byte[] compressed) {
124 private Bitmap previousBitmap() {
146 Bitmap bitmap = BitmapFactory.decodeByteArray(compressed, 0, compressed.length); local
147 return new BitmapDrawable(rsrc, bitmap);
  /packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
GLCanvas.java 19 import android.graphics.Bitmap;
164 * @param bitmap The bitmap to initialize the bitmap with.
166 public abstract void initializeTexture(BasicTexture texture, Bitmap bitmap);
169 * Calls glTexSubImage2D to upload a bitmap to the texture.
180 Bitmap bitmap,
  /packages/apps/Gallery2/src/com/android/photos/data/
BitmapDecoder.java 18 import android.graphics.Bitmap;
19 import android.graphics.Bitmap.Config;
36 * to decode a bitmap from GalleryBitmapPool. The bitmap may be returned
37 * directly to GalleryBitmapPool or use the put method here when the bitmap is
49 public static Bitmap decode(InputStream in) {
61 Bitmap reuseBitmap = pool.get(opts.outWidth, opts.outHeight);
63 Bitmap decodedBitmap = BitmapFactory.decodeStream(in, null, opts);
69 Log.e(TAG, "Could not decode stream to bitmap", e);
77 public static Bitmap decode(File in)
    [all...]
  /packages/apps/VideoEditor/src/com/android/videoeditor/
KenBurnsActivity.java 21 import android.graphics.Bitmap;
78 private Bitmap mBitmap;
143 private class ImageLoaderAsyncTask extends AsyncTask<Void, Void, Bitmap> {
158 protected Bitmap doInBackground(Void... zzz) {
181 protected void onPostExecute(Bitmap bitmap) {
182 if (bitmap == null) {
192 mImageView.setImageBitmapResetBase(bitmap, true);
193 mBitmap = bitmap;
195 Log.d(TAG, "Bitmap size: " + bitmap.getWidth() + "x" + bitmap.getHeight(
    [all...]
  /external/skia/src/core/
SkDraw.cpp 164 static BitmapXferProc ChooseBitmapXferProc(const SkBitmap& bitmap,
202 switch (bitmap.config()) {
238 static void CallBitmapXferProc(const SkBitmap& bitmap, const SkIRect& rect,
241 switch (bitmap.config()) {
257 uint8_t* pixels = (uint8_t*)bitmap.getPixels();
259 const size_t rowBytes = bitmap.rowBytes();
285 be faster to operate directly on the device bitmap, rather than invoking
353 const SkBitmap* bitmap = blitter->justAnOpaqueColor(&value); local
354 SkASSERT(bitmap);
356 uint16_t* addr = bitmap->getAddr16(0, 0)
374 const SkBitmap* bitmap = blitter->justAnOpaqueColor(&value); local
    [all...]
  /external/skia/tests/
WritePixelsTest.cpp 225 const SkBitmap& bitmap,
243 SkIRect writeRect = SkIRect::MakeXYWH(writeX, writeY, bitmap.width(), bitmap.height());
251 uint32_t bmpColor8888 = getBitmapColor(bx, by, bitmap.width(), bitmap.height(), config8888);
329 bool setupBitmap(SkBitmap* bitmap,
334 bitmap->setConfig(SkBitmap::kARGB_8888_Config, w, h, rowBytes);
335 if (!bitmap->allocPixels()) {
338 SkAutoLockPixels alp(*bitmap);
339 intptr_t pixels = reinterpret_cast<intptr_t>(bitmap->getPixels())
    [all...]
  /external/skia/src/images/
SkImageDecoder_libpng.cpp 62 virtual bool onDecodeRegion(SkBitmap* bitmap, SkIRect region);
309 // draw lots faster if we can flag the bitmap has being opaque
669 // draw lots faster if we can flag the bitmap has being opaque
    [all...]
  /external/openssl/ssl/
d1_pkt.c 171 static int dtls1_record_replay_check(SSL *s, DTLS1_BITMAP *bitmap);
172 static void dtls1_record_bitmap_update(SSL *s, DTLS1_BITMAP *bitmap);
532 dtls1_record_bitmap_update(s, &(s->d1->bitmap));/* Mark receipt of record. */
558 DTLS1_BITMAP *bitmap; local
660 bitmap = dtls1_get_bitmap(s, rr, &is_next_epoch);
661 if ( bitmap == NULL)
681 !dtls1_record_replay_check(s, bitmap))
    [all...]

Completed in 1521 milliseconds

<<11121314151617181920>>