/frameworks/base/core/java/android/widget/ |
D | VideoView.java | 122 private int mVideoWidth; field in VideoView 164 mVideoWidth = 0; in VideoView() 187 int width = getDefaultSize(mVideoWidth, widthMeasureSpec); 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 | 70 private final int mVideoWidth; field in TvTrackInfo 94 mVideoWidth = videoWidth; in TvTrackInfo() 114 mVideoWidth = in.readInt(); in TvTrackInfo() 262 return mVideoWidth; in getVideoWidth() 352 dest.writeInt(mVideoWidth); in writeToParcel() 389 return mVideoWidth == obj.mVideoWidth in equals() 409 result = Objects.hash(result, mVideoWidth, mVideoHeight, mVideoFrameRate, in hashCode() 446 private int mVideoWidth; field in TvTrackInfo.Builder 632 mVideoWidth = videoWidth; in setVideoWidth() 731 mSpokenSubtitle, mVideoWidth, mVideoHeight, mVideoFrameRate, in build()
|
D | TvInputManager.java | 1996 private int mVideoWidth; 2132 mVideoWidth = 0; 2322 if (mVideoWidth != videoWidth || mVideoHeight != videoHeight) { 2323 mVideoWidth = videoWidth;
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | VideoViewCaptureActivity.java | 36 private int mVideoWidth, mVideoHeight; field in VideoViewCaptureActivity 44 mVideoWidth = mp.getVideoWidth(); in onCreate() 56 mVideoWidth, mVideoHeight, in onCreate()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/ |
D | MediaPlayerPerformance.java | 91 private int mVideoWidth; field in MediaPlayerPerformance 110 mVideoWidth = mCamcorderProfile.videoFrameWidth; 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 | 41 public static int mVideoWidth = profile.videoFrameWidth; field in MediaRecorderStressTestRunner 87 mVideoWidth = Integer.parseInt(videoWidth); in onCreate()
|
/frameworks/av/media/libmediaplayerservice/ |
D | StagefrightRecorder.cpp | 158 mMetricsItem->setInt32(kRecorderWidth, mVideoWidth); in updateMetrics() 342 mVideoWidth = width; in setVideoSize() 1441 if (mVideoWidth < minFrameWidth && minFrameWidth != -1) { in clipVideoFrameWidth() 1443 " and will be set to (%d)", mVideoWidth, minFrameWidth); in clipVideoFrameWidth() 1444 mVideoWidth = minFrameWidth; in clipVideoFrameWidth() 1445 } else if (mVideoWidth > maxFrameWidth && maxFrameWidth != -1) { in clipVideoFrameWidth() 1447 " and will be set to (%d)", mVideoWidth, maxFrameWidth); in clipVideoFrameWidth() 1448 mVideoWidth = maxFrameWidth; in clipVideoFrameWidth() 1510 videoFrameWidth == mVideoWidth && in setDefaultProfileIfNecessary() 1664 videoSize.width = mVideoWidth; in setupCameraSource() [all …]
|
D | StagefrightRecorder.h | 119 int32_t mVideoWidth, mVideoHeight; member
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
D | CameraSourceTimeLapse.h | 65 int32_t mVideoWidth;
|
D | MediaCodec.h | 391 int32_t mVideoWidth; member
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | NuPlayerDecoder.h | 97 int32_t mVideoWidth; member
|
D | NuPlayerDecoder.cpp | 78 mVideoWidth(0), in Decoder()
|
/frameworks/av/media/libmedia/ |
D | mediaplayer.cpp | 60 mVideoWidth = mVideoHeight = 0; in MediaPlayer() 102 mVideoWidth = mVideoHeight = 0; in clear_l() 472 *w = mVideoWidth; in getVideoWidth() 931 mVideoWidth = ext1; in notify()
|
/frameworks/av/media/libmedia/include/media/ |
D | mediaplayer.h | 305 int mVideoWidth; variable
|
/frameworks/av/media/libstagefright/ |
D | CameraSourceTimeLapse.cpp | 90 mVideoWidth = videoSize.width; in CameraSourceTimeLapse()
|
D | MediaCodec.cpp | 627 mVideoWidth(0), in MediaCodec() 1229 format->findInt32("width", &mVideoWidth); in configure() 1236 mediametrics_setInt32(mMetricsHandle, kCodecWidth, mVideoWidth); in configure() 1250 if (mVideoWidth < 0 || mVideoHeight < 0 || in configure() 1251 (uint64_t)mVideoWidth * mVideoHeight > (uint64_t)INT32_MAX / 4) { in configure() 1252 ALOGE("Invalid size(s), width=%d, height=%d", mVideoWidth, mVideoHeight); in configure() 1404 size += mPortBuffers[i].size() * mVideoWidth * mVideoHeight * 3 / 2; in getGraphicBufferSize()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/ |
D | MediaRecorderStressTest.java | 195 videoWidth = MediaRecorderStressTestRunner.mVideoWidth; in recordVideoAndPlayback()
|