Searched defs:format (Results 176 - 200 of 246) sorted by relevance

12345678910

/frameworks/av/services/camera/libcameraservice/
H A DCamera2Client.cpp104 threadName = String8::format("C2-%d-FrameProc",
109 threadName = String8::format("C2-%d-CaptureSeq",
114 threadName = String8::format("C2-%d-JpegProc",
119 threadName = String8::format("C2-%d-ZslProc",
124 threadName = String8::format("C2-%d-CallbkProc",
165 result.appendFormat(" Preview HAL pixel format: 0x%x\n",
359 result = String8::format(" Error dumping device: %s (%d)",
1590 int format, int stride) {
1591 switch (format) {
1611 ALOGE("%s: Unknown preview format
1589 calculateBufferSize(int width, int height, int format, int stride) argument
[all...]
H A DCameraHardwareInterface.h616 int width, int height, int format)
620 width, height, format);
615 __set_buffers_geometry(struct preview_stream_ops* w, int width, int height, int format) argument
/frameworks/base/core/java/android/os/
H A DProcess.java502 * Presently the wire format to the zygote process is:
977 public static final native boolean readProcFile(String file, int[] format, argument
982 int endIndex, int[] format, String[] outStrings, long[] outLongs, float[] outFloats);
981 parseProcLine(byte[] buffer, int startIndex, int endIndex, int[] format, String[] outStrings, long[] outLongs, float[] outFloats) argument
/frameworks/base/core/java/android/service/wallpaper/
H A DWallpaperService.java479 public void onSurfaceChanged(SurfaceHolder holder, int format, int width, int height) { argument
581 + " format=" + formatChanged + " size=" + sizeChanged);
594 mLayout.format = mFormat;
/frameworks/base/core/java/android/view/
H A DSurface.java141 * even if its pixel format is set to translucent. This can be useful if an
229 int w, int h, int format, int flags)
312 String name, int w, int h, int format, int flags)
333 nativeCreate(session, name, w, h, format, flags);
228 nativeCreate(SurfaceSession session, String name, int w, int h, int format, int flags) argument
311 Surface(SurfaceSession session, String name, int w, int h, int format, int flags) argument
/frameworks/base/core/jni/
H A DAndroidRuntime.cpp314 static void runtime_vfprintf(FILE* fp, const char* format, va_list ap) argument
316 LOG_PRI_VA(ANDROID_LOG_INFO, "vm-printf", format, ap);
H A Dandroid_media_AudioTrack.cpp50 int PCM16; //... format constants
51 int PCM8; //... format constants
250 // check the format.
251 // This function was called from Java, so we compare the format against the Java constants
253 ALOGE("Error creating AudioTrack: unsupported audio format.");
272 audio_format_t format = audioFormat == javaAudioTrackFields.PCM16 ? local
318 format,// word length, PCM
339 format,// word length, PCM
954 // Get the format constants from the AudioFormat class
H A Dandroid_util_Process.cpp673 char* buffer, jint startIndex, jint endIndex, jintArray format,
677 const jsize NF = env->GetArrayLength(format);
682 jint* formatData = env->GetIntArrayElements(format, 0);
690 env->ReleaseIntArrayElements(format, formatData, 0);
765 env->ReleaseIntArrayElements(format, formatData, 0);
777 jbyteArray buffer, jint startIndex, jint endIndex, jintArray format,
783 (char*) bufferArray, startIndex, endIndex, format, outStrings,
792 jstring file, jintArray format, jobjectArray outStrings,
795 if (file == NULL || format == NULL) {
824 format, outString
672 android_os_Process_parseProcLineArray(JNIEnv* env, jobject clazz, char* buffer, jint startIndex, jint endIndex, jintArray format, jobjectArray outStrings, jlongArray outLongs, jfloatArray outFloats) argument
776 android_os_Process_parseProcLine(JNIEnv* env, jobject clazz, jbyteArray buffer, jint startIndex, jint endIndex, jintArray format, jobjectArray outStrings, jlongArray outLongs, jfloatArray outFloats) argument
791 android_os_Process_readProcFile(JNIEnv* env, jobject clazz, jstring file, jintArray format, jobjectArray outStrings, jlongArray outLongs, jfloatArray outFloats) argument
[all...]
H A Dandroid_view_Surface.cpp276 jstring nameStr, jint w, jint h, jint format, jint flags) {
281 String8(name.c_str()), w, h, format, flags);
361 static inline SkBitmap::Config convertPixelFormat(PixelFormat format) { argument
366 switch (format) {
410 env->SetIntField(canvasObj, gCanvasClassInfo.mSurfaceFormat, info.format);
415 ssize_t bpr = info.s * bytesPerPixel(info.format);
416 bitmap.setConfig(convertPixelFormat(info.format), info.w, info.h, bpr);
417 if (info.format == PIXEL_FORMAT_RGBX_8888) {
275 nativeCreate(JNIEnv* env, jobject surfaceObj, jobject sessionObj, jstring nameStr, jint w, jint h, jint format, jint flags) argument
/frameworks/base/core/jni/android/graphics/
H A DBitmapFactory.cpp54 jstring getMimeTypeString(JNIEnv* env, SkImageDecoder::Format format) { argument
69 if (gMimeTypes[i].fFormat == format) {
/frameworks/base/graphics/java/android/graphics/
H A DBitmap.java396 * to whatever the bitmap's native format is.</p>
858 * @param format The format of the compressed image
866 public boolean compress(CompressFormat format, int quality, OutputStream stream) { argument
875 return nativeCompress(mNativeBitmap, format.nativeInt, quality,
1401 private static native boolean nativeCompress(int nativeBitmap, int format, argument
/frameworks/base/libs/androidfw/
H A DKeyCharacterMap.cpp108 Format format, sp<KeyCharacterMap>* outMap) {
116 status = load(tokenizer, format, outMap);
123 Format format, sp<KeyCharacterMap>* outMap) {
131 status = load(tokenizer, format, outMap);
138 Format format, sp<KeyCharacterMap>* outMap) {
148 Parser parser(map.get(), tokenizer, format);
668 KeyCharacterMap::Parser::Parser(KeyCharacterMap* map, Tokenizer* tokenizer, Format format) : argument
669 mMap(map), mTokenizer(tokenizer), mFormat(format), mState(STATE_TOP) {
107 load(const String8& filename, Format format, sp<KeyCharacterMap>* outMap) argument
122 loadContents(const String8& filename, const char* contents, Format format, sp<KeyCharacterMap>* outMap) argument
137 load(Tokenizer* tokenizer, Format format, sp<KeyCharacterMap>* outMap) argument
/frameworks/base/services/java/com/android/server/wm/
H A DWindowStateAnimator.java491 String name, int w, int h, int format, int flags)
493 super(s, name, w, h, format, flags);
644 + " h=" + mWin.mCompatFrame.height() + " format="
645 + attrs.format + " flags=" + flags);
672 final int format = isHwAccelerated ? PixelFormat.TRANSLUCENT : attrs.format;
673 if (!PixelFormat.formatHasAlpha(attrs.format)) {
680 w, h, format, flags);
685 w, h, format, flags);
692 + ": pid=" + mSession.mPid + " format
490 SurfaceTrace(SurfaceSession s, String name, int w, int h, int format, int flags) argument
[all...]
/frameworks/base/tools/aapt/
H A DResourceTable.h128 const int32_t format = ResTable_map::TYPE_ANY,
152 const int32_t format = ResTable_map::TYPE_ANY);
257 Item() : isId(false), format(ResTable_map::TYPE_ANY), bagKeyId(0), evaluating(false)
263 int32_t format = ResTable_map::TYPE_ANY);
266 format(o.format), bagKeyId(o.bagKeyId), evaluating(false) {
276 format = o.format;
286 int32_t format; member in class:ResourceTable::Item
319 int32_t format
[all...]
/frameworks/compile/mclinker/lib/Target/
H A DGNULDBackend.cpp1597 ELFFileFormat* format = getOutputFormat(pOutput); local
1600 format->getEhFrame(),
1601 format->getEhFrameHdr());
/frameworks/ex/carousel/java/com/android/ex/carousel/
H A DCarouselView.java170 public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) { argument
171 super.surfaceChanged(holder, format, w, h);
/frameworks/native/include/media/openmax/
H A DOMX_Component.h100 } format; member in struct:OMX_PARAM_PORTDEFINITIONTYPE
/frameworks/native/libs/gui/
H A DSurfaceTexture.cpp529 bool SurfaceTexture::isExternalFormat(uint32_t format) argument
531 switch (format) {
541 // Any OEM format needs to be considered
542 if (format>=0x100 && format<=0x1FF)
637 // If we don't recognize the format, we must assume the
H A DSurfaceTextureClient.cpp621 int SurfaceTextureClient::setBuffersFormat(int format) argument
625 if (format<0)
629 mReqFormat = format;
684 // src and dst with, height and format must be identical. no verification
698 const size_t bpp = bytesPerPixel(src->format);
779 backBuffer->format == frontBuffer->format);
828 outBuffer->format = backBuffer->format;
/frameworks/native/opengl/libagl/
H A Dtexture.cpp198 static int32_t convertGLPixelFormat(GLint format, GLenum type) argument
202 switch (format) {
222 static GLenum validFormatType(ogles_context_t* c, GLenum format, GLenum type) argument
225 if (format<GL_ALPHA || format>GL_LUMINANCE_ALPHA) {
232 if (type == GL_UNSIGNED_SHORT_5_6_5 && format != GL_RGB) {
236 type == GL_UNSIGNED_SHORT_5_5_5_1) && format != GL_RGBA) {
276 if ((dst.format == src.format) &&
285 const GGLFormat& pixelFormat(c->rasterizer.formats[src.format]);
361 createTextureSurface(ogles_context_t* c, GGLSurface** outSurface, int32_t* outSize, GLint level, GLenum format, GLenum type, GLsizei width, GLsizei height, GLenum compressedFormat = 0) argument
408 dataSizePalette4(int numLevels, int width, int height, int format) argument
451 decodePalette4(const GLvoid *data, int level, int width, int height, void *surface, int stride, int format) argument
1073 GLenum format; local
[all...]
/frameworks/native/opengl/libs/EGL/
H A DeglApi.cpp293 EGLint format; local
301 // set the native window's buffers format to match this config
303 config, EGL_NATIVE_VISUAL_ID, &format)) {
304 if (format != 0) {
305 int err = native_window_set_buffers_format(window, format);
307 ALOGE("error setting native window pixel format: %s (%d)",
797 ScopedTrace st(ATRACE_TAG, String8::format("kicked off frame %d",
822 ScopedTrace st(ATRACE_TAG, String8::format("waiting for frame %d",
/frameworks/native/opengl/libs/ETC1/
H A Detc1.cpp650 etc1_uint32 format = readBEUint16(pHeader + ETC1_PKM_FORMAT_OFFSET); local
655 return format == ETC1_RGB_NO_MIPMAPS &&
/frameworks/native/opengl/libs/GLES_trace/src/
H A Dgltrace_fixup.cpp32 unsigned getBytesPerTexel(const GLenum format, const GLenum type) { argument
41 format. Color components are treated as groups of one, two, three, or four values,
42 again based on format. Groups of components are referred to as texels.
62 switch (format) {
74 ALOGE("GetBytesPerPixel: unknown format %x", format);
169 GLenum format = arg_format.intvalue(0); local
173 int bytesPerTexel = getBytesPerTexel(format, type);
195 GLenum format,
212 GLenum format,
[all...]
/frameworks/native/opengl/tests/hwc/
H A DhwcTestLib.cpp354 // of the graphic format named by the desc parameter. Search failure
368 // of the graphic format specified by the id parameter. Search failure
373 if (id == hwcTestGraphicFormat[n1].format) {
382 // Given the integer ID of a graphic format, return a pointer to
383 // a string that describes the format.
384 const char *hwcTestGraphicFormat2str(uint32_t format) argument
389 if (format == hwcTestGraphicFormat[n1].format) {
541 // Returns a uint32_t that contains a format specific representation of a
543 uint32_t hwcTestColor2Pixel(uint32_t format, ColorFrac argument
546 uint32_t format; member in struct:attrib
609 int format; member in struct:attrib
799 uint32_t format; member in struct:attrib
[all...]
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DHWComposer.cpp178 disp.format = mFbDev->format;
372 // FIXME: what should we set the format to?
373 mDisplayData[disp].format = HAL_PIXEL_FORMAT_RGBA_8888;
431 return mDisplayData[disp].format;
718 return mFbDev->format;
934 " type | handle | hints | flags | tr | blend | format | source crop | frame name \n"
939 int32_t format = -1; local
948 format = buffer->getPixelFormat();
957 format
[all...]

Completed in 3470 milliseconds

12345678910