Searched refs:Config (Results 26 - 50 of 71) sorted by relevance

123

/frameworks/base/core/jni/android/opengl/
H A Dutil.cpp559 static int checkFormat(SkBitmap::Config config, int format, int type)
587 static int getInternalFormat(SkBitmap::Config config)
605 static int getType(SkBitmap::Config config)
629 SkBitmap::Config config = bitmap.getConfig();
639 SkBitmap::Config config = bitmap.getConfig();
650 SkBitmap::Config config = bitmap.getConfig();
699 SkBitmap::Config config = bitmap.getConfig();
/frameworks/base/media/java/android/media/
H A DThumbnailUtils.java122 options.inPreferredConfig = Bitmap.Config.ARGB_8888;
319 options.inPreferredConfig = Bitmap.Config.ARGB_8888;
369 Bitmap.Config.ARGB_8888);
/frameworks/ex/carousel/test/src/com/android/carouseltest/
H A DTaskSwitcherActivity.java44 import android.graphics.Bitmap.Config;
64 private Bitmap mBlankBitmap = Bitmap.createBitmap(128, 128, Config.RGB_565);
155 Bitmap.Config.ARGB_8888);
/frameworks/base/cmds/screencap/
H A Dscreencap.cpp47 static SkBitmap::Config flinger2skia(PixelFormat f)
/frameworks/base/core/jni/android/graphics/
H A DBitmapFactory.cpp119 SkBitmap::Config prefConfig = SkBitmap::kARGB_8888_Config;
441 SkBitmap::Config config = static_cast<SkBitmap::Config>(nativeConfig);
444 static const SkBitmap::Config gValidDefConfig[] = {
517 "Landroid/graphics/Bitmap$Config;");
H A DBitmap.cpp65 static FromColorProc ChooseFromColorProc(SkBitmap::Config config) {
215 SkBitmap::Config config, jboolean isMutable) {
242 SkBitmap::Config dstConfig, jboolean isMutable) {
356 const SkBitmap::Config config = (SkBitmap::Config)p->readInt32();
H A DBitmapRegionDecoder.cpp186 SkBitmap::Config prefConfig = SkBitmap::kNo_Config;
H A DGraphicsJNI.h47 /** Return the corresponding native config from the java Config enum,
50 static SkBitmap::Config getNativeBitmapConfig(JNIEnv*, jobject jconfig);
H A DGraphics.cpp293 SkBitmap::Config GraphicsJNI::getNativeBitmapConfig(JNIEnv* env,
304 return static_cast<SkBitmap::Config>(c);
600 gBitmapConfig_class = make_globalref(env, "android/graphics/Bitmap$Config");
/frameworks/base/core/tests/coretests/src/android/widget/
H A DTextViewPerformanceTest.java43 Bitmap mBitmap = Bitmap.createBitmap(320, 240, Bitmap.Config.RGB_565);
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
H A DMediaFrameworkTest.java92 mDestBitmap = Bitmap.createBitmap((int)640, (int)480, Bitmap.Config.ARGB_8888);
/frameworks/base/core/java/android/gesture/
H A DGesture.java186 final Bitmap bitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888);
222 Bitmap.Config.ARGB_8888);
/frameworks/base/media/libstagefright/
H A DAndroid.mk4 include frameworks/base/media/libstagefright/codecs/common/Config.mk
/frameworks/base/media/libstagefright/codecs/amrwbenc/
H A DAndroid.mk3 include frameworks/base/media/libstagefright/codecs/common/Config.mk
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DIccUtils.java414 return Bitmap.createBitmap(pixels, width, height, Bitmap.Config.ARGB_8888);
458 Bitmap.Config.RGB_565);
/frameworks/base/graphics/java/android/renderscript/
H A DAllocation.java296 Bitmap.Config bc = b.getConfig();
955 final Bitmap.Config bc = b.getConfig();
956 if (bc == Bitmap.Config.ALPHA_8) {
959 if (bc == Bitmap.Config.ARGB_4444) {
962 if (bc == Bitmap.Config.ARGB_8888) {
965 if (bc == Bitmap.Config.RGB_565) {
/frameworks/ex/carousel/java/com/android/ex/carousel/
H A DCarouselRS.java917 private Element elementForBitmap(Bitmap bitmap, Bitmap.Config defaultConfig) {
918 Bitmap.Config config = bitmap.getConfig();
922 if (config == Bitmap.Config.ALPHA_8) {
924 } else if (config == Bitmap.Config.RGB_565) {
926 } else if (config == Bitmap.Config.ARGB_4444) {
928 } else if (config == Bitmap.Config.ARGB_8888) {
H A DCarouselController.java60 new int[] {0x00000000, 0xffffffff, 0x00000000}, 0, 3, 3, 1, Bitmap.Config.ARGB_4444);
92 new int[] {0}, 0, 1, 1, 1, Bitmap.Config.ARGB_4444);
/frameworks/base/core/java/android/view/
H A DTextureView.java451 * <p>The bitmap returned by this method uses the {@link Bitmap.Config#ARGB_8888}
459 * @return A valid {@link Bitmap.Config#ARGB_8888} bitmap, or null if the surface
475 * <p>The bitmap returned by this method uses the {@link Bitmap.Config#ARGB_8888}
486 * @return A valid {@link Bitmap.Config#ARGB_8888} bitmap, or null if the surface
495 return getBitmap(Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888));
H A DGLES20Canvas.java767 final Bitmap.Config config = hasAlpha ? Bitmap.Config.ARGB_8888 : Bitmap.Config.RGB_565;
1119 if (b.getConfig() == Bitmap.Config.ALPHA_8) {
/frameworks/base/core/jni/
H A Dandroid_view_TextureView.cpp74 static inline SkBitmap::Config convertPixelFormat(int32_t format) {
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DPathsActivity.java100 mBitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ALPHA_8);
/frameworks/base/media/java/android/media/videoeditor/
H A DOverlayFrame.java343 Bitmap.Config.ARGB_8888);
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/
H A DRecentTasksLoader.java93 mDefaultThumbnailBackground = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888);
/frameworks/base/tests/RenderScriptTests/ImageProcessing/src/com/android/rs/image/
H A DImageProcessingActivity.java259 options.inPreferredConfig = Bitmap.Config.ARGB_8888;

Completed in 3012 milliseconds

123