/frameworks/base/graphics/java/android/graphics/drawable/shapes/ |
H A D | Shape.java | 29 private float mWidth; field in class:Shape 36 return mWidth; 71 if (mWidth != width || mHeight != height) { 72 mWidth = width;
|
/frameworks/base/libs/hwui/ |
H A D | RenderBuffer.h | 36 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 D | LayerCache.h | 96 mLayer(NULL), mWidth(0), mHeight(0) { 100 mWidth = Layer::computeIdealWidth(layerWidth); 105 mLayer(layer), mWidth(layer->getWidth()), mHeight(layer->getHeight()) { 127 uint32_t mWidth; member in struct:android::uirenderer::LayerCache::LayerEntry
|
H A D | PixelBuffer.h | 125 return mWidth; 139 return mWidth * mHeight * formatSize(mFormat); 165 mFormat(format), mWidth(width), mHeight(height), mAccessMode(kAccessMode_None) { 170 uint32_t mWidth; member in class:android::uirenderer::PixelBuffer
|
H A D | RenderBufferCache.h | 81 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
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/ |
H A D | StraightenFilter.java | 52 private int mWidth = 0; field in class:StraightenFilter 102 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) { 103 mWidth = inputFormat.getWidth(); 128 Point p0 = new Point(-cosTheta * mWidth + sinTheta * mHeight, 129 -sinTheta * mWidth - cosTheta * mHeight); 131 Point p1 = new Point(cosTheta * mWidth + sinTheta * mHeight, 132 sinTheta * mWidth - cosTheta * mHeight); 134 Point p2 = new Point(-cosTheta * mWidth - sinTheta * mHeight, 135 -sinTheta * mWidth + cosTheta * mHeight); 137 Point p3 = new Point(cosTheta * mWidth [all...] |
H A D | LomoishFilter.java | 42 private int mWidth = 0; field in class:LomoishFilter 157 if (mWidth > mHeight) { 159 scale[1] = ((float) mHeight) / mWidth; 161 scale[0] = ((float) mWidth) / mHeight; 170 mProgram.setHostValue("stepsizeX", 1.0f / mWidth); 190 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) { 191 mWidth = inputFormat.getWidth();
|
H A D | CropRectFilter.java | 55 private int mWidth = 0; field in class:CropRectFilter 88 updateSourceRect(mWidth, mHeight); 110 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) { 125 mWidth = width; 129 Log.e("CropFilter", mWidth + ", " + mHeight + ", " + 130 (float) mXorigin / mWidth + ", " + 132 (float) mOutputWidth / mWidth + ", " + 136 ((ShaderProgram) mProgram).setSourceRect((float) mXorigin / mWidth, 138 (float) mOutputWidth / mWidth,
|
H A D | DocumentaryFilter.java | 42 private int mWidth = 0; field in class:DocumentaryFilter 126 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) { 127 mWidth = inputFormat.getWidth(); 148 if (mWidth > mHeight) { 150 scale[1] = ((float) mHeight) / mWidth; 152 scale[0] = ((float) mWidth) / mHeight;
|
H A D | VignetteFilter.java | 41 private int mWidth = 0; field in class:VignetteFilter 98 if (mWidth > mHeight) { 100 scale[1] = ((float) mHeight) / mWidth; 102 scale[0] = ((float) mWidth) / mHeight; 140 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) { 141 mWidth = inputFormat.getWidth();
|
H A D | FisheyeFilter.java | 54 private int mWidth = 0; field in class:FisheyeFilter 121 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) { 143 mWidth = width; 152 if (mWidth > mHeight) { 154 scale[1] = ((float) mHeight) / mWidth; 156 scale[0] = ((float) mWidth) / mHeight;
|
/frameworks/base/libs/hwui/font/ |
H A D | CacheTexture.cpp | 40 newBlock->mWidth, newBlock->mHeight); 47 if (newBlock->mWidth < currBlock->mWidth) { 84 blockToRemove->mWidth, blockToRemove->mHeight); 111 mTexture(NULL), mTextureId(0), mWidth(width), mHeight(height), 115 mWidth - TEXTURE_BORDER_SIZE, mHeight - TEXTURE_BORDER_SIZE, true); 144 mWidth - TEXTURE_BORDER_SIZE, mHeight - TEXTURE_BORDER_SIZE, true); 183 mTexture = PixelBuffer::create(GL_ALPHA, mWidth, mHeight); 192 glTexImage2D(GL_TEXTURE_2D, 0, GL_ALPHA, mWidth, mHeight, 0, 209 uint32_t width = mHasES3 ? dirtyRect.getWidth() : mWidth; [all...] |
H A D | CacheTexture.h | 51 uint16_t mWidth; member in struct:android::uirenderer::CacheBlock 57 mX(x), mY(y), mWidth(width), mHeight(height), mNext(NULL), mPrev(NULL) { 68 currBlock->mWidth, currBlock->mHeight); 95 return mWidth; 173 uint16_t mWidth; member in class:android::uirenderer::CacheTexture
|
/frameworks/base/core/java/android/view/ |
H A D | HardwareLayer.java | 38 int mWidth; field in class:HardwareLayer 60 mWidth = width; 79 return mWidth; 192 mWidth = width;
|
/frameworks/base/media/java/android/media/videoeditor/ |
H A D | TransitionAlpha.java | 57 private int mWidth; field in class:TransitionAlpha 104 mWidth = dbo.outWidth; 125 final int [] framingBuffer = new int[mWidth]; 132 imageBitmap.getPixels(framingBuffer, 0, mWidth, 0, tmp,mWidth, 1); 134 intBuffer.put(framingBuffer,0,mWidth); 160 return mWidth;
|
/frameworks/av/media/libstagefright/colorconversion/ |
H A D | ColorConverter.cpp | 63 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...] |
H A D | SoftwareRenderer.cpp | 45 CHECK(meta->findInt32(kKeyWidth, &mWidth)); 52 mCropRight = mWidth - 1; 161 mWidth, mHeight, 168 const uint8_t *src_u = (const uint8_t *)data + mWidth * mHeight; 169 const uint8_t *src_v = src_u + (mWidth / 2 * mHeight / 2); 181 src_y += mWidth; 189 src_u += mWidth / 2; 190 src_v += mWidth / 2; 201 (const uint8_t *)data + mWidth * (mHeight - mCropTop / 2); 214 src_y += mWidth; [all...] |
/frameworks/rs/driver/ |
H A D | rsdFrameBufferObj.h | 39 mWidth = width; 48 uint32_t mWidth; member in class:RsdFrameBufferObj
|
/frameworks/av/include/private/media/ |
H A D | VideoFrame.h | 91 VideoFrame(): mWidth(0), mHeight(0), mDisplayWidth(0), mDisplayHeight(0), mSize(0), mData(0), 95 mWidth = copy.mWidth; 119 uint32_t mWidth; member in class:android::VideoFrame
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
H A D | ImageDescriptor.java | 24 int mWidth; field in class:ImageDescriptor 40 mWidth = 0; 59 d.mWidth = rawData[valueIndex++] & 0xff;
|
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/ |
H A D | Convolve3x3.java | 36 private int mWidth; field in class:Convolve3x3 45 mWidth = mInPixelsAllocation.getType().getX(); 61 mScript.set_gWidth(mWidth);
|
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/ |
H A D | Convolve3x3.java | 28 private int mWidth; field in class:Convolve3x3 37 mWidth = mInPixelsAllocation.getType().getX(); 53 mScript.set_gWidth(mWidth);
|
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/ |
H A D | Convolve3x3.java | 36 private int mWidth; field in class:Convolve3x3 45 mWidth = mInPixelsAllocation.getType().getX(); 61 mScript.set_gWidth(mWidth);
|
/frameworks/rs/java/tests/LivePreview/src/com/android/rs/livepreview/ |
H A D | RsYuv.java | 40 private int mWidth; field in class:RsYuv 74 mWidth = width; 75 mScript.invoke_setSize(mWidth, mHeight); 78 tb.setX(mWidth); 86 tb.setX(mWidth); 102 return mWidth;
|
/frameworks/av/libvideoeditor/lvpp/ |
H A D | PreviewRenderer.cpp | 46 mWidth(width), 69 anw, mWidth, mHeight, HAL_PIXEL_FORMAT_YV12); 108 Rect bounds(mWidth, mHeight);
|