Searched defs:source (Results 276 - 300 of 673) sorted by relevance

<<11121314151617181920>>

/frameworks/support/percent/src/android/support/percent/
H A DPercentRelativeLayout.java187 public LayoutParams(ViewGroup.LayoutParams source) { argument
188 super(source);
191 public LayoutParams(MarginLayoutParams source) { argument
192 super(source);
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
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/widget/
H A DShareActionProvider.java148 * @param source The source of the notification.
152 public boolean onShareTargetSelected(ShareActionProvider source, Intent intent); argument
/frameworks/support/v7/preference/src/android/support/v7/preference/
H A DEditTextPreference.java129 public SavedState(Parcel source) { argument
130 super(source);
131 text = source.readString();
/frameworks/av/cmds/stagefright/
H A Drecordvideo.cpp272 sp<MediaSource> source = local
308 looper, enc_meta, source, NULL /* consumer */,
/frameworks/av/drm/libmediadrm/
H A DCrypto.cpp239 const sp<IMemory> &source, size_t offset,
253 const void *srcPtr = static_cast<uint8_t *>(source->pointer()) + offset;
237 decrypt(const uint8_t key[16], const uint8_t iv[16], CryptoPlugin::Mode mode, const CryptoPlugin::Pattern &pattern, const sp<IMemory> &source, size_t offset, const CryptoPlugin::SubSample *subSamples, size_t numSubSamples, const ICrypto::DestinationBuffer &destination, AString *errorDetailMsg) argument
H A DICrypto.cpp101 const SourceBuffer &source, size_t offset,
130 data.writeStrongBinder(IInterface::asBinder(source.mSharedMemory));
131 data.writeInt32(source.mHeapSeqNum);
326 SourceBuffer source; local
328 source.mSharedMemory =
330 if (source.mSharedMemory == NULL) {
334 source.mHeapSeqNum = data.readInt32();
388 } else if (totalSize > source.mSharedMemory->size()) {
390 } else if ((size_t)offset > source.mSharedMemory->size() - totalSize) {
393 result = decrypt(key, iv, mode, pattern, source, offse
99 decrypt(const uint8_t key[16], const uint8_t iv[16], CryptoPlugin::Mode mode, const CryptoPlugin::Pattern &pattern, const SourceBuffer &source, size_t offset, const CryptoPlugin::SubSample *subSamples, size_t numSubSamples, const DestinationBuffer &destination, AString *errorDetailMsg) argument
[all...]
/frameworks/av/media/libaaudio/src/utility/
H A DAAudioUtilities.cpp103 void AAudioConvert_floatToPcm16(const float *source, argument
109 float sample = *source++;
114 void AAudioConvert_floatToPcm16(const float *source, argument
125 float sample = *source++;
134 void AAudioConvert_pcm16ToFloat(const int16_t *source, argument
140 destination[i] = source[i] * scaler;
145 void AAudioConvert_pcm16ToFloat(const int16_t *source, argument
155 *destination++ = *source++ * scaler;
162 void AAudio_linearRamp(const float *source, argument
172 float sample = *source
185 AAudio_linearRamp(const int16_t *source, int16_t *destination, int32_t numFrames, int32_t samplesPerFrame, float amplitude1, float amplitude2) argument
[all...]
/frameworks/av/media/libaudiohal/
H A DDeviceHalHidl.cpp271 audio_source_t source,
285 AudioSource(source),
265 openInputStream( audio_io_handle_t handle, audio_devices_t devices, struct audio_config *config, audio_input_flags_t flags, const char *address, audio_source_t source, sp<StreamInHalInterface> *inStream) argument
H A DDeviceHalLocal.cpp132 audio_source_t source,
136 "srate: %d format %#x channels %x address %s source %d",
139 address, source);
141 mDev, handle, devices, config, &halStream, flags, address, source);
126 openInputStream( audio_io_handle_t handle, audio_devices_t devices, struct audio_config *config, audio_input_flags_t flags, const char *address, audio_source_t source, sp<StreamInHalInterface> *inStream) argument
/frameworks/av/media/libmedia/
H A DCharacterEncodingDetector.cpp203 // only convert if the source encoding isn't already UTF-8
219 const char* source = mValues.getEntry(i); local
228 &source, source + strlen(source),
346 const char *source = input; local
355 if (source != sourceLimit) {
356 inchar = (source[0] << 8) + source[1];
358 UChar32 c = ucnv_getNextUChar(conv, &source, sourceLimi
[all...]
H A DIMediaExtractor.cpp240 str.append(", source ");
255 const sp<IMediaSource> source = wSource.promote(); local
256 if (source == NULL) {
271 const sp<IMediaSource> &source) {
281 instance.tracks.push_front(source);
282 if (source != NULL) {
283 instance.trackDescriptions.push_front(source->getFormat()->toString());
294 const sp<DataSource> &source,
299 ex.sourceDescription = source->toString();
269 registerMediaSource( const sp<IMediaExtractor> &ex, const sp<IMediaSource> &source) argument
292 registerMediaExtractor( const sp<IMediaExtractor> &extractor, const sp<DataSource> &source, const char *mime) argument
H A DIMediaMetadataRetriever.cpp130 status_t setDataSource(const sp<IDataSource>& source) argument
134 data.writeStrongBinder(IInterface::asBinder(source));
256 sp<IDataSource> source = local
258 if (source == NULL) {
261 reply->writeInt32(setDataSource(source));
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerDecoderPassThrough.cpp45 const sp<Source> &source,
48 mSource(source),
43 DecoderPassThrough( const sp<AMessage> &notify, const sp<Source> &source, const sp<Renderer> &renderer) argument
H A DStreamingSource.cpp40 const sp<IStreamSource> &source)
42 mSource(source),
231 sp<MediaSource> source = mTSParser->getSource( local
234 return static_cast<AnotherPacketSource *>(source.get());
238 sp<AnotherPacketSource> source = getSource(audio); local
241 if (source == NULL) {
246 sp<MetaData> meta = source->getFormat();
260 sp<AnotherPacketSource> source = getSource(audio); local
262 if (source == NULL) {
271 if (!source
38 StreamingSource( const sp<AMessage> &notify, const sp<IStreamSource> &source) argument
[all...]
/frameworks/av/media/libstagefright/
H A DAACExtractor.cpp39 AACSource(const sp<DataSource> &source,
95 static size_t getAdtsFrameLength(const sp<DataSource> &source, off64_t offset, size_t* headerSize) { argument
103 if (source->readAt(offset, &syncword, 2) != 2) {
111 if (source->readAt(offset + 1, &protectionAbsent, 1) < 1) {
117 if (source->readAt(offset + 3, &header, 3) < 3) {
136 const sp<DataSource> &source, const sp<AMessage> &_meta)
137 : mDataSource(source),
176 if ((frameSize = getAdtsFrameLength(source, offset, NULL)) == 0) {
238 const sp<DataSource> &source, const sp<MetaData> &meta,
241 : mDataSource(source),
135 AACExtractor( const sp<DataSource> &source, const sp<AMessage> &_meta) argument
237 AACSource( const sp<DataSource> &source, const sp<MetaData> &meta, const Vector<uint64_t> &offset_vector, int64_t frame_duration_us) argument
336 SniffAAC( const sp<DataSource> &source, String8 *mimeType, float *confidence, sp<AMessage> *meta) argument
[all...]
H A DAACWriter.cpp70 status_t AACWriter::addSource(const sp<IMediaSource> &source) { argument
80 sp<MetaData> meta = source->getFormat();
95 mSource = source;
H A DAMRExtractor.cpp36 AMRSource(const sp<DataSource> &source,
100 static status_t getFrameSizeByOffset(const sp<DataSource> &source, argument
103 ssize_t count = source->readAt(offset, &header, 1);
119 AMRExtractor::AMRExtractor(const sp<DataSource> &source) argument
120 : mDataSource(source),
146 status_t status = getFrameSizeByOffset(source, offset, mIsWide, &frameSize);
209 const sp<DataSource> &source, const sp<MetaData> &meta,
211 : mDataSource(source),
342 const sp<DataSource> &source, String8 *mimeType, float *confidence,
346 if (source
208 AMRSource( const sp<DataSource> &source, const sp<MetaData> &meta, bool isWide, const off64_t *offset_table, size_t offset_table_length) argument
341 SniffAMR( const sp<DataSource> &source, String8 *mimeType, float *confidence, sp<AMessage> *) argument
[all...]
H A DAudioPlayer.cpp70 void AudioPlayer::setSource(const sp<IMediaSource> &source) { argument
72 mSource = source;
136 "source format didn't specify channel mask, using (%d) channel order", numChannels);
344 // source is able to stop().
560 // we were reading from the source with mLock released.
H A DCameraSourceTimeLapse.cpp50 CameraSourceTimeLapse *source = new local
57 if (source != NULL) {
58 if (source->initCheck() != OK) {
59 delete source;
63 return source;
H A DJPEGSource.cpp54 JPEGSource::JPEGSource(const sp<DataSource> &source) argument
55 : mSource(source),
H A DMediaExtractor.cpp122 const sp<DataSource> &source, const char *mime) {
128 return CreateFromService(source, mime);
136 sp<IMediaExtractor> ex = mediaExService->makeExtractor(source->asIDataSource(), mime);
147 const sp<DataSource> &source, const char *mime) {
152 // initialize source decryption if needed
153 source->DrmInitialization(nullptr /* mime */);
160 if (!sniff(source, &tmp, &confidence, &meta)) {
174 ret = new MPEG4Extractor(source);
176 ret = new MP3Extractor(source, meta);
179 ret = new AMRExtractor(source);
121 Create( const sp<DataSource> &source, const char *mime) argument
146 CreateFromService( const sp<DataSource> &source, const char *mime) argument
230 sniff( const sp<DataSource> &source, String8 *mimeType, float *confidence, sp<AMessage> *meta) argument
[all...]
H A DMidiExtractor.cpp311 const sp<DataSource> &source, String8 *mimeType, float *confidence,
314 sp<MidiEngine> p = new MidiEngine(source, NULL, NULL);
310 SniffMidi( const sp<DataSource> &source, String8 *mimeType, float *confidence, sp<AMessage> *) argument
H A DSimpleDecodingSource.cpp39 const sp<IMediaSource> &source, uint32_t flags, const sp<ANativeWindow> &nativeWindow,
43 sp<MetaData> meta = source->getFormat();
47 if (convertMetaDataToMessage(source->getFormat(), &format) != OK) {
78 return new SimpleDecodingSource(codec, source, looper,
96 const sp<MediaCodec> &codec, const sp<IMediaSource> &source, const sp<ALooper> &looper,
99 mSource(source),
38 Create( const sp<IMediaSource> &source, uint32_t flags, const sp<ANativeWindow> &nativeWindow, const char *desiredCodec) argument
95 SimpleDecodingSource( const sp<MediaCodec> &codec, const sp<IMediaSource> &source, const sp<ALooper> &looper, bool usingSurface, bool isVorbis, const sp<AMessage> &format) argument

Completed in 243 milliseconds

<<11121314151617181920>>