/external/chromium_org/third_party/openssl/openssl/crypto/ec/ |
ec_check.c | 64 EC_POINT *point = NULL; local 98 if ((point = EC_POINT_new(group)) == NULL) goto err; 106 if (!EC_POINT_mul(group, point, order, NULL, NULL, ctx)) goto err; 107 if (!EC_POINT_is_at_infinity(group, point)) 120 if (point) 121 EC_POINT_free(point);
|
ec2_smpl.c | 304 int ec_GF2m_simple_point_init(EC_POINT *point) 306 BN_init(&point->X); 307 BN_init(&point->Y); 308 BN_init(&point->Z); 314 void ec_GF2m_simple_point_finish(EC_POINT *point) 316 BN_free(&point->X); 317 BN_free(&point->Y); 318 BN_free(&point->Z); 323 void ec_GF2m_simple_point_clear_finish(EC_POINT *point) 325 BN_clear_free(&point->X) [all...] |
/external/chromium_org/ui/views/controls/ |
resize_area.cc | 53 gfx::Point point(event.x(), 0); 54 View::ConvertPointToScreen(this, &point); 55 initial_position_ = point.x(); 81 gfx::Point point(resize_amount, 0); 82 View::ConvertPointToScreen(this, &point); 83 resize_amount = point.x() - initial_position_;
|
/external/chromium_org/v8/src/ |
dtoa.cc | 57 Vector<char> buffer, int* sign, int* length, int* point) { 72 *point = 1; 85 fast_worked = FastDtoa(v, FAST_DTOA_SHORTEST, 0, buffer, length, point); 88 fast_worked = FastFixedDtoa(v, requested_digits, buffer, length, point); 92 buffer, length, point); 102 BignumDtoa(v, bignum_mode, requested_digits, buffer, length, point);
|
/external/openssl/crypto/ec/ |
ec_check.c | 64 EC_POINT *point = NULL; local 98 if ((point = EC_POINT_new(group)) == NULL) goto err; 106 if (!EC_POINT_mul(group, point, order, NULL, NULL, ctx)) goto err; 107 if (!EC_POINT_is_at_infinity(group, point)) 120 if (point) 121 EC_POINT_free(point);
|
ec2_smpl.c | 304 int ec_GF2m_simple_point_init(EC_POINT *point) 306 BN_init(&point->X); 307 BN_init(&point->Y); 308 BN_init(&point->Z); 314 void ec_GF2m_simple_point_finish(EC_POINT *point) 316 BN_free(&point->X); 317 BN_free(&point->Y); 318 BN_free(&point->Z); 323 void ec_GF2m_simple_point_clear_finish(EC_POINT *point) 325 BN_clear_free(&point->X) [all...] |
/external/v8/src/ |
dtoa.cc | 57 Vector<char> buffer, int* sign, int* length, int* point) { 72 *point = 1; 85 fast_worked = FastDtoa(v, FAST_DTOA_SHORTEST, 0, buffer, length, point); 88 fast_worked = FastFixedDtoa(v, requested_digits, buffer, length, point); 92 buffer, length, point); 102 BignumDtoa(v, bignum_mode, requested_digits, buffer, length, point);
|
/external/chromium_org/third_party/WebKit/Source/platform/geometry/ |
FloatPolygon.cpp | 52 static inline bool isPointOnLineSegment(const FloatPoint& vertex1, const FloatPoint& vertex2, const FloatPoint& point) 54 return point.x() >= std::min(vertex1.x(), vertex2.x()) 55 && point.x() <= std::max(vertex1.x(), vertex2.x()) 56 && areCollinearPoints(vertex1, vertex2, point); 154 static inline float leftSide(const FloatPoint& vertex1, const FloatPoint& vertex2, const FloatPoint& point) 156 return ((point.x() - vertex1.x()) * (vertex2.y() - vertex1.y())) - ((vertex2.x() - vertex1.x()) * (point.y() - vertex1.y())); 159 bool FloatPolygon::containsEvenOdd(const FloatPoint& point) const 165 if (isPointOnLineSegment(vertex1, vertex2, point)) 167 if ((vertex1.y() <= point.y() && vertex2.y() > point.y()) || (vertex1.y() > point.y() && vertex2.y() <= point.y())) [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
FilterGradRepresentation.java | 38 private static String LINE_NAME = "Point"; 102 for (Band point : mBands) { 103 if (!point.mask) { 180 for (Band point : mBands) { 181 if (!point.mask) { 205 for (Band point : mBands) { 206 if (point.mask) { 211 for (Band point : mBands) { 212 if (point.mask) { 215 int index = mBands.indexOf(point); 255 Band point; local 439 Band point = mBands.get(i); local [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/math/ |
Plane.java | 41 * This provides methods for calculating a "distance" of a point from this
43 * point is on the non-normal side of the plane.
146 public Vector3f getClosestPoint(Vector3f point, Vector3f store){
147 // float t = constant - normal.dot(point);
148 // return store.set(normal).multLocal(t).addLocal(point);
149 float t = (constant - normal.dot(point)) / normal.dot(normal);
150 return store.set(normal).multLocal(t).addLocal(point);
153 public Vector3f getClosestPoint(Vector3f point){
154 return getClosestPoint(point, new Vector3f());
157 public Vector3f reflect(Vector3f point, Vector3f store){ [all...] |
/external/chromium/chrome/browser/chromeos/frame/ |
dom_browser_view_layout.cc | 57 bool DOMBrowserViewLayout::IsPositionInWindowCaption(const gfx::Point& point) { 61 int DOMBrowserViewLayout::NonClientHitTest(const gfx::Point& point) { 63 gfx::Point point_in_browser_view_coords(point); 67 if (bv_bounds.Contains(point)) 69 // If the point is somewhere else, delegate to the default implementation. 70 return browser_view_->views::ClientView::NonClientHitTest(point); 75 bool DOMBrowserViewLayout::IsPointInViewsInTitleArea(const gfx::Point& point [all...] |
/external/chromium_org/ash/ |
screen_ash.cc | 40 gfx::Display ScreenAsh::FindDisplayContainingPoint(const gfx::Point& point) { 41 return GetDisplayManager()->FindDisplayContainingPoint(point); 69 gfx::Point point = rect.origin(); local 71 ConvertPointToScreen(window, &point); 72 return gfx::Rect(point, rect.size()); 78 gfx::Point point = rect.origin(); local 80 ConvertPointFromScreen(window, &point); [all...] |
/external/chromium_org/ui/gfx/ |
transform_util_unittest.cc | 8 #include "ui/gfx/point.h" 16 const Point kAnchor(20, 40); 24 Point test(kAnchor.x() + sign_x * kOffset, 28 EXPECT_EQ(Point(kAnchor.x() + sign_x * kOffset * kScale, 142 Point3F point; local 144 point = Point3F(viewport.origin()); 145 result.TransformPoint(&point); 146 EXPECT_EQ(Point3F(31.f, 20.f, 10.f), point) << "Transformed origin"; 148 point = Point3F(viewport.top_right()); 149 result.TransformPoint(&point); [all...] |
/external/chromium_org/chrome/browser/rlz/ |
rlz.h | 55 // Records an RLZ event. Some events can be access point independent. 59 rlz_lib::AccessPoint point, 62 // For the point parameter of RecordProductEvent. 67 // specific access point. The string returned is of the form: 69 // "X-Rlz-String: <access-point-rlz>\r\n" 71 static std::string GetAccessPointHttpHeader(rlz_lib::AccessPoint point); 73 // Gets the RLZ value of the access point. 76 static bool GetAccessPointRlz(rlz_lib::AccessPoint point, 142 rlz_lib::AccessPoint point, 146 void RecordFirstSearch(rlz_lib::AccessPoint point); [all...] |
/external/openssh/ |
bufec.c | 39 * point type header. 47 * uncompressed point. Fortunately OpenSSL handles the gory details for us. 51 const EC_POINT *point) 61 len = EC_POINT_point2oct(curve, point, POINT_CONVERSION_UNCOMPRESSED, 64 error("%s: giant EC point: len = %lu (max %u)", 70 if (EC_POINT_point2oct(curve, point, POINT_CONVERSION_UNCOMPRESSED, 89 const EC_POINT *point) 91 if (buffer_put_ecpoint_ret(buffer, curve, point) == -1) 97 EC_POINT *point) 105 error("%s: invalid point", __func__) [all...] |
/external/chromium_org/ash/shelf/ |
shelf_bezel_event_filter.cc | 28 gfx::Point point_in_screen(event->location()); 55 const gfx::Point& point) const{ 58 if (point.y() >= screen.bottom()) 62 if (point.x() <= screen.x()) 66 if (point.y() <= screen.y()) 70 if (point.x() >= screen.right())
|
/external/chromium_org/content/common/input/ |
synthetic_web_input_event_builders.cc | 132 int point = 0; local 137 touches[point] = touches[i]; 138 touches[point].state = WebTouchPoint::StateStationary; 139 ++point; 141 touchesLength = point; 148 WebTouchPoint& point = touches[touchesLength]; 149 point.id = touchesLength; 150 point.position.x = point.screenPosition.x = x; 151 point.position.y = point.screenPosition.y = y 161 WebTouchPoint& point = touches[index]; local [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
SelectionHandle.java | 112 * @param point the mouse position in layout coordinates 114 * point fits within 115 * @return true if the given point is within the given distance of this handle 117 public boolean contains(LayoutPoint point, int distance) { 118 return (point.x >= centerX - distance 119 && point.x <= centerX + distance 120 && point.y >= centerY - distance 121 && point.y <= centerY + distance);
|
/external/chromium_org/content/browser/renderer_host/ |
ui_events_helper.cc | 120 const blink::WebTouchPoint& point = touch.touches[i]; local 121 if (WebTouchPointStateToEventType(point.state) != type) 128 gfx::Point location; 130 location = gfx::Point(point.position.x, point.position.y); 132 location = gfx::Point(point.screenPosition.x, point.screenPosition.y); 134 gfx::Point location(point.position.x, point.position.y) 269 blink::WebTouchPoint* point = NULL; local [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/fonts/win/ |
FontWin.cpp | 62 unsigned from, unsigned numGlyphs, const FloatPoint& point, 77 float horizontalOffset = point.x(); // The floating point offset of the left side of the current glyph. 87 graphicsContext->concatCTM(AffineTransform(0, -1, 1, 0, point.x(), point.y())); 88 graphicsContext->concatCTM(AffineTransform(1, 0, 0, 1, -point.x(), -point.y())); 91 SkScalar verticalOriginX = SkFloatToScalar(point.x() + metrics.floatAscent() - metrics.floatAscent(IdeographicBaseline)); 110 origin.set(verticalOriginX, SkFloatToScalar(point.y() + horizontalOffset - point.x())) [all...] |
/external/chromium/chrome/browser/ui/cocoa/ |
test_event_utils.h | 36 NSEvent* MouseEventAtPoint(NSPoint point, NSEventType type, 38 NSEvent* LeftMouseDownAtPoint(NSPoint point); 39 NSEvent* LeftMouseDownAtPointInWindow(NSPoint point, NSWindow* window);
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
HitTestLocation.cpp | 40 HitTestLocation::HitTestLocation(const LayoutPoint& point) 41 : m_point(point) 42 , m_boundingBox(rectForPoint(point, 0, 0, 0, 0)) 43 , m_transformedPoint(point) 51 HitTestLocation::HitTestLocation(const FloatPoint& point) 52 : m_point(flooredLayoutPoint(point)) 54 , m_transformedPoint(point) 62 HitTestLocation::HitTestLocation(const FloatPoint& point, const FloatQuad& quad) 63 : m_transformedPoint(point) 68 m_point = flooredLayoutPoint(point); [all...] |
/external/chromium_org/ui/base/touch/ |
touch_editing_controller.h | 9 #include "ui/gfx/point.h" 21 virtual void SelectRect(const gfx::Point& start, const gfx::Point& end) = 0; 23 // Move the caret to |point|. |point| is in local coordinates. 24 virtual void MoveCaretTo(const gfx::Point& point) = 0; 43 // Converts a point to/from screen coordinates from/to client view. 44 virtual void ConvertPointToScreen(gfx::Point* point) = 0 [all...] |
/external/chromium_org/ui/views/ |
rect_based_targeting_utils.cc | 7 #include "ui/gfx/point.h" 25 int DistanceSquaredFromCenterToPoint(const gfx::Point& point, 27 gfx::Point center_point = rect.CenterPoint(); 28 int dx = center_point.x() - point.x(); 29 int dy = center_point.y() - point.y();
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
ControlPoint.java | 28 public ControlPoint(ControlPoint point) { 29 x = point.x; 30 y = point.y;
|