/openjdk7/jdk/src/share/classes/java/awt/ |
H A D | FlowLayout.java | 189 * If true, components will be aligned on their baseline. 350 * baseline. Components that do not have a baseline will be centered. 354 * vertically aligned on their baseline 363 * their baseline. The default is false. 366 * their baseline 423 int baseline = m.getBaseline(d.width, d.height); 424 if (baseline >= 0) { 425 maxAscent = Math.max(maxAscent, baseline); 426 maxDescent = Math.max(maxDescent, d.height - baseline); [all...] |
H A D | GridBagLayout.java | 33 * baseline without requiring that the components be of the same size. 119 * and baseline-relative 123 * baseline. Valid values are:</dd> 126 * SUMMARY="absolute, relative and baseline values as described above"> 179 * Each row may have a baseline; the baseline is determined by the 180 * components in that row that have a valid baseline and are aligned 181 * along the baseline (the component's anchor value is one of {@code 183 * If none of the components in the row has a valid baseline, the row 184 * does not have a baseline [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/ |
H A D | SpringLayout.java | 230 * Specifies the baseline of a component. 327 private Spring baseline; field in class:SpringLayout.Constraints 332 // Used for baseline calculations 447 private int getHeightFromBaseLine(int baseline) { argument 451 if (prefBaseline == baseline) { 452 // If prefBaseline < 0, then no baseline, assume preferred 454 // If prefBaseline == baseline, then specified baseline 455 // matches preferred baseline, return preferred height 458 // Valid baseline 710 setBaseline(Spring baseline) argument [all...] |
H A D | GroupLayout.java | 163 * // the contents along the baseline. The first parallel group contains 184 * to align their components along the baseline. The first parallel 328 * their baseline. 639 * axis. A {@code ParallelGroup} created with a baseline alignment 643 * the behavior of baseline groups. 668 * elements along the baseline. 671 * @param anchorBaselineToTop whether the baseline is anchored to 1746 * In order to align a {@code SequentialGroup} along the baseline 1747 * of a baseline aligned {@code ParallelGroup} you need to specify 1749 * determine the baseline 2944 private int baseline = -1; field in class:GroupLayout.ComponentSpring [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/plaf/metal/ |
H A D | MetalComboBoxUI.java | 138 * Returns the baseline. 146 int baseline; 149 baseline = super.getBaseline(c, width, height); 150 if (baseline >= 0) { 151 baseline += 2; 155 baseline = super.getBaseline(c, width, height); 157 return baseline;
|
/openjdk7/hotspot/src/share/vm/services/ |
H A D | memReporter.cpp | 42 void BaselineReporter::report_baseline(const MemBaseline& baseline, bool summary_only) { argument 46 amount_in_current_scale(baseline.total_malloc_amount() + baseline.total_reserved_amount()), 47 amount_in_current_scale(baseline.total_malloc_amount() + baseline.total_committed_amount())); 49 _outputer.num_of_classes(baseline.number_of_classes()); 50 _outputer.num_of_threads(baseline.number_of_threads()); 52 report_summaries(baseline); 54 report_virtual_memory_map(baseline); 55 report_callsites(baseline); 60 report_summaries(const MemBaseline& baseline) argument 78 report_virtual_memory_map(const MemBaseline& baseline) argument 97 report_callsites(const MemBaseline& baseline) argument [all...] |
H A D | memReporter.hpp | 41 // if report_diff = true, the reporter reports baseline comparison 48 /* report baseline summary information */ 56 /* report baseline summary comparison */ 118 * This class reports processed data from a baseline or 119 * the changes between the two baseline. 133 virtual void report_baseline(const MemBaseline& baseline, bool summary_only = false); 141 void report_summaries(const MemBaseline& baseline); 142 void report_virtual_memory_map(const MemBaseline& baseline); 143 void report_callsites(const MemBaseline& baseline);
|
H A D | memTracker.cpp | 184 // shared baseline and snapshot are the only objects needed to 187 // cleanup baseline data and snapshot 503 // baseline current memory snapshot 504 bool MemTracker::baseline() { function in class:MemTracker 508 return _baseline.baseline(*snapshot, false); 515 MemBaseline baseline; local 518 if (snapshot != NULL && baseline.baseline(*snapshot, summary_only)) { 520 reporter.report_baseline(baseline, summary_only); 571 // compare memory usage between current snapshot and baseline 575 MemBaseline baseline; local [all...] |
H A D | nmtDCmd.cpp | 39 _baseline("baseline", "request runtime to baseline current memory usage, " \ 43 "comparison against previous baseline.", 46 "comparison against previous baseline, which shows the memory " \ 105 "summary, detail, baseline, summary.diff, detail.diff, shutdown" 142 if (MemTracker::baseline()) { 152 output()->print_cr("No baseline to compare, run 'baseline' command first"); 159 output()->print_cr("No baseline to compare to, run 'baseline' comman [all...] |
H A D | memBaseline.hpp | 38 * to baseline memory blocks with their callsite information. 295 * A memory baseline summarizes memory usage by memory type, 337 // create a memory baseline 348 // reset the baseline for reuse 351 // baseline the snapshot 352 bool baseline(MemSnapshot& snapshot, bool summary_only = true); 354 bool baseline(const MemPointerArray* malloc_records, 420 // reset baseline values
|
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/ |
H A D | BasicTextFieldUI.java | 110 * Returns the baseline. 124 int baseline = insets.top; 129 baseline += slop / 2; 138 baseline += fieldBaseline; 142 baseline += fm.getAscent(); 144 return baseline; 151 * Returns an enum indicating how the baseline of the component
|
H A D | BasicHTML.java | 72 * Returns the baseline for the html renderer. 74 * @param view the View to get the baseline for 75 * @param w the width to get the baseline for 76 * @param h the height to get the baseline for 78 * @return baseline or a value < 0 indicating there is no reasonable 79 * baseline 96 * Gets the baseline for the specified component. This digs out 97 * the View client property, and if non-null the baseline is calculated 98 * from it. Otherwise the baseline is the value <code>y + ascent</code>. 104 int baseline [all...] |
H A D | BasicTextAreaUI.java | 180 * Returns the baseline. 196 int baseline = insets.top; 203 return baseline + fieldBaseline; 212 * Returns an enum indicating how the baseline of the component
|
H A D | BasicComboBoxUI.java | 184 * Whether or not all cells have the same baseline. 943 * Returns the baseline. 953 int baseline = -1; 970 // Note, we're assuming the baseline is the same for all 985 baseline = component.getBaseline(width, height); 988 baseline = editor.getBaseline(width, height); 990 if (baseline > 0) { 991 baseline += insets.top; 994 return baseline; 998 * Returns an enum indicating how the baseline o [all...] |
H A D | BasicScrollPaneUI.java | 357 * Returns the baseline. 384 int baseline = header.getBaseline(headerPref.width, 386 if (baseline >= 0) { 387 return y + baseline; 411 int baseline = view.getBaseline(width, height); 412 if (baseline > 0) { 413 return y + baseline; 421 * Returns an enum indicating how the baseline of the component 433 // If the header doesn't have a baseline than the baseline wil [all...] |
H A D | BasicTableHeaderUI.java | 586 * Returns the baseline. 595 int baseline = -1; 604 if (baseline == -1) { 605 baseline = columnBaseline; 607 else if (baseline != columnBaseline) { 608 baseline = -1; 613 return baseline;
|
H A D | BasicTabbedPaneUI.java | 189 private int baseline; field in class:BasicTabbedPaneUI 614 * Returns the baseline. 623 int baseline = calculateBaselineIfNecessary(); 624 if (baseline != -1) { 630 baseline += insets.top + tabAreaInsets.top; 631 return baseline; 633 baseline = height - insets.bottom - 634 tabAreaInsets.bottom - maxTabHeight + baseline; 635 return baseline; 638 baseline [all...] |
/openjdk7/jdk/src/share/classes/com/sun/tools/hat/ |
H A D | Main.java | 55 System.err.println("Usage: jhat [-stack <bool>] [-refs <bool>] [-port <port>] [-baseline <file>] [-debug <int>] [-version] [-h|-help] <file>"); 64 System.err.println("\t-baseline <file>: Specify a baseline object dump. Objects in"); 136 } else if ("-baseline".equals(key)) { 176 System.out.println("Reading baseline snapshot..."); 177 Snapshot baseline = null; 179 baseline = com.sun.tools.hat.internal.parser.Reader.readFile(baselineDump, false, 188 baseline.resolve(false); 190 model.markNewRelativeTo(baseline); 191 baseline [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/plaf/synth/ |
H A D | SynthLabelUI.java | 143 int baseline; 145 baseline = BasicHTML.getHTMLBaseline(view, textRect.width, 147 if (baseline >= 0) { 148 baseline += textRect.y; 152 baseline = textRect.y + fm.getAscent(); 155 return baseline;
|
H A D | SynthButtonUI.java | 220 int baseline; 222 baseline = BasicHTML.getHTMLBaseline(view, textRect.width, 224 if (baseline >= 0) { 225 baseline += textRect.y; 229 baseline = textRect.y + fm.getAscent(); 232 return baseline;
|
/openjdk7/jdk/src/share/classes/javax/swing/border/ |
H A D | TitledBorder.java | 557 * Returns the baseline. 582 int baseline = label.getBaseline(size.width, size.height); 585 return baseline; 589 ? baseline 590 : baseline + insets.top; 592 return baseline + insets.top + edge; 594 return baseline + height - size.height - insets.bottom - edge; 598 ? baseline + height - size.height 599 : baseline + height - size.height + insets.bottom; 601 return baseline [all...] |
/openjdk7/jdk/src/share/classes/java/awt/font/ |
H A D | TextLayout.java | 110 * broken into subruns sharing a common baseline, 118 * <code>TextLayout</code> object's baseline with its left edge. Also, 217 * multiple runs with different rotations can cause the baseline to 220 * baseline-relative coordinates' (e.g. ascent, advance), and others 222 * baseline-relative coordinates map the 'x' coordinate to the 223 * distance along the baseline, (positive x is forward along the 224 * baseline), and the 'y' coordinate to a distance along the 225 * perpendicular to the baseline at 'x' (postitive y is 90 degrees 226 * clockwise from the baseline vector). Values in standard 230 * measurement-related APIs are in baseline 242 private byte baseline; field in class:TextLayout 549 TextLayout(TextLine textLine, byte baseline, float[] baselineOffsets, float justifyRatio) argument [all...] |
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/windows/ |
H A D | WindowsProgressBarUI.java | 71 * Returns the baseline. 79 int baseline = super.getBaseline(c, width, height); 93 baseline = y + (height + metrics.getAscent() - 97 return baseline;
|
H A D | WindowsInternalFrameTitlePane.java | 137 int baseline = (getHeight() + fm.getAscent() - fm.getLeading() - 195 baseline + shadowOffset.y); 200 SwingUtilities2.drawString(frame, g, title, titleX, baseline);
|
/openjdk7/jdk/src/macosx/classes/com/apple/laf/ |
H A D | AquaTabbedPaneCopyFromBasicUI.java | 181 private int baseline; field in class:AquaTabbedPaneCopyFromBasicUI 585 * Returns the baseline. 594 int baseline = calculateBaselineIfNecessary(); 595 if (baseline != -1) { 601 baseline += insets.top + tabAreaInsets.top; 602 return baseline; 604 baseline = height - insets.bottom - tabAreaInsets.bottom - maxTabHeight + baseline; 605 return baseline; 608 baseline [all...] |