Home
last modified time | relevance | path

Searched refs:mVideoWidth (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/core/java/android/widget/
DVideoView.java122 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/
DTvTrackInfo.java70 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()
DTvInputManager.java1770 private int mVideoWidth;
1906 mVideoWidth = 0;
2096 if (mVideoWidth != videoWidth || mVideoHeight != videoHeight) {
2097 mVideoWidth = videoWidth;
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DVideoViewCaptureActivity.java36 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/
DMediaPlayerPerformance.java91 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/
DMediaRecorderStressTestRunner.java41 public static int mVideoWidth = profile.videoFrameWidth; field in MediaRecorderStressTestRunner
87 mVideoWidth = Integer.parseInt(videoWidth); in onCreate()
/frameworks/av/media/libmediaplayerservice/
DStagefrightRecorder.cpp157 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 …]
DStagefrightRecorder.h109 int32_t mVideoWidth, mVideoHeight; member
/frameworks/av/media/libstagefright/include/media/stagefright/
DCameraSourceTimeLapse.h65 int32_t mVideoWidth;
DMediaCodec.h346 int32_t mVideoWidth; member
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerDecoder.h97 int32_t mVideoWidth; member
DNuPlayerDecoder.cpp78 mVideoWidth(0), in Decoder()
/frameworks/av/media/libmedia/
Dmediaplayer.cpp69 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/
Dmediaplayer.h305 int mVideoWidth; variable
/frameworks/av/media/libstagefright/
DCameraSourceTimeLapse.cpp90 mVideoWidth = videoSize.width; in CameraSourceTimeLapse()
DMediaCodec.cpp532 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/
DMediaRecorderStressTest.java195 videoWidth = MediaRecorderStressTestRunner.mVideoWidth; in recordVideoAndPlayback()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt41610 Landroid/media/tv/TvInputManager$Session;->mVideoWidth:I
41835 Landroid/media/tv/TvTrackInfo$Builder;->mVideoWidth:I
41849 Landroid/media/tv/TvTrackInfo;->mVideoWidth:I