HomeSort by relevance Sort by last modified time
    Searched refs:positions (Results 126 - 150 of 852) sorted by null

1 2 3 4 56 7 8 91011>>

  /prebuilts/misc/windows/sdl2/test/
testsprite2.c 32 static SDL_Rect *positions; variable
46 SDL_free(positions);
196 position = &positions[i];
223 position = &positions[i];
321 positions = (SDL_Rect *) SDL_malloc(num_sprites * sizeof(SDL_Rect));
323 if (!positions || !velocities) {
338 positions[i].x = SDLTest_RandomIntegerInRange(0, state->window_w - sprite_w);
339 positions[i].y = SDLTest_RandomIntegerInRange(0, state->window_h - sprite_h);
340 positions[i].w = sprite_w;
341 positions[i].h = sprite_h
    [all...]
  /frameworks/native/libs/input/
VelocityTracker.cpp 228 void VelocityTracker::addMovement(nsecs_t eventTime, BitSet32 idBits, const Position* positions) {
250 mStrategy->addMovement(eventTime, idBits, positions);
263 id, positions[index].x, positions[index].y,
321 Position positions[pointerCount]; local
328 positions[index].x = event->getHistoricalRawX(i, h);
329 positions[index].y = event->getHistoricalRawY(i, h);
331 addMovement(eventTime, idBits, positions);
337 positions[index].x = event->getRawX(i);
338 positions[index].y = event->getRawY(i)
    [all...]
  /external/deqp/modules/gles3/stress/
es3sLongRunningShaderTests.cpp 242 void genPositions (const tcu::RenderTarget& renderTarget, int numPoints, Vec2* positions)
257 positions[pointNdx] = Vec2(xf, yf);
277 vector<Vec2> positions (m_params->numInvocations);
281 vertexArrays.push_back(glu::va::Float("a_position", 2, (int)positions.size(), 0, positions[0].getPtr()));
285 genPositions(m_context.getRenderTarget(), (int)positions.size(), &positions[0]);
  /external/icu/icu4c/source/layoutex/
ParagraphLayout.cpp 399 fStyleRunInfo[run].positions = NULL;
435 // For each layout get the positions and convert them into glyph widths, in
457 fStyleRunInfo[run].positions = LE_NEW_ARRAY(float, glyphCount * 2 + 2);
459 (fStyleRunInfo[run].positions == NULL)) {
470 engine->getGlyphPositions(fStyleRunInfo[run].positions, layoutStatus);
483 fGlyphWidths[glyphBase + glyph] = fStyleRunInfo[run].positions[glyph * 2 + 2] - fStyleRunInfo[run].positions[glyph * 2];
596 LE_DELETE_ARRAY(fStyleRunInfo[run].positions);
599 fStyleRunInfo[run].positions = NULL;
1104 float *positions = LE_NEW_ARRAY(float, glyphCount * 2 + 2); local
1209 const float *positions = lastRun->getPositions(); local
    [all...]
  /external/icu/icu4c/source/test/letest/
cletest.c 48 float *positions = NULL; local
66 positions = NEW_ARRAY(float, glyphCount + 10);
117 le_getGlyphPositions(engine, positions, &status);
120 log_err("Calling getGlyphPositions(positions, status) on an empty layout did not return LE_NO_LAYOUT_ERROR.\n");
123 DELETE_ARRAY(positions);
221 float positions[6 * 2 + 2]; local
242 le_getGlyphPositions(engine, positions, &status);
275 if (x != positions[glyph*2] || y != positions[glyph*2 + 1]) {
277 glyph, x, y, positions[glyph*2], positions[glyph*2 + 1])
    [all...]
xmlreader.cpp 153 UnicodeString result_positions = UNICODE_STRING_SIMPLE("result-positions");
182 UnicodeString text, glyphs, indices, positions; local
218 positions = element->getText(TRUE);
230 expected.positions = getFloatArray(positions, positionCount);
243 DELETE_ARRAY(expected.positions);
letest.cpp 63 float *positions = NULL; local
73 positions = NEW_ARRAY(float, glyphCount + 10);
138 engine->getGlyphPositions(positions, status);
141 log_err("Calling getGlyphPositions(positions, status) on an empty layout did not return LE_NO_LAYOUT_ERROR.\n");
144 DELETE_ARRAY(positions);
249 float positions[6 * 2 + 2]; local
270 engine->getGlyphPositions(positions, status);
317 if (x != positions[glyph*2] || y != positions[glyph*2 + 1]) {
319 glyph, x, y, positions[glyph*2], positions[glyph*2 + 1])
614 UnicodeString text, glyphs, indices, positions; local
    [all...]
  /external/deqp/modules/gles2/functional/
es2fBufferTestUtil.cpp 315 static void computePositions (vector<tcu::Vec2>& positions, int gridSizeX, int gridSizeY)
317 positions.resize(gridSizeX*gridSizeY*4);
332 positions[baseNdx+0] = tcu::Vec2(fx0, fy0);
333 positions[baseNdx+1] = tcu::Vec2(fx0, fy1);
334 positions[baseNdx+2] = tcu::Vec2(fx1, fy0);
335 positions[baseNdx+3] = tcu::Vec2(fx1, fy1);
420 vector<tcu::Vec2> positions;
428 computePositions(positions, maxQuadsX, maxQuadsY);
440 glVertexAttribPointer (m_posLoc, 2, GL_FLOAT, GL_FALSE, 0, &positions[0]);
576 std::vector<tcu::Vec2> positions;
    [all...]
  /external/icu/icu4c/source/layoutex/layout/
ParagraphLayout.h 189 const LEGlyphID glyphs[], const float positions[], const le_int32 glyphToCharMap[]);
196 * <code>LEGlyphIDs</code>, an array of (x, y) glyph positions and
256 * Get the (x, y) positions of the glyphs in the visual run. To simplify storage
257 * management, the x and y positions are stored in a single array with the x positions
262 * @return the address of the array of glyph positions for this visual run. The storage
350 const LEGlyphID glyphs[], const float positions[], const le_int32 glyphToCharMap[]);
572 float *positions; member in struct:ParagraphLayout::StyleRunInfo
740 const LEGlyphID glyphs[], const float positions[], const le_int32 glyphToCharMap[])
742 fGlyphs(glyphs), fPositions(positions), fGlyphToCharMap(glyphToCharMap
    [all...]
  /external/icu/icu4c/source/test/perf/leperf/
xmlreader.cpp 157 UnicodeString result_positions = UNICODE_STRING_SIMPLE("result-positions");
186 UnicodeString text, glyphs, indices, positions; local
222 positions = element->getText(TRUE);
234 expected.positions = getFloatArray(positions, positionCount);
247 DELETE_ARRAY(expected.positions);
  /external/lzma/Java/Tukaani/src/org/tukaani/xz/lz/
LZEncoder.java 45 static void normalize(int[] positions, int normalizationOffset) {
46 for (int i = 0; i < positions.length; ++i) {
47 if (positions[i] <= normalizationOffset)
48 positions[i] = 0;
50 positions[i] -= normalizationOffset;
  /frameworks/support/leanback/src/main/java/androidx/leanback/widget/
Grid.java 337 * Return array of int array for all rows, each int array contains visible item positions
347 * Return array of int array for all rows, each int array contains visible item positions
457 * location so recyclerview will run a slide out animation. The positions that was greater than
458 * last visible index will be appended to end, the positions that was smaller than first visible
460 * @param positions Sorted list of positions of disappearing items.
463 public void fillDisappearingItems(int[] positions, int positionsLength,
467 ? Arrays.binarySearch(positions, 0, positionsLength, lastPos) : 0;
478 int disappearingIndex = positions[i];
495 ? Arrays.binarySearch(positions, 0, positionsLength, firstPos) : 0
    [all...]
  /external/libchrome/base/strings/
string_util.cc 297 TrimPositions positions,
305 const size_t first_good_char = (positions & TRIM_LEADING) ?
307 const size_t last_good_char = (positions & TRIM_TRAILING) ?
317 return input_was_empty ? TRIM_NONE : positions;
345 TrimPositions positions) {
346 size_t begin = (positions & TRIM_LEADING) ?
348 size_t end = (positions & TRIM_TRAILING) ?
355 TrimPositions positions) {
356 return TrimStringPieceT(input, trim_chars, positions);
361 TrimPositions positions) {
    [all...]
string_util.h 220 TrimPositions positions);
223 TrimPositions positions);
239 TrimPositions positions,
242 TrimPositions positions);
244 TrimPositions positions,
247 TrimPositions positions);
  /external/skia/tests/
