/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/ |
D | FaceSquareFilter.java | 68 int[] dims = imageFrame.getDimensions(); in onProcess() local 74 drawBoxes(pixels, faces, dims); in onProcess() 82 public void drawBoxes(byte[] pixels, Face[] faces, int[] dims) { in drawBoxes() argument 85 int top = (tempRect.top+HEIGHT_OFFSET)*dims[1]/FACE_X_RANGE; in drawBoxes() 86 int bottom = (tempRect.bottom+HEIGHT_OFFSET)*dims[1]/FACE_X_RANGE; in drawBoxes() 87 int left = (tempRect.left+WIDTH_OFFSET)*dims[0]/FACE_X_RANGE; in drawBoxes() 88 int right = (tempRect.right+WIDTH_OFFSET)*dims[0]/FACE_X_RANGE; in drawBoxes() 92 } else if (top > dims[1]) { in drawBoxes() 93 top = dims[1]; in drawBoxes() 97 } else if (left > dims[0]) { in drawBoxes() [all …]
|
D | Camera2Source.java | 229 int[] dims = new int[] { in onProcess() local 232 FrameImage2D outputFrame = Frame.create(mOutputType, dims).asFrameImage2D(); in onProcess()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | BinderLatencyObserverTest.java | 99 LatencyDims dims = latencyHistograms.keySet().iterator().next(); in testSampling() local 100 assertEquals(binder.getClass(), dims.getBinderClass()); in testSampling() 101 assertEquals(1, dims.getTransactionCode()); in testSampling() 102 assertThat(latencyHistograms.get(dims)).asList().containsExactly(1, 0, 0, 0, 0).inOrder(); in testSampling() 136 LatencyDims dims = LatencyDims.create(binder.getClass(), 1); in testHistogramBucketOverflow() local 138 Arrays.fill(blo.getLatencyHistograms().get(dims), Integer.MAX_VALUE); in testHistogramBucketOverflow() 139 assertThat(blo.getLatencyHistograms().get(dims)) in testHistogramBucketOverflow() 145 assertThat(blo.getLatencyHistograms().get(dims)) in testHistogramBucketOverflow() 268 LatencyDims dims; in testSharding() local 274 dims = iterator.next(); in testSharding() [all …]
|
/frameworks/base/core/java/com/android/internal/os/ |
D | BinderLatencyObserver.java | 96 for (LatencyDims dims : histogramMap.keySet()) { 107 dims.getBinderClass(), dims.getTransactionCode()); 108 fillApiStatsProto(proto, dims, transactionName, histogramMap.get(dims)); 119 ProtoOutputStream proto, LatencyDims dims, String transactionName, int[] histogram) { in fillApiStatsProto() argument 142 proto.write(Dims.SERVICE_CLASS_NAME, dims.getBinderClass().getName()); in fillApiStatsProto() 203 LatencyDims dims = LatencyDims.create(s.binderClass, s.transactionCode); in callEnded() local 205 if (!shouldCollect(dims)) { in callEnded() 217 int[] buckets = mLatencyHistograms.get(dims); in callEnded() 220 mLatencyHistograms.put(dims, buckets); in callEnded() 234 protected boolean shouldCollect(LatencyDims dims) { in shouldCollect() argument [all …]
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | FrameBuffer1D.java | 89 int[] dims = backingStore.getDimensions(); in assertCanCreate() local 90 if (dims == null || dims.length == 0) { in assertCanCreate()
|
D | FrameType.java | 360 private static String keyValueForType(int elemId, int dims, int hints, Class<?> clazz) { in keyValueForType() argument 361 return elemId + ":" + dims + ":" + hints + ":" + (clazz != null ? clazz.getName() : "0"); in keyValueForType()
|
/frameworks/native/libs/renderengine/tests/ |
D | RenderEngineThreadedTest.cpp | 85 size_t dims = 20; in TEST_F() local 86 EXPECT_CALL(*mRenderEngine, getMaxViewportDims()).WillOnce(Return(dims)); in TEST_F() 88 ASSERT_EQ(dims, result); in TEST_F() 92 size_t dims = 0; in TEST_F() local 93 EXPECT_CALL(*mRenderEngine, getMaxViewportDims()).WillOnce(Return(dims)); in TEST_F() 95 ASSERT_EQ(dims, result); in TEST_F()
|
/frameworks/av/media/libstagefright/renderfright/tests/ |
D | RenderEngineThreadedTest.cpp | 131 size_t dims = 20; in TEST_F() local 132 EXPECT_CALL(*mRenderEngine, getMaxViewportDims()).WillOnce(Return(dims)); in TEST_F() 134 ASSERT_EQ(dims, result); in TEST_F() 138 size_t dims = 0; in TEST_F() local 139 EXPECT_CALL(*mRenderEngine, getMaxViewportDims()).WillOnce(Return(dims)); in TEST_F() 141 ASSERT_EQ(dims, result); in TEST_F()
|
/frameworks/rs/toolkit/ |
D | Lut3d.cpp | 74 int4 dims = mCubeDimension - 1; in kernel() local 76 const float4 m = (float4)(1.f / 255.f) * convert<float4>(dims); in kernel() 87 rsdIntrinsic3DLUT_K(out, in, len, bp, stride_y, stride_z, dims.x, dims.y, dims.z); in kernel()
|
/frameworks/rs/cpu_ref/ |
D | rsCpuIntrinsic3DLUT.cpp | 66 int4 dims = { in kernel() local 72 const float4 m = (float4)(1.f / 255.f) * convert_float4(dims); in kernel() 85 dims.x, dims.y, dims.z); in kernel()
|
D | rsCpuIntrinsic.h | 72 const uint32_t * dims,
|
D | rsCpuIntrinsic.cpp | 57 const uint32_t *dims, size_t dimLength) { in setGlobalVarWithElemDims() argument
|
D | rsd_cpu.h | 76 const Element *e, const uint32_t *dims, size_t dimLength) = 0;
|
D | rsCpuScript.h | 76 const Element *e, const uint32_t *dims,
|
/frameworks/base/libs/hwui/hwui/ |
D | ImageDecoder.cpp | 305 auto dims = mCodec->codec()->dimensions(); in getCurrentFrameInfo() local 316 info.fFrameRect = SkIRect::MakeSize(dims); in getCurrentFrameInfo() 321 dims = swapped(dims); in getCurrentFrameInfo() 323 auto matrix = SkEncodedOriginToMatrix(origin, dims.width(), dims.height()); in getCurrentFrameInfo()
|
/frameworks/rs/ |
D | rsScript.cpp | 83 const uint32_t *dims, size_t dimLen) { in setVar() argument 92 (void *)val, len, e, dims, dimLen); in setVar() 290 const uint32_t *dims, size_t dimLen) { in rsi_ScriptSetVarVE() argument 293 s->setVar(slot, data, len, e, dims, dimLen); in rsi_ScriptSetVarVE()
|
D | rsScript.h | 121 const uint32_t *dims, size_t dimLen);
|
/frameworks/layoutlib/create/src/com/android/tools/layoutlib/create/ |
D | StaticInitMethodAdapter.java | 264 public void visitMultiANewArrayInsn(String desc, int dims) { in visitMultiANewArrayInsn() argument 266 mRenamedMethodWriter.visitMultiANewArrayInsn(desc, dims); in visitMultiANewArrayInsn()
|
D | StubCallMethodAdapter.java | 356 public void visitMultiANewArrayInsn(String desc, int dims) { in visitMultiANewArrayInsn() argument 358 mParentVisitor.visitMultiANewArrayInsn(desc, dims); in visitMultiANewArrayInsn()
|
D | DelegateMethodAdapter.java | 456 public void visitMultiANewArrayInsn(String desc, int dims) { in visitMultiANewArrayInsn() argument 458 mOrgWriter.visitMultiANewArrayInsn(desc, dims); in visitMultiANewArrayInsn()
|
D | AbstractClassAdapter.java | 291 public void visitMultiANewArrayInsn(String desc, int dims) { in visitMultiANewArrayInsn() argument 294 super.visitMultiANewArrayInsn(desc, dims); in visitMultiANewArrayInsn()
|
/frameworks/rs/driver/ |
D | rsdBcc.cpp | 151 const uint32_t *dims, size_t dimLength) { in rsdScriptSetGlobalVarWithElemDims() argument 153 cs->setGlobalVarWithElemDims(slot, data, dataLength, elem, dims, dimLength); in rsdScriptSetGlobalVarWithElemDims()
|
D | rsdBcc.h | 82 const uint32_t *dims,
|
/frameworks/rs/support/java/src/androidx/renderscript/ |
D | Script.java | 513 public void setVar(int index, FieldPacker v, Element e, int[] dims) { in setVar() argument 516 mRS.nScriptSetVarVE(getID(mRS), index, v.getData(), dElement, dims, mUseIncSupp); in setVar() local 518 mRS.nScriptSetVarVE(getID(mRS), index, v.getData(), e.getID(mRS), dims, mUseIncSupp); in setVar() local
|
/frameworks/base/rs/java/android/renderscript/ |
D | Script.java | 458 public void setVar(int index, FieldPacker v, Element e, int[] dims) { in setVar() argument 459 mRS.nScriptSetVarVE(getID(mRS), index, v.getData(), e.getID(mRS), dims); in setVar() local
|