/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/ |
H A D | GLCanvas.java | 153 * @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 D | ShortcutPackageItem.java | 104 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 D | WakeUpCall.java | 52 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 D | PorterDuffUtility.java | 53 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 D | MultiArgTestAdapter.java | 72 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 D | BufferQueueProducer.h | 65 // 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 D | MonitoredProducer.h | 41 uint32_t h, PixelFormat format, uint32_t usage); 56 PixelFormat format, uint32_t usage);
|
/frameworks/opt/telephony/src/java/android/telephony/ |
H A D | SmsMessage.java | 85 * 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 D | BallsView.java | 52 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 D | VirtualDisplaySurface.cpp | 89 // 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 D | AudioRecord.cpp | 39 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 D | Camera2RecordingTest.java | 146 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 D | NuPlayer.cpp | 431 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 D | NuPlayerDecoder.cpp | 167 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 D | NuPlayerDecoderPassThrough.h | 38 virtual void onConfigure(const sp<AMessage> &format);
|
/frameworks/base/media/java/android/media/ |
H A D | Cea708CaptionRenderer.java | 68 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 D | StaticMetadata.java | 325 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 D | SessionLibrary.cpp | 49 String8 sessionIdString = String8::format("%u", mNextSessionId);
|
/frameworks/av/include/media/ |
H A D | AudioRecord.h | 120 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 D | IAudioFlinger.h | 57 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 D | NdkImage.h | 53 * 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 D | TSPacketizer.h | 42 ssize_t addTrack(const sp<AMessage> &format);
|
/frameworks/av/services/camera/libcameraservice/device3/ |
H A D | Camera3IOStreamBase.h | 36 uint32_t width, uint32_t height, size_t maxSize, int format,
|
H A D | Camera3InputStream.h | 42 Camera3InputStream(int id, uint32_t width, uint32_t height, int format);
|
/frameworks/av/services/mediaresourcemanager/ |
H A D | ServiceLog.cpp | 38 mLogs.add(String8::format("%s %s", buf, log.string()));
|