Home
last modified time | relevance | path

Searched refs:primitives (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/tools/layoutlib/bridge/src/android/text/
DStaticLayout_Delegate.java152 List<Primitive> primitives = in nComputeLineBreaks() local
156 builder.mLineBreaker = new GreedyLineBreaker(primitives, builder.mLineWidth, in nComputeLineBreaks()
163 builder.mLineBreaker = new OptimizingLineBreaker(primitives, builder.mLineWidth, in nComputeLineBreaks()
168 builder.mLineBreaker = new GreedyLineBreaker(primitives, builder.mLineWidth, in nComputeLineBreaks()
184 List<Primitive> primitives = new ArrayList<Primitive>(((int) Math.ceil(length * 1.833))); in computePrimitives() local
190 primitives.add(PrimitiveType.GLUE.getNewPrimitive(i, widths[i])); in computePrimitives()
192 primitives.add(PrimitiveType.VARIABLE.getNewPrimitive(i)); in computePrimitives()
204 primitives.add(p); in computePrimitives()
207 primitives.add(PrimitiveType.BOX.getNewPrimitive(i, widths[i])); in computePrimitives()
211 primitives.add( in computePrimitives()
[all …]
DLineBreaker.java35 public LineBreaker(@NonNull List<Primitive> primitives, @NonNull LineWidth lineWidth, in LineBreaker() argument
37 mPrimitives = Collections.unmodifiableList(primitives); in LineBreaker()
DGreedyLineBreaker.java32 public GreedyLineBreaker(@NonNull List<Primitive> primitives, @NonNull LineWidth lineWidth, in GreedyLineBreaker() argument
34 super(primitives, lineWidth, tabStops); in GreedyLineBreaker()
DOptimizingLineBreaker.java38 public OptimizingLineBreaker(@NonNull List<Primitive> primitives, @NonNull LineWidth lineWidth, in OptimizingLineBreaker() argument
40 super(primitives, lineWidth, tabStops); in OptimizingLineBreaker()
/frameworks/rs/
DrsMesh.cpp26 mHal.state.primitives = nullptr; in Mesh()
44 mHal.state.primitives = new RsPrimitive[mHal.state.primitivesCount]; in Mesh()
47 mHal.state.primitives[i] = RS_PRIMITIVE_POINT; in Mesh()
68 delete[] mHal.state.primitives; in ~Mesh()
95 stream->addU8((uint8_t)mHal.state.primitives[pCount]); in serialize()
129 RsPrimitive *primitives = nullptr; in createFromStream() local
132 primitives = new RsPrimitive[primitivesCount]; in createFromStream()
136 primitives[pCount] = (RsPrimitive)stream->loadU8(); in createFromStream()
153 mesh->setPrimitive(indexBuffers[pCount].get(), primitives[pCount], pCount); in createFromStream()
162 delete[] primitives; in createFromStream()
DrsMesh.h51 RsPrimitive *primitives; member
75 mHal.state.primitives[index] = prim; in setPrimitive()
DrsApiMesh.cpp48 primType[ct] = sm->mHal.state.primitives[ct]; in rsaMeshGetIndices()
/frameworks/base/rs/java/android/renderscript/
DMesh.java158 int[] primitives = new int[idxCount]; in updateFromNative() local
161 mRS.nMeshGetIndices(getID(mRS), idxIDs, primitives, idxCount); in updateFromNative() local
179 mPrimitives[i] = Primitive.values()[primitives[i]]; in updateFromNative()
358 Primitive[] primitives = new Primitive[mIndexTypes.size()]; in create() local
388 primitives[ct] = entry.prim; in create()
398 newMesh.mPrimitives = primitives; in create()
519 Primitive[] primitives = new Primitive[mIndexTypes.size()]; in create() local
532 primitives[ct] = entry.prim; in create()
542 newMesh.mPrimitives = primitives; in create()
DRenderScript.java960 … native void rsnMeshGetIndices(long con, long id, long[] idxIds, int[] primitives, int vtxIdCount); in rsnMeshGetIndices() argument
961 synchronized void nMeshGetIndices(long id, long[] idxIds, int[] primitives, int vtxIdCount) { in nMeshGetIndices() argument
963 rsnMeshGetIndices(mContext, id, idxIds, primitives, vtxIdCount); in nMeshGetIndices()
/frameworks/opt/calendar/tests/src/com/android/calendarcommon2/
DRecurrenceSetTest.java205 private Long[] convertToLong(long[] primitives) { in convertToLong() argument
206 if (primitives == null) { in convertToLong()
209 final Long[] datesLong = new Long[primitives.length]; in convertToLong()
210 for (int i = 0; i < primitives.length; ++i) { in convertToLong()
211 datesLong[i] = primitives[i]; in convertToLong()
/frameworks/native/opengl/libagl/
DAndroid.mk22 primitives.cpp.arm \
/frameworks/rs/driver/runtime/
Drs_mesh.c60 return mesh->mHal.state.primitives[index]; in rsgMeshGetPrimitive()
Drs_structs.h298 rs_primitive *primitives; member
/frameworks/rs/driver/
DrsdMeshObj.cpp191 switch (mRSMesh->mHal.state.primitives[i]) { in updateGLPrimitives()
/frameworks/data-binding/prebuilds/1.0-rc0/
Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...
/frameworks/rs/script_api/include/
Drs_graphics.rsh1119 …* Returns: number of primitive groups in the mesh. This would include simple primitives as well as…