Searched refs:primitives (Results 1 – 16 of 16) sorted by relevance
152 List<Primitive> primitives = in nComputeLineBreaks() local156 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() local190 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 …]
35 public LineBreaker(@NonNull List<Primitive> primitives, @NonNull LineWidth lineWidth, in LineBreaker() argument37 mPrimitives = Collections.unmodifiableList(primitives); in LineBreaker()
32 public GreedyLineBreaker(@NonNull List<Primitive> primitives, @NonNull LineWidth lineWidth, in GreedyLineBreaker() argument34 super(primitives, lineWidth, tabStops); in GreedyLineBreaker()
38 public OptimizingLineBreaker(@NonNull List<Primitive> primitives, @NonNull LineWidth lineWidth, in OptimizingLineBreaker() argument40 super(primitives, lineWidth, tabStops); in OptimizingLineBreaker()
26 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() local132 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()
51 RsPrimitive *primitives; member75 mHal.state.primitives[index] = prim; in setPrimitive()
48 primType[ct] = sm->mHal.state.primitives[ct]; in rsaMeshGetIndices()
158 int[] primitives = new int[idxCount]; in updateFromNative() local161 mRS.nMeshGetIndices(getID(mRS), idxIDs, primitives, idxCount); in updateFromNative() local179 mPrimitives[i] = Primitive.values()[primitives[i]]; in updateFromNative()358 Primitive[] primitives = new Primitive[mIndexTypes.size()]; in create() local388 primitives[ct] = entry.prim; in create()398 newMesh.mPrimitives = primitives; in create()519 Primitive[] primitives = new Primitive[mIndexTypes.size()]; in create() local532 primitives[ct] = entry.prim; in create()542 newMesh.mPrimitives = primitives; in create()
960 … native void rsnMeshGetIndices(long con, long id, long[] idxIds, int[] primitives, int vtxIdCount); in rsnMeshGetIndices() argument961 synchronized void nMeshGetIndices(long id, long[] idxIds, int[] primitives, int vtxIdCount) { in nMeshGetIndices() argument963 rsnMeshGetIndices(mContext, id, idxIds, primitives, vtxIdCount); in nMeshGetIndices()
205 private Long[] convertToLong(long[] primitives) { in convertToLong() argument206 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()
22 primitives.cpp.arm \
60 return mesh->mHal.state.primitives[index]; in rsgMeshGetPrimitive()
298 rs_primitive *primitives; member
191 switch (mRSMesh->mHal.state.primitives[i]) { in updateGLPrimitives()
META-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...
1119 …* Returns: number of primitive groups in the mesh. This would include simple primitives as well as…