/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 …]
|
/frameworks/base/core/java/android/hardware/input/ |
D | VirtualTouchDeviceConfig.java | 31 private final int mWidth; field in VirtualTouchDeviceConfig 37 mWidth = builder.mWidth; in VirtualTouchDeviceConfig() 43 mWidth = in.readInt(); in VirtualTouchDeviceConfig() 49 return mWidth; in getWidth() 60 dest.writeInt(mWidth); in writeToParcel() 67 return " width=" + mWidth + " height=" + mHeight; in additionalFieldsToString() 78 private final int mWidth; field in VirtualTouchDeviceConfig.Builder 100 mWidth = touchDeviceWidth; in Builder()
|
D | VirtualNavigationTouchpadConfig.java | 37 private final int mWidth; field in VirtualNavigationTouchpadConfig 42 mWidth = builder.mWidth; in VirtualNavigationTouchpadConfig() 48 mWidth = in.readInt(); in VirtualNavigationTouchpadConfig() 58 return mWidth; in getWidth() 70 dest.writeInt(mWidth); in writeToParcel() 76 return " width=" + mWidth + " height=" + mHeight; in additionalFieldsToString() 98 private final int mWidth; field in VirtualNavigationTouchpadConfig.Builder 115 mWidth = touchpadWidth; in Builder()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/qrcode/ |
D | QrYuvLuminanceSource.java | 24 private int mWidth; field in QrYuvLuminanceSource 30 mWidth = width; in QrYuvLuminanceSource() 43 int inputOffset = top * mWidth + left; in crop() 45 if (left + crop_width > mWidth || top + crop_height > mHeight) { in crop() 51 inputOffset += mWidth; in crop() 61 if (row == null || row.length < mWidth) { in getRow() 62 row = new byte[mWidth]; in getRow() 64 System.arraycopy(mYuvData, y * mWidth, row, 0, mWidth); in getRow()
|
/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/services/core/java/com/android/server/display/mode/ |
D | SizeVote.java | 28 final int mWidth; field in SizeVote 46 mWidth = width; in SizeVote() 54 if (mHeight > 0 && mWidth > 0) { in updateSummary() 59 summary.width = mWidth; in updateSummary() 64 summary.width = Math.min(summary.width, mWidth); 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/ |
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 | 39 private final int mWidth; field in InputConfiguration 60 mWidth = width; in InputConfiguration() 94 mWidth = info.getWidth(); in InputConfiguration() 104 mWidth = width; in InputConfiguration() 116 return mWidth; in getWidth() 167 if (otherInputConfig.getWidth() == mWidth && in equals() 181 return HashCodeHelpers.hashCode(mWidth, mHeight, mFormat, mIsMultiResolution ? 1 : 0); in hashCode() 196 mWidth, mHeight, mFormat, mIsMultiResolution); 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/core/java/android/util/ |
D | Size.java | 33 mWidth = width; in Size() 42 return mWidth; in getWidth() 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() 151 private final int mWidth; field in Size
|
D | SizeF.java | 48 mWidth = checkArgumentFinite(width, "width"); in SizeF() 57 return mWidth; in getWidth() 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() 167 private final float mWidth; field in SizeF 185 out.writeFloat(mWidth); in writeToParcel()
|
/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() 71 for (size_t j = 0; j < mWidth; j++) { in rotateQuarterTurn() 77 iRotated = mWidth - j - 1; in rotateQuarterTurn() 81 rotated[indexRotated] = mData[i * mWidth + j]; in rotateQuarterTurn() 85 std::swap(mHeight, mWidth); in rotateQuarterTurn() 100 std::swap(mData[i], mData[mHeight * mWidth - 1 - i]); in rotate180()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/gestural/ |
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() / 2f - mWidth / 2f; in computeHomeHandleBounds() 61 right = getWidth() / 2f + mWidth / 2f; in computeHomeHandleBounds() 67 top = getHeight() / 2f - (mWidth / 2f) - (topStart / 2f); in computeHomeHandleBounds() 68 bottom = top + mWidth; in computeHomeHandleBounds() 73 top = getHeight() / 2f - (mWidth / 2f) - (topStart / 2f); 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/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/split/ |
D | DividerHandleView.java | 71 private int mWidth; field in DividerHandleView 92 mWidth = getResources().getDimensionPixelSize(mIsLeftRightSplit in updateDimens() 98 mCurrentWidth = mWidth; 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() 135 mCurrentWidth = stateOn ? stateWidth : mWidth; in setInputState() 139 animateToTarget(stateOn ? stateWidth : mWidth, in setInputState()
|
/frameworks/base/core/java/android/companion/virtual/camera/ |
D | VirtualCameraStreamConfig.java | 43 private final int mWidth; field in VirtualCameraStreamConfig 65 this.mWidth = width; in VirtualCameraStreamConfig() 72 mWidth = in.readInt(); in VirtualCameraStreamConfig() 85 dest.writeInt(mWidth); in writeToParcel() 108 return mWidth; in getWidth() 122 return mWidth == that.mWidth && mHeight == that.mHeight && mFormat == that.mFormat in equals() 128 return Objects.hash(mWidth, mHeight, mFormat, mMaxFps); in hashCode()
|
/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/libs/WindowManager/Shell/src/com/android/wm/shell/common/ |
D | DisplayLayout.java | 74 private int mWidth; field in DisplayLayout 95 return mWidth == other.mWidth in isSameGeometry() 108 && mWidth == other.mWidth in equals() 127 return Objects.hash(mUiMode, mWidth, mHeight, mCutout, mRotation, mDensityDpi, in hashCode() 168 mWidth = dl.mWidth; in set() 187 mWidth = info.logicalWidth; in init() 211 computeNonDecorInsets(res, mRotation, mWidth, mHeight, mCutout, mInsetsState, mUiMode, in recalcInsets() 217 mNavBarFrameHeight = getNavigationBarFrameHeight(res, mWidth > mHeight); in recalcInsets() 224 final int origWidth = mWidth; in rotateTo() 232 mWidth = origHeight; in rotateTo() [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/base/core/java/com/android/internal/widget/ |
D | ConversationHeaderLinearLayout.java | 117 if (info.mWidth != info.mStartWidth) { in remeasureChangedChildren() 119 Math.max(0, info.mWidth), MeasureSpec.EXACTLY); in remeasureChangedChildren() 146 if (info.mWidth <= 0) { in balanceViewWidths() 149 int newWidth = (int) (info.mWidth - (excessContents * (info.mWeight / weightSum))); in balanceViewWidths() 154 excessRemovedDuringThisPass += info.mWidth - newWidth; in balanceViewWidths() 155 info.mWidth = newWidth; in balanceViewWidths() 156 if (info.mWidth > 0) { in balanceViewWidths() 172 int mWidth; field in ConversationHeaderLinearLayout.ViewInfo 177 this.mStartWidth = this.mWidth = view.getMeasuredWidth(); in ViewInfo()
|
/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/animation/ |
D | FontVariationUtils.kt | 10 private var mWidth = -1 variable in com.android.systemui.animation.FontVariationUtils 31 if (width >= 0 && mWidth != width) { in updateFontVariation() 33 mWidth = width in updateFontVariation() 48 if (mWidth >= 0) { in updateFontVariation() 49 resultString += (if (resultString.isBlank()) "" else ", ") + "'$TAG_WDTH' $mWidth" in updateFontVariation()
|
/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); in makePartialCopy()
|
/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()
|