/development/ndk/platforms/android-8/samples/bitmap-plasma/src/com/example/plasma/ |
H A D | Plasma.java | 46 private static native void renderPlasma(Bitmap bitmap, long time_ms); argument
|
/development/samples/BrowserPlugin/jni/animation/ |
H A D | AnimationThread.cpp | 64 SkBitmap* bitmap = new SkBitmap; local 65 bitmap->setConfig(SkBitmap::kARGB_8888_Config, width, height); 66 bitmap->allocPixels(); 67 bitmap->eraseColor(0x00000000); 68 return bitmap;
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
H A D | DensityActivity.java | 59 addLabelToRoot(root, "Prescaled bitmap in drawable"); 66 addLabelToRoot(root, "Autoscaled bitmap in drawable"); 88 addLabelToRoot(root, "Prescaled bitmap"); 95 addLabelToRoot(root, "Autoscaled bitmap"); 135 Bitmap bitmap; 136 bitmap = loadAndPrintDpi(resource, scale); 140 final BitmapDrawable d = new BitmapDrawable(getResources(), bitmap); 161 Bitmap bitmap; 162 bitmap = loadAndPrintDpi(resource, scale); 164 ScaledBitmapView view = new ScaledBitmapView(this, bitmap); 199 ScaledBitmapView(Context context, Bitmap bitmap) argument [all...] |
/development/samples/BrowserPlugin/jni/ |
H A D | RenderingThread.cpp | 144 void RenderingThread::setupNativeWindow(ANativeWindow* ANW, const SkBitmap& bitmap) argument 146 int result = ANativeWindow_setBuffersGeometry(ANW, bitmap.width(), 147 bitmap.height(), WINDOW_FORMAT_RGBA_8888); 168 updateNativeWindow(ANW, bitmap); 172 const SkBitmap& bitmap) 175 if (bitmap.height() == 0 || bitmap.width() == 0) 187 bitmap.lockPixels(); 188 uint8_t* bitmapOrigin = static_cast<uint8_t*>(bitmap.getPixels()); 190 for (row = 0 ; row < bitmap 171 updateNativeWindow(ANativeWindow* ANW, const SkBitmap& bitmap) argument [all...] |
/development/samples/BrowserPlugin/jni/navigation/ |
H A D | NavigationPlugin.cpp | 98 void NavigationPlugin::drawPlugin(const ANPBitmap& bitmap, const ANPRectI& clip) { argument 99 ANPCanvas* canvas = gCanvasI.newCanvas(&bitmap); 173 drawPlugin(evt->data.draw.data.bitmap, evt->data.draw.clip);
|
/development/samples/RandomMusicPlayer/src/com/example/android/musicplayer/ |
H A D | RemoteControlClientCompat.java | 207 * @param key the identifier of the bitmap to set. The only valid value is 209 * @param bitmap The bitmap for the artwork, or null if there isn't any. 215 public MetadataEditorCompat putBitmap(int key, Bitmap bitmap) { argument 218 mPutBitmapMethod.invoke(mActualMetadataEditor, key, bitmap);
|
/development/samples/XmlAdapters/src/com/example/android/xmladapters/ |
H A D | ImageDownloader.java | 77 // Soft cache for bitmap kicked out of hard cache 92 * otherwise. A null bitmap will be associated to the ImageView if an error occurs. 111 Bitmap bitmap = getBitmapFromCache(url); 113 if (bitmap == null) { 117 imageView.setImageBitmap(bitmap); 201 * @return The cached bitmap or null if it was not found. 206 final Bitmap bitmap = sHardBitmapCache.get(url); 207 if (bitmap != null) { 211 sHardBitmapCache.put(url, bitmap); 212 return bitmap; 316 onPostExecute(Bitmap bitmap) argument [all...] |
/development/samples/BrowserPlugin/jni/audio/ |
H A D | AudioPlugin.cpp | 191 void AudioPlugin::drawPlugin(const ANPBitmap& bitmap, const ANPRectI& clip) { argument 192 ANPCanvas* canvas = gCanvasI.newCanvas(&bitmap); 282 drawPlugin(evt->data.draw.data.bitmap, evt->data.draw.clip);
|
/development/samples/BrowserPlugin/jni/form/ |
H A D | FormPlugin.cpp | 117 void FormPlugin::drawPlugin(const ANPBitmap& bitmap, const ANPRectI& clip) { argument 118 ANPCanvas* canvas = gCanvasI.newCanvas(&bitmap); 209 drawPlugin(evt->data.draw.data.bitmap, evt->data.draw.clip);
|
/development/samples/BrowserPlugin/jni/paint/ |
H A D | PaintPlugin.cpp | 98 ANPBitmap bitmap; local 101 !gSurfaceI.lock(env, m_surface, &bitmap, dirtyRect)) { 105 ANPCanvas* canvas = gCanvasI.newCanvas(&bitmap);
|
/development/samples/training/bitmapfun/src/com/example/android/bitmapfun/util/ |
H A D | ImageWorker.java | 36 * This class wraps up completing some arbitrary long running work when loading a bitmap to an 69 * bitmap. 79 Bitmap bitmap = null; 82 bitmap = mImageCache.getBitmapFromMemCache(String.valueOf(data)); 85 if (bitmap != null) { 87 imageView.setImageBitmap(bitmap); 102 * Set placeholder bitmap that shows when the the background thread is running. 104 * @param bitmap 106 public void setLoadingImage(Bitmap bitmap) { argument 107 mLoadingBitmap = bitmap; 291 onPostExecute(Bitmap bitmap) argument 307 onCancelled(Bitmap bitmap) argument 339 AsyncDrawable(Resources res, Bitmap bitmap, BitmapWorkerTask bitmapWorkerTask) argument 356 setImageBitmap(ImageView imageView, Bitmap bitmap) argument [all...] |
H A D | ImageCache.java | 43 * This class holds our bitmap caches (memory and disk). 132 * for a bitmap cache 135 protected int sizeOf(String key, Bitmap bitmap) { 136 return getBitmapSize(bitmap); 184 * Adds a bitmap to both memory and disk cache. 185 * @param data Unique identifier for the bitmap to store 186 * @param bitmap The bitmap to store 188 public void addBitmapToCache(String data, Bitmap bitmap) { argument 189 if (data == null || bitmap 464 getBitmapSize(Bitmap bitmap) argument [all...] |
/development/apps/GestureBuilder/src/com/android/gesture/builder/ |
H A D | GestureBuilderActivity.java | 353 final Bitmap bitmap = gesture.toBitmap(mThumbnailSize, mThumbnailSize, 359 mAdapter.addBitmap(namedGesture.gesture.getID(), bitmap); 417 void addBitmap(Long id, Bitmap bitmap) { argument 418 mThumbnails.put(id, new BitmapDrawable(bitmap));
|
/development/samples/BrowserPlugin/jni/background/ |
H A D | 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); 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"); 390 if (evt->data.draw.data.bitmap [all...] |
/development/ndk/platforms/android-8/samples/bitmap-plasma/jni/ |
H A D | plasma.c | 20 #include <android/bitmap.h> 45 * bitmap. floating-point operations are very slow on ARMv5, and not 364 JNIEXPORT void JNICALL Java_com_example_plasma_PlasmaView_renderPlasma(JNIEnv * env, jobject obj, jobject bitmap, jlong time_ms) argument 378 if ((ret = AndroidBitmap_getInfo(env, bitmap, &info)) < 0) { 388 if ((ret = AndroidBitmap_lockPixels(env, bitmap, &pixels)) < 0) { 397 AndroidBitmap_unlockPixels(env, bitmap);
|
/development/ndk/platforms/android-3/include/linux/raid/ |
H A D | md_k.h | 160 struct bitmap *bitmap; member in struct:mddev_s
|
/development/ndk/platforms/android-3/include/linux/ |
H A D | videodev2.h | 324 void __user *bitmap; member in struct:v4l2_window
|