/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/ |
D | StraightenFilter.java | 48 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 …]
|
D | LomoishFilter.java | 40 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()
|
D | CropRectFilter.java | 51 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()
|
D | VignetteFilter.java | 39 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()
|
D | DocumentaryFilter.java | 40 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()
|
D | FisheyeFilter.java | 49 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/ |
D | MeteringRectangle.java | 77 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()
|
D | StreamConfiguration.java | 64 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
|
D | StreamConfigurationDuration.java | 59 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
|
D | InputConfiguration.java | 31 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()
|
D | HighSpeedVideoConfiguration.java | 60 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/ |
D | Size.java | 33 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
|
D | SizeF.java | 44 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/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/ |
D | CpuVideoTrackDecoder.java | 51 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/libs/hwui/ |
D | RenderBuffer.h | 36 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/packages/Osu/src/com/android/anqp/ |
D | IconInfo.java | 16 private final int mHeight; field in IconInfo 27 mHeight = payload.getShort() & SHORT_MASK; in IconInfo() 39 return mHeight; in getHeight() 64 return mHeight == that.mHeight && in equals() 74 result = 31 * result + mHeight; in hashCode() 85 ", Height=" + mHeight + in toString()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/anqp/ |
D | IconInfo.java | 17 private final int mHeight; field in IconInfo 28 mHeight = payload.getShort() & SHORT_MASK; in IconInfo() 40 return mHeight; in getHeight() 65 return mHeight == that.mHeight && in equals() 75 result = 31 * result + mHeight; in hashCode() 86 ", Height=" + mHeight + in toString()
|
/frameworks/av/include/camera/camera2/ |
D | OutputConfiguration.h | 73 mHeight == other.mHeight); 90 if (mHeight != other.mHeight) { 91 return mHeight < other.mHeight; 106 int mHeight; variable
|
/frameworks/base/core/jni/android/graphics/ |
D | Picture.cpp | 28 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() 114 SkCanvas* canvas = reRecorder.beginRecording(mWidth, mHeight, NULL, 0); in makePartialCopy() 123 SkRect myRect = SkRect::MakeWH(SkIntToScalar(mWidth), SkIntToScalar(mHeight)); in validate()
|
/frameworks/base/libs/hwui/font/ |
D | CacheTexture.cpp | 42 newBlock->mWidth, newBlock->mHeight); in insertBlock() 86 blockToRemove->mWidth, blockToRemove->mHeight); in removeBlock() 115 , mHeight(height) in CacheTexture() 183 mTexture.resize(mWidth, mHeight, mFormat); in allocatePixelBuffer() 260 if (roundedUpW <= cacheBlock->mWidth && glyphH <= cacheBlock->mHeight && in fitBitmap() 263 if (cacheBlock->mHeight - glyphH < glyphH) { in fitBitmap() 286 newBlock->mWidth, newBlock->mHeight); in fitBitmap() 293 cacheBlock->mHeight -= glyphH; in fitBitmap() 297 cacheBlock->mWidth, cacheBlock->mHeight); in fitBitmap() 301 if (cacheBlock->mHeight < std::min(glyphH, glyphW)) { in fitBitmap() [all …]
|
/frameworks/base/graphics/java/android/graphics/drawable/shapes/ |
D | Shape.java | 32 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/ |
D | VideoFrame.h | 33 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/ |
D | Texture.cpp | 25 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/av/media/libstagefright/colorconversion/ |
D | SoftwareRenderer.cpp | 48 mHeight(0), in SoftwareRenderer() 83 mHeight == heightNew && in resetFormatIfChanged() 94 mHeight = heightNew; in resetFormatIfChanged() 239 mWidth, mHeight, in render() 245 if ((size_t)mWidth * mHeight * 3 / 2 > size) { in render() 250 (const uint8_t *)data + mWidth * mHeight; in render() 251 const uint8_t *src_v = src_u + (mWidth / 2 * mHeight / 2); in render() 278 if ((size_t)mWidth * mHeight * 3 / 2 > size) { in render() 283 + mWidth * (mHeight - mCropTop / 2); in render() 312 if ((size_t)mWidth * mHeight * 3 > size) { in render() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
D | ImageDescriptor.java | 25 int mHeight; field in ImageDescriptor 41 mHeight = 0; in ImageDescriptor() 60 d.mHeight = rawData[valueIndex++] & 0xff; in parse() 71 CatLog.d("ImageDescriptor", "parse; Descriptor : " + d.mWidth + ", " + d.mHeight + in parse()
|