/external/icu/icu4c/source/samples/layout/ |
H A D | rsurface.cpp | 20 const float *positions, le_int32 x, le_int32 y, le_int32 width, le_int32 height) 24 rs->drawGlyphs((const LEFontInstance *) font, glyphs, count, positions, x, y, width, height); 19 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 | 33 const float *positions, le_int32 x, le_int32 y, le_int32 width, le_int32 height) = 0;
|
H A D | rsurface.h | 20 const float *positions, le_int32 x, le_int32 y, le_int32 width, le_int32 height);
|
H A D | GnomeFontInstance.cpp | 48 const float *positions, le_int32 x, le_int32 y, le_int32 /*width*/, le_int32 /*height*/) 52 gFont->rasterizeGlyphs(fCairo, glyphs, count, positions, x, y); 184 void GnomeFontInstance::rasterizeGlyphs(cairo_t *cairo, const LEGlyphID *glyphs, le_int32 glyphCount, const float *positions, argument 195 glyph_t[out].x = x + positions[in*2]; 196 glyph_t[out].y = y + positions[in*2 + 1]; 47 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/jacoco/org.jacoco.report/src/org/jacoco/report/internal/html/table/ |
H A D | SortIndex.java | 49 private int[] positions; field in class:SortIndex 75 if (positions == null || positions.length < items.size()) { 76 positions = new int[items.size()]; 80 positions[e.idx] = pos++; 93 return positions[idx];
|
/external/jline/src/src/main/java/jline/ |
H A D | MultiCompletor.java | 47 int[] positions = new int[completors.length]; 53 positions[i] = completors[i].complete(buffer, pos, copies[i]); 58 for (int i = 0; i < positions.length; i++) { 59 maxposition = Math.max(maxposition, positions[i]); 65 if (positions[i] == maxposition) {
|
/external/guice/core/src/com/google/inject/spi/ |
H A D | ElementSource.java | 149 * it returns -1 for all module positions. 153 Integer[] positions = new Integer[size]; 155 positions[0] = chunkSize - 1; 159 positions[cursor] = positions[cursor - 1] + chunkSize; 162 return ImmutableList.<Integer>copyOf(positions);
|
/external/skia/bench/ |
H A D | HardStopGradientBench_ScaleNumHardStops.cpp | 59 // space positions after that 60 SkAutoTArray<SkScalar> positions(fColorCount); 64 positions[k++] = val / fColorCount; 65 positions[k++] = val / fColorCount; 68 positions[i] = i / (fColorCount - 1.0f); 73 positions.get(),
|
H A D | HardStopGradientBench_ScaleNumColors.cpp | 51 * different colors. The positions are evenly spaced, 77 SkScalar positions[100]; variable 78 positions[0] = 0.0f; 79 positions[1] = 0.0f; 82 positions[i] = i / (fColorCount - 1.0f); 87 positions,
|
H A D | GLInstancedArraysBench.cpp | 35 * kUseOne_VboSetup - one vertex buffer with colors and positions interleaved 36 * kUseTwo_VboSetup - two vertex buffers, one for colors, one for positions 183 SkPoint positions[kVerticesPerTri]; local 184 positions[0].set(-1.0f, -1.0f); 185 positions[1].set( 1.0f, -1.0f); 186 positions[2].set( 1.0f, 1.0f); 187 viewMatrices[0].mapPointsWithStride(positions, sizeof(SkPoint), kVerticesPerTri); 203 GR_GL_CALL(gl, BufferData(GR_GL_ARRAY_BUFFER, sizeof(positions), positions, GR_GL_STATIC_DRAW)); 224 SkPoint positions[kVerticesPerTr local [all...] |
/external/skia/tools/lua/ |
H A D | gradients.lua | 56 if not LuaDoubleNearlyEqual(g.positions[j], (j-1)/(g.colorCount-1)) then 64 if LuaDoubleNearlyEqual(g.positions[j], g.positions[j-1]) then 72 gradients[i].positions = {} 74 gradients[i].positions[j] = g.positions[j] 87 pos = pos .. v.positions[j]
|
/external/robolectric/v1/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/v8/src/compiler/ |
H A D | graph-visualizer.h | 32 AsJSON(const Graph& g, SourcePositionTable* p) : graph(g), positions(p) {} 34 const SourcePositionTable* positions; member in struct:v8::internal::compiler::AsJSON 54 const SourcePositionTable* positions = nullptr, 58 positions_(positions),
|
/external/skia/include/core/ |
H A D | SkVertices.h | 28 const SkPoint positions[], 35 const SkPoint positions[], 38 return MakeCopy(mode, vertexCount, positions, texs, colors, 0, nullptr); 56 SkPoint* positions(); 84 const SkPoint* positions() const { return fPositions; } function in class:SkVertices 34 MakeCopy(SkCanvas::VertexMode mode, int vertexCount, const SkPoint positions[], const SkPoint texs[], const SkColor colors[]) argument
|
/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/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/icu/icu4c/source/test/letest/ |
H A D | letest.h | 47 float *positions; member in struct:TestResult
|
/external/skia/src/gpu/ops/ |
H A D | GrDrawVerticesOp.cpp | 15 const SkPoint* positions, int vertexCount, const uint16_t* indices, int indexCount, 19 SkASSERT(positions); 25 sk_sp<SkVertices> vertices = SkVertices::MakeCopy(kIgnoredMode, vertexCount, positions, 109 // If we have multiple view matrices we will transform the positions into device space. We 110 // must then also provide untransformed positions as local coords. 183 const SkPoint* positions = mesh.fVertices->positions(); local 201 Sk2f p = Sk2f::Load(positions++) + t; 213 mesh.fViewMatrix.mapPoints(((SkPoint*)verts), &positions[j], 1); 215 *((SkPoint*)verts) = positions[ 13 Make( GrColor color, GrPrimitiveType primitiveType, const SkMatrix& viewMatrix, const SkPoint* positions, int vertexCount, const uint16_t* indices, int indexCount, const uint32_t* colors, const SkPoint* localCoords, const SkRect& bounds, GrRenderTargetContext::ColorArrayType colorArrayType) argument 338 randomize_params(size_t count, size_t maxVertex, SkScalar min, SkScalar max, SkRandom* random, SkTArray<SkPoint>* positions, SkTArray<SkPoint>* texCoords, bool hasTexCoords, SkTArray<uint32_t>* colors, bool hasColors, SkTArray<uint16_t>* indices, bool hasIndices) argument 363 SkTArray<SkPoint> positions; local 377 &positions, &texCoords, hasTexCoords, &colors, hasColors, &indices, local 382 random, &positions, &texCoords, hasTexCoords, &colors, hasColors, &indices, local [all...] |
/external/deqp/modules/gles2/functional/ |
H A D | es2fRasterizationTests.cpp | 599 outTriangles[0].positions[0] = outData[0]; outTriangles[0].sharedEdge[0] = false; 600 outTriangles[0].positions[1] = outData[1]; outTriangles[0].sharedEdge[1] = false; 601 outTriangles[0].positions[2] = outData[2]; outTriangles[0].sharedEdge[2] = false; 603 outTriangles[1].positions[0] = outData[3]; outTriangles[1].sharedEdge[0] = false; 604 outTriangles[1].positions[1] = outData[4]; outTriangles[1].sharedEdge[1] = false; 605 outTriangles[1].positions[2] = outData[5]; outTriangles[1].sharedEdge[2] = false; 614 << "\n\t" << outTriangles[triangleNdx].positions[0] 615 << "\n\t" << outTriangles[triangleNdx].positions[1] 616 << "\n\t" << outTriangles[triangleNdx].positions[2] 667 outTriangles[0].positions[ [all...] |
/external/icu/icu4c/source/test/perf/leperf/ |
H A D | leperf.cpp | 45 float *positions = NULL; local 51 positions = LE_NEW_ARRAY(float, glyphCount + 10); 58 delete positions;
|
/external/skia/tests/ |
H A D | VerticesTest.cpp | 30 if (v0->positions()[i] != v1->positions()[i]) { 66 builder.positions()[i].set(x, 1);
|
/external/deqp/framework/common/ |
H A D | tcuRasterizationVerifier.hpp | 63 tcu::Vec4 positions[3]; member in struct:tcu::TriangleSceneSpec::SceneTriangle 75 tcu::Vec4 positions[2]; member in struct:tcu::LineSceneSpec::SceneLine
|
H A D | tcuRasterizationVerifier.cpp | 143 tcu::Vec2(triangle.positions[0].x() / triangle.positions[0].w(), triangle.positions[0].y() / triangle.positions[0].w()), 144 tcu::Vec2(triangle.positions[1].x() / triangle.positions[1].w(), triangle.positions[1].y() / triangle.positions[1].w()), 145 tcu::Vec2(triangle.positions[2].x() / triangle.positions[ [all...] |
/external/harfbuzz_ng/src/ |
H A D | sample.py | 69 positions = hb.buffer_get_glyph_positions (buf) variable 71 for info,pos in zip(infos, positions):
|
/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;
|