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

123456

/frameworks/base/core/java/android/hardware/camera2/
H A DSize.java32 mHeight = height;
40 return mHeight;
53 return mWidth == other.mWidth && mHeight == other.mHeight;
60 return mWidth + "x" + mHeight;
70 asLong |= (INT_MASK & mHeight);
76 private final int mHeight; field in class:Size
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/
H A DColorDrawableWithDimensions.java23 private int mHeight; field in class:ColorDrawableWithDimensions
28 mHeight = height;
38 return mHeight;
/frameworks/base/graphics/java/android/graphics/drawable/shapes/
H A DShape.java30 private float mHeight; field in class:Shape
43 return mHeight;
71 if (mWidth != width || mHeight != height) {
73 mHeight = height;
/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)) {
98 mHeight = height;
112 return mHeight;
120 return (uint32_t) ((mWidth * mHeight * formatSize(mFormat)) / 8.0f + 0.5f);
184 uint32_t mHeight; member in struct:android::uirenderer::RenderBuffer
H A DLayerCache.h96 mLayer(NULL), mWidth(0), mHeight(0) {
101 mHeight = Layer::computeIdealHeight(layerHeight);
105 mLayer(layer), mWidth(layer->getWidth()), mHeight(layer->getHeight()) {
128 uint32_t mHeight; member in struct:android::uirenderer::LayerCache::LayerEntry
H A DRenderBufferCache.h81 mBuffer(NULL), mWidth(0), mHeight(0) {
85 mBuffer(NULL), mFormat(format), mWidth(width), mHeight(height) {
90 mWidth(buffer->getWidth()), mHeight(buffer->getHeight()) {
116 uint32_t mHeight; member in struct:android::uirenderer::RenderBufferCache::RenderBufferEntry
H A DPixelBuffer.h144 return mHeight;
151 return mWidth * mHeight * formatSize(mFormat);
184 mFormat(format), mWidth(width), mHeight(height), mAccessMode(kAccessMode_None) {
190 uint32_t mHeight; member in class:android::uirenderer::PixelBuffer
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
H A DStraightenFilter.java53 private int mHeight = 0; field in class:StraightenFilter
102 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) {
104 mHeight = inputFormat.getHeight();
128 Point p0 = new Point(-cosTheta * mWidth + sinTheta * mHeight,
129 -sinTheta * mWidth - cosTheta * mHeight);
131 Point p1 = new Point(cosTheta * mWidth + sinTheta * mHeight,
132 sinTheta * mWidth - cosTheta * mHeight);
134 Point p2 = new Point(-cosTheta * mWidth - sinTheta * mHeight,
135 -sinTheta * mWidth + cosTheta * mHeight);
137 Point p3 = new Point(cosTheta * mWidth - sinTheta * mHeight,
[all...]
H A DLomoishFilter.java43 private int mHeight = 0; field in class:LomoishFilter
157 if (mWidth > mHeight) {
159 scale[1] = ((float) mHeight) / mWidth;
161 scale[0] = ((float) mWidth) / mHeight;
171 mProgram.setHostValue("stepsizeY", 1.0f / mHeight);
190 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) {
192 mHeight = inputFormat.getHeight();
H A DCropRectFilter.java56 private int mHeight = 0; field in class:CropRectFilter
88 updateSourceRect(mWidth, mHeight);
110 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) {
126 mHeight = height;
129 Log.e("CropFilter", mWidth + ", " + mHeight + ", " +
131 (float) mYorigin / mHeight + ", " +
133 (float) mOutputHeight / mHeight);
137 (float) mYorigin / mHeight,
139 (float) mOutputHeight / mHeight);
H A DDocumentaryFilter.java43 private int mHeight = 0; field in class:DocumentaryFilter
126 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) {
128 mHeight = inputFormat.getHeight();
148 if (mWidth > mHeight) {
150 scale[1] = ((float) mHeight) / mWidth;
152 scale[0] = ((float) mWidth) / mHeight;
H A DVignetteFilter.java42 private int mHeight = 0; field in class:VignetteFilter
98 if (mWidth > mHeight) {
100 scale[1] = ((float) mHeight) / mWidth;
102 scale[0] = ((float) mWidth) / mHeight;
140 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) {
142 mHeight = inputFormat.getHeight();
H A DFisheyeFilter.java55 private int mHeight = 0; field in class:FisheyeFilter
121 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) {
144 mHeight = height;
152 if (mWidth > mHeight) {
154 scale[1] = ((float) mHeight) / mWidth;
156 scale[0] = ((float) mWidth) / mHeight;
/frameworks/native/services/surfaceflinger/RenderEngine/
H A DTexture.cpp25 mWidth(0), mHeight(0), mFiltering(false) {
30 mWidth(0), mHeight(0), mFiltering(false) {
52 mHeight = height;
76 return mHeight;
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/
H A DPrintDialogFrame.java27 public int mHeight; field in class:PrintDialogFrame
52 mHeight = Math.max(mHeight, getMeasuredHeight());
58 measuredHeight = mHeight;
63 measuredHeight = Math.min(mHeight, receivedHeight);
/frameworks/base/core/java/android/view/
H A DHardwareLayer.java39 int mHeight; field in class:HardwareLayer
61 mHeight = height;
88 return mHeight;
201 mHeight = height;
/frameworks/base/libs/hwui/font/
H A DCacheTexture.cpp41 newBlock->mWidth, newBlock->mHeight);
85 blockToRemove->mWidth, blockToRemove->mHeight);
112 mTexture(NULL), mTextureId(0), mWidth(width), mHeight(height), mFormat(format),
117 mWidth - TEXTURE_BORDER_SIZE, mHeight - TEXTURE_BORDER_SIZE, true);
146 mWidth - TEXTURE_BORDER_SIZE, mHeight - TEXTURE_BORDER_SIZE, true);
185 mTexture = PixelBuffer::create(mFormat, mWidth, mHeight);
194 glTexImage2D(GL_TEXTURE_2D, 0, mFormat, mWidth, mHeight, 0,
260 if (glyph.fHeight + TEXTURE_BORDER_SIZE * 2 > mHeight) {
278 if (roundedUpW <= cacheBlock->mWidth && glyphH <= cacheBlock->mHeight &&
281 if (cacheBlock->mHeight
[all...]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/
H A DCpuVideoTrackDecoder.java50 private final int mHeight; field in class:CpuVideoTrackDecoder
61 mHeight = format.getInteger(MediaFormat.KEY_HEIGHT);
104 int outputHeight = mHeight;
106 outputWidth = mHeight;
117 convertImage(mDecodedBuffer, outBytes, mColorFormat, mWidth, mHeight);
120 mUnrotatedBytes = ByteBuffer.allocateDirect(mWidth * mHeight * 4);
123 convertImage(mDecodedBuffer, mUnrotatedBytes, mColorFormat, mWidth, mHeight);
147 offset = (mWidth - 1) * mHeight;
148 pixStride = -mHeight;
152 offset = mHeight
[all...]
/frameworks/rs/driver/
H A DrsdFrameBufferObj.h40 mHeight = height;
49 uint32_t mHeight; member in class:RsdFrameBufferObj
/frameworks/av/include/private/media/
H A DVideoFrame.h91 VideoFrame(): mWidth(0), mHeight(0), mDisplayWidth(0), mDisplayHeight(0), mSize(0), mData(0),
96 mHeight = copy.mHeight;
120 uint32_t mHeight; member in class:android::VideoFrame
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
H A DImageDescriptor.java25 int mHeight; field in class:ImageDescriptor
41 mHeight = 0;
60 d.mHeight = rawData[valueIndex++] & 0xff;
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/
H A DConvolve3x3.java36 private int mHeight; field in class:Convolve3x3
45 mHeight = mInPixelsAllocation.getType().getY();
61 mScript.set_gHeight(mHeight);
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/
H A DConvolve3x3.java29 private int mHeight; field in class:Convolve3x3
38 mHeight = mInPixelsAllocation.getType().getY();
54 mScript.set_gHeight(mHeight);
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/
H A DConvolve3x3.java37 private int mHeight; field in class:Convolve3x3
46 mHeight = mInPixelsAllocation.getType().getY();
62 mScript.set_gHeight(mHeight);
/frameworks/base/graphics/java/android/graphics/
H A DYuvImage.java63 private int mHeight; field in class:YuvImage
105 mHeight = height;
124 Rect wholeImage = new Rect(0, 0, mWidth, mHeight);
179 return mHeight;
186 mHeight * mStrides[0] + top / 2 * mStrides[1]

Completed in 798 milliseconds

123456