Home
last modified time | relevance | path

Searched refs:videoWidth (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Dialer/java/com/android/incallui/videosurface/impl/
DVideoScale.java30 TextureView textureView, float videoWidth, float videoHeight, float rotationDegrees) { in scaleVideoAndFillView() argument
34 float videoAspectRatio = videoWidth / videoHeight; in scaleVideoAndFillView()
40 float scaleFactor = viewWidth / videoWidth; in scaleVideoAndFillView()
46 float desiredScaledWidth = videoWidth * scaleFactor; in scaleVideoAndFillView()
71 videoWidth, in scaleVideoAndFillView()
96 TextureView textureView, int videoWidth, int videoHeight) { in scaleVideoMaintainingAspectRatio() argument
104 if (viewHeight * videoWidth > viewWidth * videoHeight) { in scaleVideoMaintainingAspectRatio()
106 int desiredHeight = viewWidth * videoHeight / videoWidth; in scaleVideoMaintainingAspectRatio()
108 } else if (viewHeight * videoWidth < viewWidth * videoHeight) { in scaleVideoMaintainingAspectRatio()
110 int desiredWidth = viewHeight * videoWidth / videoHeight; in scaleVideoMaintainingAspectRatio()
[all …]
/packages/apps/TV/tests/common/src/com/android/tv/testing/data/
DChannelInfo.java51 public final int videoWidth; field in ChannelInfo
118 int videoWidth, in ChannelInfo() argument
134 this.videoWidth = videoWidth; in ChannelInfo()
164 + videoWidth in toString()
196 && Objects.equals(videoWidth, that.videoWidth) in equals()
243 mVideoWidth = other.videoWidth; in Builder()
272 public Builder setVideoWidth(int videoWidth) { in setVideoWidth() argument
273 mVideoWidth = videoWidth; in setVideoWidth()
/packages/apps/Dialer/java/com/android/incallui/videosurface/bindings/
DVideoSurfaceBindings.java36 TextureView textureView, float videoWidth, float videoHeight, float rotationDegrees) { in scaleVideoAndFillView() argument
37 VideoScale.scaleVideoAndFillView(textureView, videoWidth, videoHeight, rotationDegrees); in scaleVideoAndFillView()
41 TextureView textureView, int videoWidth, int videoHeight) { in scaleVideoMaintainingAspectRatio() argument
42 VideoScale.scaleVideoMaintainingAspectRatio(textureView, videoWidth, videoHeight); in scaleVideoMaintainingAspectRatio()
/packages/apps/Camera2/src/com/android/camera/data/
DMetadata.java67 public void setVideoWidth(int videoWidth) { in setVideoWidth() argument
68 mVideoWidth = videoWidth; in setVideoWidth()
/packages/modules/Media/apex/framework/jni/
Dandroid_media_MediaParserJNI.cpp72 jstring trackCodecsJstring, jstring alteredParameters, jint videoWidth, in JNI_FUNCTION() argument
92 mediametrics_setInt32(item, kAttributeVideoWidth, videoWidth); in JNI_FUNCTION()
/packages/apps/TV/src/com/android/tv/dvr/ui/playback/
DDvrPlayer.java526 int videoWidth = trackInfo.getVideoWidth(); in setTvViewCallbacks()
528 if (videoWidth > 0 && videoHeight > 0) { in setTvViewCallbacks()
/packages/modules/Media/apex/framework/java/android/media/
DMediaParser.java1316 int videoWidth = -1; in release() local
1321 videoWidth = format.width; in release()
1349 videoWidth, in release() local
2222 int videoWidth, in nativeSubmitMetrics() argument
/packages/apps/TV/src/com/android/tv/dvr/data/
DRecordedProgram.java275 public abstract Builder setVideoWidth(int videoWidth); in setVideoWidth() argument