Searched refs:mHeight (Results 1 - 25 of 109) 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
H A DLayerCache.cpp107 LAYER_LOGD("Creating new layer %dx%d", entry.mWidth, entry.mHeight);
109 layer = new Layer(entry.mWidth, entry.mHeight);
132 LAYER_LOGD(" Layer size %dx%d", entry.mWidth, entry.mHeight);
141 if (entry.mWidth <= layer->getWidth() && entry.mHeight <= layer->getHeight()) {
150 layer->setSize(entry.mWidth, entry.mHeight);
/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;
H A DSharpenFilter.java44 private int mHeight = 0; field in class:SharpenFilter
118 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) {
134 mHeight = height;
138 mProgram.setHostValue("stepsizeY", 1.0f / mHeight);
H A DRotateFilter.java50 private int mHeight = 0; field in class:RotateFilter
100 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) {
102 mHeight = inputFormat.getHeight();
104 mOutputHeight = mHeight;
138 mOutputWidth = mHeight;
/frameworks/base/core/java/android/view/
H A DHardwareLayer.java38 int mHeight; field in class:HardwareLayer
60 mHeight = height;
79 return mHeight;
176 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/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/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/av/services/camera/libcameraservice/
H A DFakeCamera.h59 int mWidth, mHeight; member in class:android::FakeCamera
/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;
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/base/
H A DGLTextureSource.java43 private int mHeight; field in class:GLTextureSource
81 FrameFormat outputFormat = ImageFormat.create(mWidth, mHeight,
/frameworks/av/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/graphics/java/android/renderscript/
H A DRenderScriptGL.java47 int mHeight; field in class:RenderScriptGL
185 mHeight = 0;
218 mHeight = h;
235 mHeight = h;
246 return mHeight;
/frameworks/base/tests/RenderScriptTests/SurfaceTexture/src/com/example/android/rs/sto/
H A DCameraCapture.java50 private int mHeight; field in class:CameraCapture
114 return mHeight;
140 params.setPreviewSize(mWidth, mHeight);
145 mHeight = closestSize[1];
146 params.setPreviewSize(mWidth, mHeight);
/frameworks/av/libvideoeditor/lvpp/
H A DPreviewRenderer.cpp47 mHeight(height) {
69 anw, mWidth, mHeight, HAL_PIXEL_FORMAT_YV12);
109 Rect bounds(mWidth, mHeight);

Completed in 473 milliseconds

12345