/frameworks/wilhelm/src/android/ |
H A D | AacBqToPcmCbRenderer.cpp | 154 sp<IMediaSource> source = extractor->getTrack(kTrackToDecode); local 155 if (source == 0) { 156 SL_LOGE("AacBqToPcmCbRenderer::onPrepare: error getting source from extractor"); 162 source = SimpleDecodingSource::Create(source); 164 if (source == NULL) { 170 sp<MetaData> meta = source->getFormat(); 174 if (source->start() != OK) { 175 SL_LOGE("AacBqToPcmCbRenderer::onPrepare() Failed to start source/decoder."); 204 // The data source, an [all...] |
H A D | android_AudioSfDecoder.cpp | 185 // Instantiate and initialize the data source for the decoder 224 // AndroidBufferQueue data source is handled by a subclass, 231 // Instantiate and initialize the decoder attached to the data source 265 sp<IMediaSource> source = extractor->getTrack(audioTrackIndex); local 266 sp<MetaData> meta = source->getFormat(); 302 source = SimpleDecodingSource::Create(source); 303 if (source == NULL) { 309 meta = source->getFormat(); 313 if (source [all...] |
/frameworks/wilhelm/src/android/util/ |
H A D | AacAdtsExtractor.cpp | 48 static size_t getFrameSize(const sp<DataSource> &source, off64_t offset) { argument 55 ssize_t readSize = source->readAt(offset, &syncHeader, ADTS_HEADER_SIZE_UP_TO_FRAMESIZE); 93 AacAdtsExtractor::AacAdtsExtractor(const sp<DataSource> &source) argument 94 : mDataSource(source), 138 // but in this case we were told the total size of the data source and so an EOS 210 const sp<DataSource> &source, const sp<MetaData> &meta, 212 : mDataSource(source), 209 AacAdtsSource( const sp<DataSource> &source, const sp<MetaData> &meta, int64_t frame_duration_us) argument
|
/frameworks/wilhelm/src/itf/ |
H A D | IOutputMixExt.c | 237 const stereo *source = (const stereo *) track->mReader; local 243 for (j = 0; j < actual; j += sizeof(stereo), ++mixBuffer, ++source) { 244 mixBuffer->left += (short) (source->left * track->mGains[0]); 245 mixBuffer->right += (short) (source->right * track->mGains[1]); 249 for (j = 0; j < actual; j += sizeof(stereo), ++mixBuffer, ++source) { 250 mixBuffer->left += source->left; 251 mixBuffer->right += source->right; 257 for (j = 0; j < actual; j += sizeof(stereo), ++mixBuffer, ++source) { 258 mixBuffer->left = (short) (source->left * track->mGains[0]); 259 mixBuffer->right = (short) (source [all...] |
/frameworks/wilhelm/tests/native-media/src/com/example/nativemedia/ |
H A D | MyGLSurfaceView.java | 200 // Can't do mipmapping with camera source 235 private int loadShader(int shaderType, String source) { argument 238 GLES20.glShaderSource(shader, source);
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | BaseCardView.java | 846 * source. 848 * @param source The layout params to copy from. 850 public LayoutParams(LayoutParams source) { argument 851 super(source); 853 this.viewType = source.viewType;
|
H A D | GridLayoutManager.java | 80 public LayoutParams(MarginLayoutParams source) { argument 81 super(source); 84 public LayoutParams(ViewGroup.LayoutParams source) { argument 85 super(source); 88 public LayoutParams(RecyclerView.LayoutParams source) { argument 89 super(source); 92 public LayoutParams(LayoutParams source) { argument 93 super(source);
|
/frameworks/support/v4/api21/android/support/v4/view/ |
H A D | WindowInsetsCompatApi21.java | 26 WindowInsetsCompatApi21(WindowInsets source) { argument 27 mSource = source;
|
/frameworks/support/v4/ics/android/support/v4/view/ |
H A D | PagerTitleStripIcs.java | 41 public CharSequence getTransformation(CharSequence source, View view) { argument 42 source = super.getTransformation(source, view); 43 return source != null ? source.toString().toUpperCase(mLocale) : null;
|
/frameworks/support/v4/ics/android/support/v4/view/accessibility/ |
H A D | AccessibilityNodeInfoCompatIcs.java | 34 public static Object obtain(View source) { argument 35 return AccessibilityNodeInfo.obtain(source); 208 public static void setSource(Object info, View source) { argument 209 ((AccessibilityNodeInfo) info).setSource(source);
|
H A D | AccessibilityRecordCompatIcs.java | 186 public static void setSource(Object record, View source) { argument 187 ((AccessibilityRecord) record).setSource(source);
|
/frameworks/support/v4/java/android/support/v4/app/ |
H A D | ActivityOptionsCompat.java | 64 * @param source The View that the new activity is animating from. This 67 * source. 68 * @param startY The y starting location of the activity, relative to source. 74 public static ActivityOptionsCompat makeScaleUpAnimation(View source, argument 78 ActivityOptionsCompatJB.makeScaleUpAnimation(source, startX, startY, 94 * @param source The View that this thumbnail is animating from. This 98 * @param startX The x starting location of the bitmap, relative to source. 99 * @param startY The y starting location of the bitmap, relative to source. 103 public static ActivityOptionsCompat makeThumbnailScaleUpAnimation(View source, argument 107 ActivityOptionsCompatJB.makeThumbnailScaleUpAnimation(source, thumbnai [all...] |
H A D | BackStackRecord.java | 1439 String source, String target) { 1440 if (source != null && target != null) { 1442 if (source.equals(overrides.valueAt(index))) { 1447 overrides.put(source, target); 1455 String source = sourceNames.get(i); 1457 setNameOverride(state.nameOverrides, source, target); 1466 String source = mSharedElementSourceNames.get(i); 1472 setNameOverride(state.nameOverrides, source, target); 1474 setNameOverride(state.nameOverrides, target, source); 1484 String source 1438 setNameOverride(ArrayMap<String, String> overrides, String source, String target) argument [all...] |
/frameworks/support/v4/java/android/support/v4/media/ |
H A D | MediaMetadataCompat.java | 102 * The number of tracks in the media's original source. 107 * The disc number for the media's original source. 112 * The artist for the album of the media's original source. 127 * The artwork for the album of the media's original source as a 133 * The artwork for the album of the media's original source as a Uri style 581 * initial values. All fields in the source metadata will be included in 584 * @param source 586 public Builder(MediaMetadataCompat source) { argument 587 mBundle = new Bundle(source.mBundle);
|
/frameworks/support/v4/java/android/support/v4/media/session/ |
H A D | PlaybackStateCompat.java | 816 * @param source The playback state to copy. 818 public Builder(PlaybackStateCompat source) { argument 819 mState = source.mState; 820 mPosition = source.mPosition; 821 mRate = source.mSpeed; 822 mUpdateTime = source.mUpdateTime; 823 mBufferedPosition = source.mBufferedPosition; 824 mActions = source.mActions; 825 mErrorMessage = source.mErrorMessage; 826 if (source [all...] |
/frameworks/support/v4/java/android/support/v4/os/ |
H A D | ParcelableCompat.java | 50 public T createFromParcel(Parcel source) { argument 51 return mCallbacks.createFromParcel(source, null);
|
/frameworks/support/v4/java/android/support/v4/view/ |
H A D | AbsSavedState.java | 55 * @param source parcel to read from 57 protected AbsSavedState(Parcel source) { argument 58 this(source, null); 64 * @param source parcel to read from 67 protected AbsSavedState(Parcel source, ClassLoader loader) { argument 68 Parcelable superState = source.readParcelable(loader);
|
H A D | MotionEventCompat.java | 517 * Gets the source of the event. 519 * @return The event source or {@link InputDeviceCompat#SOURCE_UNKNOWN} if unknown. 526 * Determines whether the event is from the given source. 527 * @param source The input source to check against. 528 * @return Whether the event is from the given source. 530 public static boolean isFromSource(MotionEvent event, int source) { argument 531 return (getSource(event) & source) == source;
|
H A D | ViewParentCompat.java | 50 View source, int changeType); 132 View source, int changeType) { 148 View source, int changeType) { 150 source, changeType); 410 * @param source The descendant view that changed. 421 View source, int changeType) { 422 IMPL.notifySubtreeAccessibilityStateChanged(parent, child, source, changeType); 49 notifySubtreeAccessibilityStateChanged(ViewParent parent, View child, View source, int changeType) argument 131 notifySubtreeAccessibilityStateChanged(ViewParent parent, View child, View source, int changeType) argument 147 notifySubtreeAccessibilityStateChanged(ViewParent parent, View child, View source, int changeType) argument 420 notifySubtreeAccessibilityStateChanged(ViewParent parent, View child, View source, int changeType) argument
|
/frameworks/support/v4/java/android/support/v4/view/accessibility/ |
H A D | AccessibilityNodeInfoCompat.java | 491 public Object obtain(View source); argument 494 public void setSource(Object info, View source); argument 635 public Object obtain(View source) { argument 925 public void setSource(Object info, View source) { argument 1261 public Object obtain(View source) { argument 1262 return AccessibilityNodeInfoCompatIcs.obtain(source); 1476 public void setSource(Object info, View source) { argument 1477 AccessibilityNodeInfoCompatIcs.setSource(info, source); 2333 * sets the source. 2338 public static AccessibilityNodeInfoCompat obtain(View source) { argument 2382 setSource(View source) argument [all...] |
H A D | AccessibilityRecordCompat.java | 36 public void setSource(Object record, View source); argument 255 public void setSource(Object record, View source) { argument 466 public void setSource(Object record, View source) { argument 467 AccessibilityRecordCompatIcs.setSource(record, source); 566 * Sets the event source. 568 * @param source The source. 572 public void setSource(View source) { argument 573 IMPL.setSource(mRecord, source); 577 * Sets the source t [all...] |
/frameworks/support/v4/java/android/support/v4/widget/ |
H A D | DrawerLayout.java | 2243 public LayoutParams(LayoutParams source) { argument 2244 super(source); 2245 this.gravity = source.gravity; 2248 public LayoutParams(ViewGroup.LayoutParams source) { argument 2249 super(source); 2252 public LayoutParams(ViewGroup.MarginLayoutParams source) { argument 2253 super(source);
|
H A D | FocusStrategy.java | 187 * in a particular direction from a source rect? This is the core 191 * @param source the source from which we are searching 198 @FocusRealDirection int direction, @NonNull Rect source, 202 if (!isCandidate(source, candidate, direction)) { 208 if (!isCandidate(source, currentBest, direction)) { 213 if (beamBeats(direction, source, candidate, currentBest)) { 218 if (beamBeats(direction, source, currentBest, candidate)) { 225 majorAxisDistance(direction, source, candidate), 226 minorAxisDistance(direction, source, candidat 197 isBetterCandidate( @ocusRealDirection int direction, @NonNull Rect source, @NonNull Rect candidate, @NonNull Rect currentBest) argument 240 beamBeats(@ocusRealDirection int direction, @NonNull Rect source, @NonNull Rect rect1, @NonNull Rect rect2) argument 362 majorAxisDistance(@ocusRealDirection int direction, @NonNull Rect source, @NonNull Rect dest) argument 367 majorAxisDistanceRaw(@ocusRealDirection int direction, @NonNull Rect source, @NonNull Rect dest) argument 389 majorAxisDistanceToFarEdge(@ocusRealDirection int direction, @NonNull Rect source, @NonNull Rect dest) argument 394 majorAxisDistanceToFarEdgeRaw( @ocusRealDirection int direction, @NonNull Rect source, @NonNull Rect dest) argument 420 minorAxisDistance(@ocusRealDirection int direction, @NonNull Rect source, @NonNull Rect dest) argument [all...] |
H A D | NestedScrollView.java | 1851 public SavedState(Parcel source) { argument 1852 super(source); 1853 scrollPosition = source.readInt();
|
H A D | SlidingPaneLayout.java | 1437 public LayoutParams(android.view.ViewGroup.LayoutParams source) { argument 1438 super(source); 1441 public LayoutParams(MarginLayoutParams source) { argument 1442 super(source); 1445 public LayoutParams(LayoutParams source) { argument 1446 super(source); 1447 this.weight = source.weight;
|