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

12345678910

/frameworks/av/media/libstagefright/
H A DOMXCodec.cpp54 // color format is executed for more than kMaxColorFormatSupported,
642 OMX_VIDEO_PARAM_PORTFORMATTYPE format; local
643 InitOMXParams(&format);
644 format.nPortIndex = portIndex;
645 format.nIndex = 0;
650 format.nIndex = index;
653 &format, sizeof(format));
660 // CHECK_EQ(format.nIndex, index);
665 index, format
1205 OMX_VIDEO_PARAM_PORTFORMATTYPE format; local
3377 sp<MetaData> format = mSource->getFormat(); local
3403 OMX_AUDIO_PARAM_PORTFORMATTYPE format; local
3493 setImageOutputFormat( OMX_COLOR_FORMATTYPE format, OMX_U32 width, OMX_U32 height) argument
[all...]
/frameworks/base/core/java/android/widget/
H A DNumberPicker.java151 * format().
171 public String format(int value) { method in class:NumberPicker.TwoDigitFormatter
178 mFmt.format("%02d", mArgs);
520 * Interface used to format current value into a string for presentation.
530 public String format(int value); method in interface:NumberPicker.Formatter
1725 return (mFormatter != null) ? mFormatter.format(value) : formatNumberWithLocale(value);
1744 * will be used to format the number.
2545 return String.format(Locale.getDefault(), "%d", value);
/frameworks/base/services/java/com/android/server/input/
H A DInputManagerService.java871 String descriptor = KeyboardLayoutDescriptor.format(
1563 public static String format(String packageName, method in class:InputManagerService.KeyboardLayoutDescriptor
/frameworks/base/tools/aapt/
H A DResourceTable.cpp331 ssize_t typeIdx = block.indexOfAttribute(NULL, "format");
336 attr.sourcePos.error("Tag <attr> 'format' attribute value \"%s\" not valid\n",
384 attr.sourcePos.error("Tag <attr> must have format=integer attribute if using max or min\n");
450 .error("<enum> attribute can not be used inside a flags format\n");
454 .error("<flag> attribute can not be used inside a enum format\n");
1236 ssize_t formatIdx = block.indexOfAttribute(NULL, "format");
1244 "Tag <item> 'format' attribute value \"%s\" not valid\n",
1356 ssize_t formatIdx = block.indexOfAttribute(NULL, "format");
1364 "Tag <array> 'format' attribute value \"%s\" not valid\n",
1704 const int32_t format,
1696 addEntry(const SourcePos& sourcePos, const String16& package, const String16& type, const String16& name, const String16& value, const Vector<StringPool::entry_style_span>* style, const ResTable_config* params, const bool doSetIndex, const int32_t format, const bool overwrite) argument
1801 addBag(const SourcePos& sourcePos, const String16& package, const String16& type, const String16& name, const String16& bagParent, const String16& bagKey, const String16& value, const Vector<StringPool::entry_style_span>* style, const ResTable_config* params, bool replace, bool isId, const int32_t format) argument
3090 setItem(const SourcePos& sourcePos, const String16& value, const Vector<StringPool::entry_style_span>* style, int32_t format, const bool overwrite) argument
3120 addToBag(const SourcePos& sourcePos, const String16& key, const String16& value, const Vector<StringPool::entry_style_span>* style, bool replace, bool isId, int32_t format) argument
[all...]
/frameworks/native/services/surfaceflinger/
H A DSurfaceFlinger.cpp475 EGLint format = mHwc->getVisualID(); local
476 mEGLConfig = selectEGLConfig(mEGLDisplay, format);
1860 uint32_t w, uint32_t h, PixelFormat format,
1875 layer = createNormalLayer(client, w, h, flags, format);
1904 PixelFormat& format)
1907 switch (format) {
1910 format = PIXEL_FORMAT_RGBA_8888;
1914 format = PIXEL_FORMAT_RGB_565;
1916 format = PIXEL_FORMAT_RGBX_8888;
1922 if (format
1856 createLayer( ISurfaceComposerClient::surface_data_t* params, const String8& name, const sp<Client>& client, uint32_t w, uint32_t h, PixelFormat format, uint32_t flags) argument
1901 createNormalLayer( const sp<Client>& client, uint32_t w, uint32_t h, uint32_t flags, PixelFormat& format) argument
2732 captureScreen(const sp<IBinder>& display, sp<IMemoryHeap>* heap, uint32_t* width, uint32_t* height, PixelFormat* format, uint32_t sw, uint32_t sh, uint32_t minLayerZ, uint32_t maxLayerZ) argument
[all...]
/frameworks/base/media/jni/mediaeditor/
H A DVideoEditorMain.cpp498 M4OSA_Int32 format, M4OSA_UInt32 profile, M4OSA_UInt32 level){
504 ALOGV("checkClipVideoProfileAndLevel format %d profile;%d level:0x%x",
505 format, profile, level);
507 switch (format) {
523 ALOGE("checkClipVideoProfileAndLevel unsupport Video format %ld", format);
1334 // Set the video format.
1346 // Set the audio format.
497 checkClipVideoProfileAndLevel(M4DECODER_VideoDecoders *pDecoders, M4OSA_Int32 format, M4OSA_UInt32 profile, M4OSA_UInt32 level) argument
/frameworks/base/opengl/java/android/opengl/
H A DGLErrorWrapper.java177 int yoffset, int width, int height, int format, int imageSize,
181 height, format, imageSize, data);
663 public void glReadPixels(int x, int y, int width, int height, int format, argument
666 mgl.glReadPixels(x, y, width, height, format, type, pixels);
780 int width, int height, int border, int format, int type,
784 format, type, pixels);
813 int yoffset, int width, int height, int format, int type,
817 format, type, pixels);
176 glCompressedTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, int imageSize, Buffer data) argument
779 glTexImage2D(int target, int level, int internalformat, int width, int height, int border, int format, int type, Buffer pixels) argument
812 glTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, Buffer pixels) argument
H A DGLES10.java427 // C function void glCompressedTexSubImage2D ( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data )
436 int format,
1055 // C function void glReadPixels ( GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels )
1062 int format,
1237 // C function void glTexImage2D ( GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels )
1246 int format,
1267 // C function void glTexSubImage2D ( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels )
1276 int format,
429 glCompressedTexSubImage2D( int target, int level, int xoffset, int yoffset, int width, int height, int format, int imageSize, java.nio.Buffer data ) argument
1057 glReadPixels( int x, int y, int width, int height, int format, int type, java.nio.Buffer pixels ) argument
1239 glTexImage2D( int target, int level, int internalformat, int width, int height, int border, int format, int type, java.nio.Buffer pixels ) argument
1269 glTexSubImage2D( int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, java.nio.Buffer pixels ) argument
H A DGLLogWrapper.java130 private void formattedAppend(StringBuilder buf, int value, int format) { argument
131 switch (format) {
144 private String toString(int n, int format, int[] arr, int offset) { argument
154 formattedAppend(buf, arr[index], format);
208 private String toString(int n, int format, IntBuffer buf) { argument
213 formattedAppend(builder, buf.get(i), format);
1358 int yoffset, int width, int height, int format, int imageSize,
1367 arg("format", format);
1373 height, format, imageSiz
1357 glCompressedTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, int imageSize, Buffer data) argument
2251 glReadPixels(int x, int y, int width, int height, int format, int type, Buffer pixels) argument
2463 glTexImage2D(int target, int level, int internalformat, int width, int height, int border, int format, int type, Buffer pixels) argument
2527 glTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, Buffer pixels) argument
[all...]
H A DGLES20.java498 // C function void glCompressedTexSubImage2D ( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data )
507 int format,
1355 // C function void glReadPixels ( GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels )
1362 int format,
1487 // C function void glTexImage2D ( GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels )
1496 int format,
1551 // C function void glTexSubImage2D ( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels )
1560 int format,
500 glCompressedTexSubImage2D( int target, int level, int xoffset, int yoffset, int width, int height, int format, int imageSize, java.nio.Buffer data ) argument
1357 glReadPixels( int x, int y, int width, int height, int format, int type, java.nio.Buffer pixels ) argument
1489 glTexImage2D( int target, int level, int internalformat, int width, int height, int border, int format, int type, java.nio.Buffer pixels ) argument
1553 glTexSubImage2D( int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, java.nio.Buffer pixels ) argument
/frameworks/base/opengl/java/com/google/android/gles_jni/
H A DGLImpl.java78 Log.e("OpenGLES", String.format(
241 // C function void glCompressedTexSubImage2D ( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data )
250 int format,
864 // C function void glReadPixels ( GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels )
871 int format,
1046 // C function void glTexImage2D ( GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels )
1055 int format,
1076 // C function void glTexSubImage2D ( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels )
1085 int format,
243 glCompressedTexSubImage2D( int target, int level, int xoffset, int yoffset, int width, int height, int format, int imageSize, java.nio.Buffer data ) argument
866 glReadPixels( int x, int y, int width, int height, int format, int type, java.nio.Buffer pixels ) argument
1048 glTexImage2D( int target, int level, int internalformat, int width, int height, int border, int format, int type, java.nio.Buffer pixels ) argument
1078 glTexSubImage2D( int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, java.nio.Buffer pixels ) argument
/frameworks/base/policy/src/com/android/internal/policy/impl/
H A DPhoneWindow.java2530 public void setSurfaceFormat(int format) { argument
2531 PhoneWindow.this.setFormat(format);
/frameworks/av/services/audioflinger/
H A DAudioFlinger.h93 audio_format_t format,
107 audio_format_t format,
117 virtual audio_format_t format(audio_io_handle_t output) const;
145 virtual size_t getInputBufferSize(uint32_t sampleRate, audio_format_t format,
389 audio_format_t format,
416 audio_format_t format() const { function in class:android::AudioFlinger::ThreadBase::TrackBase
559 audio_format_t format() const { return mFormat; } function in class:android::AudioFlinger::ThreadBase
781 audio_format_t format,
905 audio_format_t format,
948 audio_format_t format,
[all...]
H A DAudioFlinger.cpp445 audio_format_t format,
505 track = thread->createTrack_l(client, streamType, sampleRate, format,
569 audio_format_t AudioFlinger::format(audio_io_handle_t output) const function in class:android::AudioFlinger
574 ALOGW("format() unknown thread %d", output);
577 return thread->format();
978 size_t AudioFlinger::getInputBufferSize(uint32_t sampleRate, audio_format_t format, argument
991 format: format,
1713 audio_format_t format,
1746 audio_is_linear_pcm(format)
441 createTrack( pid_t pid, audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, int frameCount, IAudioFlinger::track_flags_t flags, const sp<IMemory>& sharedBuffer, audio_io_handle_t output, pid_t tid, int *sessionId, status_t *status) argument
1709 createTrack_l( const sp<AudioFlinger::Client>& client, audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, int frameCount, const sp<IMemory>& sharedBuffer, int sessionId, IAudioFlinger::track_flags_t flags, pid_t tid, status_t *status) argument
3622 NBAIO_Format format = teeSource->format(); local
4140 TrackBase( ThreadBase *thread, const sp<Client>& client, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, int frameCount, const sp<IMemory>& sharedBuffer, int sessionId) argument
4314 Track( PlaybackThread *thread, const sp<Client>& client, audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, int frameCount, const sp<IMemory>& sharedBuffer, int sessionId, IAudioFlinger::track_flags_t flags) argument
4854 create( PlaybackThread *thread, const sp<Client>& client, audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, int frameCount, const sp<IMemory>& sharedBuffer, int sessionId) argument
4872 TimedTrack( PlaybackThread *thread, const sp<Client>& client, audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, int frameCount, const sp<IMemory>& sharedBuffer, int sessionId) argument
5368 RecordTrack( RecordThread *thread, const sp<Client>& client, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, int frameCount, int sessionId) argument
5490 OutputTrack( PlaybackThread *playbackThread, DuplicatingThread *sourceThread, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, int frameCount) argument
5878 openRecord( pid_t pid, audio_io_handle_t input, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, int frameCount, IAudioFlinger::track_flags_t flags, pid_t tid, int *sessionId, status_t *status) argument
6241 createRecordTrack_l( const sp<AudioFlinger::Client>& client, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, int frameCount, int sessionId, IAudioFlinger::track_flags_t flags, pid_t tid, status_t *status) argument
[all...]
/frameworks/base/core/java/android/hardware/
H A DCamera.java508 * <p>If using the {@link android.graphics.ImageFormat#YV12} format,
513 * @param data the contents of the preview frame in the format defined
518 * (NV21) format.
660 * 8, using the image format from
663 * <p>If using the {@link android.graphics.ImageFormat#YV12} format, the
700 * using the image format from {@link Camera.Parameters#getPreviewFormat()}.
1024 * The format of the data depends on the context of the callback
1666 private static final String KEY_PREVIEW_FORMAT = "preview-format";
1670 private static final String KEY_PICTURE_FORMAT = "picture-format";
2396 * Sets the image format fo
2581 pixelFormatForCameraFormat(String format) argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_opengl_GLES20.cpp451 /* void glCompressedTexSubImage2D ( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data ) */
454 (JNIEnv *_env, jobject _this, jint target, jint level, jint xoffset, jint yoffset, jint width, jint height, jint format, jint imageSize, jobject data_buf) {
472 (GLenum)format,
4280 /* void glReadPixels ( GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels ) */
4283 (JNIEnv *_env, jobject _this, jint x, jint y, jint width, jint height, jint format, jint type, jobject pixels_buf) {
4299 (GLenum)format,
4527 /* void glTexImage2D ( GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels ) */
4530 (JNIEnv *_env, jobject _this, jint target, jint level, jint internalformat, jint width, jint height, jint border, jint format, jint type, jobject pixels_buf) {
4550 (GLenum)format,
4757 /* void glTexSubImage2D ( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenu
453 android_glCompressedTexSubImage2D__IIIIIIIILjava_nio_Buffer_2(JNIEnv *_env, jobject _this, jint target, jint level, jint xoffset, jint yoffset, jint width, jint height, jint format, jint imageSize, jobject data_buf) argument
4282 android_glReadPixels__IIIIIILjava_nio_Buffer_2(JNIEnv *_env, jobject _this, jint x, jint y, jint width, jint height, jint format, jint type, jobject pixels_buf) argument
4529 android_glTexImage2D__IIIIIIIILjava_nio_Buffer_2(JNIEnv *_env, jobject _this, jint target, jint level, jint internalformat, jint width, jint height, jint border, jint format, jint type, jobject pixels_buf) argument
4759 android_glTexSubImage2D__IIIIIIIILjava_nio_Buffer_2(JNIEnv *_env, jobject _this, jint target, jint level, jint xoffset, jint yoffset, jint width, jint height, jint format, jint type, jobject pixels_buf) argument
[all...]
H A Dcom_google_android_gles_jni_GLImpl.cpp468 /* void glCompressedTexSubImage2D ( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data ) */
471 (JNIEnv *_env, jobject _this, jint target, jint level, jint xoffset, jint yoffset, jint width, jint height, jint format, jint imageSize, jobject data_buf) {
489 (GLenum)format,
3342 /* void glReadPixels ( GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels ) */
3345 (JNIEnv *_env, jobject _this, jint x, jint y, jint width, jint height, jint format, jint type, jobject pixels_buf) {
3361 (GLenum)format,
3798 /* void glTexImage2D ( GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels ) */
3801 (JNIEnv *_env, jobject _this, jint target, jint level, jint internalformat, jint width, jint height, jint border, jint format, jint type, jobject pixels_buf) {
3821 (GLenum)format,
3852 /* void glTexSubImage2D ( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenu
470 android_glCompressedTexSubImage2D__IIIIIIIILjava_nio_Buffer_2(JNIEnv *_env, jobject _this, jint target, jint level, jint xoffset, jint yoffset, jint width, jint height, jint format, jint imageSize, jobject data_buf) argument
3344 android_glReadPixels__IIIIIILjava_nio_Buffer_2(JNIEnv *_env, jobject _this, jint x, jint y, jint width, jint height, jint format, jint type, jobject pixels_buf) argument
3800 android_glTexImage2D__IIIIIIIILjava_nio_Buffer_2(JNIEnv *_env, jobject _this, jint target, jint level, jint internalformat, jint width, jint height, jint border, jint format, jint type, jobject pixels_buf) argument
3854 android_glTexSubImage2D__IIIIIIIILjava_nio_Buffer_2(JNIEnv *_env, jobject _this, jint target, jint level, jint xoffset, jint yoffset, jint width, jint height, jint format, jint type, jobject pixels_buf) argument
[all...]
/frameworks/base/opengl/java/javax/microedition/khronos/opengles/
H A DGL10.java365 int format,
797 int format,
917 int format,
941 int format,
358 glCompressedTexSubImage2D( int target, int level, int xoffset, int yoffset, int width, int height, int format, int imageSize, java.nio.Buffer data ) argument
792 glReadPixels( int x, int y, int width, int height, int format, int type, java.nio.Buffer pixels ) argument
910 glTexImage2D( int target, int level, int internalformat, int width, int height, int border, int format, int type, java.nio.Buffer pixels ) argument
934 glTexSubImage2D( int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, java.nio.Buffer pixels ) argument
/frameworks/base/core/java/android/app/
H A DActivityThread.java544 // Formatting for checkin service - update version if row format changes
1011 // otherwise, show human-readable format
1110 private void printRow(PrintWriter pw, String format, Object...objs) { argument
1111 pw.println(String.format(format, objs));
/frameworks/base/core/java/android/view/
H A DViewRootImpl.java731 final boolean translucent = attrs.format != PixelFormat.OPAQUE;
1179 // PixelFormat.hasAlpha(lp.format) || lp.format == PixelFormat.RGBX_8888
1304 if (!PixelFormat.formatHasAlpha(params.format)) {
1305 params.format = PixelFormat.TRANSLUCENT;
1403 lp != null && !PixelFormat.formatHasAlpha(lp.format)) {
1593 lp.format, mWidth, mHeight);
1597 c.surfaceChanged(mSurfaceHolder, lp.format,
1904 // time around, to ensure the window has the correct format.
2250 // If this bitmap's format include
4785 setFormat(int format) argument
[all...]
/frameworks/native/opengl/libs/GLES_trace/src/
H A Dgltrace_api.cpp865 void GLTrace_glCompressedTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid* data) { argument
907 // copy argument format
911 arg_format->add_intvalue((int)format);
928 glContext->hooks->gl.glCompressedTexSubImage2D(target, level, xoffset, yoffset, width, height, format, imageSize, data);
3575 void GLTrace_glReadPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid* pixels) { argument
3605 // copy argument format
3609 arg_format->add_intvalue((int)format);
3626 glContext->hooks->gl.glReadPixels(x, y, width, height, format, type, pixels);
4124 void GLTrace_glTexImage2D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid* pixels) { argument
4166 // copy argument format
4363 GLTrace_glTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid* pixels) argument
6021 GLTrace_glTexImage3DOES(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid* pixels) argument
6104 GLTrace_glTexSubImage3DOES(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid* pixels) argument
6346 GLTrace_glCompressedTexSubImage3DOES(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid* data) argument
8040 GLTrace_glReadnPixelsEXT(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data) argument
10791 GLTrace_glExtGetTexSubImageQCOM(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLvoid *texels) argument
[all...]

Completed in 511 milliseconds

12345678910