VerticesTest.cpp 33 if (v0->positions()[i] != v1->positions()[i]) {
69 builder.positions()[i].set(x, 1);
  /external/skqp/tests/
VerticesTest.cpp 33 if (v0->positions()[i] != v1->positions()[i]) {
69 builder.positions()[i].set(x, 1);
  /frameworks/base/libs/hwui/font/
Font.h 81 const float* positions);
111 const float* positions);
114 const float* positions);
  /frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/
LinearLayoutManagerPrepareForDropTest.java 148 int[] positions = mSelectTargetChildren.selectTargetChildren(mRecyclerView.getChildCount()); local
149 final View fromChild = mLayoutManager.getChildAt(positions[0]);
151 final View onChild = mLayoutManager.getChildAt(positions[1]);
  /external/deqp/modules/gles3/functional/
es3fRasterizationTests.cpp 876 outTriangles[0].positions[0] = outData[0]; outTriangles[0].sharedEdge[0] = false;
877 outTriangles[0].positions[1] = outData[1]; outTriangles[0].sharedEdge[1] = false;
878 outTriangles[0].positions[2] = outData[2]; outTriangles[0].sharedEdge[2] = false;
880 outTriangles[1].positions[0] = outData[3]; outTriangles[1].sharedEdge[0] = false;
881 outTriangles[1].positions[1] = outData[4]; outTriangles[1].sharedEdge[1] = false;
882 outTriangles[1].positions[2] = outData[5]; outTriangles[1].sharedEdge[2] = false;
891 << "\n\t" << outTriangles[triangleNdx].positions[0]
892 << "\n\t" << outTriangles[triangleNdx].positions[1]
893 << "\n\t" << outTriangles[triangleNdx].positions[2]
944 outTriangles[0].positions[0] = outData[0]; outTriangles[0].sharedEdge[0] = false
    [all...]
  /external/deqp/external/vulkancts/modules/vulkan/protected_memory/
