Searched refs:format (Results 351 - 375 of 1375) sorted by relevance

<<11121314151617181920>>

/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
H A DGLCanvas.java153 * @param format The texture format (e.g. GL_RGBA)
156 public abstract void initializeTextureSize(BasicTexture texture, int format, int type); argument
174 * @param format The texture format (e.g. GL_RGBA)
179 int format, int type);
177 texSubImage2D(BasicTexture texture, int xOffset, int yOffset, Bitmap bitmap, int format, int type) argument
/frameworks/base/services/core/java/com/android/server/pm/
H A DShortcutPackageItem.java104 Slog.d(TAG, String.format("Package still not installed: %s user=%d",
123 Slog.d(TAG, String.format("Restored package: %s/%d on user %d", mPackageName,
/frameworks/base/tests/utils/SleepUtils/WakeLoopService/src/android/test/wakeuploop/
H A DWakeUpCall.java52 Log.d(LOG_TAG, String.format("incoming: interval = %d, max loop = %d, this loop = %d",
65 Log.d(LOG_TAG, String.format("WakeLoop - iteration %d of %d", thisLoop, maxLoop));
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DPorterDuffUtility.java53 String.format("Unknown PorterDuff.Mode: %1$d", porterDuffMode), null);
103 String.format("Unsupported PorterDuff Mode: %1$s", mode.name()),
/frameworks/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/adapter/
H A DMultiArgTestAdapter.java72 view.setText(String.format("%s -> %s", oldValue, newValue));
78 view.setText(String.format("%s, %s -> %s, %s", oldValue1, oldValue2, newValue1, newValue2));
/frameworks/native/include/gui/
H A DBufferQueueProducer.h65 // If the format is 0, the default format will be used.
84 uint32_t width, uint32_t height, PixelFormat format,
155 PixelFormat format, uint32_t usage);
/frameworks/native/services/surfaceflinger/
H A DMonitoredProducer.h41 uint32_t h, PixelFormat format, uint32_t usage);
56 PixelFormat format, uint32_t usage);
/frameworks/opt/telephony/src/java/android/telephony/
H A DSmsMessage.java85 * Indicates a 3GPP format SMS message.
91 * Indicates a 3GPP2 format SMS message.
152 * Create an SmsMessage from a raw PDU. Guess format based on Voice
153 * technology first, if it fails use other format.
156 * intent <b>must</b> now pass the new {@code format} String extra from the intent
158 * extra format parameter. This is required in order to correctly decode the PDU on
167 // cdma(3gpp2) vs gsm(3gpp) format info was not given,
170 String format = (PHONE_TYPE_CDMA == activePhone) ?
172 message = createFromPdu(pdu, format);
175 // decoding pdu failed based on activePhone type, must be other format
195 createFromPdu(byte[] pdu, String format) argument
[all...]
/frameworks/rs/java/tests/Balls/src/com/example/android/rs/balls/
H A DBallsView.java52 public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) { argument
53 super.surfaceChanged(holder, format, w, h);
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DVirtualDisplaySurface.cpp89 // Pick the buffer format to request from the sink when not rendering to it
90 // with GLES. If the consumer needs CPU access, use the default format
91 // set by the consumer. Otherwise allow gralloc to decide the format based
104 ConsumerBase::mName = String8::format("VDS: %s", mDisplayName.string());
143 // allows the format conversion to happen there, rather than passing RGB
161 // composition. Stop using the format and usage requested by the GLES
168 // format/usage and get a new buffer when the GLES driver calls
344 PixelFormat format, uint32_t usage, int* sslot, sp<Fence>* fence) {
348 mSinkBufferWidth, mSinkBufferHeight, format, usage);
387 uint32_t w, uint32_t h, PixelFormat format, uint32_
343 dequeueBuffer(Source source, PixelFormat format, uint32_t usage, int* sslot, sp<Fence>* fence) argument
386 dequeueBuffer(int* pslot, sp<Fence>* fence, uint32_t w, uint32_t h, PixelFormat format, uint32_t usage) argument
[all...]
/frameworks/av/media/libmedia/
H A DAudioRecord.cpp39 audio_format_t format,
47 status_t status = AudioSystem::getInputBufferSize(sampleRate, format, channelMask, &size);
49 ALOGE("AudioSystem could not query the input buffer size for sampleRate %u, format %#x, "
50 "channelMask %#x; status %d", sampleRate, format, channelMask, status);
55 // Assumes audio_is_linear_pcm(format)
57 audio_bytes_per_sample(format))) == 0) {
58 ALOGE("Unsupported configuration: sampleRate %u, format %#x, channelMask %#x",
59 sampleRate, format, channelMask);
78 audio_format_t format,
100 mStatus = set(inputSource, sampleRate, format, channelMas
36 getMinFrameCount( size_t* frameCount, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask) argument
75 AudioRecord( audio_source_t inputSource, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, const String16& opPackageName, size_t frameCount, callback_t cbf, void* user, uint32_t notificationFrames, audio_session_t sessionId, transfer_type transferType, audio_input_flags_t flags, int uid, pid_t pid, const audio_attributes_t* pAttributes) argument
133 set( audio_source_t inputSource, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, size_t frameCount, callback_t cbf, void* user, uint32_t notificationFrames, bool threadCanCallJava, audio_session_t sessionId, transfer_type transferType, audio_input_flags_t flags, int uid, pid_t pid, const audio_attributes_t* pAttributes) argument
[all...]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
H A DCamera2RecordingTest.java146 Log.v(TAG, String.format("Recording video: %d/%d", iteration + 1,
211 Log.v(TAG, String.format("Constrained high speed recording: %d/%d",
486 Log.v(TAG, String.format("Video snapshot: %d/%d", iteration + 1,
722 Log.w(TAG, String.format("Camera %d Video size %s: Number of dropped frames " +
726 String.format(
942 MediaFormat format = extractor.getTrackFormat(i);
943 String mime = format.getString(MediaFormat.KEY_MIME);
945 Log.i(TAG, "video format is: " + format.toString());
946 durationUs = format
[all...]
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayer.cpp431 Parcel* reply, const sp<AMessage> format) const {
432 if (format == NULL) {
433 ALOGE("NULL format");
437 if (!format->findInt32("type", &trackType)) {
443 if (!format->findString("mime", &mime)) {
459 if (!format->findString("language", &lang)) {
471 CHECK(format->findInt32("auto", &isAuto));
472 CHECK(format->findInt32("default", &isDefault));
473 CHECK(format->findInt32("forced", &isForced));
999 sp<AMessage> format; local
1493 tryOpenAudioSinkForOffload( const sp<AMessage> &format, const sp<MetaData> &audioMeta, bool hasVideo) argument
1590 sp<AMessage> format = mSource->getFormat(audio); local
2213 sp<AMessage> format; local
2465 notifyVideoSizeChanged(const sp<AMessage> &format) argument
[all...]
H A DNuPlayerDecoder.cpp167 sp<AMessage> format; local
168 CHECK(msg->findMessage("format", &format));
170 handleOutputFormatChange(format);
249 void NuPlayer::Decoder::onConfigure(const sp<AMessage> &format) { argument
258 CHECK(format->findString("mime", &mime));
270 if (format->findInt32("secure", &secure) && secure != 0) {
301 format, mSurface, NULL /* crypto */, 0 /* flags */);
309 rememberCodecSpecificData(format);
686 void NuPlayer::Decoder::handleOutputFormatChange(const sp<AMessage> &format) { argument
1124 rememberCodecSpecificData(const sp<AMessage> &format) argument
[all...]
H A DNuPlayerDecoderPassThrough.h38 virtual void onConfigure(const sp<AMessage> &format);
/frameworks/base/media/java/android/media/
H A DCea708CaptionRenderer.java68 public boolean supports(MediaFormat format) { argument
69 if (format.containsKey(MediaFormat.KEY_MIME)) {
70 String mimeType = format.getString(MediaFormat.KEY_MIME);
77 public SubtitleTrack createTrack(MediaFormat format) { argument
78 String mimeType = format.getString(MediaFormat.KEY_MIME);
83 return new Cea708CaptionTrack(mCCWidget, format);
85 throw new RuntimeException("No matching format: " + format.toString());
94 Cea708CaptionTrack(Cea708CCWidget renderingWidget, MediaFormat format) { argument
95 super(format);
[all...]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
H A DStaticMetadata.java325 String.format(
332 String.format(
588 String.format("focalLength[%d] %f should be positive.", i, focalLengths[i]),
609 String.format("apertures[%d] %f should be positive.", i, apertures[i]),
836 Assert.assertTrue("No capture sizes available for RAW format!",
848 return assertArrayContainsAnyOf("Available sizes for RAW format" +
864 String.format(
871 String.format(
929 checkTrueForKey(key, String.format(" hyperfocal distance %f should be in the range of"
1266 * format o
1326 getAvailableSizesForFormatChecked(int format, StreamDirection direction) argument
1341 getAvailableSizesForFormatChecked(int format, StreamDirection direction, boolean fastSizes, boolean slowSizes) argument
1468 getAvailableMinFrameDurationsForFormatChecked(int format) argument
[all...]
/frameworks/av/drm/mediadrm/plugins/clearkey/
H A DSessionLibrary.cpp49 String8 sessionIdString = String8::format("%u", mNextSessionId);
/frameworks/av/include/media/
H A DAudioRecord.h120 audio_format_t format,
149 * format: Audio format (e.g AUDIO_FORMAT_PCM_16_BIT for signed
173 audio_format_t format,
200 * - BAD_VALUE: invalid parameter (channelMask, format, sampleRate...)
211 audio_format_t format,
240 audio_format_t format() const { return mFormat; } function in class:android::AudioRecord
H A DIAudioFlinger.h57 audio_format_t format,
78 audio_format_t format,
92 // FIXME Surprisingly, format/latency don't work for input handles
101 virtual audio_format_t format(audio_io_handle_t output) const = 0;
146 virtual size_t getInputBufferSize(uint32_t sampleRate, audio_format_t format,
/frameworks/av/include/ndk/
H A DNdkImage.h53 * Multi-plane Android YUV 420 format.
55 * <p>This format is a generic YCbCr format, capable of describing any 4:2:0
59 * <p>Images in this format are always represented by three separate buffers
76 * in this format from a {@link ACameraDevice} through an {@link AImageReader} object.</p>
78 * <p>This format is always supported as an output format for the android Camera2 NDK API.</p>
87 * Compressed JPEG format.
89 * <p>This format is always supported as an output format fo
[all...]
/frameworks/av/media/libstagefright/wifi-display/source/
H A DTSPacketizer.h42 ssize_t addTrack(const sp<AMessage> &format);
/frameworks/av/services/camera/libcameraservice/device3/
H A DCamera3IOStreamBase.h36 uint32_t width, uint32_t height, size_t maxSize, int format,
H A DCamera3InputStream.h42 Camera3InputStream(int id, uint32_t width, uint32_t height, int format);
/frameworks/av/services/mediaresourcemanager/
H A DServiceLog.cpp38 mLogs.add(String8::format("%s %s", buf, log.string()));

Completed in 5178 milliseconds

<<11121314151617181920>>