Searched refs:videoHeight (Results 1 – 8 of 8) sorted by relevance
/packages/apps/Dialer/java/com/android/incallui/videosurface/impl/ |
D | VideoScale.java | 30 TextureView textureView, float videoWidth, float videoHeight, float rotationDegrees) { in scaleVideoAndFillView() argument 34 float videoAspectRatio = videoWidth / videoHeight; in scaleVideoAndFillView() 41 float desiredScaledHeight = videoHeight * scaleFactor; in scaleVideoAndFillView() 45 float scaleFactor = viewHeight / videoHeight; in scaleVideoAndFillView() 72 videoHeight, 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/ |
D | ChannelInfo.java | 52 public final int videoHeight; field in ChannelInfo 119 int videoHeight, in ChannelInfo() argument 135 this.videoHeight = videoHeight; in ChannelInfo() 149 return VIDEO_HEIGHT_TO_FORMAT_MAP.get(videoHeight); in getVideoFormat() 166 + videoHeight in toString() 197 && Objects.equals(videoHeight, that.videoHeight) in equals() 244 mVideoHeight = other.videoHeight; in Builder() 277 public Builder setVideoHeight(int videoHeight) { in setVideoHeight() argument 278 mVideoHeight = videoHeight; in setVideoHeight()
|
/packages/apps/Dialer/java/com/android/incallui/videosurface/bindings/ |
D | VideoSurfaceBindings.java | 36 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/ |
D | Metadata.java | 75 public void setVideoHeight(int videoHeight) { in setVideoHeight() argument 76 mVideoHeight = videoHeight; in setVideoHeight()
|
/packages/modules/Media/apex/framework/jni/ |
D | android_media_MediaParserJNI.cpp | 73 jint videoHeight) { in JNI_FUNCTION() argument 93 mediametrics_setInt32(item, kAttributeVideoHeight, videoHeight); in JNI_FUNCTION()
|
/packages/apps/TV/src/com/android/tv/dvr/ui/playback/ |
D | DvrPlayer.java | 527 int videoHeight = trackInfo.getVideoHeight(); in setTvViewCallbacks() 528 if (videoWidth > 0 && videoHeight > 0) { in setTvViewCallbacks()
|
/packages/modules/Media/apex/framework/java/android/media/ |
D | MediaParser.java | 1317 int videoHeight = -1; in release() local 1322 videoHeight = format.height; in release() 1350 videoHeight); in release() local 2223 int videoHeight); in nativeSubmitMetrics() argument
|
/packages/apps/TV/src/com/android/tv/dvr/data/ |
D | RecordedProgram.java | 277 public abstract Builder setVideoHeight(int videoHeight); in setVideoHeight() argument
|