/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() 351 dest.writeInt(mVideoWidth); in writeToParcel() 388 return mVideoWidth == obj.mVideoWidth in equals() 408 result = Objects.hash(result, mVideoWidth, mVideoHeight, mVideoFrameRate, in hashCode() 443 private int mVideoWidth; field in TvTrackInfo.Builder 622 mVideoWidth = videoWidth; in setVideoWidth() 714 mSpokenSubtitle, mVideoWidth, mVideoHeight, mVideoFrameRate, in build()
|
D | TvInputManager.java | 1770 private int mVideoWidth; 1906 mVideoWidth = 0; 2096 if (mVideoWidth != videoWidth || mVideoHeight != videoHeight) { 2097 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 | 157 mAnalyticsItem->setInt32(kRecorderWidth, mVideoWidth); in updateMetrics() 322 mVideoWidth = width; in setVideoSize() 1395 if (mVideoWidth < minFrameWidth && minFrameWidth != -1) { in clipVideoFrameWidth() 1397 " and will be set to (%d)", mVideoWidth, minFrameWidth); in clipVideoFrameWidth() 1398 mVideoWidth = minFrameWidth; in clipVideoFrameWidth() 1399 } else if (mVideoWidth > maxFrameWidth && maxFrameWidth != -1) { in clipVideoFrameWidth() 1401 " and will be set to (%d)", mVideoWidth, maxFrameWidth); in clipVideoFrameWidth() 1402 mVideoWidth = maxFrameWidth; in clipVideoFrameWidth() 1464 videoFrameWidth == mVideoWidth && in setDefaultProfileIfNecessary() 1618 videoSize.width = mVideoWidth; in setupCameraSource() [all …]
|
D | StagefrightRecorder.h | 109 int32_t mVideoWidth, mVideoHeight; member
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
D | CameraSourceTimeLapse.h | 65 int32_t mVideoWidth;
|
D | MediaCodec.h | 346 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 | 69 mVideoWidth = mVideoHeight = 0; in MediaPlayer() 111 mVideoWidth = mVideoHeight = 0; in clear_l() 481 *w = mVideoWidth; in getVideoWidth() 940 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 | 532 mVideoWidth(0), in MediaCodec() 1062 format->findInt32("width", &mVideoWidth); in configure() 1069 mediametrics_setInt32(mMetricsHandle, kCodecWidth, mVideoWidth); 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 | 195 videoWidth = MediaRecorderStressTestRunner.mVideoWidth; in recordVideoAndPlayback()
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 41610 Landroid/media/tv/TvInputManager$Session;->mVideoWidth:I 41835 Landroid/media/tv/TvTrackInfo$Builder;->mVideoWidth:I 41849 Landroid/media/tv/TvTrackInfo;->mVideoWidth:I
|