Searched refs:format (Results 151 - 175 of 1642) sorted by relevance

1234567891011>>

/frameworks/base/location/java/android/location/
H A DGpsClock.java442 final String format = " %-15s = %s\n";
446 builder.append(String.format(format, "Type", getTypeString()));
448 builder.append(String.format(format, "LeapSecond", hasLeapSecond() ? mLeapSecond : null));
450 builder.append(String.format(
457 builder.append(String.format(
458 format,
462 builder.append(String.format(
469 builder.append(String.format(
[all...]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/
H A DCpuVideoTrackDecoder.java58 protected CpuVideoTrackDecoder(int trackIndex, MediaFormat format, Listener listener) { argument
59 super(trackIndex, format, listener);
61 mWidth = format.getInteger(MediaFormat.KEY_WIDTH);
62 mHeight = format.getInteger(MediaFormat.KEY_HEIGHT);
66 protected MediaCodec initMediaCodec(MediaFormat format) { argument
68 MediaCodec mediaCodec = findDecoderCodec(format, new int[] {
73 "Could not find a suitable decoder for format: " + format + "!");
75 mediaCodec.configure(format, null, null, 0);
174 * <li>The codec can decode a video of the specified format
184 findDecoderCodec(MediaFormat format, int[] requiredColorFormats) argument
[all...]
/frameworks/native/libs/gui/
H A DCpuConsumer.cpp63 static bool isPossiblyYUV(PixelFormat format) { argument
64 switch (static_cast<int>(format)) {
120 PixelFormat format = mSlots[slot].mGraphicBuffer->getPixelFormat(); local
121 PixelFormat flexFormat = format;
122 if (isPossiblyYUV(format)) {
138 if (format != HAL_PIXEL_FORMAT_YCbCr_420_888) {
139 CC_LOGV("locking buffer of format %#x as flex YUV", format);
141 } else if (format == HAL_PIXEL_FORMAT_YCbCr_420_888) {
186 nativeBuffer->format
[all...]
/frameworks/opt/bitmap/src/com/android/bitmap/util/
H A DInputStreamBuffer.java102 String.format("Buffer size %d must be positive.", bufferSize));
138 String.format("Index %d beyond length.", index));
164 String.format("Index %d is before buffer %d", index, mOffset));
236 Log.d(TAG, String.format("advanceTo %d buffer: %s", i, this));
266 String.format("Index %d is before buffer %d", index, mOffset));
284 Log.w(TAG, String.format(
307 Log.d(TAG, String.format("fill %d buffer: %s", i, this));
323 String.format("Index %d out of bounds. Length %d", i, mBuffer.length));
335 return String.format("+%d+%d [%d]", mOffset, mBuffer.length, mFilled);
349 sb.append(String.format("
[all...]
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/
H A DInputStreamBuffer.java102 String.format("Buffer size %d must be positive.", bufferSize));
138 String.format("Index %d beyond length.", index));
164 String.format("Index %d is before buffer %d", index, mOffset));
236 Log.d(TAG, String.format("advanceTo %d buffer: %s", i, this));
266 String.format("Index %d is before buffer %d", index, mOffset));
284 Log.w(TAG, String.format(
307 Log.d(TAG, String.format("fill %d buffer: %s", i, this));
323 String.format("Index %d out of bounds. Length %d", i, mBuffer.length));
335 return String.format("+%d+%d [%d]", mOffset, mBuffer.length, mFilled);
349 sb.append(String.format("
[all...]
/frameworks/rs/tests/lldb/tests/harness/
H A Dtest_base.py153 .format(lang))
170 log.info('[Command] {0}'.format(cmd))
183 .format(cmd, error if error else '<N/a>'))
186 log.debug('[Output] {0}'.format(output.rstrip()))
229 log.error('[Output] {0}'.format(output.rstrip() if output
237 backtrace.append(' [{0} line: {2} fn: {1}] {3}'.format(
242 log.error('[TEST ERROR] {0}'.format(exception.message))
263 .format(string))
285 'the output'.format(regex))
287 msg = 'Found match to regex {0}: {1}'.format(rege
[all...]
/frameworks/support/compat/java/android/support/v4/util/
H A DPreconditions.java284 String.format(
288 String.format(
311 String.format(
315 String.format(
338 String.format(
342 String.format(
367 String.format("%s[%d] must not be null", valueName, i));
395 String.format("%s[%d] must not be null", valueName, ctr));
452 String.format("%s[%d] is out of range of [%f, %f] (too low)",
456 String.format("
[all...]
/frameworks/av/services/camera/libcameraservice/api2/
H A DCameraDeviceClient.cpp35 String8::format("%s:%d: %s", __FUNCTION__, __LINE__, errorString))
39 String8::format("%s:%d: " errorString, __FUNCTION__, __LINE__, \
101 threadName = String8::format("CDU-%s-FrameProc", mCameraIdStr.string());
245 String8 msg = String8::format(
259 String8 msg = String8::format(
293 String8 msg = String8::format("Camera %s: Canceling request ID %d doesn't match "
335 String8 msg = String8::format(
356 String8 msg = String8::format(
367 String8 msg = String8::format("Camera %s: Unsupported set of inputs/outputs provided",
372 String8 msg = String8::format("Camer
570 int width, height, format, surfaceType; local
650 createInputStream( int width, int height, int format, int32_t* newStreamId) argument
722 isPublicFormat(int32_t format) argument
793 int width, height, format; local
886 roundBufferDimensionNearest(int32_t width, int32_t height, int32_t format, android_dataspace dataSpace, const CameraMetadata& info, int32_t* outWidth, int32_t* outHeight) argument
[all...]
/frameworks/av/services/camera/libcameraservice/device3/
H A DCamera3IOStreamBase.cpp33 uint32_t width, uint32_t height, size_t maxSize, int format,
36 width, height, maxSize, format, dataSpace, rotation, setId),
46 (format != HAL_PIXEL_FORMAT_BLOB && format != HAL_PIXEL_FORMAT_RAW_OPAQUE)) {
47 ALOGE("%s: Bad format for size-only stream: %d", __FUNCTION__,
48 format);
77 lines.appendFormat(" Dims: %d x %d, format 0x%x, dataspace 0x%x\n",
79 camera3_stream::format, camera3_stream::data_space);
32 Camera3IOStreamBase(int id, camera3_stream_type_t type, uint32_t width, uint32_t height, size_t maxSize, int format, android_dataspace dataSpace, camera3_stream_rotation_t rotation, int setId) argument
H A DCamera3OutputStream.h45 uint32_t format; member in struct:android::camera3::StreamInfo
63 format(fmt),
83 uint32_t width, uint32_t height, int format,
94 uint32_t width, uint32_t height, size_t maxSize, int format,
103 Camera3OutputStream(int id, uint32_t width, uint32_t height, int format,
177 uint32_t width, uint32_t height, int format,
/frameworks/base/libs/hwui/
H A DTexture.h84 * Sets the width, height, and format of the texture along with allocating
85 * the texture ID. Does nothing if the width, height, and format are already
90 void resize(uint32_t width, uint32_t height, GLint internalFormat, GLint format) { argument
91 upload(internalFormat, width, height, format, GL_UNSIGNED_BYTE, nullptr);
96 * also setting the appropriate width, height, and format. It is not necessary
107 GLenum format, GLenum type, const void* pixels);
113 GLint format, GLenum target);
127 GLint format() const { function in class:android::uirenderer::Texture
155 * Returns true if this texture uses a linear encoding format.
198 // Returns true if the texture layout (size, format, et
[all...]
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DFrame.java45 Frame(FrameFormat format, FrameManager frameManager) { argument
46 mFormat = format.mutableCopy();
50 Frame(FrameFormat format, FrameManager frameManager, int bindingType, long bindingId) { argument
51 mFormat = format.mutableCopy();
171 protected void setFormat(FrameFormat format) { argument
172 mFormat = format.mutableCopy();
H A DFilterSurfaceView.java116 int format,
120 mFormat = format;
127 mListener.surfaceChanged(holder, format, width, height);
115 surfaceChanged(SurfaceHolder holder, int format, int width, int height) argument
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
H A DAssertHelpers.java74 String msg = String.format(
93 String.format("%s: (%s should be greater than than %s; item index %d in %s)",
109 String.format("%s: (%s should be less than than %s; item index %d in %s)",
120 String.format("Value %s must be greater or equal to %s, but was lower", value, low),
123 String.format("Value %s must be less than or equal to %s, but was higher",
198 fail(String.format("%s : No elements from %s in %s", message,
/frameworks/native/services/vr/bufferhubd/
H A Dbuffer_hub.h54 uint32_t format = 0; member in struct:android::dvr::BufferHubChannel::BufferInfo
63 uint32_t layer_count, uint32_t format, uint64_t usage, const std::string& name)
70 format(format),
159 uint32_t height, uint32_t format,
165 uint32_t format, uint64_t usage,
62 BufferInfo(int id, size_t consumer_count, uint32_t width, uint32_t height, uint32_t layer_count, uint32_t format, uint64_t usage, const std::string& name) argument
/frameworks/av/include/ndk/
H A DNdkImageReader.h58 * Create a new reader for images of the desired size and format.
71 * @param format The format of the Image that this reader will produce. This must be one of the
84 * height, format, maxImages arguments is not supported.</li>
90 int32_t width, int32_t height, int32_t format, int32_t maxImages,
152 * Query the format of the {@link AImage} generated by this reader.
155 * @param format the fromat of the reader will be filled here if the method call succeeeds. The
160 * <li>{@link AMEDIA_ERROR_INVALID_PARAMETER} if reader or format is NULL.</li></ul>
162 media_status_t AImageReader_getFormat(const AImageReader* reader, /*out*/int32_t* format);
315 * Note that not all format an
[all...]
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
H A DAudioSession.h36 audio_format_t format,
49 audio_format_t format() const { return mConfig.format; } function in class:android::AudioSession
/frameworks/base/cmds/svc/src/com/android/commands/svc/
H A DSvc.java85 String format = " %-" + maxlen + "s %s";
88 System.err.println(String.format(format, c.name(), c.shortHelp()));
/frameworks/opt/bitmap/src/com/android/bitmap/
H A DUnrefedBitmapCache.java61 Log.d(TAG, String.format("AltBitmapCache: block %b", blocking));
88 Log.d(TAG, String.format(
96 Log.d(TAG, String.format("AltBitmapCache: %s notified",
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
H A DSmsSessionEventBuilder.java87 public SmsSessionEventBuilder setFormat(int format) { argument
88 mEvent.format = format;
/frameworks/opt/vcard/java/com/android/vcard/
H A DVCardEntryCommitter.java64 Log.d(LOG_TAG, String.format("time to commit entries: %d ms", mTimeToCommit));
92 Log.e(LOG_TAG, String.format("%s: %s", e.toString(), e.getMessage()));
95 Log.e(LOG_TAG, String.format("%s: %s", e.toString(), e.getMessage()));
/frameworks/rs/tests/java_api/HealingBrush/src/rs/example/android/com/healingbrush/
H A DMediaStoreSaver.java51 Bitmap.CompressFormat format = Bitmap.CompressFormat.PNG;
54 format = Bitmap.CompressFormat.JPEG;
59 bitmap.compress(format, 100, fOut);
/frameworks/rs/tests/java_api/SSHealingBrush/src/rs/example/android/com/healingbrush/
H A DMediaStoreSaver.java51 Bitmap.CompressFormat format = Bitmap.CompressFormat.PNG;
54 format = Bitmap.CompressFormat.JPEG;
59 bitmap.compress(format, 100, fOut);
/frameworks/av/include/media/nbaio/
H A DAudioBufferProviderSource.h30 AudioBufferProviderSource(AudioBufferProvider *provider, const NBAIO_Format& format);
37 //virtual NBAIO_Format format();
H A DPipe.h35 // which must be of size roundup(maxFrames) * Format_frameSize(format) bytes.
36 Pipe(size_t maxFrames, const NBAIO_Format& format, void *buffer = NULL);
45 //virtual NBAIO_Format format() const;

Completed in 3070 milliseconds

1234567891011>>