/frameworks/base/core/java/android/view/ |
H A D | View.java | 10505 * Request unbuffered dispatch of the given stream of MotionEvents to this View. 21687 * event stream. 22425 public void encode(@NonNull ViewHierarchyEncoder stream) { argument 22426 stream.beginObject(this); 22427 encodeProperties(stream); 22428 stream.endObject(); 22433 protected void encodeProperties(@NonNull ViewHierarchyEncoder stream) { argument 22436 stream.addProperty("id", (String) resolveId); 22438 stream.addProperty("id", mID); 22441 stream [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | ImageView.java | 832 InputStream stream = null; 834 stream = mContext.getContentResolver().openInputStream(mUri); 835 d = Drawable.createFromStream(stream, null); 839 if (stream != null) { 841 stream.close(); 1498 protected void encodeProperties(@NonNull ViewHierarchyEncoder stream) { argument 1499 super.encodeProperties(stream); 1500 stream.addProperty("layout:baseline", getBaseline());
|
H A D | SuggestionsAdapter.java | 604 InputStream stream = mProviderContext.getContentResolver().openInputStream(uri); 605 if (stream == null) { 609 return Drawable.createFromStream(stream, null); 612 stream.close(); 614 Log.e(LOG_TAG, "Error closing icon stream for " + uri, ex);
|
/frameworks/base/core/jni/android/graphics/ |
H A D | Movie.cpp | 87 SkAutoTDelete<SkStreamRewindable> stream(new android::AssetStreamAdaptor(asset)); 88 SkMovie* moov = SkMovie::DecodeStream(stream.get()); 104 // trying to determine the stream's format. The only decoder for movies is GIF, which
|
H A D | YuvToJpegEncoder.cpp | 26 bool YuvToJpegEncoder::encode(SkWStream* stream, void* inYuv, int width, argument 30 skjpeg_destination_mgr sk_wstream(stream);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/ |
H A D | NotificationPlayer.java | 293 * @param stream the AudioStream to use. 298 public void play(Context context, Uri uri, boolean looping, int stream) { argument 305 cmd.attributes = new AudioAttributes.Builder().setInternalLegacyStreamType(stream).build();
|
/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/ |
H A D | DisplaySourceService.java | 212 stream(codec); 227 private void stream(MediaCodec codec) { method in class:DisplaySourceService.VirtualDisplayThread
|
/frameworks/support/v4/api21/android/support/v4/media/session/ |
H A D | MediaSessionCompatApi21.java | 68 public static void setPlaybackToLocal(Object sessionObj, int stream) { argument 71 bob.setLegacyStreamType(stream);
|
/frameworks/base/core/jni/ |
H A D | android_media_AudioSystem.cpp | 294 android_media_AudioSystem_isStreamActive(JNIEnv *env, jobject thiz, jint stream, jint inPastMs) argument 297 AudioSystem::isStreamActive((audio_stream_type_t) stream, &state, inPastMs); 302 android_media_AudioSystem_isStreamActiveRemotely(JNIEnv *env, jobject thiz, jint stream, argument 306 AudioSystem::isStreamActiveRemotely((audio_stream_type_t) stream, &state, inPastMs); 432 android_media_AudioSystem_initStreamVolume(JNIEnv *env, jobject thiz, jint stream, jint indexMin, jint indexMax) argument 434 return (jint) check_AudioSystem_Command(AudioSystem::initStreamVolume(static_cast <audio_stream_type_t>(stream), 442 jint stream, 447 AudioSystem::setStreamVolumeIndex(static_cast <audio_stream_type_t>(stream), 455 jint stream, 459 if (AudioSystem::getStreamVolumeIndex(static_cast <audio_stream_type_t>(stream), 440 android_media_AudioSystem_setStreamVolumeIndex(JNIEnv *env, jobject thiz, jint stream, jint index, jint device) argument 453 android_media_AudioSystem_getStreamVolumeIndex(JNIEnv *env, jobject thiz, jint stream, jint device) argument 501 android_media_AudioSystem_getDevicesForStream(JNIEnv *env, jobject thiz, jint stream) argument 519 android_media_AudioSystem_getOutputLatency(JNIEnv *env, jobject clazz, jint stream) argument [all...] |
/frameworks/av/services/camera/libcameraservice/device3/ |
H A D | Camera3Stream.cpp | 39 Camera3Stream* Camera3Stream::cast(camera3_stream *stream) { argument 40 return static_cast<Camera3Stream*>(stream); 43 const Camera3Stream* Camera3Stream::cast(const camera3_stream *stream) { argument 44 return static_cast<const Camera3Stream*>(stream); 114 ALOGE("%s: Cannot configure stream; has outstanding buffers", 185 // Check if the stream configuration is unchanged, and skip reallocation if 202 ALOGE("%s: Unable to configure stream %d queue: %s (%d)", 210 ALOGE("%s: Unable to register stream buffers with HAL: %s (%d)", 263 ALOGE("%s: Stream %d: Can't prepare stream if max buffer count (%d) is < 0", 268 // This function should be only called when the stream i [all...] |
H A D | Camera3IOStreamBase.cpp | 46 ALOGE("%s: Bad format for size-only stream: %d", __FUNCTION__, 156 buffer.stream = this;
|
/frameworks/base/tools/orientationplot/ |
H A D | orientationplot.py | 38 # Non-blocking stream wrapper. 40 def __init__(self, stream): 41 fcntl.fcntl(stream, fcntl.F_SETFL, os.O_NONBLOCK) 42 self.stream = stream 57 chunk = os.read(self.stream.fileno(), 4096)
|
/frameworks/base/services/core/java/com/android/server/wallpaper/ |
H A D | WallpaperManagerService.java | 1151 FileOutputStream stream = null; 1153 stream = new FileOutputStream(journal.chooseForWrite(), false); 1155 out.setOutput(stream, StandardCharsets.UTF_8.name()); 1182 stream.flush(); 1183 FileUtils.sync(stream); 1184 stream.close(); 1188 if (stream != null) { 1189 stream.close(); 1239 FileInputStream stream = null; 1252 stream [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p2/src/ |
H A D | omxVCM4P2_DecodePadMV_PVOP_s.s | 39 ; * the bit stream buffer 53 ; * bit stream syntax 60 ; * stream buffer 268 M_BD_VREAD8 mvVerResidual,temp,T1,T2 ;// Get mvVerResidual from bit stream if fcodeForward>1 and mnVerData!=0
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p2/src/ |
H A D | omxVCM4P2_DecodePadMV_PVOP_s.s | 39 ; * the bit stream buffer 53 ; * bit stream syntax 60 ; * stream buffer 268 M_BD_VREAD8 mvVerResidual,temp,T1,T2 ;// Get mvVerResidual from bit stream if fcodeForward>1 and mnVerData!=0
|
/frameworks/base/core/java/android/os/ |
H A D | FileUtils.java | 155 * Perform an fsync on the given FileOutputStream. The stream at this 158 public static boolean sync(FileOutputStream stream) { argument 160 if (stream != null) { 161 stream.getFD().sync(); 187 * Copy data from a source stream to destFile. 238 // input stream, bytes read not equal to buffer size is not necessarily the correct 605 mimeTypeFromExt = "application/octet-stream";
|
/frameworks/base/core/java/android/preference/ |
H A D | SeekBarVolumizer.java | 115 private static boolean isNotificationOrRing(int stream) { argument 116 return stream == AudioManager.STREAM_RING || stream == AudioManager.STREAM_NOTIFICATION; 204 Log.w(TAG, "Error playing ringtone, stream " + mStreamType, e);
|
/frameworks/base/services/core/java/com/android/server/ |
H A D | DeviceIdleController.java | 1518 FileInputStream stream; 1520 stream = mConfigFile.openRead(); 1526 parser.setInput(stream, StandardCharsets.UTF_8.name()); 1531 stream.close(); 1612 FileOutputStream stream = null; 1614 stream = mConfigFile.startWrite(); 1615 memStream.writeTo(stream); 1616 stream.flush(); 1617 FileUtils.sync(stream); 1618 stream [all...] |
/frameworks/data-binding/gradlePlugin/src/main/java/android/databinding/tool/ |
H A D | DataBinderPlugin.java | 180 InputStream stream = getClass().getResourceAsStream("/data_binding_build_info"); 182 return IOUtils.toString(stream, "utf-8").trim(); 184 IOUtils.closeQuietly(stream);
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | Icon.java | 396 * Writes a serialized version of an Icon to the specified stream. 398 * @param stream The stream on which to serialize the Icon. 401 public void writeToStream(OutputStream stream) throws IOException { argument 402 DataOutputStream dataStream = new DataOutputStream(stream); 430 * Create an Icon from the specified stream. 432 * @param stream The input stream from which to reconstruct the Icon. 435 public static Icon createFromStream(InputStream stream) throws IOException { argument 436 DataInputStream inputStream = new DataInputStream(stream); [all...] |
/frameworks/base/media/tests/ScoAudioTest/src/com/android/scoaudiotest/ |
H A D | ScoAudioTest.java | 116 name.setText("VOICE_CALL stream"); 334 SimplePlayerController(Context context, int playPausebuttonId, int stopButtonId, String fileName, int stream) { argument 339 mStreamType = stream; 344 SimplePlayerController(Context context, int playPausebuttonId, int stopButtonId, int fileResId, int stream) { argument 349 mStreamType = stream;
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
H A D | VirtualDisplaySurface.h | 115 virtual status_t setSidebandStream(const sp<NativeHandle>& stream);
|
/frameworks/rs/ |
H A D | rsScript.h | 42 virtual void serialize(Context *rsc, OStream *stream) const {}
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | SuggestionsAdapter.java | 536 InputStream stream = mProviderContext.getContentResolver().openInputStream(uri); 537 if (stream == null) { 541 return Drawable.createFromStream(stream, null); 544 stream.close(); 546 Log.e(LOG_TAG, "Error closing icon stream for " + uri, ex);
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/ |
H A D | Android.mk | 46 src/stream.c \
|