Searched refs:mWidth (Results 76 - 100 of 150) sorted by relevance

123456

/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
H A DAutoFixFilter.java154 private int mWidth = 0; field in class:AutoFixFilter
252 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) {
253 mWidth = inputFormat.getWidth();
255 createHistogramFrame(context, mWidth, mHeight, input.getInts());
/frameworks/base/media/tests/MediaDump/src/com/android/mediadump/
H A DRgbPlayerActivity.java73 private int mWidth = 0; field in class:RgbPlayerActivity.RgbView
121 mWidth = Integer.parseInt(prop.getProperty("width"));
129 mBytesPerLine = mWidth * mBytesPerPixel;
132 mBitmap = Bitmap.createBitmap(mWidth, mHeight,
H A DVideoDumpView.java341 private int mWidth = 0; field in class:VideoDumpView.VideoDumpRenderer
439 GLES20.glReadPixels(mStartX, mStartY, mWidth, mHeight,
476 mWidth = Math.min(VideoDumpConfig.MAX_DUMP_WIDTH, video_width);
478 mStartX = video_width / mWidth / 2 * mWidth;
482 + "size " + mWidth + "x" + mHeight);
484 int image_size = mWidth * mHeight * VideoDumpConfig.BYTES_PER_PIXEL;
496 prop.setProperty("width", Integer.toString(mWidth));
/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/
H A DDisplaySourceService.java174 private final int mWidth; field in class:DisplaySourceService.VirtualDisplayThread
181 mWidth = width;
188 MediaFormat format = MediaFormat.createVideoFormat("video/avc", mWidth, mHeight);
201 DISPLAY_NAME, mWidth, mHeight, mDensityDpi, surface, 0);
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/
H A DCamera2Source.java63 private int mWidth = 640; field in class:Camera2Source
168 yuvBuilder.setX(mWidth);
176 mBitmap = Bitmap.createBitmap(mWidth, mHeight, Bitmap.Config.ARGB_8888);
219 mWidth, mHeight
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/
H A DSoftMPEG4.cpp153 mHandle, vol_data, &vol_size, 1, mWidth, mHeight, mode);
253 outHeader->nFilledLen = (mWidth * mHeight * 3) / 2;
298 if (buf_width != mWidth || buf_height != mHeight) {
299 mWidth = buf_width;
312 mHandle, vol_data, &vol_size, 1, mWidth, mHeight,
/frameworks/av/libvideoeditor/lvpp/
H A DNativeWindowRenderer.cpp323 input->mWidth, input->mHeight);
333 input->mWidth, input->mHeight);
585 CHECK(meta->findInt32(kKeyWidth, &mWidth));
590 mWidth = right - left + 1;
595 // (mWidth and mHeight are the _rotated_ source rectangle).
602 int tmp = mWidth;
603 mWidth = mHeight;
/frameworks/base/libs/hwui/
H A DDisplayList.h345 mWidth = mRight - mLeft;
373 mWidth = mRight - mLeft;
402 mWidth = mRight - mLeft;
416 mWidth = mRight - mLeft;
449 return mWidth;
518 int mWidth, mHeight; member in class:android::uirenderer::DisplayList
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/
H A DSimpleMonthView.java149 protected int mWidth; field in class:SimpleMonthView
401 mWidth = w;
417 int x = (mWidth + 2 * mPadding) / 2;
424 int dayWidthHalf = (mWidth - mPadding * 2) / (mNumDays * 2);
445 int dayWidthHalf = (mWidth - mPadding * 2) / (mNumDays * 2);
483 if (x < dayStart || x > mWidth - mPadding) {
488 int column = (int) ((x - dayStart) * mNumDays / (mWidth - dayStart - mPadding));
631 final int cellWidth = ((mWidth - (2 * mPadding)) / mNumDays);
/frameworks/rs/java/tests/RsTest_11/src/com/android/rs/test/
H A DRSTestCore.java30 int mWidth; field in class:RSTestCore
59 mWidth = width;
/frameworks/rs/java/tests/RsTest_14/src/com/android/rs/test/
H A DRSTestCore.java30 int mWidth; field in class:RSTestCore
59 mWidth = width;
/frameworks/av/media/libstagefright/codecs/on2/enc/
H A DSoftVPXEncoder.h125 int32_t mWidth; member in struct:android::SoftVPXEncoder
H A DSoftVPXEncoder.cpp141 mWidth(176),
178 inputPort.format.video.nFrameWidth = mWidth;
208 outputPort.format.video.nFrameWidth = mWidth;
249 mCodecConfiguration->g_w = mWidth;
303 mConversionBuffer = (uint8_t *)malloc(mWidth * mHeight * 3 / 2);
659 mWidth = port->format.video.nFrameWidth;
676 def->format.video.nFrameWidth = mWidth;
775 0, 0, mWidth, mHeight, &bits));
778 (const uint8_t *)bits, mConversionBuffer, mWidth, mHeight);
785 source, mConversionBuffer, mWidth, mHeigh
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/
H A DSoftAVC.cpp61 mPictureSize(mWidth * mHeight * 3 / 2),
219 if (mWidth != info->picWidth || mHeight != info->picHeight) {
220 mWidth = info->picWidth;
222 mPictureSize = mWidth * mHeight * 3 / 2;
/frameworks/av/services/camera/libcameraservice/device2/
H A DCamera2Device.h207 uint32_t getWidth() const { return mWidth; }
227 uint32_t mWidth; member in class:android::Camera2Device::StreamAdapter
292 uint32_t getWidth() const { return mWidth; }
321 uint32_t mWidth; member in class:android::Camera2Device::ReprocessStreamAdapter
/frameworks/base/cmds/bootanimation/
H A DBootAnimation.h91 int mWidth; member in class:android::BootAnimation
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/
H A DTestAppRS.java42 int mWidth; field in class:TestAppRS
98 mWidth = width;
105 mSceneManager.initRS(mRS, mRes, mWidth, mHeight);
110 FullscreenBlur.createRenderTargets(mRS, mWidth, mHeight);
/frameworks/av/cmds/stagefright/
H A Drecordvideo.cpp55 : mWidth(width),
67 meta->setInt32(kKeyWidth, mWidth);
118 int mWidth, mHeight; member in class:DummySource
/frameworks/base/opengl/java/android/opengl/
H A DETC1Util.java118 mWidth = width;
127 public int getWidth() { return mWidth; }
141 private int mWidth; field in class:ETC1Util.ETC1Texture
/frameworks/native/services/surfaceflinger/tests/
H A DTransaction_test.cpp70 const uint8_t* pixel = img + (4 * (y*mWidth + x));
81 mWidth(w),
86 const uint32_t mWidth; member in class:android::ScreenCapture
/frameworks/wilhelm/src/itf/
H A DI3DMacroscopic.c34 thiz->mSize.mWidth = width;
55 SLmillimeter width = thiz->mSize.mWidth;
215 thiz->mSize.mWidth = 0;
/frameworks/base/core/java/android/text/
H A DLayout.java152 mWidth = width;
172 mWidth = width;
239 int right = mWidth;
380 final int width = mWidth;
540 return mWidth;
548 return mWidth;
557 if (wid < mWidth) {
561 mWidth = wid;
617 bounds.right = mWidth; // ???
855 if (clamped && wid > mWidth) {
1813 /* package */ int mWidth; field in class:Layout.Ellipsizer
1902 private int mWidth; field in class:Layout
[all...]
/frameworks/base/media/java/android/media/videoeditor/
H A DMediaVideoItem.java39 private final int mWidth; field in class:MediaVideoItem
168 mWidth = properties.width;
448 return mWidth;
459 return mWidth;
512 mFilename,timeMs,mWidth,mHeight);
H A DMediaImageItem.java64 private final int mWidth; field in class:MediaImageItem
128 mWidth = dbo.outWidth;
135 mAspectRatio = mMANativeHelper.getAspectRatio(mWidth, mHeight);
157 if (mWidth > maxResolution.first || mHeight > maxResolution.second) {
175 mScaledWidth = (mWidth >> 1) << 1;
251 return mWidth;
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DBatteryMeterView.java60 private int mWidth; field in class:BatteryMeterView
246 mWidth = w;
274 int width = mWidth - pl - pr;
344 final float x = mWidth * 0.5f;
354 final float x = mWidth * 0.5f;

Completed in 854 milliseconds

123456