HomeSort by relevance Sort by last modified time
    Searched full:width (Results 376 - 400 of 5636) sorted by null

<<11121314151617181920>>

  /external/webkit/WebKitTools/DumpRenderTree/cg/
ImageDiffCG.cpp 90 size_t width = CGImageGetWidth(baseImage); local
92 size_t rowBytes = width * 4;
96 RetainPtr<CGContextRef> baseContext(AdoptCF, CGBitmapContextCreate(baseBuffer, width, height, 8, rowBytes, CGImageGetColorSpace(baseImage), kCGImageAlphaPremultipliedFirst | kCGBitmapByteOrder32Host));
97 CGContextDrawImage(baseContext.get(), CGRectMake(0, 0, width, height), baseImage);
101 RetainPtr<CGContextRef> context(AdoptCF, CGBitmapContextCreate(buffer, width, height, 8, rowBytes, CGImageGetColorSpace(testImage), kCGImageAlphaPremultipliedFirst | kCGBitmapByteOrder32Host));
102 CGContextDrawImage(context.get(), CGRectMake(0, 0, width, height), testImage);
105 void* diffBuffer = malloc(width * height);
113 for (size_t x = 0; x < width; ++x) {
136 difference = 100.0f * sum / (height * width);
145 for(size_t p = 0; p < height * width; ++p
    [all...]
  /external/webkit/WebCore/platform/graphics/cairo/
GraphicsContextCairo.cpp 116 cairo_rectangle(cr, rect.x(), rect.y(), rect.width(), rect.height());
145 shadowBufferSize = IntSize(sourceRect.width() + blurRadius * 2, sourceRect.height() + blurRadius * 2);
149 shadowRect.move(shadowSize.width() - kernelSize, shadowSize.height() - kernelSize);
252 cairo_rectangle(cr, r.x(), r.y(), r.width(), r.height());
273 float width = strokeThickness(); local
274 if (width < 1)
275 width = 1;
281 adjustLineToPixelBoundaries(p1, p2, width, style);
282 cairo_set_line_width(cr, width);
290 patWidth = static_cast<int>(width);
408 float width = strokeThickness(); local
    [all...]
  /external/webkit/WebCore/platform/chromium/
ThemeChromiumMac.mm 217 controlSize = IntSize(controlSize.width() * zoomFactor, controlSize.height() * zoomFactor);
219 if (zoomedSize.width().isIntrinsicOrAuto() && controlSize.width() > 0)
220 result.setWidth(Length(controlSize.width(), Fixed));
229 if (minZoomedSize.width() >= static_cast<int>(sizes[NSRegularControlSize].width() * zoomFactor) &&
232 else if (minZoomedSize.width() >= static_cast<int>(sizes[NSSmallControlSize].width() * zoomFactor) &&
281 // Only do the inflation if the available width/height are too small. Otherwise try to
282 // fit the glow/check space into the available box's width/height
    [all...]
  /external/webkit/WebCore/platform/mac/
ThemeMac.mm 71 controlSize = IntSize(controlSize.width() * zoomFactor, controlSize.height() * zoomFactor);
73 if (zoomedSize.width().isIntrinsicOrAuto() && controlSize.width() > 0)
74 result.setWidth(Length(controlSize.width(), Fixed));
83 if (minZoomedSize.width() >= static_cast<int>(sizes[NSRegularControlSize].width() * zoomFactor) &&
86 else if (minZoomedSize.width() >= static_cast<int>(sizes[NSSmallControlSize].width() * zoomFactor) &&
131 // Only do the inflation if the available width/height are too small. Otherwise try to
132 // fit the glow/check space into the available box's width/height
    [all...]
  /external/opencore/codecs_v2/video/m4v_h263/dec/src/
mb_motion_comp.cpp 140 int height, width, pred_width; local
168 /* width of luminance data in pixels (y axis) */
169 width = video->width;
184 /* ypos*width -> row, +x -> column */
185 offset = (int32)ypos * width + xpos;
251 video->mblock->pred_block, width, height,
267 pred_width = width;
271 if (xpred >= 0 && xpred <= ((width << 1) - (2*B_SIZE)) &&
277 GetPredAdvBTable[ypred&1][xpred&1](c_prev + (xpred >> 1) + ((ypred >> 1)*width),
558 int width, width_uv; local
    [all...]
deringing_luma.cpp 25 int width,
48 incr = width - BLKSIZE;
51 for (MB_H = 0; MB_H < width; MB_H += MBSIZE)
63 ptr = &Rec_Y[(int32)(BLK_V) * width + MB_H + BLK_H];
98 thr, width, max_diff);
110 max_diff = (QP_store[((((int32)MB_V*width)>>4))>>4] >> 2) + 4;
118 ptr = &Rec_Y[(int32)(MB_V + BLK_V) * width + BLK_H];
152 thr, width, max_diff);
159 for (MB_H = MBSIZE; MB_H < width; MB_H += MBSIZE)
161 max_diff = (QP_store[((((int32)MB_V*width)>>4)+MB_H)>>4] >> 2) + 4
    [all...]
  /frameworks/base/media/libstagefright/codecs/m4v_h263/dec/src/
mb_motion_comp.cpp 140 int height, width, pred_width; local
168 /* width of luminance data in pixels (y axis) */
169 width = video->width;
184 /* ypos*width -> row, +x -> column */
185 offset = (int32)ypos * width + xpos;
251 video->mblock->pred_block, width, height,
267 pred_width = width;
271 if (xpred >= 0 && xpred <= ((width << 1) - (2*B_SIZE)) &&
277 GetPredAdvBTable[ypred&1][xpred&1](c_prev + (xpred >> 1) + ((ypred >> 1)*width),
558 int width, width_uv; local
    [all...]
deringing_luma.cpp 25 int width,
47 incr = width - BLKSIZE;
50 for (MB_H = 0; MB_H < width; MB_H += MBSIZE)
62 ptr = &Rec_Y[(int32)(BLK_V) * width + MB_H + BLK_H];
97 thr, width, max_diff);
109 max_diff = (QP_store[((((int32)MB_V*width)>>4))>>4] >> 2) + 4;
117 ptr = &Rec_Y[(int32)(MB_V + BLK_V) * width + BLK_H];
151 thr, width, max_diff);
158 for (MB_H = MBSIZE; MB_H < width; MB_H += MBSIZE)
160 max_diff = (QP_store[((((int32)MB_V*width)>>4)+MB_H)>>4] >> 2) + 4
    [all...]
  /external/webkit/WebCore/platform/wx/
ScrollViewWx.cpp 158 int width, height; local
161 win->GetSize(&width, &height);
163 win->GetClientSize(&width, &height);
165 return IntRect(m_data->viewStart.x, m_data->viewStart.y, width, height);
170 int width = 0; local
173 platformWidget()->GetVirtualSize(&width, &height);
174 ASSERT(width >= 0 && height >= 0);
176 return IntSize(width, height);
193 else if (newScrollOffset.x + cRect.width > vRect.width)
    [all...]
  /frameworks/base/docs/html/sdk/api_diff/4/changes/
android.app.SearchManager.html 80 <TABLE summary="Changed Methods" WIDTH="100%">
85 <TD VALIGN="TOP" WIDTH="25%">
89 <TD VALIGN="TOP" WIDTH="30%">
95 <TD VALIGN="TOP" WIDTH="25%">
99 <TD VALIGN="TOP" WIDTH="30%">
109 <TABLE summary="Added Fields" WIDTH="100%">
114 <TD VALIGN="TOP" WIDTH="25%">
121 <TD VALIGN="TOP" WIDTH="25%">
128 <TD VALIGN="TOP" WIDTH="25%">
135 <TD VALIGN="TOP" WIDTH="25%"
    [all...]
  /frameworks/base/docs/html/sdk/api_diff/5/changes/
android.app.Service.html 80 <TABLE summary="Added Methods" WIDTH="100%">
85 <TD VALIGN="TOP" WIDTH="25%">
92 <TD VALIGN="TOP" WIDTH="25%">
99 <TD VALIGN="TOP" WIDTH="25%">
109 <TABLE summary="Changed Methods" WIDTH="100%">
114 <TD VALIGN="TOP" WIDTH="25%">
118 <TD VALIGN="TOP" WIDTH="30%">
124 <TD VALIGN="TOP" WIDTH="25%">
128 <TD VALIGN="TOP" WIDTH="30%">
138 <TABLE summary="Added Fields" WIDTH="100%"
    [all...]
pkg_android.webkit.html 78 <TABLE summary="Added Classes and Interfaces" WIDTH="100%">
83 <TD VALIGN="TOP" WIDTH="25%">
90 <TD VALIGN="TOP" WIDTH="25%">
97 <TD VALIGN="TOP" WIDTH="25%">
104 <TD VALIGN="TOP" WIDTH="25%">
111 <TD VALIGN="TOP" WIDTH="25%">
121 <TABLE summary="Changed Classes and Interfaces" WIDTH="100%">
126 <TD VALIGN="TOP" WIDTH="25%">
133 <TD VALIGN="TOP" WIDTH="25%">
140 <TD VALIGN="TOP" WIDTH="25%"
    [all...]
android.provider.Contacts.People.html 81 <TABLE summary="Changed Methods" WIDTH="100%">
86 <TD VALIGN="TOP" WIDTH="25%">
90 <TD VALIGN="TOP" WIDTH="30%">
96 <TD VALIGN="TOP" WIDTH="25%">
100 <TD VALIGN="TOP" WIDTH="30%">
106 <TD VALIGN="TOP" WIDTH="25%">
110 <TD VALIGN="TOP" WIDTH="30%">
116 <TD VALIGN="TOP" WIDTH="25%">
120 <TD VALIGN="TOP" WIDTH="30%">
126 <TD VALIGN="TOP" WIDTH="25%"
    [all...]
android.webkit.Plugin.html 80 <TABLE summary="Changed Constructors" WIDTH="100%">
85 <TD VALIGN="TOP" WIDTH="25%">
89 <TD VALIGN="TOP" WIDTH="30%">
99 <TABLE summary="Changed Methods" WIDTH="100%">
104 <TD VALIGN="TOP" WIDTH="25%">
108 <TD VALIGN="TOP" WIDTH="30%">
114 <TD VALIGN="TOP" WIDTH="25%">
118 <TD VALIGN="TOP" WIDTH="30%">
124 <TD VALIGN="TOP" WIDTH="25%">
128 <TD VALIGN="TOP" WIDTH="30%"
    [all...]
  /external/opencore/codecs_v2/video/m4v_h263/enc/src/
fastcodemb.cpp 79 Int width = currVop->width; local
132 if (lx != width) input -= (ind_y << 9); /* non-padded offset */
152 dctMode = ((width << 3) - 8);
164 if (lx != width) input -= (ind_y << 7);
166 width >>= 1;
169 sad = getBlockSum(input, width);
179 sad = Sad8x8(input, pred, width);
185 if (lx != width) input -= (ind_y << 7);
188 sad = getBlockSum(input, width);
310 Int width = currVop->width; local
    [all...]
  /external/webkit/WebCore/platform/graphics/cg/
GraphicsContextCG.cpp 205 FloatRect(rect.x(), rect.y(), rect.width(), 1),
206 FloatRect(rect.x(), rect.bottom() - 1, rect.width(), 1),
225 float width = strokeThickness(); local
232 // works out. For example, with a border width of 3, KHTML will pass us (y1+y2)/2, e.g.,
233 // (50+53)/2 = 103/2 = 51 when we want 51.5. It is always true that an even width gave
234 // us a perfect position, but an odd width gave us a position that is off by exactly 0.5.
237 p1.move(0, width);
238 p2.move(0, -width);
240 p1.move(width, 0);
241 p2.move(-width, 0)
386 float width = strokeThickness(); local
    [all...]
  /cts/tests/tests/graphics/src/android/graphics/cts/
PathDashPathEffectTest.java 40 private static final int WIDTH = 100;
50 Bitmap b = Bitmap.createBitmap(WIDTH, HEIGHT, Config.ARGB_8888);
60 Bitmap expected = Bitmap.createBitmap(WIDTH, HEIGHT, Config.ARGB_8888);
66 for (int i = 0; i <= WIDTH + SQUARE; i += ADVANCE) {
74 for (int x = 0; x < WIDTH; x++) {
86 p.lineTo(WIDTH, HEIGHT / 2);
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
PurgeableBitmapView.java 45 private static final int WIDTH = 150;
47 private static final int STRIDE = 320; // must be >= WIDTH
59 Bitmap src = Bitmap.createBitmap(colors, 0, STRIDE, WIDTH, HEIGHT,
70 for (int x = 0; x < WIDTH; x++) {
71 int r = x * 255 / (WIDTH - 1);
105 canvas.drawText(String.valueOf(mDecodingCount), WIDTH / 2 - 20,
  /external/skia/src/images/
SkFlipPixelRef.cpp 5 SkFlipPixelRef::SkFlipPixelRef(SkBitmap::Config config, int width, int height)
6 : fFlipper(width, height) {
8 fSize = SkBitmap::ComputeSize(config, width, height);
23 device->setConfig(fConfig, fFlipper.width(), fFlipper.height());
88 const size_t bytes = rect.width() << shift;
120 const SkIRect bounds = {0, 0, dst.width(), dst.height()};
  /external/webkit/WebCore/platform/graphics/wx/
SimpleFontDataWx.cpp 122 int width = 10;
123 GetTextExtent(*m_platformData.font(), (wxChar)glyph, &width, NULL);
124 return width;
149 int width; local
150 GetCharWidthI(hdc, glyph, 1, 0, &width);
153 return width;
  /external/webkit/WebCore/platform/wx/wxcode/mac/carbon/
fontprops.mm 108 void GetTextExtent( const wxFont& font, const wxString& str, wxCoord *width, wxCoord *height,
115 wxDouble width, height, descent, externalLeading;
117 gc->GetTextExtent(str, &e.width, &e.height, &e.descent, &e.externalLeading);
118 if ( width )
119 *width = wxCoord(e.width + .5);
  /frameworks/base/docs/html/sdk/api_diff/3/changes/
android.view.KeyEvent.html 79 <TABLE summary="Added Constructors" WIDTH="100%">
84 <TD VALIGN="TOP" WIDTH="25%">
91 <TD VALIGN="TOP" WIDTH="25%">
102 <TABLE summary="Added Methods" WIDTH="100%">
107 <TD VALIGN="TOP" WIDTH="25%">
114 <TD VALIGN="TOP" WIDTH="25%">
121 <TD VALIGN="TOP" WIDTH="25%">
128 <TD VALIGN="TOP" WIDTH="25%">
135 <TD VALIGN="TOP" WIDTH="25%">
146 <TABLE summary="Added Fields" WIDTH="100%"
    [all...]
  /frameworks/base/include/ui/
Rect.h 56 // a valid rectangle has a non negative width and height
58 return (width()>=0) && (height()>=0);
61 // an empty rect has a zero width or height, or is invalid
63 return (width()<=0) || (height()<=0);
70 // rectangle's width
71 inline int width() const { function in class:android::Rect
  /packages/inputmethods/PinyinIME/res/xml/
skb_sym1.xml 19 width="10%p"
46 <row width="10.205%p">
47 <key code="-5" width="14.286%p" key_type="2" label="ALT"/>
72 <row width="14.696%p" key_type="1">
73 <key code="-2" label="? ?" width="20%p" repeat="true">
77 <key code="62" key_type="5" width="30.608%p"/>
  /packages/wallpapers/MusicVisualization/src/com/android/musicvis/vis1/
Visualization1.java 102 public void onSurfaceChanged(SurfaceHolder holder, int format, int width, int height) {
103 super.onSurfaceChanged(holder, format, width, height);
104 mWidth = width;
105 mCenterX = width/2.0f;
146 final int width = frame.width(); local

Completed in 204 milliseconds

<<11121314151617181920>>