Home
last modified time | relevance | path

Searched refs:mVideoWidth (Results 1 – 20 of 20) 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.java1744 private int mVideoWidth;
1880 mVideoWidth = 0;
2070 if (mVideoWidth != videoWidth || mVideoHeight != videoHeight) {
2071 mVideoWidth = videoWidth;
/frameworks/base/core/java/android/widget/
DVideoView.java112 private int mVideoWidth; field in VideoView
151 mVideoWidth = 0; in VideoView()
174 int width = getDefaultSize(mVideoWidth, widthMeasureSpec); in onMeasure()
176 if (mVideoWidth > 0 && mVideoHeight > 0) { in onMeasure()
189 if ( mVideoWidth * height < width * mVideoHeight ) { in onMeasure()
191 width = height * mVideoWidth / mVideoHeight; in onMeasure()
192 } else if ( mVideoWidth * height > width * mVideoHeight ) { in onMeasure()
194 height = width * mVideoHeight / mVideoWidth; in onMeasure()
199 height = width * mVideoHeight / mVideoWidth; in onMeasure()
207 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/support/v17/leanback/src/android/support/v17/leanback/media/
DPlaybackBaseControlGlue.java80 int mVideoWidth = 0; field in PlaybackBaseControlGlue
127 mVideoWidth = width;
186 if (mVideoWidth != 0 && mVideoHeight != 0) { in onAttachHostCallback()
187 mPlayerCallback.onVideoSizeChanged(mVideoWidth, mVideoHeight); in onAttachHostCallback()
/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.cpp144 mAnalyticsItem->setInt32(kRecorderWidth, mVideoWidth); in updateMetrics()
304 mVideoWidth = width; in setVideoSize()
1344 if (mVideoWidth < minFrameWidth && minFrameWidth != -1) { in clipVideoFrameWidth()
1346 " and will be set to (%d)", mVideoWidth, minFrameWidth); in clipVideoFrameWidth()
1347 mVideoWidth = minFrameWidth; in clipVideoFrameWidth()
1348 } else if (mVideoWidth > maxFrameWidth && maxFrameWidth != -1) { in clipVideoFrameWidth()
1350 " and will be set to (%d)", mVideoWidth, maxFrameWidth); in clipVideoFrameWidth()
1351 mVideoWidth = maxFrameWidth; in clipVideoFrameWidth()
1413 videoFrameWidth == mVideoWidth && in setDefaultProfileIfNecessary()
1567 videoSize.width = mVideoWidth; in setupCameraSource()
[all …]
DStagefrightRecorder.h101 int32_t mVideoWidth, mVideoHeight; member
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/media/
DLocalPlayer.java64 private int mVideoWidth; field in LocalPlayer
296 protected int getVideoWidth() { return mVideoWidth; } in getVideoWidth()
367 mVideoWidth = width; in updateVideoRect()
372 mVideoWidth = mVideoHeight = 0; in updateVideoRect()
/frameworks/av/media/libstagefright/include/
DCameraSourceTimeLapse.h65 int32_t mVideoWidth;
DMediaCodec.h330 int32_t mVideoWidth; member
/frameworks/av/media/libmedia/
Dmediaplayer.cpp67 mVideoWidth = mVideoHeight = 0; in MediaPlayer()
109 mVideoWidth = mVideoHeight = 0; in clear_l()
497 *w = mVideoWidth; in getVideoWidth()
944 mVideoWidth = ext1; in notify()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerDecoder.h97 int32_t mVideoWidth; member
DNuPlayerDecoder.cpp77 mVideoWidth(0), in Decoder()
/frameworks/av/media/libmedia/include/media/
Dmediaplayer.h306 int mVideoWidth; variable
/frameworks/av/include/media/
Dmediaplayer.h306 int mVideoWidth; variable
/frameworks/av/media/libstagefright/
DCameraSourceTimeLapse.cpp89 mVideoWidth = videoSize.width; in CameraSourceTimeLapse()
DMediaCodec.cpp482 mVideoWidth(0), in MediaCodec()
703 format->findInt32("width", &mVideoWidth); in configure()
710 mAnalyticsItem->setInt32(kCodecWidth, mVideoWidth); in configure()
717 && (uint64_t)mVideoWidth * mVideoHeight > (uint64_t)INT32_MAX / 4) { in configure()
718 ALOGE("buffer size is too big, width=%d, height=%d", mVideoWidth, mVideoHeight); in configure()
872 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()