/external/chromium_org/tools/gyp/tools/ |
graphviz.py | 23 """Load the edges map from the dump file, and filter it to only 27 edges = json.load(file) 30 # Copy out only the edges we're interested in from the full edge list. 37 target_edges[src] = edges[src] 38 to_visit.extend(edges[src]) 43 def WriteGraph(edges): 45 |edges| is a map of target to a list of other targets it depends on.""" 49 for src, dst in edges.items(): 58 # its file grouping before writing out any edges that may refer 78 # the edges between nodes [all...] |
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/misc/ |
Graph.java | 32 /** A generic graph with edges; Each node as a single Object payload. 40 List<Node> edges; // points at which nodes? field in class:Graph.Node 45 if ( edges==null ) edges = new ArrayList<Node>(); 46 if ( !edges.contains(n) ) edges.add(n); 99 if ( n.edges!=null ) { 100 for (Iterator it = n.edges.iterator(); it.hasNext();) {
|
/external/chromium_org/third_party/skia/src/gpu/effects/ |
GrConvexPolyEffect.h | 30 * edges is a set of n edge equations where n is limited to kMaxEdges. It contains 3*n values. 31 * The edges should form a convex polygon. The positive half-plane is considered to be the 35 * Currently the edges are specified in device space. In the future we may prefer to specify 40 static GrEffectRef* Create(GrEffectEdgeType edgeType, int n, const SkScalar edges[]) { 45 (edgeType, n, edges)))); 50 * inverse filled, or has too many edges, this will return NULL. If offset is non-NULL, then 56 * Creates an effect that fills inside the rect with AA edges.. 77 GrConvexPolyEffect(GrEffectEdgeType edgeType, int n, const SkScalar edges[]);
|
GrConvexPolyEffect.cpp | 132 // The amount of coverage removed in x and y by the edges is computed as a pair of negative 218 "edges", 279 SkScalar edges[3 * kMaxEdges]; local 298 edges[3 * n] = v.fY; 299 edges[3 * n + 1] = -v.fX; 301 edges[3 * n] = -v.fY; 302 edges[3 * n + 1] = v.fX; 305 edges[3 * n + 2] = -(edges[3 * n] * p.fX + edges[3 * n + 1] * p.fY) 362 SkScalar edges[kMaxEdges * 3]; local [all...] |
/external/skia/src/gpu/effects/ |
GrConvexPolyEffect.h | 30 * edges is a set of n edge equations where n is limited to kMaxEdges. It contains 3*n values. 31 * The edges should form a convex polygon. The positive half-plane is considered to be the 35 * Currently the edges are specified in device space. In the future we may prefer to specify 40 static GrEffectRef* Create(GrEffectEdgeType edgeType, int n, const SkScalar edges[]) { 45 (edgeType, n, edges)))); 50 * inverse filled, or has too many edges, this will return NULL. If offset is non-NULL, then 56 * Creates an effect that fills inside the rect with AA edges.. 77 GrConvexPolyEffect(GrEffectEdgeType edgeType, int n, const SkScalar edges[]);
|
GrConvexPolyEffect.cpp | 132 // The amount of coverage removed in x and y by the edges is computed as a pair of negative 218 "edges", 279 SkScalar edges[3 * kMaxEdges]; local 298 edges[3 * n] = v.fY; 299 edges[3 * n + 1] = -v.fX; 301 edges[3 * n] = -v.fY; 302 edges[3 * n + 1] = v.fX; 305 edges[3 * n + 2] = -(edges[3 * n] * p.fX + edges[3 * n + 1] * p.fY) 362 SkScalar edges[kMaxEdges * 3]; local [all...] |
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/tool/templates/dot/ |
dot.stg | 33 dfa(decisionRanks,states,edges,rankdir,startState,useBox) ::= << 38 <edges; separator="\n"> 42 nfa(decisionRanks,states,edges,rankdir,startState) ::= << 47 <edges; separator="\n">
|
/external/chromium_org/tools/gyp/pylib/gyp/generator/ |
dump_dependency_json.py | 62 edges = {} 69 if target in edges: 71 edges[target] = [] 74 edges[target].append(dep) 79 json.dump(edges, f)
|
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/ |
CropView.java | 121 final RectF edges = mTempEdges; local 122 getEdgesHelper(edges); 125 float cropLeft = -edges.left / scale; 126 float cropTop = -edges.top / scale; 203 final RectF edges = mTempEdges; local 204 getEdgesHelper(edges); 206 mCenterX += Math.ceil(edges.left / scale); 286 final RectF edges = mTempEdges; local 287 getEdgesHelper(edges); 297 if (edges.left > 0) [all...] |
/packages/apps/Launcher3/WallpaperPicker/src/com/android/launcher3/ |
CropView.java | 121 final RectF edges = mTempEdges; local 122 getEdgesHelper(edges); 125 float cropLeft = -edges.left / scale; 126 float cropTop = -edges.top / scale; 203 final RectF edges = mTempEdges; local 204 getEdgesHelper(edges); 206 mCenterX += Math.ceil(edges.left / scale); 286 final RectF edges = mTempEdges; local 287 getEdgesHelper(edges); 297 if (edges.left > 0) [all...] |
/external/opencv/cvaux/src/ |
cvdpstereo.cpp | 108 uchar* edges = (uchar*)cvAlloc(sizeof(uchar)*imgW*imgH); local 158 edges[y*imgW] = edges[y*imgW+1] = edges[y*imgW+2] = 2; 159 edges[y*imgW+imgW-1] = edges[y*imgW+imgW-2] = edges[y*imgW+imgW-3] = 1; 162 edges[y*imgW+j] = 0; 167 edges[y*imgW+j] |= 1; 172 edges[y*imgW+j] |= 2 [all...] |
decomppoly.cpp | 261 // this edge intersects some other initial edges 328 int* edges, 344 if( edges[ mainEdgeIdx * 2 ] == vtxIdx ) { 347 x0_end = contour[ edges[ mainEdgeIdx * 2 + 1 ] ].x; 348 y0_end = contour[ edges[ mainEdgeIdx * 2 + 1 ] ].y; 353 //x0 = contour[ edges[ mainEdgeIdx * 2 ] ].x; 354 //y0 = contour[ edges[ mainEdgeIdx * 2 ] ].y; 359 x0_end = contour[ edges[ mainEdgeIdx * 2 ] ].x; 360 y0_end = contour[ edges[ mainEdgeIdx * 2 ] ].y; 368 ( edges[ i * 2 ] == vtxIdx || edges[ i * 2 + 1 ] == vtxIdx ) [all...] |
cvsubdiv2.cpp | 47 int i, j, total = subdiv->edges->total; 59 CvQuadEdge2D* edge = (CvQuadEdge2D*)cvGetSetElem(subdiv->edges,i); 114 // count number of edges in facet 166 int i, total = subdiv->edges->total; 173 CvQuadEdge2D *edge = (CvQuadEdge2D *) cvGetSetElem( subdiv->edges, i );
|
/external/chromium_org/ash/wm/workspace/ |
magnetism_matcher.cc | 13 // Returns true if |a| is close enough to |b| that the two edges snap. 19 // primary edge of |primary|. |edges| is a bitmask of the allowed 23 uint32 edges) { 24 // Convert |secondary| to a MagnetismEdge so we can compare it to |edges|. 46 return (edges & secondary_as_magnetism_edge) != 0; 123 MagnetismMatcher::MagnetismMatcher(const gfx::Rect& bounds, uint32 edges) 124 : edges_(edges) { 125 if (edges & MAGNETISM_EDGE_TOP) 127 if (edges & MAGNETISM_EDGE_LEFT) 129 if (edges & MAGNETISM_EDGE_BOTTOM) [all...] |
/external/chromium_org/chrome/tools/ |
history-viz.py | 161 edges = {} # Map of urlid->urlid->Edge. 167 edges[src] = edges.get(src, {}) 168 edge = edges[src][dst] = edges[src].get(dst, Edge(src, dst)) 174 return urls, edges 178 urls, edges = LoadHistory(sys.argv[1]) 209 # Output all the edges between nodes. 210 for src, dsts in edges.items():
|
/external/chromium_org/cc/resources/ |
task_graph_runner.cc | 25 DCHECK_LT(current_index_, graph_->edges.size()); 26 DCHECK_EQ(graph_->edges[current_index_].task, task_); 32 DCHECK_LT(current_index_, graph_->edges.size()); 33 DCHECK_EQ(graph_->edges[current_index_].task, task_); 38 // Note: Performance can be improved by keeping edges sorted. 43 if (current_index_ == graph_->edges.size()) 45 } while (graph_->edges[current_index_].task != task_); 52 graph_->edges[current_index_].dependent)); 59 operator bool() const { return current_index_ < graph_->edges.size(); } 74 return static_cast<size_t>(std::count_if(graph_->edges.begin() [all...] |
/external/chromium_org/third_party/freetype/src/autofit/ |
afhints.c | 88 AF_Edge edges; local 108 if ( FT_RENEW_ARRAY( axis->edges, old_max, new_max ) ) 114 edges = axis->edges; 115 edge = edges + axis->num_edges; 117 while ( edge > edges ) 259 AF_Edge edges = axis->edges; local 288 AF_INDEX_NUM( seg->edge, edges ), 363 /* Dump the array of linked edges. * 377 AF_Edge edges = axis->edges; local 917 AF_Edge edges = axis->edges; local [all...] |
aflatin.c | 1103 /* Link segments to edges, using feature analysis for selection. */ 1260 AF_Edge edges = axis->edges; local 1869 AF_Edge edges = axis->edges; local [all...] |
aflatin2.c | 1111 /* We will begin by generating a sorted table of edges for the */ 1233 AF_Edge edges = axis->edges; local 1841 AF_Edge edges = axis->edges; local [all...] |
/external/freetype/src/autofit/ |
afhints.c | 88 AF_Edge edges; local 108 if ( FT_RENEW_ARRAY( axis->edges, old_max, new_max ) ) 114 edges = axis->edges; 115 edge = edges + axis->num_edges; 117 while ( edge > edges ) 272 AF_Edge edges = axis->edges; local 301 AF_INDEX_NUM( seg->edge, edges ), 387 /* Dump the array of linked edges. * 402 AF_Edge edges = axis->edges; local 1054 AF_Edge edges = axis->edges; local [all...] |
/external/chromium_org/chrome/browser/ui/views/ |
chrome_views_delegate.cc | 108 int edges = 0; local 110 edges |= views::ViewsDelegate::EDGE_LEFT; 112 edges |= views::ViewsDelegate::EDGE_TOP; 114 edges |= views::ViewsDelegate::EDGE_RIGHT; 116 edges |= views::ViewsDelegate::EDGE_BOTTOM; 117 return edges; 392 // initial value of 0 (no auto-hide edges) then we'll go fullscreen and 394 // in us thinking there is no auto-hide edges. By returning at least one edge 396 // edges. 418 int edges) { [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/geometry/ |
RoundedRect.cpp | 99 void RoundedRect::Radii::includeLogicalEdges(const RoundedRect::Radii& edges, bool isHorizontal, bool includeLogicalLeftEdge, bool includeLogicalRightEdge) 103 m_bottomLeft = edges.bottomLeft(); 105 m_topRight = edges.topRight(); 106 m_topLeft = edges.topLeft(); 111 m_topRight = edges.topRight(); 113 m_bottomLeft = edges.bottomLeft(); 114 m_bottomRight = edges.bottomRight(); 164 void RoundedRect::includeLogicalEdges(const Radii& edges, bool isHorizontal, bool includeLogicalLeftEdge, bool includeLogicalRightEdge) 166 m_radii.includeLogicalEdges(edges, isHorizontal, includeLogicalLeftEdge, includeLogicalRightEdge);
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
RenderBoxModelObject.cpp | 2402 BorderEdge edges[4]; local [all...] |
/external/replicaisland/tools/ |
ExtractPoints.js | 20 * each path in the current document and generates a list of edges and normals 53 // Walk the list of paths and extract edges and normals. Store these in 67 tile.edges = new Array(); 111 tile.edges.push(edge); 138 // For each tile print the edges to a string. 142 for (var y = 0; y < tile.edges.length; y++) { 143 var edge = tile.edges[y]; 191 // Render the edges and normals to the new document. 195 // draw the edges to make sure everything works 224 for (var y = 0; y < tile.edges.length; y++) [all...] |
/external/chromium_org/components/keyed_service/core/ |
dependency_graph.cc | 24 // Remove all dependency edges that contain this node. 65 // Step 1: Build a set of nodes with no incoming edges. 77 EdgeMap edges(edges_); 84 edges.equal_range(node); 90 edges.erase(temp); 93 for (EdgeMap::iterator jt = edges.begin(); jt != edges.end(); ++jt) { 105 if (!edges.empty()) {
|