Home
last modified time | relevance | path

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

/frameworks/base/media/java/android/media/tv/
DTvTrackInfo.java64 private final int mVideoHeight; field in TvTrackInfo
82 mVideoHeight = videoHeight; in TvTrackInfo()
97 mVideoHeight = in.readInt(); in TvTrackInfo()
182 return mVideoHeight; in getVideoHeight()
254 dest.writeInt(mVideoHeight); in writeToParcel()
282 && mVideoHeight == obj.mVideoHeight in equals()
316 private int mVideoHeight; field in TvTrackInfo.Builder
418 mVideoHeight = videoHeight; in setVideoHeight()
494 mAudioSampleRate, mVideoWidth, mVideoHeight, mVideoFrameRate, in build()
DTvInputManager.java1746 private int mVideoHeight;
1881 mVideoHeight = 0;
2070 if (mVideoWidth != videoWidth || mVideoHeight != videoHeight) {
2072 mVideoHeight = videoHeight;
/frameworks/base/core/java/android/widget/
DVideoView.java113 private int mVideoHeight; field in VideoView
152 mVideoHeight = 0; in VideoView()
175 int height = getDefaultSize(mVideoHeight, heightMeasureSpec); in onMeasure()
176 if (mVideoWidth > 0 && mVideoHeight > 0) { in onMeasure()
189 if ( mVideoWidth * height < width * mVideoHeight ) { in onMeasure()
191 width = height * mVideoWidth / mVideoHeight; in onMeasure()
192 } else if ( mVideoWidth * height > width * mVideoHeight ) { in onMeasure()
194 height = width * mVideoHeight / mVideoWidth; in onMeasure()
199 height = width * mVideoHeight / mVideoWidth; in onMeasure()
207 width = height * mVideoWidth / mVideoHeight; in onMeasure()
[all …]
/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/support/v17/leanback/src/android/support/v17/leanback/media/
DPlaybackBaseControlGlue.java81 int mVideoHeight = 0; field in PlaybackBaseControlGlue
128 mVideoHeight = height;
186 if (mVideoWidth != 0 && mVideoHeight != 0) { in onAttachHostCallback()
187 mPlayerCallback.onVideoSizeChanged(mVideoWidth, mVideoHeight); in onAttachHostCallback()
/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.cpp143 mAnalyticsItem->setInt32(kRecorderHeight, mVideoHeight); in updateMetrics()
305 mVideoHeight = height; in setVideoSize()
1414 videoFrameHeight == mVideoHeight && in setDefaultProfileIfNecessary()
1530 if (minFrameHeight != -1 && mVideoHeight < minFrameHeight) { in clipVideoFrameHeight()
1532 " and will be set to (%d)", mVideoHeight, minFrameHeight); in clipVideoFrameHeight()
1533 mVideoHeight = minFrameHeight; in clipVideoFrameHeight()
1534 } else if (maxFrameHeight != -1 && mVideoHeight > maxFrameHeight) { in clipVideoFrameHeight()
1536 " and will be set to (%d)", mVideoHeight, maxFrameHeight); in clipVideoFrameHeight()
1537 mVideoHeight = maxFrameHeight; in clipVideoFrameHeight()
1568 videoSize.height = mVideoHeight; in setupCameraSource()
[all …]
DStagefrightRecorder.h101 int32_t mVideoWidth, mVideoHeight; member
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/media/
DLocalPlayer.java65 private int mVideoHeight; field in LocalPlayer
297 protected int getVideoHeight() { return mVideoHeight; } in getVideoHeight()
368 mVideoHeight = height; in updateVideoRect()
372 mVideoWidth = mVideoHeight = 0; in updateVideoRect()
/frameworks/av/media/libstagefright/include/
DCameraSourceTimeLapse.h66 int32_t mVideoHeight; variable
DMediaCodec.h331 int32_t mVideoHeight; member
/frameworks/av/media/libmedia/
Dmediaplayer.cpp67 mVideoWidth = mVideoHeight = 0; in MediaPlayer()
109 mVideoWidth = mVideoHeight = 0; in clear_l()
506 *h = mVideoHeight; in getVideoHeight()
945 mVideoHeight = ext2; in notify()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerDecoder.h98 int32_t mVideoHeight; member
DNuPlayerDecoder.cpp78 mVideoHeight(0), in Decoder()
/frameworks/av/media/libmedia/include/media/
Dmediaplayer.h307 int mVideoHeight; variable
/frameworks/av/include/media/
Dmediaplayer.h307 int mVideoHeight; variable
/frameworks/av/media/libstagefright/
DCameraSourceTimeLapse.cpp90 mVideoHeight = videoSize.height; in CameraSourceTimeLapse()
DMediaCodec.cpp483 mVideoHeight(0), in MediaCodec()
704 format->findInt32("height", &mVideoHeight); in configure()
711 mAnalyticsItem->setInt32(kCodecHeight, mVideoHeight); in configure()
717 && (uint64_t)mVideoWidth * mVideoHeight > (uint64_t)INT32_MAX / 4) { in configure()
718 ALOGE("buffer size is too big, width=%d, height=%d", mVideoWidth, mVideoHeight); in configure()
872 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()