/external/skia/src/android/ |
SkBitmapRegionDecoderPriv.h | 45 int height = SkTMin(imageDims.height() - top, subset->height() - *outY); local 46 if (width <= 0 || height <= 0) { 50 subset->setXYWH(left, top, width, height); 52 (height != subset->height())) {
|
/external/skia/src/gpu/ |
GrRectanizer_pow2.h | 36 return fAreaSoFar / ((float)this->width() * this->height()); 46 // but it is used to signal if there exists an open row of this height 59 static int HeightToRowIndex(int height) { 60 SkASSERT(height >= kMIN_HEIGHT_POW2); 61 int index = 32 - SkCLZ(height - 1); 66 bool canAddStrip(int height) const { 67 return fNextStripY + height <= this->height();
|
/frameworks/base/graphics/java/android/graphics/drawable/shapes/ |
Shape.java | 42 * Returns the height of the Shape. 62 * @param height the height of the shape (in pixels) 64 public final void resize(float width, float height) { 68 if (height < 0) { 69 height =0; 71 if (mWidth != width || mHeight != height) { 73 mHeight = height; 74 onResize(width, height); 92 * @param height the new height of the Shap [all...] |
/packages/apps/Camera2/src/com/android/camera/util/ |
Size.java | 38 private final int height; field in class:Size 42 this.height = point.y; 48 this.height = size.getHeight(); 51 public Size(int width, int height) { 53 this.height = height; 57 return new Size(rectangle.width(), rectangle.height()); 67 this.height = other.height; 72 this.height = size.height() 87 public int height() { method in class:Size 193 int height = Integer.parseInt(flatSizes[i + 1]); local [all...] |
/external/libgdx/gdx/src/com/badlogic/gdx/math/ |
Rectangle.java | 22 /** Encapsulates a 2D rectangle defined by its corner point in the bottom left and its extents in x (width) and y (height).
33 public float width, height;
field in class:Rectangle 44 * @param height The height */
45 public Rectangle (float x, float y, float width, float height) {
49 this.height = height;
58 height = rect.height;
64 * @param height height 384 float height = Float.parseFloat(v.substring(s2 + 1, v.length() - 1)); local [all...] |
/external/libvpx/libvpx/third_party/libyuv/source/ |
convert_argb.cc | 30 int width, int height) { 32 width <= 0 || height == 0) { 35 // Negative height means invert the image. 36 if (height < 0) { 37 height = -height; 38 src_argb = src_argb + (height - 1) * src_stride_argb; 43 width * 4, height); 53 int width, int height) { 62 width <= 0 || height == 0) [all...] |
convert_from_argb.cc | 29 int width, int height) { 35 if (!src_argb || !dst_y || !dst_u || !dst_v || width <= 0 || height == 0) { 38 if (height < 0) { 39 height = -height; 40 src_argb = src_argb + (height - 1) * src_stride_argb; 48 width *= height; 49 height = 1; 93 for (y = 0; y < height; ++y) { 110 int width, int height) { [all...] |
/external/mesa3d/src/gallium/auxiliary/util/ |
u_format_rgtc.h | 35 util_format_rgtc1_unorm_unpack_rgba_8unorm(uint8_t *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height); 38 util_format_rgtc1_unorm_pack_rgba_8unorm(uint8_t *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height); 41 util_format_rgtc1_unorm_unpack_rgba_float(float *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height); 44 util_format_rgtc1_unorm_pack_rgba_float(uint8_t *dst_row, unsigned dst_stride, const float *src_row, unsigned src_stride, unsigned width, unsigned height); 55 util_format_rgtc1_snorm_unpack_rgba_8unorm(uint8_t *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height); 58 util_format_rgtc1_snorm_pack_rgba_8unorm(uint8_t *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height); 61 util_format_rgtc1_snorm_pack_rgba_float(uint8_t *dst_row, unsigned dst_stride, const float *src_row, unsigned src_stride, unsigned width, unsigned height); 64 util_format_rgtc1_snorm_unpack_rgba_float(float *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height); 74 util_format_rgtc2_unorm_unpack_rgba_8unorm(uint8_t *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height); 77 util_format_rgtc2_unorm_pack_rgba_8unorm(uint8_t *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height); [all...] |
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/particles/values/ |
RectangleSpawnShapeValue.java | 19 float height = spawnHeight + (spawnHeightDiff * spawnHeightValue.getScale(percent)); local 29 ty = MathUtils.random(1)==0 ? -height / 2 : height/ 2; 33 ty = MathUtils.random(height) - height / 2; 41 ty = MathUtils.random(1)==0 ? -height / 2 : height/ 2; 45 ty = MathUtils.random(height) - height / 2; 51 ty = MathUtils.random(1)==0 ? -height/ 2 : height / 2; [all...] |
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
BitmapMeshActivity.java | 49 final float height = mBitmap1.getHeight() / 3.0f; local 53 0.0f, height, width, height, width * 2, height, width * 4, height, 54 0.0f, height * 2, width, height * 2, width * 2, height * 2, width * 3, height * 2, 55 0.0f, height * 4, width, height * 4, width * 2, height * 4, width * 4, height * 4 [all...] |
BitmapMeshLayerActivity.java | 50 final float height = mBitmap1.getHeight() / 3.0f; local 54 0.0f, height, width, height, width * 2, height, width * 4, height, 55 0.0f, height * 2, width, height * 2, width * 2, height * 2, width * 3, height * 2, 56 0.0f, height * 4, width, height * 4, width * 2, height * 4, width * 4, height * 4 [all...] |
/external/mesa3d/src/gallium/state_trackers/xvmc/tests/ |
test_context.c | 34 const unsigned int width = 16, height = 16; local 50 height, 72 assert(XvMCCreateContext(display, port_num, surface_type_id, width, height, XVMC_DIRECT, NULL) == XvMCBadContext); 75 assert(XvMCCreateContext(display, -1, surface_type_id, width, height, XVMC_DIRECT, &context) == XvBadPort); 77 assert(XvMCCreateContext(display, port_num, -1, width, height, XVMC_DIRECT, &context) == BadMatch); 79 assert(XvMCCreateContext(display, port_num, surface_type_id, width, height, -1, &context) == BadValue); 81 assert(XvMCCreateContext(display, port_num, surface_type_id, 16384, height, XVMC_DIRECT, &context) == BadValue); 82 /* Test huge height */ 84 /* Test huge width & height */ 87 assert(XvMCCreateContext(display, port_num, surface_type_id, width, height, XVMC_DIRECT, &context) == Success) [all...] |
/external/opencv3/modules/core/misc/java/src/java/ |
core+Rect.java | 6 public int x, y, width, height; field in class:Rect 8 public Rect(int x, int y, int width, int height) { 12 this.height = height; 23 height = (int) (p1.y > p2.y ? p1.y : p2.y) - y; 27 this((int) p.x, (int) p.y, (int) s.width, (int) s.height); 39 height = vals.length > 3 ? (int) vals[3] : 0; 44 height = 0; 49 return new Rect(x, y, width, height); 57 return new Point(x + width, y + height); [all...] |
/hardware/qcom/msm8x84/kernel-headers/media/ |
msm_media_info.h | 18 * Y Y Y Y Y Y Y Y Y Y Y Y X X X X Height | 38 * Y_Scanlines: Height aligned to 32 39 * UV_Scanlines: Height/2 aligned to 16 54 * Y Y Y Y Y Y Y Y Y Y Y Y X X X X Height | 74 * Y_Scanlines: Height aligned to 32 75 * UV_Scanlines: Height/2 aligned to 16 92 * Y Y Y Y Y Y Y Y Y Y Y Y X X X X Height | | 110 * Y Y Y Y Y Y Y Y Y Y Y Y X X X X Height | | 130 * Y_Scanlines: Height aligned to 32 131 * UV_Scanlines: Height/2 aligned to 1 [all...] |
/hardware/qcom/msm8x84/original-kernel-headers/media/ |
msm_media_info.h | 18 * Y Y Y Y Y Y Y Y Y Y Y Y X X X X Height | 38 * Y_Scanlines: Height aligned to 32 39 * UV_Scanlines: Height/2 aligned to 16 54 * Y Y Y Y Y Y Y Y Y Y Y Y X X X X Height | 74 * Y_Scanlines: Height aligned to 32 75 * UV_Scanlines: Height/2 aligned to 16 92 * Y Y Y Y Y Y Y Y Y Y Y Y X X X X Height | | 110 * Y Y Y Y Y Y Y Y Y Y Y Y X X X X Height | | 130 * Y_Scanlines: Height aligned to 32 131 * UV_Scanlines: Height/2 aligned to 1 [all...] |
/external/libyuv/files/source/ |
convert_from_argb.cc | 29 int width, int height) { 35 if (!src_argb || !dst_y || !dst_u || !dst_v || width <= 0 || height == 0) { 38 if (height < 0) { 39 height = -height; 40 src_argb = src_argb + (height - 1) * src_stride_argb; 48 width *= height; 49 height = 1; 93 for (y = 0; y < height; ++y) { 110 int width, int height) { [all...] |
convert_argb.cc | 31 int width, int height) { 33 width <= 0 || height == 0) { 36 // Negative height means invert the image. 37 if (height < 0) { 38 height = -height; 39 src_argb = src_argb + (height - 1) * src_stride_argb; 44 width * 4, height); 54 int width, int height) { 63 width <= 0 || height == 0) [all...] |
convert_from.cc | 61 // 420 chroma is 1/2 width, 1/2 height 62 // 422 chroma is 1/2 width, 1x height 70 int width, int height) { 72 const int dst_uv_height = Abs(height); 79 width, height, 83 // 420 chroma is 1/2 width, 1/2 height 84 // 444 chroma is 1x width, 1x height 92 int width, int height) { 94 const int dst_uv_height = Abs(height); 101 width, height, [all...] |
planar_functions.cc | 31 int width, int height) { 37 width *= height; 38 height = 1; 72 for (y = 0; y < height; ++y) { 82 int width, int height) { 88 width *= height; 89 height = 1; 114 for (y = 0; y < height; ++y) { 129 int width, int height) { 133 width <= 0 || height == 0) [all...] |
/external/libvpx/libvpx/third_party/libyuv/include/libyuv/ |
convert_from_argb.h | 26 int width, int height); 32 int width, int height); 38 int width, int height); 44 int width, int height); 50 int width, int height); 56 int width, int height); 62 int width, int height); 72 const uint8* dither4x4, int width, int height); 78 int width, int height); 84 int width, int height); [all...] |
/external/libyuv/files/include/libyuv/ |
convert_from_argb.h | 26 int width, int height); 32 int width, int height); 38 int width, int height); 44 int width, int height); 50 int width, int height); 56 int width, int height); 62 int width, int height); 72 const uint8* dither4x4, int width, int height); 78 int width, int height); 84 int width, int height); [all...] |
/external/webrtc/talk/media/webrtc/ |
simulcast.cc | 41 int height; member in struct:cricket::SimulcastFormat 85 void MaybeExchangeWidthHeight(int* width, int* height) { 86 // |kSimulcastFormats| assumes |width| >= |height|. If not, exchange them 88 if (*width < *height) { 90 *width = *height; 91 *height = temp; 95 int FindSimulcastFormatIndex(int width, int height) { 96 MaybeExchangeWidthHeight(&width, &height); 100 height >= kSimulcastFormats[i].height) { 174 << " height:" << *height; local [all...] |
/external/mesa3d/src/mesa/drivers/dri/intel/ |
intel_pixel_draw.c | 44 GLsizei width, GLsizei height, 51 _swrast_DrawPixels(ctx, x, y, width, height, format, type, 56 _mesa_meta_DrawPixels(ctx, x, y, width, height, format, type,
|
/external/pdfium/xfa/src/fxbarcode/ |
BC_Dimension.cpp | 27 CBC_Dimension::CBC_Dimension(int32_t width, int32_t height, int32_t& e) {
28 if (width < 0 || height < 0) {
32 m_height = height;
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowCameraSize.java | 14 public void __constructor__(Camera camera, int width, int height) { 16 realCameraSize.height = height;
|