Searched refs:edge (Results 1 - 25 of 194) sorted by relevance

12345678

/external/replicaisland/tools/
H A DExtractPoints.js27 * edge calculation for debugging purposes.
75 var edge = new Object;
77 edge.startX = firstPoint.anchor[0];
78 edge.startY = firstPoint.anchor[1];
80 edge.endX = lastPoint.anchor[0];
81 edge.endY = lastPoint.anchor[1];
83 var normalX = -(edge.endY - edge.startY);
84 var normalY = edge.endX - edge
[all...]
/external/chromium_org/ash/wm/workspace/
H A Dmagnetism_matcher_unittest.cc11 // Trivial test case verifying assertions on left edge.
17 MatchedEdge edge; local
20 initial_bounds.y() - distance - 10, 2, 3), &edge));
24 &edge));
25 EXPECT_EQ(MAGNETISM_EDGE_LEFT, edge.primary_edge);
26 EXPECT_EQ(SECONDARY_MAGNETISM_EDGE_LEADING, edge.secondary_edge);
31 &edge));
32 EXPECT_EQ(MAGNETISM_EDGE_LEFT, edge.primary_edge);
33 EXPECT_EQ(SECONDARY_MAGNETISM_EDGE_NONE, edge.secondary_edge);
36 // Trivial test case verifying assertions on bottom edge
42 MatchedEdge edge; local
71 MatchedEdge edge; local
100 MatchedEdge edge; local
123 MatchedEdge edge; local
148 MatchedEdge edge; local
[all...]
H A Dmagnetism_matcher.h30 // MagnetismEdgeMatcher is used for matching a particular edge of a window. You
34 // edge. As ShouldAttach() is invoked the visible range is updated.
37 MagnetismEdgeMatcher(const gfx::Rect& bounds, MagnetismEdge edge);
40 MagnetismEdge edge() const { return edge_; } function in class:ash::MagnetismEdgeMatcher
43 // Returns true if the edge is completely obscured. If true ShouldAttach()
57 static int GetPrimaryCoordinate(const gfx::Rect& bounds, MagnetismEdge edge) { argument
58 switch (edge) {
72 static MagnetismEdge FlipEdge(MagnetismEdge edge) { argument
73 switch (edge) {
120 // The edge thi
[all...]
/external/chromium_org/tools/telemetry/telemetry/core/heap/
H A Dlive_heap_object.py37 def AddEdgeTo(self, edge):
41 edge: Edge, an edge whose end point this LiveHeapObject is.
43 self.edges_to.append(edge)
45 def AddEdgeFrom(self, edge):
49 edge: Edge, an edge whose start point this LiveHeapObject is.
51 self.edges_from.append(edge)
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/
H A DFASerializer.java97 // and then ordered by edge labels then by target state number :)
124 Transition edge = (Transition) s.transition(i);
125 walkFANormalizingStateNumbers(edge.target); // keep walkin'
128 // to it, but don't "draw" an edge.
129 if ( edge instanceof RuleClosureTransition ) {
130 walkFANormalizingStateNumbers(((RuleClosureTransition) edge).followState);
150 // depth first walk each transition, printing its edge first
152 Transition edge = (Transition) s.transition(i);
155 if ( edge.isAction() ) {
158 else if ( edge
[all...]
/external/chromium_org/chrome/browser/ui/views/app_list/linux/
H A Dapp_list_linux.cc17 // desktop environments). The shelf can usually be found on the edge where the
18 // display edge and work area do not match up, but there can be more than one
19 // such edge. The shelf is assumed to be on the side of the screen with the
20 // largest delta between the display edge and the work area edge. Ties are
56 AppListPositioner::ScreenEdge edge,
65 // Snap to the shelf edge. If the cursor is greater than the window
68 if (edge == AppListPositioner::SCREEN_EDGE_UNKNOWN) {
74 int snap_distance = edge == AppListPositioner::SCREEN_EDGE_BOTTOM ||
75 edge
53 FindAnchorPoint(const gfx::Size& view_size, const gfx::Display& display, const gfx::Point& cursor, AppListPositioner::ScreenEdge edge, bool center_window) argument
93 AppListPositioner::ScreenEdge edge; local
[all...]
/external/chromium_org/third_party/freetype/src/autofit/
H A Daflatin.c858 /* we are already on an edge, try to locate its start */
892 /* we are just leaving an edge; record a new segment! */
1150 /* an edge in our table that corresponds to its position. */
1152 /* If no edge is found, we create and insert a new edge in the */
1153 /* sorted table. Otherwise, we simply add the segment to the edge's */
1155 /* edge's properties. */
1157 /* Note that the table of edges is sorted along the segment/edge */
1162 /* assure that edge distance threshold is at most 0.25px */
1186 /* look for an edge correspondin
1189 AF_Edge edge = axis->edges + ee; local
1206 AF_Edge edge; local
1262 AF_Edge edge; local
1425 AF_Edge edge = axis->edges; local
1872 AF_Edge edge; local
[all...]
H A Daflatin2.c765 /* already on an edge ?, backtrack to find its start */
1113 /* to find an edge in our table that corresponds to its position. */
1115 /* If no edge is found, we create and insert a new edge in the */
1116 /* sorted table. Otherwise, we simply add the segment to the edge's */
1118 /* edge's properties. */
1120 /* Note that the edges table is sorted along the segment/edge */
1161 /* look for an edge corresponding to the segment */
1164 AF_Edge edge = axis->edges + ee; local
1168 dist = seg->pos - edge
1181 AF_Edge edge; local
1235 AF_Edge edge; local
1393 AF_Edge edge = axis->edges; local
1843 AF_Edge edge; local
[all...]
H A Dafcjk.c920 /* an edge in our table that corresponds to its position. */
922 /* If no edge is found, we create and insert a new edge in the */
923 /* sorted table. Otherwise, we simply add the segment to the edge's */
925 /* edge's properties. */
927 /* Note that the edges table is sorted along the segment/edge */
946 /* look for an edge corresponding to the segment */
949 AF_Edge edge = axis->edges + ee; local
953 if ( edge->dir != seg->dir )
956 dist = seg->pos - edge
998 AF_Edge edge; local
1051 AF_Edge edge; local
1180 AF_Edge edge = axis->edges; local
1548 af_hint_normal_stem( AF_GlyphHints hints, AF_Edge edge, AF_Edge edge2, FT_Pos anchor, AF_Dimension dim ) argument
1681 AF_Edge edge; local
2024 AF_Edge edge; local
[all...]
/external/chromium_org/third_party/skia/src/core/
H A DSkScan_Path.cpp28 static void validate_sort(const SkEdge* edge) { argument
31 while (edge->fFirstY != SK_MaxS32) {
32 edge->validate();
33 SkASSERT(y <= edge->fFirstY);
35 y = edge->fFirstY;
36 edge = edge->fNext;
40 #define validate_sort(edge)
43 static inline void remove_edge(SkEdge* edge) { argument
44 edge
90 validate_edges_for_y(const SkEdge* edge, int curr_y) argument
200 update_edge(SkEdge* edge, int last_y) argument
470 SkEdge* edge = sort_edges(list, count, &last); local
644 build_tri_edges(SkEdge edge[], const SkPoint pts[], const SkIRect* clipRect, SkEdge* list[]) argument
678 SkEdge* edge = sort_edges(list, count, &last); local
[all...]
H A DSkEdgeBuilder.cpp26 SkEdge* edge = typedAllocThrow<SkEdge>(fAlloc); local
27 if (edge->setLine(pts[0], pts[1], fShiftUp)) {
28 fList.push(edge);
30 // TODO: unallocate edge from storage...
35 SkQuadraticEdge* edge = typedAllocThrow<SkQuadraticEdge>(fAlloc); local
36 if (edge->setQuadratic(pts, fShiftUp)) {
37 fList.push(edge);
39 // TODO: unallocate edge from storage...
44 SkCubicEdge* edge = typedAllocThrow<SkCubicEdge>(fAlloc); local
45 if (edge
100 SkEdge* edge = reinterpret_cast<SkEdge*>(storage); local
[all...]
/external/skia/src/core/
H A DSkScan_Path.cpp28 static void validate_sort(const SkEdge* edge) { argument
31 while (edge->fFirstY != SK_MaxS32) {
32 edge->validate();
33 SkASSERT(y <= edge->fFirstY);
35 y = edge->fFirstY;
36 edge = edge->fNext;
40 #define validate_sort(edge)
43 static inline void remove_edge(SkEdge* edge) { argument
44 edge
90 validate_edges_for_y(const SkEdge* edge, int curr_y) argument
200 update_edge(SkEdge* edge, int last_y) argument
470 SkEdge* edge = sort_edges(list, count, &last); local
644 build_tri_edges(SkEdge edge[], const SkPoint pts[], const SkIRect* clipRect, SkEdge* list[]) argument
678 SkEdge* edge = sort_edges(list, count, &last); local
[all...]
/external/freetype/src/autofit/
H A Daflatin2.c766 /* already on an edge ?, backtrack to find its start */
1114 /* to find an edge in our table that corresponds to its position. */
1116 /* If no edge is found, we create and insert a new edge in the */
1117 /* sorted table. Otherwise, we simply add the segment to the edge's */
1119 /* edge's properties. */
1121 /* Note that the edges table is sorted along the segment/edge */
1162 /* look for an edge corresponding to the segment */
1165 AF_Edge edge = axis->edges + ee; local
1169 dist = seg->pos - edge
1182 AF_Edge edge; local
1236 AF_Edge edge; local
1394 AF_Edge edge = axis->edges; local
1844 AF_Edge edge; local
[all...]
H A Daflatin.c1219 /* we are already on an edge, try to locate its start */
1253 /* we are just leaving an edge; record a new segment! */
1559 /* an edge in our table that corresponds to its position. */
1561 /* If no edge is found, we create and insert a new edge in the */
1562 /* sorted table. Otherwise, we simply add the segment to the edge's */
1564 /* edge's properties. */
1566 /* Note that the table of edges is sorted along the segment/edge */
1571 /* assure that edge distance threshold is at most 0.25px */
1595 /* look for an edge correspondin
1598 AF_Edge edge = axis->edges + ee; local
1615 AF_Edge edge; local
1671 AF_Edge edge; local
1836 AF_Edge edge = axis->edges; local
2295 AF_Edge edge; local
[all...]
H A Dafcjk.c937 /* an edge in our table that corresponds to its position. */
939 /* If no edge is found, we create and insert a new edge in the */
940 /* sorted table. Otherwise, we simply add the segment to the edge's */
942 /* edge's properties. */
944 /* Note that the edges table is sorted along the segment/edge */
963 /* look for an edge corresponding to the segment */
966 AF_Edge edge = axis->edges + ee; local
970 if ( edge->dir != seg->dir )
973 dist = seg->pos - edge
1015 AF_Edge edge; local
1069 AF_Edge edge; local
1202 AF_Edge edge = axis->edges; local
1583 af_hint_normal_stem( AF_GlyphHints hints, AF_Edge edge, AF_Edge edge2, FT_Pos anchor, AF_Dimension dim ) argument
1718 AF_Edge edge; local
2096 AF_Edge edge; local
[all...]
/external/opencv/cvaux/src/
H A Dcvsubdiv2.cpp59 CvQuadEdge2D* edge = (CvQuadEdge2D*)cvGetSetElem(subdiv->edges,i); local
61 if( edge && CV_IS_SET_ELEM( edge ))
65 CvSubdiv2DEdge e = (CvSubdiv2DEdge)edge + j;
107 draw_subdiv_facet( CvSubdiv2D * subdiv, IplImage * dst, IplImage * src, CvSubdiv2DEdge edge )
109 CvSubdiv2DEdge t = edge;
120 while( t != edge && count < subdiv->quad_edges * 4 );
128 t = edge;
142 CvSubdiv2DPoint *pt = cvSubdiv2DEdgeDst( cvSubdiv2DRotateEdge( edge, 1 ));
173 CvQuadEdge2D *edge local
[all...]
/external/chromium_org/chrome/browser/ui/views/app_list/win/
H A Dapp_list_win.cc22 // edge of screen.
29 // one pixel of overlap where the edge of the taskbar is shown.
62 // Find which edge of the screen the taskbar is attached to.
63 AppListPositioner::ScreenEdge edge = positioner.GetShelfEdge(taskbar_rect);
65 // Snap to the taskbar edge. If the cursor is greater than kSnapDistance away,
68 if (edge == AppListPositioner::SCREEN_EDGE_UNKNOWN) {
74 if (positioner.GetCursorDistanceFromShelf(edge, cursor) > kSnapDistance)
75 return positioner.GetAnchorPointForShelfCorner(edge);
77 return positioner.GetAnchorPointForShelfCursor(edge, cursor);
/external/pixman/pixman/
H A Dpixman-edge.c35 #define RENDER_EDGE_STEP_SMALL(edge) \
37 edge->x += edge->stepx_small; \
38 edge->e += edge->dx_small; \
39 if (edge->e > 0) \
41 edge->e -= edge->dy; \
42 edge->x += edge
[all...]
/external/chromium_org/third_party/WebKit/Source/core/rendering/
H A DRenderFrameSet.h45 bool preventResize(FrameEdge edge) const { return m_preventResize[edge]; }
46 bool allowBorder(FrameEdge edge) const { return m_allowBorder[edge]; }
48 void setPreventResize(FrameEdge edge, bool preventResize) { m_preventResize[edge] = preventResize; } argument
49 void setAllowBorder(FrameEdge edge, bool allowBorder) { m_allowBorder[edge] = allowBorder; } argument
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv50/codegen/
H A Dnv50_ir_graph.cpp97 Edge *edge = new Edge(this, node, kind); local
101 edge->next[0] = this->out;
102 edge->prev[0] = this->out->prev[0];
103 edge->prev[0]->next[0] = edge;
104 this->out->prev[0] = edge;
106 this->out = edge;
109 edge->next[1] = node->in;
110 edge->prev[1] = node->in->prev[1];
111 edge
356 Graph::Edge *edge; local
[all...]
/external/mesa3d/src/gallium/drivers/nv50/codegen/
H A Dnv50_ir_graph.cpp97 Edge *edge = new Edge(this, node, kind); local
101 edge->next[0] = this->out;
102 edge->prev[0] = this->out->prev[0];
103 edge->prev[0]->next[0] = edge;
104 this->out->prev[0] = edge;
106 this->out = edge;
109 edge->next[1] = node->in;
110 edge->prev[1] = node->in->prev[1];
111 edge
356 Graph::Edge *edge; local
[all...]
/external/opencv/cv/src/
H A Dcvsubdivision2d.cpp78 CvQuadEdge2D *edge = 0; local
88 edge = (CvQuadEdge2D*)cvSetNew( (CvSet*)subdiv->edges );
91 memset( edge->pt, 0, sizeof( edge->pt ));
92 edgehandle = (CvSubdiv2DEdge) edge;
94 edge->next[0] = edgehandle;
95 edge->next[1] = edgehandle + 3;
96 edge->next[2] = edgehandle + 2;
97 edge->next[3] = edgehandle + 1;
143 cvSubdiv2DSetEdgePoints( CvSubdiv2DEdge edge, argument
254 CvSubdiv2DEdge edge = 0; local
734 CvSubdiv2DEdge edge; local
[all...]
/external/chromium_org/v8/src/compiler/
H A Dnode-properties.h28 static inline bool IsValueEdge(Node::Edge edge);
29 static inline bool IsContextEdge(Node::Edge edge);
30 static inline bool IsEffectEdge(Node::Edge edge);
31 static inline bool IsControlEdge(Node::Edge edge);
57 static inline bool IsInputRange(Node::Edge edge, int first, int count);
H A Dnode-properties-inl.h111 inline bool NodeProperties::IsInputRange(Node::Edge edge, int first, int num) { argument
112 // TODO(titzer): edge.index() is linear time;
115 int index = edge.index();
119 inline bool NodeProperties::IsValueEdge(Node::Edge edge) { argument
120 Node* node = edge.from();
121 return IsInputRange(edge, FirstValueIndex(node),
125 inline bool NodeProperties::IsContextEdge(Node::Edge edge) { argument
126 Node* node = edge.from();
127 return IsInputRange(edge, FirstContextIndex(node),
131 inline bool NodeProperties::IsEffectEdge(Node::Edge edge) { argument
137 IsControlEdge(Node::Edge edge) argument
[all...]
/external/chromium_org/third_party/WebKit/Source/core/rendering/shapes/
H A DPolygonShape.cpp38 static inline FloatSize inwardEdgeNormal(const FloatPolygonEdge& edge) argument
40 FloatSize edgeDelta = edge.vertex2() - edge.vertex1();
49 static inline FloatSize outwardEdgeNormal(const FloatPolygonEdge& edge) argument
51 return -inwardEdgeNormal(edge);
78 // Clip the edge line segment to the vertical range y1,y2 and then return
137 const FloatPolygonEdge& edge = *(overlappingEdges[i]); local
138 if (edge.maxY() == edge.minY())
141 excludedInterval.unite(OffsetPolygonEdge(edge, FloatSiz
[all...]

Completed in 5068 milliseconds

12345678