HomeSort by relevance Sort by last modified time
    Searched defs:BitmapFactory (Results 1 - 17 of 17) sorted by null

  /cts/tests/tests/graphics/src/android/graphics/cts/
BitmapFactoryTest.java 27 import android.graphics.BitmapFactory;
29 import android.graphics.BitmapFactory.Options;
41 @TestTargetClass(BitmapFactory.class)
45 private BitmapFactory.Options mOpt1;
47 private BitmapFactory.Options mOpt2;
61 mOpt1 = new BitmapFactory.Options();
63 mOpt2 = new BitmapFactory.Options();
70 method = "BitmapFactory",
74 // new the BitmapFactory instance
75 new BitmapFactory();
    [all...]
BitmapFactory_OptionsTest.java 18 import android.graphics.BitmapFactory;
24 @TestTargetClass(BitmapFactory.Options.class)
28 method = "BitmapFactory.Options",
32 new BitmapFactory.Options();
41 BitmapFactory.Options option = new BitmapFactory.Options();
  /frameworks/base/media/java/android/media/
ThumbnailUtils.java 24 import android.graphics.BitmapFactory;
109 BitmapFactory.Options options = new BitmapFactory.Options();
112 BitmapFactory.decodeFileDescriptor(fd, null, options);
123 bitmap = BitmapFactory.decodeFileDescriptor(fd, null, options);
226 * of 8 because BitmapFactory only honors sample size this way.
227 * For example, BitmapFactory downsamples an image by 2 even though the
230 private static int computeSampleSize(BitmapFactory.Options options,
248 private static int computeInitialSampleSize(BitmapFactory.Options options,
279 * Clients are allowed to pass their own BitmapFactory.Options used for bitmap decoding.
    [all...]
  /frameworks/base/graphics/java/android/graphics/
BitmapFactory.java 35 public class BitmapFactory {
93 * {@link BitmapFactory#decodeResource(Resources, int)},
94 * {@link BitmapFactory#decodeResource(Resources, int, android.graphics.BitmapFactory.Options)},
95 * and {@link BitmapFactory#decodeResourceStream}
114 * {@link BitmapFactory#decodeResource(Resources, int)},
115 * {@link BitmapFactory#decodeResource(Resources, int, android.graphics.BitmapFactory.Options)},
116 * and {@link BitmapFactory#decodeResourceStream}
146 * {@link BitmapFactory} itself. It must be explicitly set, since th
    [all...]
  /frameworks/base/graphics/tests/graphicstests/src/android/graphics/
GraphicsPerformanceTests.java 23 import android.graphics.BitmapFactory;
145 BitmapFactory.decodeResource(mResources, R.drawable.test16x12);
146 BitmapFactory.decodeResource(mResources, R.drawable.test32x24);
147 BitmapFactory.decodeResource(mResources, R.drawable.test64x48);
148 BitmapFactory.decodeResource(mResources, R.drawable.test128x96);
149 BitmapFactory.decodeResource(mResources, R.drawable.test256x192);
150 BitmapFactory.decodeResource(mResources, R.drawable.test320x240);
  /frameworks/base/tools/layoutlib/bridge/src/android/graphics/
BitmapFactory.java 34 public class BitmapFactory {
89 * {@link BitmapFactory#decodeResource(Resources, int)},
90 * {@link BitmapFactory#decodeResource(Resources, int, android.graphics.BitmapFactory.Options)},
91 * and {@link BitmapFactory#decodeResourceStream}
110 * {@link BitmapFactory#decodeResource(Resources, int)},
111 * {@link BitmapFactory#decodeResource(Resources, int, android.graphics.BitmapFactory.Options)},
112 * and {@link BitmapFactory#decodeResourceStream}
142 * {@link BitmapFactory} itself. It must be explicitly set, since th
    [all...]
  /packages/apps/Mms/src/com/android/mms/ui/
UriImage.java 28 import android.graphics.BitmapFactory;
139 BitmapFactory.Options opt = new BitmapFactory.Options();
141 BitmapFactory.decodeStream(input, null, opt);
223 BitmapFactory.Options options = new BitmapFactory.Options();
228 Bitmap b = BitmapFactory.decodeStream(input, null, options);
  /packages/apps/Browser/src/com/android/browser/
BrowserHistoryPage.java 27 import android.graphics.BitmapFactory;
328 item.setFavicon(BitmapFactory.decodeByteArray(data, 0,
BrowserBookmarksAdapter.java 26 import android.graphics.BitmapFactory;
120 BitmapFactory.decodeByteArray(data, 0, data.length));
387 bitmap = BitmapFactory.decodeByteArray(data, 0, data.length);
513 return BitmapFactory.decodeByteArray(data, 0, data.length);
546 b.setFavicon(BitmapFactory.decodeByteArray(data, 0, data.length));
  /packages/apps/Camera/src/com/android/camera/
Util.java 23 import android.graphics.BitmapFactory;
106 * of 8 because BitmapFactory only honors sample size this way.
107 * For example, BitmapFactory downsamples an image by 2 even though the
110 public static int computeSampleSize(BitmapFactory.Options options,
128 private static int computeInitialSampleSize(BitmapFactory.Options options,
174 BitmapFactory.Options options = new BitmapFactory.Options();
176 BitmapFactory.decodeByteArray(jpegData, 0, jpegData.length,
188 return BitmapFactory.decodeByteArray(jpegData, 0, jpegData.length,
  /packages/apps/Gallery3D/src/com/cooliris/media/
UriTexture.java 51 import android.graphics.BitmapFactory;
101 BitmapFactory.Options options = new BitmapFactory.Options();
103 BitmapFactory.decodeStream(stream, null, options);
111 final BitmapFactory.Options options = new BitmapFactory.Options();
175 bitmap = BitmapFactory.decodeStream(bufferedInput, null, options);
265 final BitmapFactory.Options options = new BitmapFactory.Options();
271 bitmap = BitmapFactory.decodeFile(file, options)
    [all...]
  /packages/providers/MediaProvider/src/com/android/providers/media/
MediaProvider.java 40 import android.graphics.BitmapFactory;
    [all...]
  /prebuilt/sdk/4/
android.jar 
  /prebuilt/sdk/5/
android.jar 
  /prebuilt/sdk/6/
android.jar 
  /prebuilt/sdk/7/
android.jar 
  /prebuilt/sdk/8/
android.jar 

Completed in 429 milliseconds