HomeSort by relevance Sort by last modified time
    Searched defs:source (Results 1351 - 1375 of 4117) sorted by null

<<51525354555657585960>>

  /frameworks/av/media/libstagefright/wifi-display/source/
PlaybackSession.cpp 2 * Copyright 2012, The Android Open Source Project
64 void setRepeaterSource(const sp<RepeaterSource> &source);
280 const sp<RepeaterSource> &source) {
281 mRepeaterSource = source;
911 bool isVideo, const sp<MediaSource> &source, bool isRepeaterSource,
943 status_t err = convertMetaDataToMessage(source->getFormat(), &format);
984 sp<MediaPuller> puller = new MediaPuller(source, notify);
998 track->setRepeaterSource(static_cast<RepeaterSource *>(source.get()));
1046 sp<SurfaceMediaSource> source = new SurfaceMediaSource(width, height); local
1048 source->setUseAbsoluteTimestamps()
    [all...]
  /frameworks/av/media/mtp/
MtpFfsHandle.cpp 2 * Copyright (C) 2016 The Android Open Source Project
75 struct usb_endpoint_descriptor_no_audio source; member in struct:__anon38706::func_desc
83 struct usb_endpoint_descriptor_no_audio source; member in struct:__anon38706::ss_func_desc
225 .source = fs_source,
232 .source = hs_source,
240 .source = ss_source,
249 .source = fs_source,
256 .source = hs_source,
264 .source = ss_source,
  /frameworks/av/services/audiopolicy/common/managerdefinitions/src/
Serializer.cpp 2 * Copyright (C) 2015 The Android Open Source Project
236 audio_port_role_t portRole = role == "source" ? AUDIO_PORT_ROLE_SOURCE : AUDIO_PORT_ROLE_SINK;
254 // Source role
277 const char DevicePortTraits::Attributes::roleSource[] = "source";
384 sp<AudioPort> source = ctx->findPortByTagName(String8(devTag)); local
385 if (source == NULL) {
386 ALOGE("%s: no source found with name=%s", __FUNCTION__, devTag);
390 sources.add(source);
398 sp<AudioPort> source = sources.itemAt(i); local
399 source->addRoute(element)
    [all...]
  /frameworks/base/core/java/android/content/
ContentProviderOperation.java 2 * Copyright (C) 2009 The Android Open Source Project
74 private ContentProviderOperation(Parcel source) {
75 mType = source.readInt();
76 mUri = Uri.CREATOR.createFromParcel(source);
77 mValues = source.readInt() != 0 ? ContentValues.CREATOR.createFromParcel(source) : null;
78 mSelection = source.readInt() != 0 ? source.readString() : null;
79 mSelectionArgs = source.readInt() != 0 ? source.readStringArray() : null
    [all...]
  /frameworks/base/core/java/android/view/
InputEventConsistencyVerifier.java 2 * Copyright (C) 2010 The Android Open Source Project
86 // The device id and source of the current stream of touch events.
207 final int source = event.getSource(); local
211 KeyState state = findKeyState(deviceId, source, keyCode, /*remove*/ false);
225 addKeyState(deviceId, source, keyCode);
230 KeyState state = findKeyState(deviceId, source, keyCode, /*remove*/ true);
268 final int source = event.getSource(); local
269 if ((source & InputDevice.SOURCE_CLASS_TRACKBALL) != 0) {
306 problem("Source was not SOURCE_CLASS_TRACKBALL.");
343 final int source = event.getSource() local
472 final int source = event.getSource(); local
594 final int source = keyEvent.getSource(); local
773 public int source; field in class:InputEventConsistencyVerifier.KeyState
    [all...]
  /frameworks/base/core/tests/coretests/src/android/content/pm/
RegisteredServicesCacheTest.java 2 * Copyright (C) 2015 The Android Open Source Project
366 public TestServiceType(Parcel source) {
367 this(source.readString(), source.readString());
371 public TestServiceType createFromParcel(Parcel source) {
372 return new TestServiceType(source);
  /frameworks/base/media/java/android/media/
ThumbnailUtils.java 2 * Copyright (C) 2009 The Android Open Source Project
196 * @param source original bitmap source
201 Bitmap source, int width, int height) {
202 return extractThumbnail(source, width, height, OPTIONS_NONE);
208 * @param source original bitmap source
214 Bitmap source, int width, int height, int options) {
215 if (source == null) {
220 if (source.getWidth() < source.getHeight())
    [all...]
  /frameworks/base/media/mca/filterfw/java/android/filterfw/core/
FilterGraph.java 2 * Copyright (C) 2011 The Android Open Source Project
82 public void connect(Filter source,
86 if (source == null || target == null) {
88 } else if (!containsFilter(source) || !containsFilter(target)) {
92 OutputPort outPort = source.getOutputPort(outputName);
96 source + "!");
109 Filter source = getFilter(sourceName); local
111 if (source == null) {
113 "Attempting to connect unknown source filter '" + sourceName + "'!");
118 connect(source, outputName, target, inputName)
    [all...]
  /frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/
TiledImageView.java 2 * Copyright (C) 2013 The Android Open Source Project
67 public TileSource source; field in class:TiledImageView.ImageRendererWrapper
152 public void setTileSource(TileSource source, Runnable isReadyCallback) {
157 mRenderer.source = source;
159 mRenderer.centerX = source != null ? source.getImageWidth() / 2 : 0;
160 mRenderer.centerY = source != null ? source.getImageHeight() / 2 : 0;
161 mRenderer.rotation = source != null ? source.getRotation() : 0
    [all...]
  /frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/
CropView.java 2 * Copyright (C) 2013 The Android Open Source Project
71 final float imageWidth = mRenderer.source.getImageWidth();
72 final float imageHeight = mRenderer.source.getImageHeight();
89 float initialCenterX = mRenderer.source.getImageWidth() / 2f;
90 float initialCenterY = mRenderer.source.getImageHeight() / 2f;
133 return new Point(mRenderer.source.getImageWidth(), mRenderer.source.getImageHeight());
136 public void setTileSource(TileSource source, Runnable isReadyCallback) {
137 super.setTileSource(source, isReadyCallback);
144 updateMinScale(getWidth(), getHeight(), source, true) local
    [all...]
  /frameworks/base/services/core/java/com/android/server/content/
SyncOperation.java 2 * Copyright (C) 2010 The Android Open Source Project
101 int reason, int source, String provider, Bundle extras,
104 reason, source, extras, allowParallelSyncs);
108 int reason, int source, Bundle extras, boolean allowParallelSyncs) {
109 this(info, owningUid, owningPackage, reason, source, extras, allowParallelSyncs, false,
120 int reason, int source, Bundle extras, boolean allowParallelSyncs,
127 this.syncSource = source;
222 jobInfoExtras.putInt("source", syncSource);
243 int reason, source; local
260 source = jobExtras.getInt("source", Integer.MAX_VALUE)
    [all...]
  /frameworks/base/services/core/java/com/android/server/display/
ColorFade.java 2 * Copyright (C) 2014 The Android Open Source Project
203 String source = readFile(context, resourceId); local
207 GLES20.glShaderSource(shader, source);
  /frameworks/base/tests/NetworkSecurityConfigTest/src/android/security/net/config/
XmlConfigTests.java 2 * Copyright (C) 2015 The Android Open Source Project
47 XmlConfigSource source = new XmlConfigSource(getContext(), R.xml.empty_config); local
48 ApplicationConfig appConfig = new ApplicationConfig(source);
59 SSLContext context = TestUtils.getSSLContext(source);
66 XmlConfigSource source = new XmlConfigSource(getContext(), R.xml.empty_trust); local
67 ApplicationConfig appConfig = new ApplicationConfig(source);
77 SSLContext context = TestUtils.getSSLContext(source);
84 XmlConfigSource source = new XmlConfigSource(getContext(), R.xml.domain1); local
85 ApplicationConfig appConfig = new ApplicationConfig(source);
103 SSLContext context = TestUtils.getSSLContext(source);
120 XmlConfigSource source = new XmlConfigSource(getContext(), R.xml.pins1); local
135 XmlConfigSource source = new XmlConfigSource(getContext(), R.xml.expired_pin); local
149 XmlConfigSource source = new XmlConfigSource(getContext(), R.xml.override_pins); local
163 XmlConfigSource source = new XmlConfigSource(getContext(), R.xml.bad_pin); local
178 XmlConfigSource source = new XmlConfigSource(getContext(), R.xml.multiple_domains); local
199 XmlConfigSource source = new XmlConfigSource(getContext(), R.xml.multiple_configs); local
214 XmlConfigSource source = new XmlConfigSource(getContext(), R.xml.subdomains); local
227 XmlConfigSource source = new XmlConfigSource(getContext(), R.xml.attributes); local
236 XmlConfigSource source = new XmlConfigSource(getContext(), R.xml.resource_anchors_pem); local
252 XmlConfigSource source = new XmlConfigSource(getContext(), R.xml.resource_anchors_der); local
268 XmlConfigSource source = new XmlConfigSource(getContext(), R.xml.nested_domains); local
286 XmlConfigSource source = new XmlConfigSource(getContext(), R.xml.nested_domains_override); local
297 XmlConfigSource source = new XmlConfigSource(getContext(), R.xml.debug_basic, false); local
308 XmlConfigSource source = new XmlConfigSource(getContext(), R.xml.debug_basic, true); local
322 XmlConfigSource source = new XmlConfigSource(getContext(), R.xml.debug_domain, true); local
340 XmlConfigSource source = new XmlConfigSource(getContext(), R.xml.debug_domain, true); local
360 XmlConfigSource source = new XmlConfigSource(getContext(), configId); local
396 XmlConfigSource source = new XmlConfigSource(getContext(), R.xml.bad_pin, true); local
418 XmlConfigSource source = new XmlConfigSource(getContext(), R.xml.override_dedup, true); local
436 XmlConfigSource source = local
453 XmlConfigSource source = local
469 XmlConfigSource source = local
    [all...]
  /frameworks/native/libs/input/
InputTransport.cpp 2 // Copyright 2010 The Android Open Source Project
245 int32_t source,
255 ALOGD("channel '%s' publisher ~ publishKeyEvent: seq=%u, deviceId=%d, source=0x%x, "
259 deviceId, source, action, flags, keyCode, scanCode, metaState, repeatCount,
272 msg.body.key.source = source;
287 int32_t source,
304 ALOGD("channel '%s' publisher ~ publishMotionEvent: seq=%u, deviceId=%d, source=0x%x, "
310 deviceId, source, action, actionButton, flags, edgeFlags, metaState, buttonState,
329 msg.body.motion.source = source
588 int32_t source = msg->body.motion.source; local
    [all...]
  /frameworks/opt/net/voip/src/java/com/android/server/sip/
SipHelper.java 2 * Copyright (C) 2010 The Android Open Source Project
509 Object source = event.getSource(); local
510 if (source instanceof Transaction) {
511 return getCallId(((Transaction) source));
512 } else if (source instanceof Dialog) {
513 return getCallId((Dialog) source);
  /frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/
Playback.java 2 * Copyright (C) 2015 The Android Open Source Project
165 String source = track.getString(MusicProvider.CUSTOM_METADATA_TRACK_SOURCE); local
173 mMediaPlayer.setDataSource(source);
  /frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/model/
MusicProvider.java 2 * Copyright (C) 2015 The Android Open Source Project
59 private static final String JSON_SOURCE = "source";
257 String source = json.getString(JSON_SOURCE); local
266 if (!source.startsWith("http")) {
267 source = basePath + source;
273 // the music source. In a real world app, this could come from the server.
274 String id = String.valueOf(source.hashCode());
276 // Adding the music source to the MediaMetadata (and consequently using it in the
282 .putString(CUSTOM_METADATA_TRACK_SOURCE, source)
    [all...]
  /hardware/intel/img/psb_video/src/
tng_enc_trace.c 808 IMG_SOURCE_BUFFER_PARAMS *source = (IMG_SOURCE_BUFFER_PARAMS*) data; local
    [all...]
  /hardware/interfaces/audio/2.0/vts/functional/
AudioPrimaryHidlHalTest.cpp 2 * Copyright (C) 2017 The Android Open Source Project
344 // https://source.android.com/compatibility/android-cdd.html#5_4_audio_recording
346 // https://source.android.com/compatibility/android-cdd.html#5_5_audio_playback
681 AudioSource source = variable
686 source, cb);
1019 AudioSource source; local
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
OutputStreamWriterTest.java 44 static private final String source = "This is a test message with Unicode character. \u4e2d\u56fd is China's name in Chinese"; field in class:OutputStreamWriterTest
101 writer.write(source);
104 assertEquals(source, result);
111 char[] chars = source.toCharArray();
164 assertEquals("hi" + source, out.toString("utf-8"));
263 writer.write(source, 0, source.length());
265 assertEquals("bc" + source, out.toString("utf-8"));
  /libcore/ojluni/src/main/java/sun/invoke/util/
Wrapper.java 142 public boolean isConvertibleFrom(Wrapper source) {
143 if (this == source) return true;
144 if (this.compareTo(source) < 0) {
150 boolean floatOrSigned = (((this.format & source.format) & Format.SIGNED) != 0);
154 if (source.format == Format.CHAR) return true;
160 assert(source.isFloating() || source.isSigned());
470 Wrapper source = findWrapperType(sourceType); local
471 if (source == null || !this.isConvertibleFrom(source)) {
    [all...]
  /libcore/ojluni/src/test/java/util/stream/bootlib/java/util/stream/
OpTestCase.java 449 default R run(Function<S_OUT, R> terminalF, S_OUT source, StreamShape shape) {
450 return terminalF.apply(source);
460 public Object run(Function terminalF, BaseStream source, StreamShape shape) {
461 source = (BaseStream) chain(source, new ShortCircuitOp(shape));
462 return terminalF.apply(source);
472 public Object run(Function terminalF, BaseStream source, StreamShape shape) {
473 source = (BaseStream) chain(source, new ShortCircuitOp(shape));
474 return terminalF.apply(source);
554 S_OUT source = (S_OUT) createPipeline(shape, node.spliterator(), local
563 S_OUT source; local
    [all...]
  /libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/
OpTestCase.java 450 default R run(Function<S_OUT, R> terminalF, S_OUT source, StreamShape shape) {
451 return terminalF.apply(source);
461 public Object run(Function terminalF, BaseStream source, StreamShape shape) {
462 source = (BaseStream) chain(source, new ShortCircuitOp(shape));
463 return terminalF.apply(source);
473 public Object run(Function terminalF, BaseStream source, StreamShape shape) {
474 source = (BaseStream) chain(source, new ShortCircuitOp(shape));
475 return terminalF.apply(source);
555 S_OUT source = (S_OUT) createPipeline(shape, node.spliterator(), local
564 S_OUT source; local
    [all...]
  /packages/apps/Gallery/src/com/android/camera/
ImageManager.java 2 * Copyright (C) 2007 The Android Open Source Project
202 Bitmap source, byte[] jpegData, int[] degree) {
212 if (source != null) {
213 source.compress(CompressFormat.JPEG, 75, outputStream);
Util.java 2 * Copyright (C) 2009 The Android Open Source Project
151 Bitmap source,
156 int deltaX = source.getWidth() - targetWidth;
157 int deltaY = source.getHeight() - targetHeight;
174 deltaXHalf + Math.min(targetWidth, source.getWidth()),
175 deltaYHalf + Math.min(targetHeight, source.getHeight()));
183 c.drawBitmap(source, src, dst, null);
185 source.recycle();
189 float bitmapWidthF = source.getWidth();
190 float bitmapHeightF = source.getHeight()
    [all...]

Completed in 1902 milliseconds

<<51525354555657585960>>