| /external/skia/src/core/ |
| SkBlitter_PM4f.cpp | 34 void blitV(int x, int y, int height, SkAlpha alpha) override { 35 SkASSERT(x >= 0 && y >= 0 && y + height <= fDevice.height()); 40 for (int i = 0; i < height; ++i) { 46 void blitRect(int x, int y, int width, int height) override { 48 x + width <= fDevice.width() && y + height <= fDevice.height()); 57 } while (--height > 0); 91 const int height = clip.height(); local 120 const int height = clip.height(); variable [all...] |
| SkMaskFilter.cpp | 63 blitter->blitRect(r.left(), r.top(), r.width(), r.height()); 90 if (m.fBounds.width() > 0 && m.fBounds.height() > 0) { 100 if (m.fBounds.width() > 0 && m.fBounds.height() > 0) { 110 if (m.fBounds.width() > 0 && m.fBounds.height() > 0) { 112 m.fBounds.offsetTo(outerR.left(), outerR.bottom() - m.fBounds.height()); 120 if (m.fBounds.width() > 0 && m.fBounds.height() > 0) { 123 outerR.bottom() - m.fBounds.height()); 147 int stopY = startY + r.height(); 160 int stopY = startY + r.height(); 174 int height = r.height() local 185 int height = r.height(); local [all...] |
| /hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/ |
| vp9_resize.c | 507 int height, 515 uint8_t *intbuf = (uint8_t *)malloc(sizeof(uint8_t) * width2 * height); 517 (width < height ? height : width)); 518 uint8_t *arrbuf = (uint8_t *)malloc(sizeof(uint8_t) * (height + height2)); 519 for (i = 0; i < height; ++i) 523 fill_col_to_arr(intbuf + i, width2, height, arrbuf); 524 resize_multistep(arrbuf, height, arrbuf + height, height2, tmpbuf); 525 fill_arr_to_col(output + i, out_stride, height2, arrbuf + height); [all...] |
| /packages/apps/Gallery2/src/com/android/photos/views/ |
| GalleryThumbnailView.java | 45 * @return width / height 136 Log.e(TAG, "onMeasure: must have an exact height or match_parent! " + 143 float height = getMeasuredHeight() / portSpaces; local 144 mLargeColumnWidth = (int) (height / ASPECT_RATIO); 146 height = getMeasuredHeight() / portSpaces; 147 mSmallColumnWidth = (int) (height / ASPECT_RATIO); 157 final int height = b - t; local 158 mLeftEdge.setSize(width, height); 159 mRightEdge.setSize(width, height); 438 final int height = getHeight() local 568 final int height = getHeight() - getPaddingTop() - getPaddingBottom(); local 581 final int height = getHeight() - getPaddingTop() - getPaddingBottom(); local [all...] |
| /external/ImageMagick/MagickWand/ |
| wand-view.c | 279 height; 298 height=source->extent.height-source->extent.y; 300 magick_threads(source_image,destination_image,height,1) 302 for (y=source->extent.y; y < (ssize_t) source->extent.height; y++) 384 source->extent.height); 540 height; 554 height=source->extent.height-source->extent.y; 556 magick_threads(source_image,source_image,height,1 274 height; local 532 height; local 931 height; local 1067 height; local 1223 height; local [all...] |
| /external/libgdx/gdx/src/com/badlogic/gdx/scenes/scene2d/ui/ |
| Cell.java | 90 public Cell<T> size (Value width, Value height) { 92 if (height == null) throw new IllegalArgumentException("height cannot be null."); 94 minHeight = height; 96 prefHeight = height; 98 maxHeight = height; 109 public Cell<T> size (float width, float height) { 110 size(new Fixed(width), new Fixed(height)); 130 public Cell<T> height (Value height) { method in class:Cell 139 public Cell<T> height (float height) { method in class:Cell 140 height(new Fixed(height)); method [all...] |
| /build/tools/droiddoc/templates-sdk/assets/css/ |
| default.css | 17 height: 100%; 53 height: 80px; 56 line-height: 48px; 71 height: 0; 75 height: 1px; } 83 line-height: 15px; } 96 min-height: 10px; 107 top: 84px; /* sticky-header height + 20px gutter */ 116 /* Match height of fixed parent. */ 117 height: 100% [all...] |
| /build/tools/droiddoc/templates-sdk-dev/assets/css/ |
| default.css | 17 height: 100%; 53 height: 80px; 56 line-height: 48px; 71 height: 0; 75 height: 1px; } 83 line-height: 15px; } 96 min-height: 10px; 107 top: 84px; /* sticky-header height + 20px gutter */ 116 /* Match height of fixed parent. */ 117 height: 100% [all...] |
| /external/deqp/framework/opengl/simplereference/ |
| sglrGLContext.hpp | 61 virtual void viewport (int x, int y, int width, int height); 78 virtual void texImage2D (deUint32 target, int level, deUint32 internalFormat, int width, int height, int border, deUint32 format, deUint32 type, const void* data); 79 virtual void texImage3D (deUint32 target, int level, deUint32 internalFormat, int width, int height, int depth, int border, deUint32 format, deUint32 type, const void* data); 81 virtual void texSubImage2D (deUint32 target, int level, int xoffset, int yoffset, int width, int height, deUint32 format, deUint32 type, const void* data); 82 virtual void texSubImage3D (deUint32 target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, deUint32 format, deUint32 type, const void* data); 84 virtual void copyTexImage2D (deUint32 target, int level, deUint32 internalFormat, int x, int y, int width, int height, int border); 86 virtual void copyTexSubImage2D (deUint32 target, int level, int xoffset, int yoffset, int x, int y, int width, int height); 87 virtual void copyTexSubImage3D (deUint32 target, int level, int xoffset, int yoffset, int zoffset, int x, int y, int width, int height); 89 virtual void texStorage2D (deUint32 target, int levels, deUint32 internalFormat, int width, int height); 90 virtual void texStorage3D (deUint32 target, int levels, deUint32 internalFormat, int width, int height, int depth) [all...] |
| /external/glide/third_party/gif_decoder/src/main/java/com/bumptech/glide/gifdecoder/ |
| GifDecoder.java | 143 * @param height The height in pixels of the desired {@link android.graphics.Bitmap}. 146 public Bitmap obtain(int width, int height, Bitmap.Config config); 164 return header.height; 378 mainPixels = new byte[header.width * header.height]; 379 mainScratch = new int[header.width * header.height]; 405 mainPixels = new byte[header.width * header.height]; 406 mainScratch = new int[header.width * header.height]; 427 int height = header.height; local [all...] |
| /external/libgdx/backends/gdx-backend-moe/src/com/badlogic/gdx/backends/iosrobovm/ |
| IOSGLES20.java | 32 public static int x, y, width, height; field in class:IOSGLES20 78 public native void glCompressedTexImage2D ( int target, int level, int internalformat, int width, int height, int border, int imageSize, Buffer data ); 80 public native void glCompressedTexSubImage2D ( int target, int level, int xoffset, int yoffset, int width, int height, int format, int imageSize, Buffer data ); 82 public native void glCopyTexImage2D ( int target, int level, int internalformat, int x, int y, int width, int height, int border ); 84 public native void glCopyTexSubImage2D ( int target, int level, int xoffset, int yoffset, int x, int y, int width, int height ); 238 public native void glReadPixels ( int x, int y, int width, int height, int format, int type, Buffer pixels ); 242 public native void glRenderbufferStorage ( int target, int internalformat, int width, int height ); 246 public native void glScissor ( int x, int y, int width, int height ); 264 public native void glTexImage2D ( int target, int level, int internalformat, int width, int height, int border, int format, int type, Buffer pixels ); 274 public native void glTexSubImage2D ( int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, Buffer pixels ) [all...] |
| /external/libgdx/backends/gdx-backend-robovm/src/com/badlogic/gdx/backends/iosrobovm/ |
| IOSGLES20.java | 32 public static int x, y, width, height; field in class:IOSGLES20 78 public native void glCompressedTexImage2D ( int target, int level, int internalformat, int width, int height, int border, int imageSize, Buffer data ); 80 public native void glCompressedTexSubImage2D ( int target, int level, int xoffset, int yoffset, int width, int height, int format, int imageSize, Buffer data ); 82 public native void glCopyTexImage2D ( int target, int level, int internalformat, int x, int y, int width, int height, int border ); 84 public native void glCopyTexSubImage2D ( int target, int level, int xoffset, int yoffset, int x, int y, int width, int height ); 238 public native void glReadPixels ( int x, int y, int width, int height, int format, int type, Buffer pixels ); 242 public native void glRenderbufferStorage ( int target, int internalformat, int width, int height ); 246 public native void glScissor ( int x, int y, int width, int height ); 264 public native void glTexImage2D ( int target, int level, int internalformat, int width, int height, int border, int format, int type, Buffer pixels ); 274 public native void glTexSubImage2D ( int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, Buffer pixels ) [all...] |
| /external/opencv3/samples/gpu/ |
| cascadeclassifier_nvidia_api.cpp | 51 org.y = 3 * fontSize.height * (lineOffsY + 1) / 2; 87 Ncv32u width, Ncv32u height, 102 NCVMatrixAlloc<Ncv8u> d_src(gpuAllocator, width, height); 104 NCVMatrixAlloc<Ncv8u> h_src(cpuAllocator, width, height); 124 roi.height = d_src.height(); 182 frameSize.height = image.rows; 201 frameSize.height = frame.rows; 272 ncvStat = process(NULL, frameSize.width, frameSize.height, 284 printf("Initialized for frame size [%dx%d]\n", frameSize.width, frameSize.height); [all...] |
| /external/pdfium/core/include/fxcodec/ |
| fx_codec.h | 112 int height, 148 int height, 186 int height, 196 int height, 208 int height, 215 int& height, 240 int* height, 246 int* height, 268 FX_DWORD* height, 294 int height, [all...] |
| /external/skia/src/codec/ |
| SkGifCodec.cpp | 103 inline uint32_t get_output_row_interlaced(uint32_t encodedRow, uint32_t height) { 104 SkASSERT(encodedRow < height); 106 if (encodedRow * 8 < height) { 110 if (encodedRow * 4 < height) { 111 return 4 + 8 * (encodedRow - ceil_div(height, 8)); 114 if (encodedRow * 2 < height) { 115 return 2 + 4 * (encodedRow - ceil_div(height, 4)); 118 return 1 + 2 * (encodedRow - ceil_div(height, 2)); 217 SkImageInfo imageInfo = SkImageInfo::Make(size.width(), size.height(), kIndex_8_SkColorType, 369 int frameHeight = desc.Height; 371 int height = gif->SHeight; local [all...] |
| /external/webrtc/webrtc/modules/video_capture/windows/ |
| sink_filter_ds.cc | 103 pvi->bmiHeader.biHeight = _requestedCapability.height; 104 pvi->bmiHeader.biSizeImage = 3*_requestedCapability.height 114 pvi->bmiHeader.biHeight = _requestedCapability.height; 116 *_requestedCapability.height; 125 pvi->bmiHeader.biHeight = _requestedCapability.height; 126 pvi->bmiHeader.biSizeImage = 3*_requestedCapability.height 136 pvi->bmiHeader.biHeight = _requestedCapability.height; 137 pvi->bmiHeader.biSizeImage = 2*_requestedCapability.height 147 pvi->bmiHeader.biHeight = _requestedCapability.height; 148 pvi->bmiHeader.biSizeImage = 3*_requestedCapability.height [all...] |
| /frameworks/base/services/core/java/com/android/server/display/ |
| OverlayDisplayWindow.java | 96 int width, int height, int densityDpi, int gravity, boolean secure, 112 resize(width, height, densityDpi, false /* doLayout */); 140 public void resize(int width, int height, int densityDpi) { 141 resize(width, height, densityDpi, true /* doLayout */); 144 private void resize(int width, int height, int densityDpi, boolean doLayout) { 146 mHeight = height; 204 mTextureView.getLayoutParams().height = mHeight; 251 int height = (int)(mHeight * scale); local 253 int y = (int)(mWindowY + mLiveTranslationY - height * offsetScale); 255 y = Math.max(0, Math.min(y, mDefaultDisplayInfo.logicalHeight - height)); [all...] |
| /frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/ |
| AndroidCamera2Settings.java | 91 mCropRectangle = new Rect(0, 0, activeArray.width(), activeArray.height()); 194 mActiveArray.height() / mCurrentZoomRatio, 0, mActiveArray.height())); 196 (mActiveArray.height() - mCropRectangle.height()) / 2); 237 return (mExifThumbnailSize.width() == 0 && mExifThumbnailSize.height() == 0) || 240 mExifThumbnailSize.height() == defaultThumbnailSize.getHeight()); 284 mExifThumbnailSize.width(), mExifThumbnailSize.height())); 310 mCropRectangle.height() * oldTop, 0, mCropRectangle.height() - 1) [all...] |
| /frameworks/support/percent/src/android/support/percent/ |
| PercentLayoutHelper.java | 98 params.height = array.getLayoutDimension(heightAttr, 0); 102 * Iterates over children and changes their width and height to one calculated from percentage 105 * @param heightMeasureSpec Height MeasureSpec of the parent ViewGroup. 163 Log.v(TAG, "percent height: " + value); 311 params.height = ViewGroup.LayoutParams.WRAP_CONTENT; 331 info.mPreservedParams.height == ViewGroup.LayoutParams.WRAP_CONTENT; 335 // These two flags keep track of whether we're computing the LayoutParams width and height 339 // the same set of width / height. 343 public PercentMarginLayoutParams(int width, int height) { 344 super(width, height); [all...] |
| /hardware/intel/common/libva/test/ |
| loadsurface.h | 41 static int YUV_blend_with_pic(int width, int height, 73 if (width != 640 || height != 480) { /* need to scale the pic */ 74 pic_y = (unsigned char *)malloc(width * height); 75 pic_u = (unsigned char *)malloc(width * height/4); 76 pic_v = (unsigned char *)malloc(width * height/4); 81 pic_y, width, height); 83 pic_u, width/2, height/2); 85 pic_v, width/2, height/2); 95 for (row=0; row<height; row++) { 121 for (row=0; row<height/2*v_factor_to_nv12; row++) [all...] |
| /packages/apps/Camera2/src/com/android/camera/ |
| Storage.java | 88 * @param height The height of the media file after the orientation is 93 int height) throws IOException { 95 return addImage(resolver, title, date, location, orientation, exif, jpeg, width, height, 114 * @param height The height of the media file after the orientation is 122 int height, String mimeType) throws IOException { 128 path, width, height, mimeType); 143 * @param height The height of the media file after the orientation i [all...] |
| /packages/apps/Settings/src/com/android/settings/ |
| ActivityPicker.java | 332 public IconResizer(int width, int height, DisplayMetrics metrics) { 338 mIconHeight = height; 355 int height = mIconHeight; local 358 return new EmptyDrawable(width, height); 365 painter.setIntrinsicHeight(height); 378 if (width < iconWidth || height < iconHeight) { 382 height = (int) (width / ratio); 384 width = (int) (height * ratio); 399 final int y = (mIconHeight - height) / 2; 400 icon.setBounds(x, y, x + width, y + height); [all...] |
| /cts/tests/tests/widget/src/android/widget/cts/ |
| TableRow_LayoutParamsTest.java | 60 assertEquals(300, layoutParams.height); 67 assertEquals(300, layoutParams.height); 83 assertEquals(300, layoutParams.height); 89 assertEquals(300, layoutParams.height); 115 assertEquals(300, mockLayoutParams.height); 125 assertEquals(600, mockLayoutParams.height); 130 assertEquals(400, mockLayoutParams.height); 140 assertEquals(TableLayout.LayoutParams.WRAP_CONTENT, mockLayoutParams.height); 145 assertEquals(TableLayout.LayoutParams.MATCH_PARENT, mockLayoutParams.height); 155 assertEquals(TableLayout.LayoutParams.WRAP_CONTENT, mockLayoutParams.height); [all...] |
| /external/deqp/external/vulkancts/modules/vulkan/query_pool/ |
| vktQueryPoolImageObjectUtil.cpp | 45 int height, 59 depthPitch = rowPitch * height; 71 depthPitch == static_cast<vk::VkDeviceSize>(rowPitch * height)) 82 vk::VkDeviceSize offsetDepthSrc = d * (pixelSize * width * height); 85 for (int r = 0; r < height; ++r) 97 int height, 111 depthPitch = rowPitch * height; 123 depthPitch == static_cast<vk::VkDeviceSize>(rowPitch * height)) 133 vk::VkDeviceSize offsetDepthDst = d * (pixelSize * width * height); 137 for (int r = 0; r < height; ++r [all...] |
| /external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/ |
| TransformationUtils.java | 31 * @param recycled A mutable Bitmap with dimensions width and height that we can load the cropped portion of toCrop 35 * @param height The height in pixels of the final Bitmap. 38 public static Bitmap centerCrop(Bitmap recycled, Bitmap toCrop, int width, int height) { 41 } else if (toCrop.getWidth() == width && toCrop.getHeight() == height) { 48 if (toCrop.getWidth() * height > width * toCrop.getHeight()) { 49 scale = (float) height / (float) toCrop.getHeight(); 53 dy = (height - toCrop.getHeight() * scale) * 0.5f; 62 result = Bitmap.createBitmap(width, height, toCrop.getConfig() == null 82 * @param height The height in pixels the final image will fit within [all...] |