Home
last modified time | relevance | path

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

12345678910>>...12

/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()
/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()
DInputConfiguration.java40 private final int mHeight; field in InputConfiguration
61 mHeight = height; in InputConfiguration()
95 mHeight = info.getHeight(); in InputConfiguration()
105 mHeight = height; in InputConfiguration()
125 return mHeight; in getHeight()
168 otherInputConfig.getHeight() == mHeight && in equals()
181 return HashCodeHelpers.hashCode(mWidth, mHeight, mFormat, mIsMultiResolution ? 1 : 0); in hashCode()
196 mWidth, mHeight, mFormat, mIsMultiResolution); in toString()
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
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 protected int mHeight; field in StreamConfiguration
DHighSpeedVideoConfiguration.java60 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/
DCircularCornerPathRenderer.java29 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/
DTouchVideoFrame.cpp24 mHeight(height), mWidth(width),mData(std::move(data)), mTimestamp(timestamp) { in TouchVideoFrame()
28 return mHeight == rhs.mHeight in operator ==()
35 uint32_t TouchVideoFrame::getHeight() const { return mHeight; } in getHeight()
67 for (size_t i = 0; i < mHeight; i++) { in rotateQuarterTurn()
72 jRotated = mHeight - i - 1; in rotateQuarterTurn()
77 size_t indexRotated = iRotated * mHeight + jRotated; in rotateQuarterTurn()
82 std::swap(mHeight, mWidth); in rotateQuarterTurn()
97 std::swap(mData[i], mData[mHeight * mWidth - 1 - i]); in rotate180()
/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.java48 mHeight = checkArgumentFinite(height, "height"); in SizeF()
64 return mHeight; in getHeight()
88 return mWidth == other.mWidth && mHeight == other.mHeight; in equals()
100 return mWidth + "x" + mHeight; in toString()
163 return Float.floatToIntBits(mWidth) ^ Float.floatToIntBits(mHeight); in hashCode()
167 private final float mHeight; field in SizeF
185 out.writeFloat(mHeight); in writeToParcel()
/frameworks/base/graphics/java/android/graphics/drawable/shapes/
DShape.java38 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/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/java/android/text/style/
DLineHeightSpan.java87 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/base/core/java/android/app/
DVr2dDisplayProperties.java51 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/libs/hwui/jni/
DPicture.cpp28 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()
114 SkCanvas* canvas = reRecorder.beginRecording(mWidth, mHeight); in makePartialCopy()
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/util/
DDrawingTestHelper.java63 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/
DPortableFloatMap.java17 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/camera/include/camera/camera2/
DOutputConfiguration.h86 mHeight == other.mHeight &&
108 if (mHeight != other.mHeight) {
109 return mHeight < other.mHeight;
147 int mHeight; variable
/frameworks/native/services/surfaceflinger/DisplayHardware/
DDisplayMode.h63 mDisplayMode->mHeight = height; in setHeight()
103 auto longDimension = std::max(mDisplayMode->mWidth, mDisplayMode->mHeight); in getDefaultDensity()
117 int32_t getHeight() const { return mHeight; } in getHeight()
118 ui::Size getSize() const { return {mWidth, mHeight}; } in getSize()
129 return mHwcId == other->mHwcId && mWidth == other->mWidth && mHeight == other->mHeight && in equalsExceptDisplayModeId()
141 int32_t mHeight = -1; variable
/frameworks/base/packages/SettingsLib/BarChartPreference/src/com/android/settingslib/widget/
DBarViewInfo.java38 private int mHeight; field in BarViewInfo
55 mHeight = barHeight; in BarViewInfo()
71 return Comparator.comparingInt((BarViewInfo barViewInfo) -> barViewInfo.mHeight) in compareTo()
76 mHeight = height; in setHeight()
92 return mHeight; in getHeight()
/frameworks/base/core/java/android/hardware/display/
DVirtualDisplayConfig.java56 private int mHeight; field in VirtualDisplayConfig
126 this.mHeight = height; in VirtualDisplayConfig()
128 IntRange.class, null, mHeight, in VirtualDisplayConfig()
163 return mHeight; in getHeight()
227 dest.writeInt(mHeight); in writeToParcel()
263 this.mHeight = height; in VirtualDisplayConfig()
265 IntRange.class, null, mHeight, in VirtualDisplayConfig()
302 private @IntRange(from = 1) int mHeight; field in VirtualDisplayConfig.Builder
335 mHeight = height; in Builder()
337 IntRange.class, null, mHeight, in Builder()
[all …]

12345678910>>...12