Home
last modified time | relevance | path

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

12345678910>>...13

/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()
/frameworks/base/core/java/android/hardware/input/
DVirtualTouchDeviceConfig.java33 private final int mHeight; field in VirtualTouchDeviceConfig
38 mHeight = builder.mHeight; in VirtualTouchDeviceConfig()
44 mHeight = in.readInt(); in VirtualTouchDeviceConfig()
54 return mHeight; in getHeight()
61 dest.writeInt(mHeight); in writeToParcel()
67 return " width=" + mWidth + " height=" + mHeight; in additionalFieldsToString()
79 private final int mHeight; field in VirtualTouchDeviceConfig.Builder
99 mHeight = touchDeviceHeight; in Builder()
DVirtualNavigationTouchpadConfig.java35 private final int mHeight; field in VirtualNavigationTouchpadConfig
41 mHeight = builder.mHeight; in VirtualNavigationTouchpadConfig()
47 mHeight = in.readInt(); in VirtualNavigationTouchpadConfig()
53 return mHeight; in getHeight()
69 dest.writeInt(mHeight); in writeToParcel()
76 return " width=" + mWidth + " height=" + mHeight; in additionalFieldsToString()
97 private final int mHeight; field in VirtualNavigationTouchpadConfig.Builder
114 mHeight = touchpadHeight; in Builder()
/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/base/services/core/java/com/android/server/display/mode/
DSizeVote.java33 final int mHeight; field in SizeVote
47 mHeight = height; in SizeVote()
54 if (mHeight > 0 && mWidth > 0) { in updateSummary()
60 summary.height = mHeight; in updateSummary()
65 summary.height = Math.min(summary.height, mHeight); in updateSummary()
76 return mWidth == sizeVote.mWidth && mHeight == sizeVote.mHeight in equals()
82 return Objects.hash(mWidth, mHeight, mMinWidth, mMinHeight); in hashCode()
87 return "SizeVote{ mWidth=" + mWidth + ", mHeight=" + mHeight in toString()
/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/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()
70 for (size_t i = 0; i < mHeight; i++) { in rotateQuarterTurn()
75 jRotated = mHeight - i - 1; in rotateQuarterTurn()
80 size_t indexRotated = iRotated * mHeight + jRotated; in rotateQuarterTurn()
85 std::swap(mHeight, mWidth); in rotateQuarterTurn()
100 std::swap(mData[i], mData[mHeight * mWidth - 1 - i]); in rotate180()
/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/libs/WindowManager/Shell/src/com/android/wm/shell/common/split/
DDividerHandleView.java72 private int mHeight; field in DividerHandleView
95 mHeight = getResources().getDimensionPixelSize(mIsLeftRightSplit in updateDimens()
99 mCurrentHeight = mHeight; in updateDimens()
100 mTouchingWidth = mWidth > mHeight ? mWidth / 2 : mWidth; in updateDimens()
101 mTouchingHeight = mHeight > mWidth ? mHeight / 2 : mHeight; in updateDimens()
102 mHoveringWidth = mWidth > mHeight ? ((int) (mWidth * 1.5f)) : mWidth; in updateDimens()
103 mHoveringHeight = mHeight > mWidth ? ((int) (mHeight * 1.5f)) : mHeight; in updateDimens()
136 mCurrentHeight = stateOn ? stateHeight : mHeight; in setInputState()
140 stateOn ? stateHeight : mHeight, stateOn); in setInputState()
/frameworks/base/core/java/android/util/
DSize.java34 mHeight = height; in Size()
50 return mHeight; in getHeight()
75 return mWidth == other.mWidth && mHeight == other.mHeight; in equals()
87 return mWidth + "x" + mHeight; in toString()
148 return mHeight ^ ((mWidth << (Integer.SIZE / 2)) | (mWidth >>> (Integer.SIZE / 2))); in hashCode()
152 private final int mHeight; field in Size
DSizeF.java49 mHeight = checkArgumentFinite(height, "height"); in SizeF()
65 return mHeight; in getHeight()
89 return mWidth == other.mWidth && mHeight == other.mHeight; in equals()
101 return mWidth + "x" + mHeight; in toString()
164 return Float.floatToIntBits(mWidth) ^ Float.floatToIntBits(mHeight); in hashCode()
168 private final float mHeight; field in SizeF
186 out.writeFloat(mHeight); in writeToParcel()
/frameworks/base/core/java/android/companion/virtual/camera/
DVirtualCameraStreamConfig.java44 private final int mHeight; field in VirtualCameraStreamConfig
66 this.mHeight = height; in VirtualCameraStreamConfig()
73 mHeight = in.readInt(); in VirtualCameraStreamConfig()
86 dest.writeInt(mHeight); in writeToParcel()
114 return mHeight; in getHeight()
122 return mWidth == that.mWidth && mHeight == that.mHeight && mFormat == that.mFormat in equals()
128 return Objects.hash(mWidth, mHeight, mFormat, mMaxFps); 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/libs/WindowManager/Shell/src/com/android/wm/shell/common/
DDisplayLayout.java75 private int mHeight; field in DisplayLayout
96 && mHeight == other.mHeight in isSameGeometry()
109 && mHeight == other.mHeight in equals()
127 return Objects.hash(mUiMode, mWidth, mHeight, mCutout, mRotation, mDensityDpi, in hashCode()
169 mHeight = dl.mHeight; in set()
188 mHeight = info.logicalHeight; in init()
211 computeNonDecorInsets(res, mRotation, mWidth, mHeight, mCutout, mInsetsState, mUiMode, in recalcInsets()
217 mNavBarFrameHeight = getNavigationBarFrameHeight(res, mWidth > mHeight); in recalcInsets()
225 final int origHeight = mHeight; in rotateTo()
233 mHeight = origWidth; in rotateTo()
[all …]
/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/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/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/base/libs/hostgraphics/
DHostBufferQueue.cpp24 HostBufferQueue() : mWidth(0), mHeight(0) {} in HostBufferQueue()
41 mHeight = h; in setDefaultBufferSize()
42 mBuffer = sp<GraphicBuffer>(new GraphicBuffer(mWidth, mHeight)); in setDefaultBufferSize()
80 *value = mHeight; in query()
97 uint32_t mHeight; member in android::HostBufferQueue

12345678910>>...13