Searched refs:format (Results 76 - 100 of 1061) sorted by relevance

1234567891011>>

/frameworks/native/include/android/
H A Dnative_window.h49 // The format of the buffer. One of WINDOW_FORMAT_*
50 int32_t format; member in struct:ANativeWindow_Buffer
83 * Return the current pixel format of the window surface. Returns a
89 * Change the format and size of the window buffers.
103 int32_t width, int32_t height, int32_t format);
/frameworks/native/libs/gui/
H A DGraphicBufferAlloc.cpp35 PixelFormat format, uint32_t usage, status_t* error) {
36 sp<GraphicBuffer> graphicBuffer(new GraphicBuffer(w, h, format, usage));
34 createGraphicBuffer(uint32_t w, uint32_t h, PixelFormat format, uint32_t usage, status_t* error) argument
H A DIGraphicBufferAlloc.cpp46 PixelFormat format, uint32_t usage, status_t* error) {
51 data.writeInt32(format);
93 PixelFormat format = data.readInt32(); local
97 createGraphicBuffer(w, h, format, usage, &error);
45 createGraphicBuffer(uint32_t w, uint32_t h, PixelFormat format, uint32_t usage, status_t* error) argument
/frameworks/native/libs/ui/
H A DGraphicBufferAllocator.cpp69 rec.w, rec.s, rec.h, rec.format, rec.usage);
73 rec.w, rec.s, rec.h, rec.format, rec.usage);
93 status_t GraphicBufferAllocator::alloc(uint32_t w, uint32_t h, PixelFormat format, argument
105 err = mAllocDev->alloc(mAllocDev, w, h, format, usage, handle, stride);
108 w, h, format, usage, err, strerror(-err));
113 int bpp = bytesPerPixel(format);
115 // probably a HAL custom format. in any case, we don't know
123 rec.format = format;
/frameworks/testing/espresso/espresso-lib/src/main/java/com/google/android/apps/common/testing/ui/espresso/
H A DAppNotIdleException.java52 String errorMessage = String.format("App not idle within timeout of %s seconds even" +
70 String errorMessage = String.format("%s The following Idle Conditions failed %s.",
/frameworks/testing/uiautomator/cmds/uiautomator/src/com/android/commands/uiautomator/
H A DEventsCommand.java60 System.out.println(String.format("%s %s",
61 formatter.format(new Date()), event.toString()));
/frameworks/av/include/media/nbaio/
H A DPipe.h34 // which must be of size roundup(maxFrames) * Format_frameSize(format) bytes.
35 Pipe(size_t maxFrames, const NBAIO_Format& format, void *buffer = NULL);
44 //virtual NBAIO_Format format() const;
/frameworks/av/media/ndk/
H A DNdkMediaMuxer.cpp56 AMediaMuxer* AMediaMuxer_new(int fd, OutputFormat format) { argument
59 mData->mImpl = new MediaMuxer(fd, (android::MediaMuxer::OutputFormat)format);
81 ssize_t AMediaMuxer_addTrack(AMediaMuxer *muxer, const AMediaFormat *format) { argument
83 AMediaFormat_getFormat(format, &msg);
/frameworks/base/core/java/android/nfc/tech/
H A DNdefFormatable.java31 * Provide access to NDEF format operations on a {@link Tag}.
36 * class for tags for which it can format to NDEF.
93 public void format(NdefMessage firstMessage) throws IOException, FormatException { method in class:NdefFormatable
94 format(firstMessage, false);
116 format(firstMessage, true);
119 /*package*/ void format(NdefMessage firstMessage, boolean makeReadOnly) throws IOException, method in class:NdefFormatable
138 // Now check and see if the format worked
/frameworks/base/core/jni/android/graphics/
H A DBitmapFactory.h22 jstring getMimeTypeString(JNIEnv* env, SkImageDecoder::Format format);
/frameworks/base/include/android_runtime/
H A Dandroid_app_NativeActivity.h32 ANativeActivity* activity, int32_t format);
/frameworks/rs/cpu_ref/linkloader/lib/
H A DELFTypes.cpp25 os << llvm::format("%0*x", FORMAT_WIDTH, val.value); \
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/
H A DAndroid.mk58 $(base)/drm/libdrmframework/plugins/forward-lock/internal-format/common \
59 $(base)/drm/libdrmframework/plugins/forward-lock/internal-format/converter \
60 $(base)/drm/libdrmframework/plugins/forward-lock/internal-format/decoder \
/frameworks/av/include/media/stagefright/
H A DMediaMuxer.h48 OUTPUT_FORMAT_LIST_END // must be last - used to validate format type
52 MediaMuxer(const char *path, OutputFormat format);
56 MediaMuxer(int fd, OutputFormat format);
61 * Add a track with its format information. This should be
63 * @param format the track's format.
66 ssize_t addTrack(const sp<AMessage> &format);
/frameworks/av/media/libnbaio/
H A DPipe.cpp28 Pipe::Pipe(size_t maxFrames, const NBAIO_Format& format, void *buffer) : argument
29 NBAIO_Sink(format),
31 mBuffer(buffer == NULL ? malloc(mMaxFrames * Format_frameSize(format)) : buffer),
/frameworks/av/services/audioflinger/
H A DFastCapture.cpp36 readBuffer(NULL), readBufferState(-1), format(Format_Invalid), sampleRate(0),
97 NBAIO_Format previousFormat = format;
102 format = Format_Invalid;
105 format = inputSource->format();
106 sampleRate = Format_sampleRate(format);
107 unsigned channelCount = Format_channelCount(format);
123 ALOG_ASSERT(Format_isEqual(format, pipeSink->format()));
126 if ((!Format_isEqual(format, previousForma
[all...]
/frameworks/av/services/camera/libcameraservice/device3/
H A DCamera3OutputStream.h42 uint32_t width, uint32_t height, int format);
49 uint32_t width, uint32_t height, size_t maxSize, int format);
67 uint32_t width, uint32_t height, int format);
/frameworks/base/libs/hwui/
H A DRenderBufferCache.h44 * @param format The desired render buffer format
48 RenderBuffer* get(GLenum format, const uint32_t width, const uint32_t height);
84 RenderBufferEntry(GLenum format, const uint32_t width, const uint32_t height): argument
85 mBuffer(NULL), mFormat(format), mWidth(width), mHeight(height) {
/frameworks/base/media/java/android/media/
H A DSubtitleController.java223 MediaFormat format = track.getFormat();
224 String language = format.getString(MediaFormat.KEY_LANGUAGE);
226 format.getInteger(MediaFormat.KEY_IS_FORCED_SUBTITLE, 0) != 0;
228 format.getInteger(MediaFormat.KEY_IS_AUTOSELECT, 1) != 0;
230 format.getInteger(MediaFormat.KEY_IS_DEFAULT, 0) != 0;
315 * @param format the format of the track that will include at least
319 public SubtitleTrack addTrack(MediaFormat format) { argument
322 if (renderer.supports(format)) {
323 SubtitleTrack track = renderer.createTrack(format);
390 supports(MediaFormat format) argument
404 createTrack(MediaFormat format) argument
424 hasRendererFor(MediaFormat format) argument
[all...]
/frameworks/base/media/mca/effect/java/android/media/effect/
H A DFilterEffect.java25 import android.filterfw.format.ImageFormat;
87 FrameFormat format = ImageFormat.create(width, height,
90 Frame frame = manager.newBoundFrame(format,
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/base/
H A DGLTextureTarget.java26 import android.filterfw.format.ImageFormat;
50 FrameFormat format = ImageFormat.create(input.getFormat().getWidth(),
55 Frame frame = context.getFrameManager().newBoundFrame(format, GLFrame.EXISTING_TEXTURE_BINDING, mTexId);
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/
H A DVideoTrackDecoder.java35 protected VideoTrackDecoder(int trackIndex, MediaFormat format, Listener listener) { argument
36 super(trackIndex, format, listener);
37 if (!DecoderUtil.isVideoFormat(format)) {
/frameworks/native/opengl/libagl/
H A Dmipmap.cpp34 const GGLFormat& pixelFormat(c->rasterizer.formats[base->format]);
48 base->format, base->compressedFormat, bpr) != NO_ERROR) {
56 if (base->format == GGL_PIXEL_FORMAT_RGB_565)
79 else if (base->format == GGL_PIXEL_FORMAT_RGBA_5551)
99 else if (base->format == GGL_PIXEL_FORMAT_RGBA_8888)
126 else if ((base->format == GGL_PIXEL_FORMAT_RGB_888) ||
127 (base->format == GGL_PIXEL_FORMAT_LA_88) ||
128 (base->format == GGL_PIXEL_FORMAT_A_8) ||
129 (base->format == GGL_PIXEL_FORMAT_L_8))
132 switch (base->format) {
[all...]
/frameworks/av/media/libstagefright/rtsp/
H A DARawAudioAssembler.cpp127 const char *desc, const sp<MetaData> &format) {
129 format->setCString(kKeyMIMEType, MEDIA_MIMETYPE_AUDIO_G711_MLAW);
131 format->setCString(kKeyMIMEType, MEDIA_MIMETYPE_AUDIO_G711_ALAW);
140 format->setInt32(kKeySampleRate, sampleRate);
141 format->setInt32(kKeyChannelCount, numChannels);
126 MakeFormat( const char *desc, const sp<MetaData> &format) argument
/frameworks/base/core/java/android/text/format/
H A DTimeFormatter.java21 package android.text.format;
90 public String format(String pattern, ZoneInfo.WallTime wallTime, ZoneInfo zoneInfo) { method in class:TimeFormatter
198 numberFormatter.format(getFormat(modifier, "%02d", "%2d", "%d", "%02d"),
213 numberFormatter.format(getFormat(modifier, "%2d", "%2d", "%d", "%02d"),
220 numberFormatter.format(getFormat(modifier, "%02d", "%2d", "%d", "%02d"),
225 numberFormatter.format(getFormat(modifier, "%02d", "%2d", "%d", "%02d"), hour);
229 numberFormatter.format(getFormat(modifier, "%03d", "%3d", "%d", "%03d"),
233 numberFormatter.format(getFormat(modifier, "%2d", "%2d", "%d", "%02d"),
238 numberFormatter.format(getFormat(modifier, "%2d", "%2d", "%d", "%02d"), n2);
241 numberFormatter.format(getForma
[all...]

Completed in 4974 milliseconds

1234567891011>>