/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;
|
H A D | SharpenFilter.java | 43 private int mWidth = 0; field in class:SharpenFilter 118 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) { 133 mWidth = width; 137 mProgram.setHostValue("stepsizeX", 1.0f / mWidth);
|
/frameworks/base/core/java/android/view/ |
H A D | HardwareLayer.java | 37 int mWidth; field in class:HardwareLayer 59 mWidth = width; 70 return mWidth; 175 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; 162 mWidth, mHeight, 169 const uint8_t *src_u = (const uint8_t *)data + mWidth * mHeight; 170 const uint8_t *src_v = src_u + (mWidth / 2 * mHeight / 2); 182 src_y += mWidth; 190 src_u += mWidth / 2; 191 src_v += mWidth / 2; 202 (const uint8_t *)data + mWidth * (mHeight - mCropTop / 2); 215 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/av/services/camera/libcameraservice/ |
H A D | FakeCamera.cpp | 325 mWidth = width; 339 int size = mWidth / 10; 356 mTmpRgb16Buffer = new uint16_t[mWidth * mHeight]; 359 convert_rgb16_to_yuv420((uint8_t*)mTmpRgb16Buffer, buffer, mWidth, mHeight); 366 square_xstop = min(mWidth, x+size); 368 shadow_xstop = min(mWidth, x+size+(size/4)); 372 uint16_t *sh = &dst[(y+(size/4))*mWidth]; 377 sh += mWidth; 381 uint16_t *sq = &dst[y*mWidth]; 386 sq += mWidth; [all...] |
H A D | FakeCamera.h | 59 int mWidth, mHeight; member in class:android::FakeCamera
|
/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;
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | YuvImage.java | 58 private int mWidth; field in class:YuvImage 104 mWidth = width; 124 Rect wholeImage = new Rect(0, 0, mWidth, mHeight); 172 return mWidth;
|
/frameworks/base/core/java/android/widget/ |
H A D | EdgeEffect.java | 76 private int mWidth; field in class:EdgeEffect 159 mWidth = width; 336 if (mWidth < mMinWidth) { 338 int glowLeft = (mWidth - mMinWidth)/2; 339 mGlow.setBounds(glowLeft, 0, mWidth - glowLeft, glowBottom); 342 mGlow.setBounds(0, 0, mWidth, glowBottom); 350 if (mWidth < mMinWidth) { 352 int edgeLeft = (mWidth - mMinWidth)/2; 353 mEdge.setBounds(edgeLeft, 0, mWidth - edgeLeft, edgeBottom); 356 mEdge.setBounds(0, 0, mWidth, edgeBotto [all...] |
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/base/ |
H A D | GLTextureSource.java | 40 private int mWidth; field in class:GLTextureSource 81 FrameFormat outputFormat = ImageFormat.create(mWidth, mHeight,
|
/frameworks/av/media/libstagefright/ |
H A D | JPEGSource.cpp | 59 mWidth(0), 103 meta->setInt32(kKeyWidth, mWidth); 142 mWidth = 0; 186 return (mWidth > 0 && mHeight > 0) ? OK : UNKNOWN_ERROR; 213 mWidth = width;
|
/frameworks/base/graphics/java/android/renderscript/ |
H A D | RenderScriptGL.java | 46 int mWidth; field in class:RenderScriptGL 184 mWidth = 0; 217 mWidth = w; 234 mWidth = w; 256 return mWidth;
|