Searched refs:height (Results 226 - 250 of 1472) sorted by relevance

1234567891011>>

/frameworks/av/media/libstagefright/
H A DCameraSourceTimeLapse.cpp90 mVideoHeight = videoSize.height;
92 if (OK == mInitCheck && !trySettingVideoSize(videoSize.width, videoSize.height)) {
125 int32_t width, int32_t height) {
144 int32_t pictureHeight = supportedSizes[i].height;
146 if ((pictureWidth == width) && (pictureHeight == height)) {
153 ALOGV("Video size (%d, %d) is supported", width, height);
155 params.setVideoSize(width, height);
157 params.setPreviewSize(width, height);
162 ALOGE("Failed to set preview size to %dx%d", width, height);
124 trySettingVideoSize( int32_t width, int32_t height) argument
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dfindhalfpel.cpp34 void GenerateSearchRegion(UChar *searchPadding, UChar *ref, Int width, Int height,
81 Int height = video->vol[video->currLayer]->height; local
106 else if (jmin >= height - 1)
117 else if (jmin >= height - 16)
190 Int height; local
203 height = video->vol[video->currLayer]->height;
227 else if (jmin >= height - 1)
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A Dh264bsd_util.c266 u32 width, height; local
272 height = image->height;
277 picSize = width * height;
/frameworks/av/media/libstagefright/foundation/include/
H A DYUVImage.h56 YUVImage(YUVFormat yuvFormat, int32_t width, int32_t height);
60 YUVImage(YUVFormat yuvFormat, int32_t width, int32_t height, uint8_t *buffer);
68 static size_t bufferSize(YUVFormat yuvFormat, int32_t width, int32_t height);
71 int32_t height() const {return mHeight;} function in class:android::YUVImage
73 // Returns true if pixel is the range [0, width-1] x [0, height-1]
78 // Note that the range of x is [0, width-1] and the range of y is [0, height-1].
84 // Note that the range of x is [0, width-1] and the range of y is [0, height-1].
147 // Note that the range of x is [0, width-1] and the range of y is [0, height-1].
167 // Note that the range of x is [0, width-1] and the range of y is [0, height-1].
/frameworks/av/media/libstagefright/include/
H A DYUVImage.h56 YUVImage(YUVFormat yuvFormat, int32_t width, int32_t height);
60 YUVImage(YUVFormat yuvFormat, int32_t width, int32_t height, uint8_t *buffer);
68 static size_t bufferSize(YUVFormat yuvFormat, int32_t width, int32_t height);
71 int32_t height() const {return mHeight;} function in class:android::YUVImage
73 // Returns true if pixel is the range [0, width-1] x [0, height-1]
78 // Note that the range of x is [0, width-1] and the range of y is [0, height-1].
84 // Note that the range of x is [0, width-1] and the range of y is [0, height-1].
147 // Note that the range of x is [0, width-1] and the range of y is [0, height-1].
167 // Note that the range of x is [0, width-1] and the range of y is [0, height-1].
/frameworks/base/core/java/android/hardware/display/
H A DIDisplayManager.aidl69 int width, int height, int densityDpi, in Surface surface, int flags, String uniqueId);
73 int width, int height, int densityDpi);
/frameworks/base/core/jni/android/graphics/
H A DGIFMovie.cpp145 // pad for rest height
153 int height = bm->height(); local
160 if (frame->ImageDesc.Top + copyHeight > height) {
161 copyHeight = height - frame->ImageDesc.Top;
184 int height = bm->height(); local
193 if (frame->ImageDesc.Top + copyHeight > height) {
194 copyHeight = height - frame->ImageDesc.Top;
204 static void fillRect(SkBitmap* bm, GifWord left, GifWord top, GifWord width, GifWord height, argument
355 const int height = gif->SHeight; local
[all...]
/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/libs/hwui/tests/common/
H A DTestListViewSceneBase.h38 void createContent(int width, int height, Canvas& canvas) override;
/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:__anon1493
/frameworks/rs/tests/java_api/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/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
H A DBlur25.java73 int height = mInPixelsAllocation.getType().getY();
87 tb.setY(height);
94 mScript_half.set_height(height);
103 mScript.set_height(height);
/frameworks/rs/tests/java_api/SSHealingBrush/src/rs/example/android/com/healingbrush/
H A Dhealing.rs110 int height = rsAllocationGetDimY(in);
112 rs_allocation tmp = rsCreateAllocation_float3(width, height);
119 int height = rsAllocationGetDimY(in);
120 rs_allocation tmp = rsCreateAllocation_float3(width, height);
128 int height = rsAllocationGetDimY(src_image);
131 laplace = rsCreateAllocation_float3(width, height);
135 int steps = (int)hypot((float)width, (float)height);
142 opts.yEnd = height - 1;
/frameworks/support/percent/src/android/support/percent/
H A DPercentFrameLayout.java61 * It is not necessary to specify {@code layout_width/height} if you specify {@code
63 * percentage value permits, you can add {@code layout_width/height="wrap_content"}. In that case
68 * You can also make one dimension be a fraction of the other by setting only width or height and
75 * This will make the aspect ratio 16:9 (1.78:1) with the width fixed at 300dp and height adjusted
184 public LayoutParams(int width, int height) { argument
185 super(width, height);
188 public LayoutParams(int width, int height, int gravity) { argument
189 super(width, height, gravity);
/frameworks/av/media/libstagefright/omx/
H A DSoftVideoEncoderOMXComponent.cpp65 int32_t height,
72 mHeight(height),
390 struct android_ycbcr *ycbcr, int32_t width, int32_t height) {
397 for (size_t y = height; y > 0; --y) {
404 for (size_t y = height >> 1; y > 0; --y) {
414 for (size_t y = height >> 1; y > 0; --y) {
432 const uint8_t *inYVU, uint8_t* outYUV, int32_t width, int32_t height) {
434 int32_t outYsize = width * height;
445 for (int32_t i = height >> 1; i > 0; --i) {
464 const uint8_t *src, size_t width, size_t height, size_
58 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
388 ConvertFlexYUVToPlanar( uint8_t *dst, size_t dstStride, size_t dstVStride, struct android_ycbcr *ycbcr, int32_t width, int32_t height) argument
431 ConvertYUV420SemiPlanarToYUV420Planar( const uint8_t *inYVU, uint8_t* outYUV, int32_t width, int32_t height) argument
462 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/core/java/com/android/internal/policy/
H A DPipSnapAlgorithm.java133 movementBounds.bottom + stackBounds.height());
140 Gravity.apply(mSnapGravities.get(i), stackBounds.width(), stackBounds.height(),
146 final float thresh = Math.max(stackBounds.width(), stackBounds.height())
161 Gravity.apply(mSnapGravities.get(i), stackBounds.width(), stackBounds.height(),
204 movementBounds.height();
234 int offset = movementBounds.top + (int) (snapFraction * movementBounds.height());
242 int offset = movementBounds.top + (int) ((1f - snapFraction) * movementBounds.height());
258 stackBounds.height());
272 final int height;
278 height
[all...]

Completed in 2377 milliseconds

1234567891011>>