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

123456789

/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) {
82 glRenderbufferStorage(GL_RENDERBUFFER, mFormat, mWidth, mHeight);
93 if (isAllocated() && (width != mWidth || height != mHeight)) {
97 mWidth = width;
105 return mWidth;
120 return (uint32_t) ((mWidth * mHeight * formatSize(mFormat)) / 8.0f + 0.5f);
183 uint32_t mWidth; member in struct:android::uirenderer::RenderBuffer
H A DDeferredLayerUpdater.h42 if (mWidth != width || mHeight != height) {
43 mWidth = width;
50 int getWidth() { return mWidth; }
97 int mWidth; member in class:android::uirenderer::DeferredLayerUpdater
H A DLayerCache.h100 mLayer(nullptr), mWidth(0), mHeight(0) {
104 mWidth = Layer::computeIdealWidth(layerWidth);
109 mLayer(layer), mWidth(layer->getWidth()), mHeight(layer->getHeight()) {
127 uint32_t mWidth; member in struct:android::uirenderer::LayerCache::LayerEntry
H A DRenderBufferCache.h78 mBuffer(nullptr), mWidth(0), mHeight(0) {
82 mBuffer(nullptr), mFormat(format), mWidth(width), mHeight(height) {
87 mWidth(buffer->getWidth()), mHeight(buffer->getHeight()) {
106 uint32_t mWidth; member in struct:android::uirenderer::RenderBufferCache::RenderBufferEntry
H A DPixelBuffer.h130 return mWidth;
144 return mWidth * mHeight * formatSize(mFormat);
151 return (y * mWidth + x) * formatSize(mFormat);
196 mFormat(format), mWidth(width), mHeight(height), mAccessMode(kAccessMode_None) {
209 uint32_t mWidth; member in class:android::uirenderer::PixelBuffer
/frameworks/base/graphics/java/android/graphics/drawable/shapes/
H A DShape.java31 private float mWidth; field in class:Shape
38 return mWidth;
71 if (mWidth != width || mHeight != height) {
72 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.cpp25 mWidth(0), mHeight(0), mFiltering(false) {
30 mWidth(0), mHeight(0), mFiltering(false) {
51 mWidth = width;
72 return mWidth;
/frameworks/base/packages/Osu/src/com/android/anqp/
H A DIconInfo.java15 private final int mWidth; field in class:IconInfo
26 mWidth = payload.getShort() & SHORT_MASK;
35 return mWidth;
65 mWidth == that.mWidth &&
73 int result = mWidth;
84 "Width=" + mWidth +
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/anqp/
H A DIconInfo.java16 private final int mWidth; field in class:IconInfo
27 mWidth = payload.getShort() & SHORT_MASK;
36 return mWidth;
66 mWidth == that.mWidth &&
74 int result = mWidth;
85 "Width=" + mWidth +
/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/java/tests/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/av/include/private/media/
H A DVideoFrame.h33 VideoFrame(): mWidth(0), mHeight(0), mDisplayWidth(0), mDisplayHeight(0), mSize(0), mData(0),
37 mWidth = copy.mWidth;
61 uint32_t mWidth; member in class:android::VideoFrame
/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/java/tests/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/base/core/jni/android/graphics/
H A DPicture.cpp27 mWidth = src->width();
36 mWidth = 0;
44 mWidth = width;
60 return mWidth;
76 newPict->mWidth = cullRect.width();
114 SkCanvas* canvas = reRecorder.beginRecording(mWidth, mHeight, NULL, 0);
123 SkRect myRect = SkRect::MakeWH(SkIntToScalar(mWidth), SkIntToScalar(mHeight));

Completed in 551 milliseconds

123456789