HomeSort by relevance Sort by last modified time
    Searched refs:width (Results 276 - 300 of 4433) sorted by null

<<11121314151617181920>>

  /external/webkit/Source/WebCore/platform/gtk/
ScrollViewGtk.cpp 112 int horizontalPageStep = max(max<int>(frameRect().width() * Scrollbar::minFractionToStepWhenPaging(), frameRect().width() - Scrollbar::maxOverlapBetweenPages()), 1);
114 resetValues ? 0 : scrollOffset().width(), 0,
115 resetValues ? 0 : contentsSize().width(),
118 resetValues ? 0 : frameRect().width());
151 int verticalPageStep = max(max<int>(frameRect().width() * Scrollbar::minFractionToStepWhenPaging(), frameRect().width() - Scrollbar::maxOverlapBetweenPages()), 1);
170 // scrollbar width should be.
172 return IntRect(IntPoint(m_scrollOffset.width(), m_scrollOffset.height()),
173 IntSize(max(0, m_boundsSize.width() - (verticalScrollbar() && !includeScrollbars ? verticalScrollbar()->width() : 0))
    [all...]
  /external/webkit/Source/WebCore/platform/win/
BitmapInfo.h 53 unsigned width() const { return abs(bmiHeader.biWidth); } function in struct:WebCore::BitmapInfo
55 IntSize size() const { return IntSize(width(), height()); }
56 unsigned bytesPerLine() const { return (width() * bmiHeader.biBitCount + 7) / 8; }
  /external/webkit/Source/WebCore/rendering/svg/
SVGTextMetrics.h 38 float width() const { return m_width; } function in class:WebCore::SVGTextMetrics
65 void setWidth(float width) { m_width = width; }
  /external/webkit/Source/WebCore/svg/graphics/filters/
SVGFilter.cpp 42 value *= m_targetBoundingBox.width();
43 return Filter::applyHorizontalScale(value) * m_absoluteFilterRegion.width() / m_filterRegion.width();
  /frameworks/base/graphics/java/android/graphics/
Bitmap.java 233 * Common code for checking that width and height are > 0
235 * @param width width to ensure is > 0
238 private static void checkWidthHeight(int width, int height) {
239 if (width <= 0) {
240 throw new IllegalArgumentException("width must be > 0");
414 * @param dstWidth The new bitmap's desired width.
432 final int width = src.getWidth(); local
434 final float sx = dstWidth / (float)width;
437 Bitmap b = Bitmap.createBitmap(src, 0, 0, width, height, m, filter)
    [all...]
  /frameworks/base/libs/hwui/
ShapeCache.cpp 32 PathTexture* RoundRectShapeCache::getRoundRect(float width, float height,
34 RoundRectShapeCacheEntry entry(width, height, rx, ry, paint);
40 r.set(0.0f, 0.0f, width, height);
79 PathTexture* OvalShapeCache::getOval(float width, float height, SkPaint* paint) {
80 OvalShapeCacheEntry entry(width, height, paint);
86 r.set(0.0f, 0.0f, width, height);
103 PathTexture* RectShapeCache::getRect(float width, float height, SkPaint* paint) {
104 RectShapeCacheEntry entry(width, height, paint);
109 path.addRect(0.0f, 0.0f, width, height, SkPath::kCW_Direction);
125 PathTexture* ArcShapeCache::getArc(float width, float height
    [all...]
  /frameworks/base/media/libstagefright/codecs/on2/h264dec/source/
h264bsd_reconstruct.h 76 u32 width,
87 u32 width,
98 u32 width,
109 u32 width,
121 u32 width,
131 u32 width,
142 u32 width,
152 u32 width,
163 u32 width,
174 u32 width,
    [all...]
  /packages/apps/Camera/jni/feature_mos/src/mosaic/
Mosaic.h 44 int width = 640;
53 mosaic.initialize(blendingType, stripType, width, height, -1, false, 5.0f);
91 * \param width Width of input images (note: all images must be same size)
98 int initialize(int blendingType, int stripType, int width, int height, int nframes = -1, bool quarter_res = false, float thresh_still = 0.0);
123 * \param width Width of the resulting mosaic (returned)
127 ImageType getMosaic(int &width, int &height);
157 int width, height; member in class:Mosaic
  /packages/apps/Gallery2/tests/src/com/android/gallery3d/ui/
GLCanvasMock.java 49 public void fillRect(float x, float y, float width, float height, int color) {
51 mFillRectWidth = width;
58 BasicTexture texture, int x, int y, int width, int height) {
GLCanvasStub.java 24 public void setSize(int width, int height) {}
51 public void fillRect(float x, float y, float width, float height, int color) {}
53 BasicTexture texture, int x, int y, int width, int height) {}
57 int x, int y, int width, int height, float alpha) {}
64 float ratio, int x, int y, int width, int height, float alpha) {}
65 public BasicTexture copyTexture(int x, int y, int width, int height) {
  /system/media/mca/effect/java/android/media/effect/effects/
IdentityEffect.java 34 public void apply(int inputTexId, int width, int height, int outputTexId) {
37 Frame inputFrame = frameFromTexture(inputTexId, width, height);
38 Frame outputFrame = frameFromTexture(outputTexId, width, height);
  /development/tools/emulator/opengl/tests/ut_renderer/
RendererSurface.cpp 63 int width = 0, height = 0; local
68 width = atoi(env);
74 if (width <= 160)
75 width = DEFAULT_WIDTH;
79 printf("%s: Using width=%d height=%d\n", __FUNCTION__, width, height);
86 NativeWindowType window = nw->createNativeWindow(nw->getNativeDisplay(), width, height);
  /external/chromium/chrome/browser/chromeos/
drop_shadow_label.cc 50 text_bounds.width(), text_bounds.height(), flags);
53 text_bounds.width(), text_bounds.height(), flags);
56 text_bounds.width(), text_bounds.height(), flags);
62 text_bounds.width(), text_bounds.height(), flags);
69 focus_bounds.width(), focus_bounds.height());
75 text_size.SetSize(text_size.width() + drop_shadow_size_,
  /external/chromium/chrome/browser/speech/
speech_input_bubble_views.cc 76 IDR_SPEECH_INPUT_MIC_EMPTY)->width()) {
165 int width = heading_->GetPreferredSize().width(); local
166 int control_width = cancel_->GetPreferredSize().width();
168 control_width += try_again_->GetPreferredSize().width() +
171 width = std::max(width, control_width);
172 control_width = std::max(icon_->GetPreferredSize().width(),
174 width = std::max(width, control_width)
241 int width = cancel_->GetPreferredSize().width(); local
    [all...]
  /external/chromium/chrome/browser/ui/views/
profile_tag_view.cc 36 int tag_width = profile_menu_button_->GetPreferredSize().width();
37 int center_tag_width = tag_width - active_profile_tag_left_.width() -
38 active_profile_tag_right_.width();
52 profile_tag_center->width(),
54 profile_tag_left->width(), 0,
58 profile_tag_left->width() + center_tag_width, 0);
  /external/skia/src/core/
SkSpriteBlitterTemplate.h 26 virtual void blitRect(int x, int y, int width, int height) {
27 SkASSERT(width > 0 && height > 0);
36 SkDEBUGCODE((void)fDevice->SkSPRITE_DST_GETADDR(x + width - 1, y + height - 1);)
37 SkDEBUGCODE((void)fSource->SkSPRITE_SRC_GETADDR(srcX + width - 1, srcY + height - 1);)
49 SkSPRITE_ROW_PROC(d, s, width, x, y);
51 int w = width;
  /packages/apps/Gallery2/src/com/android/gallery3d/ui/
StringTexture.java 37 FontMetricsInt metrics, int width, int height) {
38 super(width, height);
72 int width = (int) Math.ceil(paint.measureText(text)); local
75 if (width <= 0) width = 1;
77 return new StringTexture(text, paint, metrics, width, height);
  /sdk/hierarchyviewer/src/com/android/hierarchyviewer/ui/
CaptureRenderer.java 39 d.width += node.marginLeft + node.marginRight;
54 int width = icon.getIconWidth(); local
57 int x = (getWidth() - width) / 2;
69 width - node.paddingRight - node.paddingLeft,
74 g.drawLine(0, node.baseline, width, node.baseline);
80 node.marginLeft + width + node.marginRight,
  /external/webkit/Source/WebCore/platform/graphics/
GraphicsContext3D.cpp 65 bool GraphicsContext3D::texImage2DResourceSafe(GC3Denum target, GC3Dint level, GC3Denum internalformat, GC3Dsizei width, GC3Dsizei height, GC3Dint border, GC3Denum format, GC3Denum type, GC3Dint unpackAlignment)
69 if (width > 0 && height > 0) {
71 GC3Denum error = computeImageSizeInBytes(format, type, width, height, unpackAlignment, &size, 0);
83 return texImage2D(target, level, internalformat, width, height, border, format, type, zero.get());
130 GC3Denum GraphicsContext3D::computeImageSizeInBytes(GC3Denum format, GC3Denum type, GC3Dsizei width, GC3Dsizei height, GC3Dint alignment,
135 if (width < 0 || height < 0)
140 if (!width || !height) {
147 checkedValue *= width;
188 flipVertically(data.data(), image->width(), image->height(),
204 int width = imageData->width() local
985 doUnpackingAndPacking<uint8_t, uint8_t, DestType, unpackRGBA8ToRGBA8, packingFunc>(static_cast<const uint8_t*>(sourceData), width, height, sourceElementsPerPixel, sourceElementsPerRow, destinationData, destinationElementsPerPixel); local
992 doUnpackingAndPacking<uint16_t, uint8_t, DestType, unpackRGBA16LittleToRGBA8, packingFunc>(static_cast<const uint16_t*>(sourceData), width, height, sourceElementsPerPixel, sourceElementsPerRow, destinationData, destinationElementsPerPixel); local
998 doUnpackingAndPacking<uint16_t, uint8_t, DestType, unpackRGBA16BigToRGBA8, packingFunc>(static_cast<const uint16_t*>(sourceData), width, height, sourceElementsPerPixel, sourceElementsPerRow, destinationData, destinationElementsPerPixel); local
1004 doUnpackingAndPacking<uint8_t, uint8_t, DestType, unpackRGB8ToRGBA8, packingFunc>(static_cast<const uint8_t*>(sourceData), width, height, sourceElementsPerPixel, sourceElementsPerRow, destinationData, destinationElementsPerPixel); local
1010 doUnpackingAndPacking<uint16_t, uint8_t, DestType, unpackRGB16LittleToRGBA8, packingFunc>(static_cast<const uint16_t*>(sourceData), width, height, sourceElementsPerPixel, sourceElementsPerRow, destinationData, destinationElementsPerPixel); local
1016 doUnpackingAndPacking<uint16_t, uint8_t, DestType, unpackRGB16BigToRGBA8, packingFunc>(static_cast<const uint16_t*>(sourceData), width, height, sourceElementsPerPixel, sourceElementsPerRow, destinationData, destinationElementsPerPixel); local
1022 doUnpackingAndPacking<uint8_t, uint8_t, DestType, unpackBGR8ToRGBA8, packingFunc>(static_cast<const uint8_t*>(sourceData), width, height, sourceElementsPerPixel, sourceElementsPerRow, destinationData, destinationElementsPerPixel); local
1028 doUnpackingAndPacking<uint8_t, uint8_t, DestType, unpackARGB8ToRGBA8, packingFunc>(static_cast<const uint8_t*>(sourceData), width, height, sourceElementsPerPixel, sourceElementsPerRow, destinationData, destinationElementsPerPixel); local
1034 doUnpackingAndPacking<uint16_t, uint8_t, DestType, unpackARGB16LittleToRGBA8, packingFunc>(static_cast<const uint16_t*>(sourceData), width, height, sourceElementsPerPixel, sourceElementsPerRow, destinationData, destinationElementsPerPixel); local
1040 doUnpackingAndPacking<uint16_t, uint8_t, DestType, unpackARGB16BigToRGBA8, packingFunc>(static_cast<const uint16_t*>(sourceData), width, height, sourceElementsPerPixel, sourceElementsPerRow, destinationData, destinationElementsPerPixel); local
1046 doUnpackingAndPacking<uint8_t, uint8_t, DestType, unpackABGR8ToRGBA8, packingFunc>(static_cast<const uint8_t*>(sourceData), width, height, sourceElementsPerPixel, sourceElementsPerRow, destinationData, destinationElementsPerPixel); local
1052 doUnpackingAndPacking<uint8_t, uint8_t, DestType, unpackBGRA8ToRGBA8, packingFunc>(static_cast<const uint8_t*>(sourceData), width, height, sourceElementsPerPixel, sourceElementsPerRow, destinationData, destinationElementsPerPixel); local
1058 doUnpackingAndPacking<uint16_t, uint8_t, DestType, unpackBGRA16LittleToRGBA8, packingFunc>(static_cast<const uint16_t*>(sourceData), width, height, sourceElementsPerPixel, sourceElementsPerRow, destinationData, destinationElementsPerPixel); local
1064 doUnpackingAndPacking<uint16_t, uint8_t, DestType, unpackBGRA16BigToRGBA8, packingFunc>(static_cast<const uint16_t*>(sourceData), width, height, sourceElementsPerPixel, sourceElementsPerRow, destinationData, destinationElementsPerPixel); local
1070 doUnpackingAndPacking<uint16_t, uint8_t, DestType, unpackRGBA5551ToRGBA8, packingFunc>(static_cast<const uint16_t*>(sourceData), width, height, sourceElementsPerPixel, sourceElementsPerRow, destinationData, destinationElementsPerPixel); local
1076 doUnpackingAndPacking<uint16_t, uint8_t, DestType, unpackRGBA4444ToRGBA8, packingFunc>(static_cast<const uint16_t*>(sourceData), width, height, sourceElementsPerPixel, sourceElementsPerRow, destinationData, destinationElementsPerPixel); local
1082 doUnpackingAndPacking<uint16_t, uint8_t, DestType, unpackRGB565ToRGBA8, packingFunc>(static_cast<const uint16_t*>(sourceData), width, height, sourceElementsPerPixel, sourceElementsPerRow, destinationData, destinationElementsPerPixel); local
1088 doUnpackingAndPacking<uint8_t, uint8_t, DestType, unpackR8ToRGBA8, packingFunc>(static_cast<const uint8_t*>(sourceData), width, height, sourceElementsPerPixel, sourceElementsPerRow, destinationData, destinationElementsPerPixel); local
1094 doUnpackingAndPacking<uint16_t, uint8_t, DestType, unpackR16LittleToRGBA8, packingFunc>(static_cast<const uint16_t*>(sourceData), width, height, sourceElementsPerPixel, sourceElementsPerRow, destinationData, destinationElementsPerPixel); local
1100 doUnpackingAndPacking<uint16_t, uint8_t, DestType, unpackR16BigToRGBA8, packingFunc>(static_cast<const uint16_t*>(sourceData), width, height, sourceElementsPerPixel, sourceElementsPerRow, destinationData, destinationElementsPerPixel); local
1106 doUnpackingAndPacking<uint8_t, uint8_t, DestType, unpackRA8ToRGBA8, packingFunc>(static_cast<const uint8_t*>(sourceData), width, height, sourceElementsPerPixel, sourceElementsPerRow, destinationData, destinationElementsPerPixel); local
1112 doUnpackingAndPacking<uint16_t, uint8_t, DestType, unpackRA16LittleToRGBA8, packingFunc>(static_cast<const uint16_t*>(sourceData), width, height, sourceElementsPerPixel, sourceElementsPerRow, destinationData, destinationElementsPerPixel); local
1118 doUnpackingAndPacking<uint16_t, uint8_t, DestType, unpackRA16BigToRGBA8, packingFunc>(static_cast<const uint16_t*>(sourceData), width, height, sourceElementsPerPixel, sourceElementsPerRow, destinationData, destinationElementsPerPixel); local
1124 doUnpackingAndPacking<uint8_t, uint8_t, DestType, unpackAR8ToRGBA8, packingFunc>(static_cast<const uint8_t*>(sourceData), width, height, sourceElementsPerPixel, sourceElementsPerRow, destinationData, destinationElementsPerPixel); local
1130 doUnpackingAndPacking<uint16_t, uint8_t, DestType, unpackAR16LittleToRGBA8, packingFunc>(static_cast<const uint16_t*>(sourceData), width, height, sourceElementsPerPixel, sourceElementsPerRow, destinationData, destinationElementsPerPixel); local
1136 doUnpackingAndPacking<uint16_t, uint8_t, DestType, unpackAR16BigToRGBA8, packingFunc>(static_cast<const uint16_t*>(sourceData), width, height, sourceElementsPerPixel, sourceElementsPerRow, destinationData, destinationElementsPerPixel); local
1142 doUnpackingAndPacking<uint8_t, uint8_t, DestType, unpackA8ToRGBA8, packingFunc>(static_cast<const uint8_t*>(sourceData), width, height, sourceElementsPerPixel, sourceElementsPerRow, destinationData, destinationElementsPerPixel); local
1148 doUnpackingAndPacking<uint16_t, uint8_t, DestType, unpackA16LittleToRGBA8, packingFunc>(static_cast<const uint16_t*>(sourceData), width, height, sourceElementsPerPixel, sourceElementsPerRow, destinationData, destinationElementsPerPixel); local
1154 doUnpackingAndPacking<uint16_t, uint8_t, DestType, unpackA16BigToRGBA8, packingFunc>(static_cast<const uint16_t*>(sourceData), width, height, sourceElementsPerPixel, sourceElementsPerRow, destinationData, destinationElementsPerPixel); local
1193 doUnpackingAndPacking<float, float, float, unpackRGB32FToRGBA32F, packingFunc>(static_cast<const float*>(sourceData), width, height, sourceElementsPerPixel, sourceElementsPerRow, destinationData, destinationElementsPerPixel); local
1199 doUnpackingAndPacking<float, float, float, unpackR32FToRGBA32F, packingFunc>(static_cast<const float*>(sourceData), width, height, sourceElementsPerPixel, sourceElementsPerRow, destinationData, destinationElementsPerPixel); local
1205 doUnpackingAndPacking<float, float, float, unpackRA32FToRGBA32F, packingFunc>(static_cast<const float*>(sourceData), width, height, sourceElementsPerPixel, sourceElementsPerRow, destinationData, destinationElementsPerPixel); local
1211 doUnpackingAndPacking<float, float, float, unpackA32FToRGBA32F, packingFunc>(static_cast<const float*>(sourceData), width, height, sourceElementsPerPixel, sourceElementsPerRow, destinationData, destinationElementsPerPixel); local
    [all...]
  /dalvik/dx/tests/082-dex-throws-list-sharing/
run 18 dx --debug --dex --positions=none --no-locals --dump-to=- --dump-width=200 \
  /development/tools/emulator/opengl/host/libs/Translator/EGL/
MacNative.h 43 void* nsCreatePBuffer(GLenum target,GLenum format,int maxMip,int width,int height);
45 bool nsGetWinDims(void* win,unsigned int* width,unsigned int* height);
  /external/chromium/chrome/browser/chromeos/login/
camera_controller.h 32 void set_frame_width(int width) { frame_width_ = width; }
  /external/chromium/chrome/browser/resources/options/
clear_browser_data_overlay.css 8 min-width: 500px;
  /external/chromium/chrome/browser/ui/views/bookmarks/
bookmark_bar_instructions_view.cc 40 int ascent = 0, descent = 0, height = 0, width = 0; local
51 width += pref.width();
53 width += (child_count() - 1) * kViewPadding;
56 return gfx::Size(width, height);
60 int remaining_width = width();
71 int view_width = std::min(remaining_width, pref.width());
74 remaining_width = std::max(0, width() - x);
  /external/libvpx/vp8/common/
extend.c 21 int w, /* width */
75 void vp8_extend_to_multiple_of16(YV12_BUFFER_CONFIG *ybf, int width, int height)
77 int er = 0xf & (16 - (width & 0xf));
83 extend_plane_borders(ybf->y_buffer, ybf->y_stride, height, width, 0, 0, eb, er);
87 width = (width + 1) >> 1;
88 er = 0x7 & (8 - (width & 0x7));
93 extend_plane_borders(ybf->u_buffer, ybf->uv_stride, height, width, 0, 0, eb, er);
94 extend_plane_borders(ybf->v_buffer, ybf->uv_stride, height, width, 0, 0, eb, er);

Completed in 689 milliseconds

<<11121314151617181920>>