Searched refs:positions (Results 1 - 25 of 29) sorted by relevance

12

/openjdk7/hotspot/src/share/tools/IdealGraphVisualizer/Util/src/com/sun/hotspot/igv/util/
H A DRangeSliderModel.java43 private List<String> positions; field in class:RangeSliderModel
50 changed |= (positions != model.positions);
51 positions = model.positions;
66 public RangeSliderModel(List<String> positions) { argument
67 assert positions.size() > 0;
70 setPositions(positions);
73 protected void setPositions(List<String> positions) { argument
74 this.positions
[all...]
/openjdk7/jdk/src/share/classes/sun/font/
H A DStandardGlyphVector.java77 * this means a glyph transform affects the positions of all
80 * bounds including the glyph transform, and the positions are as
81 * computed, and the advances are the deltas between the positions.
125 * the transformed glyph advances will affect the glyph positions.
141 private float[] positions; // only if not default advances field in class:StandardGlyphVector
143 private int flags; // indicates whether positions, charIndices is interesting
184 public StandardGlyphVector(Font font, FontRenderContext frc, int[] glyphs, float[] positions, argument
186 initGlyphVector(font, frc, glyphs, positions, indices, flags);
210 positions[i] += delta;
214 positions[position
220 initGlyphVector(Font font, FontRenderContext frc, int[] glyphs, float[] positions, int[] indices, int flags) argument
929 setupGlyphImages(long[] images, float[] positions, double[] devTX) argument
1591 setupGlyphImages(long[] images, float[] positions, AffineTransform tx) argument
1773 getGlyphPosition(int glyphID, int ix, float[] positions, float[] result) argument
[all...]
H A DGlyphList.java112 float positions[]; field in class:GlyphList
132 * calculates glyph positions which already needs to access this
136 * When this is true and the glyph positions as determined by the
137 * advances are non-integral, it requests adjustment of the positions.
166 positions = new float[len * 2 + 2];
294 usePositions ? positions : null,
321 * Note that a laid out GlyphVector which has assigned glyph positions
332 metrics[0] = (int)Math.floor(positions[(i<<1)] + gposx + gx);
333 metrics[1] = (int)Math.floor(positions[(i<<1)+1] + gposy + gy);
392 return positions;
[all...]
H A DGlyphLayout.java170 * glyphs, positions, and character indices to the glyphvector data, and advance the point.
482 // ie default positions. This will be a lot better than the alternative of
611 float[] positions = null;
613 positions = new float[_count * 2 + 2];
614 System.arraycopy(_positions, 0, positions, 0, positions.length);
624 result = new StandardGlyphVector(font, frc, glyphs, positions, indices, _flags);
626 result.initGlyphVector(font, frc, glyphs, positions, indices, _flags);
/openjdk7/langtools/test/tools/javac/
H A DT6472751.java56 static SourcePositions positions; field in class:T6472751
61 positions = trees.getSourcePositions();
74 long pos = positions.getStartPosition(null,node);
/openjdk7/jdk/src/share/native/sun/java2d/opengl/
H A DOGLTextRenderer.h55 unsigned char *images, unsigned char *positions);
H A DOGLTextRenderer.c1067 unsigned char *images, unsigned char *positions)
1077 RETURN_IF_NULL(positions);
1099 jfloat posx = NEXT_FLOAT(positions);
1100 jfloat posy = NEXT_FLOAT(positions);
1184 unsigned char *positions = (unsigned char *) local
1186 if (positions != NULL) {
1191 images, positions);
1193 positions, JNI_ABORT);
1063 OGLTR_DrawGlyphList(JNIEnv *env, OGLContext *oglc, OGLSDOps *dstOps, jint totalGlyphs, jboolean usePositions, jboolean subPixPos, jboolean rgbOrder, jint lcdContrast, jfloat glyphListOrigX, jfloat glyphListOrigY, unsigned char *images, unsigned char *positions) argument
/openjdk7/jdk/src/share/classes/sun/java2d/pipe/
H A DBufferedTextPipe.java134 float[] positions = gl.getPositions();
135 buf.put(positions, 0, 2*totalGlyphs);
161 long[] images, float[] positions);
157 drawGlyphList(int numGlyphs, boolean usePositions, boolean subPixPos, boolean rgbOrder, int lcdContrast, float glOrigX, float glOrigY, long[] images, float[] positions) argument
/openjdk7/jdk/src/windows/native/sun/java2d/d3d/
H A DD3DTextRenderer.h94 unsigned char *images, unsigned char *positions);
H A DD3DTextRenderer.cpp765 unsigned char *images, unsigned char *positions)
776 RETURN_STATUS_IF_NULL(positions, E_FAIL);
798 jfloat posx = NEXT_FLOAT(positions);
799 jfloat posy = NEXT_FLOAT(positions);
884 unsigned char *positions = (unsigned char *) local
886 if (positions != NULL) {
891 images, positions);
893 positions, JNI_ABORT);
761 D3DTR_DrawGlyphList(D3DContext *d3dc, D3DSDOps *dstOps, jint totalGlyphs, jboolean usePositions, jboolean subPixPos, jboolean rgbOrder, jint lcdContrast, jfloat glyphListOrigX, jfloat glyphListOrigY, unsigned char *images, unsigned char *positions) argument
H A DD3DRenderQueue.cpp386 unsigned char *positions; local
389 positions = (b + numGlyphs * BYTES_PER_GLYPH_IMAGE);
392 positions = NULL;
399 images, positions);
/openjdk7/jdk/src/solaris/classes/sun/font/
H A DXRTextRenderer.java83 float[] positions = gl.getPositions();
105 float x = positions[i * 2] + advX;
106 float y = positions[i * 2 + 1] + advY;
/openjdk7/jdk/src/windows/classes/sun/java2d/d3d/
H A DD3DTextRenderer.java46 long[] images, float[] positions);
42 drawGlyphList(int numGlyphs, boolean usePositions, boolean subPixPos, boolean rgbOrder, int lcdContrast, float glOrigX, float glOrigY, long[] images, float[] positions) argument
/openjdk7/jdk/src/share/native/sun/font/layout/
H A DSunLayoutEngine.cpp121 JNU_ThrowInternalError(env, "positions array null");
135 jfloat* positions = (jfloat*)env->GetPrimitiveArrayCritical(posArray, NULL); local
136 if (positions) {
141 engine->getGlyphPositions(positions + (count * 2), status);
146 // !!! need engine->getFlags to signal positions, indices data
152 env->ReleasePrimitiveArrayCritical(posArray, positions, 0);
215 // !!! hmmm, could use current value in positions array of GVData...
H A DLEGlyphStorage.h84 * The glyph positions array.
221 * @param positions - the destiniation position array
226 void getGlyphPositions(float positions[], LEErrorCode &success) const;
259 * This method allocates the storage for the glyph positions. It allocates one extra X, Y
262 * @param success set to an error code if the positions array cannot be allocated.
381 * all of the relevant glyph information ( glyph, indices, positions, and auxData ),
H A DLEGlyphStorage.cpp150 // FIXME: do we want to initialize the positions to [0, 0]?
412 void LEGlyphStorage::getGlyphPositions(float positions[], LEErrorCode &success) const argument
418 if (positions == NULL) {
428 LE_ARRAY_COPY(positions, fPositions, fGlyphCount * 2 + 2);
H A DLayoutEngine.h61 * an array of character indices for the glyphs, and an array of glyph positions.
79 * 3) Glyph position adjustments - adjustment of glyph positions for kerning,
240 * This method does basic glyph positioning. The default implementation positions
268 * @param glyphStorage - the object which holds the per-glyph storage. The glyph positions will be
328 * @param glyphStorage - the object containing the per-glyph storage. The positions array will be modified.
348 * @param glyphStorage - the object containing the per-glyph storage. The positions array will be modified.
466 * @param positions - the destiniation position array
471 void getGlyphPositions(float positions[], LEErrorCode &success) const;
/openjdk7/jdk/src/share/classes/sun/java2d/opengl/
H A DOGLTextRenderer.java46 long[] images, float[] positions);
42 drawGlyphList(int numGlyphs, boolean usePositions, boolean subPixPos, boolean rgbOrder, int lcdContrast, float glOrigX, float glOrigY, long[] images, float[] positions) argument
/openjdk7/jdk/src/share/classes/javax/swing/text/
H A DStringContent.java174 // some small documents won't have any sticky positions
293 * in <code>positions</code>.
298 * @param positions the positions of the instances
300 protected void updateUndoPositions(Vector positions) { argument
301 for(int counter = positions.size() - 1; counter >= 0; counter--) {
302 UndoPosRef ref = (UndoPosRef)positions.elementAt(counter);
305 positions.removeElementAt(counter);
H A DGapContent.java49 * The positions tracking change are also generally cheap to
751 * in <code>positions</code>.
756 * @param positions the UndoPosRef instances to reset
758 protected void updateUndoPositions(Vector positions, int offset, argument
774 for(int counter = positions.size() - 1; counter >= 0; counter--) {
775 UndoPosRef ref = (UndoPosRef)positions.elementAt(counter);
787 // If the offset is 0, the positions won't have incremented,
/openjdk7/jdk/src/share/native/sun/font/
H A DDrawGlyphList.c57 jfloat* positions = NULL; local
84 * to round down the glyph positions to integral pixel positions.
91 positions =
93 if (positions == NULL) {
101 jfloat px = x + positions[++n];
102 jfloat py = y + positions[++n];
114 positions, JNI_ABORT);
484 jfloat* positions = NULL; local
543 positions
[all...]
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/jvm/
H A DCRTable.java37 * ending positions.
53 /** The hashtable for source positions.
55 private Map<Object,SourceRange> positions = new HashMap<Object,SourceRange>(); field in class:CRTable
57 /** The hashtable for ending positions stored in the parser.
84 /** Compute source positions and write CRT to the databuf.
91 // compute source positions for the method
103 SourceRange pos = positions.get(entry.tree);
104 Assert.checkNonNull(pos, "CRT: tree source positions are undefined");
163 /** Source file positions in CRT are integers in the format:
185 * This class contains methods to compute source positions fo
[all...]
/openjdk7/jdk/src/macosx/native/sun/awt/
H A DCTextPipe.m397 // Fills the glyph buffer with glyphs from the GlyphVector object. Also checks to see if the glyph's positions have been
398 // already caculated from GlyphVector, or we simply ask Core Graphics to make some advances for us. Pre-calculated positions
429 static JNF_MEMBER_CACHE(jm_StandardGlyphVector_positions, jc_StandardGlyphVector, "positions", "[F");
433 // in this case, the positions have already been pre-calculated for us on the Java side
435 jfloat *positions = (*env)->GetPrimitiveArrayCritical(env, posArray, NULL);
437 prev.x = positions[0];
438 prev.y = positions[1];
445 // for each position, figure out the advance (since CG won't take positions directly)
451 pt.x = positions[i2];
452 pt.y = positions[i
[all...]
/openjdk7/jdk/src/share/classes/java/text/
H A DDecimalFormat.java1171 * <code>FieldPosition</code>s in <code>positions</code>.
1173 * If one of the <code>FieldPosition</code>s in <code>positions</code>
1183 FieldPosition[] positions,
1189 for (int counter = 0, max = positions.length; counter < max;
1191 FieldPosition fp = positions[counter];
2058 ArrayList positions = null;
2077 if (positions == null) {
2078 positions = new ArrayList(2);
2083 positions.add(fp);
2104 if (positions
1181 append(StringBuffer result, String string, FieldDelegate delegate, FieldPosition[] positions, Format.Field signAttribute) argument
[all...]
/openjdk7/jdk/src/windows/classes/sun/awt/windows/
H A DWPrinterJob.java1111 float[] positions) {
1113 * If control chars are removed, 'positions' isn't valid.
1115 * control chars up front if supplying positions. Since the
1119 assert (positions == null) || (text.length() == str.length());
1123 textOut(getPrintDC(), text, text.length(), false, x, y, positions);
1131 float[] positions) {
1136 * not characters. The positions array must always be non-null
1146 textOut(getPrintDC(), glyphStr, glyphs.length, true, x, y, positions);
1494 float x, float y, float[] positions);
1110 textOut(String str, float x, float y, float[] positions) argument
1130 glyphsOut(int []glyphs, float x, float y, float[] positions) argument
1492 textOut(long printDC, String text, int strlen, boolean glyphs, float x, float y, float[] positions) argument

Completed in 315 milliseconds

12