vktProtectedMemCopyImageToBufferTests.cpp 381 DE_ASSERT(testData[ndx].data.positions[0].x() < MAX_POSITION);
382 DE_ASSERT(testData[ndx].data.positions[1].x() < MAX_POSITION);
383 DE_ASSERT(testData[ndx].data.positions[2].x() < MAX_POSITION);
384 DE_ASSERT(testData[ndx].data.positions[3].x() < MAX_POSITION);
413 DE_ASSERT(data.positions[0].x() < MAX_POSITION);
414 DE_ASSERT(data.positions[1].x() < MAX_POSITION);
415 DE_ASSERT(data.positions[2].x() < MAX_POSITION);
416 DE_ASSERT(data.positions[3].x() < MAX_POSITION);
  /external/deqp/external/vulkancts/modules/vulkan/rasterization/
vktRasterizationTests.cpp     [all...]
  /external/deqp/framework/common/
tcuRasterizationVerifier.hpp 64 tcu::Vec4 positions[3]; member in struct:tcu::TriangleSceneSpec::SceneTriangle
76 tcu::Vec4 positions[2]; member in struct:tcu::LineSceneSpec::SceneLine
  /external/skia/bench/
HardStopGradientBench_SpecialHardStops.cpp 86 SkScalar* positions = fKind == Kind::k001 ? pos_001 : variable
94 positions,
  /external/skia/gm/
hardstop_gradients.cpp 114 SkScalar* positions[NUM_ROWS] = { variable
149 positions[cellRow],
  /external/skqp/bench/
HardStopGradientBench_SpecialHardStops.cpp 86 SkScalar* positions = fKind == Kind::k001 ? pos_001 : variable
94 positions,

Completed in 5895 milliseconds

1 2 3 4 56 7 8 91011>>