Home
last modified time | relevance | path

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

123456

/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
DStraightenFilter.java53 private int mHeight = 0; field in StraightenFilter
102 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) { in process()
104 mHeight = inputFormat.getHeight(); in process()
128 Point p0 = new Point(-cosTheta * mWidth + sinTheta * mHeight, in updateParameters()
129 -sinTheta * mWidth - cosTheta * mHeight); in updateParameters()
131 Point p1 = new Point(cosTheta * mWidth + sinTheta * mHeight, in updateParameters()
132 sinTheta * mWidth - cosTheta * mHeight); in updateParameters()
134 Point p2 = new Point(-cosTheta * mWidth - sinTheta * mHeight, in updateParameters()
135 -sinTheta * mWidth + cosTheta * mHeight); in updateParameters()
137 Point p3 = new Point(cosTheta * mWidth - sinTheta * mHeight, in updateParameters()
[all …]
DLomoishFilter.java43 private int mHeight = 0; field in LomoishFilter
157 if (mWidth > mHeight) { in initParameters()
159 scale[1] = ((float) mHeight) / mWidth; in initParameters()
161 scale[0] = ((float) mWidth) / mHeight; in initParameters()
171 mProgram.setHostValue("stepsizeY", 1.0f / mHeight); in initParameters()
190 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) { in process()
192 mHeight = inputFormat.getHeight(); in process()
DCropRectFilter.java56 private int mHeight = 0; field in CropRectFilter
88 updateSourceRect(mWidth, mHeight); in fieldPortValueUpdated()
110 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) { in process()
126 mHeight = height; in updateSourceRect()
137 (float) mYorigin / mHeight, in updateSourceRect()
139 (float) mOutputHeight / mHeight); in updateSourceRect()
DDocumentaryFilter.java43 private int mHeight = 0; field in DocumentaryFilter
126 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) { in process()
128 mHeight = inputFormat.getHeight(); in process()
148 if (mWidth > mHeight) { in initParameters()
150 scale[1] = ((float) mHeight) / mWidth; in initParameters()
152 scale[0] = ((float) mWidth) / mHeight; in initParameters()
DVignetteFilter.java42 private int mHeight = 0; field in VignetteFilter
98 if (mWidth > mHeight) { in initParameters()
100 scale[1] = ((float) mHeight) / mWidth; in initParameters()
102 scale[0] = ((float) mWidth) / mHeight; in initParameters()
140 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) { in process()
142 mHeight = inputFormat.getHeight(); in process()
DFisheyeFilter.java55 private int mHeight = 0; field in FisheyeFilter
121 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) { in process()
144 mHeight = height; in updateFrameSize()
152 if (mWidth > mHeight) { in updateProgramParams()
154 scale[1] = ((float) mHeight) / mWidth; in updateProgramParams()
156 scale[0] = ((float) mWidth) / mHeight; in updateProgramParams()
DRotateFilter.java50 private int mHeight = 0; field in RotateFilter
100 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) { in process()
102 mHeight = inputFormat.getHeight(); in process()
104 mOutputHeight = mHeight; in process()
138 mOutputWidth = mHeight; in updateParameters()
/frameworks/base/core/java/android/hardware/camera2/
DSize.java32 mHeight = height; in Size()
40 return mHeight; in getHeight()
53 return mWidth == other.mWidth && mHeight == other.mHeight; in equals()
60 return mWidth + "x" + mHeight; in toString()
70 asLong |= (INT_MASK & mHeight); in hashCode()
76 private final int mHeight; field in Size
/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
DLayerCache.h96 mLayer(NULL), mWidth(0), mHeight(0) { in LayerEntry()
101 mHeight = Layer::computeIdealHeight(layerHeight); in LayerEntry()
105 mLayer(layer), mWidth(layer->getWidth()), mHeight(layer->getHeight()) { in LayerEntry()
128 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
DPixelBuffer.h144 return mHeight; in getHeight()
151 return mWidth * mHeight * formatSize(mFormat); in getSize()
184 mFormat(format), mWidth(width), mHeight(height), mAccessMode(kAccessMode_None) { in PixelBuffer()
190 uint32_t mHeight; variable
/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, true); in CacheTexture()
146 mWidth - TEXTURE_BORDER_SIZE, mHeight - TEXTURE_BORDER_SIZE, true); 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/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/
DCpuVideoTrackDecoder.java50 private final int mHeight; field in CpuVideoTrackDecoder
61 mHeight = format.getInteger(MediaFormat.KEY_HEIGHT); in CpuVideoTrackDecoder()
104 int outputHeight = mHeight; in copyFrameDataTo()
106 outputWidth = mHeight; in copyFrameDataTo()
117 convertImage(mDecodedBuffer, outBytes, mColorFormat, mWidth, mHeight); in copyFrameDataTo()
120 mUnrotatedBytes = ByteBuffer.allocateDirect(mWidth * mHeight * 4); in copyFrameDataTo()
123 convertImage(mDecodedBuffer, mUnrotatedBytes, mColorFormat, mWidth, mHeight); in copyFrameDataTo()
147 offset = (mWidth - 1) * mHeight; in copyRotate()
148 pixStride = -mHeight; in copyRotate()
152 offset = mHeight - 1; in copyRotate()
[all …]
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/
DPrintDialogFrame.java27 public int mHeight; field in PrintDialogFrame
52 mHeight = Math.max(mHeight, getMeasuredHeight()); in onMeasure()
58 measuredHeight = mHeight; in onMeasure()
63 measuredHeight = Math.min(mHeight, receivedHeight); in onMeasure()
/frameworks/base/graphics/java/android/graphics/drawable/shapes/
DShape.java30 private float mHeight; field in Shape
43 return mHeight; in getHeight()
71 if (mWidth != width || mHeight != height) { in resize()
73 mHeight = height; in resize()
/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/core/java/android/view/
DHardwareLayer.java39 int mHeight; field in HardwareLayer
61 mHeight = height; in HardwareLayer()
88 return mHeight; in getHeight()
201 mHeight = height; in update()
/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/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/rs/java/tests/LivePreview/src/com/android/rs/livepreview/
DRsYuv.java39 private int mHeight; field in RsYuv
73 mHeight = height; in reset()
75 mScript.invoke_setSize(mWidth, mHeight); in reset()
79 tb.setY(mHeight); in reset()
87 tb.setY(mHeight); in reset()
105 return mHeight; in getHeight()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
DImageDescriptor.java25 int mHeight; field in ImageDescriptor
41 mHeight = 0; in ImageDescriptor()
60 d.mHeight = rawData[valueIndex++] & 0xff; in parse()
/frameworks/av/include/private/media/
DVideoFrame.h91 VideoFrame(): mWidth(0), mHeight(0), mDisplayWidth(0), mDisplayHeight(0), mSize(0), mData(0), in VideoFrame()
96 mHeight = copy.mHeight; in VideoFrame()
120 uint32_t mHeight; variable
/frameworks/av/media/libstagefright/
DJPEGSource.cpp60 mHeight(0), in JPEGSource()
104 meta->setInt32(kKeyHeight, mHeight); in getFormat()
143 mHeight = 0; in parseJPEG()
186 return (mWidth > 0 && mHeight > 0) ? OK : UNKNOWN_ERROR; in parseJPEG()
214 mHeight = height; in parseJPEG()

123456