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

<<11121314151617181920>>

  /cts/tests/src/android/view/cts/
SurfaceViewStubActivity.java 20 import android.graphics.Bitmap;
179 mCanvas = new MockCanvas(Bitmap.createBitmap( BITMAP_WIDTH,
181 Bitmap.Config.ARGB_8888));
264 public MockCanvas(Bitmap bitmap) {
265 super(bitmap);
  /cts/tests/tests/graphics/src/android/graphics/cts/
LinearGradientTest.java 24 import android.graphics.Bitmap;
29 import android.graphics.Bitmap.Config;
51 Bitmap b;
84 private Bitmap drawLinearGradient(LinearGradient lg) {
87 Bitmap b = Bitmap.createBitmap(40, 40, Config.ARGB_8888);
  /cts/tests/tests/text/src/android/text/style/cts/
IconMarginSpanTest.java 25 import android.graphics.Bitmap;
41 private static final Bitmap BITMAP_80X120 =
42 Bitmap.createBitmap(COLOR, WIDTH, HEIGHT, Bitmap.Config.RGB_565);
49 args = {android.graphics.Bitmap.class}
55 args = {android.graphics.Bitmap.class, int.class}
  /external/qemu/distrib/sdl-1.2.12/src/video/fbcon/
SDL_fbriva.c 77 RivaBitmap *Bitmap = (RivaBitmap *)(mapped_io + BITMAP_OFFSET);
96 RIVA_FIFO_FREE(Bitmap, 1);
97 Bitmap->Color1A = color;
99 RIVA_FIFO_FREE(Bitmap, 2);
100 Bitmap->UnclippedRectangle[0].TopLeft = (dstX << 16) | dstY;
101 Bitmap->UnclippedRectangle[0].WidthHeight = (dstW << 16) | dstH;
  /external/webkit/WebKit/android/plugins/
ANPCanvasInterface.cpp 30 static ANPCanvas* anp_newCanvas(const ANPBitmap* bitmap) {
32 return new ANPCanvas(*SkANP::SetBitmap(&bm, *bitmap));
144 static void anp_drawBitmap(ANPCanvas* canvas, const ANPBitmap* bitmap,
147 canvas->skcanvas->drawBitmap(*SkANP::SetBitmap(&bm, *bitmap),
152 static void anp_drawBitmapRect(ANPCanvas* canvas, const ANPBitmap* bitmap,
162 canvas->skcanvas->drawBitmapRect(*SkANP::SetBitmap(&bm, *bitmap), srcPtr,
  /frameworks/base/core/jni/android/graphics/
BitmapFactory.cpp 332 static SkPixelRef* installPixelRef(SkBitmap* bitmap, SkStream* stream,
336 if (bitmap->getSize() >= 32 * 1024) {
337 pr = new SkImageRef_ashmem(stream, bitmap->config(), sampleSize);
339 pr = new SkImageRef_GlobalPool(stream, bitmap->config(), sampleSize);
342 bitmap->setPixelRef(pr)->unref();
385 SkBitmap* bitmap = new SkBitmap; local
389 SkAutoTDelete<SkBitmap> adb(bitmap);
409 if (!decoder->decode(stream, bitmap, prefConfig, decodeMode)) {
415 env->SetIntField(options, gOptions_widthFieldID, bitmap->width());
416 env->SetIntField(options, gOptions_heightFieldID, bitmap->height())
479 jobject bitmap = NULL; local
    [all...]
Canvas.cpp 59 static SkCanvas* initRaster(JNIEnv* env, jobject, SkBitmap* bitmap) {
60 return bitmap ? new SkCanvas(*bitmap) : new SkCanvas;
81 bitmap, but need to hard-code the answer. If we relax this
90 // normal technique, rely on the device's bitmap for the answer
112 SkBitmap* bitmap) {
113 canvas->setBitmapDevice(*bitmap);
467 SkCanvas* canvas, SkBitmap* bitmap,
482 canvas->drawBitmap(*bitmap, left_, top_, &filteredPaint);
484 canvas->drawBitmap(*bitmap, left_, top_, paint)
551 SkBitmap bitmap; local
    [all...]
  /packages/apps/Browser/src/com/android/browser/
CombinedBookmarkHistoryActivity.java 23 import android.graphics.Bitmap;
60 private HashMap<String, Bitmap> mUrlsToIcons;
64 mUrlsToIcons = new HashMap<String, Bitmap>();
67 public void onReceivedIcon(String url, Bitmap icon) {
79 public Bitmap getFavicon(String url) {
80 return (Bitmap) mUrlsToIcons.get(url);
  /packages/apps/Gallery3D/src/com/cooliris/wallpaper/
Slideshow.java 23 import android.graphics.Bitmap;
51 Bitmap getBitmapForIndex(Context context, int currentSlideshowCounter);
68 private Bitmap mBitmap;
72 private Bitmap mQueuedBitmap;
123 // We draw the source bitmap
227 private Bitmap getRandomBitmap() {
  /packages/apps/Launcher2/src/com/android/launcher2/
WallpaperChooser.java 23 import android.graphics.Bitmap;
51 private Bitmap mBitmap;
200 class WallpaperLoader extends AsyncTask<Integer, Void, Bitmap> {
206 mOptions.inPreferredConfig = Bitmap.Config.ARGB_8888;
209 protected Bitmap doInBackground(Integer... params) {
220 protected void onPostExecute(Bitmap b) {
  /frameworks/base/tools/layoutlib/bridge/src/android/graphics/
Canvas.java 58 // the mBufferedImage will be taken from a bitmap in #setBitmap()
61 public Canvas(Bitmap bitmap) {
63 mBufferedImage = bitmap.getImage();
240 * @see android.graphics.Canvas#setBitmap(android.graphics.Bitmap)
243 public void setBitmap(Bitmap bitmap) {
244 mBufferedImage = bitmap.getImage();
493 * @see android.graphics.Canvas#drawBitmap(android.graphics.Bitmap, float, float, android.graphics.Paint)
496 public void drawBitmap(Bitmap bitmap, float left, float top, Paint paint)
    [all...]
  /cts/tests/tests/graphics/src/android/graphics/drawable/cts/
ClipDrawableTest.java 29 import android.graphics.Bitmap;
34 import android.graphics.Bitmap.Config;
144 Bitmap bitmap = Bitmap.createBitmap(100, 50, Config.RGB_565); local
145 BitmapDrawable bmpDrawable = new BitmapDrawable(bitmap);
146 bmpDrawable.setTargetDensity(bitmap.getDensity()); // avoid scaling
164 Bitmap bitmap = Bitmap.createBitmap(100, 50, Config.RGB_565) local
    [all...]
  /external/webkit/WebCore/platform/graphics/android/
ImageSourceAndroid.cpp 155 static int computeSampleSize(const SkBitmap& bitmap) {
157 size_t size = bitmap.getSize();
167 SkDebugf("------- bitmap [%d %d] config=%d origSize=%d predictSize=%d sampleSize=%d\n",
168 bitmap.width(), bitmap.height(), bitmap.config(),
169 bitmap.getSize(), size, sampleSize);
192 SkDebugf("---- reencode bitmap as RLE: [%d %d] encodeSize=%d\n",
295 SkBitmap* bm = &decoder->bitmap();
368 SkBitmap& bitmap = buffer->bitmap()
    [all...]
  /packages/apps/Settings/src/com/android/settings/
ActivityPicker.java 33 import android.graphics.Bitmap;
363 // Ensure the bitmap has a density.
365 Bitmap bitmap = bitmapDrawable.getBitmap(); local
366 if (bitmap.getDensity() == Bitmap.DENSITY_NONE) {
383 final Bitmap.Config c = icon.getOpacity() != PixelFormat.OPAQUE ?
384 Bitmap.Config.ARGB_8888 : Bitmap.Config.RGB_565;
385 final Bitmap thumb = Bitmap.createBitmap(mIconWidth, mIconHeight, c)
    [all...]
  /dalvik/vm/alloc/
HeapBitmap.c 24 #define HB_ASHMEM_NAME "dalvik-heap-bitmap"
33 * Initialize a HeapBitmap so that it points to a bitmap large
121 * Clean up any resources associated with the bitmap.
150 * Fill the bitmap with zeroes. Returns the bitmap's memory to
176 * end of the bitmap is reached.
277 /* If one bitmap's max is larger, walk through the rest of the
368 * in a single bitmap.
376 /* Create an empty bitmap with the same extent as <hb>.
404 /* Walk each bitmap, lowest address first
    [all...]
  /external/skia/src/views/
SkWidgets.cpp 499 bool SkBitmapView::getBitmap(SkBitmap* bitmap) const
501 if (bitmap)
502 *bitmap = fBitmap;
506 void SkBitmapView::setBitmap(const SkBitmap* bitmap, bool viewOwnsPixels)
508 if (bitmap)
510 fBitmap = *bitmap;
517 SkBitmap bitmap; local
519 if (SkImageDecoder::DecodeFile(path, &bitmap))
521 this->setBitmap(&bitmap, true);
522 bitmap.setOwnsPixels(false)
    [all...]
  /frameworks/base/core/java/android/app/
LauncherActivity.java 25 import android.graphics.Bitmap;
295 final Bitmap.Config c = icon.getOpacity() != PixelFormat.OPAQUE ?
296 Bitmap.Config.ARGB_8888 : Bitmap.Config.RGB_565;
297 final Bitmap thumb = Bitmap.createBitmap(mIconWidth, mIconHeight, c);
313 final Bitmap.Config c = Bitmap.Config.ARGB_8888;
314 final Bitmap thumb = Bitmap.createBitmap(mIconWidth, mIconHeight, c)
    [all...]
  /packages/apps/Gallery3D/src/com/cooliris/media/
RenderView.java 29 import android.graphics.Bitmap;
228 Bitmap bitmap = texture.load(this); local
229 if (bitmap != null) {
230 bitmap = Utils.resizeBitmap(bitmap, 1024);
231 int width = bitmap.getWidth();
232 int height = bitmap.getHeight();
235 // Create a padded bitmap if the natural size is not a power of
240 Bitmap.Config config = bitmap.getConfig()
511 Bitmap bitmap = texture.mBitmap; local
    [all...]
  /frameworks/base/awt/com/android/internal/awt/
AndroidJavaBlitter.java 19 import android.graphics.Bitmap;
151 bmap = Bitmap.createBitmap(pixels, width, height, Bitmap.Config.ARGB_8888);
311 Bitmap bmap, bmp;
320 bmap = Bitmap.createBitmap(pix, width, height, Bitmap.Config.RGB_565);
325 canvas.drawBitmap(Bitmap.createBitmap(img, width, height, Bitmap.Config.ARGB_8888), x, y, paint);
334 bmap = Bitmap.createBitmap(pix, width, height, Bitmap.Config.RGB_565)
    [all...]
  /external/e2fsprogs/ext2ed/
blockbitmap_com.c 8 Handles the block bitmap.
28 position in the bitmap.
36 This function changes the current entry in the bitmap. It just changes the entry_num variable in block_bitmap_info
73 This function passes to the next entry in the bitmap. We just call the above entry command.
112 in the bitmap. This function is a vector version of allocate_block below - We just run on the blocks that
206 We show the bitmap as a series of bits, grouped at 8-bit intervals. We display 8 such groups on each line.
249 wprintw (show_win,"Block bitmap of block group %ld\n",block_bitmap_info.group_num);
  /external/wpa_supplicant_6/wpa_supplicant/src/drivers/
radiotap.h 51 * based on a bitmap indicating which fields are present.
76 uint32_t it_present; /* A bitmap telling which
79 * bitmap by another 32 bits.
94 * IEEE80211_RADIOTAP_CHANNEL 2 x uint16_t MHz, bitmap
155 * IEEE80211_RADIOTAP_FLAGS u8 bitmap
165 * IEEE80211_RADIOTAP_RX_FLAGS uint16_t bitmap
169 * IEEE80211_RADIOTAP_TX_FLAGS uint16_t bitmap
  /frameworks/base/core/java/android/webkit/
WebIconDatabase.java 21 import android.graphics.Bitmap;
64 private final Bitmap mIcon;
66 IconResult(String url, Bitmap icon, IconListener l) {
173 Bitmap icon = nativeIconForPageUrl(url);
191 public void onReceivedIcon(String url, Bitmap icon);
224 * Request the Bitmap representing the icon for the given page
315 private static native Bitmap nativeIconForPageUrl(String url);
  /external/e2fsprogs/doc/
libext2fs.texinfo 134 * Bitmap Functions::
396 modified. If the flag is set, it will cause the appropriate bitmap
607 @node Directory functions, Bitmap Functions, Inode Functions, EXT2FS Library Functions
793 @node Bitmap Functions, EXT2 data abstractions, Directory functions, EXT2FS Library Functions
795 @section Bitmap Functions
801 * Bitmap Operations::
810 @node Reading and Writing Bitmaps, Allocating Bitmaps, Bitmap Functions, Bitmap Functions
834 @node Allocating Bitmaps, Free bitmaps, Reading and Writing Bitmaps, Bitmap Functions
    [all...]
  /frameworks/base/core/java/android/provider/
MediaStore.java 27 import android.graphics.Bitmap;
138 * If the EXTRA_OUTPUT is not present, then a small sized image is returned as a Bitmap
253 private static Bitmap getMiniThumbFromFile(Cursor c, Uri baseUri, ContentResolver cr, BitmapFactory.Options options) {
254 Bitmap bitmap = null; local
261 bitmap = BitmapFactory.decodeFileDescriptor(
272 return bitmap;
308 * @param options this is only used for MINI_KIND when decoding the Bitmap
311 * @return Bitmap bitmap of specified thumbnail kin
315 Bitmap bitmap = null; local
503 Bitmap bitmap = BitmapFactory.decodeStream(input); local
    [all...]
  /development/samples/BrowserPlugin/jni/background/
BackgroundPlugin.cpp 60 //initialize bitmap transparency variables
148 ANPBitmap bitmap; local
151 !gSurfaceI.lock(env, m_surface, &bitmap, NULL)) {
157 ANPCanvas* canvas = gCanvasI.newCanvas(&bitmap);
308 // BITMAP TESTS
353 gLogI.log(kDebug_ANPLogType, "BEGIN: testing bitmap transparency");
356 if (evt->data.draw.data.bitmap.format == kRGBA_8888_ANPBitmapFormat) {
357 gLogI.log(kError_ANPLogType, "bitmap default format is transparent");
374 if (evt->data.draw.data.bitmap.format != kRGBA_8888_ANPBitmapFormat) {
375 gLogI.log(kError_ANPLogType, "bitmap did not change to transparent format")
    [all...]

Completed in 451 milliseconds

<<11121314151617181920>>