HomeSort by relevance Sort by last modified time
    Searched defs:bitmap (Results 301 - 325 of 1029) sorted by null

<<11121314151617181920>>

  /cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/
DepthImage.java 20 import android.graphics.Bitmap;
33 private final Bitmap mDepthBitmap;
42 Bitmap depthBitmap, double blurAtInfinity,
74 Bitmap bitmap = BitmapFactory.decodeStream(context.getContentResolver().openInputStream(uriDepthmap)); local
75 if (bitmap == null) {
85 bitmap, // depthmap
94 public Bitmap getDepthBitmap() {
RGBZ.java 21 import android.graphics.Bitmap;
42 private Bitmap bitmap; field in class:RGBZ
43 private Bitmap preview;
44 private Bitmap depthBitmap;
61 bitmap = setAlphaChannel(preview, depthBitmap);
80 bitmap = setAlphaChannel(preview, depthBitmap);
92 * @return The color+depth {@code Bitmap}
94 public Bitmap getBitmap() {
95 return bitmap;
    [all...]
  /cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
ColorSpaceTests.java 19 import static android.graphics.Bitmap.Config.ARGB_8888;
20 import static android.graphics.Bitmap.Config.HARDWARE;
21 import static android.graphics.Bitmap.Config.RGB_565;
24 import android.graphics.Bitmap;
48 private Bitmap mMask;
52 Bitmap res = BitmapFactory.decodeResource(getActivity().getResources(),
54 mMask = Bitmap.createBitmap(res.getWidth(), res.getHeight(), Bitmap.Config.ALPHA_8);
62 Bitmap bitmap8888 = loadAsset("green-p3.png", ARGB_8888);
63 Bitmap bitmapHardware = loadAsset("green-p3.png", HARDWARE)
80 Bitmap bitmap = loadAsset("green-p3.png", RGB_565); local
112 Bitmap bitmap = loadAsset("orange-prophotorgb.png", RGB_565); local
170 Bitmap bitmap; local
    [all...]
  /cts/tests/tests/uirendering/src/android/uirendering/cts/testinfrastructure/
ResourceModifier.java 21 import android.graphics.Bitmap;
50 public final Bitmap bitmap; field in class:ResourceModifier
55 bitmap = BitmapFactory.decodeResource(resources, R.drawable.sunset1);
56 int texWidth = bitmap.getWidth();
57 int texHeight = bitmap.getHeight();
62 repeatShader = new BitmapShader(bitmap, Shader.TileMode.REPEAT,
65 translatedShader = new BitmapShader(bitmap, Shader.TileMode.REPEAT,
72 scaledShader = new BitmapShader(bitmap, Shader.TileMode.MIRROR,
98 final float width = bitmap.getWidth() / 8.0f
    [all...]
  /developers/build/prebuilts/androidtv/leanback/app/src/main/java/com/example/android/tvleanback/recommendation/
UpdateRecommendationsService.java 26 import android.graphics.Bitmap;
98 Bitmap bitmap = Glide.with(getApplicationContext()) local
103 notificationBuilder.setBitmap(bitmap);
  /developers/build/prebuilts/gradle/XYZTouristAttractions/Wearable/src/main/java/com/example/android/xyztouristattractions/service/
ListenerService.java 22 import android.graphics.Bitmap;
103 Bitmap bitmap = Utils.loadBitmapFromAsset( local
118 .setBackground(bitmap)
  /developers/samples/android/tv/ChannelsPrograms/Application/src/main/java/com/example/android/tv/channelsprograms/util/
TvUtil.java 24 import android.graphics.Bitmap;
108 Bitmap bitmap = convertToBitmap(context, subscription.getChannelLogo()); local
109 ChannelLogoUtils.storeChannelLogo(context, channelId, bitmap);
127 * Converts a resource into a {@link Bitmap}. If the resource is a vector drawable, it will be
128 * drawn into a new Bitmap. Otherwise the {@link BitmapFactory} will decode the resource.
132 * @return a bitmap of the resource.
135 public static Bitmap convertToBitmap(Context context, int resourceId) {
138 Bitmap bitmap local
    [all...]
  /developers/samples/android/wearable/wear/XYZTouristAttractions/Wearable/src/main/java/com/example/android/xyztouristattractions/service/
ListenerService.java 22 import android.graphics.Bitmap;
103 Bitmap bitmap = Utils.loadBitmapFromAsset( local
118 .setBackground(bitmap)
  /development/samples/browseable/XYZTouristAttractions/Wearable/src/com.example.android.xyztouristattractions/service/
ListenerService.java 22 import android.graphics.Bitmap;
103 Bitmap bitmap = Utils.loadBitmapFromAsset( local
118 .setBackground(bitmap)
  /external/ImageMagick/MagickCore/
nt-feature.c 105 BITMAP
106 bitmap;
168 bitmap.bmType = 0;
169 bitmap.bmWidth = (LONG) page.width;
170 bitmap.bmHeight = (LONG) page.height;
171 bitmap.bmWidthBytes = bitmap.bmWidth * 4;
172 bitmap.bmPlanes = 1;
173 bitmap.bmBitsPixel = 32;
174 bitmap.bmBits = NULL
104 bitmap; local
576 bitmap; local
    [all...]
  /external/autotest/client/deps/glbench/src/
windowmanagertest.cc 33 unsigned char* bitmap = new unsigned char[4 * w * h]; local
34 unsigned char* pixel = bitmap;
55 return bitmap;
104 unsigned char* bitmap = CreateBitmap(g_height, g_width); local
107 GL_RGBA, GL_UNSIGNED_BYTE, bitmap);
  /external/freetype/include/freetype/
ftglyph.h 63 /* bitmap, a vector outline, or even images in other formats. */
80 /* bitmap or pointer. */
124 /* A handle to an object used to model a bitmap glyph image. This is */
136 /* A structure used for bitmap glyph images. This really is a */
144 /* glyph bitmap. */
148 /* bitmap. This distance is positive for upwards~y! */
150 /* bitmap :: A descriptor for the bitmap. */
155 /* the bitmap's contents easily. */
165 FT_Bitmap bitmap; member in struct:FT_BitmapGlyphRec_
    [all...]
  /external/freetype/src/cache/
ftcsbits.c 44 FT_Bitmap* bitmap,
48 FT_Int pitch = bitmap->pitch;
55 size = (FT_ULong)pitch * bitmap->rows;
60 FT_MEM_COPY( sbit->buffer, bitmap->buffer, size );
94 * This function tries to load a small bitmap within a given FTC_SNode.
136 FT_Bitmap* bitmap = &slot->bitmap; local
143 " glyph loaded didn't return a bitmap\n" ));
148 /* If this is not the case, our bitmap is too large */
158 if ( !CHECK_BYTE( bitmap->rows ) |
    [all...]
  /external/freetype/src/smooth/
ftsmooth.c 92 /* convert a slot's glyph image into a bitmap */
102 FT_Bitmap* bitmap = &slot->bitmap; local
126 /* release old bitmap buffer */
129 FT_FREE( bitmap->buffer );
136 if ( FT_ALLOC_MULT( bitmap->buffer, bitmap->rows, bitmap->pitch ) )
143 if ( bitmap->pixel_mode == FT_PIXEL_MODE_LCD_V )
144 y_shift += 64 * (FT_Int)bitmap->rows / 3
    [all...]
  /external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/
RecyclableBufferedInputStream.java 1 package com.bumptech.glide.load.resource.bitmap;
  /external/kernel-headers/original/uapi/linux/
virtio_input.h 64 __u8 bitmap[128]; member in union:virtio_input_config::__anon23474
  /external/libvncserver/examples/
example.c 231 char bitmap[]= local
264 c=rfbScreen->cursor = rfbMakeXCursor(w,h,bitmap,bitmap);
  /external/opencv/otherlibs/highgui/
grfmt_imageio.cpp 136 CGContextRef context = NULL; // The bitmap context
138 uchar* bitmap = NULL; local
158 bitmap = (uchar*)malloc( bpp * m_height * m_width );
159 if( !bitmap )
165 context = CGBitmapContextCreate( (void *)bitmap,
176 free( bitmap );
180 // Copy the image data into the bitmap region
187 free( bitmap);
192 // Move the bitmap (in RGB) into data (in BGR)
220 memcpy (data + y * step, bitmap + y * m_width, m_width)
    [all...]
  /external/pdfium/core/fxge/dib/
cfx_imagetransformer.h 64 const CFX_DIBitmap* bitmap; member in struct:CFX_ImageTransformer::CalcData
  /external/pdfium/core/fxge/skia/
fx_skia_device_unittest.cpp 122 FPDF_BITMAP bitmap = FPDFBitmap_Create(w, h, 1); local
123 EXPECT_NE(nullptr, bitmap);
124 if (!bitmap)
126 FPDFBitmap_FillRect(bitmap, 0, 0, w, h, 0x00000000);
128 RetainPtr<CFX_DIBitmap> pBitmap(CFXBitmapFromFPDFBitmap(bitmap));
  /external/replicaisland/src/com/replica/replicaisland/
HudSystem.java 300 DrawableBitmap bitmap = factory.allocateDrawableBitmap(); local
301 if (bitmap != null) {
302 bitmap.resize(barWidth, mFuelDrawable.getHeight());
303 bitmap.setTexture(mFuelDrawable.getTexture());
304 render.scheduleForDraw(bitmap, location, SortConstants.HUD + 1, false);
314 DrawableBitmap bitmap = mFlyButtonEnabledDrawable; local
316 bitmap = mFlyButtonDepressedDrawable;
318 bitmap = mFlyButtonDisabledDrawable;
321 if (bitmap.getWidth() == 0) {
323 Texture tex = bitmap.getTexture()
334 DrawableBitmap bitmap = mStompButtonEnabledDrawable; local
371 DrawableBitmap bitmap = mMovementSliderButtonDrawable; local
452 DrawableBitmap bitmap = factory.allocateDrawableBitmap(); local
    [all...]
  /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowBitmapDrawable.java 6 import android.graphics.Bitmap;
20 private Bitmap bitmap; field in class:ShadowBitmapDrawable
29 public void __constructor__(Bitmap bitmap) {
30 this.bitmap = bitmap;
33 public void __constructor__(Resources resources, Bitmap bitmap) {
34 this.bitmap = bitmap
    [all...]
  /external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
ShadowBitmapFactory.java 8 import android.graphics.Bitmap;
40 public static Bitmap decodeResourceStream(Resources res, TypedValue value, InputStream is, Rect pad, BitmapFactory.Options opts) {
41 Bitmap bitmap = directlyOn(BitmapFactory.class, "decodeResourceStream", local
50 ReflectionHelpers.callInstanceMethod(bitmap, "setNinePatchChunk", ClassParameter.from(byte[].class, new byte[0]));
52 return bitmap;
56 public static Bitmap decodeResource(Resources res, int id, BitmapFactory.Options options) {
60 Bitmap bitmap = create("resource:" + RuntimeEnvironment.application.getResources().getResourceName(id), options); local
61 Shadows.shadowOf(bitmap).createdFromResId = id
77 Bitmap bitmap = create("file:" + pathName, options); local
85 Bitmap bitmap = create("fd:" + fd, opts); local
111 Bitmap bitmap = create(name, opts, imageSize); local
120 Bitmap bitmap = decodeByteArray(data, offset, length, new BitmapFactory.Options()); local
151 Bitmap bitmap = Shadow.newInstanceOf(Bitmap.class); local
    [all...]
ShadowMediaMetadataRetriever.java 6 import android.graphics.Bitmap;
21 private static final Map<DataSource, Map<Long, Bitmap>> frames = new HashMap<>();
62 public Bitmap getFrameAtTime(long timeUs, int option) {
101 public static void addFrame(DataSource ds, long time, Bitmap bitmap) {
103 frames.put(ds, new HashMap<Long, Bitmap>());
105 frames.get(ds).put(time, bitmap);
109 * Adds the given bitmap at the given time for the given data source.
111 * then calls {@link #addFrame(DataSource, long, Bitmap)}. This
113 * you can call {@link #addFrame(DataSource, long, Bitmap)} directly
121 addFrame(toDataSource(path), time, bitmap); local
138 addFrame(toDataSource(context, uri), time, bitmap); local
155 addFrame(toDataSource(uri, headers), time, bitmap); local
171 addFrame(toDataSource(fd), time, bitmap); local
190 addFrame(toDataSource(fd, offset, length), time, bitmap); local
    [all...]
  /external/skia/gm/
all_bitmap_configs.cpp 32 // Make either A8 or gray8 bitmap.
124 SkBitmap bitmap; local
125 if (GetResourceAsBitmap("images/color_wheel.png", &bitmap)) {
126 bitmap.setImmutable();
127 draw(canvas, p, bitmap, kN32_SkColorType, "Native 32");
130 SkBitmap copy565 = copy_bitmap(bitmap, kRGB_565_SkColorType);
136 SkBitmap copy4444 = copy_bitmap(bitmap, kARGB_4444_SkColorType);

Completed in 1188 milliseconds

<<11121314151617181920>>