Home
last modified time | relevance | path

Searched refs:bitmap (Results 1 – 25 of 28) sorted by relevance

12

/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DDensityActivity.java135 Bitmap bitmap; in addBitmapDrawable() local
136 bitmap = loadAndPrintDpi(resource, scale); in addBitmapDrawable()
140 final BitmapDrawable d = new BitmapDrawable(getResources(), bitmap); in addBitmapDrawable()
161 Bitmap bitmap; in addCanvasBitmap() local
162 bitmap = loadAndPrintDpi(resource, scale); in addCanvasBitmap()
164 ScaledBitmapView view = new ScaledBitmapView(this, bitmap); in addCanvasBitmap()
185 Bitmap bitmap; in loadAndPrintDpi() local
187 bitmap = BitmapFactory.decodeResource(getResources(), id); in loadAndPrintDpi()
191 bitmap = BitmapFactory.decodeResource(getResources(), id, opts); in loadAndPrintDpi()
193 return bitmap; in loadAndPrintDpi()
[all …]
DStaticTriangleRenderer.java191 Bitmap bitmap; in load() local
193 bitmap = BitmapFactory.decodeStream(is); in load()
202 GLUtils.texImage2D(GL_TEXTURE_2D, 0, bitmap, 0); in load()
203 bitmap.recycle(); in load()
DTriangleRenderer.java94 Bitmap bitmap; in onSurfaceCreated() local
96 bitmap = BitmapFactory.decodeStream(is); in onSurfaceCreated()
105 GLUtils.texImage2D(GL10.GL_TEXTURE_2D, 0, bitmap, 0); in onSurfaceCreated()
106 bitmap.recycle(); in onSurfaceCreated()
DGLES20TriangleRenderer.java140 Bitmap bitmap; in onSurfaceCreated() local
142 bitmap = BitmapFactory.decodeStream(is); in onSurfaceCreated()
151 GLUtils.texImage2D(GLES20.GL_TEXTURE_2D, 0, bitmap, 0); in onSurfaceCreated()
152 bitmap.recycle(); in onSurfaceCreated()
DMatrixPaletteRenderer.java281 Bitmap bitmap; in onSurfaceCreated() local
283 bitmap = BitmapFactory.decodeStream(is); in onSurfaceCreated()
292 GLUtils.texImage2D(GL10.GL_TEXTURE_2D, 0, bitmap, 0); in onSurfaceCreated()
293 bitmap.recycle(); in onSurfaceCreated()
DCubeMapActivity.java147 Bitmap bitmap; in generateCubeMap() local
149 bitmap = BitmapFactory.decodeStream(is); in generateCubeMap()
158 bitmap, 0); in generateCubeMap()
159 bitmap.recycle(); in generateCubeMap()
/development/samples/Snake/src/com/example/android/snake/
DTileView.java119 Bitmap bitmap = Bitmap.createBitmap(mTileSize, mTileSize, Bitmap.Config.ARGB_8888); in loadTile() local
120 Canvas canvas = new Canvas(bitmap); in loadTile()
124 mTileArray[key] = bitmap; in loadTile()
/development/samples/BrowserPlugin/jni/animation/
DAnimationPlugin.h38 void drawPlugin(const ANPBitmap& bitmap, const ANPRectI& clip);
DAnimationPlugin.cpp100 void BallAnimation::drawPlugin(const ANPBitmap& bitmap, const ANPRectI& clip) { in drawPlugin() argument
103 ANPCanvas* canvas = gCanvasI.newCanvas(&bitmap); in drawPlugin()
183 drawPlugin(evt->data.draw.data.bitmap, evt->data.draw.clip); in handleEvent()
/development/samples/BasicGLSurfaceView/src/com/example/android/basicglsurfaceview/
DGLES20TriangleRenderer.java138 Bitmap bitmap; in onSurfaceCreated() local
140 bitmap = BitmapFactory.decodeStream(is); in onSurfaceCreated()
149 GLUtils.texImage2D(GLES20.GL_TEXTURE_2D, 0, bitmap, 0); in onSurfaceCreated()
150 bitmap.recycle(); in onSurfaceCreated()
/development/samples/BrowserPlugin/jni/navigation/
DNavigationPlugin.h39 void drawPlugin(const ANPBitmap& bitmap, const ANPRectI& clip);
DNavigationPlugin.cpp98 void NavigationPlugin::drawPlugin(const ANPBitmap& bitmap, const ANPRectI& clip) { in drawPlugin() argument
99 ANPCanvas* canvas = gCanvasI.newCanvas(&bitmap); in drawPlugin()
173 drawPlugin(evt->data.draw.data.bitmap, evt->data.draw.clip); in handleEvent()
/development/samples/BrowserPlugin/jni/background/
DBackgroundPlugin.cpp148 ANPBitmap bitmap; in drawPlugin() local
151 !gSurfaceI.lock(env, m_surface, &bitmap, NULL)) { in drawPlugin()
157 ANPCanvas* canvas = gCanvasI.newCanvas(&bitmap); in drawPlugin()
356 if (evt->data.draw.data.bitmap.format == kRGBA_8888_ANPBitmapFormat) { in test_bitmap_transparency()
374 if (evt->data.draw.data.bitmap.format != kRGBA_8888_ANPBitmapFormat) { in test_bitmap_transparency()
390 if (evt->data.draw.data.bitmap.format == kRGBA_8888_ANPBitmapFormat) { in test_bitmap_transparency()
/development/samples/BrowserPlugin/jni/audio/
DAudioPlugin.h48 void drawPlugin(const ANPBitmap& bitmap, const ANPRectI& clip);
DAudioPlugin.cpp191 void AudioPlugin::drawPlugin(const ANPBitmap& bitmap, const ANPRectI& clip) { in drawPlugin() argument
192 ANPCanvas* canvas = gCanvasI.newCanvas(&bitmap); in drawPlugin()
282 drawPlugin(evt->data.draw.data.bitmap, evt->data.draw.clip); in handleEvent()
/development/ndk/platforms/android-8/samples/bitmap-plasma/src/com/example/plasma/
DPlasma.java46 private static native void renderPlasma(Bitmap bitmap, long time_ms); in renderPlasma() argument
/development/samples/BrowserPlugin/jni/form/
DFormPlugin.h45 void drawPlugin(const ANPBitmap& bitmap, const ANPRectI& clip);
DFormPlugin.cpp117 void FormPlugin::drawPlugin(const ANPBitmap& bitmap, const ANPRectI& clip) { in drawPlugin() argument
118 ANPCanvas* canvas = gCanvasI.newCanvas(&bitmap); in drawPlugin()
209 drawPlugin(evt->data.draw.data.bitmap, evt->data.draw.clip); in handleEvent()
/development/ndk/platforms/android-3/include/linux/raid/
Dmd_k.h160 struct bitmap *bitmap; member
/development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/
DSpriteTextRenderer.java100 Bitmap bitmap; in onSurfaceCreated() local
102 bitmap = BitmapFactory.decodeStream(is); in onSurfaceCreated()
111 GLUtils.texImage2D(GL10.GL_TEXTURE_2D, 0, bitmap, 0); in onSurfaceCreated()
112 bitmap.recycle(); in onSurfaceCreated()
/development/ndk/platforms/android-8/samples/bitmap-plasma/jni/
Dplasma.c364 …example_plasma_PlasmaView_renderPlasma(JNIEnv * env, jobject obj, jobject bitmap, jlong time_ms) in Java_com_example_plasma_PlasmaView_renderPlasma() argument
378 if ((ret = AndroidBitmap_getInfo(env, bitmap, &info)) < 0) { in Java_com_example_plasma_PlasmaView_renderPlasma()
388 if ((ret = AndroidBitmap_lockPixels(env, bitmap, &pixels)) < 0) { in Java_com_example_plasma_PlasmaView_renderPlasma()
397 AndroidBitmap_unlockPixels(env, bitmap); in Java_com_example_plasma_PlasmaView_renderPlasma()
/development/apps/GestureBuilder/src/com/android/gesture/builder/
DGestureBuilderActivity.java353 final Bitmap bitmap = gesture.toBitmap(mThumbnailSize, mThumbnailSize, in doInBackground() local
359 mAdapter.addBitmap(namedGesture.gesture.getID(), bitmap); in doInBackground() local
417 void addBitmap(Long id, Bitmap bitmap) { in addBitmap() argument
418 mThumbnails.put(id, new BitmapDrawable(bitmap)); in addBitmap()
/development/ndk/platforms/android-5/arch-x86/include/asm/
Dgenapic_32.h32 unsigned long (*check_apicid_used)(physid_mask_t bitmap, int apicid);
/development/samples/BrowserPlugin/jni/paint/
DPaintPlugin.cpp98 ANPBitmap bitmap; in getCanvas() local
101 !gSurfaceI.lock(env, m_surface, &bitmap, dirtyRect)) { in getCanvas()
105 ANPCanvas* canvas = gCanvasI.newCanvas(&bitmap); in getCanvas()
/development/samples/BrowserPlugin/jni/
Dmain.cpp334 if (evt->data.draw.data.bitmap.format != currentFormat) { in NPP_HandleEvent()
335 currentFormat = evt->data.draw.data.bitmap.format; in NPP_HandleEvent()
342 evt->data.draw.data.bitmap.format); in NPP_HandleEvent()

12