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

1 2

  /packages/apps/Camera/src/com/android/camera/
Exif.java 25 public static int getOrientation(byte[] jpeg) {
26 if (jpeg == null) {
34 while (offset + 3 < jpeg.length && (jpeg[offset++] & 0xFF) == 0xFF) {
35 int marker = jpeg[offset] & 0xFF;
53 length = pack(jpeg, offset, 2, false);
54 if (length < 2 || offset + length > jpeg.length) {
61 pack(jpeg, offset + 2, 4, false) == 0x45786966 &&
62 pack(jpeg, offset + 6, 2, false) == 0) {
76 int tag = pack(jpeg, offset, 4, false)
    [all...]
Storage.java 50 Location location, int orientation, byte[] jpeg, int width, int height) {
56 out.write(jpeg);
72 values.put(ImageColumns.MIME_TYPE, "image/jpeg");
76 values.put(ImageColumns.SIZE, jpeg.length);
136 String title, Location location, int orientation, byte[] jpeg,
146 out.write(jpeg);
163 values.put(ImageColumns.MIME_TYPE, "image/jpeg");
166 values.put(ImageColumns.SIZE, jpeg.length);
PanoramaActivity.java 594 MosaicJpeg jpeg = generateFinalMosaic(false);
596 if (jpeg != null && jpeg.isValid) {
598 bitmap = BitmapFactory.decodeByteArray(jpeg.data, 0, jpeg.data.length);
    [all...]
Thumbnail.java 113 mBitmap.compress(Bitmap.CompressFormat.JPEG, 90, d);
212 String selection = ImageColumns.MIME_TYPE + "='image/jpeg' AND " +
258 public static Thumbnail createThumbnail(byte[] jpeg, int orientation, int inSampleSize,
263 Bitmap bitmap = BitmapFactory.decodeByteArray(jpeg, 0, jpeg.length, options);
CameraManager.java 314 final PictureCallback postview, final PictureCallback jpeg) {
320 mCamera.takePicture(shutter, raw, postview, jpeg);
  /packages/apps/LegacyCamera/src/com/android/camera/
Exif.java 24 public static int getOrientation(byte[] jpeg) {
25 if (jpeg == null) {
33 while (offset + 3 < jpeg.length && (jpeg[offset++] & 0xFF) == 0xFF) {
34 int marker = jpeg[offset] & 0xFF;
52 length = pack(jpeg, offset, 2, false);
53 if (length < 2 || offset + length > jpeg.length) {
60 pack(jpeg, offset + 2, 4, false) == 0x45786966 &&
61 pack(jpeg, offset + 6, 2, false) == 0) {
75 int tag = pack(jpeg, offset, 4, false)
    [all...]
Storage.java 53 Location location, int orientation, byte[] jpeg, int width, int height) {
59 out.write(jpeg);
75 values.put(ImageColumns.MIME_TYPE, "image/jpeg");
78 values.put(ImageColumns.SIZE, jpeg.length);
Thumbnail.java 113 mBitmap.compress(Bitmap.CompressFormat.JPEG, 90, d);
201 String selection = ImageColumns.MIME_TYPE + "='image/jpeg' AND " +
247 public static Thumbnail createThumbnail(byte[] jpeg, int orientation, int inSampleSize,
252 Bitmap bitmap = BitmapFactory.decodeByteArray(jpeg, 0, jpeg.length, options);
  /frameworks/support/volley/tests/src/com/android/volley/toolbox/
ImageRequestTest.java 39 NetworkResponse jpeg = new NetworkResponse(jpegBytes); local
42 verifyResize(jpeg, 512, 250, 512, 250); // exactly half
43 verifyResize(jpeg, 511, 249, 509, 249); // just under half
44 verifyResize(jpeg, 1080, 500, 1024, 500); // larger
45 verifyResize(jpeg, 500, 500, 500, 244); // keep same ratio
48 verifyResize(jpeg, 512, 0, 512, 250);
49 verifyResize(jpeg, 800, 0, 800, 390);
50 verifyResize(jpeg, 1024, 0, 1024, 500);
53 verifyResize(jpeg, 0, 250, 512, 250);
54 verifyResize(jpeg, 0, 391, 800, 391)
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/data/
Exif.java 86 byte[] jpeg = new byte[length];
87 if (!read(is, jpeg, length)) {
92 int tag = pack(jpeg, offset, 4, false);
100 int count = pack(jpeg, offset + 4, 4, littleEndian) + 2;
109 count = pack(jpeg, offset - 2, 2, littleEndian);
112 tag = pack(jpeg, offset, 2, littleEndian);
115 int orientation = pack(jpeg, offset + 8, 2, littleEndian);
MtpDevice.java 91 ArrayList<MtpObjectInfo> jpeg, ArrayList<MtpObjectInfo> dir) {
101 jpeg.add(obj);
  /frameworks/av/cmds/stagefright/
Android.mk 7 jpeg.cpp \
18 external/jpeg \
  /packages/apps/LegacyCamera/src/com/android/camera/panorama/
PanoramaActivity.java 623 MosaicJpeg jpeg = generateFinalMosaic(false);
625 if (jpeg != null && jpeg.isValid) {
627 bitmap = BitmapFactory.decodeByteArray(jpeg.data, 0, jpeg.data.length);
    [all...]
  /frameworks/base/media/tests/omxjpegdecoder/
Android.mk 35 $(TOP)/external/jpeg \
  /sdk/apps/SdkController/src/com/android/tools/sdkcontroller/views/
MultiTouchView.java 166 * Draws a JPEG bitmap on the screen.
172 * @param jpeg JPEG bitmap to draw.
174 public void drawJpeg(int x, int y, int w, int h, InputStream jpeg) {
176 final Bitmap bmp = BitmapFactory.decodeStream(jpeg);
  /external/webkit/Tools/wx/
install-unix-extras 147 cd $DL_DIR/jpeg-$LIBJPEG_VERSION
149 # jpeg install command expects this to exist.
167 rm -rf $DL_DIR/jpeg-$LIBJPEG_VERSION
  /hardware/ti/omap4xxx/camera/
Encoder_libjpeg.cpp 20 * This file encodes a YUV422I buffer to a jpeg
264 void ExifElementsTable::insertExifToJpeg(unsigned char* jpeg, size_t jpeg_size) {
268 if (ReadJpegSectionsFromBuffer(jpeg, jpeg_size, read_mode)) {
285 void ExifElementsTable::saveJpeg(unsigned char* jpeg, size_t jpeg_size) {
287 WriteJpegToBuffer(jpeg, jpeg_size);
Android.mk 67 external/jpeg \
  /cts/tools/signature-tools/
sig-check 99 javax.imageio.plugins.jpeg \
sig-create 96 javax.imageio.plugins.jpeg \
  /development/tools/emulator/system/camera/
Android.mk 31 # JPEG conversion libraries and includes.
37 LOCAL_C_INCLUDES += external/jpeg \
  /hardware/ti/omap4xxx/camera/inc/
Encoder_libjpeg.h 93 void insertExifToJpeg(unsigned char* jpeg, size_t jpeg_size);
161 // check if it is main jpeg thread
163 // wait until tn jpeg thread exits.
  /external/webkit/
Android.mk 78 external/jpeg \
144 $(WEBCORE_PATH)/platform/image-decoders/jpeg \
  /frameworks/base/core/jni/
Android.mk 181 external/jpeg \
  /frameworks/base/core/java/android/hardware/
Camera.java     [all...]

Completed in 1541 milliseconds

1 2