/external/chromium_org/third_party/WebKit/Source/platform/geometry/ |
FloatSize.h | 53 FloatSize(float width, float height) : m_width(width), m_height(height) { } 57 static FloatSize narrowPrecision(double width, double height); 59 float width() const { return m_width; } function in class:WebCore::FloatSize 62 void setWidth(float width) { m_width = width; } 71 void expand(float width, float height) 73 m_width += width; 123 a.setWidth(a.width() + b.width()); [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/chromium_org/third_party/mesa/src/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/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/chromium/chrome/browser/ui/cocoa/ |
browser_window_controller_private.h | 46 // width, possibly for fullscreen mode; returns the new maximum y (below the tab 49 width:(CGFloat)width 53 // y-coordinate, with the given width; returns the new maximum y (below the 57 width:(CGFloat)width; 64 // width; returns the new maximum y (below the bookmark bar). Note that one must 70 width:(CGFloat)width; 78 // Lays out the infobar at the given maximum y-coordinate, with the given width; [all...] |
/external/chromium_org/ppapi/cpp/ |
size.h | 12 /// This file defines the API to create a size based on width 17 /// A size of an object based on width and height. 21 /// The default constructor. Initializes the width and height to 0. 23 size_.width = 0; 34 set_width(s.width); 38 /// A constructor accepting two int values for width and height and 41 /// @param[in] w An int value representing a width. 75 /// Getter function for returning the value of width. 77 /// @return The value of width for this <code>Size</code>. 78 int width() const function in class:pp::Size [all...] |
/external/chromium_org/ui/message_center/views/ |
proportional_image_view.cc | 21 gfx::Rect rect = gfx::Rect(GetImageSizeForWidth(image_.width())); 26 int ProportionalImageView::GetHeightForWidth(int width) { 27 // The border will count against the width available for the image 30 int inset_width = width - insets.width(); 37 gfx::Size draw_size(GetImageSizeForWidth(width() - GetInsets().width())); 50 image_size.width(), image_size.height(), 52 draw_size.width(), draw_size.height(), 58 gfx::Size ProportionalImageView::GetImageSizeForWidth(int width) { [all...] |
/external/chromium_org/ui/views/window/ |
window_shape.cc | 20 window_mask->lineTo(SkIntToScalar(size.width() - 3), 0); 21 window_mask->lineTo(SkIntToScalar(size.width() - 2), 1); 22 window_mask->lineTo(SkIntToScalar(size.width() - 1), 1); 23 window_mask->lineTo(SkIntToScalar(size.width() - 1), 2); 24 window_mask->lineTo(SkIntToScalar(size.width()), 3); 26 window_mask->lineTo(SkIntToScalar(size.width()), 28 window_mask->lineTo(SkIntToScalar(size.width() - 1), 30 window_mask->lineTo(SkIntToScalar(size.width() - 1), 32 window_mask->lineTo(SkIntToScalar(size.width() - 3), 34 window_mask->lineTo(SkIntToScalar(size.width() - 3) [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
idct.h | 48 void idctrow0(int16 *blk, uint8 *pred, uint8 *dst, int width); 49 void idctrow1(int16 *blk, uint8 *pred, uint8 *dst, int width); 50 void idctrow2(int16 *blk, uint8 *pred, uint8 *dst, int width); 51 void idctrow3(int16 *blk, uint8 *pred, uint8 *dst, int width); 52 void idctrow4(int16 *blk, uint8 *pred, uint8 *dst, int width); 59 void idctrow0_intra(int16 *blk, PIXEL *comp, int width); 60 void idctrow1_intra(int16 *blk, PIXEL *comp, int width); 61 void idctrow2_intra(int16 *blk, PIXEL *comp, int width); 62 void idctrow3_intra(int16 *blk, PIXEL *comp, int width); 63 void idctrow4_intra(int16 *blk, PIXEL *comp, int width); [all...] |
/packages/apps/Camera/jni/feature_mos/src/mosaic/ |
MosaicTypes.h | 40 inline int Width() 72 int width, height; member in class:MosaicFrame 80 width = _width; 84 image = ImageUtils::allocateImage(width, height, ImageUtils::IMAGE_TYPE_NUM_CHANNELS); 100 return (image + (width*height)); 108 return (image + (width*height*2)); 116 ImageType U = image + (width*height); 117 return U[y*width+x]; 125 ImageType U = image + (width*height*2); 126 return U[y*width+x] 139 double width; member in struct:__anon33360 [all...] |
/packages/apps/Camera2/jni/feature_mos/src/mosaic/ |
MosaicTypes.h | 40 inline int Width() 72 int width, height; member in class:MosaicFrame 80 width = _width; 84 image = ImageUtils::allocateImage(width, height, ImageUtils::IMAGE_TYPE_NUM_CHANNELS); 100 return (image + (width*height)); 108 return (image + (width*height*2)); 116 ImageType U = image + (width*height); 117 return U[y*width+x]; 125 ImageType U = image + (width*height*2); 126 return U[y*width+x] 139 double width; member in struct:__anon33367 [all...] |
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/ |
MosaicTypes.h | 40 inline int Width() 72 int width, height; member in class:MosaicFrame 80 width = _width; 84 image = ImageUtils::allocateImage(width, height, ImageUtils::IMAGE_TYPE_NUM_CHANNELS); 100 return (image + (width*height)); 108 return (image + (width*height*2)); 116 ImageType U = image + (width*height); 117 return U[y*width+x]; 125 ImageType U = image + (width*height*2); 126 return U[y*width+x] 139 double width; member in struct:__anon33377 [all...] |
/external/chromium/chrome/browser/ |
ntp_background_util.cc | 22 int width = area.width() + ntp_background->width(); local 29 x_pos += area.width() - ntp_background->width(); 33 x_pos += area.width() / 2 - ntp_background->width() / 2; 38 width = ntp_background->width(); 40 x_pos = x_pos % ntp_background->width() - ntp_background->width() [all...] |
/external/chromium_org/third_party/skia/src/gpu/ |
GrRectanizer.cpp | 36 return fAreaSoFar / ((float)this->width() * this->height()); 48 bool canAddWidth(int width, int containerWidth) const { 49 return fLoc.fX + width <= containerWidth; 74 bool GrRectanizerPow2::addRect(int width, int height, GrIPoint16* loc) { 75 if ((unsigned)width > (unsigned)this->width() || 80 int32_t area = width * height; 101 if (!row->canAddWidth(width, this->width())) { 112 SkASSERT(row->canAddWidth(width, this->width())) [all...] |
/external/skia/src/gpu/ |
GrRectanizer.cpp | 36 return fAreaSoFar / ((float)this->width() * this->height()); 48 bool canAddWidth(int width, int containerWidth) const { 49 return fLoc.fX + width <= containerWidth; 74 bool GrRectanizerPow2::addRect(int width, int height, GrIPoint16* loc) { 75 if ((unsigned)width > (unsigned)this->width() || 80 int32_t area = width * height; 101 if (!row->canAddWidth(width, this->width())) { 112 SkASSERT(row->canAddWidth(width, this->width())) [all...] |
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
BitmapMeshActivity.java | 48 final float width = mBitmap1.getWidth() / 3.0f; local 52 0.0f, 0.0f, width, 0.0f, width * 2, 0.0f, width * 3, 0.0f, 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 [all...] |
BitmapMeshLayerActivity.java | 49 final float width = mBitmap1.getWidth() / 3.0f; local 53 0.0f, 0.0f, width, 0.0f, width * 2, 0.0f, width * 3, 0.0f, 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 [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/draw9patch/graphics/ |
GraphicsUtilities.java | 34 ImageData result = new ImageData(image.width + 2, image.height + 2, image.depth, 37 final int[] colors = new int[image.width]; 38 final byte[] alpha = new byte[image.width]; 43 image.getPixels(0, y, image.width, colors, 0); 44 result.setPixels(1, y + 1, image.width, colors, 0); 47 image.getAlphas(0, y, image.width, alpha, 0); 48 result.setAlphas(1, y + 1, image.width, alpha, 0); 61 int width = imageData.width; local 64 for (int x = 0; x < width; x++) [all...] |
/external/chromium/chrome/browser/ui/gtk/ |
gtk_chrome_shrinkable_hbox_unittest.cc | 33 // Add some children widgets with arbitrary width and padding. 36 int width; member in struct:GtkChromeShrinkableHBoxTest::__anon2329 48 for (size_t i = 0; kChildrenData[i].width; ++i) { 50 gtk_widget_set_size_request(child, kChildrenData[i].width, -1); 79 int width = box_->allocation.width - border_width * 2; local 87 (width - (visible_children_count - 1) * spacing) / 95 << " width: " << children_data[i].width); 98 ASSERT_LE(children_data[i].width, homogeneous_child_width) 192 int width; member in struct:GtkChromeShrinkableHBoxTest::ChildData [all...] |
/external/chromium_org/chrome/browser/ui/gtk/ |
gtk_chrome_shrinkable_hbox_unittest.cc | 33 // Add some children widgets with arbitrary width and padding. 36 int width; member in struct:GtkChromeShrinkableHBoxTest::__anon6071 48 for (size_t i = 0; kChildrenData[i].width; ++i) { 50 gtk_widget_set_size_request(child, kChildrenData[i].width, -1); 79 int width = box_->allocation.width - border_width * 2; local 87 (width - (visible_children_count - 1) * spacing) / 95 << " width: " << children_data[i].width); 98 ASSERT_LE(children_data[i].width, homogeneous_child_width) 192 int width; member in struct:GtkChromeShrinkableHBoxTest::ChildData [all...] |
/frameworks/base/graphics/java/android/graphics/ |
Atlas.java | 83 * @param width The width of the atlas in pixels 88 public Atlas(Type type, int width, int height) { 89 this(type, width, height, FLAG_DEFAULTS); 98 * @param width The width of the atlas in pixels 105 public Atlas(Type type, int width, int height, int flags) { 106 mPolicy = findPolicy(type, width, height, flags); 112 * @param width The width of the rectangle to pack in the atla 254 int width; field in class:Atlas.SlicePolicy.Cell [all...] |
/hardware/samsung_slsi/exynos5/libswconverter/ |
swconvertor.c | 38 unsigned int width, 50 width = ((width + 15) / 16) * 16; 51 tileNumX = width / 16; 139 * real width of yuv420[in] 150 unsigned int width, 159 aligned_width = width & (~0xF); 160 tiled_width = ((width + 15) >> 4) << 4; 165 dst_offset = width * i + j; 169 dst_offset += width; [all...] |
/external/libyuv/files/source/ |
planar_functions.cc | 30 int width, int height) { 31 void (*CopyRow)(const uint8* src, uint8* dst, int width) = CopyRow_C; 33 if (TestCpuFlag(kCpuHasNEON) && IS_ALIGNED(width, 64)) { 38 if (TestCpuFlag(kCpuHasX86) && IS_ALIGNED(width, 4)) { 43 if (TestCpuFlag(kCpuHasSSE2) && IS_ALIGNED(width, 32) && 52 CopyRow(src_y, dst_y, width); 64 int width, int height) { 65 if (!src_y || !dst_y || width <= 0 || height == 0) { 74 CopyPlane(src_y, src_stride_y, dst_y, dst_stride_y, width, height); 81 int width, int height) [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xvmc/tests/ |
test_context.c | 34 const unsigned int width = 16, height = 16; local 49 width, 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); 80 /* Test huge width */ 83 assert(XvMCCreateContext(display, port_num, surface_type_id, width, 16384, XVMC_DIRECT, &context) == BadValue); 84 /* Test huge width & height */ 87 assert(XvMCCreateContext(display, port_num, surface_type_id, width, height, XVMC_DIRECT, &context) == Success) [all...] |