Searched defs:format (Results 151 - 175 of 246) sorted by last modified time

12345678910

/frameworks/av/services/audioflinger/
H A DAudioMixer.h167 uint8_t format; // always 16 member in struct:android::AudioMixer::track_t
H A DAudioPolicyService.cpp221 audio_format_t format,
230 return mpAudioPolicy->get_output(mpAudioPolicy, stream, samplingRate, format, channelMask, flags);
269 audio_format_t format,
283 format, channelMask, (audio_in_acoustics_t) 0);
219 getOutput(audio_stream_type_t stream, uint32_t samplingRate, audio_format_t format, audio_channel_mask_t channelMask, audio_output_flags_t flags) argument
267 getInput(audio_source_t inputSource, uint32_t samplingRate, audio_format_t format, audio_channel_mask_t channelMask, int audioSession) argument
H A DFastMixer.cpp63 NBAIO_Format format = Format_Invalid; local
196 NBAIO_Format previousFormat = format;
201 format = Format_Invalid;
204 format = outputSink->format();
205 sampleRate = Format_sampleRate(format);
206 ALOG_ASSERT(Format_channelCount(format) == 2);
211 if ((format != previousFormat) || (frameCount != previous->mFrameCount)) {
/frameworks/av/services/camera/libcameraservice/
H A DCamera2Client.cpp104 threadName = String8::format("C2-%d-FrameProc",
109 threadName = String8::format("C2-%d-CaptureSeq",
114 threadName = String8::format("C2-%d-JpegProc",
119 threadName = String8::format("C2-%d-ZslProc",
124 threadName = String8::format("C2-%d-CallbkProc",
165 result.appendFormat(" Preview HAL pixel format: 0x%x\n",
359 result = String8::format(" Error dumping device: %s (%d)",
1590 int format, int stride) {
1591 switch (format) {
1611 ALOGE("%s: Unknown preview format
1589 calculateBufferSize(int width, int height, int format, int stride) argument
[all...]
H A DCamera2Device.cpp238 uint32_t width, uint32_t height, int format, size_t size, int *id) {
245 res = stream->connectToDevice(consumer, width, height, format, size);
247 ALOGE("%s: Camera %d: Unable to create stream (%d x %d, format %x):"
249 __FUNCTION__, mId, width, height, format, strerror(-res), res);
297 uint32_t *width, uint32_t *height, uint32_t *format) {
317 if (format) *format = (*streamI)->getFormat();
806 result = String8::format(" Stream slot buffer %d:\n", i);
816 result = String8::format(" Main queue has %d entries:\n",
821 result = String8::format(" Queu
237 createStream(sp<ANativeWindow> consumer, uint32_t width, uint32_t height, int format, size_t size, int *id) argument
296 getStreamInfo(int id, uint32_t *width, uint32_t *height, uint32_t *format) argument
965 connectToDevice( sp<ANativeWindow> consumer, uint32_t width, uint32_t height, int format, size_t size) argument
[all...]
H A DCameraHardwareInterface.h616 int width, int height, int format)
620 width, height, format);
615 __set_buffers_geometry(struct preview_stream_ops* w, int width, int height, int format) argument
/frameworks/av/services/camera/libcameraservice/camera2/
H A DParameters.cpp74 String8::format("%dx%d",
80 supportedPreviewSizes += String8::format("%dx%d",
98 String8::format("%d,%d",
106 supportedPreviewFpsRange += String8::format("(%d,%d)",
162 ALOGW("%s: Camera %d: Unknown preview format: %x",
201 supportedPreviewFrameRates += String8::format("%d",
226 supportedPictureSizes += String8::format("%dx%d",
255 supportedJpegThumbSizes += String8::format("%dx%d",
728 zoomRatios += String8::format("%d", static_cast<int>(zoom * 100));
1069 ALOGE("%s: Preview format canno
1833 formatStringToEnum(const char *format) argument
1854 formatEnumToString(int format) argument
[all...]
/frameworks/base/core/java/android/app/
H A DActivityThread.java544 // Formatting for checkin service - update version if row format changes
1011 // otherwise, show human-readable format
1110 private void printRow(PrintWriter pw, String format, Object...objs) { argument
1111 pw.println(String.format(format, objs));
H A DNativeActivity.java100 int format, int width, int height);
289 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { argument
292 onSurfaceChangedNative(mNativeHandle, holder.getSurface(), format, width, height);
364 void setWindowFormat(int format) { argument
365 getWindow().setFormat(format);
99 onSurfaceChangedNative(int handle, Surface surface, int format, int width, int height) argument
H A DProgressDialog.java140 String format = mProgressNumberFormat;
141 mProgressNumber.setText(String.format(format, progress, max));
147 SpannableString tmp = new SpannableString(mProgressPercentFormat.format(percent));
328 * Change the format of the small text showing current and maximum units
331 * @param format A string passed to {@link String#format String.format()};
335 public void setProgressNumberFormat(String format) { argument
336 mProgressNumberFormat = format;
348 setProgressPercentFormat(NumberFormat format) argument
[all...]
/frameworks/base/core/java/android/hardware/
H A DCamera.java508 * <p>If using the {@link android.graphics.ImageFormat#YV12} format,
513 * @param data the contents of the preview frame in the format defined
518 * (NV21) format.
660 * 8, using the image format from
663 * <p>If using the {@link android.graphics.ImageFormat#YV12} format, the
700 * using the image format from {@link Camera.Parameters#getPreviewFormat()}.
1024 * The format of the data depends on the context of the callback
1666 private static final String KEY_PREVIEW_FORMAT = "preview-format";
1670 private static final String KEY_PICTURE_FORMAT = "picture-format";
2396 * Sets the image format fo
2581 pixelFormatForCameraFormat(String format) argument
[all...]
/frameworks/base/core/java/android/nfc/tech/
H A DNdefFormatable.java32 * Provide access to NDEF format operations on a {@link Tag}.
37 * class for tags for which it can format to NDEF.
94 public void format(NdefMessage firstMessage) throws IOException, FormatException { method in class:NdefFormatable
95 format(firstMessage, false);
117 format(firstMessage, true);
120 /*package*/ void format(NdefMessage firstMessage, boolean makeReadOnly) throws IOException, method in class:NdefFormatable
139 // Now check and see if the format worked
/frameworks/base/core/java/android/os/
H A DProcess.java502 * Presently the wire format to the zygote process is:
977 public static final native boolean readProcFile(String file, int[] format, argument
982 int endIndex, int[] format, String[] outStrings, long[] outLongs, float[] outFloats);
981 parseProcLine(byte[] buffer, int startIndex, int endIndex, int[] format, String[] outStrings, long[] outLongs, float[] outFloats) argument
/frameworks/base/core/java/android/service/wallpaper/
H A DWallpaperService.java479 public void onSurfaceChanged(SurfaceHolder holder, int format, int width, int height) { argument
581 + " format=" + formatChanged + " size=" + sizeChanged);
594 mLayout.format = mFormat;
/frameworks/base/core/java/android/speech/srec/
H A DWaveHeader.java24 * This class represents the header of a WAVE format audio file, which usually
27 * <li> format - usually PCM, ALAW or ULAW.
39 // follows WAVE format in http://ccrma.stanford.edu/courses/422/projects/WaveFormat
45 /** Indicates PCM format. */
47 /** Indicates ALAW format. */
49 /** Indicates ULAW format. */
66 * @param format format of audio data,
73 public WaveHeader(short format, short numChannels, int sampleRate, short bitsPerSample, int numBytes) { argument
74 mFormat = format;
96 setFormat(short format) argument
[all...]
/frameworks/base/core/java/android/text/format/
H A DDateFormat.java17 package android.text.format;
38 Most callers should avoid supplying their own format strings to this
39 class' {@code format} methods and rely on the correctly localized ones
43 of format strings, see {@link java.text.SimpleDateFormat}.
46 The format methods in this class takes as inputs a format string and a representation of a date/time.
47 The format string controls how the output is generated.
51 of that field. For instance, the format character &apos;M&apos; is used to
87 Text in the format string that should be copied verbatim rather that
133 This designator indicates the hour of the day in 12 hour format
424 public static CharSequence format(CharSequence inFormat, long inTimeInMillis) { method in class:DateFormat
435 public static CharSequence format(CharSequence inFormat, Date inDate) { method in class:DateFormat
512 public static CharSequence format(CharSequence inFormat, Calendar inDate) { method in class:DateFormat
[all...]
H A DDateUtils.java17 package android.text.format;
61 // The following FORMAT_* symbols are used for specifying the format of
99 // Date and time format strings that are constant and don't need to be
102 * This is not actually the preferred 24-hour date format in all locales.
121 // This table is used to lookup the resource string id of a format string
148 // This table is used to lookup the resource string id of a format string
457 String format = r.getQuantityString(resId, (int) count);
458 return String.format(format, count);
483 * Example output strings for the US date format
664 formatElapsedTime(StringBuilder recycle, String format, long hours, long minutes, long seconds) argument
689 formatElapsedTime(StringBuilder recycle, String format, long minutes, long seconds) argument
[all...]
H A DFormatter.java17 package android.text.format;
76 value = String.format("%.2f", result);
79 value = String.format("%.1f", result);
81 value = String.format("%.2f", result);
85 value = String.format("%.0f", result);
87 value = String.format("%.2f", result);
90 value = String.format("%.0f", result);
98 * Returns a string in the canonical IP format ###.###.###.### from a packed integer containing
99 * the IP address. The IP address is expected to be in little-endian format (LSB first). That
103 * @return string with canonical IP address format
[all...]
H A DTime.java17 package android.text.format;
314 * Print the current value given the format string provided. See man
317 * @param format a string containing the desired format.
320 public String format(String format) { argument
345 String result = format1(format);
353 native private String format1(String format); argument
372 * Return the current time in YYYYMMDDTHHMMSS<tz> format
378 * Parses a date-time string in either the RFC 2445 format o
[all...]
/frameworks/base/core/java/android/view/
H A DSurface.java141 * even if its pixel format is set to translucent. This can be useful if an
229 int w, int h, int format, int flags)
312 String name, int w, int h, int format, int flags)
333 nativeCreate(session, name, w, h, format, flags);
228 nativeCreate(SurfaceSession session, String name, int w, int h, int format, int flags) argument
311 Surface(SurfaceSession session, String name, int w, int h, int format, int flags) argument
H A DSurfaceHolder.java24 * control the surface size and format, edit the pixels in the surface, and
82 * This is called immediately after any structural changes (format or
88 * @param format The new PixelFormat of the surface.
92 public void surfaceChanged(SurfaceHolder holder, int format, int width, argument
180 * @param format A constant from PixelFormat.
184 public void setFormat(int format); argument
H A DViewRootImpl.java731 final boolean translucent = attrs.format != PixelFormat.OPAQUE;
1179 // PixelFormat.hasAlpha(lp.format) || lp.format == PixelFormat.RGBX_8888
1304 if (!PixelFormat.formatHasAlpha(params.format)) {
1305 params.format = PixelFormat.TRANSLUCENT;
1403 lp != null && !PixelFormat.formatHasAlpha(lp.format)) {
1593 lp.format, mWidth, mHeight);
1597 c.surfaceChanged(mSurfaceHolder, lp.format,
1904 // time around, to ensure the window has the correct format.
2250 // If this bitmap's format include
4785 setFormat(int format) argument
[all...]
H A DWindow.java642 * Set the format of window, as per the PixelFormat types. This overrides
643 * the default format that is selected by the Window based on its
646 * @param format The new window format (see PixelFormat). Use
648 * the format.
652 public void setFormat(int format) { argument
654 if (format != PixelFormat.UNKNOWN) {
655 attrs.format = format;
658 attrs.format
1209 setDefaultWindowFormat(int format) argument
[all...]
H A DWindowManager.java1120 * The desired bitmap format. May be one of the constants in
1123 public int format; field in class:WindowManager.LayoutParams
1284 format = PixelFormat.OPAQUE;
1290 format = PixelFormat.OPAQUE;
1297 format = PixelFormat.OPAQUE;
1304 format = _format;
1311 format = _format;
1321 format = _format;
1351 out.writeInt(format);
1392 format
[all...]
/frameworks/base/core/java/android/widget/
H A DChronometer.java25 import android.text.format.DateUtils;
44 * to format the timer value into an arbitrary string.
136 * Sets the format string used for display. The Chronometer will display
140 * If the format string is null, or if you never call setFormat(), the
144 * @param format the format string.
147 public void setFormat(String format) { argument
148 mFormat = format;
149 if (format != null && mFormatBuilder == null) {
150 mFormatBuilder = new StringBuilder(format
[all...]

Completed in 235 milliseconds

12345678910