/external/webkit/Source/WebCore/page/ |
FocusController.cpp | 176 // into the web area again, even if focus did not change within WebCore. PostNotification is called instead 610 HTMLAreaElement* area = static_cast<HTMLAreaElement*>(focusedNode); local 611 container = scrollableEnclosingBoxOrParentFrameForNodeInDirection(direction, area->imageElement()); 612 startingRect = virtualRectForAreaElementAndDirection(area, direction);
|
SpatialNavigation.cpp | 73 HTMLAreaElement* area = static_cast<HTMLAreaElement*>(node); local 74 HTMLImageElement* image = area->imageElement(); 79 rect = virtualRectForAreaElementAndDirection(area, direction); 291 // Checks if |node| is offscreen the visible area (viewport) of its container 728 IntRect virtualRectForAreaElementAndDirection(HTMLAreaElement* area, FocusDirection direction) 730 ASSERT(area); 731 ASSERT(area->imageElement()); 732 // Area elements tend to overlap more than other focusable elements. We flatten the rect of the area elements 734 IntRect rect = virtualRectForDirection(direction, rectToAbsoluteCoordinates(area->document()->frame(), area->computeRect(area->imageElement()->renderer())), 1) [all...] |
/external/webkit/Source/WebCore/platform/graphics/android/rendering/ |
Surface.cpp | 47 // Surfaces with an area larger than 2048*2048 should never be unclipped 101 // the base layer paints outside it's content area to ensure the 145 // add this layer's size to the surface's area 285 // Let's return an inval area to framework that will 329 IntRect area; local 335 area = fullContentArea(); 337 double total = ((double) area.width()) * ((double) area.height()); 339 area = visibleContentArea(); 341 area = visibleContentArea() [all...] |
/external/webkit/Source/WebCore/platform/graphics/skia/ |
ImageBufferSkia.cpp | 171 float area = 4.0f * rect.width() * rect.height(); local 172 if (area > static_cast<float>(std::numeric_limits<int>::max()))
|
/frameworks/base/core/java/android/webkit/ |
ViewManager.java | 174 float area = MAX_SURFACE_AREA; local 176 fixedW = (int)Math.sqrt(area * v.width / v.height); 179 fixedH = (int)Math.sqrt(area * v.height / v.width); 185 // if we get here, either our dimensions or area (or both)
|
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/engine/ |
ndfdic.c | 203 NJ_UINT8 *area; local 214 area = YOMI_AREA_TOP_ADDR(hdl) + DATA_YOMI(data); 225 NJ_CHAR_COPY(stroke, area); 227 area += sizeof(NJ_CHAR); 232 dic_ylen = convert_to_yomi(hdl, area, DATA_YOMI_SIZE(data), stroke, size); 359 NJ_UINT8 *area, *data; local 373 area = YOMI_AREA_TOP_ADDR(loc->handle) + DATA_YOMI(data); 385 NJ_CHAR_COPY(stroke, area); 387 area += sizeof(NJ_CHAR); 392 len = convert_to_yomi(loc->handle, area, DATA_YOMI_SIZE(data), stroke, size) 405 NJ_UINT8 *data, *area; local [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/analyzer/ |
MeteringTest.java | 24 import android.hardware.Camera.Area; 40 * one metering area defined. The second one has tests with two metering areas 43 * be assigned to each area. For different tests, we use different ways to 60 /** The maximum number of metering area the device supports. */ 63 private List<Camera.Area> mGreyAreas; 91 // Looks up how many metering area the device supports. 94 Log.v(TAG, String.format("Maximum number if metering area is %d", mMaxNumMeteringArea)); 231 * when one metering area is added. 239 Log.v(TAG, "Running one area Test"); 241 // Test case 1: Two images have the same metering area. Image 1 ha 555 Camera.Area area = new Camera.Area(areaRect, weight); local [all...] |
/external/opencv/cv/src/ |
cvrotcalipers.cpp | 265 /* find area of rectangle */ 268 float area; local 284 area = width * height; 285 if( area <= minarea ) 289 minarea = area; 298 buf[6] = area;
|
cvfloodfill.cpp | 101 int area = 0; local 156 area += R - L + 1; 211 region->area = area; 233 int area = 0; local 288 area += R - L + 1; 344 region->area = area; 381 int area = 0; local 467 area += (int)length + 1 687 int area = 0; local [all...] |
cvshapedescr.cpp | 454 /* area of a whole sequence */ 456 icvContourArea( const CvSeq* contour, double *area ) 501 *area = a00 * 0.5; 504 *area = 0; 557 /* area of a contour sector */ 558 static CvStatus icvContourSecArea( CvSeq * contour, CvSlice slice, double *area ) 709 /* common area calculation */ 710 *area = 0; 712 (*area) += fabs( p_are[i] ); 726 /* external contour area function * 730 double area = 0; local [all...] |
/external/opencv/cvaux/src/ |
cvsegment.cpp | 97 int area = 0; local 179 area += R - L + 1; 182 region->area = area; 190 double inv_area = area ? 1./area : 0;
|
/external/qemu/distrib/sdl-1.2.15/src/file/ |
SDL_rwops.c | 585 SDL_RWops *area; local 587 area = (SDL_RWops *)SDL_malloc(sizeof *area); 588 if ( area == NULL ) { 591 return(area); 594 void SDL_FreeRW(SDL_RWops *area) 596 SDL_free(area);
|
/external/skia/src/gpu/ |
GrAAConvexPathRenderer.cpp | 55 SkScalar area = 0; local 61 // This avoids some precision issues with small area polygons far away 75 area += t; 81 // If the poly has no area then we instead return the average of 83 if (SkScalarNearlyZero(area)) { 95 area *= 3; 96 area = SkScalarDiv(SK_Scalar1, area); 97 center.fX = SkScalarMul(center.fX, area); 98 center.fY = SkScalarMul(center.fY, area); [all...] |
/external/webkit/Source/WebKit/efl/ewk/ |
ewk_tiled_model.c | 249 unsigned int area; local 255 area = w * h; 258 bytes = area * 4; 262 bytes = area * 2; 271 w, h, area, (double)zoom, cspace); 284 t->stats.area = area;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/ |
LintListDialog.java | 103 Composite area = (Composite) super.createDialogArea(parent); local 104 Composite container = new Composite(area, SWT.NONE); 170 return area;
|
/external/chromium/chrome/browser/ui/gtk/bookmarks/ |
bookmark_bar_gtk.cc | 60 // Padding around the bar's content area when the bookmark bar is floating. 64 // area when in floating mode. 829 // it manually by telling the toolbar area to redraw itself. 1374 gfx::Rect area = GTK_WIDGET_NO_WINDOW(widget) ? local [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/windib/ |
SDL_dibvideo.c | 856 /* 16bit modes, palette area used for rgb bitmasks */ 1438 int x1, y1, x2, y2, area; local [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/windx5/ |
SDL_dx5video.c | 1999 RECT area; local [all...] |
/external/webkit/Source/WebCore/html/canvas/ |
CanvasRenderingContext2D.cpp | 1635 float area = 4.0f * scaledSize.width() * scaledSize.height(); local [all...] |
/external/webkit/Source/WebCore/platform/graphics/android/layers/ |
LayerAndroid.cpp | 284 FloatRect area = local 291 area.intersect(clip); 292 IntRect dirtyArea(area.x(), area.y(), area.width(), area.height()); 548 return enclosingDocArea == prerendered->area; 606 ALOGD("%s s:%x %s %s (%d) [%d:%x - 0x%x] - %s %s - area (%d, %d, %d, %d) - visible (%d, %d, %d, %d) " 757 FloatRect area(0,0, getWidth(), getHeight()); 758 FloatRect globalArea = m_drawTransform.mapRect(area); 770 IntRect area = fullContentArea(); local [all...] |
/external/webkit/Source/WebKit/gtk/WebCoreSupport/ |
ChromeClientGtk.cpp | 417 GdkRectangle area = clipRect; local 420 GdkRectangle sourceRect = area; 425 GdkRegion* invalidRegion = gdk_region_rectangle(&area); 427 if (gdk_rectangle_intersect(&area, &sourceRect, &moveRect)) { 438 cairo_region_t* invalidRegion = cairo_region_create_rectangle(&area); 440 if (gdk_rectangle_intersect(&area, &sourceRect, &moveRect)) {
|
/external/webkit/Source/WebKit2/WebProcess/WebCoreSupport/ |
WebChromeClient.cpp | 64 static double area(WebFrame* frame) function in namespace:WebKit 85 if (!largestSoFar || area(childFrame) > area(largestSoFar))
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
Path_Delegate.java | 30 import java.awt.geom.Area; 181 // create an Area that can test if the path is a rect 182 Area area = new Area(pathDelegate.mPath); local 183 if (area.isRectangular()) {
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
GcSnapshot.java | 40 import java.awt.geom.Area; 70 private Area mClip = null; 495 Area area = null; local 498 area = new Area(shape); 500 area = Region_Delegate.combineShapes(getClip(), shape, regionOp); 503 assert area != null; 506 if (area != null) { 508 layer.setClip(area); [all...] |
/frameworks/native/opengl/libagl/ |
primitives.cpp | 258 const GGLcoord area = (m_area + TRI_HALF) >> TRI_FRACTION_BITS; local 260 // triangles with an area smaller than 1.0 are not smooth-shaded 263 if (abs(area) >= minArea) { 265 // factor for deltas/area: 267 // First compute the 1/area with full 32-bits precision, 269 d = gglRecipQNormalized(area, &q); 275 // We'll keep 16-bits of precision for deltas/area. So we need 698 // rho = sqrt( texelArea / area ) 700 // lod = log2( texelArea / area ) / 2 701 // lod = (log2( texelArea ) - log2( area )) / 703 const GGLcoord area = abs(lerp.area()); local [all...] |