Home
last modified time | relevance | path

Searched refs:mHeight (Results 1 – 25 of 217) sorted by relevance

123456789

/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
DStraightenFilter.java48 private int mHeight = 0; field in StraightenFilter
97 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) { in process()
99 mHeight = inputFormat.getHeight(); in process()
123 Point p0 = new Point(-cosTheta * mWidth + sinTheta * mHeight, in updateParameters()
124 -sinTheta * mWidth - cosTheta * mHeight); in updateParameters()
126 Point p1 = new Point(cosTheta * mWidth + sinTheta * mHeight, in updateParameters()
127 sinTheta * mWidth - cosTheta * mHeight); in updateParameters()
129 Point p2 = new Point(-cosTheta * mWidth - sinTheta * mHeight, in updateParameters()
130 -sinTheta * mWidth + cosTheta * mHeight); in updateParameters()
132 Point p3 = new Point(cosTheta * mWidth - sinTheta * mHeight, in updateParameters()
[all …]
DLomoishFilter.java40 private int mHeight = 0; field in LomoishFilter
154 if (mWidth > mHeight) { in initParameters()
156 scale[1] = ((float) mHeight) / mWidth; in initParameters()
158 scale[0] = ((float) mWidth) / mHeight; in initParameters()
168 mProgram.setHostValue("stepsizeY", 1.0f / mHeight); in initParameters()
187 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) { in process()
189 mHeight = inputFormat.getHeight(); in process()
DCropRectFilter.java51 private int mHeight = 0; field in CropRectFilter
83 updateSourceRect(mWidth, mHeight); in fieldPortValueUpdated()
105 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) { in process()
121 mHeight = height; in updateSourceRect()
132 (float) mYorigin / mHeight, in updateSourceRect()
134 (float) mOutputHeight / mHeight); in updateSourceRect()
DDocumentaryFilter.java40 private int mHeight = 0; field in DocumentaryFilter
123 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) { in process()
125 mHeight = inputFormat.getHeight(); in process()
145 if (mWidth > mHeight) { in initParameters()
147 scale[1] = ((float) mHeight) / mWidth; in initParameters()
149 scale[0] = ((float) mWidth) / mHeight; in initParameters()
DVignetteFilter.java39 private int mHeight = 0; field in VignetteFilter
95 if (mWidth > mHeight) { in initParameters()
97 scale[1] = ((float) mHeight) / mWidth; in initParameters()
99 scale[0] = ((float) mWidth) / mHeight; in initParameters()
137 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) { in process()
139 mHeight = inputFormat.getHeight(); in process()
/frameworks/base/core/java/android/hardware/camera2/params/
DMeteringRectangle.java77 private final int mHeight; field in MeteringRectangle
95 mHeight = checkArgumentNonnegative(height, "height must be nonnegative"); in MeteringRectangle()
119 mHeight = checkArgumentNonnegative(dimensions.getHeight(), "height must be nonnegative"); in MeteringRectangle()
140 mHeight = checkArgumentNonnegative(rect.height(), "rect.height must be nonnegative"); in MeteringRectangle()
177 return mHeight; in getHeight()
206 return new Size(mWidth, mHeight); in getSize()
217 return new Rect(mX, mY, mX + mWidth, mY + mHeight); in getRect()
246 && mHeight == other.mHeight in equals()
255 return HashCodeHelpers.hashCode(mX, mY, mWidth, mHeight, mWeight); in hashCode()
267 return String.format("(x:%d, y:%d, w:%d, h:%d, wt:%d)", mX, mY, mWidth, mHeight, mWeight); in toString()
DInputConfiguration.java31 private final int mHeight; field in InputConfiguration
51 mHeight = height; in InputConfiguration()
70 return mHeight; in getHeight()
101 otherInputConfig.getHeight() == mHeight && in equals()
113 return HashCodeHelpers.hashCode(mWidth, mHeight, mFormat); in hashCode()
126 return String.format("InputConfiguration(w:%d, h:%d, format:%d)", mWidth, mHeight, mFormat); in toString()
DStreamConfiguration.java64 mHeight = checkArgumentPositive(height, "height must be positive"); in StreamConfiguration()
96 return mHeight; in getHeight()
105 return new Size(mWidth, mHeight); in getSize()
153 mHeight == other.mHeight && in equals()
164 return HashCodeHelpers.hashCode(mFormat, mWidth, mHeight, mInput ? 1 : 0); in hashCode()
169 private final int mHeight; field in StreamConfiguration
DStreamConfigurationDuration.java59 mHeight = checkArgumentPositive(height, "height must be positive"); in StreamConfigurationDuration()
91 return mHeight; in getHeight()
100 return new Size(mWidth, mHeight); in getSize()
132 mHeight == other.mHeight && in equals()
143 return HashCodeHelpers.hashCode(mFormat, mWidth, mHeight, in hashCode()
149 private final int mHeight; field in StreamConfigurationDuration
DHighSpeedVideoConfiguration.java60 mHeight = checkArgumentPositive(height, "height must be positive"); in HighSpeedVideoConfiguration()
62 mSize = new Size(mWidth, mHeight); in HighSpeedVideoConfiguration()
82 return mHeight; in getHeight()
149 mHeight == other.mHeight && in equals()
162 return HashCodeHelpers.hashCode(mWidth, mHeight, mFpsMin, mFpsMax); in hashCode()
166 private final int mHeight; field in HighSpeedVideoConfiguration
/frameworks/base/core/java/android/util/
DSize.java33 mHeight = height; in Size()
49 return mHeight; in getHeight()
74 return mWidth == other.mWidth && mHeight == other.mHeight; in equals()
86 return mWidth + "x" + mHeight; in toString()
147 return mHeight ^ ((mWidth << (Integer.SIZE / 2)) | (mWidth >>> (Integer.SIZE / 2))); in hashCode()
151 private final int mHeight; field in Size
DSizeF.java44 mHeight = checkArgumentFinite(height, "height"); in SizeF()
60 return mHeight; in getHeight()
84 return mWidth == other.mWidth && mHeight == other.mHeight; in equals()
96 return mWidth + "x" + mHeight; in toString()
159 return Float.floatToIntBits(mWidth) ^ Float.floatToIntBits(mHeight); in hashCode()
163 private final float mHeight; field in SizeF
/frameworks/base/packages/Osu/src/com/android/anqp/
DIconInfo.java18 private final int mHeight; field in IconInfo
29 mHeight = payload.getShort() & SHORT_MASK; in IconInfo()
41 return mHeight; in getHeight()
66 return mHeight == that.mHeight && in equals()
76 result = 31 * result + mHeight; in hashCode()
87 ", Height=" + mHeight + in toString()
96 mHeight = in.readInt(); in IconInfo()
104 out.writeInt(mHeight); in writeParcel()
/frameworks/base/libs/hwui/
DRenderBuffer.h36 mFormat(format), mWidth(width), mHeight(height), mAllocated(false) { in RenderBuffer()
82 glRenderbufferStorage(GL_RENDERBUFFER, mFormat, mWidth, mHeight); in allocate()
93 if (isAllocated() && (width != mWidth || height != mHeight)) { in resize()
98 mHeight = height; in resize()
112 return mHeight; in getHeight()
120 return (uint32_t) ((mWidth * mHeight * formatSize(mFormat)) / 8.0f + 0.5f); in getSize()
184 uint32_t mHeight; member
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/
DCpuVideoTrackDecoder.java51 private final int mHeight; field in CpuVideoTrackDecoder
62 mHeight = format.getInteger(MediaFormat.KEY_HEIGHT); in CpuVideoTrackDecoder()
105 int outputHeight = mHeight; in copyFrameDataTo()
107 outputWidth = mHeight; in copyFrameDataTo()
118 convertImage(mDecodedBuffer, outBytes, mColorFormat, mWidth, mHeight); in copyFrameDataTo()
121 mUnrotatedBytes = ByteBuffer.allocateDirect(mWidth * mHeight * 4); in copyFrameDataTo()
124 convertImage(mDecodedBuffer, mUnrotatedBytes, mColorFormat, mWidth, mHeight); in copyFrameDataTo()
148 offset = (mWidth - 1) * mHeight; in copyRotate()
149 pixStride = -mHeight; in copyRotate()
153 offset = mHeight - 1; in copyRotate()
[all …]
/frameworks/base/core/java/android/app/
DVr2dDisplayProperties.java36 private final int mHeight; field in Vr2dDisplayProperties
41 mHeight = height; in Vr2dDisplayProperties()
57 ", mHeight=" + mHeight + in toString()
82 dest.writeInt(mHeight); in writeToParcel()
101 mHeight = source.readInt(); in Vr2dDisplayProperties()
108 pw.println(prefix + " height=" + mHeight); in dump()
117 return mHeight; in getHeight()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/anqp/
DIconInfo.java19 private final int mHeight; field in IconInfo
30 mHeight = payload.getShort() & SHORT_MASK; in IconInfo()
42 return mHeight; in getHeight()
67 return mHeight == that.mHeight && in equals()
77 result = 31 * result + mHeight; in hashCode()
88 ", Height=" + mHeight + in toString()
/frameworks/av/camera/include/camera/camera2/
DOutputConfiguration.h74 mHeight == other.mHeight &&
93 if (mHeight != other.mHeight) {
94 return mHeight < other.mHeight;
119 int mHeight; variable
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/util/
DDrawingTestHelper.java62 private final int mHeight; field in DrawingTestHelper
68 mHeight = height; in DrawingTestHelper()
77 MeasureSpec.makeMeasureSpec(mHeight, MeasureSpec.EXACTLY)); in drawView()
78 view.layout(0, 0, mWidth, mHeight); in drawView()
83 int[] out = new int[mWidth * mHeight]; in getPixels()
84 mBitmap.getPixels(out, 0, mWidth, 0, 0, mWidth, mHeight); in getPixels()
/frameworks/base/core/jni/android/graphics/
DPicture.cpp28 mHeight = src->height(); in Picture()
37 mHeight = 0; in Picture()
45 mHeight = height; in beginRecording()
65 return mHeight; in height()
77 newPict->mHeight = cullRect.height(); in CreateFromStream()
113 SkCanvas* canvas = reRecorder.beginRecording(mWidth, mHeight, NULL, 0); in makePartialCopy()
122 SkRect myRect = SkRect::MakeWH(SkIntToScalar(mWidth), SkIntToScalar(mHeight)); in validate()
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/
DPortableFloatMap.java17 private int mHeight; field in PortableFloatMap
53 mHeight = Integer.parseInt(heightLine); in PortableFloatMap()
57 mData = ByteBuffer.allocate(bytesPerRow * mHeight); in PortableFloatMap()
67 for (int y = 0; y < mHeight; y++) { in PortableFloatMap()
88 float[] array = new float[mWidth * mHeight];
96 int getHeight() { return mHeight; }
/frameworks/base/libs/hwui/font/
DCacheTexture.cpp42 newBlock->mWidth, newBlock->mHeight); in insertBlock()
86 blockToRemove->mWidth, blockToRemove->mHeight); in removeBlock()
115 , mHeight(height) in CacheTexture()
188 mTexture.resize(mWidth, mHeight, internalFormat, mFormat); in allocatePixelBuffer()
271 if (roundedUpW <= cacheBlock->mWidth && glyphH <= cacheBlock->mHeight && in fitBitmap()
274 if (cacheBlock->mHeight - glyphH < glyphH) { in fitBitmap()
297 newBlock->mWidth, newBlock->mHeight); in fitBitmap()
304 cacheBlock->mHeight -= glyphH; in fitBitmap()
308 cacheBlock->mWidth, cacheBlock->mHeight); in fitBitmap()
312 if (cacheBlock->mHeight < std::min(glyphH, glyphW)) { in fitBitmap()
[all …]
/frameworks/base/graphics/java/android/graphics/drawable/shapes/
DShape.java36 private float mHeight; field in Shape
49 return mHeight; in getHeight()
77 if (mWidth != width || mHeight != height) { in resize()
79 mHeight = height; in resize()
/frameworks/av/include/private/media/
DVideoFrame.h33 VideoFrame(): mWidth(0), mHeight(0), mDisplayWidth(0), mDisplayHeight(0), mSize(0), mData(0), in VideoFrame()
38 mHeight = copy.mHeight; in VideoFrame()
62 uint32_t mHeight; variable
/frameworks/native/services/surfaceflinger/RenderEngine/
DTexture.cpp25 mWidth(0), mHeight(0), mFiltering(false) { in Texture()
30 mWidth(0), mHeight(0), mFiltering(false) { in Texture()
52 mHeight = height; in setDimensions()
76 return mHeight; in getHeight()

123456789