Searched refs:source (Results 1 - 25 of 1101) sorted by last modified time

1234567891011>>

/frameworks/wilhelm/src/android/
H A DAacBqToPcmCbRenderer.cpp154 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 Dandroid_AudioSfDecoder.cpp185 // 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/include/
H A DAacAdtsExtractor.h41 AacAdtsSource(const sp<DataSource> &source,
76 explicit AacAdtsExtractor(const sp<DataSource> &source);
/frameworks/wilhelm/src/android/util/
H A DAacAdtsExtractor.cpp48 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 DIOutputMixExt.cpp237 const stereo *source = (const stereo *) track->mReader;
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 DMyGLSurfaceView.java200 // Can't do mipmapping with camera source
235 private int loadShader(int shaderType, String source) { argument
238 GLES20.glShaderSource(shader, source);
/frameworks/support/frameworks/support/samples/SupportLeanbackShowcase/gradle/wrapper/
H A Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/gradle/wrapper/ org/gradle/wrapper/Download ...
/frameworks/support/samples/SupportLeanbackShowcase/gradle/wrapper/
H A Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/gradle/wrapper/ org/gradle/wrapper/Download ...
/frameworks/support/v14/preference/src/android/support/v14/preference/
H A DMultiSelectListPreference.java242 public SavedState(Parcel source) { argument
243 super(source);
244 final int size = source.readInt();
247 source.readStringArray(strings);
/frameworks/support/v17/leanback/src/android/support/v17/leanback/graphics/
H A DFitWidthBitmapDrawable.java120 public void setSource(Rect source) { argument
121 mBitmapState.mSource = source;
157 Rect source = validateSource();
158 float scale = (float) bounds.width() / source.width();
159 mDest.bottom = mDest.top + (int) (source.height() * scale);
162 canvas.drawBitmap(mBitmapState.mBitmap, source, mDest, mBitmapState.mPaint);
/frameworks/support/v17/leanback/src/android/support/v17/leanback/transition/
H A DParallaxTransition.java58 final Parallax source = (Parallax) view.getTag(R.id.lb_parallax_source);
59 if (source == null) {
67 source.updateValues();
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DBaseCardView.java889 * source.
891 * @param source The layout params to copy from.
893 public LayoutParams(LayoutParams source) { argument
894 super(source);
896 this.viewType = source.viewType;
H A DGridLayoutManager.java85 public LayoutParams(MarginLayoutParams source) { argument
86 super(source);
89 public LayoutParams(ViewGroup.LayoutParams source) { argument
90 super(source);
93 public LayoutParams(RecyclerView.LayoutParams source) { argument
94 super(source);
97 public LayoutParams(LayoutParams source) { argument
98 super(source);
H A DParallax.java245 final int getMarkerValue(Parallax source) { argument
246 return mFactionOfMax == 0 ? mValue : mValue + Math.round(source
397 final float getMarkerValue(Parallax source) { argument
398 return mFactionOfMax == 0 ? mValue : mValue + source.getMaxValue()
610 * Create a {@link ParallaxEffect} object that will track source variable changes within a
H A DParallaxEffect.java34 * values that source variables can take. The main function is
57 * source variables can take.
79 * source variables can take.
163 * Creates a {@link ParallaxTarget} using direct mapping from source property into target
199 public final void performMapping(Parallax source) { argument
204 source.verifyIntProperties();
206 source.verifyFloatProperties();
215 directValue = calculateDirectValue(source);
221 fraction = calculateFraction(source);
235 abstract float calculateFraction(Parallax source); argument
243 calculateDirectValue(Parallax source) argument
281 calculateDirectValue(Parallax source) argument
309 calculateFraction(Parallax source) argument
376 calculateDirectValue(Parallax source) argument
404 calculateFraction(Parallax source) argument
[all...]
H A DRecyclerViewParallax.java146 void updateValue(RecyclerViewParallax source) { argument
147 RecyclerView recyclerView = source.mRecylerView;
152 source.setIntPropertyValue(getIndex(), IntProperty.UNKNOWN_AFTER);
159 source.setIntPropertyValue(getIndex(), IntProperty.UNKNOWN_AFTER);
161 source.setIntPropertyValue(getIndex(), IntProperty.UNKNOWN_BEFORE);
187 if (source.mIsVertical) {
188 source.setIntPropertyValue(getIndex(), rect.top + mOffset
191 source.setIntPropertyValue(getIndex(), rect.left + mOffset
247 * @return Currently RecylerView that the source has registered onScrollListener.
/frameworks/support/v7/appcompat/src/android/support/v7/app/
H A DActionBar.java1397 public LayoutParams(LayoutParams source) { argument
1398 super(source);
1400 this.gravity = source.gravity;
1403 public LayoutParams(ViewGroup.LayoutParams source) { argument
1404 super(source);
H A DAppCompatDelegateImplV9.java2090 static SavedState readFromParcel(Parcel source, ClassLoader loader) {
2092 savedState.featureId = source.readInt();
2093 savedState.isOpen = source.readInt() == 1;
2096 savedState.menuState = source.readBundle(loader);
/frameworks/support/v7/appcompat/src/android/support/v7/text/
H A DAllCapsTransformationMethod.java41 public CharSequence getTransformation(CharSequence source, View view) { argument
42 return source != null ? source.toString().toUpperCase(mLocale) : null;
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DActionBarOverlayLayout.java750 public LayoutParams(ViewGroup.LayoutParams source) { argument
751 super(source);
754 public LayoutParams(ViewGroup.MarginLayoutParams source) { argument
755 super(source);
H A DLinearLayoutCompat.java1836 public LayoutParams(ViewGroup.MarginLayoutParams source) { argument
1837 super(source);
1842 * and gravity of the source.
1844 * @param source The layout params to copy from.
1846 public LayoutParams(LayoutParams source) { argument
1847 super(source);
1849 this.weight = source.weight;
1850 this.gravity = source.gravity;
H A DSearchView.java1305 public SavedState(Parcel source, ClassLoader loader) { argument
1306 super(source, loader);
1307 isIconified = (Boolean) source.readValue(null);
H A DShareActionProvider.java148 * @param source The source of the notification.
152 public boolean onShareTargetSelected(ShareActionProvider source, Intent intent); argument
H A DToolbar.java2231 public LayoutParams(LayoutParams source) { argument
2232 super(source);
2234 mViewType = source.mViewType;
2237 public LayoutParams(ActionBar.LayoutParams source) { argument
2238 super(source);
2241 public LayoutParams(MarginLayoutParams source) { argument
2242 super(source);
2245 copyMarginsFromCompat(source);
2248 public LayoutParams(ViewGroup.LayoutParams source) { argument
2249 super(source);
2252 copyMarginsFromCompat(MarginLayoutParams source) argument
2264 SavedState(Parcel source) argument
2268 SavedState(Parcel source, ClassLoader loader) argument
[all...]
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/
H A DGridLayout.java1496 equivalent to the single-source shortest paths problem on a digraph, for
1993 * and column spec of the source.
1995 * @param source The layout params to copy from.
1997 public LayoutParams(LayoutParams source) { argument
1998 super(source);
2000 this.rowSpec = source.rowSpec;
2001 this.columnSpec = source.columnSpec;

Completed in 2237 milliseconds

1234567891011>>