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

12345

/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/libs/hwui/
H A DLayerCache.h110 mLayer(NULL), mWidth(0), mHeight(0) {
115 mHeight = uint32_t(ceilf(layerHeight / float(LAYER_SIZE)) * LAYER_SIZE);
119 mLayer(layer), mWidth(layer->getWidth()), mHeight(layer->getHeight()) {
124 return mHeight < rhs.mHeight;
130 return mWidth == rhs.mWidth && mHeight == rhs.mHeight;
135 uint32_t mHeight; member in struct:android::uirenderer::LayerCache::LayerEntry
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
H A DStraightenFilter.java53 private int mHeight = 0; field in class:StraightenFilter
102 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) {
104 mHeight = inputFormat.getHeight();
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 - sinTheta * mHeight,
[all...]
H A DLomoishFilter.java43 private int mHeight = 0; field in class:LomoishFilter
157 if (mWidth > mHeight) {
159 scale[1] = ((float) mHeight) / mWidth;
161 scale[0] = ((float) mWidth) / mHeight;
171 mProgram.setHostValue("stepsizeY", 1.0f / mHeight);
190 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) {
192 mHeight = inputFormat.getHeight();
H A DCropRectFilter.java56 private int mHeight = 0; field in class:CropRectFilter
88 updateSourceRect(mWidth, mHeight);
110 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) {
126 mHeight = height;
129 Log.e("CropFilter", mWidth + ", " + mHeight + ", " +
131 (float) mYorigin / mHeight + ", " +
133 (float) mOutputHeight / mHeight);
137 (float) mYorigin / mHeight,
139 (float) mOutputHeight / mHeight);
H A DDocumentaryFilter.java43 private int mHeight = 0; field in class:DocumentaryFilter
126 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) {
128 mHeight = inputFormat.getHeight();
148 if (mWidth > mHeight) {
150 scale[1] = ((float) mHeight) / mWidth;
152 scale[0] = ((float) mWidth) / mHeight;
H A DVignetteFilter.java42 private int mHeight = 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) {
142 mHeight = inputFormat.getHeight();
H A DFisheyeFilter.java55 private int mHeight = 0; field in class:FisheyeFilter
121 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) {
144 mHeight = height;
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 DRsYuv.java39 private int mHeight; field in class:RsYuv
48 mHeight = height;
52 mScript.invoke_setSize(mWidth, mHeight);
58 tb.setY(mHeight);
61 mAllocationIn = Allocation.createSized(rs, Element.U8(mRS), (mHeight * mWidth) +
62 ((mHeight / 2) * (mWidth / 2) * 2));
/frameworks/base/libs/hwui/font/
H A DCacheTexture.cpp38 newBlock->mWidth, newBlock->mHeight);
82 blockToRemove->mWidth, blockToRemove->mHeight);
109 if (glyph.fHeight + TEXTURE_BORDER_SIZE * 2 > mHeight) {
127 if (roundedUpW <= cacheBlock->mWidth && glyphH <= cacheBlock->mHeight &&
130 if (cacheBlock->mHeight - glyphH < glyphH) {
146 if (mHeight - glyphH >= glyphH) {
149 roundedUpW, mHeight - glyphH - TEXTURE_BORDER_SIZE);
153 newBlock->mWidth, newBlock->mHeight);
160 cacheBlock->mHeight -= glyphH;
164 cacheBlock->mWidth, cacheBlock->mHeight);
[all...]
H A DCacheTexture.h49 uint16_t mHeight; 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,
147 return mHeight;
200 uint16_t mHeight; member in class:android::uirenderer::CacheTexture
[all...]
/frameworks/base/core/java/android/view/
H A DHardwareLayer.java39 int mHeight; field in class:HardwareLayer
61 mHeight = height;
88 return mHeight;
188 mHeight = height;
/frameworks/rs/driver/
H A DrsdFrameBufferObj.h40 mHeight = height;
49 uint32_t mHeight; member in class:RsdFrameBufferObj
/frameworks/av/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/tests/RenderScriptTests/ImageProcessing/src/com/android/rs/image/
H A DConvolve3x3.java37 private int mHeight; field in class:Convolve3x3
46 mHeight = mInPixelsAllocation.getType().getY();
62 mScript.set_gHeight(mHeight);
H A DConvolve5x5.java37 private int mHeight; field in class:Convolve5x5
46 mHeight = mInPixelsAllocation.getType().getY();
76 mScript.set_gHeight(mHeight);
/frameworks/base/tests/RenderScriptTests/ImageProcessing2/src/com/android/rs/image/
H A DConvolve3x3.java29 private int mHeight; field in class:Convolve3x3
38 mHeight = mInPixelsAllocation.getType().getY();
54 mScript.set_gHeight(mHeight);
H A DConvolve5x5.java29 private int mHeight; field in class:Convolve5x5
38 mHeight = mInPixelsAllocation.getType().getY();
68 mScript.set_gHeight(mHeight);
H A DGroupTest.java32 private int mHeight; field in class:GroupTest
42 mHeight = mInPixelsAllocation.getType().getY();
61 tb.setY(mHeight);
/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/av/libvideoeditor/lvpp/
H A DPreviewRenderer.cpp47 mHeight(height) {
69 anw, mWidth, mHeight, HAL_PIXEL_FORMAT_YV12);
108 Rect bounds(mWidth, mHeight);
/frameworks/av/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/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/mca/filterfw/java/android/filterfw/core/
H A DFilterSurfaceView.java39 private int mHeight; field in class:FilterSurfaceView
82 mListener.surfaceChanged(getHolder(), mFormat, mWidth, mHeight);
122 mHeight = height;
/frameworks/base/media/java/android/media/videoeditor/
H A DTransitionAlpha.java58 private int mHeight; field in class:TransitionAlpha
105 mHeight = dbo.outHeight;
131 while (tmp < mHeight) {
164 return mHeight;

Completed in 1011 milliseconds

12345