Home
last modified time | relevance | path

Searched refs:mVideoHeight (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/core/java/android/widget/
DVideoView.java124 private int mVideoHeight; field in VideoView
165 mVideoHeight = 0; in VideoView()
188 int height = getDefaultSize(mVideoHeight, heightMeasureSpec); in onMeasure()
189 if (mVideoWidth > 0 && mVideoHeight > 0) { in onMeasure()
202 if ( mVideoWidth * height < width * mVideoHeight ) { in onMeasure()
204 width = height * mVideoWidth / mVideoHeight; in onMeasure()
205 } else if ( mVideoWidth * height > width * mVideoHeight ) { in onMeasure()
207 height = width * mVideoHeight / mVideoWidth; in onMeasure()
212 height = width * mVideoHeight / mVideoWidth; in onMeasure()
220 width = height * mVideoWidth / mVideoHeight; in onMeasure()
[all …]
/frameworks/base/media/java/android/media/tv/
DTvTrackInfo.java71 private final int mVideoHeight; field in TvTrackInfo
95 mVideoHeight = videoHeight; in TvTrackInfo()
115 mVideoHeight = in.readInt(); in TvTrackInfo()
275 return mVideoHeight; in getVideoHeight()
352 dest.writeInt(mVideoHeight); in writeToParcel()
389 && mVideoHeight == obj.mVideoHeight in equals()
408 result = Objects.hash(result, mVideoWidth, mVideoHeight, mVideoFrameRate, in hashCode()
444 private int mVideoHeight; field in TvTrackInfo.Builder
637 mVideoHeight = videoHeight; in setVideoHeight()
714 mSpokenSubtitle, mVideoWidth, mVideoHeight, mVideoFrameRate, in build()
DTvInputManager.java1772 private int mVideoHeight;
1907 mVideoHeight = 0;
2096 if (mVideoWidth != videoWidth || mVideoHeight != videoHeight) {
2098 mVideoHeight = videoHeight;
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DVideoViewCaptureActivity.java36 private int mVideoWidth, mVideoHeight; field in VideoViewCaptureActivity
45 mVideoHeight = mp.getVideoHeight(); in onCreate()
56 mVideoWidth, mVideoHeight, in onCreate()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/
DMediaPlayerPerformance.java92 private int mVideoHeight; field in MediaPlayerPerformance
111 mVideoHeight = mCamcorderProfile.videoFrameHeight; in setUp()
112 Log.v(TAG, "height = " + mVideoHeight + " width= " + mVideoWidth); in setUp()
460 assertTrue(stressVideoRecord(frameRate, mVideoWidth, mVideoHeight, in testH263RecordVideoOnlyMemoryUsage()
481 assertTrue(stressVideoRecord(frameRate, mVideoWidth, mVideoHeight, in testMpeg4RecordVideoOnlyMemoryUsage()
503 assertTrue(stressVideoRecord(frameRate, mVideoWidth, mVideoHeight, in testRecordVideoAudioMemoryUsage()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
DMediaRecorderStressTestRunner.java42 public static int mVideoHeight = profile.videoFrameHeight; field in MediaRecorderStressTestRunner
90 mVideoHeight = Integer.parseInt(videoHeight); in onCreate()
/frameworks/av/media/libmediaplayerservice/
DStagefrightRecorder.cpp156 mAnalyticsItem->setInt32(kRecorderHeight, mVideoHeight); in updateMetrics()
323 mVideoHeight = height; in setVideoSize()
1465 videoFrameHeight == mVideoHeight && in setDefaultProfileIfNecessary()
1581 if (minFrameHeight != -1 && mVideoHeight < minFrameHeight) { in clipVideoFrameHeight()
1583 " and will be set to (%d)", mVideoHeight, minFrameHeight); in clipVideoFrameHeight()
1584 mVideoHeight = minFrameHeight; in clipVideoFrameHeight()
1585 } else if (maxFrameHeight != -1 && mVideoHeight > maxFrameHeight) { in clipVideoFrameHeight()
1587 " and will be set to (%d)", mVideoHeight, maxFrameHeight); in clipVideoFrameHeight()
1588 mVideoHeight = maxFrameHeight; in clipVideoFrameHeight()
1619 videoSize.height = mVideoHeight; in setupCameraSource()
[all …]
DStagefrightRecorder.h109 int32_t mVideoWidth, mVideoHeight; member
/frameworks/av/media/libstagefright/include/media/stagefright/
DCameraSourceTimeLapse.h66 int32_t mVideoHeight; variable
DMediaCodec.h347 int32_t mVideoHeight; member
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerDecoder.h98 int32_t mVideoHeight; member
DNuPlayerDecoder.cpp79 mVideoHeight(0), in Decoder()
/frameworks/av/media/libmedia/
Dmediaplayer.cpp69 mVideoWidth = mVideoHeight = 0; in MediaPlayer()
111 mVideoWidth = mVideoHeight = 0; in clear_l()
490 *h = mVideoHeight; in getVideoHeight()
941 mVideoHeight = ext2; in notify()
/frameworks/av/media/libmedia/include/media/
Dmediaplayer.h306 int mVideoHeight; variable
/frameworks/av/media/libstagefright/
DCameraSourceTimeLapse.cpp91 mVideoHeight = videoSize.height; in CameraSourceTimeLapse()
DMediaCodec.cpp533 mVideoHeight(0), in MediaCodec()
1063 format->findInt32("height", &mVideoHeight); in configure()
1070 mediametrics_setInt32(mMetricsHandle, kCodecHeight, mVideoHeight); in configure()
1083 if (mVideoWidth < 0 || mVideoHeight < 0 || in configure()
1084 (uint64_t)mVideoWidth * mVideoHeight > (uint64_t)INT32_MAX / 4) { in configure()
1085 ALOGE("Invalid size(s), width=%d, height=%d", mVideoWidth, mVideoHeight); in configure()
1239 size += mPortBuffers[i].size() * mVideoWidth * mVideoHeight * 3 / 2; in getGraphicBufferSize()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
DMediaRecorderStressTest.java196 videoHeight = MediaRecorderStressTestRunner.mVideoHeight; in recordVideoAndPlayback()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt41608 Landroid/media/tv/TvInputManager$Session;->mVideoHeight:I
41833 Landroid/media/tv/TvTrackInfo$Builder;->mVideoHeight:I
41847 Landroid/media/tv/TvTrackInfo;->mVideoHeight:I