/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/ |
D | StraightenFilter.java | 47 private int mWidth = 0; field in StraightenFilter 97 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) { in process() 98 mWidth = inputFormat.getWidth(); 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 | 39 private int mWidth = 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() 167 mProgram.setHostValue("stepsizeX", 1.0f / mWidth); in initParameters() 187 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) { in process() 188 mWidth = inputFormat.getWidth(); in process()
|
D | CropRectFilter.java | 50 private int mWidth = 0; field in CropRectFilter 83 updateSourceRect(mWidth, mHeight); in fieldPortValueUpdated() 105 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) { in process() 120 mWidth = width; in updateSourceRect() 131 ((ShaderProgram) mProgram).setSourceRect((float) mXorigin / mWidth, in updateSourceRect() 133 (float) mOutputWidth / mWidth, in updateSourceRect()
|
/frameworks/base/core/java/android/hardware/camera2/params/ |
D | MeteringRectangle.java | 76 private final int mWidth; field in MeteringRectangle 94 mWidth = checkArgumentNonnegative(width, "width must be nonnegative"); in MeteringRectangle() 118 mWidth = checkArgumentNonnegative(dimensions.getWidth(), "width must be nonnegative"); in MeteringRectangle() 139 mWidth = checkArgumentNonnegative(rect.width(), "rect.width must be nonnegative"); in MeteringRectangle() 168 return mWidth; in getWidth() 206 return new Size(mWidth, mHeight); in getSize() 217 return new Rect(mX, mY, mX + mWidth, mY + mHeight); in getRect() 245 && mWidth == other.mWidth 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 | 30 private final int mWidth; field in InputConfiguration 50 mWidth = width; in InputConfiguration() 61 return mWidth; in getWidth() 100 if (otherInputConfig.getWidth() == mWidth && 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 | StreamConfigurationDuration.java | 58 mWidth = checkArgumentPositive(width, "width must be positive"); in StreamConfigurationDuration() 82 return mWidth; in getWidth() 100 return new Size(mWidth, mHeight); in getSize() 131 mWidth == other.mWidth && in equals() 143 return HashCodeHelpers.hashCode(mFormat, mWidth, mHeight, in hashCode() 148 private final int mWidth; field in StreamConfigurationDuration
|
D | StreamConfiguration.java | 63 mWidth = checkArgumentPositive(width, "width must be positive"); in StreamConfiguration() 87 return mWidth; in getWidth() 105 return new Size(mWidth, mHeight); in getSize() 152 mWidth == other.mWidth && in equals() 164 return HashCodeHelpers.hashCode(mFormat, mWidth, mHeight, mInput ? 1 : 0); in hashCode() 168 protected int mWidth; field in StreamConfiguration
|
D | HighSpeedVideoConfiguration.java | 59 mWidth = checkArgumentPositive(width, "width must be positive"); in HighSpeedVideoConfiguration() 62 mSize = new Size(mWidth, mHeight); in HighSpeedVideoConfiguration() 73 return mWidth; in getWidth() 148 return mWidth == other.mWidth && in equals() 162 return HashCodeHelpers.hashCode(mWidth, mHeight, mFpsMin, mFpsMax); in hashCode() 165 private final int mWidth; field in HighSpeedVideoConfiguration
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/ui/ |
D | CircularCornerPathRenderer.java | 30 private final int mWidth; field in CircularCornerPathRenderer 37 mWidth = DisplayUtils.getWidth(context); in CircularCornerPathRenderer() 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() 55 mPath.moveTo(mWidth, mCornerRadiusTop); in getCornerPath() 56 mPath.arcTo(mWidth - mCornerRadiusTop * 2, 0, mWidth, mCornerRadiusTop * 2, 0, -90, in getCornerPath()
|
/frameworks/base/core/java/android/util/ |
D | Size.java | 32 mWidth = width; in Size() 41 return mWidth; in getWidth() 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() 150 private final int mWidth; field in Size
|
D | SizeF.java | 43 mWidth = checkArgumentFinite(width, "width"); in SizeF() 52 return mWidth; in getWidth() 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() 162 private final float mWidth; field in SizeF
|
/frameworks/native/libs/input/ |
D | TouchVideoFrame.cpp | 24 mHeight(height), mWidth(width),mData(std::move(data)), mTimestamp(timestamp) { in TouchVideoFrame() 29 && mWidth == rhs.mWidth in operator ==() 37 uint32_t TouchVideoFrame::getWidth() const { return mWidth; } in getWidth() 68 for (size_t j = 0; j < mWidth; j++) { in rotateQuarterTurn() 74 iRotated = mWidth - j - 1; in rotateQuarterTurn() 78 rotated[indexRotated] = mData[i * mWidth + j]; in rotateQuarterTurn() 82 std::swap(mHeight, mWidth); in rotateQuarterTurn() 97 std::swap(mData[i], mData[mHeight * mWidth - 1 - i]); in rotate180()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | QuickswitchOrientedNavHandle.java | 28 private final int mWidth; field in QuickswitchOrientedNavHandle 34 mWidth = context.getResources().getDimensionPixelSize(R.dimen.navigation_home_handle_width); in QuickswitchOrientedNavHandle() 59 left = getWidth() / 2 - mWidth / 2; in computeHomeHandleBounds() 61 right = getWidth() / 2 + mWidth / 2; in computeHomeHandleBounds() 67 top = getHeight() / 2 - (mWidth / 2) - (topStart / 2); in computeHomeHandleBounds() 68 bottom = top + mWidth; in computeHomeHandleBounds() 73 top = getHeight() / 2 - (mWidth / 2) - (topStart / 2); in computeHomeHandleBounds() 74 bottom = top + mWidth; in computeHomeHandleBounds()
|
/frameworks/base/graphics/java/android/graphics/drawable/shapes/ |
D | Shape.java | 37 private float mWidth; field in Shape 44 return mWidth; in getWidth() 79 if (mWidth != width || mHeight != height) { in resize() 80 mWidth = width; in resize() 130 return Float.compare(shape.mWidth, mWidth) == 0 in equals() 136 return Objects.hash(mWidth, mHeight); in hashCode()
|
/frameworks/minikin/tests/unittest/ |
D | LineBreakerTestHelper.h | 31 RectangleLineWidth(float width) : mWidth(width) {} in RectangleLineWidth() 34 float getAt(size_t) const override { return mWidth; } in getAt() 35 float getMin() const override { return mWidth; } in getMin() 38 float mWidth; 48 mWidth(width), in ConstantRun() 61 mWidth); in getMetrics() 67 return std::make_pair(mWidth, MinikinRect()); in getBounds() 87 return mWidth * (range.getLength() + extraCharForHyphen); in measureHyphenPiece() 97 float mWidth; variable 104 float mWidth; member [all …]
|
/frameworks/base/core/tests/coretests/src/android/text/ |
D | LayoutTest.java | 59 private int mWidth; field in LayoutTest 70 mWidth = 11; in setup() 78 new MockLayout(LAYOUT_TEXT, mTextPaint, mWidth, mAlign, mSpacingMult, mSpacingAdd); in testConstructor() 89 Layout layout = new MockLayout(text, mTextPaint, mWidth, in testGetText() 93 layout = new MockLayout(null, mTextPaint, mWidth, mAlign, mSpacingMult, mSpacingAdd); in testGetText() 99 Layout layout = new MockLayout(LAYOUT_TEXT, mTextPaint, mWidth, in testGetPaint() 104 layout = new MockLayout(LAYOUT_TEXT, null, mWidth, mAlign, mSpacingMult, mSpacingAdd); in testGetPaint() 130 Layout layout = new MockLayout(LAYOUT_TEXT, mTextPaint, mWidth, in testIncreaseWidthTo() 149 Layout layout = new MockLayout(LAYOUT_TEXT, mTextPaint, mWidth, in testGetHeight() 156 Layout layout = new MockLayout(LAYOUT_TEXT, mTextPaint, mWidth, in testGetAlignment() [all …]
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/ |
D | CpuVideoTrackDecoder.java | 50 private final int mWidth; field in CpuVideoTrackDecoder 61 mWidth = format.getInteger(MediaFormat.KEY_WIDTH); in CpuVideoTrackDecoder() 104 int outputWidth = mWidth; in copyFrameDataTo() 108 outputHeight = mWidth; 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() 145 rowStride = mWidth; in copyRotate() 148 offset = (mWidth - 1) * mHeight; in copyRotate() 158 offset = mWidth * mHeight - 1; in copyRotate() [all …]
|
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/util/ |
D | DrawingTestHelper.java | 62 private final int mWidth; field in DrawingTestHelper 68 mWidth = width; in DrawingTestHelper() 77 MeasureSpec.makeMeasureSpec(mWidth, 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/base/core/java/android/app/ |
D | Vr2dDisplayProperties.java | 50 private final int mWidth; field in Vr2dDisplayProperties 63 mWidth = width; in Vr2dDisplayProperties() 82 + "mWidth=" + mWidth in toString() 111 dest.writeInt(mWidth); in writeToParcel() 132 mWidth = source.readInt(); in Vr2dDisplayProperties() 150 return mWidth; in getWidth() 199 private int mWidth = -1; field in Vr2dDisplayProperties.Builder 211 mWidth = width; in setDimensions() 255 return new Vr2dDisplayProperties(mWidth, mHeight, mDpi, mAddedFlags, mRemovedFlags); in build()
|
/frameworks/base/libs/hwui/jni/ |
D | Picture.cpp | 27 mWidth = src->width(); in Picture() 35 mWidth = 0; in Picture() 42 mWidth = 0; in Picture() 49 mWidth = width; in beginRecording() 63 return mWidth; in width() 78 newPict->mWidth = cullRect.width(); in CreateFromStream() 114 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 | 43 private final int mWidth; field in IconInfo 51 mWidth = width; in IconInfo() 84 return mWidth; in getWidth() 113 return mWidth == that.mWidth in equals() 122 return Objects.hash(mWidth, mHeight, mLanguage, mIconType, mFileName); in hashCode() 128 + "Width=" + mWidth in toString()
|
/frameworks/av/camera/include/camera/camera2/ |
D | OutputConfiguration.h | 81 mWidth == other.mWidth && 99 if (mWidth != other.mWidth) { 100 return mWidth < other.mWidth; 131 int mWidth; variable
|
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/ |
D | PortableFloatMap.java | 16 private int mWidth; field in PortableFloatMap 49 mWidth = Integer.parseInt(widthLine); in PortableFloatMap() 55 final int bytesPerRow = mBytesPerPixel * mWidth; in PortableFloatMap() 65 byte[] row = new byte[mBytesPerPixel * mWidth]; in PortableFloatMap() 88 float[] array = new float[mWidth * mHeight]; 94 int getWidth() { return mWidth; }
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | TaskScreenshotAnimatable.java | 39 private int mWidth; field in TaskScreenshotAnimatable 47 mWidth = (buffer != null) ? buffer.getWidth() : 1; in TaskScreenshotAnimatable() 51 task, mWidth, mHeight); in TaskScreenshotAnimatable() 54 .setBufferSize(mWidth, mHeight) in TaskScreenshotAnimatable() 62 final float scale = 1.0f * mTask.getBounds().width() / mWidth; in TaskScreenshotAnimatable() 113 return mWidth; in getSurfaceWidth()
|
/frameworks/base/core/java/android/hardware/display/ |
D | VirtualDisplayConfig.java | 50 private int mWidth; field in VirtualDisplayConfig 122 this.mWidth = width; in VirtualDisplayConfig() 124 IntRange.class, null, mWidth, in VirtualDisplayConfig() 155 return mWidth; in getWidth() 226 dest.writeInt(mWidth); in writeToParcel() 259 this.mWidth = width; in VirtualDisplayConfig() 261 IntRange.class, null, mWidth, in VirtualDisplayConfig() 301 private @IntRange(from = 1) int mWidth; field in VirtualDisplayConfig.Builder 331 mWidth = width; in Builder() 333 IntRange.class, null, mWidth, in Builder() [all …]
|