Searched refs:p1 (Results 226 - 250 of 325) sorted by relevance

1234567891011>>

/openjdk7/jdk/src/share/classes/javax/swing/text/
H A DCompositeView.java289 * @param p1 the position to convert >= 0
291 * next character represented by p1, in case the
300 public Shape modelToView(int p0, Position.Bias b0, int p1, Position.Bias b1, Shape a) throws BadLocationException { argument
301 if (p0 == getStartOffset() && p1 == getEndOffset()) {
310 Math.max(0, p1 - 1) : p1, r1);
316 return v0.modelToView(p0, b0, p1, b1, r0);
339 p1, b1, r1).getBounds();
357 p1, b1, r1);
H A DAbstractDocument.java916 * <code>p1</code> is left to right.
918 boolean isLeftToRight(int p0, int p1) { argument
925 if(bidiElem.getEndOffset() >= p1) {
1271 * @param p1 the end of the range >= p0
1274 protected Element createLeafElement(Element parent, AttributeSet a, int p0, int p1) { argument
1275 return new LeafElement(parent, a, p0, p1);
2261 int p1 = child.getEndOffset();
2262 if ((pos >= p0) && (pos < p1)) {
2376 int p1;
2389 p1
2642 private transient Position p1; field in class:AbstractDocument.LeafElement
[all...]
H A DStyledEditorKit.java448 int p1 = editor.getSelectionEnd();
449 if (p0 != p1) {
451 doc.setCharacterAttributes(p0, p1 - p0, attr, replace);
475 int p1 = editor.getSelectionEnd();
477 doc.setParagraphAttributes(p0, p1 - p0, attr, replace);
H A DView.java605 * @param p1 the position of the last character (>=0)
618 public Shape modelToView(int p0, Position.Bias b0, int p1, Position.Bias b1, Shape a) throws BadLocationException { argument
621 if (p1 == getEndOffset()) {
623 s1 = modelToView(p1, a, b1);
636 s1 = modelToView(p1, a, b1);
915 * @param p1 the ending offset > p0. This should be a value
922 public View createFragment(int p0, int p1) { argument
H A DDefaultCaret.java860 int p1 = Math.max(dot, mark);
863 selectionTag = h.addHighlight(p0, p1, p);
1107 int p1 = Math.max(dot, mark);
1109 // if p0 == p1 then there should be no highlight, remove it if necessary
1110 if (p0 == p1) {
1119 h.changeHighlight(selectionTag, p0, p1);
1122 selectionTag = h.addHighlight(p0, p1, p);
1344 int p1 = Math.max(getDot(), getMark());
1345 for (int i = p0; i < p1; i++) {
H A DParagraphView.java735 int p1 = v.getEndOffset();
736 float start = findEdgeSpan(v, axis, p0, p0, p1);
737 float end = findEdgeSpan(v, axis, p1, p0, p1);
757 private float findEdgeSpan(View v, int axis, int fp, int p0, int p1) { argument
758 int len = p1 - p0;
771 p1 = mid;
775 return findEdgeSpan(f, axis, fp, p0, p1);
H A DPlainDocument.java256 int p1 = map.getElement(line1).getEndOffset();
258 aelems[0] = createLeafElement(map, null, p0, p1);
/openjdk7/jdk/test/com/sun/jdi/
H A DGenericsTest.java60 tt method1(tt p1) { argument
62 System.out.println("method1: param is " + p1);
63 return p1;
72 String method1(String p1) { argument
73 System.out.println("method1 has been overridden: param is " + p1);
H A DAccessSpecifierTest.java106 P p0=new P(), p1[]={p0}, p2[][]={p1}; field in class:AccessSpecifierTarg
H A DArgumentValuesTest.java48 public static void varArgs(String ... p1) { argument
52 public static void genericArgs(List<Integer> p1) { argument
H A DInstancesTest.java65 InstancesFiller(int p1) { argument
66 xx = p1;
/openjdk7/jdk/test/javax/sound/midi/Gervill/ModelStandardIndexedDirector/
H A DModelStandardIndexedDirectorTest.java75 String p1 = treeToString(played);
80 if(!p1.equals(p2))
/openjdk7/langtools/test/tools/javac/processing/model/type/MirroredTypeEx/
H A DPlurality.java72 P1 p1 = e.getAnnotation(P1.class);
74 classes = p1.value();
/openjdk7/hotspot/agent/src/share/classes/com/sun/java/swing/ui/
H A DWizardDlg.java173 JPanel p1 = new JPanel();
174 p1.add(new JButton("One"));
182 panels.addElement(p1);
/openjdk7/jdk/src/share/classes/javax/swing/text/html/
H A DHRuleView.java254 int p1 = getEndOffset();
255 if ((pos >= p0) && (pos <= p1)) {
257 if (pos == p1) {
H A DImageView.java520 int p1 = getEndOffset();
521 if ((pos >= p0) && (pos <= p1)) {
523 if (pos == p1) {
973 public Segment getText(int p0, int p1) { argument
974 if (p0 < 0 || p1 > segment.array.length) {
978 segment.count = p1 - p0;
/openjdk7/jdk/test/java/io/File/
H A DCons.java53 String p1 = s.substring(0, i);
56 a.add(p1 + '/' + p2[j]);
58 a.add(p1 + '\\' + p2[j]);
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/
H A DBasicTextUI.java1145 * @param p1 the end of the range >= p0
1148 public void damageRange(JTextComponent tc, int p0, int p1) { argument
1149 damageRange(tc, p0, p1, Position.Bias.Forward, Position.Bias.Backward);
1157 * @param p1 the end of the range >= p0
1159 public void damageRange(JTextComponent t, int p0, int p1, argument
1171 p1, p1Bias, alloc);
1275 * @param p1 the ending offset >= p0
1278 public View create(Element elem, int p0, int p1) { argument
1522 * @param p1 the position to convert >= 0
1524 * next character represented by p1, i
1533 modelToView(int p0, Position.Bias b0, int p1, Position.Bias b1, Shape a) argument
2192 private int p1; field in class:BasicTextUI.TextTransferHandler
2637 Position p1; field in class:BasicTextUI.TextTransferHandler.TextTransferable
[all...]
H A DBasicTextFieldUI.java357 * @param p1 the position to convert >= 0
359 * next character represented by p1, in case the
369 int p1, Position.Bias b1, Shape a)
372 return super.modelToView(p0, b0, p1, b1, adjustAllocation(a));
368 modelToView(int p0, Position.Bias b0, int p1, Position.Bias b1, Shape a) argument
/openjdk7/jdk/src/share/classes/java/awt/geom/
H A DArc2D.java863 * line specified by points (p1, p2), the ending angle is tangent to
867 * @param p1 The first point that defines the arc. The starting
868 * angle of the arc is tangent to the line specified by points (p1, p2).
870 * angle of the arc is tangent to the line specified by points (p1, p2).
878 public void setArcByTangent(Point2D p1, Point2D p2, Point2D p3, argument
880 double ang1 = Math.atan2(p1.getY() - p2.getY(),
881 p1.getX() - p2.getX());
992 * @param p1 The <CODE>Point2D</CODE> that defines the arc's
998 public void setAngles(Point2D p1, Point2D p2) { argument
999 setAngles(p1
[all...]
/openjdk7/hotspot/src/share/vm/compiler/
H A Ddisassembler.cpp496 unsigned char* p1 = p; local
498 while (p1 < end) {
499 unsigned char* p0 = p1;
500 p1 += pd_instruction_alignment();
501 address bucket_pc = FlatProfiler::bucket_start_for(p1);
502 if (bucket_pc != NULL && bucket_pc > p0 && bucket_pc <= p1)
/openjdk7/hotspot/src/share/vm/opto/
H A Dsuperword.cpp344 SWPointer p1(s1, this);
346 if (!ref_is_alignable(p1)) {
354 if (p1.comparable(p2)) {
539 SWPointer p1(s1->as_Mem(), this);
547 int cmp = p1.cmp(p2);
549 p1.base() != p2.base() && p1.valid() && p2.valid()) {
551 OrderedPair pp(p1.base(), p2.base());
685 SWPointer p1(s1->as_Mem(), this);
687 if (p1
937 Node_List* p1 = _packset.at(i); local
956 Node_List* p1 = _packset.at(i); local
986 Node_List* p1 = _packset.at(i); local
[all...]
/openjdk7/jdk/src/solaris/classes/sun/java2d/xr/
H A DXRBackendNative.java177 public int createLinearGradient(Point2D p1, Point2D p2, float[] fractions, argument
183 XDoubleToFixed(p1.getX()), XDoubleToFixed(p1.getY()),
H A DXRBackend.java108 public int createLinearGradient(Point2D p1, Point2D p2, float[] fractions, argument
/openjdk7/jdk/src/share/back/
H A DSDE.c192 * Return 1 if p1 is a SourceName for stratum sti,
196 searchOneSourceName(int sti, char *p1) { argument
202 if (patternMatch(fileTable[ii].sourceName, p1)) {
210 * Return 1 if p1 is a SourceName for any stratum
215 char *p1) {
223 if (searchOneSourceName(ii, p1) == 1) {
213 searchAllSourceNames(JNIEnv *env, jclass clazz, char *p1) argument

Completed in 109 milliseconds

1234567891011>>