Searched refs:source (Results 76 - 100 of 474) sorted by relevance

1234567891011>>

/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DStreamingSource.cpp35 NuPlayer::StreamingSource::StreamingSource(const sp<IStreamSource> &source) argument
36 : mSource(source),
122 sp<AnotherPacketSource> source = local
125 if (source == NULL) {
129 return source->getFormat();
137 sp<AnotherPacketSource> source = local
140 if (source == NULL) {
145 if (!source->hasBufferAvailable(&finalResult)) {
149 status_t err = source->dequeueAccessUnit(accessUnit);
/frameworks/av/media/libstagefright/
H A DDataSource.cpp138 sp<DataSource> source; local
140 source = new FileSource(uri + 7);
167 source = new NuCachedSource2(
173 source = httpSource;
178 source = createDataUriSource(uri);
182 source = new FileSource(uri);
185 if (source == NULL || source->initCheck() != OK) {
189 return source;
/frameworks/base/core/java/android/content/pm/
H A DVerificationParams.java217 private VerificationParams(Parcel source) { argument
218 mVerificationURI = source.readParcelable(Uri.class.getClassLoader());
219 mOriginatingURI = source.readParcelable(Uri.class.getClassLoader());
220 mReferrer = source.readParcelable(Uri.class.getClassLoader());
221 mOriginatingUid = source.readInt();
222 mManifestDigest = source.readParcelable(ManifestDigest.class.getClassLoader());
223 mInstallerUid = source.readInt();
228 public VerificationParams createFromParcel(Parcel source) {
229 return new VerificationParams(source);
H A DPackageItemInfo.java248 protected PackageItemInfo(Parcel source) { argument
249 name = source.readString();
250 packageName = source.readString();
251 labelRes = source.readInt();
253 = TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(source);
254 icon = source.readInt();
255 logo = source.readInt();
256 metaData = source.readBundle();
H A DPathPermission.java60 public PathPermission createFromParcel(Parcel source) {
61 return new PathPermission(source);
/frameworks/base/core/java/android/view/
H A DInputEventConsistencyVerifier.java86 // The device id and source of the current stream of touch events.
203 final int source = event.getSource();
207 KeyState state = findKeyState(deviceId, source, keyCode, /*remove*/ false);
221 addKeyState(deviceId, source, keyCode);
226 KeyState state = findKeyState(deviceId, source, keyCode, /*remove*/ true);
264 final int source = event.getSource();
265 if ((source & InputDevice.SOURCE_CLASS_TRACKBALL) != 0) {
339 final int source = event.getSource();
343 || mTouchEventStreamSource != source)) {
346 + ", previous source "
668 findKeyState(int deviceId, int source, int keyCode, boolean remove) argument
690 addKeyState(int deviceId, int source, int keyCode) argument
702 public int source; field in class:InputEventConsistencyVerifier.KeyState
709 obtain(int deviceId, int source, int keyCode) argument
[all...]
H A DFocusFinder.java284 * direction from a source rect? This is the core routine that determines
287 * @param source The source we are searching from
292 boolean isBetterCandidate(int direction, Rect source, Rect rect1, Rect rect2) { argument
296 if (!isCandidate(source, rect1, direction)) {
302 if (!isCandidate(source, rect2, direction)) {
307 if (beamBeats(direction, source, rect1, rect2)) {
312 if (beamBeats(direction, source, rect2, rect1)) {
318 majorAxisDistance(direction, source, rect1),
319 minorAxisDistance(direction, source, rect
331 beamBeats(int direction, Rect source, Rect rect1, Rect rect2) argument
444 majorAxisDistance(int direction, Rect source, Rect dest) argument
448 majorAxisDistanceRaw(int direction, Rect source, Rect dest) argument
469 majorAxisDistanceToFarEdge(int direction, Rect source, Rect dest) argument
473 majorAxisDistanceToFarEdgeRaw(int direction, Rect source, Rect dest) argument
496 minorAxisDistance(int direction, Rect source, Rect dest) argument
[all...]
H A DAbsSavedState.java53 * @param source
55 protected AbsSavedState(Parcel source) { argument
57 Parcelable superState = source.readParcelable(null);
H A DDragEvent.java294 public static DragEvent obtain(DragEvent source) { argument
295 return obtain(source.mAction, source.mX, source.mY, source.mLocalState,
296 source.mClipDescription, source.mClipData, source.mDragResult);
/frameworks/base/media/java/android/media/
H A DThumbnailUtils.java201 * @param source original bitmap source
206 Bitmap source, int width, int height) {
207 return extractThumbnail(source, width, height, OPTIONS_NONE);
213 * @param source original bitmap source
219 Bitmap source, int width, int height, int options) {
220 if (source == null) {
225 if (source.getWidth() < source
205 extractThumbnail( Bitmap source, int width, int height) argument
218 extractThumbnail( Bitmap source, int width, int height, int options) argument
362 transform(Matrix scaler, Bitmap source, int targetWidth, int targetHeight, int options) argument
[all...]
/frameworks/av/media/libnbaio/
H A DSourceAudioBufferProvider.cpp25 SourceAudioBufferProvider::SourceAudioBufferProvider(const sp<NBAIO_Source>& source) : argument
26 mSource(source),
30 ALOG_ASSERT(source != 0);
32 // negotiate with source
35 ssize_t index = source->negotiate(NULL, 0, counterOffers, numCounterOffers);
38 index = source->negotiate(counterOffers, 1, NULL, numCounterOffers);
40 mFrameBitShift = Format_frameBitShift(source->format());
67 // read from source
/frameworks/base/core/java/com/android/internal/http/multipart/
H A DFilePart.java79 private PartSource source; field in class:FilePart
85 * @param partSource the source for this part
103 this.source = partSource;
110 * @param partSource the source for this part
193 String filename = this.source.getFileName();
203 * Write the data in "source" to the specified stream.
221 InputStream instream = source.createInputStream();
234 * Returns the source of the file part.
236 * @return The source.
240 return this.source;
[all...]
/frameworks/base/wifi/java/android/net/wifi/p2p/
H A DWifiP2pConfig.java118 public WifiP2pConfig(WifiP2pConfig source) { argument
119 if (source != null) {
120 deviceAddress = source.deviceAddress;
121 wps = new WpsInfo(source.wps);
122 groupOwnerIntent = source.groupOwnerIntent;
123 netId = source.netId;
/frameworks/base/core/java/android/net/
H A DNetworkInfo.java152 public NetworkInfo(NetworkInfo source) { argument
153 if (source != null) {
154 mNetworkType = source.mNetworkType;
155 mSubtype = source.mSubtype;
156 mTypeName = source.mTypeName;
157 mSubtypeName = source.mSubtypeName;
158 mState = source.mState;
159 mDetailedState = source.mDetailedState;
160 mReason = source.mReason;
161 mExtraInfo = source
[all...]
/frameworks/av/media/libstagefright/include/
H A DAACExtractor.h32 AACExtractor(const sp<DataSource> &source, const sp<AMessage> &meta);
56 const sp<DataSource> &source, String8 *mimeType, float *confidence,
H A DAMRExtractor.h32 AMRExtractor(const sp<DataSource> &source);
57 const sp<DataSource> &source, String8 *mimeType, float *confidence,
H A DDRMExtractor.h34 DRMExtractor(const sp<DataSource> &source, const char *mime);
56 const sp<DataSource> &source, String8 *mimeType, float *confidence,
H A DFLACExtractor.h31 // Extractor assumes ownership of source
32 FLACExtractor(const sp<DataSource> &source);
59 bool SniffFLAC(const sp<DataSource> &source, String8 *mimeType,
H A DMP3Extractor.h33 // Extractor assumes ownership of "source".
34 MP3Extractor(const sp<DataSource> &source, const sp<AMessage> &meta);
56 const sp<DataSource> &source, String8 *mimeType, float *confidence,
H A DOggExtractor.h34 OggExtractor(const sp<DataSource> &source);
58 const sp<DataSource> &source, String8 *mimeType, float *confidence,
/frameworks/av/media/libstagefright/rtsp/
H A DAAVCAssembler.h37 virtual AssemblyStatus assembleMore(const sp<ARTPSource> &source);
50 AssemblyStatus addNALUnit(const sp<ARTPSource> &source);
H A DAMPEG4AudioAssembler.h39 virtual AssemblyStatus assembleMore(const sp<ARTPSource> &source);
59 AssemblyStatus addPacket(const sp<ARTPSource> &source);
H A DAMPEG4ElementaryAssembler.h43 virtual AssemblyStatus assembleMore(const sp<ARTPSource> &source);
71 AssemblyStatus addPacket(const sp<ARTPSource> &source);
H A DARTPAssembler.h40 void onPacketReceived(const sp<ARTPSource> &source);
44 virtual AssemblyStatus assembleMore(const sp<ARTPSource> &source) = 0;
/frameworks/base/core/java/android/accounts/
H A DAccountManagerResponse.java71 public AccountManagerResponse createFromParcel(Parcel source) {
72 return new AccountManagerResponse(source);

Completed in 4245 milliseconds

1234567891011>>