Searched refs:height (Results 201 - 225 of 1273) sorted by relevance

1234567891011>>

/frameworks/av/media/libstagefright/yuv/
H A DYUVImage.cpp26 YUVImage::YUVImage(YUVFormat yuvFormat, int32_t width, int32_t height) { argument
29 mHeight = height;
31 size_t numberOfBytes = bufferSize(yuvFormat, width, height);
39 YUVImage::YUVImage(YUVFormat yuvFormat, int32_t width, int32_t height, uint8_t *buffer) { argument
42 mHeight = height;
50 size_t YUVImage::bufferSize(YUVFormat yuvFormat, int32_t width, int32_t height) { argument
51 int32_t numberOfPixels = width*height;
205 int32_t height = srcRect.height(); local
239 for (int32_t offsetY = 0; offsetY < height;
287 int32_t height = srcRect.height(); local
[all...]
/frameworks/base/core/java/android/hardware/display/
H A DIDisplayManager.aidl69 int width, int height, int densityDpi, in Surface surface, int flags);
73 int width, int height, int densityDpi);
/frameworks/base/libs/hwui/
H A DBakedOpRenderer.cpp32 OffscreenBuffer* BakedOpRenderer::startTemporaryLayer(uint32_t width, uint32_t height) { argument
35 OffscreenBuffer* buffer = mRenderState.layerPool().get(mRenderState, width, height);
36 startRepaintLayer(buffer, Rect(width, height));
75 offscreenBuffer->texture.height());
105 const uint32_t height = area.getHeight(); local
106 OffscreenBuffer* buffer = mRenderState.layerPool().get(mRenderState, width, height);
107 if (!area.isEmpty() && width != 0 && height != 0) {
112 area.left, mRenderTarget.viewportHeight - area.bottom, width, height);
117 void BakedOpRenderer::startFrame(uint32_t width, uint32_t height, const Rect& repaintRect) { argument
120 setViewport(width, height);
161 setViewport(uint32_t width, uint32_t height) argument
[all...]
/frameworks/base/libs/hwui/renderstate/
H A DScissor.h31 bool set(GLint x, GLint y, GLint width, GLint height);
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/
H A DEmbeddedContentContainer.java25 public void onSizeChanged(int width, int height); argument
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
H A DBasicTexture.java78 public void setSize(int width, int height) { argument
80 mHeight = height;
82 mTextureHeight = height > 0 ? Utils.nextPowerOf2(height) : 0;
112 // Returns the height rounded to the next power of 2.
H A DGLCanvas.java27 // [x, x+width) * [y, y+height)
36 // who only want to draw on the GLCanvas. Both width and height must be
38 public abstract void setSize(int width, int height); argument
90 public abstract void fillRect(float x, float y, float width, float height, int color); argument
94 BasicTexture texture, int x, int y, int width, int height);
204 * Gets the bounds given by x, y, width, and height as well as the internal
212 * @param height The height of the input rectangle.
214 public abstract void getBounds(Rect bounds, int x, int y, int width, int height); argument
93 drawTexture( BasicTexture texture, int x, int y, int width, int height) argument
/frameworks/base/services/core/java/com/android/server/tv/
H A DUinputBridge.java34 private static native long nativeOpen(String name, String uniqueId, int width, int height, argument
44 public UinputBridge(IBinder token, String name, int width, int height, int maxPointers) argument
46 if (width < 1 || height < 1) {
55 mPtr = nativeOpen(name, token.toString(), width, height, maxPointers);
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/
H A Dcolorspace.cpp57 JNIEnv* env, jclass clazz, jobject input, jobject output, jint width, jint height) {
61 const int size = width * height;
68 for (int y = 0; y < height; y += 2) {
96 JNIEnv* env, jclass clazz, jobject input, jobject output, jint width, jint height) {
100 for (int i = 0; i < width * height; ++i) {
111 JNIEnv* env, jclass clazz, jobject input, jobject output, jint width, jint height) {
117 for (int i = 0; i < width * height; ++i) {
154 JNIEnv* env, jclass clazz, jobject input, jobject output, jint width, jint height) {
159 for (int i = 0; i < width * height; ++i) {
56 nativeYuv420pToRgba8888( JNIEnv* env, jclass clazz, jobject input, jobject output, jint width, jint height) argument
95 nativeArgb8888ToRgba8888( JNIEnv* env, jclass clazz, jobject input, jobject output, jint width, jint height) argument
110 nativeRgba8888ToHsva8888( JNIEnv* env, jclass clazz, jobject input, jobject output, jint width, jint height) argument
153 nativeRgba8888ToYcbcra8888( JNIEnv* env, jclass clazz, jobject input, jobject output, jint width, jint height) argument
H A Dstats_scorer.h36 JNIEnv* env, jobject thiz, jobject imageBuffer, jint width, jint height,
/frameworks/base/tests/WallpaperTest/src/com/example/wallpapertest/
H A DTestWallpaper.java139 public void onSurfaceChanged(SurfaceHolder holder, int format, int width, int height) { argument
140 super.onSurfaceChanged(holder, format, width, height);
204 final int height = frame.height();
213 c.drawRect(0, 0, width, height, paint);
217 width-mMainInsets.right, height-mMainInsets.bottom, paint);
221 width - mStableInsets.right, height - mStableInsets.bottom,
229 int y = height - mStableInsets.bottom - mPadding - ascdesc;
230 c.drawText("Surface Size: " + width + " x " + height,
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DColorFilter_Delegate.java61 public void applyFilter(Graphics2D g, int width, int height) { argument
/frameworks/native/include/android/
H A Dbitmap.h69 /** The bitmap height in pixels. */
70 uint32_t height; member in struct:__anon1293
/frameworks/native/include/gui/
H A DGraphicBufferAlloc.h37 uint32_t height, PixelFormat format, uint32_t usage,
/frameworks/native/libs/gui/
H A DIGraphicBufferAlloc.cpp48 uint32_t height, PixelFormat format, uint32_t usage,
53 data.writeUint32(height);
107 uint32_t height = data.readUint32(); local
113 sp<GraphicBuffer> result = createGraphicBuffer(width, height,
47 createGraphicBuffer(uint32_t width, uint32_t height, PixelFormat format, uint32_t usage, std::string requestorName, status_t* error) argument
/frameworks/rs/java/tests/HealingBrush/src/rs/example/android/com/healingbrush/
H A DHealing.java50 Bitmap bitmap = Bitmap.createBitmap(rec.width(), rec.height(), Bitmap.Config.ALPHA_8);
80 floatImage.setY(mRoiBounds.height());
91 mRoiBounds.width(), mRoiBounds.height());
96 mRoiBounds.width(), mRoiBounds.height());
110 options.setY(1, mRoiBounds.height() - 1);
133 mUndoBitmap = Bitmap.createBitmap(mRoiBounds.width(), mRoiBounds.height(),
136 Rect undoRect = new Rect(0, 0, mRoiBounds.width(), mRoiBounds.height());
145 Bitmap createMutableBitmap(Bitmap image, int x, int y, int width, int height) { argument
146 Bitmap ret = Bitmap.createBitmap(image, x, y, width, height);
/frameworks/support/percent/src/android/support/percent/
H A DPercentFrameLayout.java60 * It is not necessary to specify {@code layout_width/height} if you specify {@code
62 * percentage value permits, you can add {@code layout_width/height="wrap_content"}. In that case
67 * You can also make one dimension be a fraction of the other by setting only width or height and
74 * This will make the aspect ratio 16:9 (1.78:1) with the width fixed at 300dp and height adjusted
126 public LayoutParams(int width, int height) { argument
127 super(width, height);
130 public LayoutParams(int width, int height, int gravity) { argument
131 super(width, height, gravity);
H A DPercentLayoutHelper.java98 params.height = array.getLayoutDimension(heightAttr, 0);
102 * Iterates over children and changes their width and height to one calculated from percentage
163 Log.v(TAG, "percent height: " + value);
311 params.height = ViewGroup.LayoutParams.WRAP_CONTENT;
331 info.mPreservedParams.height == ViewGroup.LayoutParams.WRAP_CONTENT;
335 // These two flags keep track of whether we're computing the LayoutParams width and height
339 // the same set of width / height.
343 public PercentMarginLayoutParams(int width, int height) { argument
344 super(width, height);
356 /** The decimal value of the percentage-based height
[all...]
/frameworks/support/v7/appcompat/src/android/support/v7/view/
H A DActionBarPolicy.java98 int height = a.getLayoutDimension(R.styleable.ActionBar_height, 0);
101 // Stacked tabs; limit the height
102 height = Math.min(height,
106 return height;
/frameworks/volley/src/main/java/com/android/volley/toolbox/
H A DNetworkImageView.java105 int height = getHeight();
111 wrapHeight = getLayoutParams().height == LayoutParams.WRAP_CONTENT;
117 if (width == 0 && height == 0 && !isFullyWrapContent) {
144 // Calculate the max image width / height to use while ignoring WRAP_CONTENT dimens.
146 int maxHeight = wrapHeight ? 0 : height;
/frameworks/av/media/libstagefright/omx/
H A DSoftVideoEncoderOMXComponent.cpp62 int32_t height,
69 mHeight(height),
387 struct android_ycbcr *ycbcr, int32_t width, int32_t height) {
394 for (size_t y = height; y > 0; --y) {
401 for (size_t y = height >> 1; y > 0; --y) {
411 for (size_t y = height >> 1; y > 0; --y) {
429 const uint8_t *inYVU, uint8_t* outYUV, int32_t width, int32_t height) {
431 int32_t outYsize = width * height;
442 for (int32_t i = height >> 1; i > 0; --i) {
461 const uint8_t *src, size_t width, size_t height, size_
55 SoftVideoEncoderOMXComponent( const char *name, const char *componentRole, OMX_VIDEO_CODINGTYPE codingType, const CodecProfileLevel *profileLevels, size_t numProfileLevels, int32_t width, int32_t height, const OMX_CALLBACKTYPE *callbacks, OMX_PTR appData, OMX_COMPONENTTYPE **component) argument
385 ConvertFlexYUVToPlanar( uint8_t *dst, size_t dstStride, size_t dstVStride, struct android_ycbcr *ycbcr, int32_t width, int32_t height) argument
428 ConvertYUV420SemiPlanarToYUV420Planar( const uint8_t *inYVU, uint8_t* outYUV, int32_t width, int32_t height) argument
459 ConvertRGB32ToPlanar( uint8_t *dstY, size_t dstStride, size_t dstVStride, const uint8_t *src, size_t width, size_t height, size_t srcStride, bool bgr) argument
[all...]
/frameworks/base/services/core/java/com/android/server/display/
H A DOverlayDisplayWindow.java96 int width, int height, int densityDpi, int gravity, boolean secure,
112 resize(width, height, densityDpi, false /* doLayout */);
140 public void resize(int width, int height, int densityDpi) { argument
141 resize(width, height, densityDpi, true /* doLayout */);
144 private void resize(int width, int height, int densityDpi, boolean doLayout) { argument
146 mHeight = height;
204 mTextureView.getLayoutParams().height = mHeight;
251 int height = (int)(mHeight * scale);
253 int y = (int)(mWindowY + mLiveTranslationY - height * offsetScale);
255 y = Math.max(0, Math.min(y, mDefaultDisplayInfo.logicalHeight - height));
95 OverlayDisplayWindow(Context context, String name, int width, int height, int densityDpi, int gravity, boolean secure, Listener listener) argument
[all...]
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
H A DAndroidCamera2Settings.java91 mCropRectangle = new Rect(0, 0, activeArray.width(), activeArray.height());
194 mActiveArray.height() / mCurrentZoomRatio, 0, mActiveArray.height()));
196 (mActiveArray.height() - mCropRectangle.height()) / 2);
237 return (mExifThumbnailSize.width() == 0 && mExifThumbnailSize.height() == 0) ||
240 mExifThumbnailSize.height() == defaultThumbnailSize.getHeight());
284 mExifThumbnailSize.width(), mExifThumbnailSize.height()));
310 mCropRectangle.height() * oldTop, 0, mCropRectangle.height()
[all...]
/frameworks/base/media/java/android/media/
H A DImageReader.java108 * @param height The default height in pixels of the Images that this reader
123 public static ImageReader newInstance(int width, int height, int format, int maxImages) { argument
124 return new ImageReader(width, height, format, maxImages);
130 protected ImageReader(int width, int height, int format, int maxImages) { argument
132 mHeight = height;
136 if (width < 1 || height < 1) {
152 nativeInit(new WeakReference<ImageReader>(this), width, height, format, maxImages);
164 width, height, format, /*buffer count*/ 1);
182 * The default height o
[all...]
/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/
H A DActionMenuItemView.java202 int height = icon.getIntrinsicHeight();
206 height *= scale;
208 if (height > mMaxIconSize) {
209 final float scale = (float) mMaxIconSize / height;
210 height = mMaxIconSize;
213 icon.setBounds(0, 0, width, height);
261 final int height = getHeight();
262 final int midy = screenPos[1] + height / 2;
269 if (midy < displayFrame.height()) {
272 screenPos[1] + height
[all...]

Completed in 668 milliseconds

1234567891011>>