/frameworks/base/libs/hwui/ |
H A D | LayerCache.h | 110 mLayer(NULL), mWidth(0), mHeight(0) { 114 mWidth = uint32_t(ceilf(layerWidth / float(LAYER_SIZE)) * LAYER_SIZE); 119 mLayer(layer), mWidth(layer->getWidth()), mHeight(layer->getHeight()) { 123 if (mWidth == rhs.mWidth) { 126 return mWidth < rhs.mWidth; 130 return mWidth == rhs.mWidth && mHeight == rhs.mHeight; 134 uint32_t mWidth; member in struct:android::uirenderer::LayerCache::LayerEntry [all...] |
/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/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/tests/RenderScriptTests/LivePreview/src/com/android/rs/livepreview/ |
H A D | RsYuv.java | 40 private int mWidth; field in class:RsYuv 49 mWidth = width; 52 mScript.invoke_setSize(mWidth, mHeight); 57 tb.setX(mWidth); 61 mAllocationIn = Allocation.createSized(rs, Element.U8(mRS), (mHeight * mWidth) + 62 ((mHeight / 2) * (mWidth / 2) * 2));
|
/frameworks/base/core/java/android/view/ |
H A D | HardwareLayer.java | 38 int mWidth; field in class:HardwareLayer 60 mWidth = width; 79 return mWidth; 187 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/base/libs/hwui/font/ |
H A D | CacheTexture.h | 48 uint16_t mWidth; member in struct:android::uirenderer::CacheBlock 54 mX(x), mY(y), mWidth(width), mHeight(height), mNext(NULL), mPrev(NULL) { 65 currBlock, currBlock->mX, currBlock->mY, currBlock->mWidth, currBlock->mHeight); 74 mTexture(NULL), mTextureId(0), mWidth(width), mHeight(height), 77 mWidth - TEXTURE_BORDER_SIZE, mHeight - TEXTURE_BORDER_SIZE, true); 99 mWidth - TEXTURE_BORDER_SIZE, mHeight - TEXTURE_BORDER_SIZE, true); 119 mTexture = new uint8_t[mWidth * mHeight]; 128 glTexImage2D(GL_TEXTURE_2D, 0, GL_ALPHA, mWidth, mHeight, 0, 143 return mWidth; 199 uint16_t mWidth; member in class:android::uirenderer::CacheTexture [all...] |
H A D | CacheTexture.cpp | 38 newBlock->mWidth, newBlock->mHeight); 45 if (newBlock->mWidth < currBlock->mWidth) { 82 blockToRemove->mWidth, blockToRemove->mHeight); 127 if (roundedUpW <= cacheBlock->mWidth && glyphH <= cacheBlock->mHeight && 129 (cacheBlock->mWidth - roundedUpW < CACHE_BLOCK_ROUNDING_SIZE))) { 143 cacheBlock->mWidth -= roundedUpW; 153 newBlock->mWidth, newBlock->mHeight); 164 cacheBlock->mWidth, cacheBlock->mHeight);
|
/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) {} 94 mWidth = copy.mWidth; 117 uint32_t mWidth; member in class:android::VideoFrame
|
/frameworks/base/tests/RenderScriptTests/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);
|
H A D | Convolve5x5.java | 36 private int mWidth; field in class:Convolve5x5 45 mWidth = mInPixelsAllocation.getType().getX(); 75 mScript.set_gWidth(mWidth);
|
/frameworks/base/tests/RenderScriptTests/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);
|
H A D | Convolve5x5.java | 28 private int mWidth; field in class:Convolve5x5 37 mWidth = mInPixelsAllocation.getType().getX(); 67 mScript.set_gWidth(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);
|
/frameworks/av/media/libstagefright/rtsp/ |
H A D | VideoSource.h | 33 : mWidth(width), 41 meta->setInt32(kKeyWidth, mWidth); 88 int mWidth, mHeight; member in class:android::VideoSource
|
/frameworks/base/media/java/android/media/ |
H A D | FaceDetector.java | 118 mWidth = width; 144 if (bitmap.getWidth() != mWidth || bitmap.getHeight() != mHeight) { 197 private int mWidth; field in class:FaceDetector
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
H A D | FilterSurfaceView.java | 38 private int mWidth; field in class:FilterSurfaceView 82 mListener.surfaceChanged(getHolder(), mFormat, mWidth, mHeight); 121 mWidth = width;
|