/frameworks/av/services/audioflinger/ |
H A D | AudioFlinger.cpp | 442 audio_format_t format, 502 track = thread->createTrack_l(client, streamType, sampleRate, format, 566 audio_format_t AudioFlinger::format(audio_io_handle_t output) const function in class:android::AudioFlinger 571 ALOGW("format() unknown thread %d", output); 574 return thread->format(); 967 size_t AudioFlinger::getInputBufferSize(uint32_t sampleRate, audio_format_t format, int channelCount) const argument 979 format: format, 1662 audio_format_t format, 1695 audio_is_linear_pcm(format) 438 createTrack( pid_t pid, audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, uint32_t channelMask, int frameCount, IAudioFlinger::track_flags_t flags, const sp<IMemory>& sharedBuffer, audio_io_handle_t output, pid_t tid, int *sessionId, status_t *status) argument 1658 createTrack_l( const sp<AudioFlinger::Client>& client, audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, uint32_t channelMask, int frameCount, const sp<IMemory>& sharedBuffer, int sessionId, IAudioFlinger::track_flags_t flags, pid_t tid, status_t *status) argument 3581 NBAIO_Format format = teeSource->format(); local 4097 TrackBase( ThreadBase *thread, const sp<Client>& client, uint32_t sampleRate, audio_format_t format, uint32_t channelMask, int frameCount, const sp<IMemory>& sharedBuffer, int sessionId) argument 4271 Track( PlaybackThread *thread, const sp<Client>& client, audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, uint32_t channelMask, int frameCount, const sp<IMemory>& sharedBuffer, int sessionId, IAudioFlinger::track_flags_t flags) argument 4818 create( PlaybackThread *thread, const sp<Client>& client, audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, uint32_t channelMask, int frameCount, const sp<IMemory>& sharedBuffer, int sessionId) argument 4836 TimedTrack( PlaybackThread *thread, const sp<Client>& client, audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, uint32_t channelMask, int frameCount, const sp<IMemory>& sharedBuffer, int sessionId) argument 5332 RecordTrack( RecordThread *thread, const sp<Client>& client, uint32_t sampleRate, audio_format_t format, uint32_t channelMask, int frameCount, int sessionId) argument 5446 OutputTrack( PlaybackThread *playbackThread, DuplicatingThread *sourceThread, uint32_t sampleRate, audio_format_t format, uint32_t channelMask, int frameCount) argument 5834 openRecord( pid_t pid, audio_io_handle_t input, uint32_t sampleRate, audio_format_t format, uint32_t channelMask, int frameCount, IAudioFlinger::track_flags_t flags, int *sessionId, status_t *status) argument 6190 createRecordTrack_l( const sp<AudioFlinger::Client>& client, uint32_t sampleRate, audio_format_t format, int channelMask, int frameCount, int sessionId, status_t *status) argument [all...] |
H A D | AudioFlinger.h | 93 audio_format_t format, 107 audio_format_t format, 116 virtual audio_format_t format(audio_io_handle_t output) const; 145 virtual size_t getInputBufferSize(uint32_t sampleRate, audio_format_t format, int channelCount) const; 382 audio_format_t format, 409 audio_format_t format() const { function in class:android::AudioFlinger::ThreadBase::TrackBase 489 audio_format_t format() const { return mFormat; } function in class:android::AudioFlinger::ThreadBase 693 audio_format_t format, 815 audio_format_t format, 858 audio_format_t format, [all...] |
H A D | AudioMixer.h | 167 uint8_t format; // always 16 member in struct:android::AudioMixer::track_t
|
H A D | AudioPolicyService.cpp | 225 audio_format_t format, 234 return mpAudioPolicy->get_output(mpAudioPolicy, stream, samplingRate, format, channels, flags); 273 audio_format_t format, 287 format, channels, acoustics); 223 getOutput(audio_stream_type_t stream, uint32_t samplingRate, audio_format_t format, uint32_t channels, audio_output_flags_t flags) argument 271 getInput(audio_source_t inputSource, uint32_t samplingRate, audio_format_t format, uint32_t channels, audio_in_acoustics_t acoustics, int audioSession) argument
|
H A D | FastMixer.cpp | 63 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)) {
|
H A D | MonoPipe.cpp | 29 MonoPipe::MonoPipe(size_t reqFrames, NBAIO_Format format, bool writeCanBlock) : argument 30 NBAIO_Sink(format), 33 mBuffer(malloc(mMaxFrames * Format_frameSize(format))),
|
H A D | NBAIO.cpp | 25 size_t Format_frameSize(NBAIO_Format format) argument 27 switch (format) { 40 size_t Format_frameBitShift(NBAIO_Format format) argument 42 switch (format) { 55 unsigned Format_sampleRate(NBAIO_Format format) argument 57 switch (format) { 70 unsigned Format_channelCount(NBAIO_Format format) argument 72 switch (format) {
|
H A D | NBAIO.h | 35 NEGOTIATE = 0x80000010, // Must (re-)negotiate format. For negotiate() only, the offeree 44 // Negotiation of format is based on the data provider and data sink, or the data consumer and 48 // attributes, rather than a struct with separate fields for format, sample rate, channel count, 61 size_t Format_frameSize(NBAIO_Format format); 64 size_t Format_frameBitShift(NBAIO_Format format); 70 unsigned Format_sampleRate(NBAIO_Format format); 73 unsigned Format_channelCount(NBAIO_Format format); 112 // Return the current negotiated format, or Format_Invalid if negotiation has not been done, 114 virtual NBAIO_Format format() const { return mNegotiated ? mFormat : Format_Invalid; } function in class:android::NBAIO_Port 117 NBAIO_Port(NBAIO_Format format) argument [all...] |
H A D | Pipe.cpp | 28 Pipe::Pipe(size_t maxFrames, NBAIO_Format format) : argument 29 NBAIO_Sink(format), 31 mBuffer(malloc(mMaxFrames * Format_frameSize(format))),
|
/frameworks/av/services/camera/libcameraservice/ |
H A D | CameraHardwareInterface.h | 617 int width, int height, int format) 621 width, height, format); 616 __set_buffers_geometry(struct preview_stream_ops* w, int width, int height, int format) argument
|
/frameworks/base/core/java/android/app/ |
H A D | ActivityThread.java | 506 // Formatting for checkin service - update version if row format changes 972 // otherwise, show human-readable format 1071 private void printRow(PrintWriter pw, String format, Object...objs) { argument 1072 pw.println(String.format(format, objs));
|
H A D | NativeActivity.java | 101 int format, int width, int height); 295 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { argument 298 onSurfaceChangedNative(mNativeHandle, holder.getSurface(), format, width, height); 370 void setWindowFormat(int format) { argument 371 getWindow().setFormat(format); 100 onSurfaceChangedNative(int handle, Surface surface, int format, int width, int height) argument
|
H A D | ProgressDialog.java | 140 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 D | Camera.java | 474 * <p>If using the {@link android.graphics.ImageFormat#YV12} format, 479 * @param data the contents of the preview frame in the format defined 484 * (NV21) format. 626 * 8, using the image format from 629 * <p>If using the {@link android.graphics.ImageFormat#YV12} format, the 666 * using the image format from {@link Camera.Parameters#getPreviewFormat()}. 990 * The format of the data depends on the context of the callback 1586 private static final String KEY_PREVIEW_FORMAT = "preview-format"; 1590 private static final String KEY_PICTURE_FORMAT = "picture-format"; 2308 * Sets the image format fo 2493 pixelFormatForCameraFormat(String format) argument [all...] |
/frameworks/base/core/java/android/nfc/tech/ |
H A D | NdefFormatable.java | 32 * 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 D | Process.java | 479 * Presently the wire format to the zygote process is: 929 public static final native boolean readProcFile(String file, int[] format, argument 934 int endIndex, int[] format, String[] outStrings, long[] outLongs, float[] outFloats); 933 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 D | WallpaperService.java | 472 public void onSurfaceChanged(SurfaceHolder holder, int format, int width, int height) { argument 573 + " format=" + formatChanged + " size=" + sizeChanged); 586 mLayout.format = mFormat;
|
/frameworks/base/core/java/android/speech/srec/ |
H A D | WaveHeader.java | 24 * 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 D | DateFormat.java | 17 package android.text.format; 38 This class takes as inputs a format string and a representation of a date/time. 39 The format string controls how the output is generated. 43 of that field. For instance, the format character 'M' is used to 79 Text in the format string that should be copied verbatim rather that 125 This designator indicates the hour of the day in 12 hour format. 134 This designator indicates the hour of the day in 24 hour format. 199 * Returns true if user preference is set to 24-hour format. 201 * @return true if 24 hour time format is selected, false otherwise. 244 * Returns a {@link java.text.DateFormat} object that can format th 406 public static final CharSequence format(CharSequence inFormat, long inTimeInMillis) { method in class:DateFormat 417 public static final CharSequence format(CharSequence inFormat, Date inDate) { method in class:DateFormat 432 public static final CharSequence format(CharSequence inFormat, Calendar inDate) { method in class:DateFormat [all...] |
H A D | DateUtils.java | 17 package android.text.format; 156 // The following FORMAT_* symbols are used for specifying the format of 187 // Date and time format strings that are constant and don't need to be 190 * This is not actually the preferred 24-hour date format in all locales. 205 // This table is used to lookup the resource string id of a format string 231 // This table is used to lookup the resource string id of a format string 525 String format = r.getQuantityString(resId, (int) count); 526 return String.format(format, count); 551 * Example output strings for the US date format 716 formatElapsedTime(StringBuilder recycle, String format, long hours, long minutes, long seconds) argument 749 formatElapsedTime(StringBuilder recycle, String format, long minutes, long seconds) argument [all...] |
H A D | Formatter.java | 17 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 D | Time.java | 17 package android.text.format; 309 * Print the current value given the format string provided. See man 312 * @param format a string containing the desired format. 315 public String format(String format) { argument 391 return format1(format); 395 native private String format1(String format); argument 398 * Return the current time in YYYYMMDDTHHMMSS<tz> format 404 * Parses a date-time string in either the RFC 2445 format o [all...] |
/frameworks/base/core/java/android/view/ |
H A D | Surface.java | 168 * pixel format is set to translucent. This can be useful if an 257 int pid, int display, int w, int h, int format, int flags) 265 init(s,pid,null,display,w,h,format,flags); 270 int pid, String name, int display, int w, int h, int format, int flags) 278 init(s,pid,name,display,w,h,format,flags); 554 int pid, String name, int display, int w, int h, int format, int flags) 256 Surface(SurfaceSession s, int pid, int display, int w, int h, int format, int flags) argument 269 Surface(SurfaceSession s, int pid, String name, int display, int w, int h, int format, int flags) argument 553 init(SurfaceSession s, int pid, String name, int display, int w, int h, int format, int flags) argument
|
H A D | SurfaceHolder.java | 24 * 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 D | ViewRootImpl.java | 739 final boolean translucent = attrs.format != PixelFormat.OPAQUE; 1190 // PixelFormat.hasAlpha(lp.format) || lp.format == PixelFormat.RGBX_8888 1312 if (!PixelFormat.formatHasAlpha(params.format)) { 1313 params.format = PixelFormat.TRANSLUCENT; 1411 lp != null && !PixelFormat.formatHasAlpha(lp.format)) { 1594 lp.format, mWidth, mHeight); 1598 c.surfaceChanged(mSurfaceHolder, lp.format, 1878 // time around, to ensure the window has the correct format. 2224 // If this bitmap's format include 4636 setFormat(int format) argument [all...] |