Searched defs:source (Results 401 - 425 of 468) sorted by relevance

<<111213141516171819

/frameworks/av/media/libstagefright/
H A DAwesomePlayer.cpp363 status_t AwesomePlayer::setDataSource(const sp<IStreamSource> &source) { argument
577 // taken possession of the audio source and stopped it when
978 // if the player was started it will take care of stopping the source when destroyed
1512 void AwesomePlayer::setAudioSource(sp<MediaSource> source) { argument
1513 CHECK(source != NULL);
1515 mAudioTrack = source;
1518 void AwesomePlayer::addTextSource_l(size_t trackIndex, const sp<MediaSource>& source) { argument
1519 CHECK(source != NULL);
1525 mTextDriver->addInBandTextSource(trackIndex, source);
1604 void AwesomePlayer::setVideoSource(sp<MediaSource> source) { argument
2644 selectAudioTrack_l( const sp<MediaSource>& source, size_t trackIndex) argument
[all...]
/frameworks/av/media/libstagefright/httplive/
H A DLiveSession.cpp816 * | | `source` handle => `out` buffer | | | |
830 sp<DataSource> *source, /* to return and reuse source */
834 if (source == NULL) {
835 source = &temp_source;
838 if (*source == NULL) {
840 *source = new FileSource(url + 7);
863 *source = mHTTPDataSource;
867 status_t getSizeErr = (*source)->getSize(&size);
916 ssize_t n = (*source)
826 fetchFile( const char *url, sp<ABuffer> *out, int64_t range_offset, int64_t range_length, uint32_t block_size, sp<DataSource> *source, String8 *actualUrl) argument
1207 sp<AnotherPacketSource> source = mPacketSources.valueAt(i); local
[all...]
/frameworks/av/media/libstagefright/rtsp/
H A DMyHandler.h318 AString source; local
321 "source",
322 &source)) {
323 ALOGW("Missing 'source' field in Transport response. Using "
336 addr.sin_addr.s_addr = inet_addr(source.c_str());
1563 sp<APacketSource> source = local
1566 if (source->initCheck() != OK) {
1585 info->mPacketSource = source;
/frameworks/av/services/audioflinger/
H A DEffects.cpp744 status_t AudioFlinger::EffectModule::setAudioSource(audio_source_t source) argument
756 &source,
915 s.append("source indication: ");
1635 void AudioFlinger::EffectChain::setAudioSource_l(audio_source_t source) argument
1639 mEffects[i]->setAudioSource(source);
/frameworks/base/core/java/android/app/
H A DBackStackRecord.java1658 String source, String target) {
1659 if (source != null && target != null && !source.equals(target)) {
1661 if (source.equals(overrides.valueAt(index))) {
1666 overrides.put(source, target);
1674 String source = sourceNames.get(i);
1676 setNameOverride(state.nameOverrides, source, target);
1685 String source = mSharedElementSourceNames.get(i);
1691 setNameOverride(state.nameOverrides, source, target);
1693 setNameOverride(state.nameOverrides, target, source);
1657 setNameOverride(ArrayMap<String, String> overrides, String source, String target) argument
[all...]
/frameworks/base/core/java/android/content/res/
H A DAssetManager.java773 /*package*/ native static final void copyTheme(long dest, long source); argument
H A DConfiguration.java1152 public void readFromParcel(Parcel source) { argument
1153 fontScale = source.readFloat();
1154 mcc = source.readInt();
1155 mnc = source.readInt();
1156 if (source.readInt() != 0) {
1157 locale = new Locale(source.readString(), source.readString(),
1158 source.readString());
1160 userSetLocale = (source.readInt()==1);
1161 touchscreen = source
1194 Configuration(Parcel source) argument
[all...]
/frameworks/base/core/java/android/os/
H A DDebug.java353 public void readFromParcel(Parcel source) { argument
354 dalvikPss = source.readInt();
355 dalvikSwappablePss = source.readInt();
356 dalvikPrivateDirty = source.readInt();
357 dalvikSharedDirty = source.readInt();
358 dalvikPrivateClean = source.readInt();
359 dalvikSharedClean = source.readInt();
360 dalvikSwappedOut = source.readInt();
361 nativePss = source.readInt();
362 nativeSwappablePss = source
387 MemoryInfo(Parcel source) argument
[all...]
/frameworks/base/core/java/android/preference/
H A DPreference.java1841 public BaseSavedState(Parcel source) { argument
1842 super(source);
/frameworks/base/core/java/android/provider/
H A DMediaStore.java870 Bitmap source,
877 float scaleX = width / source.getWidth();
878 float scaleY = height / source.getHeight();
882 Bitmap thumb = Bitmap.createBitmap(source, 0, 0,
883 source.getWidth(),
884 source.getHeight(), matrix,
914 * @param source The stream to use for the image
920 public static final String insertImage(ContentResolver cr, Bitmap source, argument
933 if (source != null) {
936 source
868 StoreThumbnail( ContentResolver cr, Bitmap source, long id, float width, float height, int kind) argument
[all...]
/frameworks/base/core/java/android/text/
H A DLayout.java66 public static float getDesiredWidth(CharSequence source, argument
68 return getDesiredWidth(source, 0, source.length(), paint);
75 public static float getDesiredWidth(CharSequence source, argument
82 next = TextUtils.indexOf(source, '\n', i, end);
88 float w = measurePara(paint, source, i, next);
H A DTextUtils.java263 * from the source string. This is different than simply calling
265 * in that it does not preserve any style runs in the source sequence,
268 public static String substring(CharSequence source, int start, int end) { argument
269 if (source instanceof String)
270 return ((String) source).substring(start, end);
271 if (source instanceof StringBuilder)
272 return ((StringBuilder) source).substring(start, end);
273 if (source instanceof StringBuffer)
274 return ((StringBuffer) source).substring(start, end);
277 getChars(source, star
444 stringOrSpannedString(CharSequence source) argument
513 getReverse(CharSequence source, int start, int end) argument
521 Reverser(CharSequence source, int start, int end) argument
1017 copySpansFrom(Spanned source, int start, int end, Class kind, Spannable dest, int destoff) argument
[all...]
/frameworks/base/core/java/android/widget/
H A DRemoteViews.java948 public BitmapCache(Parcel source) { argument
949 int count = source.readInt();
952 Bitmap b = Bitmap.CREATOR.createFromParcel(source);
H A DScrollView.java1784 public SavedState(Parcel source) { argument
1785 super(source);
1786 scrollPosition = source.readInt();
H A DToolbar.java1815 public LayoutParams(LayoutParams source) { argument
1816 super(source);
1818 mViewType = source.mViewType;
1821 public LayoutParams(ActionBar.LayoutParams source) { argument
1822 super(source);
1825 public LayoutParams(MarginLayoutParams source) { argument
1826 super(source);
1829 copyMarginsFrom(source);
1832 public LayoutParams(ViewGroup.LayoutParams source) { argument
1833 super(source);
1841 SavedState(Parcel source) argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_media_AudioSystem.cpp282 android_media_AudioSystem_isSourceActive(JNIEnv *env, jobject thiz, jint source) argument
285 AudioSystem::isSourceActive((audio_source_t) source, &state);
1249 ALOGV("listAudioPatches patch %d source %d is a %s handle %d",
H A Dandroid_opengl_GLES31Ext.cpp17 // This source file is automatically generated
333 /* void glDebugMessageControlKHR ( GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled ) */
336 (JNIEnv *_env, jobject _this, jint source, jint type, jint severity, jint count, jintArray ids_ref, jint offset, jboolean enabled) {
362 (GLenum)source,
380 /* void glDebugMessageControlKHR ( GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled ) */
383 (JNIEnv *_env, jobject _this, jint source, jint type, jint severity, jint count, jobject ids_buf, jboolean enabled) {
395 (GLenum)source,
407 /* void glDebugMessageInsertKHR ( GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf ) */
410 (JNIEnv *_env, jobject _this, jint source, jint type, jint id, jint severity, jstring buf) {
427 (GLenum)source,
335 android_glDebugMessageControlKHR__IIII_3IIZ(JNIEnv *_env, jobject _this, jint source, jint type, jint severity, jint count, jintArray ids_ref, jint offset, jboolean enabled) argument
382 android_glDebugMessageControlKHR__IIIILjava_nio_IntBuffer_2Z(JNIEnv *_env, jobject _this, jint source, jint type, jint severity, jint count, jobject ids_buf, jboolean enabled) argument
409 android_glDebugMessageInsertKHR__IIIILjava_lang_String_2(JNIEnv *_env, jobject _this, jint source, jint type, jint id, jint severity, jstring buf) argument
483 android_glPushDebugGroupKHR__IIILjava_lang_String_2(JNIEnv *_env, jobject _this, jint source, jint id, jint length, jstring message) argument
[all...]
/frameworks/base/graphics/java/android/graphics/
H A DBitmap.java404 * on the configuration of the source. For instance, without
568 * the source bitmap, the source bitmap is returned and no new bitmap is
571 * @param src The source bitmap.
574 * @param filter true if the source should be filtered.
575 * @return The new scaled bitmap or the source bitmap if no scaling is required.
609 * Returns an immutable bitmap from the source bitmap. The new bitmap may
610 * be the same object as source, or a copy may have been made. It is
618 * Returns an immutable bitmap from the specified subset of the source
619 * bitmap. The new bitmap may be the same object as source, o
633 createBitmap(Bitmap source, int x, int y, int width, int height) argument
661 createBitmap(Bitmap source, int x, int y, int width, int height, Matrix m, boolean filter) argument
[all...]
/frameworks/base/graphics/java/android/graphics/drawable/
H A DDrawableContainer.java1109 private ConstantStateFuture(Drawable source) { argument
1110 mConstantState = source.getConstantState();
/frameworks/base/media/java/android/media/
H A DAudioSystem.java129 * Checks whether the specified audio source is active.
131 * return true if any recorder using this source is currently recording
133 public static native boolean isSourceActive(int source); argument
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DSlidingChallengeLayout.java1264 public LayoutParams(android.view.ViewGroup.LayoutParams source) { argument
1265 super(source);
1268 public LayoutParams(MarginLayoutParams source) { argument
1269 super(source);
1272 public LayoutParams(LayoutParams source) { argument
1273 super(source);
1275 childType = source.childType;
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
H A DGLES20Canvas.java336 // add the source code to the shader and compile it
607 public void drawTexture(BasicTexture texture, RectF source, RectF target) { argument
611 mTempSourceRect.set(source);
628 private void drawTextureRect(BasicTexture texture, RectF source, RectF target) { argument
629 setTextureMatrix(source);
633 private void setTextureMatrix(RectF source) { argument
634 mTempTextureMatrix[0] = source.width();
635 mTempTextureMatrix[5] = source.height();
636 mTempTextureMatrix[12] = source.left;
637 mTempTextureMatrix[13] = source
643 convertCoordinate(RectF source, RectF target, BasicTexture texture) argument
765 drawMixed(BasicTexture texture, int toColor, float ratio, RectF source, RectF target) argument
[all...]
/frameworks/base/services/core/java/com/android/server/am/
H A DActivityStack.java3469 final void moveTaskToFrontLocked(TaskRecord tr, ActivityRecord source, Bundle options, argument
3477 if (source != null &&
3478 (source.intent.getFlags()&Intent.FLAG_ACTIVITY_NO_ANIMATION) != 0) {
3492 if (source != null &&
3493 (source.intent.getFlags()&Intent.FLAG_ACTIVITY_NO_ANIMATION) != 0) {
/frameworks/base/services/core/java/com/android/server/content/
H A DSyncStorageEngine.java128 /** String names for the sync source types. */
173 PendingOperation(AuthorityInfo authority, int reason, int source, argument
176 this.syncSource = source;
378 int source; field in class:SyncStorageEngine.SyncHistoryItem
1293 item.source = op.syncSource;
1341 switch (item.source) {
1379 status.lastSuccessSource = item.source;
1391 status.lastFailureSource = item.source;
2558 private static final String XML_ATTR_SOURCE = "source";
/frameworks/base/services/core/java/com/android/server/net/
H A DNetworkPolicyManagerService.java2249 private static void collectKeys(SparseIntArray source, SparseBooleanArray target) { argument
2250 final int size = source.size();
2252 target.put(source.keyAt(i), true);

Completed in 617 milliseconds

<<111213141516171819