Home
last modified time | relevance | path

Searched refs:dims (Results 1 – 25 of 32) sorted by relevance

12

/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/
DFaceSquareFilter.java68 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 …]
DCamera2Source.java229 int[] dims = new int[] { in onProcess() local
232 FrameImage2D outputFrame = Frame.create(mOutputType, dims).asFrameImage2D(); in onProcess()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DFrameBuffer1D.java89 int[] dims = backingStore.getDimensions(); in assertCanCreate() local
90 if (dims == null || dims.length == 0) { in assertCanCreate()
DFrameType.java360 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()
DCameraStreamer.java1298 int[] dims = in initCameraParameters() local
1300 params.setPictureSize(dims[0], dims[1]); in initCameraParameters()
/frameworks/rs/cpu_ref/
DrsCpuIntrinsic3DLUT.cpp73 int4 dims = { in kernel() local
79 const float4 m = (float4)(1.f / 255.f) * convert_float4(dims); in kernel()
92 dims.x, dims.y, dims.z); in kernel()
DrsCpuIntrinsic.h57 const uint32_t * dims,
DrsCpuIntrinsic.cpp57 const uint32_t *dims, size_t dimLength) { in setGlobalVarWithElemDims() argument
Drsd_cpu.h72 const Element *e, const uint32_t *dims, size_t dimLength) = 0;
DrsCpuScript.h74 const Element *e, const uint32_t *dims,
DrsCpuScript.cpp874 const uint32_t *dims, size_t dimLength) { in setGlobalVarWithElemDims() argument
891 for (uint32_t i = 0; i < dims[0]; i++) { in setGlobalVarWithElemDims()
898 for (uint32_t i = 0; i < dims[0]; i++) { in setGlobalVarWithElemDims()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DGlobalScreenshot.java549 float[] dims = {mDisplayMetrics.widthPixels, mDisplayMetrics.heightPixels}; in takeScreenshot() local
556 mDisplayMatrix.mapPoints(dims); in takeScreenshot()
557 dims[0] = Math.abs(dims[0]); in takeScreenshot()
558 dims[1] = Math.abs(dims[1]); in takeScreenshot()
562 mScreenBitmap = SurfaceControl.screenshot((int) dims[0], (int) dims[1]); in takeScreenshot()
577 c.translate(-dims[0] / 2, -dims[1] / 2); in takeScreenshot()
/frameworks/rs/
DrsScript.cpp83 const uint32_t *dims, size_t dimLen) { in setVar() argument
92 (void *)val, len, e, dims, dimLen); in setVar()
293 const uint32_t *dims, size_t dimLen) { in rsi_ScriptSetVarVE() argument
296 s->setVar(slot, data, len, e, dims, dimLen); in rsi_ScriptSetVarVE()
DrsScript.h121 const uint32_t *dims, size_t dimLen);
Drs.spec470 param const uint32_t * dims
Drs_hal.h195 const uint32_t *dims,
/frameworks/rs/driver/
DrsdBcc.cpp152 const uint32_t *dims, size_t dimLength) { in rsdScriptSetGlobalVarWithElemDims() argument
154 cs->setGlobalVarWithElemDims(slot, data, dataLength, elem, dims, dimLength); in rsdScriptSetGlobalVarWithElemDims()
DrsdBcc.h82 const uint32_t *dims,
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
DScript.java508 public void setVar(int index, FieldPacker v, Element e, int[] dims) { in setVar() argument
511 mRS.nScriptSetVarVE(getID(mRS), index, v.getData(), dElement, dims, mUseIncSupp); in setVar() local
513 mRS.nScriptSetVarVE(getID(mRS), index, v.getData(), e.getID(mRS), dims, mUseIncSupp); in setVar() local
DRenderScript.java739 long e, int[] dims, boolean mUseInc); in rsnScriptSetVarVE() argument
741 long e, int[] dims, boolean mUseInc) { in nScriptSetVarVE() argument
747 rsnScriptSetVarVE(curCon, id, slot, val, e, dims, mUseInc); in nScriptSetVarVE()
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/
DStubMethodAdapter.java356 public void visitMultiANewArrayInsn(String desc, int dims) { in visitMultiANewArrayInsn() argument
358 mParentVisitor.visitMultiANewArrayInsn(desc, dims); in visitMultiANewArrayInsn()
DDelegateMethodAdapter.java439 public void visitMultiANewArrayInsn(String desc, int dims) { in visitMultiANewArrayInsn() argument
441 mOrgWriter.visitMultiANewArrayInsn(desc, dims); in visitMultiANewArrayInsn()
DAbstractClassAdapter.java291 public void visitMultiANewArrayInsn(String desc, int dims) { in visitMultiANewArrayInsn() argument
294 super.visitMultiANewArrayInsn(desc, dims); in visitMultiANewArrayInsn()
/frameworks/base/rs/java/android/renderscript/
DScript.java454 public void setVar(int index, FieldPacker v, Element e, int[] dims) { in setVar() argument
455 mRS.nScriptSetVarVE(getID(mRS), index, v.getData(), e.getID(mRS), dims); in setVar() local
DRenderScript.java822 long e, int[] dims); in rsnScriptSetVarVE() argument
824 long e, int[] dims) { in nScriptSetVarVE() argument
826 rsnScriptSetVarVE(mContext, id, slot, val, e, dims); in nScriptSetVarVE()

12