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

1 2 3 45 6 7 8 91011>>

  /external/skia/include/core/
SkBitmap.h 35 The SkBitmap class specifies a raster bitmap. A bitmap has an integer width
45 kNo_Config, //!< bitmap has not been configured
57 /** Default construct creates a bitmap with zero width and height, and no pixels.
61 /** Constructor initializes the new bitmap by copying the src bitmap. All fields are copied,
62 but ownership of the pixels remains with the src bitmap.
69 /** Copies the src bitmap into this bitmap. Ownership of the src bitmap's pixels remain
    [all...]
  /prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/lib/gcc/arm-eabi/4.4.0/plugin/include/
bitmap.h 27 /* Fundamental storage type for bitmap. */
40 /* Number of bits in each actual element of a bitmap. */
52 /* Bitmap set element. We use a linked list to hold only the bits that
73 /* Head of bitmap linked list. gengtype ignores ifdefs, but for
74 statistics we need to add a bitmap descriptor pointer. As it is
89 extern bitmap_element bitmap_zero_bits; /* Zero bitmap element */
90 extern bitmap_obstack bitmap_default_obstack; /* Default bitmap obstack */
92 /* Clear a bitmap by freeing up the linked list. */
93 extern void bitmap_clear (bitmap);
95 /* Copy a bitmap to another bitmap. *
    [all...]
  /external/webkit/WebCore/platform/graphics/skia/
ImageSkia.cpp 56 // trying to make a pattern by stretching a small bitmap very large.
67 static ResamplingMode computeResamplingMode(const NativeImageSkia& bitmap, int srcWidth, int srcHeight, float destWidth, float destHeight)
129 if (!bitmap.isDataComplete())
136 // Draws the given bitmap to the given canvas. The subset of the source bitmap
137 // identified by src_rect is drawn to the given destination rect. The bitmap
141 // This does a lot of computation to resample only the portion of the bitmap
146 static void drawResampledBitmap(SkCanvas& canvas, SkPaint& paint, const NativeImageSkia& bitmap, const SkIRect& srcIRect, const SkRect& destRect)
150 bitmap.extractSubset(&subset, srcIRect);
156 && srcIRect.width() == bitmap.width(
    [all...]
  /cts/tests/res/xml/
bitmapdrawable.xml 19 <bitmap android:src="@drawable/testimage"
28 <bitmap android:src="@drawable/size_48x48"
34 <bitmap android:src="@drawable/colorstatelist_test"/>
38 <bitmap android:gravity="center"/>
  /external/e2fsprogs/tests/m_std/
expect.1 62 Block bitmap at 258 (+257), Inode bitmap at 259 (+258)
70 Block bitmap at 8450 (+257), Inode bitmap at 8451 (+258)
76 Block bitmap at 16385 (+0), Inode bitmap at 16386 (+1)
84 Block bitmap at 24834 (+257), Inode bitmap at 24835 (+258)
90 Block bitmap at 32769 (+0), Inode bitmap at 32770 (+1
    [all...]
  /external/skia/src/gl/
SkGLDevice_FBO.cpp 4 SkGLDevice_FBO::SkGLDevice_FBO(const SkBitmap& bitmap, bool offscreen)
5 : SkGLDevice(bitmap, offscreen) {
10 int nw = SkNextPow2(bitmap.rowBytesAsPixels());
11 int nh = SkNextPow2(bitmap.height());
SkGLDevice_FBO.h 8 SkGLDevice_FBO(const SkBitmap& bitmap, bool offscreen);
  /frameworks/base/graphics/tests/graphicstests/src/android/graphics/
ThreadBitmapTest.java 20 import android.graphics.Bitmap;
38 public Bitmap b;
41 b = Bitmap.createBitmap(300, 300, Bitmap.Config.RGB_565);
  /frameworks/base/media/java/android/media/
FaceDetector.java 19 import android.graphics.Bitmap;
27 * {@link android.graphics.Bitmap} graphic object.
33 * of a face in a bitmap.
125 * Finds all the faces found in a given {@link android.graphics.Bitmap}.
127 * face found. The bitmap must be in 565 format (for now).
129 * @param bitmap the {@link android.graphics.Bitmap} graphic to be analyzed
134 * @throws IllegalArgumentException if the Bitmap dimensions don't match
139 public int findFaces(Bitmap bitmap, Face[] faces
    [all...]
  /packages/apps/Camera/src/com/android/camera/ui/
RawTexture.java 19 import android.graphics.Bitmap;
44 protected void freeBitmap(Bitmap bitmap) {
49 protected Bitmap getBitmap() {
  /external/skia/src/core/
SkBitmapSampler.cpp 65 #define BITMAP_PIXEL_TO_PMCOLOR(bitmap, x, y) *bitmap.getAddr32(x, y)
71 #define BITMAP_PIXEL_TO_PMCOLOR(bitmap, x, y) SkPixel16ToPixel32(*bitmap.getAddr16(x, y))
75 #define BITMAP_PIXEL_TO_PMCOLOR(bitmap, x, y) bitmap.getIndex8Color(x, y)
102 const SkBitmap* bitmap = &fBitmap; local
113 p00 = bitmap->getAddr32(tmpx, tmpy);
116 p01 = bitmap->getAddr32(tmpx1, tmpy);
119 p10 = bitmap->getAddr32(tmpx, tmpy1)
150 const SkBitmap* bitmap = &fBitmap; local
196 const SkBitmap* bitmap = &fBitmap; local
264 const SkBitmap* bitmap = &fBitmap; local
    [all...]
  /external/webkit/WebKit/android/plugins/
ANPSurface_npapi.h 33 /** Locks the surface from manipulation by other threads and provides a bitmap
35 bitmap will be written to. If the dirtyRect is NULL then the entire
37 will return true and the bitmap will be set to point to a valid bitmap.
38 If not the function will return false and the bitmap will be set to NULL.
40 bool (*lock)(JNIEnv* env, jobject surface, ANPBitmap* bitmap, ANPRectI* dirtyRect);
42 the surface is unlocked and the contents of the bitmap, specifically
  /cts/tests/src/android/widget/cts/
WidgetTestUtils.java 24 import android.graphics.Bitmap;
38 * @param Bitmap b1 the first bitmap which needs to compare.
39 * @param Bitmap b2 the second bitmap which needs to compare.
41 public static void assertEquals(Bitmap b1, Bitmap b2) {
107 * Retrieve a bitmap that can be used for comparison on any density
109 * @return the {@link Bitmap} or <code>null</code>
111 public static Bitmap getUnscaledBitmap(Resources resources, int resId)
    [all...]
  /cts/tests/tests/graphics/src/android/graphics/cts/
DashPathEffectTest.java 23 import android.graphics.Bitmap;
30 import android.graphics.Bitmap.Config;
57 Bitmap bitmap = Bitmap.createBitmap(BITMAP_WIDTH, BITMAP_HEIGHT, Config.ARGB_8888); local
58 bitmap.eraseColor(BACKGROUND);
70 Canvas canvas = new Canvas(bitmap);
79 assertEquals(FOREGROUND, bitmap.getPixel(x, y));
81 assertEquals(BACKGROUND, bitmap.getPixel(x, y));
84 assertEquals(BACKGROUND, bitmap.getPixel(x, y))
    [all...]
TypefaceTest.java 27 import android.graphics.Bitmap;
33 import android.graphics.Bitmap.Config;
178 Bitmap bitmap = Bitmap.createBitmap(100, 100, Config.ARGB_8888); local
179 bitmap.eraseColor(Color.BLACK);
180 Canvas canvas = new Canvas(bitmap);
187 canvas.drawText("test", bitmap.getWidth() / 2, 3 * bitmap.getHeight() / 4 , p);
191 Bitmap expected = BitmapFactory.decodeResource
    [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...]
RoundRectShapeTest.java 25 import android.graphics.Bitmap;
29 import android.graphics.Bitmap.Config;
95 Bitmap bitmap = Bitmap.createBitmap(TEST_WIDTH, TEST_HEIGHT, Config.ARGB_8888); local
96 Canvas canvas = new Canvas(bitmap);
103 assertEquals(0, bitmap.getPixel(0, 0));
104 assertEquals(TEST_COLOR_1, bitmap.getPixel(TEST_WIDTH / 2, 0));
108 assertEquals(0, bitmap.getPixel(0, 0));
109 assertEquals(TEST_COLOR_2, bitmap.getPixel(TEST_WIDTH / 2, 0))
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
BitmapDecode.java 42 private Bitmap mBitmap;
43 private Bitmap mBitmap2;
44 private Bitmap mBitmap3;
45 private Bitmap mBitmap4;
72 Bitmap bm;
78 // bitmap, even though bm is null
95 mBitmap3 = Bitmap.createBitmap(pixels, 0, w, w, h,
96 Bitmap.Config.ARGB_8888);
97 mBitmap4 = Bitmap.createBitmap(pixels, 0, w, w, h,
98 Bitmap.Config.ARGB_4444)
    [all...]
  /packages/apps/Gallery/src/com/android/camera/gallery/
Image.java 24 import android.graphics.Bitmap;
151 public Bitmap thumbBitmap(boolean rotateAsNeeded) {
152 Bitmap bitmap = null; local
155 options.inPreferredConfig = Bitmap.Config.ARGB_8888;
156 bitmap = BitmapManager.instance().getThumbnail(mContentResolver, mId,
159 if (bitmap != null && rotateAsNeeded) {
160 bitmap = Util.rotate(bitmap, getDegreesRotated());
163 return bitmap;
    [all...]
  /packages/apps/Launcher2/src/com/android/launcher2/
IconCache.java 23 import android.graphics.Bitmap;
38 public Bitmap icon;
40 public Bitmap titleBitmap;
43 private final Bitmap mDefaultIcon;
57 private Bitmap makeDefaultIcon() {
59 Bitmap b = Bitmap.createBitmap(Math.max(d.getIntrinsicWidth(), 1),
61 Bitmap.Config.ARGB_8888);
102 public Bitmap getIcon(Intent intent) {
116 public Bitmap getIcon(ComponentName component, ResolveInfo resolveInfo)
    [all...]
FastBitmapDrawable.java 21 import android.graphics.Bitmap;
26 private Bitmap mBitmap;
30 FastBitmapDrawable(Bitmap b) {
78 public void setBitmap(Bitmap b) {
88 public Bitmap getBitmap() {
  /external/kernel-headers/original/linux/
bitmap.h 12 * longs. The bitmap interface and available operations are listed
13 * here, in bitmap.h
16 * lib/bitmap.c. Functions implementations that are architecture
20 * See lib/bitmap.c for more details.
24 * The available bitmap operations and their rough meaning in the
25 * case that the bitmap is a single unsigned long are thus:
48 * bitmap_scnprintf(buf, len, src, nbits) Print bitmap src to buf
49 * bitmap_parse(ubuf, ulen, dst, nbits) Parse bitmap dst from user buf
50 * bitmap_scnlistprintf(buf, len, src, nbits) Print bitmap src as list to buf
51 * bitmap_parselist(buf, dst, nbits) Parse bitmap dst from lis
    [all...]
  /external/skia/src/utils/
SkNinePatch.cpp 85 const SkBitmap& bitmap,
89 if (bounds.isEmpty() || bitmap.width() == 0 || bitmap.height() == 0) {
94 SkAutoLockPixels alp(bitmap);
96 if (!bitmap.readyToDraw()) {
109 for (i = numYDivs - 1; i >= 0 && yDivs[i] == bitmap.height(); --i) {
122 canvas->drawBitmapRect(bitmap, NULL, bounds, paint);
143 int fixed = bitmap.width() - stretchSize;
155 int fixed = bitmap.height() - stretchSize;
164 bitmap.width(), bitmap.height()
    [all...]
  /frameworks/base/graphics/java/android/graphics/drawable/
NinePatchDrawable.java 34 * A resizeable bitmap, with stretchable areas that you define. This type of image
59 * @deprecated Use {@link #NinePatchDrawable(Resources, Bitmap, byte[], Rect, String)}
63 public NinePatchDrawable(Bitmap bitmap, byte[] chunk, Rect padding, String srcName) {
64 this(new NinePatchState(new NinePatch(bitmap, chunk, srcName), padding), null);
71 public NinePatchDrawable(Resources res, Bitmap bitmap, byte[] chunk,
73 this(new NinePatchState(new NinePatch(bitmap, chunk, srcName), padding), res);
119 * @see android.graphics.Bitmap#setDensity(int)
120 * @see android.graphics.Bitmap#getDensity(
248 Bitmap bitmap = null; local
    [all...]
  /packages/apps/Gallery/src/com/android/camera/
Util.java 27 import android.graphics.Bitmap;
62 // Rotates the bitmap by the specified degree.
63 // If a new bitmap is created, the original bitmap is recycled.
64 public static Bitmap rotate(Bitmap b, int degrees) {
70 Bitmap b2 = Bitmap.createBitmap(
77 // We have no memory to rotate. Return the original bitmap.
87 * bitmap
    [all...]

Completed in 116 milliseconds

1 2 3 45 6 7 8 91011>>