Searched refs:format (Results 176 - 200 of 1061) sorted by relevance

1234567891011>>

/frameworks/av/media/libstagefright/omx/
H A DSoftVideoEncoderOMXComponent.cpp194 int format; local
205 format = buffer->format;
209 if (format != HAL_PIXEL_FORMAT_YV12 &&
210 format != HAL_PIXEL_FORMAT_YCbCr_420_888) {
225 format = HAL_PIXEL_FORMAT_RGBA_8888;
241 if (format == HAL_PIXEL_FORMAT_YCbCr_420_888) {
257 switch (format) {
286 format == HAL_PIXEL_FORMAT_BGRA_8888);
289 ALOGE("Unsupported pixel format
[all...]
/frameworks/av/services/camera/libcameraservice/device3/
H A DCamera3OutputStream.cpp36 uint32_t width, uint32_t height, int format) :
38 /*maxSize*/0, format),
51 uint32_t width, uint32_t height, size_t maxSize, int format) :
53 format),
58 if (format != HAL_PIXEL_FORMAT_BLOB) {
59 ALOGE("%s: Bad format for size-only stream: %d", __FUNCTION__,
60 format);
72 int format) :
75 format),
319 camera3_stream::format);
34 Camera3OutputStream(int id, sp<ANativeWindow> consumer, uint32_t width, uint32_t height, int format) argument
49 Camera3OutputStream(int id, sp<ANativeWindow> consumer, uint32_t width, uint32_t height, size_t maxSize, int format) argument
70 Camera3OutputStream(int id, camera3_stream_type_t type, uint32_t width, uint32_t height, int format) argument
[all...]
H A DCamera3InputStream.cpp30 uint32_t width, uint32_t height, int format) :
32 /*maxSize*/0, format) {
34 if (format == HAL_PIXEL_FORMAT_BLOB) {
35 ALOGE("%s: Bad format, BLOB not supported", __FUNCTION__);
200 assert(camera3_stream::format != HAL_PIXEL_FORMAT_BLOB);
233 mConsumer->setName(String8::format("Camera3-InputStream-%d", mId));
243 res = mConsumer->setDefaultBufferFormat(camera3_stream::format);
245 ALOGE("%s: Stream %d: Could not set buffer format %d",
246 __FUNCTION__, mId, camera3_stream::format);
29 Camera3InputStream(int id, uint32_t width, uint32_t height, int format) argument
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DFrameFormat.java180 FrameFormat format = (FrameFormat)object;
181 return format.mBaseType == mBaseType &&
182 format.mTarget == mTarget &&
183 format.mBytesPerSample == mBytesPerSample &&
184 Arrays.equals(format.mDimensions, mDimensions) &&
185 format.mMetaData.equals(mMetaData);
434 boolean isReplaceableBy(FrameFormat format) { argument
435 return mTarget == format.mTarget
436 && getSize() == format.getSize()
437 && Arrays.equals(format
[all...]
H A DGLFrame.java70 GLFrame(FrameFormat format, FrameManager frameManager) { argument
71 super(format, frameManager);
74 GLFrame(FrameFormat format, FrameManager frameManager, int bindingType, long bindingId) { argument
75 super(format, frameManager, bindingType, bindingId);
79 FrameFormat format = getFormat();
82 // Check that we have a valid format
83 if (format.getBytesPerSample() != 4) {
85 } else if (format.getDimensionCount() != 2) {
/frameworks/base/core/java/android/text/format/
H A DTime.java17 package android.text.format;
338 * Print the current value given the format string provided. See man
341 * @param format a string containing the desired format.
344 public String format(String format) { argument
346 return calculator.format(format);
350 * Return the current time in YYYYMMDDTHHMMSS<tz> format
362 * Parses a date-time string in either the RFC 2445 format o
1064 format(String format) argument
[all...]
/frameworks/av/camera/
H A DCameraParameters.cpp30 const char CameraParameters::KEY_PREVIEW_FORMAT[] = "preview-format";
31 const char CameraParameters::KEY_SUPPORTED_PREVIEW_FORMATS[] = "preview-format-values";
38 const char CameraParameters::KEY_PICTURE_FORMAT[] = "picture-format";
39 const char CameraParameters::KEY_SUPPORTED_PICTURE_FORMATS[] = "picture-format-values";
84 const char CameraParameters::KEY_VIDEO_FRAME_FORMAT[] = "video-frame-format";
416 void CameraParameters::setPreviewFormat(const char *format) argument
418 set(KEY_PREVIEW_FORMAT, format);
448 void CameraParameters::setPictureFormat(const char *format) argument
450 set(KEY_PICTURE_FORMAT, format);
507 int CameraParameters::previewFormatToEnum(const char* format) { argument
[all...]
/frameworks/testing/uiautomator_test_libraries/src/com/android/uiautomator/platform/
H A DJankTestBase.java104 log(String.format("create directory %s failed, you can manually create "
123 String command = String.format(ATRACE_COMMAND, mTime);
154 Log.e(TAG, String.format("Run shell command: %s, status: %s",
207 String outputFile = String.format("%s_%d_trace", mTestCaseName, iteration);
227 * Expects a file from the command line via conf param or default following format each on its
253 * Expects a file from the command line via conf param or default following format each on its
299 log(String.format("create directory %s failed, you can manually create " +
306 String rawFileName = String.format("%s/%s_%d.txt", RAW_DATA_DIR, testCaseName, iteration);
340 String msg = String.format("%s, iteration %d\n" +
360 mStatusWriter.write(String.format("
[all...]
/frameworks/av/media/libmediaplayerservice/
H A DStagefrightRecorder.cpp149 ALOGE("Invalid output format: %d", of);
788 ALOGE("Unsupported output file format: %d", mOutputFormat);
853 ALOGE("Unsupported output file format: %d", mOutputFormat);
895 sp<AMessage> format = new AMessage; local
900 format->setString("mime", MEDIA_MIMETYPE_AUDIO_AMR_NB);
903 format->setString("mime", MEDIA_MIMETYPE_AUDIO_AMR_WB);
906 format->setString("mime", MEDIA_MIMETYPE_AUDIO_AAC);
907 format->setInt32("aac-profile", OMX_AUDIO_AACObjectLC);
910 format->setString("mime", MEDIA_MIMETYPE_AUDIO_AAC);
911 format
1452 sp<AMessage> format = new AMessage(); local
[all...]
/frameworks/base/media/java/android/mtp/
H A DMtpDatabase.java73 // cached property groups for all properties for a given format
320 private int beginSendObject(String path, int format, int parent, argument
352 values.put(Files.FileColumns.FORMAT, format);
371 private void endSendObject(String path, int handle, int format, boolean succeeded) { argument
375 if (format == MtpConstants.FORMAT_ABSTRACT_AV_PLAYLIST) {
390 values.put(Files.FileColumns.FORMAT, format);
400 mMediaScanner.scanMtpFile(path, mVolumeName, handle, format);
407 private Cursor createObjectQuery(int storageID, int format, int parent) throws RemoteException { argument
413 if (format == 0) {
428 // query specific format
507 getObjectList(int storageID, int format, int parent) argument
533 getNumObjects(int storageID, int format, int parent) argument
709 getSupportedObjectProperties(int format) argument
743 getObjectPropertyList(long handle, int format, long property, int groupCode, int depth) argument
[all...]
/frameworks/native/opengl/libagl/
H A Dtexture.cpp198 static int32_t convertGLPixelFormat(GLint format, GLenum type) argument
202 switch (format) {
222 static GLenum validFormatType(ogles_context_t* c, GLenum format, GLenum type) argument
225 if (format<GL_ALPHA || format>GL_LUMINANCE_ALPHA) {
232 if (type == GL_UNSIGNED_SHORT_5_6_5 && format != GL_RGB) {
236 type == GL_UNSIGNED_SHORT_5_5_5_1) && format != GL_RGBA) {
276 if ((dst.format == src.format) &&
285 const GGLFormat& pixelFormat(c->rasterizer.formats[src.format]);
361 createTextureSurface(ogles_context_t* c, GGLSurface** outSurface, int32_t* outSize, GLint level, GLenum format, GLenum type, GLsizei width, GLsizei height, GLenum compressedFormat = 0) argument
408 dataSizePalette4(int numLevels, int width, int height, int format) argument
451 decodePalette4(const GLvoid *data, int level, int width, int height, void *surface, int stride, int format) argument
1073 GLenum format; local
[all...]
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerDecoderPassThrough.cpp56 void NuPlayer::DecoderPassThrough::configure(const sp<AMessage> &format) { argument
58 msg->setMessage("format", format);
83 void NuPlayer::DecoderPassThrough::onConfigure(const sp<AMessage> &format) { argument
95 notify->setMessage("format", format);
209 sp<AMessage> format; local
210 CHECK(msg->findMessage("format", &format));
211 onConfigure(format);
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
H A DValueParser.java232 int format = rawValue[valueIndex + 2] & 0xff;
235 int alignValue = format & 0x03;
238 int sizeValue = (format >> 2) & 0x03;
245 boolean bold = (format & 0x10) != 0;
246 boolean italic = (format & 0x20) != 0;
247 boolean underlined = (format & 0x40) != 0;
248 boolean strikeThrough = (format & 0x80) != 0;
/frameworks/testing/espresso/espresso-lib/src/main/java/com/google/android/apps/common/testing/ui/espresso/action/
H A DMotionEvents.java114 .withActionDescription(String.format("click (after %s attempts)", MAX_CLICK_ATTEMPTS))
140 Log.e(TAG, String.format(
147 String.format("inject up event (corresponding down event: %s)", downEvent.toString()))
177 .withActionDescription(String.format(
184 .withActionDescription(String.format(
214 Log.e(TAG, String.format(
221 .withActionDescription(String.format(
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/integration/
H A DCameraBinderTest.java176 assertNotNull(String.format("Camera %s was null", cameraId), cameraUser);
178 Log.v(TAG, String.format("Camera %s connected", cameraId));
200 assertNotNull(String.format("Camera %s was null", cameraId), cameraUser);
202 Log.v(TAG, String.format("Camera %s connected", cameraId));
225 assertNotNull(String.format("Camera %s was null", cameraId), cameraUser);
227 Log.v(TAG, String.format("Camera %s connected as HAL1 legacy device", cameraId));
305 assertNotNull(String.format("Camera %s was null", cameraId), cameraUser);
307 Log.v(TAG, String.format("Camera %s connected", cameraId));
317 Log.v(TAG, String.format("Camera %d has status changed to 0x%x", cameraId, status));
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/
H A DTimeZoneInfo.java22 import android.text.format.DateUtils;
23 import android.text.format.Time;
99 String format = "%I:%M %p";
102 format = "%b %d %H:%M";
104 format = "%b %d %I:%M %p";
107 format = "%H:%M";
110 // format = "%Y-%m-%d %H:%M";
111 localTimeStr = recycledTime.format(format);
286 // f.format("
[all...]
/frameworks/av/media/mtp/
H A DMtpServer.h82 MtpObjectFormat format, int fd)
83 : mHandle(handle), mPath(path), mSize(size), mFormat(format), mFD(fd) {
115 uint64_t size, MtpObjectFormat format, int fd);
81 ObjectEdit(MtpObjectHandle handle, const char* path, uint64_t size, MtpObjectFormat format, int fd) argument
/frameworks/base/core/java/android/webkit/
H A DDateSorter.java77 String format = resources.getQuantityString(resId, NUM_DAYS_AGO);
78 mLabels[2] = String.format(format, NUM_DAYS_AGO);
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
H A DBitmapOverlayFilter.java26 import android.filterfw.format.ImageFormat;
127 FrameFormat format = ImageFormat.create(mBitmap.getWidth(),
132 Frame frame = context.getFrameManager().newFrame(format);
/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
284 native_texSubImage2D(int target, int level, int xoffset, int yoffset, Bitmap bitmap, int format, int type) argument
[all...]
/frameworks/base/services/core/java/com/android/server/hdmi/
H A DHdmiCecMessage.java91 s.append(String.format("<%s> src: %d, dst: %d",
96 s.append(String.format(" %02X", data));
247 return String.format("Opcode: %02X", opcode);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DImsSMSDispatcher.java126 private void setImsSmsFormat(int format) { argument
127 // valid format?
128 switch (format) {
155 Rlog.e(TAG, "IMS format was unknown!");
156 // failed to retrieve valid IMS SMS format info, set IMS to unregistered
267 protected void injectSmsPdu(byte[] pdu, String format, PendingIntent receivedIntent) { argument
273 android.telephony.SmsMessage.createFromPdu(pdu, format);
284 if (format.equals(SmsConstants.FORMAT_3GPP)) {
286 ", format=" + format
406 sendNewSubmitPdu(String destinationAddress, String scAddress, String message, SmsHeader smsHeader, int format, PendingIntent sentIntent, PendingIntent deliveryIntent, boolean lastPart, AtomicInteger unsentPartCount, AtomicBoolean anyPartFailed, Uri messageUri) argument
445 isCdmaFormat(String format) argument
[all...]
/frameworks/testing/support/src/android/support/test/internal/runner/listener/
H A DSuiteAssignmentPrinter.java65 Log.d("SuiteAssignmentPrinter", String.format(
81 sendString(String.format("\n%s#%s: current size: %s. suggested: %s runTime: %d ms\n",
86 Log.d("SuiteAssignmentPrinter", String.format(
/frameworks/av/include/camera/
H A DProCamera.h181 status_t createStream(int width, int height, int format,
191 status_t createStream(int width, int height, int format,
195 status_t createStreamCpu(int width, int height, int format,
200 status_t createStreamCpu(int width, int height, int format,
/frameworks/av/services/audioflinger/
H A DFastCapture.h69 NBAIO_Format format; member in class:android::FastCapture

Completed in 737 milliseconds

1234567891011>>