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

1234

/external/icu4c/samples/layout/
H A Drsurface.cpp17 const float *positions, le_int32 x, le_int32 y, le_int32 width, le_int32 height)
21 rs->drawGlyphs((const LEFontInstance *) font, glyphs, count, positions, x, y, width, height);
16 rs_drawGlyphs(rs_surface *surface, const le_font *font, const LEGlyphID *glyphs, le_int32 count, const float *positions, le_int32 x, le_int32 y, le_int32 width, le_int32 height) argument
H A DRenderingSurface.h27 const float *positions, le_int32 x, le_int32 y, le_int32 width, le_int32 height) = 0;
H A Drsurface.h17 const float *positions, le_int32 x, le_int32 y, le_int32 width, le_int32 height);
H A DGnomeFontInstance.cpp42 const float *positions, le_int32 x, le_int32 y, le_int32 /*width*/, le_int32 /*height*/)
46 gFont->rasterizeGlyphs(fCairo, glyphs, count, positions, x, y);
178 void GnomeFontInstance::rasterizeGlyphs(cairo_t *cairo, const LEGlyphID *glyphs, le_int32 glyphCount, const float *positions, argument
189 glyph_t[out].x = x + positions[in*2];
190 glyph_t[out].y = y + positions[in*2 + 1];
41 drawGlyphs(const LEFontInstance *font, const LEGlyphID *glyphs, le_int32 count, const float *positions, le_int32 x, le_int32 y, le_int32 , le_int32 ) argument
/external/v8/test/mjsunit/
H A Ddebug-liveedit-patch-positions.js32 // positions patched. Accoring to a special markup of function text
53 var positions = new Array();
57 positions.push(match.index);
59 return positions;
62 function ReadPCMap(func, positions) {
64 for (var i = 0; i < positions.length; i++) {
65 var pc = Debug.LiveEdit.GetPcFromSourcePos(func, positions[i]);
/external/jmonkeyengine/engine/src/core/com/jme3/scene/debug/
H A DArrow.java53 private static final float[] positions = new float[]{ field in class:Arrow
82 float[] newPositions = new float[positions.length];
83 for (int i = 0; i < positions.length; i += 3) {
84 Vector3f vec = tempVec.set(positions[i],
85 positions[i + 1],
86 positions[i + 2]);
125 for (int i = 0; i < positions.length; i += 3) {
126 Vector3f vec = tempVec.set(positions[i],
127 positions[i + 1],
128 positions[
[all...]
/external/dexmaker/src/dx/java/com/android/dx/dex/code/
H A DDalvCode.java54 * {@code null-ok;} source positions list; set in
57 private PositionList positions; field in class:DalvCode
95 this.positions = null;
109 positions = PositionList.make(insns, positionInfo);
200 * Gets the source positions list.
202 * @return {@code non-null;} the source positions list
206 return positions;
210 * Gets the source positions list.
212 * @return {@code non-null;} the source positions list
/external/replicaisland/src/com/replica/replicaisland/
H A DGrid.java150 public void set(int quadX, int quadY, float[][] positions, float[][] uvs) { argument
157 if (positions.length < 4) {
158 throw new IllegalArgumentException("positions");
167 setVertex(i, j, positions[0][0], positions[0][1], positions[0][2], uvs[0][0], uvs[0][1]);
168 setVertex(i + 1, j, positions[1][0], positions[1][1], positions[1][2], uvs[1][0], uvs[1][1]);
169 setVertex(i, j + 1, positions[
[all...]
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/textures/
H A DUVProjectionGenerator.java34 FloatBuffer positions = mesh.getFloatBuffer(VertexBuffer.Type.Position);
35 float[] uvCoordinates = new float[positions.limit() / 3 * 2];
36 for (int i = 0, j = 0; i < positions.limit(); i += 3, j += 2) {
37 uvCoordinates[j] = (positions.get(i) - min.x) / ext[0];
38 uvCoordinates[j + 1] = (positions.get(i + 1) - min.y) / ext[1];
117 FloatBuffer positions = mesh.getFloatBuffer(VertexBuffer.Type.Position);
118 float[] uvCoordinates = new float[positions.limit() / 3 * 2];
124 for (int i = 0, j = 0; i < positions.limit(); i += 3, j += 2) {
126 v.set(positions.get(i)-cx, positions
[all...]
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/lodcalc/util/
H A DEntropyComputeUtil.java29 // Vertex positions for the block
30 FloatBuffer positions = terrainBlock.getFloatBuffer(Type.Position);
50 for (int i = 0; i < positions.capacity() / 3; i++){
51 BufferUtils.populateFromBuffer(pos, positions, i);
/external/icu4c/test/letest/
H A Dletest.h40 float *positions; member in struct:TestResult
H A Dcletest.c44 float *positions = NULL; local
62 positions = NEW_ARRAY(float, glyphCount + 10);
113 le_getGlyphPositions(engine, positions, &status);
116 log_err("Calling getGlyphPositions(positions, status) on an empty layout did not return LE_NO_LAYOUT_ERROR.\n");
119 DELETE_ARRAY(positions);
217 float positions[6 * 2 + 2]; local
238 le_getGlyphPositions(engine, positions, &status);
271 if (x != positions[glyph*2] || y != positions[glyph*2 + 1]) {
273 glyph, x, y, positions[glyp
[all...]
H A Dgendata.cpp166 float *positions = NULL; local
261 positions = NEW_ARRAY(float, glyphCount * 2 + 2);
265 engine->getGlyphPositions(positions, leStatus);
271 dumpFloats(outputFile, "result-positions", positions, glyphCount * 2 + 2);
275 DELETE_ARRAY(positions);
H A Dxmlreader.cpp151 UnicodeString result_positions = UNICODE_STRING_SIMPLE("result-positions");
180 UnicodeString text, glyphs, indices, positions; local
216 positions = element->getText(TRUE);
228 expected.positions = getFloatArray(positions, positionCount);
241 DELETE_ARRAY(expected.positions);
H A Dletest.cpp61 float *positions = NULL; local
71 positions = NEW_ARRAY(float, glyphCount + 10);
136 engine->getGlyphPositions(positions, status);
139 log_err("Calling getGlyphPositions(positions, status) on an empty layout did not return LE_NO_LAYOUT_ERROR.\n");
142 DELETE_ARRAY(positions);
247 float positions[6 * 2 + 2]; local
268 engine->getGlyphPositions(positions, status);
315 if (x != positions[glyph*2] || y != positions[glyph*2 + 1]) {
317 glyph, x, y, positions[glyp
611 UnicodeString text, glyphs, indices, positions; local
[all...]
/external/harfbuzz/src/
H A Dharfbuzz-buffer.c36 * always have same allocated size, but different length and positions.
75 if ( buffer->positions )
77 if ( REALLOC_ARRAY( buffer->positions, new_allocated, HB_PositionRec ) )
140 buffer->positions = NULL;
155 FREE( buffer->positions );
211 if ( !buffer->positions )
215 if ( ALLOC_ARRAY( buffer->positions, buffer->allocated, HB_PositionRec ) )
219 memset (buffer->positions, 0, sizeof (buffer->positions[0]) * buffer->in_length);
/external/webkit/Source/WebCore/platform/graphics/mac/
H A DFontMac.mm110 Vector<CGPoint, 256> positions(count);
113 positions[i] = CGPointApplyAffineTransform(CGPointMake(position.x - translation.width, position.y + translation.height), transform);
117 CGContextShowGlyphsAtPositions(context, glyphs, positions.data(), count);
127 Vector<CGPoint, 256> positions(count);
129 positions[0] = CGPointZero;
132 positions[i].x = positions[i - 1].x + advance.width;
133 positions[i].y = positions[i - 1].y + advance.height;
135 CTFontDrawGlyphs(platformData.ctFont(), glyphs, positions
[all...]
/external/jmonkeyengine/engine/src/core/com/jme3/effect/
H A DParticleTriMesh.java65 // set positions
161 FloatBuffer positions = (FloatBuffer) pvb.getData();
188 positions.clear();
197 positions.put(0).put(0).put(0);
198 positions.put(0).put(0).put(0);
199 positions.put(0).put(0).put(0);
200 positions.put(0).put(0).put(0);
232 positions.put(p.position.x + left.x + up.x)
236 positions.put(p.position.x - left.x + up.x)
240 positions
[all...]
H A DParticlePointMesh.java63 // set positions
117 FloatBuffer positions = (FloatBuffer) pvb.getData();
131 positions.rewind();
138 positions.put(p.position.x)
155 positions.flip();
161 pvb.updateData(positions);
/external/openfst/src/include/fst/extensions/far/
H A Dsttable.h248 const vector<int64> &positions = positions_[id]; local
249 size_t low = 0, high = positions.size() - 1;
253 strm->seekg(positions[mid]);
262 strm->seekg(positions[i - 1]);
265 strm->seekg(positions[i]);
269 strm->seekg(positions[low]);
273 strm->seekg(positions[low]);
314 vector<vector<int64> > positions_; // Index of positions for each stream
/external/qemu/distrib/sdl-1.2.15/test/
H A Dtestsprite.c18 SDL_Rect *positions; variable
75 position = &positions[i];
236 positions = sprite_rects;
244 positions[i].x = rand()%(screen->w - sprite_w);
245 positions[i].y = rand()%(screen->h - sprite_h);
246 positions[i].w = sprite->w;
247 positions[i].h = sprite->h;
/external/icu4c/layoutex/
H A DParagraphLayout.cpp394 fStyleRunInfo[run].positions = NULL;
430 // For each layout get the positions and convert them into glyph widths, in
452 fStyleRunInfo[run].positions = LE_NEW_ARRAY(float, glyphCount * 2 + 2);
454 (fStyleRunInfo[run].positions == NULL)) {
465 engine->getGlyphPositions(fStyleRunInfo[run].positions, layoutStatus);
478 fGlyphWidths[glyphBase + glyph] = fStyleRunInfo[run].positions[glyph * 2 + 2] - fStyleRunInfo[run].positions[glyph * 2];
591 LE_DELETE_ARRAY(fStyleRunInfo[run].positions);
594 fStyleRunInfo[run].positions = NULL;
1090 fVisualRunLastX -= fStyleRunInfo[run].positions[leftGlyp
1099 float *positions = LE_NEW_ARRAY(float, glyphCount * 2 + 2); local
1204 const float *positions = lastRun->getPositions(); local
1218 append(const LEFontInstance *font, UBiDiDirection direction, le_int32 glyphCount, const LEGlyphID glyphs[], const float positions[], const le_int32 glyphToCharMap[]) argument
[all...]
/external/icu4c/layoutex/layout/
H A DParagraphLayout.h180 const LEGlyphID glyphs[], const float positions[], const le_int32 glyphToCharMap[]);
187 * <code>LEGlyphIDs</code>, an array of (x, y) glyph positions and
247 * Get the (x, y) positions of the glyphs in the visual run. To simplify storage
248 * management, the x and y positions are stored in a single array with the x positions
253 * @return the address of the array of glyph positions for this visual run. The storage
341 const LEGlyphID glyphs[], const float positions[], const le_int32 glyphToCharMap[]);
560 float *positions; member in struct:ParagraphLayout::StyleRunInfo
728 const LEGlyphID glyphs[], const float positions[], const le_int32 glyphToCharMap[])
730 fGlyphs(glyphs), fPositions(positions), fGlyphToCharMa
727 VisualRun(const LEFontInstance *font, UBiDiDirection direction, le_int32 glyphCount, const LEGlyphID glyphs[], const float positions[], const le_int32 glyphToCharMap[]) argument
[all...]
/external/chromium/chrome/browser/resources/shared/js/cr/ui/table/
H A Dtable_data_model.js197 var positions = [];
199 positions[this.indexes_[i]] = i;
205 sortPermutation[positions[this.indexes_[i]]] = i;
/external/icu4c/layout/
H A Dloengine.cpp121 float positions[],
131 le->getGlyphPositions(positions, *success);
120 le_getGlyphPositions(le_engine *engine, float positions[], LEErrorCode *success) argument

Completed in 428 milliseconds

1234