Searched refs:mWidth (Results 1 - 25 of 250) sorted by relevance

12345678910

/frameworks/base/core/java/android/hardware/camera2/params/
H A DInputConfiguration.java30 private final int mWidth; field in class:InputConfiguration
50 mWidth = width;
61 return mWidth;
100 if (otherInputConfig.getWidth() == mWidth &&
113 return HashCodeHelpers.hashCode(mWidth, mHeight, mFormat);
126 return String.format("InputConfiguration(w:%d, h:%d, format:%d)", mWidth, mHeight, mFormat);
H A DHighSpeedVideoConfiguration.java59 mWidth = checkArgumentPositive(width, "width must be positive");
62 mSize = new Size(mWidth, mHeight);
73 return mWidth;
148 return mWidth == other.mWidth &&
162 return HashCodeHelpers.hashCode(mWidth, mHeight, mFpsMin, mFpsMax);
165 private final int mWidth; field in class:HighSpeedVideoConfiguration
H A DStreamConfiguration.java63 mWidth = checkArgumentPositive(width, "width must be positive");
87 return mWidth;
105 return new Size(mWidth, mHeight);
152 mWidth == other.mWidth &&
164 return HashCodeHelpers.hashCode(mFormat, mWidth, mHeight, mInput ? 1 : 0);
168 private final int mWidth; field in class:StreamConfiguration
H A DStreamConfigurationDuration.java58 mWidth = checkArgumentPositive(width, "width must be positive");
82 return mWidth;
100 return new Size(mWidth, mHeight);
131 mWidth == other.mWidth &&
143 return HashCodeHelpers.hashCode(mFormat, mWidth, mHeight,
148 private final int mWidth; field in class:StreamConfigurationDuration
H A DMeteringRectangle.java76 private final int mWidth; field in class:MeteringRectangle
94 mWidth = checkArgumentNonnegative(width, "width must be nonnegative");
118 mWidth = checkArgumentNonnegative(dimensions.getWidth(), "width must be nonnegative");
139 mWidth = checkArgumentNonnegative(rect.width(), "rect.width must be nonnegative");
168 return mWidth;
206 return new Size(mWidth, mHeight);
217 return new Rect(mX, mY, mX + mWidth, mY + mHeight);
245 && mWidth == other.mWidth
255 return HashCodeHelpers.hashCode(mX, mY, mWidth, mHeigh
[all...]
/frameworks/base/core/java/android/util/
H A DSize.java32 mWidth = width;
41 return mWidth;
74 return mWidth == other.mWidth && mHeight == other.mHeight;
86 return mWidth + "x" + mHeight;
147 return mHeight ^ ((mWidth << (Integer.SIZE / 2)) | (mWidth >>> (Integer.SIZE / 2)));
150 private final int mWidth; field in class:Size
H A DSizeF.java43 mWidth = checkArgumentFinite(width, "width");
52 return mWidth;
84 return mWidth == other.mWidth && mHeight == other.mHeight;
96 return mWidth + "x" + mHeight;
159 return Float.floatToIntBits(mWidth) ^ Float.floatToIntBits(mHeight);
162 private final float mWidth; field in class:SizeF
/frameworks/base/libs/hwui/
H A DRenderBuffer.h36 : mFormat(format), mWidth(width), mHeight(height), mAllocated(false) {
73 glRenderbufferStorage(GL_RENDERBUFFER, mFormat, mWidth, mHeight);
84 if (isAllocated() && (width != mWidth || height != mHeight)) {
88 mWidth = width;
95 uint32_t getWidth() const { return mWidth; }
107 return (uint32_t)((mWidth * mHeight * formatSize(mFormat)) / 8.0f + 0.5f);
170 uint32_t mWidth; member in struct:android::uirenderer::RenderBuffer
H A DVkLayer.h33 , mWidth(layerWidth)
39 uint32_t getWidth() const override { return mWidth; }
44 mWidth = width;
61 int mWidth; member in class:android::uirenderer::VkLayer
H A DRenderBufferCache.h77 RenderBufferEntry() : mBuffer(nullptr), mWidth(0), mHeight(0) {}
80 : mBuffer(nullptr), mFormat(format), mWidth(width), mHeight(height) {}
85 , mWidth(buffer->getWidth())
100 uint32_t mWidth; member in struct:android::uirenderer::RenderBufferCache::RenderBufferEntry
H A DPixelBuffer.h116 uint32_t getWidth() const { return mWidth; }
126 uint32_t getSize() const { return mWidth * mHeight * formatSize(mFormat); }
132 return (y * mWidth + x) * formatSize(mFormat);
177 : mFormat(format), mWidth(width), mHeight(height), mAccessMode(kAccessMode_None) {}
188 uint32_t mWidth; member in class:android::uirenderer::PixelBuffer
/frameworks/base/libs/hwui/renderthread/
H A DFrame.h31 : mWidth(width), mHeight(height), mBufferAge(bufferAge) {}
33 int32_t width() const { return mWidth; }
44 int32_t mWidth; member in class:android::uirenderer::renderthread::Frame
/frameworks/base/graphics/java/android/graphics/drawable/shapes/
H A DShape.java35 private float mWidth; field in class:Shape
42 return mWidth;
77 if (mWidth != width || mHeight != height) {
78 mWidth = width;
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
H A DStraightenFilter.java47 private int mWidth = 0; field in class:StraightenFilter
97 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) {
98 mWidth = inputFormat.getWidth();
123 Point p0 = new Point(-cosTheta * mWidth + sinTheta * mHeight,
124 -sinTheta * mWidth - cosTheta * mHeight);
126 Point p1 = new Point(cosTheta * mWidth + sinTheta * mHeight,
127 sinTheta * mWidth - cosTheta * mHeight);
129 Point p2 = new Point(-cosTheta * mWidth - sinTheta * mHeight,
130 -sinTheta * mWidth + cosTheta * mHeight);
132 Point p3 = new Point(cosTheta * mWidth
[all...]
H A DLomoishFilter.java39 private int mWidth = 0; field in class:LomoishFilter
154 if (mWidth > mHeight) {
156 scale[1] = ((float) mHeight) / mWidth;
158 scale[0] = ((float) mWidth) / mHeight;
167 mProgram.setHostValue("stepsizeX", 1.0f / mWidth);
187 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) {
188 mWidth = inputFormat.getWidth();
/frameworks/native/services/surfaceflinger/RenderEngine/
H A DTexture.cpp24 : mTextureName(0), mTextureTarget(TEXTURE_2D), mWidth(0), mHeight(0), mFiltering(false) {}
29 mWidth(0),
49 mWidth = width;
70 return mWidth;
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/util/
H A DDrawingTestHelper.java61 private final int mWidth; field in class:DrawingTestHelper
67 mWidth = width;
76 MeasureSpec.makeMeasureSpec(mWidth, MeasureSpec.EXACTLY),
78 view.layout(0, 0, mWidth, mHeight);
83 int[] out = new int[mWidth * mHeight];
84 mBitmap.getPixels(out, 0, mWidth, 0, 0, mWidth, mHeight);
/frameworks/av/cmds/screenrecord/
H A DEglWindow.h39 mWidth(0),
51 int getWidth() const { return mWidth; }
81 int mWidth; member in class:android::EglWindow
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/
H A DMirror.java31 private int mWidth; field in class:Mirror
37 mWidth = mInPixelsAllocation.getType().getX();
41 mScript.set_gWidth(mWidth);
/frameworks/av/media/libstagefright/filters/
H A DSimpleFilter.cpp25 CHECK(msg->findInt32("width", &mWidth));
28 mStride = mWidth;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
H A DImageDescriptor.java24 int mWidth; field in class:ImageDescriptor
40 mWidth = 0;
59 d.mWidth = rawData[valueIndex++] & 0xff;
71 CatLog.d("ImageDescriptor", "parse; Descriptor : " + d.mWidth + ", " + d.mHeight +
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
H A DResize.java26 private int mWidth; field in class:Resize
33 mWidth = mInPixelsAllocation.getType().getX();
38 tb.setX((int)(mWidth * scale));
46 mScript.set_gWidthIn(mWidth);
/frameworks/av/camera/include/camera/camera2/
H A DOutputConfiguration.h74 mWidth == other.mWidth &&
92 if (mWidth != other.mWidth) {
93 return mWidth < other.mWidth;
124 int mWidth; member in class:android::hardware::camera2::params::OutputConfiguration
/frameworks/av/include/camera/camera2/
H A DOutputConfiguration.h74 mWidth == other.mWidth &&
92 if (mWidth != other.mWidth) {
93 return mWidth < other.mWidth;
124 int mWidth; member in class:android::hardware::camera2::params::OutputConfiguration
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/anqp/
H A DIconInfo.java43 private final int mWidth; field in class:IconInfo
51 mWidth = width;
84 return mWidth;
113 return mWidth == that.mWidth
122 return Objects.hash(mWidth, mHeight, mLanguage, mIconType, mFileName);
128 + "Width=" + mWidth

Completed in 638 milliseconds

12345678910