/external/icu4c/samples/layout/ |
H A D | rsurface.cpp | 17 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 D | RenderingSurface.h | 27 const float *positions, le_int32 x, le_int32 y, le_int32 width, le_int32 height) = 0;
|
H A D | rsurface.h | 17 const float *positions, le_int32 x, le_int32 y, le_int32 width, le_int32 height);
|
H A D | GnomeFontInstance.cpp | 42 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 D | debug-liveedit-patch-positions.js | 32 // 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 D | Arrow.java | 53 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/harfbuzz_ng/test/api/ |
H A D | test-shape.c | 38 /* TODO Test positions too. And test non-native direction. Test commit 2e18c6dbdfb */ 93 hb_glyph_position_t *positions; local 117 positions = hb_buffer_get_glyph_positions (buffer, NULL); 130 g_assert_cmpint (output_x_advances[i], ==, positions[i].x_advance); 131 g_assert_cmpint (output_x_offsets [i], ==, positions[i].x_offset); 132 g_assert_cmpint (0, ==, positions[i].y_advance); 133 g_assert_cmpint (0, ==, positions[i].y_offset);
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
H A D | MediaPlayerTest.java | 27 int[] positions = {0, 1, 2, 1024}; 29 for (int position : positions) {
|
/external/dexmaker/src/dx/java/com/android/dx/dex/code/ |
H A D | DalvCode.java | 54 * {@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 D | Grid.java | 150 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 D | UVProjectionGenerator.java | 34 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 D | EntropyComputeUtil.java | 29 // 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 D | letest.h | 40 float *positions; member in struct:TestResult
|
/external/harfbuzz/src/ |
H A D | harfbuzz-buffer.c | 36 * 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/harfbuzz_ng/src/hb-old/ |
H A D | harfbuzz-buffer.c | 36 * 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/harfbuzz_ng/src/ |
H A D | hb-icu-le.cc | 171 ALLOCATE_ARRAY (float, positions, glyph_count * 2 + 2); 175 le_getGlyphPositions (le, positions, &status); 193 info[j].mask = positions[2 * i + 2] - positions[2 * i]; 195 info[j].var2.u32 = -positions[2 * i + 1];
|
H A D | test.cc | 108 hb_glyph_position_t *positions = hb_buffer_get_glyph_positions (buffer, NULL); local 113 hb_glyph_position_t *pos = &positions[i];
|
H A D | hb-coretext.cc | 268 const CGPoint* positions = CTRunGetPositionsPtr (run); local 269 if (!positions) { 272 positions = position_buf; 287 double advance = (j + 1 < num_glyphs ? positions[j + 1].x : positions[0].x + run_width) - positions[j].x; 298 info->var2.u32 = positions[j].y;
|
/external/webkit/Source/WebCore/platform/graphics/mac/ |
H A D | FontMac.mm | 110 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 D | ParticleTriMesh.java | 65 // 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...] |
/external/harfbuzz_ng/src/hb-icu-le/ |
H A D | letest.h | 52 float *positions; member in struct:TestResult
|
/external/eigen/unsupported/Eigen/src/SparseExtra/ |
H A D | RandomSetter.h | 239 VectorXi positions(mp_target->outerSize()); 240 positions.setZero(); 248 ++positions[outer]; 255 Index tmp = positions[j]; 257 positions[j] = count; 277 Index i = (positions[outer]++) - 1;
|
/external/openfst/src/include/fst/extensions/far/ |
H A D | sttable.h | 249 const vector<int64> &positions = positions_[id]; local 250 size_t low = 0, high = positions.size() - 1; 254 strm->seekg(positions[mid]); 263 strm->seekg(positions[i - 1]); 266 strm->seekg(positions[i]); 270 strm->seekg(positions[low]); 274 strm->seekg(positions[low]); 315 vector<vector<int64> > positions_; // Index of positions for each stream
|
/external/qemu/distrib/sdl-1.2.15/test/ |
H A D | testsprite.c | 18 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 D | ParagraphLayout.cpp | 394 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...] |