/openjdk7/jdk/src/share/classes/javax/swing/text/ |
H A D | WhitespaceBasedBreakIterator.java | 106 private int checkhit(int hit) { argument 107 if ((hit < 0) || (hit >= breaks.length)) { 110 return breaks[pos = hit]; 115 int hit = Arrays.binarySearch(breaks, n); 116 int offset = (hit < 0 ? (bias < 0 ? -1 : -2) : 0); 117 return checkhit(Math.abs(hit) + bias + offset);
|
/openjdk7/jdk/src/share/classes/java/awt/ |
H A D | Graphics2D.java | 805 * @param rect the area in device space to check for a hit 806 * @param s the <code>Shape</code> to check for a hit 811 * @return <code>true</code> if there is a hit; <code>false</code> 821 public abstract boolean hit(Rectangle rect, method in class:Graphics2D
|
/openjdk7/jdk/src/share/classes/sun/util/calendar/ |
H A D | BaseCalendar.java | 164 // improvement with >90% cache hit. The initial values are for Gregorian. 169 protected final boolean hit(int year) { method in class:BaseCalendar.Date 173 protected final boolean hit(long fixedDate) { method in class:BaseCalendar.Date 368 if (cache != null && cache.hit(year)) { 425 if (gdate.hit(fixedDate)) {
|
/openjdk7/jdk/src/macosx/classes/com/apple/laf/ |
H A D | AquaScrollBarUI.java | 649 static boolean isIncrement(final Hit hit) { argument 650 return (hit == ScrollBarHit.ARROW_MAX) || (hit == ScrollBarHit.ARROW_MAX_INSIDE); 653 static boolean isDecrement(final Hit hit) { argument 654 return (hit == ScrollBarHit.ARROW_MIN) || (hit == ScrollBarHit.ARROW_MIN_INSIDE); 657 static boolean isArrow(final Hit hit) { argument 658 return isIncrement(hit) || isDecrement(hit); 661 static boolean isTrack(final Hit hit) { argument [all...] |
/openjdk7/jdk/src/share/classes/java/awt/font/ |
H A D | TextLayout.java | 83 * <li>hit testing, 166 * TextHitInfo hit = layout.hitTestChar( 294 * flag to supress/allow carets inside of ligatures when hit testing or 327 * @param hit1 a valid hit in <code>layout</code> 328 * @param hit2 a valid hit in <code>layout</code> 346 * by the client. With this policy, a hit on a character whose direction 347 * is the same as the line direction is stronger than a hit on a 349 * the same, a hit on the leading edge of a character is stronger 350 * than a hit on the trailing edge of a character. 764 private void checkTextHit(TextHitInfo hit) { argument 1209 getCaretInfo(TextHitInfo hit, Rectangle2D bounds) argument 1223 getCaretInfoTestInternal(TextHitInfo hit, Rectangle2D bounds) argument 1311 getCaretInfo(TextHitInfo hit) argument 1324 hitToCaret(TextHitInfo hit) argument 1402 getNextRightHit(TextHitInfo hit) argument 1484 getNextLeftHit(TextHitInfo hit) argument 1563 getVisualOtherHit(TextHitInfo hit) argument 1623 getCaretPath(TextHitInfo hit, Rectangle2D bounds) argument 1777 getCaretShape(TextHitInfo hit, Rectangle2D bounds) argument 1795 getCaretShape(TextHitInfo hit) argument 2725 hitToPoint(TextHitInfo hit, Point2D point) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/print/ |
H A D | PeekGraphics.java | 1523 * @param rect The area in device space to check for a hit. 1524 * @param s The shape to check for a hit. 1527 * @return True if there is a hit, false otherwise. 1536 public boolean hit(Rectangle rect, method in class:PeekGraphics 1540 return mGraphics.hit(rect, s, onStroke);
|
H A D | ProxyGraphics2D.java | 1407 * @param rect The area in device space to check for a hit. 1408 * @param s The shape to check for a hit. 1411 * @return True if there is a hit, false otherwise. 1420 public boolean hit(Rectangle rect, method in class:ProxyGraphics2D 1424 return mGraphics.hit(rect, s, onStroke);
|
/openjdk7/hotspot/src/share/vm/opto/ |
H A D | cfgnode.cpp | 1447 uint hit = 0; // Number of times it occurs local 1455 hit++; 1462 if( hit <= 1 || // Make sure we find 2 or more 1463 hit == phi->req()-1 ) // and not ALL the same value 1469 RegionNode *newr = new (phase->C) RegionNode(hit+1);
|
H A D | loopopts.cpp | 1465 Node *hit = _igvn.hash_find_insert(phi); local 1466 if( hit == NULL ) { 1469 // Remove the new phi from the graph and use the hit 1471 phi = hit; // Use existing phi 1482 Node *hit = _igvn.hash_find_insert(use); local 1483 if( hit ) // Go ahead and re-hash for hits. 1484 _igvn.replace_node( use, hit ); 2024 Node *hit = _igvn.hash_find_insert(phi); local 2025 if( hit == NULL ) { 2029 // Remove the new phi from the graph and use the hit [all...] |
H A D | loopnode.cpp | 165 // confuses loop predication. So once we hit a Loop in a If branch 2556 IdealLoopTree *hit = *nn; local 2557 *nn = hit->_next; 2558 hit->_next = loop; 2560 loop = hit; 3393 // Due to cycles, we might not hit the same fixed point in the verify
|
/openjdk7/hotspot/src/cpu/x86/vm/ |
H A D | sharedRuntime_x86_32.cpp | 1753 Label hit; local 1758 __ jcc(Assembler::equal, hit); 1767 __ bind(hit); 2561 Label hit; local 2567 __ jcc(Assembler::equal, hit); 2576 __ bind(hit);
|
H A D | sharedRuntime_x86_64.cpp | 1979 Label hit; local 1986 __ jcc(Assembler::equal, hit); 1993 __ bind(hit); 2832 Label hit; local 2838 __ jcc(Assembler::equal, hit); 2847 __ bind(hit);
|
/openjdk7/jdk/src/share/classes/sun/java2d/ |
H A D | SunGraphics2D.java | 840 * @param rect The area in device space to check for a hit. 841 * @param p The path to check for a hit. 844 * @return True if there is a hit, false otherwise. 853 public boolean hit(Rectangle rect, Shape s, boolean onStroke) { method in class:SunGraphics2D 1814 // and do a span for span hit test against the clip, but for 1821 // This logic breaks down if this hit test is being performed
|
/openjdk7/jdk/src/macosx/classes/apple/laf/ |
H A D | JRSUIConstants.java | 766 final int hit; field in class:JRSUIConstants.Hit 767 Hit(final int hit) { this.hit = hit; } argument 770 return hit > 0; 796 ScrollBarHit(final int hit) { super(hit); } argument 799 static Hit getHit(final int hit) { argument 800 switch (hit) {
|
/openjdk7/jdk/src/windows/native/sun/windows/ |
H A D | awt_Component.cpp | 712 HWND hit = NULL; local 737 hit = ::WindowFromPoint(p); 738 while (hit != NULL) { 739 comp = AwtComponent::GetComponent(hit); 742 INT nHittest = (INT)::SendMessage(hit, WM_NCHITTEST, 753 ::SendMessage(hit, WM_SETCURSOR, (WPARAM)hit, 757 sm_cursorOn = hit; 762 if ((::GetWindowLong(hit, GWL_STYLE) & WS_CHILD) == 0) { 765 hit [all...] |