/frameworks/base/core/java/android/widget/ |
D | VideoView.java | 124 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/ |
D | TvTrackInfo.java | 71 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()
|
D | TvInputManager.java | 1772 private int mVideoHeight; 1907 mVideoHeight = 0; 2096 if (mVideoWidth != videoWidth || mVideoHeight != videoHeight) { 2098 mVideoHeight = videoHeight;
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | VideoViewCaptureActivity.java | 36 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/ |
D | MediaPlayerPerformance.java | 92 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/ |
D | MediaRecorderStressTestRunner.java | 42 public static int mVideoHeight = profile.videoFrameHeight; field in MediaRecorderStressTestRunner 90 mVideoHeight = Integer.parseInt(videoHeight); in onCreate()
|
/frameworks/av/media/libmediaplayerservice/ |
D | StagefrightRecorder.cpp | 156 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 …]
|
D | StagefrightRecorder.h | 109 int32_t mVideoWidth, mVideoHeight; member
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
D | CameraSourceTimeLapse.h | 66 int32_t mVideoHeight; variable
|
D | MediaCodec.h | 347 int32_t mVideoHeight; member
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | NuPlayerDecoder.h | 98 int32_t mVideoHeight; member
|
D | NuPlayerDecoder.cpp | 79 mVideoHeight(0), in Decoder()
|
/frameworks/av/media/libmedia/ |
D | mediaplayer.cpp | 69 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/ |
D | mediaplayer.h | 306 int mVideoHeight; variable
|
/frameworks/av/media/libstagefright/ |
D | CameraSourceTimeLapse.cpp | 91 mVideoHeight = videoSize.height; in CameraSourceTimeLapse()
|
D | MediaCodec.cpp | 533 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/ |
D | MediaRecorderStressTest.java | 196 videoHeight = MediaRecorderStressTestRunner.mVideoHeight; in recordVideoAndPlayback()
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 41608 Landroid/media/tv/TvInputManager$Session;->mVideoHeight:I 41833 Landroid/media/tv/TvTrackInfo$Builder;->mVideoHeight:I 41847 Landroid/media/tv/TvTrackInfo;->mVideoHeight:I
|