Searched refs:width (Results 176 - 200 of 715) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/text/style/
H A DImageSpan.java66 int width = mDrawable.getIntrinsicWidth();
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);
180 mPivotX = resolveSize(mPivotXType, mPivotXValue, width, parentWidth);
H A DTranslateAnimation.java163 public void initialize(int width, int height, int parentWidth, int parentHeight) { argument
164 super.initialize(width, height, parentWidth, parentHeight);
165 mFromXDelta = resolveSize(mFromXType, mFromXValue, width, parentWidth);
166 mToXDelta = resolveSize(mToXType, mToXValue, width, parentWidth);
/frameworks/base/tests/RenderScriptTests/ImageProcessing/src/com/android/rs/image/
H A DBlur25.java67 int width = mInPixelsAllocation.getType().getX();
77 tb.setX(width);
83 mScript.set_width(width);
/frameworks/base/tests/RenderScriptTests/ImageProcessing2/src/com/android/rs/image/
H A DBlur25.java63 int width = mInPixelsAllocation.getType().getX();
73 tb.setX(width);
79 mScript.set_width(width);
/frameworks/native/libs/ui/
H A DPixelFormat.cpp66 size_t PixelFormatInfo::getScanlineSize(unsigned int width) const
71 size = (width * bitsPerPixel)>>3;
73 size = width * bytesPerPixel;
H A DRect.cpp96 Rect Rect::transform(uint32_t xform, int32_t width, int32_t height) const { argument
99 result = Rect(width - result.right, result.top,
100 width - result.left, result.bottom);
/frameworks/rs/driver/
H A DrsdFrameBufferObj.cpp131 EGLint width, height; local
132 eglQuerySurface(dc->gl.egl.display, dc->gl.egl.surface, EGL_WIDTH, &width);
134 RSD_CALL_GL(glViewport, 0, 0, width, height);
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
H A DFixedRotationFilter.java73 int width = inputFormat.getWidth();
83 outputFormat.setDimensions(height, width);
90 outputFormat.setDimensions(height, width);
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/arm11_asm/
H A Dh264bsd_interpolate_ver_quarter.s59 width RN 12 label
95 LDR width, [sp,#0x218] ;// width
96 CMP tmp5, width
97 BHI do_fill ;// (x0+partW)>width
117 LDR width, [sp,#0x218] ;// width
118 STR width, [sp,#0] ;// sp+0 = width
132 LDR width, [s
[all...]
/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.h79 M4OSA_Int32 width; /**< image width in pixels */ member in struct:__anon217
/frameworks/av/media/libstagefright/codecs/aacenc/inc/
H A Dbit_cnt.h99 Word16 codeValues(Word16 *values, Word16 width, Word16 codeBook, HANDLE_BIT_BUF hBitstream);
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dsad_halfpel.cpp19 Int HalfPel1_SAD_MB(UChar *ref,UChar *blk,Int dmin,Int width,Int ih,Int jh)
20 Int HalfPel2_SAD_MB(UChar *ref,UChar *blk,Int dmin,Int width)
21 Int HalfPel1_SAD_Blk(UChar *ref,UChar *blk,Int dmin,Int width,Int ih,Int jh)
22 Int HalfPel2_SAD_Blk(UChar *ref,UChar *blk,Int dmin,Int width)
24 Int SAD_MB_HalfPel_C(UChar *ref,UChar *blk,Int dmin,Int width,Int rx,Int xh,Int yh,void *extra_info)
25 Int SAD_MB_HP_HTFM_Collect(UChar *ref,UChar *blk,Int dmin,Int width,Int rx,Int xh,Int yh,void *extra_info)
26 Int SAD_MB_HP_HTFM(UChar *ref,UChar *blk,Int dmin,Int width,Int rx,Int xh,Int yh,void *extra_info)
27 Int SAD_Blk_HalfPel_C(UChar *ref,UChar *blk,Int dmin,Int width,Int rx,Int xh,Int yh,void *extra_info)
64 Int HalfPel1_SAD_MB(UChar *ref, UChar *blk, Int dmin, Int width, Int ih, Int jh) argument
75 else p2 = ref + width;
96 HalfPel2_SAD_MB(UChar *ref, UChar *blk, Int dmin, Int width) argument
138 HalfPel1_SAD_Blk(UChar *ref, UChar *blk, Int dmin, Int width, Int ih, Int jh) argument
170 HalfPel2_SAD_Blk(UChar *ref, UChar *blk, Int dmin, Int width) argument
780 SAD_Blk_HalfPel_C(UChar *ref, UChar *blk, Int dmin, Int width, Int rx, Int xh, Int yh, void *extra_info) argument
[all...]
/frameworks/base/include/androidfw/
H A DVirtualKeyMap.h38 int32_t width; member in struct:android::VirtualKeyDefinition
/frameworks/base/libs/hwui/
H A DFontRenderer.cpp176 ALOGE("Font size too large to fit in cache. width, height = %i, %i",
253 CacheTexture* FontRenderer::createCacheTexture(int width, int height, bool allocate) { argument
254 CacheTexture* cacheTexture = new CacheTexture(width, height);
339 uint32_t width = cacheTexture->getWidth(); local
341 void* textureData = cacheTexture->getTexture() + y * width;
349 ALOGD("glTexSubimage for cacheTexture %d: x, y, width height = %d, %d, %d, %d",
350 i, x, y, width, height);
352 glTexSubImage2D(GL_TEXTURE_2D, 0, x, y, width, height,
493 image.width = 0;
524 image.width
664 horizontalBlur(float* weights, int32_t radius, const uint8_t* source, uint8_t* dest, int32_t width, int32_t height) argument
708 verticalBlur(float* weights, int32_t radius, const uint8_t* source, uint8_t* dest, int32_t width, int32_t height) argument
753 blurImage(uint8_t *image, int32_t width, int32_t height, int32_t radius) argument
[all...]
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.h37 * horizontally, and if its width is sufficiently close to the column width to avoid
53 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.h47 uint32_t width; 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);
68 // rectangle's width
82 inline int32_t width() const { return getWidth(); } 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.h30 jint width,
38 jint width,
46 jint width,
93 jint width,
/frameworks/base/core/java/android/view/
H A DSurface.java244 int width, int height, int minLayer, int maxLayer, boolean allLayers);
305 * @param w The surface initial width.
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);
495 * @param width The desired width 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);
755 public int width; 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.java205 * Returns a set of layout parameters with a width of
318 if (lp.width == LayoutParams.MATCH_PARENT ||
330 // Check against our minimum height and width
334 // Check against our foreground's minimum height and width
354 if (lp.width == LayoutParams.MATCH_PARENT) {
363 lp.width);
403 final int width = child.getMeasuredWidth();
423 childLeft = parentLeft + (parentRight - parentLeft - width) / 2 +
427 childLeft = parentRight - width - lp.rightMargin;
448 child.layout(childLeft, childTop, childLeft + width, childTo
620 LayoutParams(int width, int height) argument
636 LayoutParams(int width, int height, int gravity) argument
[all...]

Completed in 1629 milliseconds

1234567891011>>