HomeSort by relevance Sort by last modified time
    Searched full:imagesize (Results 1 - 25 of 487) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/chromium_org/chrome/browser/ui/cocoa/autofill/
down_arrow_popup_menu_cell.mm 15 - (NSSize)imageSize {
23 NSSize imageSize = [self imageSize];
27 size.height = std::max(size.height, imageSize.height);
28 size.width += 2 * kSidePadding + autofill::kButtonGap + imageSize.width;
37 contentRect, &imageRect, &titleRect, [self imageSize].width, NSMaxXEdge);
down_arrow_popup_menu_cell_unittest.mm 42 - (NSSize)imageSize;
58 EXPECT_EQ(NSWidth(rect), [cell imageSize].width);
59 EXPECT_EQ(NSHeight(rect), [cell imageSize].height);
  /external/chromium_org/chrome/browser/ui/cocoa/
sprite_view_unittest.mm 36 NSSize imageSize = [image_ size];
40 EXPECT_EQ(imageSize.height, NSWidth(frame));
41 EXPECT_EQ(imageSize.height, NSHeight(frame));
sprite_view.mm 91 NSSize imageSize = [image size];
92 NSSize spriteSize = NSMakeSize(imageSize.height, imageSize.height);
95 const NSUInteger spriteCount = imageSize.width / spriteSize.width;
  /external/chromium_org/chrome/browser/ui/cocoa/location_bar/
bubble_decoration.mm 56 const NSSize imageSize = [image_ size];
58 std::floor((NSHeight(frame) - imageSize.height) / 2.0);
59 imageRect.size = imageSize;
81 const NSSize imageSize = [image_ size];
84 std::floor((NSHeight(decoration_frame) - imageSize.height) / 2.0);
85 imageRect.size = imageSize;
location_icon_decoration.mm 76 NSSize imageSize = [image size];
77 drag_frame_ = NSMakeRect(0, 0, imageSize.width, imageSize.height);
  /external/chromium_org/third_party/WebKit/Source/platform/
DragImage.cpp 148 IntSize imageSize(labelSize.width() + kDragLabelBorderX * 2, labelSize.height() + kDragLabelBorderY * 2);
153 imageSize.setHeight(imageSize.height() + urlStringSize.height());
155 imageSize.setWidth(kMaxDragLabelWidth);
158 imageSize.setWidth(std::max(labelSize.width(), urlStringSize.width()) + kDragLabelBorderX * 2);
163 IntSize scaledImageSize = imageSize;
172 IntRect rect(IntPoint(), imageSize);
179 urlString = StringTruncator::centerTruncate(urlString, imageSize.width() - (kDragLabelBorderX * 2.0f), urlFont, StringTruncator::EnableRoundingHacks);
180 IntPoint textPos(kDragLabelBorderX, imageSize.height() - (kLabelBorderYOffset + urlFont.fontMetrics().descent()));
186 label = StringTruncator::rightTruncate(label, imageSize.width() - (kDragLabelBorderX * 2.0f), labelFont, StringTruncator::EnableRoundingHacks)
    [all...]
  /external/chromium_org/third_party/WebKit/Source/platform/image-encoders/skia/
