Home
last modified time | relevance | path

Searched refs:getConfig (Results 1 – 25 of 52) sorted by relevance

123

/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/common/
DBitmapUtils.java122 Bitmap target = Bitmap.createBitmap(width, height, getConfig(bitmap)); in resizeBitmapByScale()
131 private static Bitmap.Config getConfig(Bitmap bitmap) { in getConfig() method in BitmapUtils
132 Bitmap.Config config = bitmap.getConfig(); in getConfig()
158 Bitmap target = Bitmap.createBitmap(size, size, getConfig(bitmap)); in resizeAndCropCenter()
/frameworks/base/core/jni/
Dcom_google_android_gles_jni_EGLImpl.cpp63 static inline EGLConfig getConfig(JNIEnv* env, jobject o) { in getConfig() function
232 EGLConfig cnf = getConfig(_env, config); in jni_eglCreateContext()
248 EGLConfig cnf = getConfig(_env, config); in jni_eglCreatePbufferSurface()
275 EGLConfig cnf = getConfig(_env, config); in jni_eglCreatePixmapSurface()
319 EGLContext cnf = getConfig(_env, config); in jni_eglCreateWindowSurface()
346 EGLContext cnf = getConfig(_env, config); in jni_eglCreateWindowSurfaceTexture()
374 EGLContext cnf = getConfig(_env, config); in jni_eglGetConfigAttrib()
/frameworks/base/graphics/tests/graphicstests/src/android/graphics/
DBitmapTest.java55 assertTrue("getConfig", bm1.getConfig() == Bitmap.Config.ARGB_8888); in testBasic()
56 assertTrue("getConfig", bm2.getConfig() == Bitmap.Config.RGB_565); in testBasic()
57 assertTrue("getConfig", bm3.getConfig() == Bitmap.Config.ARGB_4444); in testBasic()
/frameworks/av/media/libstagefright/include/
DSoftVideoDecoderOMXComponent.h57 virtual OMX_ERRORTYPE getConfig(
DSoftOMXComponent.h64 virtual OMX_ERRORTYPE getConfig(
DOMXNodeInstance.h50 status_t getConfig(OMX_INDEXTYPE index, void *params, size_t size);
DOMX.h54 virtual status_t getConfig(
/frameworks/base/graphics/java/android/graphics/
DBitmap.java238 reconfigure(width, getHeight(), getConfig()); in setWidth()
254 reconfigure(getWidth(), height, getConfig()); in setHeight()
688 final Config config = source.getConfig(); in createBitmap()
1030 return mIsPremultiplied && getConfig() != Config.RGB_565 && hasAlpha(); in isPremultiplied()
1195 public final Config getConfig() { in getConfig() method in Bitmap
/frameworks/rs/java/tests/HelloComputeNDK/src/com/example/android/rs/hellocomputendk/
DHelloComputeNDK.java42 mBitmapIn.getConfig()); in onCreate()
/frameworks/av/media/libstagefright/omx/
DSoftOMXComponent.cpp156 return me->getConfig(index, params); in GetConfigWrapper()
274 OMX_ERRORTYPE SoftOMXComponent::getConfig( in getConfig() function in android::SoftOMXComponent
DOMX.cpp299 status_t OMX::getConfig( in getConfig() function in android::OMX
302 return findInstance(node)->getConfig( in getConfig()
DSoftVideoDecoderOMXComponent.cpp236 OMX_ERRORTYPE SoftVideoDecoderOMXComponent::getConfig( in getConfig() function in android::SoftVideoDecoderOMXComponent
/frameworks/av/media/libstagefright/
DOMXClient.cpp58 virtual status_t getConfig(
253 status_t MuxOMX::getConfig( in getConfig() function in android::MuxOMX
256 return getOMX(node)->getConfig(node, index, params, size); in getConfig()
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/
DBlockingGLTextureView.java117 int[] configSpec = getConfig(); in chooseEglConfig()
127 private static int[] getConfig() { in getConfig() method in BlockingGLTextureView.EglHelper
/frameworks/base/libs/hwui/
DTextureCache.cpp240 switch (bitmap->getConfig()) { in generateTexture()
268 ALOGW("Unsupported bitmap config: %d", bitmap->getConfig()); in generateTexture()
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
DFrame.java182 if (bitmap.getConfig() == Bitmap.Config.ARGB_8888) { in convertBitmapToRGBA()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DGLTextureViewActivity.java412 int[] configSpec = getConfig(); in chooseEglConfig()
422 private static int[] getConfig() { in getConfig() method in GLTextureViewActivity.RenderThread
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
DAllocation.java395 Bitmap.Config bc = b.getConfig(); in validateBitmapFormat()
605 if (b.getConfig() == null) { in copyFrom()
977 if (data.getConfig() == null) { in copy2DRangeFrom()
1291 final Bitmap.Config bc = b.getConfig(); in elementFromBitmap()
1340 if (b.getConfig() == null) { in createFromBitmap()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DFrameImage2D.java117 Bitmap.Config config = bitmap.getConfig(); in convertToFrameType()
/frameworks/av/include/media/
DIOMX.h72 virtual status_t getConfig(
/frameworks/rs/java/tests/SampleTest/src/com/android/rs/sample/
DSampleRSActivity.java149 Bitmap b2 = Bitmap.createBitmap(b.getWidth(), b.getHeight(), b.getConfig()); in loadBitmap()
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
DUploadedTexture.java233 Config config = bitmap.getConfig(); in uploadToCanvas()
/frameworks/base/graphics/java/android/renderscript/
DAllocation.java460 Bitmap.Config bc = b.getConfig(); in validateBitmapFormat()
691 if (b.getConfig() == null) { in copyFrom()
1102 if (data.getConfig() == null) { in copy2DRangeFrom()
1452 final Bitmap.Config bc = b.getConfig(); in elementFromBitmap()
1498 if (b.getConfig() == null) { in createFromBitmap()
/frameworks/base/cmds/bootanimation/
DBootAnimation.cpp126 switch (bitmap.getConfig()) { in initTexture()
184 switch (bitmap.getConfig()) { in initTexture()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DImageWallpaper.java754 int[] configSpec = getConfig(); in chooseEglConfig()
764 private int[] getConfig() { in getConfig() method in ImageWallpaper.DrawableEngine

123