/frameworks/base/tests/RenderScriptTests/ImageProcessing/src/com/android/rs/image/ |
H A D | ImageProcessingActivity.java | 213 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { argument
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | Bitmap_Delegate.java | 256 /*package*/ static boolean nativeCompress(int nativeBitmap, int format, int quality, argument
|
/frameworks/base/voip/java/android/net/sip/ |
H A D | SimpleSessionDescription.java | 69 mFields.parse(String.format("o=- %d %d %s", sessionId, 96 for (String format : parts[3].split(" ")) { 97 media.setFormat(format, null); 287 * Returns the {@code fmtp} attribute of the given format or 290 public String getFmtp(String format) { argument 291 return super.get("a=fmtp:" + format, ' '); 295 * Sets a format and its {@code fmtp} attribute. If the attribute is 298 public void setFormat(String format, String fmtp) { argument 299 mFormats.remove(format); 300 mFormats.add(format); 308 removeFormat(String format) argument [all...] |
/frameworks/native/libs/utils/ |
H A D | String8.cpp | 198 String8 String8::format(const char* fmt, ...) function in class:android::String8
|
/frameworks/native/opengl/tests/hwc/ |
H A D | hwcStress.cpp | 42 * row point to graphic buffers which use the same pixel format and 48 * in a particular row have the same pixel format and dimension, 545 * format and dimension. Each graphic buffer is uniformly filled with a 564 // All frames within a row have to have the same format and 569 int format = formatPtr->format; local 584 testPrintI(" frame %u width: %u height: %u format: %u %s", 585 row, w, h, format, hwcTestGraphicFormat2str(format)); 594 frames[row][col] = new GraphicBuffer(w, h, format, texUsag [all...] |
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
H A D | DisplayHardware.cpp | 127 PixelFormat format, 138 if (nativeVisualId>0 && format == nativeVisualId) { 158 int format; local 160 window->query(window, NATIVE_WINDOW_FORMAT, &format); 250 err = selectConfigForPixelFormat(display, attribs, format, &config); 251 ALOGE_IF(err, "couldn't find an EGLConfig matching the screen format"); 302 mFormat = fbDev->format; 124 selectConfigForPixelFormat( EGLDisplay dpy, EGLint const* attrs, PixelFormat format, EGLConfig* outConfig) argument
|
/frameworks/av/cmds/stagefright/ |
H A D | sf2.cpp | 110 sp<AMessage> format = makeFormat(mSource->getFormat()); local 113 format->setObject( 117 mCodec->initiateSetup(format);
|
/frameworks/av/include/media/ |
H A D | SoundPool.h | 59 audio_format_t format() { return mFormat; } function in class:android::Sample 68 void init(int numChannels, int sampleRate, audio_format_t format, size_t size, sp<IMemory> data ) { argument 69 mNumChannels = numChannels; mSampleRate = sampleRate; mFormat = format; mSize = size; mData = data; }
|
/frameworks/av/libvideoeditor/lvpp/ |
H A D | VideoEditorAudioPlayer.cpp | 483 // updated format, if there isn't, we'll stash away the valid buffer 499 sp<MetaData> format = mSource->getFormat(); local 501 bool success = format->findCString(kKeyMIMEType, &mime); 505 success = format->findInt32(kKeySampleRate, &mSampleRate); 509 success = format->findInt32(kKeyChannelCount, &numChannels);
|
/frameworks/av/media/libmedia/ |
H A D | IAudioPolicyService.cpp | 125 audio_format_t format, 133 data.writeInt32(static_cast <uint32_t>(format)); 177 audio_format_t format, 186 data.writeInt32(static_cast <uint32_t>(format)); 419 audio_format_t format = (audio_format_t) data.readInt32(); local 426 format, 466 audio_format_t format = (audio_format_t) data.readInt32(); local 473 format, 122 getOutput( audio_stream_type_t stream, uint32_t samplingRate, audio_format_t format, uint32_t channels, audio_output_flags_t flags) argument 174 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 | SoundPool.cpp | 499 audio_format_t format; local 503 p = MediaPlayer::decode(mUrl, &sampleRate, &numChannels, &format); 505 p = MediaPlayer::decode(mFd, mOffset, mLength, &sampleRate, &numChannels, &format); 535 mFormat = format; 588 ((sample->format() == AUDIO_FORMAT_PCM_16_BIT) ? sizeof(int16_t) : sizeof(uint8_t)); 610 newTrack = new AudioTrack(streamType, sampleRate, sample->format(), 613 newTrack = new AudioTrack(streamType, sampleRate, sample->format(), 871 ((mSample->format() == AUDIO_FORMAT_PCM_16_BIT) ? sizeof(int16_t) : sizeof(uint8_t));
|
/frameworks/av/media/libstagefright/ |
H A D | MediaCodec.cpp | 134 const sp<AMessage> &format, 140 msg->setMessage("format", format); 291 status_t MediaCodec::getOutputFormat(sp<AMessage> *format) const { 300 CHECK(response->findMessage("format", format)); 604 ALOGV("codec output format changed"); 621 "color-format", &colorFormat)); 654 // part of the format in the call to configure and 773 sp<AMessage> format local 133 configure( const sp<AMessage> &format, const sp<SurfaceTextureClient> &nativeWindow, const sp<ICrypto> &crypto, uint32_t flags) argument 804 sp<AMessage> format; local 1140 extractCSD(const sp<AMessage> &format) argument [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
H A D | pvdec_api.cpp | 1500 void m4vdec_dprintf(char *format, ...) argument 1504 va_start(args, format); 1510 vfprintf(log_fp, format, args);
|
/frameworks/av/media/mtp/ |
H A D | MtpDevice.cpp | 252 MtpObjectFormat format = (*mDeviceInfo->mPlaybackFormats)[i]; local 253 ALOGI("*** FORMAT: %s\n", MtpDebug::getFormatCodeName(format)); 254 MtpObjectPropertyList* props = getObjectPropsSupported(format); 258 MtpProperty* property = getObjectPropDesc(prop, format); 356 MtpObjectFormat format, MtpObjectHandle parent) { 361 mRequest.setParameter(2, format); 521 MtpObjectPropertyList* MtpDevice::getObjectPropsSupported(MtpObjectFormat format) { argument 525 mRequest.setParameter(1, format); 556 MtpProperty* MtpDevice::getObjectPropDesc(MtpObjectProperty code, MtpObjectFormat format) { argument 561 mRequest.setParameter(2, format); 355 getObjectHandles(MtpStorageID storageID, MtpObjectFormat format, MtpObjectHandle parent) argument [all...] |
/frameworks/av/services/audioflinger/ |
H A D | AudioMixer.h | 167 uint8_t format; // always 16 member in struct:android::AudioMixer::track_t
|
/frameworks/base/core/java/android/app/ |
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
|
/frameworks/base/core/jni/android/graphics/ |
H A D | Bitmap.cpp | 282 int format, int quality,
286 switch (format) {
281 Bitmap_compress(JNIEnv* env, jobject clazz, SkBitmap* bitmap, int format, int quality, jobject jstream, jbyteArray jstorage) argument
|
/frameworks/base/core/jni/ |
H A D | android_media_AudioRecord.cpp | 50 int PCM16; //... format constants 51 int PCM8; //... format constants 182 // compare the format against the Java constants 185 ALOGE("Error creating AudioRecord: unsupported audio format."); 190 audio_format_t format = audioFormat==javaAudioRecordFields.PCM16 ? local 242 format, // word length, PCM 613 // Get the format constants from the AudioFormat class
|
H A D | android_text_format_Time.cpp | 297 const char* format = env->GetStringUTFChars(formatObject, NULL); local 299 String8 r = t.format(format, &locale); 301 env->ReleaseStringUTFChars(formatObject, format); 644 { "nativeCompare", "(Landroid/text/format/Time;Landroid/text/format/Time;)I", (void*)android_text_format_Time_compare }, 657 jclass timeClass = env->FindClass("android/text/format/Time"); 687 return AndroidRuntime::registerNativeMethods(env, "android/text/format/Time", gMethods, NELEM(gMethods));
|
H A D | com_google_android_gles_jni_EGLImpl.cpp | 255 static PixelFormat convertPixelFormat(SkBitmap::Config format) argument 257 switch (format) { 296 pixmap.format = convertPixelFormat(nativeBitmap->config());
|
/frameworks/base/media/java/android/mtp/ |
H A D | MtpDatabase.java | 69 // cached property groups for all properties for a given format 259 private int beginSendObject(String path, int format, int parent, argument 286 values.put(Files.FileColumns.FORMAT, format); 305 private void endSendObject(String path, int handle, int format, boolean succeeded) { argument 309 if (format == MtpConstants.FORMAT_ABSTRACT_AV_PLAYLIST) { 324 values.put(Files.FileColumns.FORMAT, format); 333 mMediaScanner.scanMtpFile(path, mVolumeName, handle, format); 340 private Cursor createObjectQuery(int storageID, int format, int parent) throws RemoteException { argument 346 if (format == 0) { 361 // query specific format 439 getObjectList(int storageID, int format, int parent) argument 465 getNumObjects(int storageID, int format, int parent) argument 635 getSupportedObjectProperties(int format) argument 668 getObjectPropertyList(long handle, int format, long property, int groupCode, int depth) argument [all...] |
/frameworks/base/media/jni/ |
H A D | android_media_MediaCodec.cpp | 110 const sp<AMessage> &format, 121 return mCodec->configure(format, mSurfaceTextureClient, crypto, flags); 191 status_t JMediaCodec::getOutputFormat(JNIEnv *env, jobject *format) const { 198 return ConvertMessageToMap(env, msg, format); 360 sp<AMessage> format; local 361 status_t err = ConvertKeyValueArraysToMessage(env, keys, values, &format); 387 err = codec->configure(format, surfaceTexture, crypto, flags); 671 jobject format; local 672 status_t err = codec->getOutputFormat(env, &format); 675 return format; 109 configure( const sp<AMessage> &format, const sp<ISurfaceTexture> &surfaceTexture, const sp<ICrypto> &crypto, int flags) argument [all...] |
H A D | android_media_MediaExtractor.cpp | 83 status_t JMediaExtractor::getTrackFormat(size_t index, jobject *format) const { 92 return ConvertMessageToMap(env, msg, format); 261 jobject format; local 262 status_t err = extractor->getTrackFormat(index, &format); 269 return format;
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
H A D | GLFrame.java | 70 GLFrame(FrameFormat format, FrameManager frameManager) { argument 71 super(format, frameManager); 74 GLFrame(FrameFormat format, FrameManager frameManager, int bindingType, long bindingId) { argument 75 super(format, frameManager, bindingType, bindingId); 79 FrameFormat format = getFormat(); 82 // Check that we have a valid format 83 if (format.getBytesPerSample() != 4) { 85 } else if (format.getDimensionCount() != 2) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | ImageWallpaper.java | 256 public void onSurfaceChanged(SurfaceHolder holder, int format, int width, int height) { argument 261 super.onSurfaceChanged(holder, format, width, height);
|