Searched refs:format (Results 126 - 150 of 1036) sorted by relevance

1234567891011>>

/frameworks/av/media/libstagefright/rtsp/
H A DARawAudioAssembler.h37 const char *desc, const sp<MetaData> &format);
/frameworks/base/core/jni/android/graphics/
H A DMinikinUtils.cpp30 static int snprintfcat(char* buf, int off, int size, const char* format, ...)
32 static int snprintfcat(char* buf, int off, int size, const char* format, ...) { argument
34 va_start(args, format);
35 int n = vsnprintf(buf + off, size - off, format, args);
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/
H A DNetworkState.java93 Log.v(LOG_TAG, String.format("Print state depository: %s", printStates()));
124 Log.v(LOG_TAG, String.format("%s is expected, but it is %s",
127 mReason = String.format("%s is expected, but it is %s",
144 str.append(String.format(" Initial state should be CONNECTED, but it is %s.",
151 str.append(String.format(" Last state should be DISCONNECTED, but it is %s",
167 str.append(String.format(" Transition state from %s to %s is not valid",
185 str.append(String.format(" Initial state should be DISCONNECTED, but it is %s.",
192 str.append(String.format(" Last state should be %s, but it is %s", mTransitionTarget,
208 str.append(String.format(" Transition state from %s to %s is not valid.",
/frameworks/base/core/tests/coretests/src/android/text/format/
H A DDateFormatTest.java17 package android.text.format;
/frameworks/base/location/lib/java/com/android/location/provider/
H A DActivityRecognitionEvent.java63 return String.format(
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/text/
H A DStringLogger.java24 import android.filterfw.format.ObjectFormat;
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/
H A DScreenshotTest.java68 assertNotNull(String.format("Could not find screenshot after %d seconds",
73 assertTrue(String.format("Detected new screenshot %s but its not a file",
75 assertTrue(String.format("Detected new screenshot %s but its not an image",
96 Log.d(LOG_TAG, String.format("Detected new file added %s", path));
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
H A DUploadedTexture.java194 int format = GLUtils.getInternalFormat(bitmap);
196 canvas.texSubImage2D(this, mBorder, mBorder, bitmap, format, type);
231 int format = GLUtils.getInternalFormat(bitmap);
235 canvas.initializeTextureSize(this, format, type);
236 canvas.texSubImage2D(this, mBorder, mBorder, bitmap, format, type);
241 canvas.texSubImage2D(this, 0, 0, line, format, type);
245 canvas.texSubImage2D(this, 0, 0, line, format, type);
251 canvas.texSubImage2D(this, mBorder + bWidth, 0, line, format, type);
257 canvas.texSubImage2D(this, 0, mBorder + bHeight, line, format, type);
/frameworks/base/wifi/java/android/net/wifi/p2p/nsd/
H A DWifiP2pUpnpServiceRequest.java78 sb.append(String.format(Locale.US, "%02x", WifiP2pUpnpServiceInfo.VERSION_1_0));
/frameworks/native/include/android/
H A Dbitmap.h47 int32_t format; member in struct:__anon1178
/frameworks/native/include/gui/
H A DGraphicBufferAlloc.h37 PixelFormat format, uint32_t usage, status_t* error);
/frameworks/native/libs/ui/
H A DGraphicBuffer.cpp51 format =
64 format =
80 format = inFormat;
93 format = buffer->format;
140 if (handle && w==width && h==height && f==format && reqUsage==usage)
151 status_t GraphicBuffer::initSize(uint32_t w, uint32_t h, PixelFormat format, argument
155 status_t err = allocator.alloc(w, h, format, reqUsage, &handle, &stride);
159 this->format = format;
[all...]
/frameworks/native/opengl/libagl/
H A DTextureObjectManager.cpp153 sur.format= native_buffer->format;
162 int format, int compressedFormat, int bpr)
183 surface.format = format;
215 mipmap.format = format;
223 if (curr->format != surface.format) {
160 reallocate( GLint level, int w, int h, int s, int format, int compressedFormat, int bpr) argument
/frameworks/native/services/surfaceflinger/
H A DMonitoredProducer.cpp64 bool async, uint32_t w, uint32_t h, uint32_t format, uint32_t usage) {
65 return mProducer->dequeueBuffer(slot, fence, async, w, h, format, usage);
109 uint32_t height, uint32_t format, uint32_t usage) {
110 mProducer->allocateBuffers(async, width, height, format, usage);
63 dequeueBuffer(int* slot, sp<Fence>* fence, bool async, uint32_t w, uint32_t h, uint32_t format, uint32_t usage) argument
108 allocateBuffers(bool async, uint32_t width, uint32_t height, uint32_t format, uint32_t usage) argument
/frameworks/native/libs/gui/tests/
H A DGLTest.cpp182 msg += String8::format("error reading pixel: %#x", err);
184 msg += String8::format(", %#x", err);
189 msg += String8::format("r(%d isn't %d)", pixel[0], r);
195 msg += String8::format("g(%d isn't %d)", pixel[1], g);
201 msg += String8::format("b(%d isn't %d)", pixel[2], b);
207 msg += String8::format("a(%d isn't %d)", pixel[3], a);
221 msg += String8::format("left(%d isn't %d)", r1.left, r2.left);
227 msg += String8::format("top(%d isn't %d)", r1.top, r2.top);
233 msg += String8::format("right(%d isn't %d)", r1.right, r2.right);
239 msg += String8::format("botto
[all...]
/frameworks/av/cmds/stagefright/
H A Dmuxer.cpp92 sp<AMessage> format; local
93 status_t err = extractor->getTrackFormat(i, &format);
95 ALOGV("extractor getTrackFormat: %s", format->debugString().c_str());
98 CHECK(format->findString("mime", &mime));
113 CHECK(format->findInt32("width", &width));
114 CHECK(format->findInt32("height", &height));
119 CHECK(format->findInt64("durationUs", &duration));
135 ssize_t newTrackIndex = muxer->addTrack(format);
/frameworks/av/include/media/
H A DAudioPolicy.h65 AudioMix(Vector<AttributeMatchCriterion> criteria, uint32_t mixType, audio_config_t format, argument
67 mCriteria(criteria), mMixType(mixType), mFormat(format),
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DHTTPLiveSource.cpp105 sp<AMessage> format; local
109 &format);
115 return format;
227 sp<AMessage> format = getFormat(false /* audio */); local
230 if (format != NULL &&
231 format->findInt32("width", &width) && format->findInt32("height", &height)) {
232 notifyVideoSizeChanged(format);
H A DNuPlayerDecoderBase.h34 void configure(const sp<AMessage> &format);
64 virtual void onConfigure(const sp<AMessage> &format) = 0;
/frameworks/av/media/libstagefright/codecs/g711/dec/
H A DSoftG711.cpp73 def.format.audio.cMIMEType =
79 def.format.audio.pNativeRender = NULL;
80 def.format.audio.bFlagErrorConcealment = OMX_FALSE;
81 def.format.audio.eEncoding = OMX_AUDIO_CodingG711;
96 def.format.audio.cMIMEType = const_cast<char *>("audio/raw");
97 def.format.audio.pNativeRender = NULL;
98 def.format.audio.bFlagErrorConcealment = OMX_FALSE;
99 def.format.audio.eEncoding = OMX_AUDIO_CodingPCM;
/frameworks/av/media/libstagefright/codecs/gsm/dec/
H A DSoftGSM.cpp74 def.format.audio.cMIMEType =
77 def.format.audio.pNativeRender = NULL;
78 def.format.audio.bFlagErrorConcealment = OMX_FALSE;
79 def.format.audio.eEncoding = OMX_AUDIO_CodingGSMFR;
94 def.format.audio.cMIMEType = const_cast<char *>("audio/raw");
95 def.format.audio.pNativeRender = NULL;
96 def.format.audio.bFlagErrorConcealment = OMX_FALSE;
97 def.format.audio.eEncoding = OMX_AUDIO_CodingPCM;
/frameworks/av/media/libstagefright/codecs/raw/
H A DSoftRaw.cpp68 def.format.audio.cMIMEType = const_cast<char *>("audio/raw");
69 def.format.audio.pNativeRender = NULL;
70 def.format.audio.bFlagErrorConcealment = OMX_FALSE;
71 def.format.audio.eEncoding = OMX_AUDIO_CodingPCM;
86 def.format.audio.cMIMEType = const_cast<char *>("audio/raw");
87 def.format.audio.pNativeRender = NULL;
88 def.format.audio.bFlagErrorConcealment = OMX_FALSE;
89 def.format.audio.eEncoding = OMX_AUDIO_CodingPCM;
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/
H A DMarshalQueryableStreamConfiguration.java32 * <p>Data is stored as {@code (format, width, height, input?)} tuples (int32).</p>
54 int format = buffer.getInt();
59 return new StreamConfiguration(format, width, height, input);
H A DMarshalQueryableStreamConfigurationDuration.java32 * Data is stored as {@code (format, width, height, durationNs)} tuples (int64).
63 int format = (int)buffer.getLong();
68 return new StreamConfigurationDuration(format, width, height, durationNs);
/frameworks/base/core/java/android/hardware/camera2/params/
H A DStreamConfiguration.java37 * for that format) that are supported by a camera device.</p>
48 * @param format image format
55 * or if the format was not user-defined in ImageFormat/PixelFormat
61 final int format, final int width, final int height, final boolean input) {
62 mFormat = checkArgumentFormatInternal(format);
69 * Get the internal image {@code format} in this stream configuration.
71 * @return an integer format
60 StreamConfiguration( final int format, final int width, final int height, final boolean input) argument

Completed in 8216 milliseconds

1234567891011>>