Searched defs:positions (Results 1 - 25 of 50) sorted by relevance

12

/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/harfbuzz_ng/src/hb-icu-le/
H A Dletest.h52 float *positions; member in struct:TestResult
/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 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
H A DGDIFontInstance.cpp53 void GDISurface::drawGlyphs(const LEFontInstance *font, const LEGlyphID *glyphs, le_int32 count, const float *positions, argument
72 dx[out] = (le_int32) (positions[g * 2 + 2] - positions[g * 2]);
73 ps[out * 2] = positions[g * 2];
74 ps[out * 2 + 1] = positions[g * 2 + 1];
H A Dparagraph.cpp242 const float *positions = visualRun->getPositions(); local
244 surface->drawGlyphs(font, glyphs, glyphCount, positions, x, y, fWidth, fHeight);
/external/icu4c/test/letest/
H A Dletest.h40 float *positions; member in struct:TestResult
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);
/external/harfbuzz_ng/src/
H A Dtest.cc108 hb_glyph_position_t *positions = hb_buffer_get_glyph_positions (buffer, NULL); local
113 hb_glyph_position_t *pos = &positions[i];
H A Dhb-coretext.cc268 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/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/harfbuzz/src/
H A Dharfbuzz-buffer.h76 HB_Position positions; member in struct:HB_BufferRec_
/external/harfbuzz_ng/src/hb-old/
H A Dharfbuzz-buffer.h76 HB_Position positions; member in struct:HB_BufferRec_
/external/harfbuzz_ng/test/api/
H A Dtest-shape.c38 /* 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);
H A Dtest-buffer.c292 hb_glyph_position_t *positions; local
294 /* Without shaping, positions should all be zero */
297 positions = hb_buffer_get_glyph_positions (b, &len2);
300 g_assert_cmpint (0, ==, positions[i].x_advance);
301 g_assert_cmpint (0, ==, positions[i].y_advance);
302 g_assert_cmpint (0, ==, positions[i].x_offset);
303 g_assert_cmpint (0, ==, positions[i].y_offset);
304 g_assert_cmpint (0, ==, positions[i].var.i32);
631 /* illegal code positions */
/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
H A DLEGlyphStorage.cpp125 // FIXME: do we want to initialize the positions to [0, 0]?
387 void LEGlyphStorage::getGlyphPositions(float positions[], LEErrorCode &success) const argument
393 if (positions == NULL) {
403 LE_ARRAY_COPY(positions, fPositions, fGlyphCount * 2 + 2);
/external/chromium/chrome/browser/net/
H A Durl_fixer_upper.cc77 TrimPositions positions,
85 TrimPositions result = TrimWhitespace(input_wide, positions, &output_wide);
76 TrimWhitespaceUTF8(const std::string& input, TrimPositions positions, std::string* output) argument
/external/dexmaker/src/dx/java/com/android/dx/dex/file/
H A DDebugInfoDecoder.java48 /** positions decoded */
49 private final ArrayList<PositionEntry> positions; field in class:DebugInfoDecoder
107 positions = new ArrayList<PositionEntry>();
183 * Gets the decoded positions list.
186 * @return positions list in ascending address order.
189 return positions;
400 positions.add(new PositionEntry(address, line));
457 "Decoded positions table not same size was "
H A DDebugInfoEncoder.java58 /** {@code null-ok;} positions (line numbers) to encode */
59 private final PositionList positions; field in class:DebugInfoEncoder
99 * @param positions {@code null-ok;} positions (line numbers) to encode
108 public DebugInfoEncoder(PositionList positions, LocalList locals, argument
111 this.positions = positions;
341 * Emits all positions that occur at the current {@code address}
344 * @param sortedPositions positions, sorted by ascending address
364 * @param sortedPositions positions, sorte
[all...]
/external/openfst/src/include/fst/extensions/far/
H A Dsttable.h249 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 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/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/chromium/base/
H A Dstring_util_unittest.cc23 const TrimPositions positions; member in struct:base::trim_case
41 const TrimPositions positions; member in struct:base::trim_case_ascii
232 TrimWhitespace(value.input, value.positions, &output));
250 TrimWhitespace(value.input, value.positions, &output_ascii));

Completed in 496 milliseconds

12