Searched refs:height (Results 151 - 175 of 685) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/text/style/
H A DImageSpan.java67 int height = mDrawable.getIntrinsicHeight();
68 mDrawable.setBounds(0, 0, width > 0 ? width : 0, height > 0 ? height : 0);
/frameworks/base/core/java/android/view/animation/
H A DRotateAnimation.java178 public void initialize(int width, int height, int parentWidth, int parentHeight) { argument
179 super.initialize(width, height, parentWidth, parentHeight);
181 mPivotY = resolveSize(mPivotYType, mPivotYValue, height, parentHeight);
H A DTranslateAnimation.java163 public void initialize(int width, int height, int parentWidth, int parentHeight) { argument
164 super.initialize(width, height, parentWidth, parentHeight);
167 mFromYDelta = resolveSize(mFromYType, mFromYValue, height, parentHeight);
168 mToYDelta = resolveSize(mToYType, mToYValue, height, parentHeight);
/frameworks/base/tests/RenderScriptTests/ImageProcessing/src/com/android/rs/image/
H A DBlur25.java68 int height = mInPixelsAllocation.getType().getY();
78 tb.setY(height);
84 mScript.set_height(height);
/frameworks/base/tests/RenderScriptTests/ImageProcessing2/src/com/android/rs/image/
H A DBlur25.java64 int height = mInPixelsAllocation.getType().getY();
74 tb.setY(height);
80 mScript.set_height(height);
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DBitmap_Delegate.java201 int height, int nativeConfig, boolean mutable) {
205 BufferedImage image = new BufferedImage(width, height, imageType);
208 image.setRGB(0, 0, width, height, colors, offset, stride);
227 int height = srcImage.getHeight();
232 BufferedImage image = new BufferedImage(width, height, imageType);
235 int[] argb = new int[width * height];
236 srcImage.getRGB(0, 0, width, height, argb, 0, width);
237 image.setRGB(0, 0, width, height, argb, 0, width);
351 int stride, int x, int y, int width, int height) {
357 delegate.getImage().getRGB(x, y, width, height, pixel
200 nativeCreate(int[] colors, int offset, int stride, int width, int height, int nativeConfig, boolean mutable) argument
350 nativeGetPixels(int nativeBitmap, int[] pixels, int offset, int stride, int x, int y, int width, int height) argument
372 nativeSetPixels(int nativeBitmap, int[] colors, int offset, int stride, int x, int y, int width, int height) argument
[all...]
/frameworks/rs/driver/
H A DrsdFrameBufferObj.cpp131 EGLint width, height; local
133 eglQuerySurface(dc->gl.egl.display, dc->gl.egl.surface, EGL_HEIGHT, &height);
134 RSD_CALL_GL(glViewport, 0, 0, width, height);
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
H A DFixedRotationFilter.java74 int height = inputFormat.getHeight();
83 outputFormat.setDimensions(height, width);
90 outputFormat.setDimensions(height, width);
/frameworks/av/include/media/
H A DIRemoteDisplayClient.h52 uint32_t width, uint32_t height, uint32_t flags) = 0; // one-way
/frameworks/av/libvideoeditor/lvpp/
H A DVideoEditorTools.h93 M4OSA_ERR LvGetImageThumbNail(const char *fileName, M4OSA_UInt32 height, M4OSA_UInt32 width, M4OSA_Void **pBuffer);
105 M4OSA_UInt32 width, M4OSA_UInt32 height, M4VIFI_UInt8 *buffer,
109 M4OSA_UInt32 width, M4OSA_UInt32 height, M4OSA_UInt32 stride, M4VIFI_UInt8 *buffer);
152 M4OSA_UInt32 width, M4OSA_UInt32 height, M4OSA_UInt32 rotation);
/frameworks/av/libvideoeditor/vss/inc/
H A DM4EXIFC_CommonAPI.h80 M4OSA_Int32 height; /**< image height in pixels */ member in struct:__anon217
H A DM4VSS3GPP_Extended_API.h135 /**< Text plane height. Used only if VideoEffectType == text */
151 M4OSA_UInt32 height; /*height of the ARGB8888 clip . member in struct:__anon240
166 /*To support ARGB8888 : get the width and height */
168 M4OSA_UInt32 height; member in struct:__anon241
/frameworks/base/core/java/com/android/internal/view/menu/
H A DActionMenuView.java417 int height = v.getMeasuredHeight();
427 int t = midVertical - (height / 2);
428 int b = t + height;
448 final int height = v.getMeasuredHeight();
451 final int t = midVertical - height / 2;
452 v.layout(l, t, l + width, t + height);
470 int height = v.getMeasuredHeight();
471 int t = midVertical - height / 2;
472 v.layout(startRight - width, t, startRight, t + height);
486 int height
611 LayoutParams(int width, int height) argument
616 LayoutParams(int width, int height, boolean isOverflowButton) argument
[all...]
/frameworks/base/include/androidfw/
H A DVirtualKeyMap.h39 int32_t height; member in struct:android::VirtualKeyDefinition
/frameworks/base/libs/hwui/
H A DLayerCache.cpp87 Layer* LayerCache::get(const uint32_t width, const uint32_t height) { argument
90 LayerEntry entry(width, height);
131 bool LayerCache::resize(Layer* layer, const uint32_t width, const uint32_t height) { argument
135 LayerEntry entry(width, height);
/frameworks/base/libs/hwui/font/
H A DCacheTexture.h53 CacheBlock(uint16_t x, uint16_t y, uint16_t width, uint16_t height, bool empty = false): argument
54 mX(x), mY(y), mWidth(width), mHeight(height), mNext(NULL), mPrev(NULL) {
73 CacheTexture(uint16_t width, uint16_t height) : argument
74 mTexture(NULL), mTextureId(0), mWidth(width), mHeight(height),
/frameworks/native/include/gui/
H A DCpuConsumer.h48 uint32_t height; member in struct:android::CpuConsumer::LockedBuffer
/frameworks/native/include/ui/
H A DRect.h54 // a valid rectangle has a non negative width and height
56 return (width()>=0) && (height()>=0);
59 // an empty rect has a zero width or height, or is invalid
61 return (width()<=0) || (height()<=0);
73 // rectangle's height
83 inline int32_t height() const { return getHeight(); } function in class:android::Rect
154 // the origin and extending to (width, height). If the transform includes
156 // (height, width). Otherwise the output rectangle is in the same space as
158 Rect transform(uint32_t xform, int32_t width, int32_t height) const;
/frameworks/native/opengl/tests/testPauseResume/src/com/android/test/
H A DTestView.java75 public void onSurfaceChanged(GL10 gl, int width, int height) { argument
/frameworks/base/media/mca/filterfw/jni/
H A Djni_gl_frame.h31 jint height);
39 jint height);
47 jint height);
94 jint height);
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dget_pred_outside.cpp36 height = height of the VOP in pixels (y axis); full-pel resolution;
247 int height, /* i */
268 if (ypos > ((height - 1) << 1)) ypos = (height - 1) << 1;
301 else if ((ypos >> 1) < (height - B_SIZE)) /* pad left of frame */
332 prev = c_prev + width * (height - 8);
350 ptr = pred + 8 + (((ypos >> 1) - (height - 8)) << 4) + (xpos >> 1);
399 prev = c_prev + width * (height - 8) + (xpos >> 1) - xoffset;
419 ptr = pred + (((ypos >> 1) - (height
241 GetPredOutside( int xpos, int ypos, uint8 *c_prev, uint8 *pred_block, int width, int height, int rnd1, int pred_width ) argument
[all...]
/frameworks/base/core/java/android/view/
H A DSurface.java244 int width, int height, int minLayer, int maxLayer, boolean allLayers);
306 * @param h The surface initial height.
469 * Sets the translator used to scale canvas's width/height in compatibility
486 public static Bitmap screenshot(int width, int height) { argument
489 return nativeScreenshot(displayToken, width, height, 0, 0, true);
497 * @param height The desired height of the returned bitmap; the raw
508 public static Bitmap screenshot(int width, int height, int minLayer, int maxLayer) { argument
511 return nativeScreenshot(displayToken, width, height, minLayer, maxLayer, false);
756 public int height; field in class:Surface.PhysicalDisplayInfo
243 nativeScreenshot(IBinder displayToken, int width, int height, int minLayer, int maxLayer, boolean allLayers) argument
[all...]
/frameworks/base/core/java/android/widget/
H A DFrameLayout.java207 * and a height of {@link android.view.ViewGroup.LayoutParams#MATCH_PARENT}.
319 lp.height == LayoutParams.MATCH_PARENT) {
330 // Check against our minimum height and width
334 // Check against our foreground's minimum height and width
366 if (lp.height == LayoutParams.MATCH_PARENT) {
375 lp.height);
404 final int height = child.getMeasuredHeight();
438 childTop = parentTop + (parentBottom - parentTop - height) / 2 +
442 childTop = parentBottom - height - lp.bottomMargin;
448 child.layout(childLeft, childTop, childLeft + width, childTop + height);
620 LayoutParams(int width, int height) argument
636 LayoutParams(int width, int height, int gravity) argument
[all...]
/frameworks/base/media/java/android/media/
H A DThumbnailUtils.java181 int height = bitmap.getHeight();
182 int max = Math.max(width, height);
186 int h = Math.round(scale * height);
203 * @param height targeted height
206 Bitmap source, int width, int height) {
207 return extractThumbnail(source, width, height, OPTIONS_NONE);
215 * @param height targeted height
219 Bitmap source, int width, int height, in
205 extractThumbnail( Bitmap source, int width, int height) argument
218 extractThumbnail( Bitmap source, int width, int height, int options) argument
[all...]
/frameworks/av/services/camera/libcameraservice/camera2/
H A DBurstCapture.cpp86 imgEncoded->height = imgBuffer->height;

Completed in 443 milliseconds

1234567891011>>