Searched refs:mHeight (Results 1 - 25 of 49) sorted by relevance

12

/frameworks/base/graphics/java/android/graphics/drawable/shapes/
H A DShape.java30 private float mHeight; field in class:Shape
43 return mHeight;
71 if (mWidth != width || mHeight != height) {
73 mHeight = height;
/frameworks/base/include/private/media/
H A DVideoFrame.h91 VideoFrame(): mWidth(0), mHeight(0), mDisplayWidth(0), mDisplayHeight(0), mSize(0), mData(0) {}
95 mHeight = copy.mHeight;
118 uint32_t mHeight; member in class:android::VideoFrame
/frameworks/base/graphics/java/android/graphics/
H A DYuvImage.java63 private int mHeight; field in class:YuvImage
105 mHeight = height;
124 Rect wholeImage = new Rect(0, 0, mWidth, mHeight);
179 return mHeight;
186 mHeight * mStrides[0] + top / 2 * mStrides[1]
/frameworks/base/graphics/java/android/renderscript/
H A DRenderScriptGL.java35 int mHeight; field in class:RenderScriptGL
41 mHeight = 0;
55 mHeight = h;
/frameworks/base/media/java/android/media/
H A DFaceDetector.java119 mHeight = height;
144 if (bitmap.getWidth() != mWidth || bitmap.getHeight() != mHeight) {
198 private int mHeight; field in class:FaceDetector
/frameworks/base/media/libstagefright/rtsp/
H A DVideoSource.h34 mHeight(height),
42 meta->setInt32(kKeyHeight, mHeight);
88 int mWidth, mHeight; member in class:android::VideoSource
/frameworks/base/services/camera/libcameraservice/
H A DFakeCamera.h59 int mWidth, mHeight; member in class:android::FakeCamera
H A DFakeCamera.cpp326 mHeight = height;
356 mTmpRgb16Buffer = new uint16_t[mWidth * mHeight];
359 convert_rgb16_to_yuv420((uint8_t*)mTmpRgb16Buffer, buffer, mWidth, mHeight);
367 square_ystop = min(mHeight, y+size);
369 shadow_ystop = min(mHeight, y+size+(size/4));
402 for(int y=0;y<mHeight;y++) {
427 snprintf(buffer, 255, " width x height (%d x %d), counter (%d), check x-y coordinate(%d, %d)\n", mWidth, mHeight, mCounter, mCheckX, mCheckY);
/frameworks/base/media/libstagefright/
H A DJPEGSource.cpp60 mHeight(0),
104 meta->setInt32(kKeyHeight, mHeight);
143 mHeight = 0;
186 return (mWidth > 0 && mHeight > 0) ? OK : UNKNOWN_ERROR;
214 mHeight = height;
/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);
107 int mHeight; member in class:android::DisplayHardware
/frameworks/base/media/libstagefright/codecs/m4v_h263/dec/
H A DM4vH263Decoder.cpp49 // CHECK(mSource->getFormat()->findInt32(kKeyHeight, &mHeight));
56 mHeight = 288;
59 mFormat->setInt32(kKeyHeight, mHeight);
126 mHandle, vol_data, &vol_size, 1, mWidth, mHeight, mode);
229 if (buf_width != mWidth || buf_height != mHeight) {
236 mHeight = buf_height;
238 mFormat->setInt32(kKeyHeight, mHeight);
/frameworks/base/media/libstagefright/codecs/on2/dec/
H A DVPXDecoder.cpp51 CHECK(inputFormat->findInt32(kKeyHeight, &mHeight));
53 mBufferSize = (mWidth * mHeight * 3) / 2;
58 mFormat->setInt32(kKeyHeight, mHeight);
219 if (width != mWidth || height != mHeight) {
224 mHeight = height;
228 mBufferSize = (mWidth * mHeight * 3) / 2;
/frameworks/base/libs/ui/
H A DOverlay.cpp128 return mOverlayRef->mHeight;
149 mWidth(0), mHeight(0), mFormat(0), mWidthStride(0), mHeightStride(0),
157 mWidth(w), mHeight(h), mFormat(f), mWidthStride(ws), mHeightStride(hs),
185 result->mHeight = h;
197 reply->writeInt32(o->mHeight);
/frameworks/base/core/java/android/widget/
H A DEdgeGlow.java60 private int mHeight; field in class:EdgeGlow
112 mHeight = height;
250 final float distScale = (float) mHeight / mWidth;
256 glowHeight * mGlowScaleY * distScale * 0.6f, mHeight * MAX_GLOW_HEIGHT));
/frameworks/base/libs/rs/
H A DrsContext.cpp172 eglQuerySurface(mEGL.mDisplay, mEGL.mSurface, EGL_HEIGHT, &mEGL.mHeight);
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);
502 mEGL.mHeight = 0;
504 mHeight = 0;
527 eglQuerySurface(mEGL.mDisplay, mEGL.mSurface, EGL_HEIGHT, &mEGL.mHeight);
529 mHeight
[all...]
H A DrsContext.h130 uint32_t getHeight() const {return mEGL.mHeight;}
182 EGLint mHeight; member in struct:android::renderscript::Context::__anon250
210 uint32_t mHeight; member in class:android::renderscript::Context
/frameworks/base/core/java/android/app/
H A DWallpaperManager.java91 private final int mHeight; field in class:WallpaperManager.FastBitmapDrawable
98 mHeight = bitmap.getHeight();
99 setBounds(0, 0, mWidth, mHeight);
115 mDrawTop = top + (bottom-top - mHeight) / 2;
155 return mHeight;
165 return mHeight;
/frameworks/base/cmds/bootanimation/
H A DBootAnimation.h90 int mHeight; member in class:android::BootAnimation
H A DBootAnimation.cpp243 mHeight = h;
294 const GLint yc = (mHeight - mAndroid[0].h) / 2;
300 glScissor(updateRect.left, mHeight - updateRect.bottom, updateRect.width(),
437 const int yc = ((mHeight - animation.height) / 2);
441 Region clearReg(Rect(mWidth, mHeight));
473 glScissor(r.left, mHeight - r.bottom,
/frameworks/base/libs/surfaceflinger_client/
H A DSurface.cpp112 mWidth(data.width), mHeight(data.height), mFormat(data.format),
250 height = control->mHeight;
331 mWidth(surface->mWidth), mHeight(surface->mHeight)
345 mHeight = parcel.readInt32();
364 height = surface->mHeight;
607 mHeight = uint32_t(backBuffer->height);
707 *value = int(mHeight);
1071 : mWidth(0), mHeight(0), mFormat(0),
1077 if ((mWidth != w) || (mHeight !
[all...]
/frameworks/base/opengl/java/android/opengl/
H A DETC1Util.java119 mHeight = height;
133 public int getHeight() { return mHeight; }
142 private int mHeight; field in class:ETC1Util.ETC1Texture
/frameworks/base/services/java/com/android/server/
H A DWallpaperManagerService.java133 int mHeight = -1; field in class:WallpaperManagerService
364 if (width != mWidth || height != mHeight) {
366 mHeight = height;
390 return mHeight;
400 outParams.putInt("height", mHeight);
598 mWidth, mHeight);
646 out.attribute(null, "height", Integer.toString(mHeight));
688 mHeight = Integer.parseInt(parser.getAttributeValue(null, "height"));
697 Slog.v(TAG, "mHeight:" + mHeight);
[all...]

Completed in 1363 milliseconds

12