/frameworks/base/tests/OneMedia/src/com/android/onemedia/ |
H A D | PlayerSession.java | 20 import android.graphics.Bitmap; 119 public void setIcon(Bitmap icon) {
|
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/ |
H A D | NotificationBuilderTest.java | 28 import android.graphics.Bitmap; 490 private Bitmap loadBitmap(int id) { 492 return Bitmap.createBitmap(bd.getBitmap());
|
H A D | NotificationTestList.java | 25 import android.graphics.Bitmap; 1302 Bitmap loadBitmap(int resId) { 1304 return Bitmap.createBitmap(bd.getBitmap());
|
/frameworks/base/tests/UiBench/src/com/android/test/uibench/ |
H A D | BitmapUploadActivity.java | 21 import android.graphics.Bitmap; 34 private Bitmap mBitmap; 64 mBitmap = Bitmap.createBitmap(bitmapSize, bitmapSize, Bitmap.Config.ARGB_8888);
|
/frameworks/base/tests/UiBench/src/com/android/test/uibench/opengl/ |
H A D | ImageFlipRenderThread.java | 19 import android.graphics.Bitmap; 223 Bitmap bitmap = BitmapFactory.decodeResource(mResources, resource);
|
/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/ |
H A D | MainInteractionSession.java | 25 import android.graphics.Bitmap; 209 public void onHandleScreenshot(Bitmap screenshot) {
|
/frameworks/base/tests/notification/src/com/android/frameworks/tests/notification/ |
H A D | NotificationTests.java | 23 import android.graphics.Bitmap; 70 private static Bitmap getBitmap(Context context, int resId) { 76 Bitmap b = Bitmap.createBitmap(largeIconWidth, largeIconHeight, Bitmap.Config.ARGB_8888);
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | BitmapFactory_Delegate.java | 51 /*package*/ static Bitmap nativeDecodeStream(InputStream is, byte[] storage, 53 Bitmap bm = null; 102 /*package*/ static Bitmap nativeDecodeFileDescriptor(FileDescriptor fd, 109 /*package*/ static Bitmap nativeDecodeAsset(long asset, Rect padding, Options opts) { 115 /*package*/ static Bitmap nativeDecodeByteArray(byte[] data, int offset, 129 * Copied from {@link BitmapFactory#setDensityFromOptions(Bitmap, Options)}. 132 /*package*/ static void setDensityFromOptions(Bitmap outputBitmap, Options opts) { 153 outputBitmap.setDensity(Bitmap.getDefaultDensity());
|
H A D | BitmapShader_Delegate.java | 78 /*package*/ static long nativeCreate(Bitmap androidBitmap, int shaderTileModeX,
|
H A D | Bitmap_Delegate.java | 31 import android.graphics.Bitmap.Config; 49 * Delegate implementing the native methods of android.graphics.Bitmap 51 * Through the layoutlib_create tool, the original native methods of Bitmap have been replaced 56 * it and the original Bitmap class. 87 * Returns the native delegate associated to a given an int referencing a {@link Bitmap} object. 94 public static Bitmap_Delegate getDelegate(@Nullable Bitmap bitmap) { 100 * Creates and returns a {@link Bitmap} initialized with the given file content. 106 * @see Bitmap#isMutable() 107 * @see Bitmap#getDensity() 109 public static Bitmap createBitma [all...] |
H A D | Canvas_Delegate.java | 28 import android.graphics.Bitmap.Config; 123 /*package*/ static long initRaster(@Nullable Bitmap bitmap) { 129 // get the Bitmap from the int 145 public static void native_setBitmap(long canvas, Bitmap bitmap) { 814 public static void native_drawBitmap(Canvas thisCanvas, long nativeCanvas, Bitmap bitmap, 836 public static void native_drawBitmap(Canvas thisCanvas, long nativeCanvas, Bitmap bitmap, 877 public static void nativeDrawBitmapMatrix(long nCanvas, Bitmap bitmap, 918 public static void nativeDrawBitmapMesh(long nCanvas, Bitmap bitmap, 1197 if (bitmap.getConfig() == Bitmap.Config.ALPHA_8) {
|
H A D | NinePatch_Delegate.java | 174 /*package*/ static long nativeGetTransparentRegion(Bitmap bitmap, long chunk, Rect location) {
|
/frameworks/base/tools/layoutlib/bridge/src/android/view/ |
H A D | IWindowManagerImpl.java | 29 import android.graphics.Bitmap; 229 public void overridePendingAppTransitionThumb(Bitmap srcThumb, int startX, int startY, 235 public void overridePendingAppTransitionAspectScaledThumb(Bitmap srcThumb, int startX, 303 public Bitmap screenshotApplications(IBinder appToken, int displayId, int maxWidth,
|
H A D | ViewGroup_Delegate.java | 22 import android.graphics.Bitmap; 78 Bitmap bitmap = Bitmap_Delegate.createBitmap(shadow, false,
|
/frameworks/base/tools/layoutlib/bridge/src/android/webkit/ |
H A D | WebView.java | 22 import android.graphics.Bitmap; 178 public Bitmap getFavicon() {
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/ |
H A D | Bridge.java | 39 import android.graphics.Bitmap; 112 private final static Map<Object, Map<String, SoftReference<Bitmap>>> sProjectBitmapCache = 113 new HashMap<Object, Map<String, SoftReference<Bitmap>>>(); 117 private final static Map<String, SoftReference<Bitmap>> sFrameworkBitmapCache = 118 new HashMap<String, SoftReference<Bitmap>>(); 646 * @return the cached Bitmap or null if not found. 648 public static Bitmap getCachedBitmap(String value, Object projectKey) { 650 Map<String, SoftReference<Bitmap>> map = sProjectBitmapCache.get(projectKey); 652 SoftReference<Bitmap> ref = map.get(value); 658 SoftReference<Bitmap> re [all...] |
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
H A D | BridgeContext.java | 65 import android.graphics.Bitmap; 1689 public void setWallpaper(Bitmap arg0) throws IOException {
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/graphics/ |
H A D | NopCanvas.java | 19 import android.graphics.Bitmap; 201 protected void throwIfCannotDraw(Bitmap bitmap) { 213 public void drawBitmap(Bitmap bitmap, float left, float top, Paint paint) { 217 public void drawBitmap(Bitmap bitmap, Rect src, RectF dst, Paint paint) { 221 public void drawBitmap(Bitmap bitmap, Rect src, Rect dst, Paint paint) { 235 public void drawBitmap(Bitmap bitmap, Matrix matrix, Paint paint) { 239 public void drawBitmapMesh(Bitmap bitmap, int meshWidth, int meshHeight, float[] verts,
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/ |
H A D | CustomBar.java | 37 import android.graphics.Bitmap; 119 Bitmap bitmap = Bridge.getCachedBitmap(path, Boolean.TRUE /*isFramework*/);
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
H A D | RenderDrawable.java | 28 import android.graphics.Bitmap; 153 Bitmap bitmap = Bitmap_Delegate.createBitmap(image,
|
H A D | RenderSessionImpl.java | 62 import android.graphics.Bitmap; 461 Bitmap bitmap = Bitmap_Delegate.createBitmap(mImage,
|
H A D | ResourceHelper.java | 43 import android.graphics.Bitmap; 336 Bitmap bitmap = Bridge.getCachedBitmap(stringValue, 374 Bitmap bitmap = Bridge.getCachedBitmap(cacheKey,
|
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/ |
H A D | Cat.java | 36 private Bitmap mBitmap; 216 mBitmap = Bitmap.createBitmap(w, h, Bitmap.Config.ARGB_8888); 234 public Bitmap createBitmap(int w, int h) { 238 Bitmap result = Bitmap.createBitmap(w, h, Bitmap.Config.ARGB_8888); 248 Bitmap result = Bitmap.createBitmap(w, h, Bitmap [all...] |
H A D | NekoLand.java | 26 import android.graphics.Bitmap; 230 Bitmap bitmap = cat.createBitmap(512, 512); 234 bitmap.compress(Bitmap.CompressFormat.PNG, 0, os);
|
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/ |
H A D | TestDocumentsProvider.java | 26 import android.graphics.Bitmap; 27 import android.graphics.Bitmap.CompressFormat; 325 final Bitmap bitmap = Bitmap.createBitmap(32, 32, Bitmap.Config.ARGB_8888);
|