| /external/skia/gm/ |
| tallstretchedbitmaps.cpp | 14 int make_bm(SkBitmap* bm, int height) { 22 int count = (height / (2 * kRadius + kMargin)); 23 height = count * (2 * kRadius + kMargin); 25 bm->allocN32Pixels(2 * (kRadius + kMargin), height); 85 int itemHeight = bmp.height() / fTallBmps[i].fItemCnt; 87 bmp.width(), bmp.height());
|
| /external/skia/src/codec/ |
| SkCodecImageGenerator.cpp | 72 sizes[0].fHeight = sizeInfo.fYSize.height(); 74 sizes[1].fHeight = sizeInfo.fUSize.height(); 76 sizes[2].fHeight = sizeInfo.fVSize.height(); 83 sizeInfo.fYSize.set(fYWidth, sizes[0].height()); 84 sizeInfo.fUSize.set(fUWidth, sizes[1].height()); 85 sizeInfo.fVSize.set(fVWidth, sizes[2].height());
|
| /external/skia/src/core/ |
| SkBlitBWMaskTemplate.h | 35 unsigned height = clip.height(); local 39 SkASSERT(height != 0); 55 } while (--height != 0); 92 } while (--height != 0); 118 } while (--height != 0);
|
| /external/skia/src/gpu/ |
| GrTextureParamsAdjuster.h | 49 * respect to this Producer's bounds (width()/height()). 52 * as defined by width()/height(). 72 int height() const { return fHeight; } function in class:GrTextureProducer 76 GrTextureProducer(int width, int height, bool isAlphaOnly) 78 , fHeight(height) 142 : INHERITED(original->width(), original->height(), isAlphaOnly) 168 does not match width()/height() then the contents of the original must be scaled to fit 180 GrTextureMaker(GrContext* context, int width, int height, bool isAlphaOnly) 181 : INHERITED(width, height, isAlphaOnly)
|
| /external/webrtc/webrtc/examples/androidapp/src/org/appspot/apprtc/ |
| PercentFrameLayout.java | 56 final int height = getDefaultSize(Integer.MAX_VALUE, heightMeasureSpec); local 59 MeasureSpec.makeMeasureSpec(height, MeasureSpec.EXACTLY)); 64 MeasureSpec.makeMeasureSpec(height * heightPercent / 100, MeasureSpec.AT_MOST); 76 final int height = bottom - top; local 79 final int subHeight = height * heightPercent / 100; 81 final int subTop = top + height * yPercent / 100;
|
| /external/webrtc/webrtc/modules/video_coding/utility/ |
| quality_scaler.cc | 19 // Note that this is the same for width and height to permit 120x90 in both 67 res_.height = frame.height(); 106 (res_.height / 2 >= min_height_); 109 res_.height /= 2; 126 scaler_.Set(frame.width(), frame.height(), res.width, res.height, kI420,
|
| /external/webrtc/webrtc/modules/video_render/test/testAPI/ |
| testAPI_mac.mm | 32 int WebRtcCreateWindow(CocoaRenderView*& cocoaRenderer, int winNum, int width, int height) 38 NSRect outWindowFrame = NSMakeRect(200, 800, width + 20, height + 20); 48 NSRect cocoaRendererFrame = NSMakeRect(10, 10, width, height);
|
| /frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
| pp_semaphore_luma.cpp | 37 height = luminance VOP height in pixels (int) 123 int height /* i */ 140 ypred <= ((height << 1) - (2*MB_SIZE))) 277 else if (nmvy > (height >> 3) - 1) 279 nmvy = (height >> 3) - 1; 300 if (((dy&0xF) != 0) && (mmvy + 1 < (height >> 3) - 1)) 332 if (((dy&0xF) != 0) && (mmvy + 1 < (height >> 3) - 1))
|
| /frameworks/av/media/libstagefright/filters/ |
| ColorConvert.cpp | 49 uint8_t *pY, uint8_t *pUV, int32_t width, int32_t height, 53 for (int32_t i = 0; i < height; i++) { 71 uint8_t *pY, uint8_t *pUV, int32_t width, int32_t height, 75 for (int32_t i = 0; i < height; i++) { 94 uint8_t *src, int32_t width, int32_t height, uint32_t stride, 96 for (int32_t i = 0; i < height; ++i) {
|
| /frameworks/base/core/java/com/android/internal/util/ |
| ImageUtils.java | 59 int height = bitmap.getHeight(); local 63 if (height > COMPACT_BITMAP_SIZE || width > COMPACT_BITMAP_SIZE) { 75 (float) COMPACT_BITMAP_SIZE / height, 80 width = height = COMPACT_BITMAP_SIZE; 83 final int size = height*width; 85 bitmap.getPixels(mTempBuffer, 0, width, 0, 0, width, height);
|
| /frameworks/base/core/jni/android/graphics/ |
| Picture.cpp | 28 mHeight = src->height(); 41 Canvas* Picture::beginRecording(int width, int height) { 45 mHeight = height; 46 SkCanvas* canvas = mRecorder->beginRecording(width, height, NULL, 0); 63 int Picture::height() const { function in class:android::Picture 77 newPict->mHeight = cullRect.height();
|
| /frameworks/base/libs/hwui/ |
| AssetAtlas.cpp | 98 const float height = float(mTexture->height()); local 115 y / height, (y + pixelRef->info().height()) / height); 120 pixelRef->info().height(), mTexture->format());
|
| Texture.h | 66 * Sets the width, height, and format of the texture along with allocating 67 * the texture ID. Does nothing if the width, height, and format are already 72 void resize(uint32_t width, uint32_t height, GLint format) { 73 upload(format, width, height, format, GL_UNSIGNED_BYTE, nullptr); 78 * also setting the appropriate width, height, and format. It is not necessary 88 void upload(GLint internalformat, uint32_t width, uint32_t height, 94 void wrap(GLuint id, uint32_t width, uint32_t height, GLint format); 104 uint32_t height() const { function in class:android::uirenderer::Texture 151 bool updateSize(uint32_t width, uint32_t height, GLint format);
|
| /frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/ |
| sobeloperator.cpp | 42 void computeGradient(unsigned char* dataPtr, int width, int height, short* gxPtr, short* gyPtr) { 43 for (int i = 0; i < height; i++) { 49 const int below = (i < height - 1) ? curr + 4 * width : curr; 66 JNIEnv* env, jclass clazz, jint width, jint height, jobject imageBuffer, 78 int numPixels = width * height; 82 computeGradient(srcPtr, width, height, gxPtr, gyPtr);
|
| /frameworks/base/tests/WindowAnimationJank/src/android/windowanimationjank/ |
| FlowLayout.java | 39 int height = local 49 childHeightMeasureSpec = MeasureSpec.makeMeasureSpec(height, MeasureSpec.AT_MOST); 73 height = y + lineHeight; 75 if (y + lineHeight < height) { 76 height = y + lineHeight; 79 setMeasuredDimension(width, height);
|
| /hardware/qcom/display/msm8084/libgralloc/ |
| gr.h | 50 size_t getBufferSizeAndDimensions(int width, int height, int format, int usage, 52 size_t getBufferSizeAndDimensions(int width, int height, int format, 56 // Attributes include aligned width, aligned height, tileEnabled and size of the buffer 57 void getBufferAttributes(int width, int height, int format, int usage, 68 // Allocate buffer from width, height, format into a private_handle_t 109 * Function to compute the adreno aligned width and aligned height 112 * @return aligned width, aligned height 114 void getAlignedWidthAndHeight(int width, int height, int format, 136 int height, 148 int height, [all...] |
| /hardware/qcom/display/msm8226/libgralloc/ |
| gr.h | 50 unsigned int getBufferSizeAndDimensions(int width, int height, int format, 52 unsigned int getBufferSizeAndDimensions(int width, int height, int format, 56 // Attributes include aligned width, aligned height, tileEnabled and size of the buffer 57 void getBufferAttributes(int width, int height, int format, int usage, 68 // Allocate buffer from width, height, format into a private_handle_t 109 * Function to compute the adreno aligned width and aligned height 112 * @return aligned width, aligned height 114 void getAlignedWidthAndHeight(int width, int height, int format, 136 int height, 148 int height, [all...] |
| /hardware/qcom/display/msm8909/libgralloc/ |
| gr.h | 50 unsigned int getBufferSizeAndDimensions(int width, int height, int format, 52 unsigned int getBufferSizeAndDimensions(int width, int height, int format, 56 // Attributes include aligned width, aligned height, tileEnabled and size of the buffer 57 void getBufferAttributes(int width, int height, int format, int usage, 68 // Allocate buffer from width, height, format into a private_handle_t 109 * Function to compute the adreno aligned width and aligned height 112 * @return aligned width, aligned height 114 void getAlignedWidthAndHeight(int width, int height, int format, 136 int height, 148 int height, [all...] |
| /hardware/qcom/display/msm8996/libgralloc1/ |
| gr_allocator.h | 67 void GetBufferSizeAndDimensions(int width, int height, int format, unsigned int *size, 82 void GetYuvUBwcWidthAndHeight(int width, int height, int format, unsigned int *aligned_w, 84 void GetYuvSPPlaneInfo(uint64_t base, uint32_t width, uint32_t height, uint32_t bpp, 86 void GetYuvUbwcSPPlaneInfo(uint64_t base, uint32_t width, uint32_t height, int color_format, 89 unsigned int GetRgbUBwcMetaBufferSize(int width, int height, uint32_t bpp); 90 unsigned int GetUBwcSize(int width, int height, int format, unsigned int alignedw,
|
| /hardware/ti/omap3/omx/system/src/openmax_il/perf/tests/ |
| perf | 111 width=176;height=144 119 -h) height=$2; shift ;; 120 -h*) height=`echo $1 | cut -c3-` ;; 123 --heightv*=*) height=`echo $1 | cut -d= -f2` ;; 124 --heightv*) height=$2; shift ;; 132 size=$(expr $width \* $height \* 2) 152 width=176;height=144 160 -h) height=$2; shift ;; 161 -h*) height=`echo $1 | cut -c3-` ;; 164 --heightv*=*) height=`echo $1 | cut -d= -f2` ; [all...] |
| /packages/apps/Dialer/InCallUI/src/com/android/incallui/ |
| InCallVideoCallCallbackNotifier.java | 177 * @param height New peer height. 179 public void peerDimensionsChanged(Call call, int width, int height) { 181 listener.onUpdatePeerDimensions(call, width, height); 190 * @param height The new camera video height. 192 public void cameraDimensionsChanged(Call call, int width, int height) { 194 listener.onCameraDimensionsChange(call, width, height); 270 * @param height 272 public void onUpdatePeerDimensions(Call call, int width, int height); [all...] |
| /packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/ |
| CameraPreview.java | 58 mCameraHeight = size.height; 63 mCameraWidth = size.height; 83 int height; local 85 height = (int) (width * aspectRatio); 87 height = (int) (width / aspectRatio); 89 return View.MeasureSpec.makeMeasureSpec(height, View.MeasureSpec.EXACTLY);
|
| /external/opencv/cvaux/src/ |
| cvscanlines.cpp | 341 *numlines = imgSize.height; 347 for( y = 0; y < imgSize.height; y++ ) 439 int width, height; local 447 height = imgSize.height - 1; 450 l_diagonal[1] = (float) 1 / height; 454 r_diagonal[1] = (float) 1 / height; 483 l_point[1] = (float) height; 529 r_point[1] = (float) height; 553 l_point[1] = (float) height; 609 int width, height; local 781 int width, height; local 955 int width, height; local 1129 float height; local 1215 float height; local 1301 float width, height; local 1396 float width, height; local 1738 float height; local 1826 float height; local 1909 float width, height; local [all...] |
| /external/ImageMagick/MagickCore/ |
| image-view.c | 231 height; 250 height=source->extent.height-source->extent.y; 252 magick_threads(source_image,destination_image,height,1) 254 for (y=source->extent.y; y < (ssize_t) source->extent.height; y++) 307 source->extent.height); 554 height; 568 height=source->extent.height-source->extent.y; 570 magick_threads(source_image,source_image,height,1 226 height; local 543 height; local 887 height; local 1014 height; local 1147 height; local [all...] |
| /external/webrtc/talk/media/base/ |
| videoadapter.cc | 86 // Find the scale factor that, when applied to width and height, is closest 90 int width, int height, 98 float pixels = static_cast<float>(width * height); 126 float VideoAdapter::FindClosestScale(int width, int height, 129 width, height, target_num_pixels); 133 float VideoAdapter::FindClosestViewScale(int width, int height, 136 width, height, target_num_pixels); 139 // Finds the scale factor that, when applied to width and height, produces 142 float VideoAdapter::FindLowerScale(int width, int height, 145 width, height, target_num_pixels) 203 int width, height; local [all...] |