Searched refs:mWidth (Results 1 - 25 of 166) sorted by relevance

1234567

/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/
H A DColorDrawableWithDimensions.java22 private int mWidth; field in class:ColorDrawableWithDimensions
27 mWidth = width;
33 return mWidth;
/frameworks/base/core/java/android/util/
H A DSize.java32 mWidth = width;
41 return mWidth;
74 return mWidth == other.mWidth && mHeight == other.mHeight;
86 return mWidth + "x" + mHeight;
147 return mHeight ^ ((mWidth << (Integer.SIZE / 2)) | (mWidth >>> (Integer.SIZE / 2)));
150 private final int mWidth; field in class:Size
H A DSizeF.java43 mWidth = checkArgumentFinite(width, "width");
52 return mWidth;
84 return mWidth == other.mWidth && mHeight == other.mHeight;
96 return mWidth + "x" + mHeight;
159 return Float.floatToIntBits(mWidth) ^ Float.floatToIntBits(mHeight);
162 private final float mWidth; field in class:SizeF
/frameworks/base/core/java/android/hardware/camera2/params/
H A DHighSpeedVideoConfiguration.java56 mWidth = checkArgumentPositive(width, "width must be positive");
59 mSize = new Size(mWidth, mHeight);
69 return mWidth;
135 return mWidth == other.mWidth &&
148 return HashCodeHelpers.hashCode(mWidth, mHeight, mFpsMin, mFpsMax);
151 private final int mWidth; field in class:HighSpeedVideoConfiguration
H A DStreamConfiguration.java63 mWidth = checkArgumentPositive(width, "width must be positive");
87 return mWidth;
105 return new Size(mWidth, mHeight);
152 mWidth == other.mWidth &&
164 return HashCodeHelpers.hashCode(mFormat, mWidth, mHeight, mInput ? 1 : 0);
168 private final int mWidth; field in class:StreamConfiguration
H A DStreamConfigurationDuration.java58 mWidth = checkArgumentPositive(width, "width must be positive");
82 return mWidth;
100 return new Size(mWidth, mHeight);
131 mWidth == other.mWidth &&
143 return HashCodeHelpers.hashCode(mFormat, mWidth, mHeight,
148 private final int mWidth; field in class:StreamConfigurationDuration
H A DMeteringRectangle.java76 private final int mWidth; field in class:MeteringRectangle
94 mWidth = checkArgumentNonnegative(width, "width must be nonnegative");
118 mWidth = checkArgumentNonnegative(dimensions.getWidth(), "width must be nonnegative");
139 mWidth = checkArgumentNonnegative(rect.width(), "rect.width must be nonnegative");
168 return mWidth;
206 return new Size(mWidth, mHeight);
217 return new Rect(mX, mY, mX + mWidth, mY + mHeight);
245 && mWidth == other.mWidth
255 return HashCodeHelpers.hashCode(mX, mY, mWidth, mHeigh
[all...]
/frameworks/base/libs/hwui/
H A DRenderBuffer.h36 mFormat(format), mWidth(width), mHeight(height), mAllocated(false) {
82 glRenderbufferStorage(GL_RENDERBUFFER, mFormat, mWidth, mHeight);
93 if (isAllocated() && (width != mWidth || height != mHeight)) {
97 mWidth = width;
105 return mWidth;
120 return (uint32_t) ((mWidth * mHeight * formatSize(mFormat)) / 8.0f + 0.5f);
183 uint32_t mWidth; member in struct:android::uirenderer::RenderBuffer
H A DLayerCache.h100 mLayer(NULL), mWidth(0), mHeight(0) {
104 mWidth = Layer::computeIdealWidth(layerWidth);
109 mLayer(layer), mWidth(layer->getWidth()), mHeight(layer->getHeight()) {
131 uint32_t mWidth; member in struct:android::uirenderer::LayerCache::LayerEntry
H A DRenderBufferCache.h81 mBuffer(NULL), mWidth(0), mHeight(0) {
85 mBuffer(NULL), mFormat(format), mWidth(width), mHeight(height) {
90 mWidth(buffer->getWidth()), mHeight(buffer->getHeight()) {
115 uint32_t mWidth; member in struct:android::uirenderer::RenderBufferCache::RenderBufferEntry
H A DPixelBuffer.h137 return mWidth;
151 return mWidth * mHeight * formatSize(mFormat);
158 return (y * mWidth + x) * formatSize(mFormat);
203 mFormat(format), mWidth(width), mHeight(height), mAccessMode(kAccessMode_None) {
208 uint32_t mWidth; member in class:android::uirenderer::PixelBuffer
/frameworks/base/graphics/java/android/graphics/drawable/shapes/
H A DShape.java31 private float mWidth; field in class:Shape
38 return mWidth;
71 if (mWidth != width || mHeight != height) {
72 mWidth = width;
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
H A DStraightenFilter.java47 private int mWidth = 0; field in class:StraightenFilter
97 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) {
98 mWidth = inputFormat.getWidth();
123 Point p0 = new Point(-cosTheta * mWidth + sinTheta * mHeight,
124 -sinTheta * mWidth - cosTheta * mHeight);
126 Point p1 = new Point(cosTheta * mWidth + sinTheta * mHeight,
127 sinTheta * mWidth - cosTheta * mHeight);
129 Point p2 = new Point(-cosTheta * mWidth - sinTheta * mHeight,
130 -sinTheta * mWidth + cosTheta * mHeight);
132 Point p3 = new Point(cosTheta * mWidth
[all...]
H A DLomoishFilter.java39 private int mWidth = 0; field in class:LomoishFilter
154 if (mWidth > mHeight) {
156 scale[1] = ((float) mHeight) / mWidth;
158 scale[0] = ((float) mWidth) / mHeight;
167 mProgram.setHostValue("stepsizeX", 1.0f / mWidth);
187 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) {
188 mWidth = inputFormat.getWidth();
H A DCropRectFilter.java50 private int mWidth = 0; field in class:CropRectFilter
83 updateSourceRect(mWidth, mHeight);
105 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) {
120 mWidth = width;
124 Log.e("CropFilter", mWidth + ", " + mHeight + ", " +
125 (float) mXorigin / mWidth + ", " +
127 (float) mOutputWidth / mWidth + ", " +
131 ((ShaderProgram) mProgram).setSourceRect((float) mXorigin / mWidth,
133 (float) mOutputWidth / mWidth,
H A DDocumentaryFilter.java39 private int mWidth = 0; field in class:DocumentaryFilter
123 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) {
124 mWidth = inputFormat.getWidth();
145 if (mWidth > mHeight) {
147 scale[1] = ((float) mHeight) / mWidth;
149 scale[0] = ((float) mWidth) / mHeight;
H A DFisheyeFilter.java48 private int mWidth = 0; field in class:FisheyeFilter
115 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) {
137 mWidth = width;
146 if (mWidth > mHeight) {
148 scale[1] = ((float) mHeight) / mWidth;
150 scale[0] = ((float) mWidth) / mHeight;
H A DVignetteFilter.java38 private int mWidth = 0; field in class:VignetteFilter
95 if (mWidth > mHeight) {
97 scale[1] = ((float) mHeight) / mWidth;
99 scale[0] = ((float) mWidth) / mHeight;
137 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) {
138 mWidth = inputFormat.getWidth();
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DDirectoryView.java29 private int mWidth; field in class:DirectoryView
42 mWidth = w;
52 setX((mWidth > 0) ? (mPosition * mWidth) : 0);
/frameworks/native/services/surfaceflinger/RenderEngine/
H A DTexture.cpp25 mWidth(0), mHeight(0), mFiltering(false) {
30 mWidth(0), mHeight(0), mFiltering(false) {
51 mWidth = width;
72 return mWidth;
/frameworks/av/cmds/screenrecord/
H A DEglWindow.h39 mWidth(0),
51 int getWidth() const { return mWidth; }
81 int mWidth; member in class:android::EglWindow
/frameworks/base/core/jni/android/graphics/
H A DPicture.cpp26 mWidth = src->width();
34 mWidth = 0;
42 mWidth = width;
61 SkASSERT(mPicture->width() == mWidth);
65 return mWidth;
70 SkASSERT(mPicture->width() == mWidth);
82 newPict->mWidth = newPict->mPicture->width();
117 SkCanvas* canvas = reRecorder.beginRecording(mWidth, mHeight, NULL, 0);
/frameworks/av/include/private/media/
H A DVideoFrame.h33 VideoFrame(): mWidth(0), mHeight(0), mDisplayWidth(0), mDisplayHeight(0), mSize(0), mData(0),
37 mWidth = copy.mWidth;
61 uint32_t mWidth; member in class:android::VideoFrame
/frameworks/base/libs/hwui/font/
H A DCacheTexture.cpp41 newBlock->mWidth, newBlock->mHeight);
48 if (newBlock->mWidth < currBlock->mWidth) {
85 blockToRemove->mWidth, blockToRemove->mHeight);
112 mTexture(NULL), mTextureId(0), mWidth(width), mHeight(height), mFormat(format),
117 mWidth - TEXTURE_BORDER_SIZE, mHeight - TEXTURE_BORDER_SIZE);
146 mWidth - TEXTURE_BORDER_SIZE, mHeight - TEXTURE_BORDER_SIZE);
185 mTexture = PixelBuffer::create(mFormat, mWidth, mHeight);
194 glTexImage2D(GL_TEXTURE_2D, 0, mFormat, mWidth, mHeight, 0,
211 uint32_t width = mHasUnpackRowLength ? dirtyRect.getWidth() : mWidth;
[all...]
/frameworks/av/media/libstagefright/colorconversion/
H A DColorConverter.cpp63 mWidth(width),
148 + dst.mCropTop * dst.mWidth + dst.mCropLeft;
151 + (src.mCropTop * dst.mWidth + src.mCropLeft) * 2;
192 src_ptr += src.mWidth * 2;
193 dst_ptr += dst.mWidth;
210 + dst.mCropTop * dst.mWidth + dst.mCropLeft;
213 (const uint8_t *)src.mBits + src.mCropTop * src.mWidth + src.mCropLeft;
216 (const uint8_t *)src_y + src.mWidth * src.mHeight
217 + src.mCropTop * (src.mWidth / 2) + src.mCropLeft / 2;
220 src_u + (src.mWidth /
[all...]

Completed in 3032 milliseconds

1234567