Searched refs:width (Results 76 - 100 of 658) sorted by relevance

1234567891011>>

/frameworks/support/v4/java/android/support/v4/widget/
H A DEdgeEffectCompat.java46 public void setSize(Object edgeEffect, int width, int height); argument
63 public void setSize(Object edgeEffect, int width, int height) { argument
95 public void setSize(Object edgeEffect, int width, int height) { argument
96 EdgeEffectCompatIcs.setSize(edgeEffect, width, height);
139 * @param width Effect width in pixels
142 public void setSize(int width, int height) { argument
143 IMPL.setSize(mEdgeEffect, width, height);
210 * width of X=0 to X=width, beginnin
[all...]
/frameworks/native/libs/ui/
H A DGraphicBuffer.cpp41 width =
54 width =
70 width = w;
83 width = buffer->width;
132 if (handle && w==width && h==height && f==format && reqUsage==usage)
149 this->width = w;
159 const Rect lockBounds(width, height);
166 if (rect.left < 0 || rect.right > this->width ||
170 this->width, thi
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/arm11_asm/
H A Dh264bsd_interpolate_chroma_hor_ver.s47 width RN 4 label
83 ;// u32 width, : 0xf8
96 LDR width, [sp, #0xf8] ;// width
102 CMP tmp1, width ;// x0+chromaPartWidth+1 > width
120 STMIA sp,{width,height,tmp1,tmp2,tmp3}
127 STMIA sp,{width,height,tmp1,tmp2,tmp3}
129 MLA ref, height, width, ref ;// ref += width * heigh
[all...]
/frameworks/av/libvideoeditor/lvpp/
H A DDummyVideoSource.h34 uint32_t width, uint32_t height,
60 uint32_t width, uint32_t height,
H A DPreviewRenderer.h36 size_t width, size_t height);
51 size_t width, size_t height);
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/comm/src/
H A DomxVCCOMM_LimitMVToRect.c52 * - the width or height of the bounding rectangle is less than
69 armRetArgErrIf((pRectVOPRef->width < (2* size)), OMX_Sts_BadArgErr);
73 (2*pRectVOPRef->x + pRectVOPRef->width - Xcoord - size));
/frameworks/base/core/java/android/service/wallpaper/
H A DIWallpaperEngine.aidl26 void setDesiredSize(int width, int height);
/frameworks/base/core/java/android/view/
H A DSurfaceHolder.java89 * @param width The new width of the surface.
92 public void surfaceChanged(SurfaceHolder holder, int format, int width, argument
161 * @param width The surface's width.
164 public void setFixedSize(int width, int height); argument
/frameworks/base/graphics/java/android/graphics/drawable/shapes/
H A DPathShape.java41 * @param stdWidth the standard width for the shape. Any changes to the
42 * width with resize() will result in a width scaled based
43 * on the new width divided by this width.
63 protected void onResize(float width, float height) { argument
64 mScaleX = width / mStdWidth;
/frameworks/native/include/android/
H A Dnative_window.h40 int32_t width; member in struct:ANativeWindow_Buffer
46 // memory. This may be >= width.
71 * Return the current width in pixels of the window surface. Returns a
91 * The width and height control the number of pixels in the buffers, not the
99 * width and height must be either both zero or both non-zero.
103 int32_t width, int32_t height, int32_t format);
/frameworks/rs/driver/
H A DrsdFrameBufferObj.h38 void setDimensions(uint32_t width, uint32_t height) { argument
39 mWidth = width;
/frameworks/support/v4/ics/android/support/v4/widget/
H A DEdgeEffectCompatIcs.java33 public static void setSize(Object edgeEffect, int width, int height) { argument
34 ((EdgeEffect) edgeEffect).setSize(width, height);
/frameworks/base/core/java/com/android/internal/widget/
H A DWeightedLinearLayout.java66 int width = getMeasuredWidth();
69 widthMeasureSpec = MeasureSpec.makeMeasureSpec(width, EXACTLY);
76 if (widthWeightMin > 0.0f && width < weightedMin) {
79 } else if (widthWeightMax > 0.0f && width > weightedMax) {
/frameworks/base/graphics/java/android/renderscript/
H A DRSTextureView.java74 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { argument
79 mRS.setSurfaceTexture(mSurfaceTexture, width, height);
87 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { argument
92 mRS.setSurfaceTexture(mSurfaceTexture, width, height);
/frameworks/base/opengl/java/javax/microedition/khronos/opengles/
H A DGL11Ext.java50 float width,
67 int width,
84 short width,
101 int width,
46 glDrawTexfOES( float x, float y, float z, float width, float height ) argument
63 glDrawTexiOES( int x, int y, int z, int width, int height ) argument
80 glDrawTexsOES( short x, short y, short z, short width, short height ) argument
97 glDrawTexxOES( int x, int y, int z, int width, int height ) argument
/frameworks/wilhelm/tests/native-media/src/com/example/nativemedia/
H A DNativeMedia.java86 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) {
87 Log.v(TAG, "surfaceChanged format=" + format + ", width=" + width + ", height=" +
108 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) {
109 Log.v(TAG, "surfaceChanged format=" + format + ", width=" + width + ", height=" +
131 int width = mediaPlayer.getVideoWidth();
133 Log.v(TAG, "onPrepared width=" + width + ", height=" + height);
134 if (width !
345 setFixedSize(int width, int height) argument
359 setFixedSize(int width, int height) argument
381 setFixedSize(int width, int height) argument
[all...]
/frameworks/base/libs/hwui/
H A DLayerRenderer.h58 ANDROID_API static Layer* createLayer(uint32_t width, uint32_t height, bool isOpaque = false);
59 ANDROID_API static bool resizeLayer(Layer* layer, uint32_t width, uint32_t height);
60 ANDROID_API static void updateTextureLayer(Layer* layer, uint32_t width, uint32_t height,
H A DTextureCache.cpp127 if (bitmap->width() > mMaxTextureSize || bitmap->height() > mMaxTextureSize) {
129 bitmap->width(), bitmap->height(), mMaxTextureSize, mMaxTextureSize);
219 const bool resize = !regenerate || bitmap->width() != int(texture->width) ||
227 texture->width = bitmap->width();
258 uploadLoFiTexture(resize, bitmap, texture->width, texture->height);
273 uint32_t width, uint32_t height) {
275 rgbaBitmap.setConfig(SkBitmap::kARGB_8888_Config, width, height);
287 void TextureCache::uploadToTexture(bool resize, GLenum format, GLsizei width, GLsize argument
272 uploadLoFiTexture(bool resize, SkBitmap* bitmap, uint32_t width, uint32_t height) argument
[all...]
/frameworks/base/telephony/java/com/android/internal/telephony/cat/
H A DImageDescriptor.java24 int width; field in class:ImageDescriptor
40 width = 0;
59 d.width = rawData[valueIndex++] & 0xff;
/frameworks/native/opengl/tests/gl_perfapp/jni/
H A Dgl_code.cpp62 JNIEXPORT void JNICALL Java_com_android_glperf_GLPerfLib_init(JNIEnv * env, jobject obj, jint width, jint height);
66 JNIEXPORT void JNICALL Java_com_android_glperf_GLPerfLib_init(JNIEnv * env, jobject obj, jint width, jint height) argument
68 gWidth = width;
/frameworks/av/camera/
H A DCameraParameters.cpp39 const char CameraParameters::KEY_JPEG_THUMBNAIL_WIDTH[] = "jpeg-thumbnail-width";
323 int width, height; local
324 int success = parse_pair(sizeStartPtr, &width, &height, 'x',
330 sizes.push(Size(width, height));
339 void CameraParameters::setPreviewSize(int width, int height) argument
342 sprintf(str, "%dx%d", width, height);
346 void CameraParameters::getPreviewSize(int *width, int *height) const argument
348 *width = *height = -1;
352 parse_pair(p, width, height, 'x');
355 void CameraParameters::getPreferredPreviewSizeForVideo(int *width, in argument
369 setVideoSize(int width, int height) argument
376 getVideoSize(int *width, int *height) const argument
418 setPictureSize(int width, int height) argument
425 getPictureSize(int *width, int *height) const argument
[all...]
/frameworks/base/core/jni/android/graphics/
H A DBitmap.cpp29 typedef void (*FromColorProc)(void* dst, const SkColor src[], int width,
32 static void FromColor_D32(void* dst, const SkColor src[], int width, argument
36 for (int i = 0; i < width; i++) {
41 static void FromColor_D565(void* dst, const SkColor src[], int width, argument
46 for (int stop = x + width; x < stop; x++) {
53 static void FromColor_D4444(void* dst, const SkColor src[], int width, argument
58 for (int stop = x + width; x < stop; x++) {
82 int x, int y, int width, int height,
99 proc(dst, src, width, x, y);
113 typedef void (*ToColorProc)(SkColor dst[], const void* src, int width,
80 SetPixels(JNIEnv* env, jintArray srcColors, int srcOffset, int srcStride, int x, int y, int width, int height, const SkBitmap& dstBitmap) argument
116 ToColor_S32_Alpha(SkColor dst[], const void* src, int width, SkColorTable*) argument
125 ToColor_S32_Opaque(SkColor dst[], const void* src, int width, SkColorTable*) argument
136 ToColor_S4444_Alpha(SkColor dst[], const void* src, int width, SkColorTable*) argument
145 ToColor_S4444_Opaque(SkColor dst[], const void* src, int width, SkColorTable*) argument
156 ToColor_S565(SkColor dst[], const void* src, int width, SkColorTable*) argument
167 ToColor_SI8_Alpha(SkColor dst[], const void* src, int width, SkColorTable* ctable) argument
178 ToColor_SI8_Opaque(SkColor dst[], const void* src, int width, SkColorTable* ctable) argument
214 Bitmap_creator(JNIEnv* env, jobject, jintArray jColors, int offset, int stride, int width, int height, SkBitmap::Config config, jboolean isMutable) argument
358 const int width = p->readInt32(); local
511 Bitmap_getPixels(JNIEnv* env, jobject, const SkBitmap* bitmap, jintArray pixelArray, int offset, int stride, int x, int y, int width, int height) argument
554 Bitmap_setPixels(JNIEnv* env, jobject, const SkBitmap* bitmap, jintArray pixelArray, int offset, int stride, int x, int y, int width, int height) argument
[all...]
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DThinPatchesActivity.java75 final int width = 100;
78 final int left = (getWidth() - width) / 2;
84 mPatch3.setBounds(left, top, left + height, top + width);
89 mPatch1.setBounds(left, top, left + width, top + height);
95 mPatch2.setBounds(left, top, left + width, top + height);
/frameworks/base/media/mca/filterfw/native/core/
H A Dgl_frame.cpp56 bool GLFrame::Init(int width, int height) { argument
59 InitDimensions(width, height);
65 bool GLFrame::InitWithTexture(GLint texture_id, int width, int height) { argument
68 InitDimensions(width, height);
72 bool GLFrame::InitWithFbo(GLint fbo_id, int width, int height) { argument
76 InitDimensions(width, height);
87 void GLFrame::InitDimensions(int width, int height) { argument
88 width_ = width;
90 vp_width_ = width;
187 bool GLFrame::SetViewport(int x, int y, int width, in argument
[all...]
/frameworks/av/media/libstagefright/rtsp/
H A DAPacketSource.cpp108 const char *params, int32_t *width, int32_t *height) {
109 *width = 0;
195 FindAVCDimensions(nal, width, height);
196 ALOGI("dimensions %dx%d", *width, *height);
333 const sp<ABuffer> &config, int32_t *width, int32_t *height) {
334 *width = 0;
356 &ptr[offset], config->size() - offset, width, height);
360 const char *params, int32_t *width, int32_t *height) {
361 *width = 0;
370 if (!ExtractDimensionsMPEG4Config(config, width, heigh
107 MakeAVCCodecSpecificData( const char *params, int32_t *width, int32_t *height) argument
332 ExtractDimensionsMPEG4Config( const sp<ABuffer> &config, int32_t *width, int32_t *height) argument
359 MakeMPEG4VideoCodecSpecificData( const char *params, int32_t *width, int32_t *height) argument
425 int32_t width, height; local
457 int32_t width, height; local
510 int32_t width, height; local
[all...]

Completed in 1393 milliseconds

1234567891011>>