/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()
|
/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 | 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 | 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 protected 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 | 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/packages/SystemUI/src/com/android/systemui/assist/ui/ |
D | CircularCornerPathRenderer.java | 29 private final int mHeight; field in CircularCornerPathRenderer 36 mHeight = DisplayUtils.getHeight(context); in CircularCornerPathRenderer() 45 mPath.moveTo(0, mHeight - mCornerRadiusBottom); in getCornerPath() 46 mPath.arcTo(0, mHeight - mCornerRadiusBottom * 2, mCornerRadiusBottom * 2, mHeight, in getCornerPath() 50 mPath.moveTo(mWidth - mCornerRadiusBottom, mHeight); in getCornerPath() 51 mPath.arcTo(mWidth - mCornerRadiusBottom * 2, mHeight - mCornerRadiusBottom * 2, in getCornerPath() 52 mWidth, mHeight, 90, -90, true); in getCornerPath()
|
/frameworks/native/libs/input/ |
D | TouchVideoFrame.cpp | 23 mHeight(height), mWidth(width),mData(std::move(data)), mTimestamp(timestamp) { in TouchVideoFrame() 27 return mHeight == rhs.mHeight in operator ==() 34 uint32_t TouchVideoFrame::getHeight() const { return mHeight; } in getHeight() 66 for (size_t i = 0; i < mHeight; i++) { in rotateQuarterTurn() 71 jRotated = mHeight - i - 1; in rotateQuarterTurn() 76 size_t indexRotated = iRotated * mHeight + jRotated; in rotateQuarterTurn() 81 std::swap(mHeight, mWidth); in rotateQuarterTurn() 96 std::swap(mData[i], mData[mHeight * mWidth - 1 - i]); in rotate180()
|
/frameworks/base/graphics/java/android/graphics/drawable/shapes/ |
D | Shape.java | 38 private float mHeight; field in Shape 51 return mHeight; in getHeight() 79 if (mWidth != width || mHeight != height) { in resize() 81 mHeight = height; in resize() 131 && Float.compare(shape.mHeight, mHeight) == 0; in equals() 136 return Objects.hash(mWidth, mHeight); in hashCode()
|
/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/core/java/android/text/style/ |
D | LineHeightSpan.java | 87 private final @Px int mHeight; field in LineHeightSpan.Standard 93 mHeight = height; in Standard() 100 mHeight = src.readInt(); in Standard() 108 return mHeight; in getHeight() 135 dest.writeInt(mHeight); in writeToParcelInternal() 147 final float ratio = mHeight * 1.0f / originHeight; in chooseHeight() 149 fm.ascent = fm.descent - mHeight; in chooseHeight()
|
/frameworks/layoutlib/bridge/src/android/view/shadow/ |
D | AmbientShadowConfig.java | 25 private final int mHeight; field in AmbientShadowConfig 43 mHeight = builder.mHeight; in AmbientShadowConfig() 52 return mHeight; in getHeight() 109 private int mHeight; field in AmbientShadowConfig.Builder 138 mHeight = height; in setSize()
|
D | SpotShadowConfig.java | 25 private final int mHeight; field in SpotShadowConfig 45 mHeight = builder.mHeight; in SpotShadowConfig() 68 return mHeight; in getHeight() 138 private int mHeight; field in SpotShadowConfig.Builder 168 mHeight = height; in setSize()
|
/frameworks/base/core/java/android/app/ |
D | Vr2dDisplayProperties.java | 51 private final int mHeight; field in Vr2dDisplayProperties 64 mHeight = height; in Vr2dDisplayProperties() 83 + ", mHeight=" + mHeight in toString() 112 dest.writeInt(mHeight); in writeToParcel() 133 mHeight = source.readInt(); in Vr2dDisplayProperties() 157 return mHeight; in getHeight() 200 private int mHeight = -1; field in Vr2dDisplayProperties.Builder 212 mHeight = height; in setDimensions() 255 return new Vr2dDisplayProperties(mWidth, mHeight, mDpi, mAddedFlags, mRemovedFlags); in build()
|
/frameworks/base/core/jni/android/graphics/ |
D | Picture.cpp | 28 mHeight = src->height(); in Picture() 36 mHeight = 0; in Picture() 43 mHeight = 0; in Picture() 50 mHeight = height; in beginRecording() 67 return mHeight; in height() 79 newPict->mHeight = cullRect.height(); in CreateFromStream() 113 SkCanvas* canvas = reRecorder.beginRecording(mWidth, mHeight, NULL, 0); in makePartialCopy()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/anqp/ |
D | IconInfo.java | 44 private final int mHeight; field in IconInfo 52 mHeight = height; in IconInfo() 88 return mHeight; in getHeight() 114 && mHeight == that.mHeight in equals() 122 return Objects.hash(mWidth, mHeight, mLanguage, mIconType, mFileName); in hashCode() 129 + ", Height=" + mHeight in toString()
|
/frameworks/av/camera/include/camera/camera2/ |
D | OutputConfiguration.h | 82 mHeight == other.mHeight && 102 if (mHeight != other.mHeight) { 103 return mHeight < other.mHeight; 132 int mHeight; variable
|
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/util/ |
D | DrawingTestHelper.java | 63 private final int mHeight; field in DrawingTestHelper 69 mHeight = height; in DrawingTestHelper() 78 MeasureSpec.makeMeasureSpec(mHeight, MeasureSpec.EXACTLY)); in drawView() 79 view.layout(0, 0, mWidth, mHeight); in drawView() 84 int[] out = new int[mWidth * mHeight]; in getPixels() 85 mBitmap.getPixels(out, 0, mWidth, 0, 0, mWidth, mHeight); in getPixels()
|
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/ |
D | PortableFloatMap.java | 17 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/av/media/libheif/ |
D | HeifDecoderImpl.cpp | 294 mHeight(0), in HeifDecoderImpl() 356 videoFrame->mHeight, in init() 365 videoFrame->mHeight, in init() 372 mHeight = videoFrame->mHeight; in init() 373 if (mHasImage && videoFrame->mTileHeight >= 512 && mWidth >= 3000 && mHeight >= 2000 ) { in init() 376 mNumSlices = (videoFrame->mHeight + mSliceHeight - 1) / mSliceHeight; in init() 416 if (bottom > mHeight) { in decodeAsync() 417 bottom = mHeight; in decodeAsync() 467 videoFrame->mHeight, in decode() 512 videoFrame->mHeight, in decode() [all …]
|