Searched defs:format (Results 26 - 50 of 187) sorted by relevance

12345678

/frameworks/base/libs/ui/
H A DGraphicBufferAllocator.cpp67 rec.w, rec.s, rec.h, rec.format, rec.usage);
71 rec.w, rec.s, rec.h, rec.format, rec.usage);
91 status_t GraphicBufferAllocator::alloc(uint32_t w, uint32_t h, PixelFormat format, argument
102 err = mAllocDev->alloc(mAllocDev, w, h, format, usage, handle, stride);
105 w, h, format, usage, err, strerror(-err));
110 int bpp = bytesPerPixel(format);
112 // probably a HAL custom format. in any case, we don't know
120 rec.format = format;
/frameworks/base/media/libeffects/lvm/lib/Reverb/src/
H A DLVREV_Process.c58 LVM_INT32 format = 1; local
125 format = 2;
147 pInput = (LVM_INT32 *)(pInput +(SamplesToProcess*format));
/frameworks/base/media/libstagefright/rtsp/
H A DARawAudioAssembler.cpp125 const char *desc, const sp<MetaData> &format) {
127 format->setCString(kKeyMIMEType, MEDIA_MIMETYPE_AUDIO_G711_MLAW);
129 format->setCString(kKeyMIMEType, MEDIA_MIMETYPE_AUDIO_G711_ALAW);
138 format->setInt32(kKeySampleRate, sampleRate);
139 format->setInt32(kKeyChannelCount, numChannels);
124 MakeFormat( const char *desc, const sp<MetaData> &format) argument
H A DARTPSession.cpp67 LOGE("Invalid media format.");
73 LOGE("Unsupported format.");
201 AString format; local
202 mDesc->getFormat(index, &format);
204 ssize_t i = format.find(" ");
211 while (isdigit(format.c_str()[j])) {
214 if (format.c_str()[j] != ' ') {
218 AString portString(format, i, j - i);
/frameworks/base/native/android/
H A Dnative_window.cpp70 int32_t height, int32_t format) {
71 int32_t err = native_window_set_buffers_geometry(window, width, height, format);
69 ANativeWindow_setBuffersGeometry(ANativeWindow* window, int32_t width, int32_t height, int32_t format) argument
/frameworks/base/opengl/java/android/opengl/
H A DGLUtils.java44 * return the internal format as defined by OpenGL ES of the supplied bitmap.
46 * @return the internal format of the bitmap.
64 * is one. If the bitmap is stored in a compressed format, it may not have
115 throw new IllegalArgumentException("invalid Bitmap format");
141 throw new IllegalArgumentException("invalid Bitmap format");
163 throw new IllegalArgumentException("invalid Bitmap format");
199 throw new IllegalArgumentException("invalid Bitmap format");
215 Bitmap bitmap, int format, int type) {
222 if (native_texSubImage2D(target, level, xoffset, yoffset, bitmap, format, type)!=0) {
223 throw new IllegalArgumentException("invalid Bitmap format");
214 texSubImage2D(int target, int level, int xoffset, int yoffset, Bitmap bitmap, int format, int type) argument
278 native_texSubImage2D(int target, int level, int xoffset, int yoffset, Bitmap bitmap, int format, int type) argument
[all...]
/frameworks/base/services/audioflinger/
H A DAudioResampler.h69 enum format {MONO_16_BIT, STEREO_16_BIT}; enum in class:android::AudioResampler
86 format mFormat;
/frameworks/base/services/surfaceflinger/
H A DSurfaceTextureLayer.cpp44 status_t SurfaceTextureLayer::setDefaultBufferFormat(uint32_t format) argument
46 mDefaultFormat = format;
68 uint32_t w, uint32_t h, uint32_t format, uint32_t usage) {
73 if (format == 0)
74 format = mDefaultFormat;
76 //LOGD("%s, w=%u, h=%u, format=%u, usage=%08x, effectiveUsage=%08x",
77 // __PRETTY_FUNCTION__, w, h, format, usage, effectiveUsage);
78 res = SurfaceTexture::dequeueBuffer(buf, w, h, format, effectiveUsage);
67 dequeueBuffer(int *buf, uint32_t w, uint32_t h, uint32_t format, uint32_t usage) argument
/frameworks/base/tests/RenderScriptTests/FBOTest/src/com/android/fbotest/
H A DFBOSyncView.java61 public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) { argument
62 super.surfaceChanged(holder, format, w, h);
H A DFBOTestView.java61 public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) { argument
62 super.surfaceChanged(holder, format, w, h);
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/
H A DRsBenchView.java53 public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) { argument
54 super.surfaceChanged(holder, format, w, h);
/frameworks/base/tests/RenderScriptTests/ShadersTest/src/com/android/shaderstest/
H A DShadersTestView.java59 public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) { argument
60 super.surfaceChanged(holder, format, w, h);
/frameworks/base/core/java/android/text/format/
H A DDateFormat.java17 package android.text.format;
38 This class takes as inputs a format string and a representation of a date/time.
39 The format string controls how the output is generated.
43 of that field. For instance, the format character &apos;M&apos; is used to
79 Text in the format string that should be copied verbatim rather that
125 This designator indicates the hour of the day in 12 hour format.
134 This designator indicates the hour of the day in 24 hour format.
199 * Returns true if user preference is set to 24-hour format.
201 * @return true if 24 hour time format is selected, false otherwise.
244 * Returns a {@link java.text.DateFormat} object that can format th
406 public static final CharSequence format(CharSequence inFormat, long inTimeInMillis) { method in class:DateFormat
417 public static final CharSequence format(CharSequence inFormat, Date inDate) { method in class:DateFormat
432 public static final CharSequence format(CharSequence inFormat, Calendar inDate) { method in class:DateFormat
[all...]
/frameworks/base/core/java/android/view/
H A DSurfaceHolder.java24 * control the surface size and format, edit the pixels in the surface, and
82 * This is called immediately after any structural changes (format or
88 * @param format The new PixelFormat of the surface.
92 public void surfaceChanged(SurfaceHolder holder, int format, int width, argument
180 * @param format A constant from PixelFormat.
184 public void setFormat(int format); argument
/frameworks/base/core/jni/
H A DTime.cpp88 Time::format(const char *format, const struct strftime_locale *locale) const argument
91 int n = strftime_tz(buf, 257, format, &(this->t), locale);
/frameworks/base/core/tests/coretests/src/android/text/format/
H A DTimeTest.java17 package android.text.format;
21 import android.text.format.Time;
193 String expectedTime = String.format("%d-%02d-%02d %02d:%02d",
195 String actualTime = String.format("%d-%02d-%02d %02d:%02d",
211 String expectedTime = String.format("%d-%02d-%02d %02d:%02d",
213 String actualTime = String.format("%d-%02d-%02d %02d:%02d",
234 String expectedTime = String.format("%d-%02d-%02d %02d:%02d isDst: %d",
237 String actualTime = String.format("%d-%02d-%02d %02d:%02d isDst: %d",
256 String expectedTime = String.format("%d-%02d-%02d %02d:%02d isDst: %d",
259 String actualTime = String.format("
[all...]
/frameworks/base/graphics/java/android/graphics/
H A DYuvImage.java39 * The YUV format as defined in {@link ImageFormat}.
70 * @param format The YUV data format as defined in {@link ImageFormat}.
75 * padding and derives the row bytes by format and width itself.
76 * @throws IllegalArgumentException if format is not support; width or height <= 0; or yuv is
79 public YuvImage(byte[] yuv, int format, int width, int height, int[] strides) { argument
80 if (format != ImageFormat.NV21 &&
81 format != ImageFormat.YUY2) {
97 mStrides = calculateStrides(width, format);
103 mFormat = format;
199 calculateStrides(int width, int format) argument
237 nativeCompressToJpeg(byte[] oriYuv, int format, int width, int height, int[] offsets, int[] strides, int quality, OutputStream stream, byte[] tempStorage) argument
[all...]
/frameworks/base/graphics/java/android/renderscript/
H A DProgramFragmentFixedFunction.java101 * Format describes the pixel format of textures in the fixed
119 Format format; field in class:ProgramFragmentFixedFunction.Builder.Slot
122 format = _fmt;
150 switch (mSlots[i].format) {
166 switch (mSlots[i].format) {
208 * @param fmt specifies the format of the texture and how its
/frameworks/base/include/media/
H A DAudioSystem.h92 static status_t getInputBufferSize(uint32_t sampleRate, int format, int channelCount,
131 : samplingRate(0), format(0), channels(0), frameCount(0), latency(0) {}
134 int32_t format; member in class:android::AudioSystem::OutputDescriptor
151 uint32_t format = AUDIO_FORMAT_DEFAULT,
163 uint32_t format = AUDIO_FORMAT_DEFAULT,
/frameworks/base/libs/hwui/
H A DTextureCache.cpp270 void TextureCache::uploadToTexture(bool resize, GLenum format, GLsizei width, GLsizei height, argument
273 glTexImage2D(GL_TEXTURE_2D, 0, format, width, height, 0, format, type, data);
275 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, width, height, format, type, data);
/frameworks/base/media/java/android/mtp/
H A DMtpPropertyGroup.java284 MtpPropertyList getPropertyList(int handle, int format, int depth) { argument
285 //Log.d(TAG, "getPropertyList handle: " + handle + " format: " + format + " depth: " + depth);
294 if (format == 0) {
309 // select all objects with given format
311 whereArgs = new String[] { Integer.toString(format) };
313 whereArgs = new String[] { Integer.toString(handle), Integer.toString(format) };
/frameworks/base/media/libstagefright/foundation/
H A DAString.cpp313 AString StringPrintf(const char *format, ...) { argument
315 va_start(ap, format);
318 vasprintf(&buffer, format, ap);
/frameworks/base/media/mtp/
H A DMtpServer.h82 MtpObjectFormat format, int fd)
83 : mHandle(handle), mPath(path), mSize(size), mFormat(format), mFD(fd) {
114 uint64_t size, MtpObjectFormat format, int fd);
81 ObjectEdit(MtpObjectHandle handle, const char* path, uint64_t size, MtpObjectFormat format, int fd) argument
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
H A DMediaFrameworkTest.java111 public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) { argument
/frameworks/base/opengl/tests/hwc/
H A DhwcTestLib.h41 uint32_t format; member in struct:hwcTestGraphicFormat
114 const char *hwcTestGraphicFormat2str(uint32_t format);
123 uint32_t hwcTestColor2Pixel(uint32_t format, ColorFract color, float alpha);

Completed in 505 milliseconds

12345678