Home
last modified time | relevance | path

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

/frameworks/base/tools/layoutlib/bridge/src/android/text/
DStaticLayout_Delegate.java149 List<Primitive> primitives = in nComputeLineBreaks() local
153 builder.mLineBreaker = new GreedyLineBreaker(primitives, builder.mLineWidth, in nComputeLineBreaks()
160 builder.mLineBreaker = new OptimizingLineBreaker(primitives, builder.mLineWidth, in nComputeLineBreaks()
179 List<Primitive> primitives = new ArrayList<Primitive>(((int) Math.ceil(length * 1.833))); in computePrimitives() local
185 primitives.add(PrimitiveType.GLUE.getNewPrimitive(i, widths[i])); in computePrimitives()
187 primitives.add(PrimitiveType.VARIABLE.getNewPrimitive(i)); in computePrimitives()
199 primitives.add(p); in computePrimitives()
202 primitives.add(PrimitiveType.BOX.getNewPrimitive(i, widths[i])); in computePrimitives()
206 primitives.add( in computePrimitives()
208 return primitives; in computePrimitives()
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()
[all …]
DrsMesh.h51 RsPrimitive *primitives; member
75 mHal.state.primitives[index] = prim; in setPrimitive()
/frameworks/base/rs/java/android/renderscript/
DMesh.java157 int[] primitives = new int[idxCount]; in updateFromNative() local
160 mRS.nMeshGetIndices(getID(mRS), idxIDs, primitives, idxCount); in updateFromNative() local
178 mPrimitives[i] = Primitive.values()[primitives[i]]; in updateFromNative()
357 Primitive[] primitives = new Primitive[mIndexTypes.size()]; in create() local
387 primitives[ct] = entry.prim; in create()
397 newMesh.mPrimitives = primitives; in create()
518 Primitive[] primitives = new Primitive[mIndexTypes.size()]; in create() local
531 primitives[ct] = entry.prim; in create()
541 newMesh.mPrimitives = primitives; in create()
DRenderScript.java926 … native void rsnMeshGetIndices(long con, long id, long[] idxIds, int[] primitives, int vtxIdCount); in rsnMeshGetIndices() argument
927 synchronized void nMeshGetIndices(long id, long[] idxIds, int[] primitives, int vtxIdCount) { in nMeshGetIndices() argument
929 rsnMeshGetIndices(mContext, id, idxIds, primitives, vtxIdCount); in nMeshGetIndices()
/frameworks/native/opengl/libagl/
DAndroid.mk22 primitives.cpp.arm \
/frameworks/rs/driver/runtime/
Drs_mesh.c56 return mesh->mHal.state.primitives[index]; in rsgMeshGetPrimitive()
Drs_structs.h298 rs_primitive *primitives; member
/frameworks/rs/driver/
DrsdMeshObj.cpp187 switch (mRSMesh->mHal.state.primitives[i]) { in updateGLPrimitives()
/frameworks/base/docs/html/guide/components/
Daidl.jd33 memory of another process. So to talk, they need to decompose their objects into primitives that the
335 important because it allows the Android system to decompose objects into primitives that can be
Dbound-services.jd150 primitives that the operating system can understand and marshall them across processes to perform
/frameworks/base/docs/html/training/custom-views/
Dcustom-drawing.jd49 class defines methods for drawing text, lines, bitmaps, and many other graphics primitives. You can
/frameworks/data-binding/prebuilds/1.0-rc0/
Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...
/frameworks/rs/scriptc/
Drs_graphics.rsh1119 …* Returns: number of primitive groups in the mesh. This would include simple primitives as well as…
/frameworks/base/docs/html/training/articles/
Dperf-jni.jd246 primitives can be read and written directly as if they were declared in C.</p>
Dsmp.jd723 variety of barrier choices, many atomic primitives use full
/frameworks/base/docs/html/guide/topics/renderscript/reference/
Drs_graphics.jd1578 …<tr><td>number of primitive groups in the mesh. This would include simple primitives as well as al…
/frameworks/base/docs/html/about/versions/
Djelly-bean.jd1014 &mdash; pre-implemented <strong>filtering primitives that are