/frameworks/base/core/java/android/webkit/ |
HTML5VideoFullScreen.java | 50 int height = getDefaultSize(mVideoHeight, heightMeasureSpec); 51 if (mVideoWidth > 0 && mVideoHeight > 0) { 52 if ( mVideoWidth * height > width * mVideoHeight ) { 53 height = width * mVideoHeight / mVideoWidth; 54 } else if ( mVideoWidth * height < width * mVideoHeight ) { 55 width = height * mVideoWidth / mVideoHeight; 92 private int mVideoHeight; 139 mVideoHeight = mp.getVideoHeight(); 140 if (mVideoWidth != 0 && mVideoHeight != 0) { 141 mVideoSurfaceView.getHolder().setFixedSize(mVideoWidth, mVideoHeight); [all...] |
/frameworks/base/core/java/android/widget/ |
VideoView.java | 80 private int mVideoHeight; 115 int height = getDefaultSize(mVideoHeight, heightMeasureSpec); 116 if (mVideoWidth > 0 && mVideoHeight > 0) { 129 if ( mVideoWidth * height < width * mVideoHeight ) { 131 width = height * mVideoWidth / mVideoHeight; 132 } else if ( mVideoWidth * height > width * mVideoHeight ) { 134 height = width * mVideoHeight / mVideoWidth; 139 height = width * mVideoHeight / mVideoWidth; 147 width = height * mVideoWidth / mVideoHeight; 155 height = mVideoHeight; [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/media/ |
MediaPlayerDemo_Video.java | 41 private int mVideoHeight; 155 mVideoHeight = height; 209 mVideoHeight = 0; 216 holder.setFixedSize(mVideoWidth, mVideoHeight);
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/ |
SoftMPEG4Encoder.cpp | 85 mVideoHeight(144), 130 mEncParams->encHeight[0] = mVideoHeight; 154 (uint8_t *) malloc((mVideoWidth * mVideoHeight * 3 ) >> 1); 159 if (mVideoWidth % 16 != 0 || mVideoHeight % 16 != 0) { 161 mVideoWidth, mVideoHeight); 235 const size_t kInputBufferSize = (mVideoWidth * mVideoHeight * 3) >> 1; 260 def.format.video.nFrameHeight = mVideoHeight; 262 def.format.video.nSliceHeight = mVideoHeight; 291 def.format.video.nFrameHeight = mVideoHeight; 293 def.format.video.nSliceHeight = mVideoHeight; [all...] |
SoftMPEG4Encoder.h | 71 int32_t mVideoHeight;
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/ |
MediaRecorderStressTestRunner.java | 42 public static int mVideoHeight = profile.videoFrameHeight; 90 mVideoHeight = Integer.parseInt(videoHeight);
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/streamquality/ |
PlayVideoActivity.java | 71 private int mVideoHeight; 173 mVideoHeight = height; 191 mHolder.setFixedSize(mVideoWidth, mVideoHeight); 195 float aspectRatio = ((float) mVideoWidth) / mVideoHeight;
|
/frameworks/av/media/libstagefright/codecs/avc/enc/ |
SoftAVCEncoder.cpp | 177 mVideoHeight(144), 261 (uint8_t *) malloc((mVideoWidth * mVideoHeight * 3 ) >> 1); 266 if (mVideoWidth % 16 != 0 || mVideoHeight % 16 != 0) { 268 mVideoWidth, mVideoHeight); 273 mEncParams->height = mVideoHeight; 279 (((mVideoHeight + 15) >> 4) << 4)) >> 8; 375 const size_t kInputBufferSize = (mVideoWidth * mVideoHeight * 3) >> 1; 398 def.format.video.nFrameHeight = mVideoHeight; 400 def.format.video.nSliceHeight = mVideoHeight; 421 def.format.video.nFrameHeight = mVideoHeight; [all...] |
SoftAVCEncoder.h | 81 int32_t mVideoHeight;
|
/frameworks/av/include/media/stagefright/ |
CameraSourceTimeLapse.h | 61 int32_t mVideoHeight;
|
/frameworks/av/media/libmediaplayerservice/ |
StagefrightRecorder.cpp | 192 mVideoHeight = height; [all...] |
StagefrightRecorder.h | 88 int32_t mVideoWidth, mVideoHeight;
|
/cts/tests/tests/mediastress/src/android/mediastress/cts/ |
MediaRecorderStressTest.java | 68 private int mVideoHeight; 91 mVideoHeight = profile.videoFrameHeight; 387 Log.v(TAG, "videoHeight : " + mVideoHeight); 397 mRecorder.setVideoSize(mVideoWidth, mVideoHeight);
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/ |
MediaPlayerPerformance.java | 91 private int mVideoHeight = mCamcorderProfile.videoFrameHeight; 418 assertTrue(stressVideoRecord(frameRate, mVideoWidth, mVideoHeight, 438 assertTrue(stressVideoRecord(frameRate, mVideoWidth, mVideoHeight, 458 assertTrue(stressVideoRecord(frameRate, mVideoWidth, mVideoHeight,
|
/frameworks/av/include/media/ |
mediaplayer.h | 264 int mVideoHeight;
|
/frameworks/av/media/libmedia/ |
mediaplayer.cpp | 58 mVideoWidth = mVideoHeight = 0; 94 mVideoWidth = mVideoHeight = 0; 375 *h = mVideoHeight; 754 mVideoHeight = ext2;
|
/hardware/ti/omap4xxx/camera/ |
CameraHal.cpp | 370 mVideoHeight = h; 419 mVideoHeight = h; 420 CAMHAL_LOGVB("%s Video Width=%d Height=%d\n", __FUNCTION__, mVideoWidth, mVideoHeight); 426 if ((w != mVideoWidth) && (h != mVideoHeight)) 438 params.getPreviewSize(&mVideoWidth, &mVideoHeight); 455 params.getPreviewSize(&mVideoWidth, &mVideoHeight); [all...] |
AppCallbackNotifier.cpp | [all...] |
/frameworks/av/libvideoeditor/lvpp/ |
PreviewPlayer.h | 198 int32_t mVideoWidth, mVideoHeight;
|
PreviewPlayer.cpp | 256 mVideoSource = DummyVideoSource::Create(mVideoWidth, mVideoHeight, 328 mVideoWidth = mVideoHeight = -1; 690 if (mVideoWidth < 0 || mVideoHeight < 0) { 695 *height = mVideoHeight; [all...] |
/frameworks/av/media/libstagefright/ |
CameraSourceTimeLapse.cpp | 82 mVideoHeight = videoSize.height;
|
/device/lge/mako/camera/ |
QCameraHWI.cpp | [all...] |
/frameworks/av/media/libstagefright/include/ |
AwesomePlayer.h | 325 int32_t mVideoHeight;
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/ |
MediaRecorderStressTest.java | 196 videoHeight = MediaRecorderStressTestRunner.mVideoHeight;
|
/hardware/ti/omap4xxx/camera/inc/ |
CameraHal.h | 676 int mVideoHeight; [all...] |