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

123

/frameworks/base/graphics/java/android/graphics/drawable/shapes/
H A DShape.java29 private float mWidth; field in class:Shape
36 return mWidth;
71 if (mWidth != width || mHeight != height) {
72 mWidth = width;
/frameworks/base/include/private/media/
H A DVideoFrame.h91 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/services/camera/libcameraservice/
H A DFakeCamera.cpp325 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 DFakeCamera.h59 int mWidth, mHeight; member in class:android::FakeCamera
/frameworks/base/graphics/java/android/renderscript/
H A DRenderScriptGL.java34 int mWidth; field in class:RenderScriptGL
40 mWidth = 0;
54 mWidth = w;
/frameworks/base/media/java/android/media/
H A DFaceDetector.java118 mWidth = width;
144 if (bitmap.getWidth() != mWidth || bitmap.getHeight() != mHeight) {
197 private int mWidth; field in class:FaceDetector
/frameworks/base/media/libstagefright/rtsp/
H A DVideoSource.h33 : mWidth(width),
41 meta->setInt32(kKeyWidth, mWidth);
88 int mWidth, mHeight; member in class:android::VideoSource
/frameworks/base/graphics/java/android/graphics/
H A DYuvImage.java58 private int mWidth; field in class:YuvImage
104 mWidth = width;
124 Rect wholeImage = new Rect(0, 0, mWidth, mHeight);
172 return mWidth;
/frameworks/base/media/libstagefright/
H A DJPEGSource.cpp59 mWidth(0),
103 meta->setInt32(kKeyWidth, mWidth);
142 mWidth = 0;
186 return (mWidth > 0 && mHeight > 0) ? OK : UNKNOWN_ERROR;
213 mWidth = width;
/frameworks/base/include/media/stagefright/
H A DJPEGSource.h46 int32_t mWidth, mHeight; member in struct:android::JPEGSource
/frameworks/base/media/libstagefright/include/
H A DM4vH263Decoder.h48 int32_t mWidth, mHeight; member in struct:android::M4vH263Decoder
H A DVPXDecoder.h45 int32_t mWidth, mHeight; member in struct:android::VPXDecoder
/frameworks/base/services/surfaceflinger/DisplayHardware/
H A DDisplayHardware.h88 return Rect(mWidth, mHeight);
106 int mWidth; member in class:android::DisplayHardware
/frameworks/base/core/java/android/widget/
H A DEdgeGlow.java59 private int mWidth; field in class:EdgeGlow
111 mWidth = width;
250 final float distScale = (float) mHeight / mWidth;
255 mGlow.setBounds(-mWidth, 0, mWidth * 2, (int) Math.min(
260 mEdge.setBounds(0, 0, mWidth, (int) (edgeHeight * mEdgeScaleY));
/frameworks/base/media/libstagefright/codecs/m4v_h263/dec/
H A DM4vH263Decoder.cpp48 // CHECK(mSource->getFormat()->findInt32(kKeyWidth, &mWidth));
55 mWidth = 352;
58 mFormat->setInt32(kKeyWidth, mWidth);
126 mHandle, vol_data, &vol_size, 1, mWidth, mHeight, mode);
229 if (buf_width != mWidth || buf_height != mHeight) {
235 mWidth = buf_width;
237 mFormat->setInt32(kKeyWidth, mWidth);
/frameworks/base/media/libstagefright/codecs/on2/dec/
H A DVPXDecoder.cpp50 CHECK(inputFormat->findInt32(kKeyWidth, &mWidth));
53 mBufferSize = (mWidth * mHeight * 3) / 2;
57 mFormat->setInt32(kKeyWidth, mWidth);
219 if (width != mWidth || height != mHeight) {
223 mWidth = width;
228 mBufferSize = (mWidth * mHeight * 3) / 2;
/frameworks/base/libs/ui/
H A DOverlay.cpp123 return mOverlayRef->mWidth;
149 mWidth(0), mHeight(0), mFormat(0), mWidthStride(0), mHeightStride(0),
157 mWidth(w), mHeight(h), mFormat(f), mWidthStride(ws), mHeightStride(hs),
184 result->mWidth = w;
196 reply->writeInt32(o->mWidth);
/frameworks/base/libs/rs/
H A DrsContext.cpp171 eglQuerySurface(mEGL.mDisplay, mEGL.mSurface, EGL_WIDTH, &mEGL.mWidth);
173 glViewport(0, 0, mEGL.mWidth, mEGL.mHeight);
315 rsc->mStateRaster.init(rsc, rsc->mEGL.mWidth, rsc->mEGL.mHeight);
317 rsc->mStateVertex.init(rsc, rsc->mEGL.mWidth, rsc->mEGL.mHeight);
319 rsc->mStateFragment.init(rsc, rsc->mEGL.mWidth, rsc->mEGL.mHeight);
321 rsc->mStateFragmentStore.init(rsc, rsc->mEGL.mWidth, rsc->mEGL.mHeight);
501 mEGL.mWidth = 0;
503 mWidth = 0;
526 eglQuerySurface(mEGL.mDisplay, mEGL.mSurface, EGL_WIDTH, &mEGL.mWidth);
528 mWidth
[all...]
H A DrsContext.h129 uint32_t getWidth() const {return mEGL.mWidth;}
181 EGLint mWidth; member in struct:android::renderscript::Context::__anon250
209 uint32_t mWidth; member in class:android::renderscript::Context
/frameworks/base/core/java/android/app/
H A DWallpaperManager.java90 private final int mWidth; field in class:WallpaperManager.FastBitmapDrawable
97 mWidth = bitmap.getWidth();
99 setBounds(0, 0, mWidth, mHeight);
114 mDrawLeft = left + (right-left - mWidth) / 2;
150 return mWidth;
160 return mWidth;
/frameworks/base/cmds/bootanimation/
H A DBootAnimation.h89 int mWidth; member in class:android::BootAnimation
/frameworks/base/libs/surfaceflinger_client/
H A DSurface.cpp112 mWidth(data.width), mHeight(data.height), mFormat(data.format),
249 width = control->mWidth;
331 mWidth(surface->mWidth), mHeight(surface->mHeight)
344 mWidth = parcel.readInt32();
363 width = surface->mWidth;
606 mWidth = uint32_t(backBuffer->width);
704 *value = int(mWidth);
1071 : mWidth(0), mHeight(0), mFormat(0),
1077 if ((mWidth !
[all...]
/frameworks/base/opengl/java/android/opengl/
H A DETC1Util.java118 mWidth = width;
127 public int getWidth() { return mWidth; }
141 private int mWidth; field in class:ETC1Util.ETC1Texture
/frameworks/base/services/java/com/android/server/
H A DWallpaperManagerService.java132 int mWidth = -1; field in class:WallpaperManagerService
364 if (width != mWidth || height != mHeight) {
365 mWidth = width;
384 return mWidth;
399 outParams.putInt("width", mWidth);
598 mWidth, mHeight);
645 out.attribute(null, "width", Integer.toString(mWidth));
687 mWidth = Integer.parseInt(parser.getAttributeValue(null, "width"));
696 Slog.v(TAG, "mWidth:" + mWidth);
[all...]
/frameworks/base/cmds/stagefright/
H A Drecord.cpp46 : mWidth(width),
60 meta->setInt32(kKeyWidth, mWidth);
108 int mWidth, mHeight; member in class:DummySource

Completed in 488 milliseconds

123