/frameworks/base/libs/protoutil/tests/ |
D | ProtoOutputStream_test.cpp | 71 PrimitiveProto primitives; in TEST() local 72 ASSERT_TRUE(primitives.ParseFromString(flushToString(&proto))); in TEST() 73 EXPECT_EQ(primitives.val_int32(), 123); in TEST() 74 EXPECT_EQ(primitives.val_int64(), -1); in TEST() 75 EXPECT_EQ(primitives.val_float(), -23.5f); in TEST() 76 EXPECT_EQ(primitives.val_double(), 324.5f); in TEST() 77 EXPECT_EQ(primitives.val_uint32(), 3424); in TEST() 78 EXPECT_EQ(primitives.val_uint64(), 57); in TEST() 79 EXPECT_EQ(primitives.val_fixed32(), -20); in TEST() 80 EXPECT_EQ(primitives.val_fixed64(), -37); in TEST() [all …]
|
/frameworks/layoutlib/bridge/src/android/graphics/text/ |
D | LineBreaker_Delegate.java | 121 List<Primitive> primitives = in nComputeLineBreaks() local 125 builder.mLineBreaker = new GreedyLineBreaker(primitives, builder.mLineWidth, in nComputeLineBreaks() 132 builder.mLineBreaker = new OptimizingLineBreaker(primitives, builder.mLineWidth, in nComputeLineBreaks() 137 builder.mLineBreaker = new GreedyLineBreaker(primitives, builder.mLineWidth, in nComputeLineBreaks() 200 List<Primitive> primitives = new ArrayList<Primitive>(((int) Math.ceil(length * 1.833))); in computePrimitives() local 206 primitives.add(PrimitiveType.GLUE.getNewPrimitive(i, widths[i])); in computePrimitives() 208 primitives.add(PrimitiveType.VARIABLE.getNewPrimitive(i)); in computePrimitives() 220 primitives.add(p); in computePrimitives() 223 primitives.add(PrimitiveType.BOX.getNewPrimitive(i, widths[i])); in computePrimitives() 227 primitives.add( in computePrimitives() [all …]
|
D | BaseLineBreaker.java | 37 public BaseLineBreaker(@NonNull List<Primitive> primitives, @NonNull LineWidth lineWidth, in BaseLineBreaker() argument 39 mPrimitives = Collections.unmodifiableList(primitives); in BaseLineBreaker()
|
D | GreedyLineBreaker.java | 30 public GreedyLineBreaker(@NonNull List<Primitive> primitives, @NonNull LineWidth lineWidth, in GreedyLineBreaker() argument 32 super(primitives, lineWidth, tabStops); in GreedyLineBreaker()
|
D | OptimizingLineBreaker.java | 38 public OptimizingLineBreaker(@NonNull List<Primitive> primitives, @NonNull LineWidth lineWidth, in OptimizingLineBreaker() argument 40 super(primitives, lineWidth, tabStops); in OptimizingLineBreaker()
|
/frameworks/rs/ |
D | rsMesh.cpp | 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() 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()
|
D | rsMesh.h | 51 RsPrimitive *primitives; member 75 mHal.state.primitives[index] = prim; in setPrimitive()
|
D | rsApiMesh.cpp | 48 primType[ct] = sm->mHal.state.primitives[ct]; in rsaMeshGetIndices()
|
/frameworks/base/rs/java/android/renderscript/ |
D | Mesh.java | 163 int[] primitives = new int[idxCount]; in updateFromNative() local 166 mRS.nMeshGetIndices(getID(mRS), idxIDs, primitives, idxCount); in updateFromNative() local 184 mPrimitives[i] = Primitive.values()[primitives[i]]; in updateFromNative() 363 Primitive[] primitives = new Primitive[mIndexTypes.size()]; in create() local 393 primitives[ct] = entry.prim; in create() 403 newMesh.mPrimitives = primitives; in create() 529 Primitive[] primitives = new Primitive[mIndexTypes.size()]; in create() local 542 primitives[ct] = entry.prim; in create() 552 newMesh.mPrimitives = primitives; in create()
|
/frameworks/opt/calendar/tests/src/com/android/calendarcommon2/ |
D | RecurrenceSetTest.java | 205 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/ |
D | Android.bp | 77 "primitives.cpp",
|
/frameworks/base/services/robotests/backup/src/com/android/server/backup/encryption/chunk/ |
D | EncryptedChunkOrderingTest.java | 23 import com.google.common.primitives.Bytes;
|
D | ChunkHashTest.java | 23 import com.google.common.primitives.Bytes;
|
/frameworks/base/services/robotests/backup/src/com/android/server/backup/encryption/chunking/ |
D | RawBackupWriterTest.java | 27 import com.google.common.primitives.Bytes;
|
D | DiffScriptBackupWriterTest.java | 27 import com.google.common.primitives.Bytes;
|
D | EncryptedChunkTest.java | 27 import com.google.common.primitives.Bytes;
|
/frameworks/rs/driver/runtime/ |
D | rs_mesh.c | 60 return mesh->mHal.state.primitives[index]; in rsgMeshGetPrimitive()
|
D | rs_structs.h | 298 rs_primitive *primitives; member
|
/frameworks/rs/tests/java_api/RSTestBackward19/ |
D | Android.mk | 83 $(my_rs_unit_tests_path)/primitives.rscript\
|
/frameworks/rs/tests/java_api/RSTest_CompatLib19/ |
D | Android.mk | 89 $(my_rs_unit_tests_path)/primitives.rscript\
|
/frameworks/rs/tests/java_api/RSTestForward/21.1.2/ |
D | Android.mk | 98 $(my_rs_unit_tests_path)/primitives.rscript\
|
/frameworks/rs/tests/java_api/RSTestForward/22.0.1/ |
D | Android.mk | 98 $(my_rs_unit_tests_path)/primitives.rscript\
|
/frameworks/rs/tests/java_api/RSTestForward/23.0.3/ |
D | Android.mk | 108 $(my_rs_unit_tests_path)/primitives.rscript\
|
/frameworks/rs/tests/java_api/RSTestForward/24.0.3/ |
D | Android.mk | 116 $(my_rs_unit_tests_path)/primitives.rscript\
|
/frameworks/rs/driver/ |
D | rsdMeshObj.cpp | 191 switch (mRSMesh->mHal.state.primitives[i]) { in updateGLPrimitives()
|