PNGImageEncoder.cpp 71 static bool encodePixels(IntSize imageSize, unsigned char* inputPixels, bool premultiplied, Vector<unsigned char>* output)
73 imageSize.clampNegativeToZero();
96 png_set_IHDR(png, info, imageSize.width(), imageSize.height(),
101 row.resize(imageSize.width() * sizeof(SkPMColor));
102 const size_t pixelRowStride = imageSize.width() * 4;
103 for (int y = 0; y < imageSize.height(); ++y) {
105 preMultipliedBGRAtoRGBA(pixels, imageSize.width(), row.data());
WEBPImageEncoder.cpp 86 static bool encodePixels(IntSize imageSize, const unsigned char* pixels, bool premultiplied, int quality, Vector<unsigned char>* output)
95 imageSize.clampNegativeToZero();
96 if (!imageSize.width() || imageSize.width() > WEBP_MAX_DIMENSION)
98 picture.width = imageSize.width();
99 if (!imageSize.height() || imageSize.height() > WEBP_MAX_DIMENSION)
101 picture.height = imageSize.height();
  /external/deqp/modules/gles31/functional/
es31fShaderImageLoadStoreTests.cpp 685 static void setTextureStorage (glu::CallLogWrapper& glLog, TextureType imageType, deUint32 internalFormat, const IVec3& imageSize, deUint32 textureBufGL)
694 const int numBytes = format.getPixelSize() * imageSize.x();
699 DE_ASSERT(imageSize.y() == 1 && imageSize.z() == 1);
707 glLog.glTexStorage2D(textureTarget, 1, internalFormat, imageSize.x(), imageSize.y());
708 DE_ASSERT(imageSize.z() == 1);
713 glLog.glTexStorage3D(textureTarget, 1, internalFormat, imageSize.x(), imageSize.y(), imageSize.z())
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/html/
ImageDocument.cpp 227 LayoutSize imageSize = m_imageElement->cachedImage()->imageSizeForRenderer(m_imageElement->renderer(), pageZoomFactor(this));
230 float widthScale = windowSize.width().toFloat() / imageSize.width().toFloat();
231 float heightScale = windowSize.height().toFloat() / imageSize.height().toFloat();
241 LayoutSize imageSize = m_imageElement->cachedImage()->imageSizeForRenderer(m_imageElement->renderer(), pageZoomFactor(this));
244 m_imageElement->setWidth(static_cast<int>(imageSize.width() * scale));
245 m_imageElement->setHeight(static_cast<int>(imageSize.height() * scale));
296 LayoutSize imageSize = m_imageElement->cachedImage()->imageSizeForRenderer(m_imageElement->renderer(), 1.0f);
297 m_imageElement->setWidth(imageSize.width());
298 m_imageElement->setHeight(imageSize.height());
317 LayoutSize imageSize = m_imageElement->cachedImage()->imageSizeForRenderer(m_imageElement->renderer(), pageZoomFactor(t (…)
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/rendering/
RenderImageResourceStyleImage.h 57 virtual LayoutSize imageSize(float multiplier) const OVERRIDE { return m_styleImage->imageSize(m_renderer, multiplier); }
58 virtual LayoutSize intrinsicSize(float multiplier) const OVERRIDE { return m_styleImage->imageSize(m_renderer, multiplier); }
RenderImage.cpp 102 IntSize imageSize;
106 imageSize = brokenImageAndImageScaleFactor.first->size();
107 imageSize.scale(1 / brokenImageAndImageScaleFactor.second);
109 imageSize = newImage->imageForRenderer(this)->size();
111 // imageSize() returns 0 for the error image. We need the true size of the
113 return IntSize(paddingWidth + imageSize.width() * style()->effectiveZoom(), paddingHeight + imageSize.height() * style()->effectiveZoom());
120 IntSize imageSize;
122 imageSize = imageSizeForError(newImage);
125 imageSize = IntSize(paddingWidth, paddingHeight)
    [all...]
  /sdk/emulator/opengl/host/libs/Translator/include/GLcommon/
PaletteTexture.h 23 unsigned char* uncompressTexture(GLenum internalformat,GLenum& formatOut,GLsizei width,GLsizei height,GLsizei imageSize, const GLvoid* data,GLint level);
TextureUtils.h 29 GLsizei imageSize, const GLvoid* data, void * funcPtr);
  /external/chromium_org/third_party/sfntly/cpp/src/sfntly/table/bitmap/
index_sub_table_format5.cc 47 return loca * ImageSize();
58 int32_t IndexSubTableFormat5::ImageSize() {
99 return ImageSize();
114 return (it - glyph_array->begin()) * ImageSize();
213 ImageSize());
226 int32_t IndexSubTableFormat5::Builder::ImageSize() {
340 offset_index_ * container()->ImageSize(),
341 container()->ImageSize(),
index_sub_table_format2.cc 28 int32_t IndexSubTableFormat2::ImageSize() {
83 return loca * ImageSize();
91 return ImageSize();
101 int32_t IndexSubTableFormat2::Builder::ImageSize() {
204 ImageSize());
  /external/sfntly/cpp/src/sfntly/table/bitmap/
index_sub_table_format5.cc 47 return loca * ImageSize();
58 int32_t IndexSubTableFormat5::ImageSize() {
99 return ImageSize();
114 return (it - glyph_array->begin()) * ImageSize();
213 ImageSize());
226 int32_t IndexSubTableFormat5::Builder::ImageSize() {
340 offset_index_ * container()->ImageSize(),
341 container()->ImageSize(),
index_sub_table_format2.cc 28 int32_t IndexSubTableFormat2::ImageSize() {
83 return loca * ImageSize();
91 return ImageSize();
101 int32_t IndexSubTableFormat2::Builder::ImageSize() {
204 ImageSize());
  /packages/apps/Camera2/src/com/android/camera/ui/
ZoomView.java 72 Point imageSize = LocalDataUtil.decodeBitmapDimension(isForDimensions);
78 if (imageSize == null) {
82 RectF fullResRect = new RectF(0, 0, imageSize.x - 1, imageSize.y - 1);
89 rotationMatrix.mapRect(fullResRect, new RectF(0, 0, imageSize.x - 1,
90 imageSize.y - 1));
116 region.intersect(0, 0, imageSize.x - 1, imageSize.y - 1);
  /external/chromium_org/third_party/mesa/src/src/mesa/main/
teximage.h 259 GLint border, GLsizei imageSize,
265 GLsizei height, GLint border, GLsizei imageSize,
272 GLsizei imageSize, const GLvoid *data);
282 GLsizei imageSize, const GLvoid *data);
287 GLenum format, GLsizei imageSize,
294 GLsizei imageSize, const GLvoid *data);
  /external/mesa3d/src/mesa/main/
teximage.h 259 GLint border, GLsizei imageSize,
265 GLsizei height, GLint border, GLsizei imageSize,
272 GLsizei imageSize, const GLvoid *data);
282 GLsizei imageSize, const GLvoid *data);
287 GLenum format, GLsizei imageSize,
294 GLsizei imageSize, const GLvoid *data);
  /external/chromium_org/chrome/browser/ui/cocoa/extensions/
browser_action_button.mm 303 const NSSize imageSize = [actionImage size];
305 NSMakeRect(std::floor((NSWidth(bounds) - imageSize.width) / 2.0),
306 std::floor((NSHeight(bounds) - imageSize.height) / 2.0),
307 imageSize.width, imageSize.height);
346 const NSSize imageSize = self.image.size;
348 NSMakeRect(std::floor((NSWidth(cellFrame) - imageSize.width) / 2.0),
349 std::floor((NSHeight(cellFrame) - imageSize.height) / 2.0),
350 imageSize.width, imageSize.height)
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/fetch/
ImageResource.cpp 262 LayoutSize imageSize;
265 imageSize = toBitmapImage(m_image.get())->sizeRespectingOrientation();
267 imageSize = m_svgImageCache->imageSizeForRenderer(renderer);
269 imageSize = m_image->size();
272 return imageSize;
277 LayoutSize minimumSize(imageSize.width() > 0 ? 1 : 0, imageSize.height() > 0 ? 1 : 0);
278 imageSize.scale(widthScale, heightScale);
279 imageSize.clampToMinimumSize(minimumSize);
280 ASSERT(multiplier != 1.0f || (imageSize.width().fraction() == 0.0f && imageSize.height().fraction() == 0.0f))
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/svg/graphics/
SVGImageCache.cpp 67 IntSize imageSize = m_svgImage->size();
69 return imageSize;
73 return imageSize;

Completed in 427 milliseconds

1 2 3 4 5 6 7 8 91011>>