/frameworks/support/v4/java/android/support/v4/widget/ |
H A D | EdgeEffectCompat.java | 46 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/base/media/jni/ |
H A D | android_media_MediaMetadataRetriever.cpp | 164 static void rotate0(T* dst, const T* src, size_t width, size_t height) argument 166 memcpy(dst, src, width * height * sizeof(T)); 170 static void rotate90(T* dst, const T* src, size_t width, size_t height) argument 173 for (size_t j = 0; j < width; ++j) { 174 dst[j * height + height - 1 - i] = src[i * width + j]; 180 static void rotate180(T* dst, const T* src, size_t width, size_t height) argument 183 for (size_t j = 0; j < width; ++j) { 184 dst[(height - 1 - i) * width + width - 1 - j] = src[i * width 190 rotate270(T* dst, const T* src, size_t width, size_t height) argument 200 rotate(T *dst, const T *src, size_t width, size_t height, int angle) argument 248 size_t width, height; local [all...] |
/frameworks/native/libs/ui/ |
H A D | GraphicBuffer.cpp | 41 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 D | h264bsd_interpolate_chroma_hor_ver.s | 47 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 D | DummyVideoSource.h | 34 uint32_t width, uint32_t height, 60 uint32_t width, uint32_t height,
|
H A D | PreviewRenderer.h | 36 size_t width, size_t height); 51 size_t width, size_t height);
|
H A D | PreviewRenderer.cpp | 30 const sp<Surface> &surface, size_t width, size_t height) { 32 PreviewRenderer* renderer = new PreviewRenderer(surface, width, height); 44 size_t width, size_t height) 46 mWidth(width), 29 CreatePreviewRenderer( const sp<Surface> &surface, size_t width, size_t height) argument 42 PreviewRenderer( const sp<Surface> &surface, size_t width, size_t height) argument
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/comm/src/ |
H A D | omxVCCOMM_LimitMVToRect.c | 52 * - 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 D | IWallpaperEngine.aidl | 26 void setDesiredSize(int width, int height);
|
/frameworks/base/core/java/android/view/ |
H A D | SurfaceHolder.java | 89 * @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 D | PathShape.java | 41 * @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 D | native_window.h | 40 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 D | rsdFrameBufferObj.h | 38 void setDimensions(uint32_t width, uint32_t height) { argument 39 mWidth = width;
|
/frameworks/support/v4/ics/android/support/v4/widget/ |
H A D | EdgeEffectCompatIcs.java | 33 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 D | WeightedLinearLayout.java | 66 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 D | RSTextureView.java | 74 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/wilhelm/tests/native-media/src/com/example/nativemedia/ |
H A D | NativeMedia.java | 86 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/opengl/java/javax/microedition/khronos/opengles/ |
H A D | GL11Ext.java | 50 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/base/libs/hwui/ |
H A D | TextureCache.cpp | 128 if (bitmap->width() > mMaxTextureSize || bitmap->height() > mMaxTextureSize) { 130 bitmap->width(), bitmap->height(), mMaxTextureSize, mMaxTextureSize); 226 const bool resize = !regenerate || bitmap->width() != int(texture->width) || 235 texture->width = bitmap->width(); 264 uploadLoFiTexture(resize, bitmap, texture->width, texture->height); 286 uint32_t width, uint32_t height) { 288 rgbaBitmap.setConfig(SkBitmap::kARGB_8888_Config, width, height); 300 void TextureCache::uploadToTexture(bool resize, GLenum format, GLsizei width, GLsize argument 285 uploadLoFiTexture(bool resize, SkBitmap* bitmap, uint32_t width, uint32_t height) argument [all...] |
/frameworks/native/opengl/tests/gl_perfapp/jni/ |
H A D | gl_code.cpp | 62 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/opt/telephony/src/java/com/android/internal/telephony/cat/ |
H A D | ImageDescriptor.java | 24 int width; field in class:ImageDescriptor 40 width = 0; 59 d.width = rawData[valueIndex++] & 0xff;
|
/frameworks/av/camera/ |
H A D | CameraParameters.cpp | 39 const char CameraParameters::KEY_JPEG_THUMBNAIL_WIDTH[] = "jpeg-thumbnail-width"; 325 int width, height; local 326 int success = parse_pair(sizeStartPtr, &width, &height, 'x', 332 sizes.push(Size(width, height)); 341 void CameraParameters::setPreviewSize(int width, int height) argument 344 sprintf(str, "%dx%d", width, height); 348 void CameraParameters::getPreviewSize(int *width, int *height) const argument 350 *width = *height = -1; 354 parse_pair(p, width, height, 'x'); 357 void CameraParameters::getPreferredPreviewSizeForVideo(int *width, in argument 371 setVideoSize(int width, int height) argument 378 getVideoSize(int *width, int *height) const argument 420 setPictureSize(int width, int height) argument 427 getPictureSize(int *width, int *height) const argument [all...] |
/frameworks/base/tests/RenderScriptTests/LivePreview/src/com/android/rs/livepreview/ |
H A D | CameraPreviewActivity.java | 137 int width, int height) { 139 mPreviewTexWidth = width; 146 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { argument 203 if (lhs.width < rhs.width) return -1; 204 if (lhs.width > rhs.width) return 1; 220 Integer.toString(mPreviewSizes.get(i).width) + " x " + 266 float widthRatio = mNextPreviewSize.width / (float)mPreviewTexWidth; 279 p.setPreviewSize(mPreviewSize.width, mPreviewSiz 136 onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) argument [all...] |
/frameworks/base/core/jni/android/graphics/ |
H A D | Bitmap.cpp | 29 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 377 const int width = p->readInt32(); local 530 Bitmap_getPixels(JNIEnv* env, jobject, const SkBitmap* bitmap, jintArray pixelArray, int offset, int stride, int x, int y, int width, int height) argument 573 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 D | ThinPatchesActivity.java | 75 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);
|