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

1234567891011>>

/frameworks/base/wifi/java/android/net/wifi/
H A DWpsResult.java63 public WpsResult(WpsResult source) { argument
64 if (source != null) {
65 status = source.status;
66 pin = source.pin;
/frameworks/support/v4/java/android/support/v4/app/
H A DActivityOptionsCompat.java62 * @param source The View that the new activity is animating from. This
65 * source.
66 * @param startY The y starting location of the activity, relative to source.
72 public static ActivityOptionsCompat makeScaleUpAnimation(View source, argument
76 ActivityOptionsCompatJB.makeScaleUpAnimation(source, startX, startY,
92 * @param source The View that this thumbnail is animating from. This
96 * @param startX The x starting location of the bitmap, relative to source.
97 * @param startY The y starting location of the bitmap, relative to source.
101 public static ActivityOptionsCompat makeThumbnailScaleUpAnimation(View source, argument
105 ActivityOptionsCompatJB.makeThumbnailScaleUpAnimation(source, thumbnai
[all...]
/frameworks/base/core/java/android/content/pm/
H A DComponentInfo.java159 protected ComponentInfo(Parcel source) { argument
160 super(source);
161 applicationInfo = ApplicationInfo.CREATOR.createFromParcel(source);
162 processName = source.readString();
163 descriptionRes = source.readInt();
164 enabled = (source.readInt() != 0);
165 exported = (source.readInt() != 0);
H A DActivityInfo.java608 public ActivityInfo createFromParcel(Parcel source) {
609 return new ActivityInfo(source);
616 private ActivityInfo(Parcel source) { argument
617 super(source);
618 theme = source.readInt();
619 launchMode = source.readInt();
620 permission = source.readString();
621 taskAffinity = source.readString();
622 targetActivity = source.readString();
623 flags = source
[all...]
H A DContainerEncryptionParams.java325 private ContainerEncryptionParams(Parcel source) throws InvalidAlgorithmParameterException { argument
326 mEncryptionAlgorithm = source.readString();
327 final int encParamType = source.readInt();
328 final byte[] encParamsEncoded = source.createByteArray();
329 mEncryptionKey = (SecretKey) source.readSerializable();
331 mMacAlgorithm = source.readString();
332 final int macParamType = source.readInt();
333 source.createByteArray(); // byte[] macParamsEncoded
334 mMacKey = (SecretKey) source.readSerializable();
336 mMacTag = source
[all...]
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 DResolveInfo.java328 public ResolveInfo createFromParcel(Parcel source) {
329 return new ResolveInfo(source);
336 private ResolveInfo(Parcel source) { argument
340 switch (source.readInt()) {
342 activityInfo = ActivityInfo.CREATOR.createFromParcel(source);
345 serviceInfo = ServiceInfo.CREATOR.createFromParcel(source);
348 providerInfo = ProviderInfo.CREATOR.createFromParcel(source);
354 if (source.readInt() != 0) {
355 filter = IntentFilter.CREATOR.createFromParcel(source);
357 priority = source
[all...]
/frameworks/base/packages/FusedLocation/src/com/android/location/fused/
H A DFusedLocationProvider.java56 public WorkSource source; field in class:FusedLocationProvider.RequestWrapper
57 public RequestWrapper(ProviderRequestUnbundled request, WorkSource source) { argument
59 this.source = source;
98 mEngine.setRequest(wrapper.request, wrapper.source);
116 public void onSetRequest(ProviderRequestUnbundled request, WorkSource source) { argument
117 mHandler.obtainMessage(MSG_SET_REQUEST, new RequestWrapper(request, source)).sendToTarget();
/frameworks/av/media/libstagefright/
H A DXINGSeeker.cpp80 const sp<DataSource> &source, off64_t first_frame_pos) {
87 if (source->readAt(offset, &buffer, 4) < 4) { // get header
116 if (source->readAt(offset, &buffer, 4) < 4) { // XING header ID
129 if (source->readAt(offset, &buffer, 4) < 4) { // flags
136 if (source->readAt(offset, buffer, 4) < 4) {
150 if (source->readAt(offset, buffer, 4) < 4) {
157 if (source->readAt(offset + 1, seeker->mTOC, 99) < 99) {
166 if (source->readAt(offset, buffer, 4) < 4) {
173 if (source->readAt(xingbase + 0xaf - 0x24, &buffer, 1) < 1) { // encoding flags
182 if (source
79 CreateFromSource( const sp<DataSource> &source, off64_t first_frame_pos) argument
[all...]
H A DDataSource.cpp186 sp<DataSource> source; local
188 source = new FileSource(uri + 7);
215 source = new NuCachedSource2(
221 source = httpSource;
226 source = createDataUriSource(uri);
230 source = new FileSource(uri);
233 if (source == NULL || source->initCheck() != OK) {
237 return source;
H A DThrottledSource.cpp25 const sp<DataSource> &source,
27 : mSource(source),
24 ThrottledSource( const sp<DataSource> &source, int32_t bandwidthLimitBytesPerSecond) argument
/frameworks/base/core/java/android/content/
H A DSyncAdapterType.java206 public SyncAdapterType(Parcel source) { argument
208 source.readString(),
209 source.readString(),
210 source.readInt() != 0,
211 source.readInt() != 0,
212 source.readInt() != 0,
213 source.readInt() != 0,
214 source.readString());
218 public SyncAdapterType createFromParcel(Parcel source) {
219 return new SyncAdapterType(source);
[all...]
/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.java271 * direction from a source rect? This is the core routine that determines
274 * @param source The source we are searching from
279 boolean isBetterCandidate(int direction, Rect source, Rect rect1, Rect rect2) { argument
283 if (!isCandidate(source, rect1, direction)) {
289 if (!isCandidate(source, rect2, direction)) {
294 if (beamBeats(direction, source, rect1, rect2)) {
299 if (beamBeats(direction, source, rect2, rect1)) {
305 majorAxisDistance(direction, source, rect1),
306 minorAxisDistance(direction, source, rect
318 beamBeats(int direction, Rect source, Rect rect1, Rect rect2) argument
431 majorAxisDistance(int direction, Rect source, Rect dest) argument
435 majorAxisDistanceRaw(int direction, Rect source, Rect dest) argument
456 majorAxisDistanceToFarEdge(int direction, Rect source, Rect dest) argument
460 majorAxisDistanceToFarEdgeRaw(int direction, Rect source, Rect dest) argument
483 minorAxisDistance(int direction, Rect source, Rect dest) argument
[all...]
/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/libmediaplayerservice/nuplayer/
H A DStreamingSource.cpp37 const sp<IStreamSource> &source)
39 mSource(source),
145 sp<AnotherPacketSource> source = local
148 if (source == NULL) {
152 return source->getFormat();
160 sp<AnotherPacketSource> source = local
163 if (source == NULL) {
168 if (!source->hasBufferAvailable(&finalResult)) {
172 status_t err = source->dequeueAccessUnit(accessUnit);
35 StreamingSource( const sp<AMessage> &notify, const sp<IStreamSource> &source) argument
/frameworks/base/core/java/android/net/
H A DNetworkInfo.java157 public NetworkInfo(NetworkInfo source) { argument
158 if (source != null) {
159 mNetworkType = source.mNetworkType;
160 mSubtype = source.mSubtype;
161 mTypeName = source.mTypeName;
162 mSubtypeName = source.mSubtypeName;
163 mState = source.mState;
164 mDetailedState = source.mDetailedState;
165 mReason = source.mReason;
166 mExtraInfo = source
[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.java122 public WifiP2pConfig(WifiP2pConfig source) { argument
123 if (source != null) {
124 deviceAddress = source.deviceAddress;
125 wps = new WpsInfo(source.wps);
126 groupOwnerIntent = source.groupOwnerIntent;
127 netId = source.netId;
H A DWifiP2pWfdInfo.java159 public WifiP2pWfdInfo(WifiP2pWfdInfo source) { argument
160 if (source != null) {
161 mWfdEnabled = source.mWfdEnabled;
162 mDeviceInfo = source.mDeviceInfo;
163 mCtrlPort = source.mCtrlPort;
164 mMaxThroughput = source.mMaxThroughput;
/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,

Completed in 266 milliseconds

1234567891011>>