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

1 2 3 4 5 6 7 891011>>

  /frameworks/ex/carousel/test/src/com/android/carouseltest/
TaskSwitcherActivity.java 39 import android.graphics.Bitmap;
44 import android.graphics.Bitmap.Config;
64 private Bitmap mBlankBitmap = Bitmap.createBitmap(128, 128, Config.RGB_565);
69 Bitmap thumbnail;
76 public ActivityDescription(Bitmap _thumbnail,
143 public Bitmap getTexture(int n) {
145 Bitmap bitmap = desc.thumbnail == null ? mBlankBitmap : desc.thumbnail; local
146 return bitmap;
151 Bitmap bitmap = null; local
    [all...]
MusicDemoActivity.java 25 import android.graphics.Bitmap;
70 public Bitmap getTexture(int n) {
76 public Bitmap getDetailTexture(int n) {
  /frameworks/base/core/java/android/view/
PointerIcon.java 25 import android.graphics.Bitmap;
44 /** Style constant: Custom icon with a user-supplied bitmap. */
47 /** Style constant: Null icon. It has no bitmap. */
73 private Bitmap mBitmap;
82 * Gets a special pointer icon that has no bitmap.
149 * Creates a custom pointer from the given bitmap and hotspot information.
151 * @param bitmap The bitmap for the icon.
152 * @param hotspotX The X offset of the pointer icon hotspot in the bitmap.
153 * Must be within the [0, bitmap.getWidth()) range
    [all...]
TextureView.java 20 import android.graphics.Bitmap;
447 * <p>Returns a {@link android.graphics.Bitmap} representation of the content
451 * <p>The bitmap returned by this method uses the {@link Bitmap.Config#ARGB_8888}
457 * <p>If an error occurs during the copy, an empty bitmap will be returned.</p>
459 * @return A valid {@link Bitmap.Config#ARGB_8888} bitmap, or null if the surface
463 * @see #getBitmap(android.graphics.Bitmap)
466 public Bitmap getBitmap() {
471 * <p>Returns a {@link android.graphics.Bitmap} representation of the conten
    [all...]
  /frameworks/ex/carousel/java/com/android/ex/carousel/
CarouselViewHelper.java 4 import android.graphics.Bitmap;
110 final Bitmap bitmap = getTexture(id); local
111 if (bitmap != null) {
112 mSyncHandler.obtainMessage(SET_TEXTURE_N, id, 0, bitmap).sendToTarget();
122 final Bitmap bitmap = getDetailTexture(id); local
123 if (bitmap != null) {
124 mSyncHandler.obtainMessage(SET_DETAIL_TEXTURE_N, id, 0, bitmap).sendToTarget();
147 mCarouselView.setTextureForItem(id, (Bitmap) msg.obj)
    [all...]
  /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/graphics/java/android/graphics/drawable/
NinePatchDrawable.java 33 * A resizeable bitmap, with stretchable areas that you define. This type of image
64 * @deprecated Use {@link #NinePatchDrawable(Resources, Bitmap, byte[], Rect, String)}
68 public NinePatchDrawable(Bitmap bitmap, byte[] chunk, Rect padding, String srcName) {
69 this(new NinePatchState(new NinePatch(bitmap, chunk, srcName), padding), null);
76 public NinePatchDrawable(Resources res, Bitmap bitmap, byte[] chunk,
78 this(new NinePatchState(new NinePatch(bitmap, chunk, srcName), padding), res);
125 * @see android.graphics.Bitmap#setDensity(int)
126 * @see android.graphics.Bitmap#getDensity(
262 Bitmap bitmap = null; local
    [all...]
  /frameworks/base/tests/RenderScriptTests/ImageProcessing/src/com/android/rs/image/
ImageProcessingActivity.java 22 import android.graphics.Bitmap;
43 private Bitmap mBitmapIn;
44 private Bitmap mBitmapOut;
257 private Bitmap loadBitmap(int resource) {
259 options.inPreferredConfig = Bitmap.Config.ARGB_8888;
263 private static Bitmap copyBitmap(Bitmap source) {
264 Bitmap b = Bitmap.createBitmap(source.getWidth(), source.getHeight(), source.getConfig());
  /packages/apps/Mms/src/com/android/mms/model/
ImageModel.java 39 import android.graphics.Bitmap;
73 private SoftReference<Bitmap> mBitmapCache = new SoftReference<Bitmap>(null);
149 public Bitmap getBitmap() {
153 public Bitmap getBitmapWithDrmCheck() throws DrmException {
157 private Bitmap internalGetBitmap(Uri uri) {
158 Bitmap bm = mBitmapCache.get();
163 mBitmapCache = new SoftReference<Bitmap>(bm);
166 // fall through and return a null bitmap. The callers can handle a null
173 private Bitmap createThumbnailBitmap(int thumbnailBoundsLimit, Uri uri)
    [all...]
  /cts/tests/src/android/media/cts/
FaceView.java 20 import android.graphics.Bitmap;
37 private Bitmap mSourceImage;
59 bfo.inPreferredConfig = Bitmap.Config.RGB_565;
  /frameworks/base/core/java/android/webkit/
WebChromeClient.java 20 import android.graphics.Bitmap;
45 * @param icon A Bitmap containing the favicon for the current page.
47 public void onReceivedIcon(WebView view, Bitmap icon) {}
309 * @return Bitmap The image to use as a default poster, or null if no such image is
312 public Bitmap getDefaultVideoPoster() {
  /frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
ColorFiltersActivity.java 21 import android.graphics.Bitmap;
43 private final Bitmap mBitmap1;
44 private final Bitmap mBitmap2;
  /packages/apps/Gallery/src/com/android/camera/
ImageLoader.java 22 import android.graphics.Bitmap;
45 public void run(Bitmap result);
115 // Pick off items on the queue, one by one, and compute their bitmap.
116 // Place the resulting bitmap in the cache, then call back by executing
137 final Bitmap b = workItem.mImage.miniThumbBitmap();
  /packages/apps/Gallery/tests/src/com/android/camera/
BitmapManagerUnitTests.java 23 import android.graphics.Bitmap;
36 Bitmap bitmap; field in class:BitmapManagerUnitTests.DecodeThread
43 bitmap = mImage.thumbBitmap(IImage.ROTATE_AS_NEEDED);
46 public Bitmap getBitmap() {
47 return bitmap;
  /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...]
  /cts/tests/tests/graphics/src/android/graphics/drawable/cts/
NinePatchDrawableTest.java 33 import android.graphics.Bitmap;
43 import android.graphics.Bitmap.Config;
71 args = {Bitmap.class, byte[].class, Rect.class, String.class}
86 Bitmap bmp = BitmapFactory.decodeResource(mResources, R.drawable.ninepatch_0);
111 Bitmap bmp = Bitmap.createBitmap(9, 9, Config.ARGB_8888);
264 Bitmap bmp = getBitmapUnscaled(R.drawable.ninepatch_0);
280 Bitmap bmp = getBitmapUnscaled(R.drawable.ninepatch_0);
296 Bitmap bmp = getBitmapUnscaled(R.drawable.ninepatch_0);
312 Bitmap bmp = getBitmapUnscaled(R.drawable.ninepatch_0)
387 Bitmap bitmap = Bitmap.createBitmap(COLOR, width, height, Bitmap.Config.RGB_565); local
441 Bitmap bitmap = getBitmapUnscaled(resId); local
449 Bitmap bitmap = BitmapFactory.decodeResource(mResources, resId, opts); local
    [all...]
PictureDrawableTest.java 24 import android.graphics.Bitmap;
60 // Create drawable bitmap for rendering into
61 Bitmap destBitmap = Bitmap.createBitmap(100, 200, Bitmap.Config.ARGB_8888);
  /cts/tests/src/android/view/cts/
SurfaceViewStubActivity.java 20 import android.graphics.Bitmap;
174 mCanvas = new MockCanvas(Bitmap.createBitmap( BITMAP_WIDTH,
176 Bitmap.Config.ARGB_8888));
254 public MockCanvas(Bitmap bitmap) {
255 super(bitmap);
  /cts/tests/tests/graphics/src/android/graphics/cts/
ColorMatrixColorFilterTest.java 23 import android.graphics.Bitmap;
29 import android.graphics.Bitmap.Config;
61 Bitmap bitmap = Bitmap.createBitmap(1, 1, Config.ARGB_8888); local
62 Canvas canvas = new Canvas(bitmap);
67 assertColor(Color.CYAN, bitmap.getPixel(0, 0));
70 assertColor(Color.GREEN, bitmap.getPixel(0, 0));
73 assertColor(Color.RED, bitmap.getPixel(0, 0));
77 assertColor(Color.WHITE, bitmap.getPixel(0, 0))
    [all...]
LightingColorFilterTest.java 23 import android.graphics.Bitmap;
28 import android.graphics.Bitmap.Config;
43 Bitmap bitmap = Bitmap.createBitmap(1, 1, Config.ARGB_8888); local
44 Canvas canvas = new Canvas(bitmap);
51 assertColor(Color.MAGENTA, bitmap.getPixel(0, 0));
56 assertColor(Color.BLUE, bitmap.getPixel(0, 0));
61 assertColor(Color.CYAN, bitmap.getPixel(0, 0));
64 bitmap.eraseColor(Color.TRANSPARENT)
    [all...]
  /cts/tests/tests/graphics/src/android/graphics/drawable/shapes/cts/
PathShapeTest.java 24 import android.graphics.Bitmap;
28 import android.graphics.Bitmap.Config;
77 Bitmap bitmap = Bitmap.createBitmap(SHAPE_SIZE, SHAPE_SIZE, Config.ARGB_8888); local
78 Canvas canvas = new Canvas(bitmap);
86 assertEquals(TEST_COLOR_1, bitmap.getPixel(50, 50));
97 if (bitmap.getPixel(25, i) == TEST_COLOR_2) {
100 if (bitmap.getPixel(i, 25) == TEST_COLOR_2) {
103 if (bitmap.getPixel(i, i) == TEST_COLOR_2)
    [all...]
ShapeTest.java 24 import android.graphics.Bitmap;
28 import android.graphics.Bitmap.Config;
139 Bitmap bitmap = Bitmap.createBitmap(TEST_WIDTH, TEST_HEIGHT, Config.ARGB_8888); local
140 Canvas canvas = new Canvas(bitmap);
147 assertEquals(0, bitmap.getPixel(0, 0));
151 assertEquals(0, bitmap.getPixel(0, 0));
  /external/skia/src/animator/
SkDrawTo.cpp 27 SK_MEMBER(use, Bitmap)
  /frameworks/base/core/tests/coretests/src/android/widget/
TextViewPerformanceTest.java 20 import android.graphics.Bitmap;
43 Bitmap mBitmap = Bitmap.createBitmap(320, 240, Bitmap.Config.RGB_565);
  /frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
MediaFrameworkTest.java 44 import android.graphics.Bitmap;
65 public static Bitmap mDestBitmap;
92 mDestBitmap = Bitmap.createBitmap((int)640, (int)480, Bitmap.Config.ARGB_8888);

Completed in 1921 milliseconds

1 2 3 4 5 6 7 891011>>