/frameworks/native/include/android/ |
H A D | native_window.h | 49 // 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 D | GraphicBufferAlloc.cpp | 35 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 D | IGraphicBufferAlloc.cpp | 46 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 D | GraphicBufferAllocator.cpp | 69 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 D | AppNotIdleException.java | 52 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 D | EventsCommand.java | 60 System.out.println(String.format("%s %s", 61 formatter.format(new Date()), event.toString()));
|
/frameworks/av/include/media/nbaio/ |
H A D | Pipe.h | 34 // 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 D | NdkMediaMuxer.cpp | 56 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 D | NdefFormatable.java | 31 * 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 D | BitmapFactory.h | 22 jstring getMimeTypeString(JNIEnv* env, SkImageDecoder::Format format);
|
/frameworks/base/include/android_runtime/ |
H A D | android_app_NativeActivity.h | 32 ANativeActivity* activity, int32_t format);
|
/frameworks/rs/cpu_ref/linkloader/lib/ |
H A D | ELFTypes.cpp | 25 os << llvm::format("%0*x", FORMAT_WIDTH, val.value); \
|
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/ |
H A D | Android.mk | 58 $(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 D | MediaMuxer.h | 48 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 D | Pipe.cpp | 28 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 D | FastCapture.cpp | 36 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 D | Camera3OutputStream.h | 42 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 D | RenderBufferCache.h | 44 * @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 D | SubtitleController.java | 223 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 D | FilterEffect.java | 25 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 D | GLTextureTarget.java | 26 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 D | VideoTrackDecoder.java | 35 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 D | mipmap.cpp | 34 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 D | ARawAudioAssembler.cpp | 127 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 D | TimeFormatter.java | 21 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...] |