Home
last modified time | relevance | path

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

1234567

/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()
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()
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()
DFisheyeFilter.java49 private int mHeight = 0; field in FisheyeFilter
115 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) { in process()
138 mHeight = height; in updateFrameSize()
146 if (mWidth > mHeight) { in updateProgramParams()
148 scale[1] = ((float) mHeight) / mWidth; in updateProgramParams()
150 scale[0] = ((float) mWidth) / mHeight; in updateProgramParams()
/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()
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.java57 mHeight = checkArgumentPositive(height, "height must be positive"); in HighSpeedVideoConfiguration()
59 mSize = new Size(mWidth, mHeight); in HighSpeedVideoConfiguration()
78 return mHeight; in getHeight()
136 mHeight == other.mHeight && in equals()
148 return HashCodeHelpers.hashCode(mWidth, mHeight, mFpsMin, mFpsMax); in hashCode()
152 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/libs/hwui/font/
DCacheTexture.cpp41 newBlock->mWidth, newBlock->mHeight); in insertBlock()
85 blockToRemove->mWidth, blockToRemove->mHeight); in removeBlock()
112 mTexture(NULL), mTextureId(0), mWidth(width), mHeight(height), mFormat(format), in CacheTexture()
117 mWidth - TEXTURE_BORDER_SIZE, mHeight - TEXTURE_BORDER_SIZE); in CacheTexture()
146 mWidth - TEXTURE_BORDER_SIZE, mHeight - TEXTURE_BORDER_SIZE); in init()
185 mTexture = PixelBuffer::create(mFormat, mWidth, mHeight); in allocateTexture()
194 glTexImage2D(GL_TEXTURE_2D, 0, mFormat, mWidth, mHeight, 0, in allocateTexture()
260 if (glyph.fHeight + TEXTURE_BORDER_SIZE * 2 > mHeight) { in fitBitmap()
278 if (roundedUpW <= cacheBlock->mWidth && glyphH <= cacheBlock->mHeight && in fitBitmap()
281 if (cacheBlock->mHeight - glyphH < glyphH) { in fitBitmap()
[all …]
/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
DRenderBufferCache.h81 mBuffer(NULL), mWidth(0), mHeight(0) { in RenderBufferEntry()
85 mBuffer(NULL), mFormat(format), mWidth(width), mHeight(height) { in RenderBufferEntry()
90 mWidth(buffer->getWidth()), mHeight(buffer->getHeight()) { in RenderBufferEntry()
116 uint32_t mHeight; member
DLayerCache.h100 mLayer(NULL), mWidth(0), mHeight(0) { in LayerEntry()
105 mHeight = Layer::computeIdealHeight(layerHeight); in LayerEntry()
109 mLayer(layer), mWidth(layer->getWidth()), mHeight(layer->getHeight()) { in LayerEntry()
132 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/jni/android/graphics/
DPicture.cpp27 mHeight = src->height(); in Picture()
35 mHeight = 0; in Picture()
43 mHeight = height; in beginRecording()
62 SkASSERT(mPicture->height() == mHeight); in width()
71 SkASSERT(mPicture->height() == mHeight); in height()
74 return mHeight; in height()
83 newPict->mHeight = newPict->mPicture->height(); in CreateFromStream()
117 SkCanvas* canvas = reRecorder.beginRecording(mWidth, mHeight, NULL, 0); in makePartialCopy()
/frameworks/base/graphics/java/android/graphics/drawable/shapes/
DShape.java32 private float mHeight; field in Shape
45 return mHeight; in getHeight()
71 if (mWidth != width || mHeight != height) { in resize()
73 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()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/
DColorDrawableWithDimensions.java23 private int mHeight; field in ColorDrawableWithDimensions
28 mHeight = height; in ColorDrawableWithDimensions()
38 return mHeight; in getIntrinsicHeight()
/frameworks/base/graphics/java/android/graphics/
DYuvImage.java63 private int mHeight; field in YuvImage
105 mHeight = height; in YuvImage()
124 Rect wholeImage = new Rect(0, 0, mWidth, mHeight); in compressToJpeg()
179 return mHeight; in getHeight()
186 mHeight * mStrides[0] + top / 2 * mStrides[1] in calculateOffsets()
/frameworks/base/tests/AccessoryDisplay/sink/src/com/android/accessorydisplay/sink/
DUsbHid.java36 private final int mHeight; field in UsbHid.Multitouch
42 mHeight = height; in Multitouch()
64 byte maxYLsb = (byte)(mHeight - 1); in generateDescriptor()
65 byte maxYMsb = (byte)((mHeight - 1) >> 8); in generateDescriptor()
/frameworks/rs/java/tests/LivePreview/src/com/android/rs/livepreview/
DRsYuv.java40 private int mHeight; field in RsYuv
74 mHeight = height; in reset()
76 mScript.invoke_setSize(mWidth, mHeight); in reset()
80 tb.setY(mHeight); in reset()
88 tb.setY(mHeight); in reset()
106 return mHeight; in getHeight()

1234567