HomeSort by relevance Sort by last modified time
    Searched refs:CompressFormat (Results 1 - 25 of 101) sorted by null

1 2 3 4 5

  /cts/tests/tests/graphics/src/android/graphics/cts/
Bitmap_CompressFormatTest.java 21 import android.graphics.Bitmap.CompressFormat;
28 assertEquals(CompressFormat.JPEG, CompressFormat.valueOf("JPEG"));
29 assertEquals(CompressFormat.PNG, CompressFormat.valueOf("PNG"));
30 assertEquals(CompressFormat.WEBP, CompressFormat.valueOf("WEBP"));
34 CompressFormat[] comFormat = CompressFormat.values();
37 assertEquals(CompressFormat.JPEG, comFormat[0])
    [all...]
  /external/droiddriver/src/com/google/android/droiddriver/
Screenshotter.java 19 import android.graphics.Bitmap.CompressFormat;
45 boolean takeScreenshot(String path, CompressFormat format, int quality);
  /external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/test/util/
BookmarkUtils.java 8 import android.graphics.Bitmap.CompressFormat;
50 faviconBitmap.compress(CompressFormat.PNG, 0, bos);
  /frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
ImageEncoder.java 29 import android.graphics.Bitmap.CompressFormat;
61 bitmap.compress(CompressFormat.JPEG, mQuality, mOutputStream);
  /packages/apps/ContactsCommon/tests/src/com/android/contacts/common/util/
BitmapUtilTests.java 106 return createRawData(Bitmap.CompressFormat.JPEG, sourceWidth, sourceHeight);
110 return createRawData(Bitmap.CompressFormat.PNG, sourceWidth, sourceHeight);
113 private byte[] createRawData(Bitmap.CompressFormat format, int sourceWidth,
  /frameworks/base/graphics/tests/graphicstests/src/android/graphics/
BitmapFactoryTest.java 36 bitmap1.compress(Bitmap.CompressFormat.PNG, 100, out);
  /frameworks/ex/carousel/java/com/android/ex/carousel/
CarouselViewUtilities.java 31 bitmap.compress(Bitmap.CompressFormat.PNG, 100, os);
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
CreateBitmap.java 59 private static Bitmap codec(Bitmap src, Bitmap.CompressFormat format,
102 mJPEG[i] = codec(mBitmaps[i], Bitmap.CompressFormat.JPEG, 80);
103 mPNG[i] = codec(mBitmaps[i], Bitmap.CompressFormat.PNG, 0);
PurgeableBitmapView.java 61 bitstream = generateBitstream(src, Bitmap.CompressFormat.JPEG, 80);
109 private byte[] generateBitstream(Bitmap src, Bitmap.CompressFormat format,
  /external/droiddriver/src/com/google/android/droiddriver/base/
AbstractDroidDriver.java 21 import android.graphics.Bitmap.CompressFormat;
132 return takeScreenshot(path, Bitmap.CompressFormat.PNG, 0);
136 public boolean takeScreenshot(String path, CompressFormat format, int quality) {
  /cts/tests/tests/holo/src/android/holo/cts/
BitmapAssets.java 22 import android.graphics.Bitmap.CompressFormat;
132 bitmap.compress(CompressFormat.PNG, 100, stream);
  /packages/apps/Browser/tests/src/com/android/browser/tests/
BP2UriObserverTests.java 58 favicon.compress(Bitmap.CompressFormat.PNG, 100, os);
94 favicon.compress(Bitmap.CompressFormat.PNG, 100, os);
  /development/samples/Support4Demos/src/com/example/android/supportv4/content/
FileProviderExample.java 73 bitmap.compress(Bitmap.CompressFormat.PNG, 100, os);
  /external/chromium_org/android_webview/java/src/org/chromium/android_webview/
DefaultVideoPosterRequestHandler.java 48 defaultVideoPoster.compress(Bitmap.CompressFormat.PNG, 100,
  /frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
GetBitmapActivity.java 59 b.compress(Bitmap.CompressFormat.PNG, 100, out);
  /packages/apps/Tag/src/com/android/apps/tag/record/
ImageRecord.java 80 bitmap.compress(Bitmap.CompressFormat.JPEG, 100, out);
  /development/samples/training/bitmapfun/BitmapFun/src/main/java/com/example/android/bitmapfun/util/
ImageCache.java 22 import android.graphics.Bitmap.CompressFormat;
67 private static final CompressFormat DEFAULT_COMPRESS_FORMAT = CompressFormat.JPEG;
259 mCacheParams.compressFormat, mCacheParams.compressQuality, out);
459 public CompressFormat compressFormat = DEFAULT_COMPRESS_FORMAT;
  /external/chromium_org/ui/android/java/src/org/chromium/ui/base/
ActivityWindowAndroid.java 110 if (!bitmap.compress(Bitmap.CompressFormat.PNG, 100, result)) return null;
  /frameworks/testing/uiautomator/library/core-src/com/android/uiautomator/core/
UiAutomatorBridge.java 117 screenshot.compress(Bitmap.CompressFormat.PNG, quality, bos);
  /packages/apps/Launcher2/src/com/android/launcher2/
ItemInfo.java 162 bitmap.compress(Bitmap.CompressFormat.PNG, 100, out);
  /packages/apps/Launcher3/src/com/android/launcher3/
ItemInfo.java 155 bitmap.compress(Bitmap.CompressFormat.PNG, 100, out);
  /sdk/apps/NotificationStudio/src/com/android/notificationstudio/action/
ShareMockupAction.java 55 mockup.compress(Bitmap.CompressFormat.PNG, 100, bytes);
  /cts/hostsidetests/holo/app/src/android/holo/app/
HoloDeviceActivity.java 22 import android.graphics.Bitmap.CompressFormat;
131 mBitmap.compress(CompressFormat.PNG, 100, stream);
  /frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/common/
BitmapUtils.java 20 import android.graphics.Bitmap.CompressFormat;
244 bitmap.compress(CompressFormat.JPEG, quality, baos);
  /packages/apps/Browser/src/com/android/browser/
Bookmarks.java 139 bm.compress(Bitmap.CompressFormat.PNG, 100, os);
206 favicon.compress(Bitmap.CompressFormat.PNG, 100, os);

Completed in 714 milliseconds

1 2 3 4 5