/external/chromium_org/third_party/WebKit/Source/platform/fonts/mac/ |
H A D | FontComplexTextMac.cpp | 47 FloatRect Font::selectionRectForComplexText(const TextRun& run, const FloatPoint& point, int h, argument 53 return shaper.selectionRect(point, h, from, to); 64 return FloatRect(floorf(point.x() + totalWidth - afterWidth), point.y(), roundf(point.x() + totalWidth - beforeWidth) - floorf(point.x() + totalWidth - afterWidth), h); 67 return FloatRect(floorf(point.x() + beforeWidth), point.y(), roundf(point.x() + afterWidth) - floorf(point [all...] |
H A D | FontMac.cpp | 79 const FloatPoint& point, const FloatRect& textRect) const 105 SkScalar x = SkFloatToScalar(point.x()); 106 SkScalar y = SkFloatToScalar(point.y()); 77 drawGlyphs(GraphicsContext* gc, const SimpleFontData* font, const GlyphBuffer& glyphBuffer, unsigned from, unsigned numGlyphs, const FloatPoint& point, const FloatRect& textRect) const argument
|
/external/chromium_org/third_party/WebKit/Source/platform/geometry/ |
H A D | FloatPoint.cpp | 81 void FloatPoint::moveBy(const LayoutPoint& point) argument 83 m_x += point.x(); 84 m_y += point.y();
|
H A D | IntPoint.h | 137 inline IntPoint operator-(const IntPoint& point) argument 139 return IntPoint(-point.x(), -point.y()); 157 inline int IntPoint::distanceSquaredToPoint(const IntPoint& point) const 159 return ((*this) - point).diagonalLengthSquared();
|
/external/chromium_org/third_party/WebKit/Source/web/ |
H A D | ViewportAnchor.cpp | 52 Node* findNonEmptyAnchorNode(const IntPoint& point, const IntRect& viewRect, EventHandler* eventHandler) argument 54 Node* node = eventHandler->hitTestResultAtPoint(point, HitTestRequest::ReadOnly | HitTestRequest::Active).innerNode(); 63 node = eventHandler->hitTestResultAtPoint(point + pointOffset, HitTestRequest::ReadOnly | HitTestRequest::Active).innerNode(); 92 // constructed from an integer point. 185 // Compute the new anchor point relative to the node position 190 // Compute the new origin point relative to the new anchor point
|
/external/chromium_org/third_party/WebKit/Source/web/tests/ |
H A D | RenderGeometryMapTest.cpp | 148 FloatPoint point; local 150 EXPECT_EQ(FloatPoint(8.0f, 8.0f), rgm.mapToContainer(point, nullptr)); 154 EXPECT_EQ(FloatPoint(0.0f, 0.0f), rgm.mapToContainer(point, nullptr)); 158 EXPECT_EQ(FloatPoint(21.0f, 6.0f), rgm.mapToContainer(point, getRenderBox(webView, "CenterDiv"))); 162 EXPECT_EQ(FloatPoint(22.0f, 12.0f), rgm.mapToContainer(point, getRenderBox(webView, "CenterDiv"))); 165 EXPECT_EQ(FloatPoint(1.0f, 6.0f), rgm.mapToContainer(point, getRenderBox(webView, "InnerDiv"))); 168 EXPECT_EQ(FloatPoint(50.0f, 44.0f), rgm.mapToContainer(point, nullptr)); 188 FloatPoint point; local 193 EXPECT_EQ(FloatPoint(8.0f, 8.0f), rgm.mapToContainer(point, nullptr)); 197 EXPECT_EQ(FloatPoint(0.0f, 0.0f), rgm.mapToContainer(point, nullpt 236 FloatPoint point; local 281 FloatPoint point; local 364 FloatPoint point; local [all...] |
/external/chromium_org/third_party/libxml/src/ |
H A D | genUnicode.py | 112 point = string.strip(fields[0]) variable 114 while point != '': 116 if point[0] >= '0' and point[0] <= '9': 117 value = value + ord(point[0]) - ord('0') 118 elif point[0] >= 'A' and point[0] <= 'F': 119 value = value + 10 + ord(point[0]) - ord('A') 120 elif point[0] >= 'a' and point[ 122 point = point[1:] variable [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/indices/ |
H A D | u_indices_gen.py | 112 def point( intype, outtype, ptr, v0 ): function 125 point( intype, outtype, ptr, v0 )
|
/external/chromium_org/third_party/skia/src/utils/ |
H A D | SkGatherPixelRefsAndRects.h | 68 const SkPoint& point = points[i]; variable 70 min.set(SkMinScalar(min.x(), point.x()), SkMinScalar(min.y(), point.y())); 71 max.set(SkMaxScalar(max.x(), point.x()), SkMaxScalar(max.y(), point.y()));
|
/external/chromium_org/third_party/skia/tests/ |
H A D | FontHostStreamTest.cpp | 87 SkPoint point = SkPoint::Make(24, 32); local 91 origCanvas.drawText("A", 1, point.fX, point.fY, paint); 110 streamCanvas.drawPosText("A", 1, &point, paint);
|
H A D | PointTest.cpp | 28 SkPoint point; local 29 point.set(x, y); 30 SkScalar oldLength = point.length(); 31 SkScalar returned = SkPoint::Normalize(&point); 32 SkScalar newLength = point.length(); 41 SkPoint point; local 42 point.set(x, y); 43 SkScalar s1 = point.length(); 54 // notices that I will generate an overflow... which is exactly the point 141 // Scale a (1,1) point t [all...] |
/external/chromium_org/ui/base/cursor/ |
H A D | cursors_aura.cc | 10 #include "ui/gfx/point.h" 163 gfx::Point* point) { 170 *point = scale_factor == 1.0f || !resource_2x_available ? 186 gfx::Point* point) { 191 id, scale_factor, resource_id, point)) { 200 id, scale_factor, resource_id, point); 207 gfx::Point* point) { 212 id, scale_factor, resource_id, point)) { 221 id, scale_factor, resource_id, point); 226 gfx::Point* point) { 158 SearchTable(const CursorData* table, size_t table_length, int id, float scale_factor, int* resource_id, gfx::Point* point) argument 182 GetCursorDataFor(CursorSetType cursor_set_id, int id, float scale_factor, int* resource_id, gfx::Point* point) argument 203 GetAnimatedCursorDataFor(CursorSetType cursor_set_id, int id, float scale_factor, int* resource_id, gfx::Point* point) argument 224 GetCursorBitmap(const Cursor& cursor, SkBitmap* bitmap, gfx::Point* point) argument [all...] |
/external/chromium_org/ui/base/win/ |
H A D | hwnd_subclass.cc | 141 TOUCHINPUT point; local 144 &point, sizeof(TOUCHINPUT))) { 145 POINT touch_location = {TOUCH_COORD_TO_PIXEL(point.x), 146 TOUCH_COORD_TO_PIXEL(point.y)};
|
H A D | open_file_name_win.cc | 35 POINT point = { dialog_rect.left, dialog_rect.top }; local 36 HMONITOR monitor1 = ::MonitorFromPoint(point, MONITOR_DEFAULTTONULL); 37 point.x = dialog_rect.right; 38 point.y = dialog_rect.bottom; 41 HMONITOR monitor2 = ::MonitorFromPoint(point, MONITOR_DEFAULTTONULL);
|
/external/chromium_org/ui/gfx/geometry/ |
H A D | point3_f.h | 17 // A point has an x, y and z coordinate. 24 explicit Point3F(const PointF& point) : x_(point.x()), y_(point.y()), z_(0) {} argument 50 // Offset the point by the given vector. 57 // Offset the point by the given vector's inverse. 74 // Returns a string representation of 3d point. 93 // Add a vector to a point, producing a new point offset by the vector. 96 // Subtract a vector from a point, producin [all...] |
H A D | quad_f.cc | 65 static inline bool PointIsInTriangle(const PointF& point, argument 69 // Translate point and triangle so that point lies at origin. 75 Vector2dF a = r1 - point; 76 Vector2dF b = r2 - point; 77 Vector2dF c = r3 - point; 85 bool QuadF::Contains(const PointF& point) const { 86 return PointIsInTriangle(point, p1_, p2_, p3_) 87 || PointIsInTriangle(point, p1_, p3_, p4_);
|
/external/chromium_org/ui/views/examples/ |
H A D | tree_view_example.cc | 128 const gfx::Point& point, 137 gfx::Rect(point, gfx::Size()), 127 ShowContextMenuForView(View* source, const gfx::Point& point, ui::MenuSourceType source_type) argument
|
/external/chromium_org/ui/views/test/ |
H A D | ui_controls_factory_desktop_aurax11.cc | 234 aura::Window* RootWindowForPoint(const gfx::Point& point) { argument 244 if ((*it)->GetBoundsInScreen().Contains(point)) { 249 NOTREACHED() << "Coulding find RW for " << point.ToString() << " among "
|
/external/chromium_org/ui/views/window/ |
H A D | dialog_delegate_unittest.cc | 195 const int point; member in struct:views::__anon17173 207 gfx::Point point(cases[i].point, cases[i].point); 208 EXPECT_EQ(cases[i].hit, frame->NonClientHitTest(point)) 209 << " with border: " << border << ", at point " << cases[i].point;
|
/external/mesa3d/src/gallium/auxiliary/indices/ |
H A D | u_indices_gen.py | 112 def point( intype, outtype, ptr, v0 ): function 125 point( intype, outtype, ptr, v0 )
|
/external/opencv/cvaux/src/ |
H A D | _cvvectrack.h | 109 CvPoint point; local 110 point.x = p.x * decr; 111 point.y = p.y * decr; 112 return point;
|
/external/openssl/crypto/ec/ |
H A D | ec2_mult.c | 77 /* Compute the x-coordinate x/z for the point 2*(x/z) in Montgomery projective 109 /* Compute the x-coordinate x1/z1 for the point (x1/z1)+(x2/x2) in Montgomery 143 /* Compute the x, y affine coordinates from the point (x1, z1) (x2, z2) 144 * using Montgomery point multiplication algorithm Mxy() in appendix of 149 * 1 if return value should be the point at infinity 212 /* Computes scalar*point and stores the result in r. 213 * point can not equal r. 222 const EC_POINT *point, BN_CTX *ctx) 228 if (r == point) 234 /* if result should be point a 221 ec_GF2m_montgomery_point_multiply(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar, const EC_POINT *point, BN_CTX *ctx) argument [all...] |
H A D | eck_prn.c | 153 const EC_POINT *point=NULL; local 229 if ((point = EC_GROUP_get0_generator(x)) == NULL) 243 if ((gen = EC_POINT_point2bn(x, point,
|
/external/openssl/crypto/ecdsa/ |
H A D | ecs_ossl.c | 379 EC_POINT *point = NULL; local 460 if ((point = EC_POINT_new(group)) == NULL) 465 if (!EC_POINT_mul(group, point, u1, pub_key, u2, ctx)) 473 point, X, NULL, ctx)) 483 point, X, NULL, ctx)) 500 if (point) 501 EC_POINT_free(point);
|
/external/pdfium/fpdfsdk/src/pdfwindow/ |
H A D | PWL_ListCtrl.cpp | 26 void CPWL_ListCtrl::SetScrollPos(const CPDF_Point& point)
argument 28 m_ptScroll = point;
210 CPDF_Point CPWL_ListCtrl::InToOut(const CPDF_Point& point) const
214 return CPDF_Point(point.x + rcClient.left - m_ptScroll.x,
215 point.y + rcClient.top - m_ptScroll.y);
218 CPDF_Point CPWL_ListCtrl::OutToIn(const CPDF_Point& point) const
222 return CPDF_Point(point.x - rcClient.left + m_ptScroll.x,
223 point.y - rcClient.top + m_ptScroll.y);
|