Home
last modified time | relevance | path

Searched refs:videoHeight (Results 1 – 7 of 7) sorted by relevance

/developers/build/prebuilts/gradle/PictureInPicture/kotlinApp/app/src/main/java/com/example/android/pictureinpicture/widget/
DMovieView.kt183 val videoHeight = player.videoHeight in <lambda>() constant
184 if (videoWidth != 0 && videoHeight != 0) { in <lambda>()
185 val aspectRatio = videoHeight.toFloat() / videoWidth in <lambda>()
/developers/samples/android/media/PictureInPicture/kotlinApp/app/src/main/java/com/example/android/pictureinpicture/widget/
DMovieView.kt183 val videoHeight = player.videoHeight in <lambda>() constant
184 if (videoWidth != 0 && videoHeight != 0) { in <lambda>()
185 val aspectRatio = videoHeight.toFloat() / videoWidth in <lambda>()
/developers/build/prebuilts/androidtv/sample-inputs/app/src/main/java/com/example/android/sampletvinput/rich/
DChannelXMLParser.java123 int videoHeight = 0; in parseChannel() local
140 videoHeight = Integer.parseInt(value); in parseChannel()
159 videoWidth, videoHeight, programs); in parseChannel()
DRichTvInputService.java433 public final int videoHeight; field in RichTvInputService.ChannelInfo
437 int transportStreamId, int serviceId, int videoWidth, int videoHeight, in ChannelInfo() argument
446 this.videoHeight = videoHeight; in ChannelInfo()
/developers/samples/android/media/PictureInPicture/app/src/main/java/com/example/android/pictureinpicture/widget/
DMovieView.java208 final int videoHeight = mMediaPlayer.getVideoHeight(); in onMeasure() local
209 if (videoWidth != 0 && videoHeight != 0) { in onMeasure()
210 final float aspectRatio = (float) videoHeight / videoWidth; in onMeasure()
/developers/build/prebuilts/gradle/PictureInPicture/app/src/main/java/com/example/android/pictureinpicture/widget/
DMovieView.java208 final int videoHeight = mMediaPlayer.getVideoHeight(); in onMeasure() local
209 if (videoWidth != 0 && videoHeight != 0) { in onMeasure()
210 final float aspectRatio = (float) videoHeight / videoWidth; in onMeasure()
/developers/build/prebuilts/androidtv/sample-inputs/app/src/main/java/com/example/android/sampletvinput/
DTvContractUtils.java100 String videoFormat = getVideoFormat(channel.videoHeight); in updateChannels()
149 private static String getVideoFormat(int videoHeight) { in getVideoFormat() argument
150 return VIDEO_HEIGHT_TO_FORMAT_MAP.get(videoHeight); in getVideoFormat()