Home
last modified time | relevance | path

Searched refs:alignment (Results 1 – 6 of 6) sorted by relevance

/cts/tests/openglperf2/jni/reference/scene/flocking/
DBoid.cpp26 Vector2D alignment; in flock() local
46 alignment.add(b->mVelocity); in flock()
62 alignment.scale(1.0f / alignmentCount); in flock()
63 alignment.limit(MAX_FORCE); in flock()
64 alignment.scale(ALIGNMENT_WEIGHT); in flock()
65 mAcceleration.add(alignment); in flock()
/cts/hostsidetests/securitybulletin/securityPatch/includes/
Dmemutils.c90 void *memalign(size_t alignment, size_t size) { in memalign() argument
96 return real_memalign(alignment, size); in memalign()
107 return real_memalign(alignment, size); in memalign()
110 if (alignment > page_size) { in memalign()
111 return real_memalign(alignment, size); in memalign()
114 if ((0 == page_size) || (0 == alignment) || (0 == size)) { in memalign()
115 return real_memalign(alignment, size); in memalign()
Dmemutils_track.c53 void *memalign(size_t alignment, size_t size) { in memalign() argument
57 void* mem_ptr = real_memalign(alignment, size); in memalign()
/cts/tests/tests/widget/src/android/widget/cts/
DGridLayoutTest.java282 Alignment alignment = HORIZONTAL_ALIGNMENTS[j]; in verifyGridAlignment() local
285 verifyCellAlignment(row, col, alignment, v0, table[row][col], "column"); in verifyGridAlignment()
293 Alignment alignment = VERTICAL_ALIGNMENTS[i]; in verifyGridAlignment() local
296 verifyCellAlignment(row, col, alignment, v0, table[row][col], "row"); in verifyGridAlignment()
/cts/tests/tests/text/src/android/text/cts/
DLayoutBuilderTest.kt77 assertThat(layout.alignment).isEqualTo(Alignment.ALIGN_NORMAL) in buildBoringDefaults()
105 assertThat(layout.alignment).isEqualTo(Alignment.ALIGN_NORMAL) in buildStaticDefaults()
135 assertThat(boringLayout.alignment).isEqualTo(Alignment.ALIGN_OPPOSITE) in buildLayout_SetGetAlignment()
140 assertThat(staticLayout.alignment).isEqualTo(Alignment.ALIGN_OPPOSITE) in buildLayout_SetGetAlignment()
/cts/tests/tests/renderscript/src/android/renderscript/cts/
Dsmall_structs.rscript39 // (so that non-trivial alignment rules apply).