Home
last modified time | relevance | path

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

/frameworks/base/media/java/android/media/tv/
DTvTrackInfo.java63 private final int mVideoWidth; field in TvTrackInfo
81 mVideoWidth = videoWidth; in TvTrackInfo()
96 mVideoWidth = in.readInt(); in TvTrackInfo()
169 return mVideoWidth; in getVideoWidth()
253 dest.writeInt(mVideoWidth); in writeToParcel()
281 ? mVideoWidth == obj.mVideoWidth in equals()
315 private int mVideoWidth; field in TvTrackInfo.Builder
403 mVideoWidth = videoWidth; in setVideoWidth()
494 mAudioSampleRate, mVideoWidth, mVideoHeight, mVideoFrameRate, in build()
DTvInputManager.java1755 private int mVideoWidth;
1891 mVideoWidth = 0;
2081 if (mVideoWidth != videoWidth || mVideoHeight != videoHeight) {
2082 mVideoWidth = videoWidth;
/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/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.h340 int32_t mVideoWidth; member
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerDecoder.h97 int32_t mVideoWidth; member
DNuPlayerDecoder.cpp78 mVideoWidth(0), in Decoder()
/frameworks/av/media/libmediaplayer2/nuplayer2/
DNuPlayer2Decoder.h98 int32_t mVideoWidth; member
DNuPlayer2Decoder.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/libmediaplayer2/include/mediaplayer2/
Dmediaplayer2.h154 int mVideoWidth; variable
/frameworks/av/media/libmediaplayer2/
Dmediaplayer2.cpp247 mVideoWidth = mVideoHeight = 0; in MediaPlayer2()
293 mVideoWidth = mVideoHeight = 0; in clear_l()
682 *w = mVideoWidth; in getVideoWidth()
1090 mVideoWidth = ext1; in notify()
/frameworks/av/include/media/
Dmediaplayer.h305 int mVideoWidth; variable
/frameworks/av/media/libmedia/include/media/
Dmediaplayer.h305 int mVideoWidth; variable
/frameworks/av/media/libstagefright/
DCameraSourceTimeLapse.cpp90 mVideoWidth = videoSize.width; in CameraSourceTimeLapse()
DMediaCodec.cpp524 mVideoWidth(0), in MediaCodec()
1034 format->findInt32("width", &mVideoWidth); in configure()
1041 mAnalyticsItem->setInt32(kCodecWidth, mVideoWidth); in configure()
1055 if (mVideoWidth < 0 || mVideoHeight < 0 || in configure()
1056 (uint64_t)mVideoWidth * mVideoHeight > (uint64_t)INT32_MAX / 4) { in configure()
1057 ALOGE("Invalid size(s), width=%d, height=%d", mVideoWidth, mVideoHeight); in configure()
1211 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()