Searched refs:format (Results 26 - 50 of 1129) sorted by relevance

1234567891011>>

/frameworks/opt/bluetooth/src/android/bluetooth/client/pbap/
H A DBluetoothPbapRequestPullVcardEntry.java40 public BluetoothPbapRequestPullVcardEntry(String handle, long filter, byte format) { argument
45 /* make sure format is one of allowed values */
46 if (format != BluetoothPbapClient.VCARD_TYPE_21
47 && format != BluetoothPbapClient.VCARD_TYPE_30) {
48 format = BluetoothPbapClient.VCARD_TYPE_21;
57 oap.add(OAP_TAGID_FORMAT, format);
60 mFormat = format;
H A DBluetoothPbapRequestPullPhoneBook.java42 public BluetoothPbapRequestPullPhoneBook(String pbName, long filter, byte format, argument
59 /* make sure format is one of allowed values */
60 if (format != BluetoothPbapClient.VCARD_TYPE_21
61 && format != BluetoothPbapClient.VCARD_TYPE_30) {
62 format = BluetoothPbapClient.VCARD_TYPE_21;
69 oap.add(OAP_TAGID_FORMAT, format);
87 mFormat = format;
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DCachedFrameManager.java44 public Frame newFrame(FrameFormat format) { argument
45 Frame result = findAvailableFrame(format, Frame.NO_BINDING, 0);
47 result = super.newFrame(format);
54 public Frame newBoundFrame(FrameFormat format, int bindingType, long bindingId) { argument
55 Frame result = findAvailableFrame(format, bindingType, bindingId);
57 result = super.newBoundFrame(format, bindingType, bindingId);
130 private Frame findAvailableFrame(FrameFormat format, int bindingType, long bindingId) { argument
131 // Look for a frame that is compatible with the requested format
135 // Check that format is compatible
136 if (frame.getFormat().isReplaceableBy(format)) {
[all...]
/frameworks/base/core/java/android/hardware/camera2/params/
H A DStreamConfigurationMap.java50 * for that format) that are supported by a camera device.</p>
52 * <p>This also contains the minimum frame durations and stall durations for each format/size
136 // For each format, track how many sizes there are available to configure
161 // For each depth format, track how many sizes there are available to configure
198 * Get the image {@code format} output formats in this stream configuration.
206 * @return an array of integer format
216 * Get the image {@code format} output formats for a reprocessing input format.
218 * <p>When submitting a {@link CaptureRequest} with an input Surface of a given format,
219 * the only allowed target outputs of the {@link CaptureRequest} are the ones with a format
266 getInputSizes(final int format) argument
294 isOutputSupportedFor(int format) argument
493 getOutputSizes(int format) argument
676 getHighResolutionOutputSizes(int format) argument
720 getOutputMinFrameDuration(int format, Size size) argument
866 getOutputStallDuration(int format, Size size) argument
954 checkArgumentFormatSupported(int format, boolean output) argument
997 checkArgumentFormatInternal(int format) argument
1032 checkArgumentFormat(int format) argument
1071 imageFormatToPublic(int format) argument
1114 depthFormatToPublic(int format) argument
1180 imageFormatToInternal(int format) argument
1222 imageFormatToDataspace(int format) argument
1256 getPublicFormatSizes(int format, boolean output, boolean highRes) argument
1269 getInternalFormatSizes(int format, int dataspace, boolean output, boolean highRes) argument
1352 getInternalFormatDuration(int format, int dataspace, Size size, int duration) argument
1419 isSupportedInternalConfiguration(int format, int dataspace, Size size) argument
1578 formatToString(int format) argument
[all...]
H A DInputConfiguration.java35 * Create an input configration with the width, height, and user-defined format.
37 * <p>Images of an user-defined format are accessible by applications. Use
43 * @param format Format of the input buffers. One of ImageFormat or PixelFormat constants.
49 public InputConfiguration(int width, int height, int format) { argument
52 mFormat = format;
74 * Get the format of this input configration.
76 * @return format of this input configuration.
119 * <p> {@code "InputConfiguration(w:%d, h:%d, format:%d)"}, where {@code %d} represents
120 * the width, height, and format, respectively.</p>
126 return String.format("InputConfiguratio
[all...]
/frameworks/av/media/libstagefright/omx/
H A DSoftVideoDecoderOMXComponent.cpp96 def.format.video.cMIMEType = const_cast<char *>(mimeType);
97 def.format.video.pNativeRender = NULL;
99 def.format.video.nBitrate = 0;
100 def.format.video.xFramerate = 0;
101 def.format.video.bFlagErrorConcealment = OMX_FALSE;
102 def.format.video.eCompressionFormat = mCodingType;
103 def.format.video.eColorFormat = OMX_COLOR_FormatUnused;
104 def.format.video.pNativeWindow = NULL;
118 def.format.video.cMIMEType = const_cast<char *>("video/raw");
119 def.format
[all...]
/frameworks/base/location/java/android/location/
H A DGpsNavigationMessage.java197 * The bytes (or words) specified using big endian format (MSB first).
295 final String format = " %-15s = %s\n";
298 builder.append(String.format(format, "Type", getTypeString()));
299 builder.append(String.format(format, "Prn", mPrn));
300 builder.append(String.format(format, "Status", getStatusString()));
301 builder.append(String.format(format, "MessageI
[all...]
/frameworks/base/graphics/java/android/graphics/
H A DYuvImage.java39 * The YUV format as defined in {@link ImageFormat}.
70 * @param format The YUV data format as defined in {@link ImageFormat}.
75 * padding and derives the row bytes by format and width itself.
76 * @throws IllegalArgumentException if format is not support; width or height <= 0; or yuv is
79 public YuvImage(byte[] yuv, int format, int width, int height, int[] strides) { argument
80 if (format != ImageFormat.NV21 &&
81 format != ImageFormat.YUY2) {
97 mStrides = calculateStrides(width, format);
103 mFormat = format;
199 calculateStrides(int width, int format) argument
237 nativeCompressToJpeg(byte[] oriYuv, int format, int width, int height, int[] offsets, int[] strides, int quality, OutputStream stream, byte[] tempStorage) argument
[all...]
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
H A DImageStitcher.java27 import android.filterfw.format.ImageFormat;
71 private FrameFormat calcOutputFormatForInput(FrameFormat format) { argument
72 MutableFrameFormat outputFormat = format.mutableCopy();
74 mInputWidth = format.getWidth();
75 mInputHeight = format.getHeight();
91 FrameFormat format = input.getFormat();
95 mOutputFrame = context.getFrameManager().newFrame(calcOutputFormatForInput(format));
97 if ((format.getWidth() != mInputWidth) ||
98 (format.getHeight() != mInputHeight)) {
99 // CHECK input format her
[all...]
H A DToRGBAFilter.java27 import android.filterfw.format.ImageFormat;
56 public FrameFormat getConvertedFormat(FrameFormat format) { argument
57 MutableFrameFormat result = format.mutableCopy();
63 public void createProgram(FilterContext context, FrameFormat format) { argument
64 mInputBPP = format.getBytesPerSample();
66 mLastFormat = format;
H A DToRGBFilter.java27 import android.filterfw.format.ImageFormat;
56 public FrameFormat getConvertedFormat(FrameFormat format) { argument
57 MutableFrameFormat result = format.mutableCopy();
63 public void createProgram(FilterContext context, FrameFormat format) { argument
64 mInputBPP = format.getBytesPerSample();
66 mLastFormat = format;
/frameworks/av/media/ndk/
H A DNdkMediaFormat.cpp149 bool AMediaFormat_getInt32(AMediaFormat* format, const char *name, int32_t *out) { argument
150 return format->mFormat->findInt32(name, out);
154 bool AMediaFormat_getInt64(AMediaFormat* format, const char *name, int64_t *out) { argument
155 return format->mFormat->findInt64(name, out);
159 bool AMediaFormat_getFloat(AMediaFormat* format, const char *name, float *out) { argument
160 return format->mFormat->findFloat(name, out);
164 bool AMediaFormat_getSize(AMediaFormat* format, const char *name, size_t *out) { argument
165 return format->mFormat->findSize(name, out);
169 bool AMediaFormat_getBuffer(AMediaFormat* format, const char *name, void** data, size_t *outsize) { argument
171 if (format
200 AMediaFormat_setInt32(AMediaFormat* format, const char *name, int32_t value) argument
205 AMediaFormat_setInt64(AMediaFormat* format, const char *name, int64_t value) argument
210 AMediaFormat_setFloat(AMediaFormat* format, const char* name, float value) argument
215 AMediaFormat_setString(AMediaFormat* format, const char* name, const char* value) argument
221 AMediaFormat_setBuffer(AMediaFormat* format, const char* name, void* data, size_t size) argument
[all...]
/frameworks/wilhelm/tests/sandbox/
H A Dconfigbq.c95 PCM *format; local
98 for (format = formats; format->numChannels; ++format) {
100 printf("Channels: %d, sample rate: %u, bits: %u\n", format->numChannels,
101 format->milliHz / 1000, format->bitsPerSample);
109 format_pcm.numChannels = format->numChannels;
110 format_pcm.samplesPerSec = format->milliHz;
111 format_pcm.bitsPerSample = format
[all...]
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/
H A DBluetoothTestRunner.java198 Log.i(TAG, String.format("enable_iterations=%d", sEnableIterations));
199 Log.i(TAG, String.format("discoverable_iterations=%d", sDiscoverableIterations));
200 Log.i(TAG, String.format("scan_iterations=%d", sScanIterations));
201 Log.i(TAG, String.format("pair_iterations=%d", sPairIterations));
202 Log.i(TAG, String.format("connect_a2dp_iterations=%d", sConnectA2dpIterations));
203 Log.i(TAG, String.format("connect_headset_iterations=%d", sConnectHeadsetIterations));
204 Log.i(TAG, String.format("connect_input_iterations=%d", sConnectInputIterations));
205 Log.i(TAG, String.format("connect_pan_iterations=%d", sConnectPanIterations));
206 Log.i(TAG, String.format("start_stop_sco_iterations=%d", sStartStopScoIterations));
207 Log.i(TAG, String.format("device_addres
[all...]
/frameworks/base/media/java/android/media/
H A DAudioPortConfig.java48 AudioPortConfig(AudioPort port, int samplingRate, int channelMask, int format, argument
53 mFormat = format;
80 * Audio format configuration (e.g AudioFormat.ENCODING_PCM_16BIT).
82 public int format() { method in class:AudioPortConfig
/frameworks/native/opengl/tests/include/
H A DEGLUtils.h42 int32_t format,
79 int32_t format,
105 if (nativeVisualId>0 && format == nativeVisualId) {
128 int format; local
133 if ((err = window->query(window, NATIVE_WINDOW_FORMAT, &format)) < 0) {
137 return selectConfigForPixelFormat(dpy, attrs, format, outConfig);
76 selectConfigForPixelFormat( EGLDisplay dpy, EGLint const* attrs, int32_t format, EGLConfig* outConfig) argument
/frameworks/av/include/ndk/
H A DNdkMediaMuxer.h52 AMediaMuxer* AMediaMuxer_new(int fd, OutputFormat format);
62 * in udta box if the output format is AMEDIAMUXER_OUTPUT_FORMAT_MPEG_4, and is
77 * video if the output format is AMEDIAMUXER_OUTPUT_FORMAT_MPEG_4, so that a
87 * Adds a track with the specified format.
91 ssize_t AMediaMuxer_addTrack(AMediaMuxer*, const AMediaFormat* format);
/frameworks/base/native/android/
H A Dnative_activity.cpp28 void ANativeActivity_setWindowFormat(ANativeActivity* activity, int32_t format) { argument
29 android_NativeActivity_setWindowFormat(activity, format);
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/converter/
H A DAndroid.mk24 frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/common
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/decoder/
H A DAndroid.mk24 frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/common
/frameworks/av/include/media/stagefright/
H A DSurfaceUtils.h29 int width, int height, int format, int rotation, int usage);
/frameworks/base/core/java/com/android/internal/view/
H A DRootViewSurfaceTaker.java25 void setSurfaceFormat(int format); argument
/frameworks/base/core/tests/coretests/src/android/os/
H A DMessageQueueTest.java177 failure(new RuntimeException(String.format(
181 failure(new RuntimeException(String.format(
185 failure(new RuntimeException(String.format(
189 failure(new RuntimeException(String.format(
205 failure(new RuntimeException(String.format(
211 failure(new RuntimeException(String.format(
226 failure(new RuntimeException(String.format(
231 failure(new RuntimeException(String.format(
236 failure(new RuntimeException(String.format(
241 failure(new RuntimeException(String.format(
[all...]
/frameworks/base/services/core/java/com/android/server/twilight/
H A DTwilightState.java106 + ", mYesterdaySunset=" + f.format(new Date(mYesterdaySunset))
107 + ", mTodaySunrise=" + f.format(new Date(mTodaySunrise))
108 + ", mTodaySunset=" + f.format(new Date(mTodaySunset))
109 + ", mTomorrowSunrise=" + f.format(new Date(mTomorrowSunrise))
/frameworks/base/tools/layoutlib/bridge/src/android/text/format/
H A DDateFormat_Delegate.java17 package android.text.format;

Completed in 1566 milliseconds

1234567891011>>