/external/glide/library/src/main/java/com/bumptech/glide/load/engine/prefill/ |
PreFillType.java | 12 private final int width; field in class:PreFillType 20 * @param width The width in pixels of the {@link android.graphics.Bitmap Bitmaps} to 29 PreFillType(int width, int height, Bitmap.Config config, int weight) { 34 this.width = width; 41 * Returns the width in pixels of the {@link android.graphics.Bitmap Bitmaps}. 44 return width; 73 && width == other.width 103 private final int width; field in class:PreFillType.Builder [all...] |
/external/toybox/toys/posix/ |
expand.c | 46 int width = 1; local 52 width = mbrtowc(&blah, toybuf+i, len-i, 0); 53 if (width > 1) { 54 if (width != fwrite(toybuf+i, width, 1, stdout)) 56 i += width-1; 59 } else if (width == -2) break; 60 else if (width == -1) continue; 67 if (c == '\b' && x) width = -1; 74 width = TT.tabcount ? *TT.tab : 8 [all...] |
/external/vixl/src/vixl/ |
compiler-intrinsics.h | 91 int CountLeadingSignBitsFallBack(int64_t value, int width); 92 int CountLeadingZerosFallBack(uint64_t value, int width); 93 int CountSetBitsFallBack(uint64_t value, int width); 94 int CountTrailingZerosFallBack(uint64_t value, int width); 102 inline int CountLeadingSignBits(V value, int width = (sizeof(V) * 8)) { 104 if (width == 32) { 106 } else if (width == 64) { 110 return CountLeadingSignBitsFallBack(value, width); 115 inline int CountLeadingZeros(V value, int width = (sizeof(V) * 8)) { 117 if (width == 32) [all...] |
/external/libgdx/backends/gdx-backend-android/src/com/badlogic/gdx/backends/android/surfaceview/ |
RatioResolutionStrategy.java | 33 public RatioResolutionStrategy (final float width, final float height) {
34 this.ratio = width / height;
46 int width;
local 49 width = specWidth;
50 height = Math.round(width / desiredRatio);
53 width = Math.round(height * desiredRatio);
56 return new MeasuredDimension(width, height);
|
/external/libgdx/gdx/src/com/badlogic/gdx/math/ |
Ellipse.java | 29 public float width, height;
field in class:Ellipse 44 this.width = ellipse.width;
52 * @param width Width in pixels
54 public Ellipse (float x, float y, float width, float height) {
57 this.width = width;
64 * @param width Width in pixels [all...] |
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 43 * @param width The width
45 public Rectangle (float x, float y, float width, float height) {
48 this.width = width;
57 width = rect.width;
63 * @param width width 383 float width = Float.parseFloat(v.substring(s1 + 1, s2)); local [all...] |
/external/libvpx/libvpx/third_party/libyuv/source/ |
rotate_gcc.cc | 25 uint8* dst, int dst_stride, int width) { 101 "+r"(width) // %2 112 uint8* dst_b, int dst_stride_b, int width); 240 uint8* dst, int dst_stride, int width) { 368 "+r"(width) // %2 379 uint8* dst_b, int dst_stride_b, int width) { 476 "+r"(width) // %3
|
convert_argb.cc | 30 int width, int height) { 32 width <= 0 || height == 0) { 43 width * 4, height); 53 int width, int height) { 59 int width) = I444ToARGBRow_C; 62 width <= 0 || height == 0) { 72 if (src_stride_y == width && 73 src_stride_u == width && 74 src_stride_v == width && 75 dst_stride_argb == width * 4) [all...] |
convert.cc | 69 int width, int height) { 70 int halfwidth = (width + 1) >> 1; 74 width <= 0 || height == 0) { 90 CopyPlane(src_y, src_stride_y, dst_y, dst_stride_y, width, height); 98 // 422 chroma is 1/2 width, 1x height 99 // 420 chroma is 1/2 width, 1/2 height 107 int width, int height) { 108 const int src_uv_width = SUBSAMPLE(width, 1, 1); 115 width, height, 119 // 444 chroma is 1x width, 1x heigh [all...] |
rotate_argb.cc | 43 uint8* dst, int dst_stride, int width, int height) { 49 if (TestCpuFlag(kCpuHasSSE2) && IS_ALIGNED(height, 4)) { // Width of dest. 54 if (TestCpuFlag(kCpuHasNEON) && IS_ALIGNED(height, 4)) { // Width of dest. 59 for (i = 0; i < width; ++i) { // column of source to row of dest. 67 uint8* dst, int dst_stride, int width, int height) { 73 ARGBTranspose(src, src_stride, dst, dst_stride, width, height); 77 uint8* dst, int dst_stride, int width, int height) { 81 dst += dst_stride * (width - 1); 83 ARGBTranspose(src, src_stride, dst, dst_stride, width, height); 87 uint8* dst, int dst_stride, int width, int height) [all...] |
row_mips.cc | 384 int width) { 388 "srl $t4, %[width], 4 \n" // multiplies of 16 390 " andi %[width], %[width], 0xf \n" // residual 424 "beqz %[width], 3f \n" 431 "addiu %[width], %[width], -1 \n" 435 "bgtz %[width], 2b \n" 441 [width] "+r" (width), [all...] |
/external/skia/src/android/ |
SkBitmapRegionDecoderPriv.h | 44 int width = SkTMin(imageDims.width() - left, subset->width() - *outX); local 46 if (width <= 0 || height <= 0) { 50 subset->setXYWH(left, top, width, height); 51 if ((*outX != 0) || (*outY != 0) || (width != subset->width()) ||
|
/frameworks/base/graphics/java/android/graphics/drawable/shapes/ |
Shape.java | 35 * Returns the width of the Shape. 61 * @param width the width of the shape (in pixels) 64 public final void resize(float width, float height) { 65 if (width < 0) { 66 width = 0; 71 if (mWidth != width || mHeight != height) { 72 mWidth = width; 74 onResize(width, height); 91 * @param width the new width of the Shap [all...] |
/packages/apps/Camera2/src/com/android/camera/util/ |
Size.java | 37 private final int width; field in class:Size 41 this.width = point.x; 47 this.width = size.getWidth(); 51 public Size(int width, int height) { 52 this.width = width; 57 return new Size(rectangle.width(), rectangle.height()); 66 this.width = other.width; 71 this.width = size.width() 83 public int width() { method in class:Size 192 int width = Integer.parseInt(flatSizes[i]); local [all...] |
/external/libyuv/files/source/ |
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) { 71 const int dst_uv_width = (Abs(width) + 1) >> 1; 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) { 93 const int dst_uv_width = Abs(width); 101 width, height [all...] |
planar_functions.cc | 31 int width, int height) { 33 void (*CopyRow)(const uint8* src, uint8* dst, int width) = CopyRow_C; 35 if (src_stride_y == width && 36 dst_stride_y == width) { 37 width *= height; 47 CopyRow = IS_ALIGNED(width, 32) ? CopyRow_SSE2 : CopyRow_Any_SSE2; 52 CopyRow = IS_ALIGNED(width, 64) ? CopyRow_AVX : CopyRow_Any_AVX; 62 CopyRow = IS_ALIGNED(width, 32) ? CopyRow_NEON : CopyRow_Any_NEON; 73 CopyRow(src_y, dst_y, width); 82 int width, int height) [all...] |
convert_argb.cc | 31 int width, int height) { 33 width <= 0 || height == 0) { 44 width * 4, height); 54 int width, int height) { 61 int width) = I422ToARGBRow_C; 63 width <= 0 || height == 0) { 75 if (IS_ALIGNED(width, 8)) { 83 if (IS_ALIGNED(width, 16)) { 91 if (IS_ALIGNED(width, 8)) { 97 if (TestCpuFlag(kCpuHasDSPR2) && IS_ALIGNED(width, 4) & [all...] |
rotate_argb.cc | 43 uint8* dst, int dst_stride, int width, int height) { 49 if (TestCpuFlag(kCpuHasSSE2) && IS_ALIGNED(height, 4)) { // Width of dest. 54 if (TestCpuFlag(kCpuHasNEON) && IS_ALIGNED(height, 4)) { // Width of dest. 59 for (i = 0; i < width; ++i) { // column of source to row of dest. 67 uint8* dst, int dst_stride, int width, int height) { 73 ARGBTranspose(src, src_stride, dst, dst_stride, width, height); 77 uint8* dst, int dst_stride, int width, int height) { 81 dst += dst_stride * (width - 1); 83 ARGBTranspose(src, src_stride, dst, dst_stride, width, height); 87 uint8* dst, int dst_stride, int width, int height) [all...] |
/external/libyuv/files/include/libyuv/ |
rotate_row.h | 64 uint8* dst, int dst_stride, int width, int height); 67 uint8* dst, int dst_stride, int width); 69 uint8* dst, int dst_stride, int width); 71 uint8* dst, int dst_stride, int width); 73 uint8* dst, int dst_stride, int width); 75 uint8* dst, int dst_stride, int width); 77 uint8* dst, int dst_stride, int width); 80 uint8* dst, int dst_stride, int width); 82 uint8* dst, int dst_stride, int width); 84 uint8* dst, int dst_stride, int width); [all...] |
/external/conscrypt/src/main/java/org/conscrypt/ct/ |
Serialization.java | 44 int width = readNumber(input, 1); local 45 if ((width & DER_LENGTH_LONG_FORM_FLAG) != 0) { 46 length = readNumber(input, width & ~DER_LENGTH_LONG_FORM_FLAG); 48 length = width; 63 * @param listWidth the width of the vector's length field, in bytes. 64 * @param elemWidth the width of each element's length field, in bytes. 85 * @param width the width of the length prefix, in bytes. 86 * @throws SerializationException if EOF is encountered, or if {@code width} is negative or 89 public static byte[] readVariableBytes(InputStream input, int width) [all...] |
/external/libcxx/test/std/localization/locale.categories/category.numeric/locale.nm.put/facet.num.put.members/ |
put_long_double.pass.cpp | 72 ios.width(0); 77 assert(ios.width() == 0); 79 ios.width(25); 85 assert(ios.width() == 0); 87 ios.width(25); 93 assert(ios.width() == 0); 95 ios.width(25); 101 assert(ios.width() == 0); 106 ios.width(0); 111 assert(ios.width() == 0) [all...] |
put_double.pass.cpp | 67 ios.width(0); 72 assert(ios.width() == 0); 74 ios.width(25); 80 assert(ios.width() == 0); 82 ios.width(25); 88 assert(ios.width() == 0); 90 ios.width(25); 96 assert(ios.width() == 0); 101 ios.width(0); 106 assert(ios.width() == 0) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/category.numeric/locale.nm.put/facet.num.put.members/ |
put_long_double.pass.cpp | 67 ios.width(0); 72 assert(ios.width() == 0); 74 ios.width(25); 80 assert(ios.width() == 0); 82 ios.width(25); 88 assert(ios.width() == 0); 90 ios.width(25); 96 assert(ios.width() == 0); 101 ios.width(0); 106 assert(ios.width() == 0) [all...] |
put_double.pass.cpp | 67 ios.width(0); 72 assert(ios.width() == 0); 74 ios.width(25); 80 assert(ios.width() == 0); 82 ios.width(25); 88 assert(ios.width() == 0); 90 ios.width(25); 96 assert(ios.width() == 0); 101 ios.width(0); 106 assert(ios.width() == 0) [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...] |