| /frameworks/base/core/java/android/view/ |
| FocusFinder.java | 345 // edge to be closer to the source's top edge than rect1's bottom edge. 365 * Includes an edge case for an empty rect (which is used in some cases when 427 * @return The distance from the edge furthest in the given direction 428 * of source to the edge nearest in the given direction of dest. If the 452 * edge of source to the far edge of dest. If the 477 * edge of the destination rectangle. 509 * @param deltas Offset from the <x, y> to the edge of the nearest view. Note that this arra [all...] |
| /packages/apps/Gallery2/src/com/android/photos/views/ |
| GalleryThumbnailView.java | 232 * @param x Left or right edge of the view to add 233 * @param forward If true, align left edge to x and increase position. 234 * If false, align right edge to x and decrease position. 354 // Break fling velocity if we impacted an edge. 422 EdgeEffectCompat edge = deltaX > 0 ? mLeftEdge : mRightEdge; local 423 edge.onPull((float) Math.abs(deltaX) / getWidth()); 546 final EdgeEffectCompat edge; local 548 edge = mLeftEdge; 550 edge = mRightEdge; 552 edge.onAbsorb(Math.abs((int) mScroller.getCurrVelocity())) [all...] |
| /frameworks/base/core/java/android/text/ |
| TextLine.java | 275 * @param trailing true to measure the trailing edge of the character 276 * before offset, false to measure the leading edge of the character 281 * character edge. 409 * @return the signed width from the start of the run to the leading edge 434 // 1) The caret marks the leading edge of a character. The character 437 // was the previous character, the caret is on its trailing edge. 438 // 2) Take this character/edge and move it in the indicated direction. 439 // This gives you a new character and a new edge. 443 // 4) If the active position is on the trailing edge of the character, 474 // use the position on the trailing edge of the previou [all...] |
| /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/ |
| RelativeLayoutConversionHelper.java | 207 // must have been a right edge 246 // must have been a right edge 263 // must have been a bottom edge 425 // See if we have a bottom/right edge to attach the forwards link to 496 // Attach to right/bottom edge of the layout 700 // Determine if the reference is to a known edge [all...] |
| /cts/tests/tests/widget/src/android/widget/cts/ |
| HorizontalScrollViewTest.java | 446 int edge = mScrollView.getHorizontalFadingEdgeLength(); local 452 rect = new Rect(edge, 0, PAGE_WIDTH, 0); 456 rect = new Rect(edge + 1, 0, PAGE_WIDTH, 0); 457 assertEquals(edge, mScrollView.computeScrollDeltaToGetChildRectOnScreen(rect)); 491 int edge = mScrollView.getHorizontalFadingEdgeLength(); 502 assertEquals(ITEM_WIDTH - mScrollView.getWidth() + edge, mScrollView.getScrollX());
|
| ScrollViewTest.java | 474 int edge = mScrollView.getVerticalFadingEdgeLength(); local 480 rect = new Rect(0, edge, 0, mPageHeight); 484 rect = new Rect(0, edge + 1, 0, mPageHeight); 485 assertEquals(edge, mScrollView.computeScrollDeltaToGetChildRectOnScreen(rect)); 521 int edge = mScrollView.getVerticalFadingEdgeLength(); 535 assertEquals(edge, mScrollView.getScrollY());
|
| /external/chromium_org/ash/wm/ |
| window_resizer.cc | 81 // Returns true for resize components along the right edge, where a drag in 197 // position. For example, dragging the left edge to the right should stop 234 // Update bottom edge to stay in the work area when we are resizing 235 // by dragging the bottom edge or corners. 358 // Along the right edge, positive delta_x increases the window size. 391 // Along the bottom edge, positive delta_y increases the window size.
|
| /external/chromium_org/chrome/common/extensions/api/ |
| windows.json | 19 "top": {"type": "integer", "optional": true, "description": "The offset of the window from the top edge of the screen in pixels. Under some circumstances a Window may not be assigned top property, for example when querying closed windows from the $ref:sessionRestore API."}, 20 "left": {"type": "integer", "optional": true, "description": "The offset of the window from the left edge of the screen in pixels. Under some circumstances a Window may not be assigned left property, for example when querying closed windows from the $ref:sessionRestore API."}, 171 "left": {"type": "integer", "optional": true, "description": "The number of pixels to position the new window from the left edge of the screen. If not specified, the new window is offset naturally from the last focused window. This value is ignored for panels."}, 172 "top": {"type": "integer", "optional": true, "description": "The number of pixels to position the new window from the top edge of the screen. If not specified, the new window is offset naturally from the last focused window. This value is ignored for panels."}, 209 "left": {"type": "integer", "optional": true, "description": "The offset from the left edge of the screen to move the window to in pixels. This value is ignored for panels."}, 210 "top": {"type": "integer", "optional": true, "description": "The offset from the top edge of the screen to move the window to in pixels. This value is ignored for panels."},
|
| /external/chromium_org/third_party/WebKit/PerformanceTests/Dromaeo/resources/dromaeo/web/tests/ |
| dromaeo-3d-cube.html | 304 // anti-clockwise edge check 305 Q.Edge = [[0,1,2],[3,2,6],[7,6,5],[4,5,1],[4,0,3],[1,5,6]]; 309 for (var i = 0; i < Q.Edge.length; i++) Q.Normal[i] = CalcNormal(Q[Q.Edge[i][0]].V, Q[Q.Edge[i][1]].V, Q[Q.Edge[i][2]].V);
|
| /external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-0.9/ |
| 3d-cube.js | 300 // anti-clockwise edge check 301 Q.Edge = [[0,1,2],[3,2,6],[7,6,5],[4,5,1],[4,0,3],[1,5,6]]; 305 for (var i = 0; i < Q.Edge.length; i++) Q.Normal[i] = CalcNormal(Q[Q.Edge[i][0]].V, Q[Q.Edge[i][1]].V, Q[Q.Edge[i][2]].V);
|
| /external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-0.9.1/ |
| 3d-cube.js | 300 // anti-clockwise edge check 301 Q.Edge = [[0,1,2],[3,2,6],[7,6,5],[4,5,1],[4,0,3],[1,5,6]]; 305 for (var i = 0; i < Q.Edge.length; i++) Q.Normal[i] = CalcNormal(Q[Q.Edge[i][0]].V, Q[Q.Edge[i][1]].V, Q[Q.Edge[i][2]].V);
|
| /external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-1.0/ |
| 3d-cube.js | 300 // anti-clockwise edge check 301 Q.Edge = [[0,1,2],[3,2,6],[7,6,5],[4,5,1],[4,0,3],[1,5,6]]; 305 for (var i = 0; i < Q.Edge.length; i++) Q.Normal[i] = CalcNormal(Q[Q.Edge[i][0]].V, Q[Q.Edge[i][1]].V, Q[Q.Edge[i][2]].V);
|
| /external/llvm/lib/Analysis/ |
| SparsePropagation.cpp | 99 if (!KnownFeasibleEdges.insert(Edge(Source, Dest)).second) 100 return; // This edge is already known to be executable! 102 DEBUG(dbgs() << "Marking Edge Executable: " << Source->getName() 106 // The destination is already executable, but we just made an edge 202 /// isEdgeFeasible - Return true if the control flow edge from the 'From' 258 // If the edge is not yet known to be feasible, it doesn't impact the PHI.
|
| /external/llvm/unittests/ADT/ |
| SCCIteratorTest.cpp | 113 /// AddEdge - Add an edge from the node with index FromIdx to the node with 120 /// DeleteEdge - Remove the edge (if any) from the node with index FromIdx to 248 // Since SCC considers every node to have an implicit self-edge, we only 249 // create graphs for which every node has a self-edge. 264 // Always add a self-edge. 325 // guaranteed by it: if a node in SCC S1 has an edge to a node in
|
| /external/pixman/pixman/ |
| pixman-trap.c | 91 * Step an edge by any amount (including negative values) 125 * elements of an edge structure 151 * Initialize one edge structure given the line endpoints and a 199 * Initialize one edge structure given a line, starting y value 269 /* initialize edge walkers */ 382 /* initialize edge walkers */
|
| /external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/ |
| DFA.as | 5 * Any state that has a semantic predicate edge is special; those states 101 // eot[s]>=0 indicates that an EOT edge goes to another 108 // which assumed here that the EOT edge always
|
| /external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/ |
| DFA.java | 32 * Any state that has a semantic predicate edge is special; those states 103 // eot[s]>=0 indicates that an EOT edge goes to another 110 // which assumed here that the EOT edge always
|
| /external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/tree/ |
| DOTTreeGenerator.java | 91 // single node, don't do edge. 110 * edge [arrowsize=.7] 168 // for each child, do a parent -> child edge using unique node names
|
| /external/antlr/antlr-3.4/runtime/Python/antlr3/ |
| dfa.py | 40 Any state that has a semantic predicate edge is special; those states 106 # eot[s]>=0 indicates that an EOT edge goes to another 114 # which assumed here that the EOT edge always
|
| dottreegen.py | 58 " edge [arrowsize=.5]\n" + 139 # for each child, do a parent -> child edge using unique node names 182 edge [arrowsize=.7]
|
| /external/antlr/antlr-3.4/runtime/Ruby/test/functional/token-rewrite/ |
| basic.rb | 134 example 'replace range then insert at left edge' do 141 example 'replace range then insert after right edge' do 238 example 'replace range then insert at right edge' do
|
| /external/chromium/chrome/browser/ui/touch/tabs/ |
| touch_tab.cc | 146 // Draw left edge. 155 // Draw right edge. 173 // Now draw the highlights/shadows around the tab edge.
|
| /external/chromium_org/chrome/browser/ui/cocoa/ |
| base_bubble_controller.mm | 261 // edge aligns with the anchor. If the arrow is to the left then there's 262 // nothing to do because the left edge is already aligned with the left 263 // edge of the anchor.
|
| /external/chromium_org/chrome/browser/ui/cocoa/bookmarks/ |
| bookmark_bar_folder_controller.h | 80 // top and/or bottom edge of the screen in order to support mouse tracking 82 // window must be inset a bit from the edge of the screen for aesthetics; 123 // Precalculated sum of left and right edge padding of buttons in a
|
| /external/chromium_org/chrome/browser/ui/search/ |
| instant_controller.h | 58 // Sets the stored start-edge margin and width of the omnibox. 100 // Gets the stored start-edge margin and width of the omnibox. 221 // The start-edge margin and width of the omnibox, used by the page to align
|